<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Sajid,<div><br></div><div>You say the cooling setpoint is higher than the heating setpoint and enclose a screen capture of the connection showing the INITIAL temperatures of the heating and cooling setpoints at 20 and 24.  But these inputs are connected to equations and I’m guessing the value of these equations causes the heating setpoint to be higher than the cooling setpoint at an iteration.  Try tracing the thermostat model to verify the inputs or trace the equations.  Be aware that turning on the TRACE feature often leads to voluminous output so make sure to turn it back off after you identify the problem.</div><div><br></div><div>Jeff - TESS</div><div><br><div id="AppleMailSignature">Sent from my iPhone</div><div><br>On Apr 4, 2019, at 6:19 AM, MEHMOOD Sajid via TRNSYS-users <<a href="mailto:trnsys-users@lists.onebuilding.org">trnsys-users@lists.onebuilding.org</a>> wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Dear All,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am trying to  recreate model (given in Tutorials of Trnsys, as shown in attached figure). </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
When i run simulation i am facing this error.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Error in Unit 25 (Type 166) which is simple thermostat. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<b><br>
</b></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<b>Trnsys message 126 : The reference unit has a bad input value.</b></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<b>Reported information: Input no.3, The cooling setpoint must be higher than the heating setpoint.</b></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
But it is already higher in my model(see attached snaps). </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Please suggest me something to get it fix.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Many thanks.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Sajid</div>
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.


</div></blockquote><blockquote type="cite"><div><1.PNG></div></blockquote><blockquote type="cite"><div><2.PNG></div></blockquote><blockquote type="cite"><div><3.PNG></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>TRNSYS-users mailing list</span><br><span><a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a></span><br><span><a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a></span><br></div></blockquote></div></body></html>