<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Alain,<br>
      If you are using Type15 to read and process your weather data then
    you can get the hour of the day from that component. If you are not
    using Type15 for weather then you can use Type21 (Utility: Time
    Values: Type21). <br>
    <br>
      In order to run your heat pump when there is a water draw on your
    tank you will need to write an equation that looks something like
    the following:<br>
    <br>
    onDraw = GT(mDraw,0)<br>
    <br>
    the variable "onDraw" will have a value of 1 when "mDraw" is greater
    than zero. You will need to make "mDraw" an input to the equation
    block and connect the flow rate of your water draw to it.<br>
    <br>
      Once you have all the different pieces of your control computed
    individually (control based on temperature, control based on time of
    day, control based on water draw) you will need to write an equation
    that combines them into a single control signal that has a value of
    1 when the heat pump should be on and a value of 0 when the heat
    pump should be off. To combine them, you can either multiply them
    all together (in which case the heat pump will only be on if all of
    the individual control criteria are true) or you can use boolean
    functions to combine them in some other way. For example:<br>
    <br>
    onHP = OR(OR(onDraw,onThermostat),onTimeOfDay)<br>
    <br>
    Regards,<br>
     David<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 5/12/2014 10:29, Alain Pascal Goumba
      wrote:<br>
    </div>
    <blockquote
      cite="mid:1399908574.87310.YahooMailNeo@web172905.mail.ir2.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:18pt">
        <div><span>Please,</span></div>
        <div><span></span> </div>
        <div><span>And i wish also simulate my project during a day of
            summer and winter. I don't no what type is correct for this.</span></div>
        <div><span></span> </div>
        <div><span>Thanks!</span></div>
        <div class="yahoo_quoted" style="display: block;">
          <div style="font-family: HelveticaNeue, Helvetica Neue,
            Helvetica, Arial, Lucida Grande, sans-serif; font-size:
            18pt;">
            <div style="font-family: HelveticaNeue, Helvetica Neue,
              Helvetica, Arial, Lucida Grande, sans-serif; font-size:
              12pt;">
              <div dir="ltr"> <font face="Arial" size="2"> Le Lundi 12
                  mai 2014 17h25, Alain Pascal Goumba
                  <a class="moz-txt-link-rfc2396E" href="mailto:alainpascal.goumba5@yahoo.fr"><alainpascal.goumba5@yahoo.fr></a> a écrit :<br>
                </font> </div>
              <div class="y_msg_container">
                <div id="yiv9391031625">
                  <div>
                    <div style="color: rgb(0, 0, 0); font-family:
                      HelveticaNeue, Helvetica Neue, Helvetica, Arial,
                      Lucida Grande, sans-serif; font-size: 18pt;
                      background-color: rgb(255, 255, 255);">
                      <div class="yiv9391031625yqt9917324079"
                        id="yiv9391031625yqtfd04697">
                        <div> </div>
                      </div>
                      <div class="yiv9391031625yahoo_quoted"
                        style="display: block;">
                        <div style="font-family: HelveticaNeue,
                          Helvetica Neue, Helvetica, Arial, Lucida
                          Grande, sans-serif; font-size: 18pt;">
                          <div style="font-family: HelveticaNeue,
                            Helvetica Neue, Helvetica, Arial, Lucida
                            Grande, sans-serif; font-size: 12pt;">
                            <div class="yiv9391031625yqt9917324079"
                              id="yiv9391031625yqtfd54425"> </div>
                            <div class="yiv9391031625y_msg_container">
                              <div id="yiv9391031625">
                                <div>
                                  <div style="color: rgb(0, 0, 0);
                                    font-family: HelveticaNeue,
                                    Helvetica Neue, Helvetica, Arial,
                                    Lucida Grande, sans-serif;
                                    font-size: 18pt; background-color:
                                    rgb(255, 255, 255);">
                                    <div
                                      class="yiv9391031625yqt9917324079"
                                      id="yiv9391031625yqtfd67604">
                                      <div>Hi,</div>
                                    </div>
                                    <div>I want to control my heat pump
                                      during the time of function. I
                                      don't no exactly the type which is
                                      ideal for this. I want my pump
                                      turn off during consommation of
                                      water and the function between 22h
                                      and 5h.</div>
                                    <div> </div>
                                    <div>Can you help me, please!</div>
                                    <div> </div>
                                    <div>Information: i have a control
                                      on the temperature in my tank
                                      (Type 2)</div>
                                    <div> </div>
                                    <div>Alain</div>
                                  </div>
                                </div>
                              </div>
                              <div class="yiv9391031625yqt9917324079"
                                id="yiv9391031625yqtfd74347"><br
                                  clear="none">
                                <br clear="none">
                              </div>
                            </div>
                            <div class="yiv9391031625yqt9917324079"
                              id="yiv9391031625yqtfd48739"> </div>
                          </div>
                          <div class="yiv9391031625yqt9917324079"
                            id="yiv9391031625yqtfd56732"> </div>
                        </div>
                        <div class="yiv9391031625yqt9917324079"
                          id="yiv9391031625yqtfd49695"> </div>
                      </div>
                      <div class="yiv9391031625yqt9917324079"
                        id="yiv9391031625yqtfd00454"> </div>
                    </div>
                  </div>
                </div>
                <br>
                <br>
              </div>
            </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@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>