<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>you can use an equation that compares the greenhouse temperature
      to a scheduled value (set by a Type14) and sets a value of 1 if
      the greenhouse temperature goes out of bounds. <br>
    </p>
    <p>alternatively there is a Type584 in the TESS Utility library
      (Zone temperature watcher) that is designed to do just what you
      need.</p>
    <p>best,</p>
    <p> David</p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 04/12/2017 07:15, Amirreza Heidary
      via TRNSYS-users wrote:<br>
    </div>
    <blockquote
cite="mid:CAMtrc5ScZcXt+NN0NoFVmsZ1HvwPkQwJF2Xa1+QbCgNKbEE-VA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><img moz-do-not-send="true" class="mailtrack-img"
          style="float:right;" alt=""
src="https://mailtrack.io/trace/mail/9bb991e611ef3688036f8491cd54b405242ae1ad.png?u=1249159"
          height="0" width="0">Dear All
        <div>I have designed a cooling system for a greenhouse. The
          temperature should be between 22 and 28 C during the day and
           15 to 21 C during the night. I'm going to account number of
          hours during a month, which the greenhouse temperature is out
          of the range. As the standard range of temperature is
          different during the day and night, how can I calculate it?</div>
        <div>Thank you <br clear="all">
          <div>
            <div class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div>
                                    <div style="text-align:right">
                                      <div style="text-align:left"><br>
                                      </div>
                                      <div style="text-align:left">--------------------------------------------------------------------------------------------------------------------------------------------------<br>
                                        <img moz-do-not-send="true"
src="https://docs.google.com/uc?id=0B56a_joPrCZuYUg5aFkzTlR2dTg&export=download"
                                          height="96" width="96"><br>
                                      </div>
                                      <div
                                        style="text-align:left;font-size:12.8px"><b><font
                                            face="georgia, serif">amirrezaheidary</font></b></div>
                                      <div
                                        style="text-align:left;font-size:12.8px"><i><font
                                            face="trebuchet ms,
                                            sans-serif" color="#444444">master
                                            student of energy
                                            systems Engineering</font></i></div>
                                      <div
                                        style="text-align:left;font-size:12.8px"><font
                                          face="trebuchet ms,
                                          sans-serif" color="#444444"><i>Sharif
                                            university of technology</i></font></div>
                                      <div
                                        style="text-align:left;font-size:12.8px"><font
                                          face="trebuchet ms,
                                          sans-serif" color="#444444"><i>Tehran-Iran</i></font></div>
                                      <div
                                        style="text-align:left;font-size:12.8px"><font
                                          face="georgia, serif"><i>E-mail
                                            address</i></font><font
                                          face="comic sans ms,
                                          sans-serif">:</font></div>
                                      <blockquote style="margin:0px 0px
                                        0px
0.8ex;padding-left:1ex;font-size:12.8px;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
                                        <p style="text-align:left"><font
                                            face="tahoma, sans-serif"
                                            color="#1155cc"><a
                                              moz-do-not-send="true"
                                              href="mailto:heidari@energy.sharif.edu"
                                              target="_blank"
                                              class="mt-detrack-inspected">heidari@energy.sharif.edu</a></font></p>
                                      </blockquote>
                                      <blockquote style="margin:0px 0px
                                        0px
0.8ex;padding-left:1ex;font-size:12.8px;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
                                        <p style="text-align:left"><font
                                            style="color:rgb(17,85,204)"
                                            face="tahoma, sans-serif"><a
                                              moz-do-not-send="true"
                                              style="color:rgb(17,85,204)"
href="mailto:sm_mousavi@pwut.ac.ir" target="_blank"
                                              class="mt-detrack-inspected">a</a><a
                                              moz-do-not-send="true"
                                              href="mailto:mirrezaheidarysbu@gmail.com"
                                              target="_blank"
                                              class="mt-detrack-inspected">mirrezaheidarysbu@gmail.com</a></font></p>
                                      </blockquote>
                                      <div style="text-align:left"><b
                                          style="color:rgb(0,0,0);font-family:"times
                                          new roman","new
                                          york",times,serif;font-size:small"><span
style="color:green;font-family:Webdings" lang="EN-GB">P</span></b><i
                                          style="color:rgb(0,0,0);font-family:"times
                                          new roman","new
                                          york",times,serif;font-size:small"><span
                                            style="color:navy"
                                            lang="EN-GB"> </span></i><b
style="color:rgb(0,0,0);font-family:"times new
                                          roman","new
                                          york",times,serif;font-size:small"><i><span
                                              style="color:green"
                                              lang="EN-GB">Save a
                                              tree... Please don't print
                                              this E-mail unless you
                                              really need to.</span></i></b><b><font
                                            color="#0000ff"><font
                                              size="1">                 
                                                                       
                                                                       
                                                                       
                                                                       
                                                  </font></font></b><br>
                                      </div>
                                      <br>
                                    </div>
                                    <font color="#0000ff"><font size="1"><br>
                                      </font></font></div>
                                  <div><font color="#0000ff"><font
                                        size="1"><br>
                                      </font></font>
                                    <div>
                                      <div><font color="#0000ff"><font
                                            size="1"><br>
                                          </font></font></div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
          <br>
          <br>
          <div class="mt-signature">
            <div class="mt-signature-inner"> <a moz-do-not-send="true"
                href="https://mailtrack.io/" class="mt-signature-logo
                mt-detrack-inspected" style="text-decoration:none"> <img
                  moz-do-not-send="true"
src="https://s3-eu-west-1.amazonaws.com/mailtrack-crx/icon-signature.png"
                  height="14" width="16">  </a> <font
                class="mt-signature-text" color="#999999"> Sent with <a
                  moz-do-not-send="true"
href="https://mailtrack.io/install?source=signature&lang=en&referral=amirrezaheidarysbu@gmail.com&idSignature=22"
                  class="mt-install mt-detrack-inspected">Mailtrack</a>
              </font> </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</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>