<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:"Arial",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0065A3;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#6E1C50;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Arial",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 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]-->
</head>
<body lang="DE-CH" link="#0065A3" vlink="#6E1C50">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D">Thanks a lot. It is what I thought at the beginning. Thanks again<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="margin-top:4.0pt"><b><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">Toni Calabrese</span></b><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">, MSc.</span><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">Wissenschaftlicher Projektleiter<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><a href="mailto:toni.calabrese@spf.ch">toni.calabrese@spf.ch</a> |</span><span style="font-size:10.0pt;color:#8C195F;mso-fareast-language:DE-CH">
</span><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><a href="mailto:toni.calabrese@ost.ch">toni.calabrese@ost.ch</a></span><span style="font-size:10.0pt;color:#8C195F;mso-fareast-language:DE-CH"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#8C195F;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">T +41 58 257 4827<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH">SPF Institut für Solartechnik<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH">OST – Ostschweizer Fachhochschule<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH">Oberseestr. 10 | CH-8640 Rapperswil | Switzerland |
</span><span style="color:red;mso-fareast-language:DE-CH"><a href="http://www.spf.ch/"><span style="font-size:10.0pt;color:red;text-decoration:none">www.spf.ch</span></a></span><span style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH"> |
</span><span style="color:red;mso-fareast-language:DE-CH"><a href="http://www.ost.ch/"><span style="font-size:10.0pt;color:red;text-decoration:none">www.ost.ch</span></a></span><span style="color:#1F497D;mso-fareast-language:DE-CH"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;mso-fareast-language:DE-CH">From:</span></b><span lang="EN-US" style="font-family:"Calibri",sans-serif;mso-fareast-language:DE-CH"> Michaël Kummert <michael.kummert@polymtl.ca>
<br>
<b>Sent:</b> Thursday, June 30, 2022 6:04 PM<br>
<b>To:</b> 'TRNSYS users mailing list at OneBuilding.org' <trnsys-users@lists.onebuilding.org><br>
<b>Cc:</b> Toni Calabrese <toni.calabrese@ost.ch><br>
<b>Subject:</b> RE: [TRNSYS-users] Info weather forecast in Trnsys<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Calibri",sans-serif">Toni,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Calibri",sans-serif">Unless you are running in real-time, you have access to the complete weather data file before running the simulation, and the simplest solution I have found to do what you are
 trying to do is to create a text file with the hourly values of the forecasts. You could create that file with another software tool, but it’s also possible to create it with TRNSYS if you want: run a simulation with integrators and for example output the
 24-h running average value at each hour, and then open the output file in Excel and shift that column by 23 hours, so that it reports the running average of the next 24 h instead of the past 24 h. The TESS libraries have a “running total and average” component
 that does that easily, or Type 55 can be configured to do it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Calibri",sans-serif">Michaël Kummert<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Calibri",sans-serif">Polytechnique Montréal<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Calibri",sans-serif;mso-fareast-language:EN-CA">From:</span></b><span lang="EN-US" style="font-family:"Calibri",sans-serif;mso-fareast-language:EN-CA"> Toni Calabrese via TRNSYS-users <<a href="mailto:trnsys-users@lists.onebuilding.org">trnsys-users@lists.onebuilding.org</a>>
<br>
<b>Sent:</b> June 30, 2022 11:16<br>
<b>To:</b> TRNSYS users mailing list at OneBuilding.org <<a href="mailto:trnsys-users@lists.onebuilding.org">trnsys-users@lists.onebuilding.org</a>><br>
<b>Cc:</b> Toni Calabrese <<a href="mailto:toni.calabrese@ost.ch">toni.calabrese@ost.ch</a>><br>
<b>Subject:</b> [TRNSYS-users] Info weather forecast in Trnsys<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">for a project we are interested on weather forecast analysis in ordert o increase PV self consumption. I would like to understand if  there is the possibility (with a Type?) to calculate in Trnsys
 average values of variables (ambient temperature or solar irradiation) looking in the future (24h+ for example). What I would need is in each timestep to have the possibility to compare a variable with the average of that variable considering the next N timesteps.
 Someone could help me?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt"><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal" style="margin-top:4.0pt"><b><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">Toni Calabrese</span></b><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">, MSc.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">Wissenschaftlicher Projektleiter<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><a href="mailto:toni.calabrese@spf.ch">toni.calabrese@spf.ch</a> |</span><span style="font-size:10.0pt;color:#8C195F;mso-fareast-language:DE-CH">
</span><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><a href="mailto:toni.calabrese@ost.ch">toni.calabrese@ost.ch</a></span><span style="font-size:10.0pt;color:#8C195F;mso-fareast-language:DE-CH"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:#8C195F;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">T +41 58 257 4827<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH">SPF Institut für Solartechnik<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH">OST – Ostschweizer Fachhochschule<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH">Oberseestr. 10 | CH-8640 Rapperswil | Switzerland |
</span><span style="color:red;mso-fareast-language:DE-CH"><a href="http://www.spf.ch/"><span style="font-size:10.0pt;color:red;text-decoration:none">www.spf.ch</span></a></span><span style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH"> |
</span><span style="color:red;mso-fareast-language:DE-CH"><a href="http://www.ost.ch/"><span style="font-size:10.0pt;color:red;text-decoration:none">www.ost.ch</span></a></span><span style="mso-fareast-language:DE-CH"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>