<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Nick,<br>
      Type55 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
      cite="mid:2F305691-9CAA-42AA-A404-998CDF99F86D@gmail.com"
      type="cite">
      <div>Jeff</div>
      <div><br>
      </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 reflect the cold
      nights?
      <div><br>
      </div>
      <div>The closest 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><br>
        </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 moz-do-not-send="true"
                  href="mailto:thornton@tess-inc.com">thornton@tess-inc.com</a>
                <br>
                Web: <a moz-do-not-send="true"
                  href="http://www.tess-inc.com">www.tess-inc.com</a><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
                    moz-do-not-send="true"
                    href="mailto:a.jezequel@itf.biz">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"><!-- 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 width="450" align="LEFT"
                                  color="#3300ff" size="2"> !
                                <table border="0">
                                  <tbody>
                                    <tr>
                                      <td rowspan="3" width="120">
                                        <center><a
                                            moz-do-not-send="true"
                                            href="http://www.itf.biz/"
                                            target="_new"><span><logo_itf_2010.jpg></span></a><br>
                                          <font color="#0000ff"
                                            face="CALIBRI" size="1"><a
                                              moz-do-not-send="true"
                                              href="http://www.itf.biz/"
                                              target="_new">www.itf.biz</a></font></center>
                                      </td>
                                      <td colspan="2"><font
                                          color="#000000" face="CALIBRI"
                                          size="2">Adrien JEZEQUEL<br>
                                          Simulations Thermiques
                                          Dynamiques</font></td>
                                    </tr>
                                    <tr>
                                      <td align="LEFT"><font
                                          color="#000ff0" face="CALIBRI"
                                          size="4"><b>ITF</b></font></td>
                                      <td><font color="#0000ff"
                                          face="CALIBRI" size="2">62,
                                          Rue du Bolliet<br>
                                          73230 St Alban Leysse<br>
                                          FRANCE<br>
                                        </font></td>
                                    </tr>
                                    <tr>
                                      <td width="40" align="LEFT"><font
                                          color="#0000ff" face="CALIBRI"
                                          size="2"> Phone :<br>
                                          Fax :<br>
                                          Mail:<br>
                                        </font></td>
                                      <td><font color="#0000ff"
                                          face="CALIBRI" size="2">
                                          +33(0) 479 750 029<br>
                                          +33(0) 479 852 122<br>
                                          <a moz-do-not-send="true"
                                            class="moz-txt-link-freetext"
href="mailto:a.jezequel@itf.biz" target="_new">a.jezequel@itf.biz</a> ou
                                          <a moz-do-not-send="true"
                                            class="moz-txt-link-freetext"
                                            href="mailto:aj@itf.biz"
                                            target="_new">aj@itf.biz</a></font></td>
                                    </tr>
                                  </tbody>
                                </table>
                                <i><font color="#008000" face="CALIBRI"
                                    size="1">Afin de contribuer au
                                    respect de l'environnement, ! merci
                                    de n'imprimer cet e-mail que si
                                    nécessaire<br>
                                    <font color="#008000" face="CALIBRI"
                                      size="1">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
                                      style="color: blue;" lang="EN-US">Lana,</span></p>
                                  <p class="MsoNormal"><span
                                      style="color: blue;" lang="EN-US">you
                                      can use Type127 to calculate an
                                      running mean value.</span></p>
                                  <div><span style="color: blue;"
                                      lang="EN-US"> </span><br
                                      class="webkit-block-placeholder">
                                  </div>
                                  <p class="MsoNormal"><span
                                      style="color: blue;" lang="EN-US">Best
                                      regards,</span></p>
                                  <p class="MsoNormal"><span
                                      style="color: blue;" lang="EN-US">Arno</span></p>
                                  <div><span style="color: blue;"
                                      lang="EN-US"> </span><br
                                      class="webkit-block-placeholder">
                                  </div>
                                  <div><span style="color: blue;"
                                      lang="EN-US"> </span><br
                                      class="webkit-block-placeholder">
                                  </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 moz-do-not-send="true"
                                            class="moz-txt-link-abbreviated"
