You can also use the utility model that creates a running average - in your case a running 24 hour average.  This will keep you from getting step changes at midnight.<br /><br />Jeff<br /><br />Jeff Thornton <br /> President - TESS, LLC <br /> <br /> 22 North Carroll Street - Suite 370<br /> Madison WI 53703 USA <br /> <br /> Phone: 608-274-2577 <br /> Fax: 608-278-1475 <br /> E-mail: thornton@tess-inc.com <br /> Web: www.tess-inc.com<br /> <br /> <br /> <br /> <!--replyfwdwrap--><div style="background-image: url("http://webmail.fusemail.com/de/r_bg_img.gif"); background-position: center top; background-repeat: repeat-x;"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Adrien JEZEQUEL - ITF" <a.jezequel@itf.biz> <br /><strong>Sent:</strong> Thu, April 7, 2011 9:10<br /><strong>Subject:</strong> Re: [TRNSYS-users] average ambient day temperature<br /><br /><table cellspacing="5" width="100%"><tbody><tr><td><div class="!
 PrivateMsgDiv"><!-- begin sanitized html -->                <div class="bodyclass" style="color: rgb(0, 0, 0);"><font size="-1"><font face="Arial">Lana,<br />         <br />         I think you can also use Type55, from utility library.<br />         <br />         Best regards<br />       </font></font>     <div class="moz-signature"><hr size="2" color="#3300ff" align="LEFT" width="450" />       <table border="0">         <tbody>           <tr>             <td width="120" rowspan="3"><center><a href="http://www.itf.biz" target="_new"><img height="103" border="0" width="66" src="cid:part020006@thornton@tess-inc.com" alt="www.itf.biz" /></a><br />                 <font size="1" face="CALIBRI" color="#0000ff"><a href="http://www.itf.biz" target="_new">www.itf.biz</a></font></center></td>             <td colspan="2"><font size="2" face="CALIBRI" color="#000000">Adrien JEZEQUEL<br />                 Simulations Thermiques Dynamiques</font></td>           </tr>           <tr>   !
           <td align="LEFT"><font size="4" face="CALIBRI" color="#0000f
f"><b>ITF</b></font></td>             <td><font size="2" face="CALIBRI" color="#0000ff">62, Rue du                 Bolliet<br />                 73230 St Alban Leysse<br />                 FRANCE<br />               </font></td>           </tr>           <tr>             <td align="LEFT" width="40"><font size="2" face="CALIBRI" color="#0000ff"> Phone :<br />                 Fax :<br />                 Mail:<br />               </font></td>             <td><font size="2" face="CALIBRI" color="#0000ff"> +33(0)                 479 750 029<br />                 +33(0) 479 852 122<br />                 <a class="moz-txt-link-freetext" href="mailto:a.jezequel@itf.biz" target="_new">a.jezequel@itf.biz</a>                 ou <a class="moz-txt-link-freetext" href="mailto:aj@itf.biz" target="_new">aj@itf.biz</a></font></td>           </tr>         </tbody>       </table>       <i><font size="1" face="CALIBRI" color="#008000">Afin de           contribuer au respect de l'environnement, !
 merci de n'imprimer           cet e-mail que si nécessaire<br />           <font size="1" face="CALIBRI" color="#008000">Please, consider             our environmental responsability before printing this email<br />           </font></font></i></div>     <br />     Le 07/04/2011 14:56, Arno Dentel a écrit :     <blockquote cite="mid:009f01cbf523$3eefe240$bccfa6c0$@dentel@ohm-hochschule.de" type="cite">                            <style type="text/css">
