<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Atli,<br>
      You'll need to implement an equation that combines the results of
    your three different control signals into one. For example, if you
    want the diverter to do something if any of your three cases are
    true then you could write the equation:<br>
    <br>
    yDiv = OR(OR(condition1,condition2),condition3)<br>
    <br>
    yDiv would have a value of 1 if condition1, condition2, or
    condition3 have a value of 1. Alternately if you want the diverter
    to do something only if all three of your conditions are true then
    you could write:<br>
    <br>
    yDiv = AND(AND(condition1,condition2),condition3)<br>
    <br>
    There are also greater than, less than, etc. functions available for
    making comparisons between cases.<br>
    Regards,<br>
     David<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/20/2014 04:48, Atli Thor Olason
      (164693) wrote:<br>
    </div>
    <blockquote cite="mid:1416480506014.51660@VIA.DK" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
      <div id="divtagdefaultwrapper" style="font-size:12pt;
        color:#000000; background-color:#FFFFFF;
        font-family:Calibri,Arial,Helvetica,sans-serif">
        <p>Hello fellow TRNSYS-users,<br>
        </p>
        <p><br>
        </p>
        <p>I need to control a pump on/off but it has to take three
          different control signals into account. <br>
        </p>
        <p><br>
        </p>
        <p>I also need to control a flow diverter that has to take two
          control signals into account.<br>
        </p>
        <p><br>
        </p>
        <p>Any ideas?<br>
        </p>
        <p><br>
        </p>
        <p>​It would be greatly appreciated. I'm working on my bachelors
          project and quite stuck.<br>
        </p>
        <p><br>
        </p>
        <p><br>
        </p>
      </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>