<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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="FR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear TRNSYS users,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I need help about problem of convergence in coupling an EES model, Type 56 and a controller. I apologize for that long mail.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m trying to simulate a kind of active wall (partition between two rooms) in order to heat one of the room of a building.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This active wall has been modeled with EES software.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is a scheme of it:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"><img width="450" height="291" id="Image_x0020_2" src="cid:image001.jpg@01CEEC51.AC188FC0"></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This model has been coupled with Type 56 through type 66 as it is shown below:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span><span style="mso-fareast-language:FR"><img width="358" height="260" id="Image_x0020_3" src="cid:image007.jpg@01CEEC51.AC188FC0"></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Initially, the electric power supplied to the active wall was supposed to be constant and the simulation run very well !!! The coupling method is good.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Then, I tried to add a controller on electric power (iterative feedback controller Type 22 or PID controller Type 23), in order to heat the room1 at a given setpoint temperature, as shown below.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR"><img width="403" height="284" id="Image_x0020_1" src="cid:image008.jpg@01CEEC51.AC188FC0"></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Unfortunately, an error message appears (at the first timestep in the case of Type 22, after 10 timesteps in case of Type 23):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">“TRNSYS Message    129 : The referenced Unit has tried to set an Output value higher than the number of Outputs that the Type reserved for itself.”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">To be precise, the parameter “number of outputs” in type 66, is in accordance with the number of outputs given  by the EES model.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:12.0pt">Could somebody help me? Is it a problem of convergence? Is there another way to simulate this ? How to debug it?<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-top:3.0pt;text-autospace:none"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana","sans-serif";mso-fareast-language:FR">Matthieu COSNIER</span></b><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D;mso-fareast-language:FR"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>