<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Gary,<br>
      The equation that I wrote was for a heating set point temperature
    and you are correct, when the building is unoccupied, the
    temperature would be allowed to fall back to 12C.<br>
    <br>
      The cooling equation might be:<br>
    <br>
    Tset_cool = 28*occ + 99*(1-occ)<br>
    <br>
      In other words, define the cooling set point as an arbitrarily
    high number that the building will never reach.  There are of course
    other ways of turning off the cooling but this is effective in your
    situation.<br>
    Best,<br>
     David<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 9/18/2012 18:57, KUM GARY wrote:<br>
    </div>
    <blockquote
cite="mid:CABZ-9hENWx55eJDKfNGSOVnUw2gN5i1V8VqUY9c=KfwSXYqCrA@mail.gmail.com"
      type="cite">
      <p>David,<br>
        Thanks for your reply. From your equation, it seem that during
        period of 0 occupancy, I would get a temperature of 12 degree.
        But I would like the cooling to be switched off when there is no
        occupancy. So how should I go about defining the equation?</p>
      <p>Thanks<br>
        Gary.</p>
      <div class="gmail_quote">On Sep 19, 2012 4:00 AM, "David BRADLEY"
        <<a moz-do-not-send="true"
          href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>>
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Gary,<br>
              Defining your setpoint as a SCHEDULE in TRNBuild simply
            allows you to set a value that depends upon the time of day.
            Defining your setpoint using an INPUT allows you a good bit
            more flexibility. You could define your equation as follows:<br>
            <br>
            Tset_heat = 24*occ + 12*(1-occ)<br>
            <br>
            occ would have to be defined in another equation or perhaps
            a Type14 forcing function to have a value of 1 when the
            building is occupied and a 0 when it is not occupied.<br>
            <br>
            Best,<br>
             David<br>
               <br>
            <br>
            <br>
            <div>On 9/17/2012 10:29, KUM GARY wrote:<br>
            </div>
            <blockquote type="cite">Hi,<br>
              <br>
              I trying to calculate the cooling demand of my office
              building in TRNBUILD and would like the cooling demand to
              response according to my occupancy schedule(less cooling
              at night and more cooling at day). I try to define the set
              temp at the cooling type by i not sure which one should i
              use (schedule or input?) And also the equation behind it,
              because when i enter like for instance <u>24degree(set
                temp) *occupancy schedule+0</u>, i would get 0 degree
              when there is no occupancy. <br>
              <br>
              Appreciate your kind assistance on this<br>
              <br>
              Gary Kum<br>
              <br>
              <fieldset></fieldset>
              <br>
              <pre>_______________________________________________
TRNSYS-users mailing list
<a moz-do-not-send="true" href="mailto:TRNSYS-users@cae.wisc.edu" target="_blank">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>
            </blockquote>
            <br>
            <pre cols="72">-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:<a moz-do-not-send="true" href="tel:%2B1.608.274.2577" value="+16082742577" target="_blank">+1.608.274.2577</a>
F:<a moz-do-not-send="true" href="tel:%2B1.608.278.1475" value="+16082781475" target="_blank">+1.608.278.1475</a>
<a moz-do-not-send="true" href="mailto:d.bradley@tess-inc.com" target="_blank">d.bradley@tess-inc.com</a>

<a moz-do-not-send="true" href="http://www.tess-inc.com" target="_blank">http://www.tess-inc.com</a>
<a moz-do-not-send="true" href="http://www.trnsys.com" target="_blank">http://www.trnsys.com</a></pre>
          </div>
        </blockquote>
      </div>
    </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>