<html>
<body>
Ming,<br>
  I think you might be able to write two equations like:<br><br>
TempCheck = LT(Tzone,20)<br><br>
the LT(n,m) function returns a 1 if n < m and a 0 otherwise. You can
then integrate the result and you will get a measure of the amount of
time that Tzone is below 20.<br><br>
Cheers,<br>
 David<br><br>
<br>
At 00:45 2/27/2008, Liu, Ming - liumy008 wrote:<br>
<blockquote type=cite class=cite cite="">Content-class:
urn:content-classes:message<br>
Content-Type: multipart/alternative;<br>
<x-tab>        </x-tab>
boundary="----_=_NextPart_001_01C8790C.4759C32C"<br><br>
<font size=2>Dear Trnsys users,<br>
 <br>
In my model, I want to calculate how long the temperature of a zone is
kept under 20<sup>O</sup>C during a day. Does anyone have any idea about
that? Thanks in advance.<br>
 <br>
Best regards,<br>
Ming  <br>
</font>_______________________________________________<br>
TRNSYS-users mailing list<br>
TRNSYS-users@engr.wisc.edu<br>
<a href="https://www.cae.wisc.edu/mailman/listinfo/trnsys-users" eudora="autourl">
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users</a></blockquote>
<x-sigsep><p></x-sigsep>
****************************************************************************************<br>
Thermal Energy System Specialists (TESS), LLC <br>
David
BRADLEY                          
2916 Marketplace Drive - Suite 104 <br>
Partner                                       
Madison, WI 53719 <br>
Phone: (608) 274-2577 USA <br>
Fax: (608) 278-1475 <br>
E-mail: bradley@tess-inc.com <br>
Web Pages: 
<a href="http://www.tess-inc.com/" eudora="autourl">
http://www.tess-inc.com</a>    
and     
<a href="http://www.trnsys.com/" eudora="autourl">
http://www.trnsys.com<br><br>
</a>"Providing software solutions for today's energy engineering
projects" <br>
****************************************************************************************<br>
</body>
</html>