</style>       <div class="WordSection1"><p class="MsoNormal"><span lang="EN-US" style="color: blue;">Lana,</span></p>         <p class="MsoNormal"><span lang="EN-US" style="color: blue;">you             can use Type127 to calculate an running mean value.</span></p>         <p class="MsoNormal"><span lang="EN-US" style="color: blue;"> </span></p>         <p class="MsoNormal"><span lang="EN-US" style="color: blue;">Best             regards,</span></p>         <p class="MsoNormal"><span lang="EN-US" style="color: blue;">Arno</span></p>         <p class="MsoNormal"><span lang="EN-US" style="color: blue;"> </span></p>         <p class="MsoNormal"><span lang="EN-US" style="color: blue;"> </span></p>         <div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "Tahoma&quot!
 ;,"sans-serif";">Von:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">                 <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users-bounces@cae.wisc.edu" target="_new">trnsys-users-bounces@cae.wisc.edu</a>                 [<a class="moz-txt-link-freetext" href="mailto:trnsys-users-bounces@cae.wisc.edu" target="_new">mailto:trnsys-users-bounces@cae.wisc.edu</a>] <b>Im                   Auftrag von </b>Lana Saracevic<br />                 <b>Gesendet:</b> Donnerstag, 7. April 2011 10:04<br />                 <b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users@cae.wisc.edu" target="_new">trnsys-users@cae.wisc.edu</a><br />                 <b>Betreff:</b> [TRNSYS-users] average ambient day                 temperature</span></p></div></div>         <p class="MsoNormal"> </p>         <p class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: "Arial",&q!
 uot;sans-serif";">Dear             all,</span></p>         <p cla
ss="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: "Arial","sans-serif";">is             there a Type that can calculate the average ambient day             temperature of each day in the year, and where can I find             it? I would like to use that to control the inlet             temperature of a concrete core activation system.</span></p>         <p class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: "Arial","sans-serif";"> </span></p>         <p class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: "Arial","sans-serif";"> </span></p>         <p class="MsoNormal" style="page-break-after: avoid;"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;">Freundliche             Grüße / Best Regards</span></p>         <p class="MsoNormal" style="page-break-after: avoid;"><span style="fon!
 t-size: 10pt; font-family: "Arial","sans-serif"; color: black;"> </span></p>         <p class="MsoNormal" style="page-break-after: avoid;"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;">Lana             Saracevic</span></p>         <p class="MsoNormal" style="page-break-after: avoid;"><span lang="EN-US" style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;"> </span></p>         <p class="MsoNormal" style="line-height: 115%;"><b><span lang="EN-US" style="font-size: 12pt; line-height: 115%; font-family: "Arial","sans-serif"; color: rgb(0, 161, 224);">________________________</span></b><span lang="EN-US" style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";"> </span></p>         <p class="MsoNormal" style="line-height: 115%;"><span lang="EN-US" style="font-size: 8pt; line-height: 115%; font-fami!
 ly: "Arial","sans-serif";"> <img height="55" 
width="319" alt="" id="Grafik_x0020_1" src="cid:part120006@thornton@tess-inc.com" /></span></p>         <p class="MsoNormal" style="line-height: 115%;"><span lang="EN-US" style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";"> </span></p>         <p class="MsoNormal" style="line-height: 115%;"><span lang="EN-US" style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">Bayer             Technology Services GmbH</span></p>         <p class="MsoNormal" style="line-height: 115%;"><span lang="EN-US" style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">BTS-ENG-CSA-HVAC</span></p>         <p class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">Leverkusen, B610</span></p>         <p class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; l!
 ine-height: 115%; font-family: "Arial","sans-serif";">Phone: +49 214 30             38445</span></p>         <p class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">Fax: +49 214 30             52774</span></p>         <p class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">E-mail: <u><span style="color: rgb(0, 161, 224);"><a class="moz-txt-link-abbreviated" href="mailto:lana.saracevic@bayer.com" target="_new">lana.saracevic@bayer.com</a></span></u></span></p>         <p class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">Web: <u><span style="color: rgb(0, 161, 224);"><a class="moz-txt-link-freetext" href="http://www.bayertechnology.com" target="_new">http://www.bayertech!
 nology.com</a></span></u></span></p>         <p class="MsoNormal" styl
e="line-height: 115%;"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";"> </span></p>         <p class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif"; color: rgb(95, 95, 95);">Geschäftsführer:  Dr. Dirk Van Meirvenne</span></p>         <p class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif"; color: rgb(95, 95, 95);">Aufsichtsratsvorsitzender: Dr. Wolfgang Plischke</span></p>         <p class="MsoNormal" style="line-height: 115%;"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif"; color: rgb(95, 95, 95);">Sitz der Gesellschaft: Leverkusen   |   Eintragung:             Amtsgericht Köln, HRB 49896</span></p>         <p class="MsoNormal"> </!
 p></div>       <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu" target="_new">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target="_new">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>     </blockquote></div>  <!-- end sanitized html --> <hr size="1" noshade="noshade" /><pre>
_______________________________________________
TRNSYS-users mailing list
<a href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target="_blank">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre></div></td></tr> </tbody></table></div>