<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Mehmet,</p>
    <p>  We are moving this email list over to a forum that makes past
      answers a bit more easily searched. I posted your question there
      and responded to it. You can visit the forum at:
      <a class="moz-txt-link-freetext" href="https://trnsys.org/community/">https://trnsys.org/community/</a></p>
    <p>kind regards,</p>
    <p> David</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 7/12/2023 2:27 AM, Mehmet Berk
      AZDURAL via TRNSYS-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANxfiY4-KjB5fWUz2TUYH_S+vou1iHm6X=PNTUGpQZw_f9v9kg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi,
        <div>I want to get the time value during the simulation when the
          specific condition occurs.</div>
        <div>For example, I have a controller and when the control
          signal reaches zero, I want to print the latest time value of
          the simulation. </div>
        <div>I can get simulation time dependent values from the online
          plotter, but I can't get the same values from the
          printer(Type65c) block.</div>
        <div>I need them as text files formatted by the
          printer(Type65c). Because I will use them in the MOBO
          optimization tool.</div>
        <div><br>
        </div>
        <div>Here is the conditions I have used:</div>
        <div><br>
        </div>
        <div>A = GT(CONTROL,20)<br>
          B = LT(CONTROL,44)<br>
          C = EQL(COLD_FLOW,0)<br>
          D = EQL(HOT_FLOW,TOTAL_FLOW)<br>
          X = AND(AND(AND(A,B),C),D)<br>
          STOP_COND = GTWARN(X,0,2) (<b>I stop simulation with error
            when the condition triggers, it may be unnecessary</b>)<br>
          LITRAJ = TIME*TOTAL_FLOW (<b>This is my main goal</b>, <b>I
            can see the calculated values from plotter, but not from
            printer</b>)<br>
        </div>
        <div><br>
        </div>
        <div><img src="cid:part1.pxReizIJ.nMU05wGl@tess-inc.com"
            alt="image.png" class="" width="562" height="343"><br>
        </div>
        <div>I hope the problem is clear. Thanks in advance.</div>
        <div><br>
        </div>
        <div>Best regards,</div>
        <div>  <br>
        </div>
        <div>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div>Mehmet Berk AZDURAL</div>
            </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>