<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Donya,<o:p></o:p></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<o:p></o:p></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">www.bfrl.nist.gov/IAQanalysis</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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:donya_sh@msn.com]
<br>
<b>Sent:</b> Thursday, October 16, 2014 2:26 PM<br>
<b>To:</b> trnsys-users@lists.onebuilding.org<br>
<b>Subject:</b> [TRNSYS-users] TRNSYS-CONTAM-TYPE98<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></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. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></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. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></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. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><o:p> </o:p></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?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888">-- <o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888">Regards<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#888888">Donya Sheikh Khan<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Med venlig hilsen<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Donya Sheikh Khan<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>