<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Type1505 in the recent TESS Libraries update is an event counter
      that would probably suit your needs.</p>
    <p>kind regards,</p>
    <p> David</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 04/04/2022 12:02, ali shahrouzian
      via TRNSYS-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGY_vwnrYbbQg0DjmL9Y8_b4AqjzkrFUfpgU1wQjyDvtkVWwuA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div>Dear TRNSYS users,</div>
            <div><br>
            </div>
            <div>
              <div
style="box-sizing:inherit;color:rgb(0,0,0);font-family:Arial;font-size:16px">I
                was wondering how I can count how many times a pump or a
                fan went on and off during a simulation. In addition,
                how can I determine how long a pump (fan) is on during a
                simulation.</div>
              <div
style="box-sizing:inherit;color:rgb(0,0,0);font-family:Arial;font-size:16px"><br
                  style="box-sizing:inherit">
              </div>
              <div
style="box-sizing:inherit;color:rgb(0,0,0);font-family:Arial;font-size:16px">Type
                980 seems to be a suitable option for these purposes,
                but I am not sure what other components need to be
                connected to it to accomplish these goals. I looked in
                an example excited in "./Tess
                Models/Examples/Controllers Library/Controls Example
                2.tpf", but it only draws a graph.</div>
            </div>
            <div
style="box-sizing:inherit;color:rgb(0,0,0);font-family:Arial;font-size:16px"><br>
            </div>
            <div
style="box-sizing:inherit;color:rgb(0,0,0);font-family:Arial;font-size:16px">I
              would appreciate it if anyone helps me in this case.</div>
            <div
style="box-sizing:inherit;color:rgb(0,0,0);font-family:Arial;font-size:16px"><br>
            </div>
            <div
style="box-sizing:inherit;color:rgb(0,0,0);font-family:Arial;font-size:16px">Best
              regards,</div>
            <div
style="box-sizing:inherit;color:rgb(0,0,0);font-family:Arial;font-size:16px">Ali</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-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>
    <pre class="moz-signature" cols="72">-- 
***************************
David BRADLEY
Principal
Thermal Energy System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
<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>