Nick,<br /><br />Multiply the ambient temperature by your good/no good signal and then integrate that value AND the good/no good signal. Divide the integrated second quantity into the integrated first quantity and you'll get the average temperature over the good conditions...<br /><br />Jeff<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> "David BRADLEY" <d.bradley@tess-inc.com> <br /><strong>Sent:</strong> Mon, April 11, 2011 9:36<br /><strong>Subject:</strong> Re: [TRNSYS-users] average ambient day temperature<br /><br /><table width="100%" cellspacing="5"><tbody><tr><td><div class="PrivateMsgDiv"><!-- begin sanitized html --><br /> <br /> <div style="color: rgb(0, 0, 0);" class="bodyclass">Nick,<br /> Type!
55 would allow you to integrate only over a certain time period (your 8am to 4pm time frame) and reset daily. Alternatively, you can get a daily sum of a function that has a value of 1 when the sun is up and a value of 0 otherwise: sunUp = GT(Ih,0) (where Ih is an output of your weather processor). That will get you the number of daylight hours each day. You'll then need to print out your hourly temperatures and do the integration in Excel after the simulation.<br /> Best,<br /> David<br /> <br /> <br /> On 4/8/2011 16:50, Nicholas LaHam wrote: <blockquote type="cite" cite="mid:2F305691-9CAA-42AA-A404-998CDF99F86D@gmail.com"> <div>Jeff</div> <div> </div> Is it possible to create running averages based on certain criteria? For instance, could I calculate the average of the temperature each day only when radiation is present (during daytime hours) so that the average does not re!
flect the cold nights? <div> </div> <div>The cl
osest solution I have found to this is to use an 8 hour running average, so that you are getting 3 averages each day: <i>Midnight to 8am, 8am to 4pm, and 4pm to Midnight</i>. And then using Excel to average only the 8am to 4pm data and erase everything else. The problem with this is the radiation is still present after 8am or before 4pm at certain locations and depending on the time of season.<br /> <div> </div> <div>Thanks,</div> <div>Nick</div> <div><br /> <div><div><div>On Apr 8, 2011, at 12:44 PM, Jeff Thornton wrote:</div> <br class="Apple-interchange-newline" /> <blockquote type="cite">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: <a target="_new" href="mailto:thornton@tess-inc.com" moz-do-not-send="true">thornton@tess-inc.com</a> <br /> Web: <a target="_new" href="http://www.tess-inc.com" moz-do-not-send="true">www.tess-inc.com</a><br /> <br /> <br /> <br /> <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 target="_new" href="mailto:a.jezequel@itf.biz" moz-
do-not-send="true">a.jezequel@itf.biz</a>> <br /> <strong>Sent:</strong> Thu, April 7, 2011 9:10<br /> <strong>Subject:</strong> Re: [TRNSYS-users] average ambient day temperature<br /> <br /> <table width="100%" cellspacing="5"> <tbody> <tr> <td><div class="! PrivateMsgDiv"><div style="color: rgb(0, 0, 0);" class="bodyclass"><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" width="450" align="LEFT" /> ! !
<table border="0"> <tbody> <tr> <td width="120" rowspan="3"><center><a target="_new" href="http://www.itf.biz/" moz-do-not-send="true"><span><logo_itf_2010.jpg></span></a><br /> <font size="1" face="CALIBRI" color="#0000ff"><a target="_new" href="http://www.itf.biz/" moz-do-not-send="true">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="#000ff0"><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 width="40" align="LEFT"><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 target="_new" href="mailto:a.jezequel@itf.biz" class="moz-txt-link-freetext" moz-do-not-send="true">a.jezequel!
@itf.biz</a> ou <a target="_new" href="mailto:aj@itf.biz" class="moz-txt-link-freetext" moz-do-not-send="true">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/2!
011 14:56, Arno Dentel a écrit :
<blockquote type="cite" cite="mid:009f01cbf523$3eefe240$bccfa6c0$@dentel@ohm-hochschule.de"> <style type="text/css"><br> <br></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> <div><span lang="EN-US" style="color: blue;"> </span></div> <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> <div><span lang="EN-US" style="color:!
blue;"> </span></div> <div><span lang="EN-US" style="color: blue;"> </span></div> <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;">Von:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> <a target="_new" href="mailto:trnsys-users-bounces@cae.wisc.edu" class="moz-txt-link-abbreviated" moz-do-not-send="true">trnsys-users-bounces@cae.wisc.edu</a> [<a target="_new" href="mailto:trnsys-users-bounces@cae.wisc.edu" class="moz-txt-link-freetext" moz-do-not-send="true">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 target="_new" href="mailto:trnsys-users@cae.wisc.edu" class="moz-txt-link-abbreviated" moz-do-not-send="true">trnsys-users@cae.wisc.edu</a><br /> <b>Betreff:</b> [TRNSYS-users] average ambient day temperature</span></p></div></div> <div> </div> <p class="MsoNormal"><span lang="EN-US" style="font-size: 10pt;">Dear all,</span></p> <p ss="MsoNormal" cla=""><span lang="EN-US" style="font-size: 10pt; font-family: "Arial","sans-serif";">is there a Type that can calculate the average ambient d!
ay 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> <div><span lang="EN-US" style="font-size: 10pt; font-family: "Arial","sans-serif";"> </span></div> <div><span lang="EN-US" style="font-size: 10pt; font-family: "Arial","sans-serif";"> </span></div> <p style="page-break-after: avoid;" class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;">Freundliche Grüße / Best Regards</span></p> <div style="page-break-after: avo!
id;"><span style="font-family: "Arial","sans-serif"
;; color: black;"> </span></div> <p style="page-break-after: avoid;" class="MsoNormal"><span style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;">Lana Saracevic</span></p> <div style="page-break-after: avoid;"><span lang="EN-US" style="font-size: 10pt; font-family: "Arial","sans-serif"; color: black;"> </span></div> <p style="line-height: 115%;" class="MsoNormal"><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 style="line-height: 115%;" class="MsoNormal"><span lang="EN-US" style="font-size: 8pt; line-height: 11!
5%;"> <span><untitled1.2.3.gif></span></span></p> <div style="line-height: 115%;"><span lang="EN-US" style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";"> </span></div> <p style="line-height: 115%;" class="MsoNormal"><span lang="EN-US" style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">Bayer Technology Services GmbH</span></p> <p style="line-height: 115%;" class="MsoNormal"><span lang="EN-US" style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">BTS-ENG-CSA-HVAC</span></p> <p style="line-height: 115%;" class="MsoNormal"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">Leverkusen, !
B610</span></p> <p
style="line-height: 115%;" class="MsoNormal"><span style="font-size: 8pt; font-family: "Arial","sans-serif";">Phone: +49 214 30 38445</span></p> <p style="line-height: 115%;" class="MsoNormal"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">Fax: +49 214 30 52774</span></p> <p style="line-height: 115%;" class="MsoNormal"><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">E-mail: <u><span style="color: rgb(0, 161, 224);"><a target="_new" href="mailto:lana.saracevic@bayer.com" class="moz-txt-link-abbreviated" moz-do-not-send="true">lana.saracevic@bayer.com</a></span></u></span></p> <p style="line-height: 115%;" class="MsoNormal"><span sty!
le="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";">Web: <u><span style="color: rgb(0, 161, 224);"><a target="_new" href="http://www.bayertechnology.com/" class="moz-txt-link-freetext" moz-do-not-send="true">http://www.bayertech!<br /> <br /> nology.com</a></span></u></span></p> <div><span style="font-size: 8pt; line-height: 115%; font-family: "Arial","sans-serif";"> </span></div> <p style="line-height: 115%;" class="MsoNormal"><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 style="line-height: 115%;" class="MsoNormal"><span style="font-s!
ize: 8pt; line-height: 115%; font-family: "Arial","sans
-serif&
quot;; color: rgb(95, 95, 95);">Aufsichtsratsvorsitzender: Dr. Wolfgang Plischke</span></p> <p style="line-height: 115%;" class="MsoNormal"><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> <div> </div></div> <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
TRNSYS-users mailing list
<a target="_new" href="mailto:TRNSYS-users@cae.wisc.edu" class="moz-txt-link-abbreviated" moz-do-not-send="true">TRNSYS-users@cae.wisc.edu</a>
<a target="_new" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" class="moz-txt-link-freetext" moz-do-not-send="true">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre> </blockquote></div> <hr size="1" noshade="noshade" /> <pre>
_______________________________________________
TRNSYS-users mailing list
<a target="_new" href="#" moz-do-not-send="true">TRNSYS-users@cae.wisc.edu</a>
<a target="_new" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" moz-do-not-send="true">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre></div></td> </tr> </tbody> </table></div> _______________________________________________<br /> TRNSYS-users mailing list<br /> <a target="_new" href="mailto:TRNSYS-users@cae.wisc.edu" moz-do-not-send="true">TRNSYS-users@cae.wisc.edu</a><br /> <a target="_new" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" class="moz-txt-link-freetext">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><br /> </blockquote></div> </div></div></div> <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
TRNSYS-users mailing list
<a target="_new" href="mailto:TRNSYS-users@cae.wisc.edu" class="moz-txt-link-abbreviated">TRNSYS-users@cae.wisc.edu</a>
<a target="_new" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" class="moz-txt-link-freetext">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre> </blockquote> <br /> <pre cols="72" class="moz-signature">
--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<a target="_new" href="mailto:d.bradley@tess-inc.com" class="moz-txt-link-abbreviated">d.bradley@tess-inc.com</a>
<a target="_new" href="http://www.tess-inc.com" class="moz-txt-link-freetext">http://www.tess-inc.com</a>
<a target="_new" href="http://www.trnsys.com" class="moz-txt-link-freetext">http://www.trnsys.com</a></pre></div><br /> <br /><!-- 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 target="_blank" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre></div></td></tr> </tbody></table></div>