href="mailto:trnsys-users-bounces@cae.wisc.edu" target="_new">trnsys-users-bounces@cae.wisc.edu</a>
                                          [<a moz-do-not-send="true"
                                            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
                                            moz-do-not-send="true"
                                            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>
                                  <div> <br
                                      class="webkit-block-placeholder">
                                  </div>
                                  <p class="MsoNormal"><span
                                      style="font-size: 10pt;"
                                      lang="EN-US">Dear all,</span></p>
                                  <p cla="" ss="MsoNormal"><span
                                      style="font-size: 10pt;
                                      font-family:
                                      "Arial","sans-serif";"
                                      lang="EN-US">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>
                                  <div><span style="font-size: 10pt;
                                      font-family:
                                      "Arial","sans-serif";"
                                      lang="EN-US"> </span><br
                                      class="webkit-block-placeholder">
                                  </div>
                                  <div><span style="font-size: 10pt;
                                      font-family:
                                      "Arial","sans-serif";"
                                      lang="EN-US"> </span><br
                                      class="webkit-block-placeholder">
                                  </div>
                                  <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>
                                  <div style="page-break-after: avoid;"><span
                                      style="font-family:
                                      "Arial","sans-serif";
                                      color: black;"> </span><br
                                      class="webkit-block-placeholder">
                                  </div>
                                  <p class="MsoNormal"
                                    style="page-break-after: avoid;"><span
                                      style="font-size: 10pt;
                                      font-family:
                                      "Arial","sans-serif";
                                      color: black;">Lana Saracevic</span></p>
                                  <div style="page-break-after: avoid;"><span
                                      style="font-size: 10pt;
                                      font-family:
                                      "Arial","sans-serif";
                                      color: black;" lang="EN-US"> </span><br
                                      class="webkit-block-placeholder">
                                  </div>
                                  <p class="MsoNormal"
                                    style="line-height: 115%;"><b><span
                                        style="font-size: 12pt;
                                        line-height: 115%; font-family:
                                        "Arial","sans-serif";
                                        color: rgb(0, 161, 224);"
                                        lang="EN-US">________________________</span></b><span
                                      style="font-size: 8pt;
                                      line-height: 115%; font-family:
                                      "Arial","sans-serif";"
                                      lang="EN-US"> </span></p>
                                  <p class="MsoNormal"
                                    style="line-height: 115%;"><span
                                      style="font-size: 8pt;
                                      line-height: 115%;" lang="EN-US"> <span><untitled1.2.3.gif></span></span></p>
                                  <div style="line-height: 115%;"><span
                                      style="font-size: 8pt;
                                      line-height: 115%; font-family:
                                      "Arial","sans-serif";"
                                      lang="EN-US"> </span><br
                                      class="webkit-block-placeholder">
                                  </div>
                                  <p class="MsoNormal"
                                    style="line-height: 115%;"><span
                                      style="font-size: 8pt;
                                      line-height: 115%; font-family:
                                      "Arial","sans-serif";"
                                      lang="EN-US">Bayer Technology
                                      Services GmbH</span></p>
                                  <p class="MsoNormal"
                                    style="line-height: 115%;"><span
                                      style="font-size: 8pt;
                                      line-height: 115%; font-family:
                                      "Arial","sans-serif";"
                                      lang="EN-US">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;
                                      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
                                            moz-do-not-send="true"
                                            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
                                            moz-do-not-send="true"
                                            class="moz-txt-link-freetext"
href="http://www.bayertechnology.com/" target="_new">http://www.bayertech!

                                            nology.com</a></span></u></span></p>
                                  <div><span style="font-size: 8pt;
                                      line-height: 115%; font-family:
                                      "Arial","sans-serif";"> </span><br
                                      class="webkit-block-placeholder">
                                  </div>
                                  <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>
                                  <div> <br
                                      class="webkit-block-placeholder">
                                  </div>
                                </div>
                                <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
TRNSYS-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu" target="_new">TRNSYS-users@cae.wisc.edu</a>
<a moz-do-not-send="true" 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 noshade="noshade" size="1">
                            <pre>_______________________________________________
TRNSYS-users mailing list
<a moz-do-not-send="true" href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a moz-do-not-send="true" 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>
                _______________________________________________<br>
                TRNSYS-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a><br>
                <a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><br>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
***************************
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 class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>

<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
  </body>
</html>