<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Renee,</div><div><br></div><div>You'll have to use a combination of equations, the running average component and the delayed inputs component. I prefer the ones in the TESS Libraries but you should be able to do the same with the versions in the standard library with a tweak or two.</div><div><br></div><div>Connect the outdoor temperature to the running average component and set the parameters so you get a 24 hour running average. Then set up the delayed inputs model to hold your inputs for three separate delays, 24, 48, and 72 hours, and connect the running average output to the three inputs for that model. Finally use an equation block to take the output from the running average model and the three outputs from the delayed inputs model and formulate the final equation. Voila you've got your answer.</div><div><br></div><div>Jeff Thornton</div><div>TESS</div><div><br>Sent from my iPhone</div><div><br>On Jun 17, 2015, at 3:34 AM, Renée Cools <<a href="mailto:Renee.Cools@b2ai.com">Renee.Cools@b2ai.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 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:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Arial","sans-serif";
color:black;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">How can you ”calculate” a weighted running mean outdoor temperature.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">According to this formula.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">=((AVERAGE( last 24h )+0,8*AVERAGE( last 24-48h )+0,4*AVERAGE( last 48-72 h)+0,2*AVERAGE( last 72-96 h )) / 2,4<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:NL-BE"><br>
Kind regards<br>
</span><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:NL-BE"><br>
Renée Cools<br>
<br>
Technical engineering - Industrial Environmental Engineer <br>
Industrial Environmental Engineer</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:NL-BE">
<br>
<b>BURO II & ARCHI+I </b><o:p></o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:NL-BE">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:NL-BE"><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:7.0pt;font-family:"Arial","sans-serif";color:#555555;mso-fareast-language:NL-BE"><a href="http://www.b2ai.com/en/about-us/disclaimer" target="blank"><span lang="EN-US" style="color:blue">http://www.b2ai.com/en/about-us/disclaimer</span></a></span><span style="font-size:7.0pt;font-family:"Arial","sans-serif";color:#555555;mso-fareast-language:NL-BE">
</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</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></body></html>