<div dir="ltr">Hi<div><br><div>Thanks for your replay. Here is my model. I tried looking at the model, I can't immediately see, what that can be causing this problem.<br></div></div><div><br></div><div>Thanks</div><div>Donya</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-17 13:19 GMT+02:00 Dols, William Stuart <span dir="ltr"><<a href="mailto:william.dols@nist.gov" target="_blank">william.dols@nist.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Donya,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It sounds like you have the right idea, but it’s hard to tell exact details from your description.<br>
Have you run the example case provided with Type98?<br>
This example provides control of simple AHS flows and an HRV fan via control signals provided to/from CONTAM from/to TRNSYS via Type98, i.e., both signal directions are demonstrated to synchronize system flows between CONTAM and Type56.<br>
<br>
If you want, you can send me your files, and I will look at them.<br>
<br>
There are some things you can do to help debug your issues:<br>
- Create report controls in the associated CONTAM project file and view outputs in <your project>.log file.<br>
- Plot/output signals in TRNSYS to ensure correct logic, etc.<br>
- Set the first value in the air file to 3 to write detailed data exchange info to the Type98.log file available in the Type98 AppData directory, e.g., in Windows 7 C:\Users\<you>\AppData\<Roaming>\NIST\Type98.<br>
<br>
Regards,<br>
- Stuart<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><br>
W. Stuart Dols<br>
National Institute of Standards and Technology<br>
Engineering Laboratory<br>
Indoor Air Quality and Ventilation Group<br>
100 Bureau Drive MS 8633<br>
Gaithersburg, MD 20899-8633<br>
<a href="http://www.bfrl.nist.gov/IAQanalysis" target="_blank">www.bfrl.nist.gov/IAQanalysis</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Donya Sheikh Khan [mailto:<a href="mailto:donya_sh@msn.com" target="_blank">donya_sh@msn.com</a>]
<br>
<b>Sent:</b> Thursday, October 16, 2014 2:26 PM<br>
<b>To:</b> <a href="mailto:trnsys-users@lists.onebuilding.org" target="_blank">trnsys-users@lists.onebuilding.org</a><br>
<b>Subject:</b> [TRNSYS-users] TRNSYS-CONTAM-TYPE98<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I'm a student at Aarhus University in Denmark. I'm trying to create a Contam model, where I have a section of a building with an atrium, where I want to use natural ventilation
 during summer to ventilate the rooms. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I use Contam3.1 and TRNSYS 17 to couple Type56 and Type98 with each other. The coupling is going as planned. I have used constant controllers in Contam to get manual inputs,
 so I can vary the opening area of my paths. When I manually set the inputs from the controllers to have a value (e.g. 1) in Type98 everything is well (I get values of the flow), and when I try to connect it to an equation with a constant value, I still have
 a flow. But when I connect the input values to an equation with a variable value (e.g. from 1 if the outdoor temperature is 17C and above and 0 otherwise) I don't get any flow (looking over 8760 hr) - it is as if it can't read variable values. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Now when I copy everything but just use Type97 instead of Type98 and use a variable input value for the controller I get a flow. The only thing is, I get a convergence error
 because the Type56 isn't converging. This gives me some pretty huge errors when I compare my TRNSYS-Type98 model with TRNSYS-Type97 model. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">My questions is, I really want to use Type98, is there any way I can fix the problems with the model not accepting variable input-control-signals? and if nothing can be done,
 how can I fix the convergence problem?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888">-- <u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888">Regards<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888">Donya Sheikh Khan<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Med venlig hilsen<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Donya Sheikh Khan<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
TRNSYS-users mailing list<br>
<a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a><br>
<a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Med venlig hilsen</div><div>Donya Sheikh Khan</div><div><br></div></div>
</div>