<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Javier,</p>
    <p>  This sounds like TRNSYS is getting in to an infinite
      calculation loop inside one of its routines. The problem could be
      occurring in the kernel, in one of the standard Types or in a
      custom component. It is only possible to find out where the
      problem occurs by running the simulation from a Fortran compiler
      that allows you to step through the code. In our discussions
      yesterday, you mentioned that you were developing your own
      component. May I ask what compiler you are using and whether you
      are able to run your simulation in debug mode from the compiler so
      that you can step one line at a time through the code?</p>
    <p>kind regards,</p>
    <p> David</p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 06/08/2017 08:11, Javier Vega via
      TRNSYS-users wrote:<br>
    </div>
    <blockquote
cite="mid:CAEju=PqNjGR521cb-X1YHy1+KYR3d71cCyBp5A8wMkh=Cd+C7w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><span style="font-size:12.8px">Jeff,</span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">When I say TRNEXE gets
            "stuck" I mean it stops calculating at a certain timestep
            but TRNEXE doesn't close nor prints any message in the list
            file. It just stops and I can't use any of the display
            options of the TRNEXE window. When I check windows task
            administrator, TRNEXE is <b>Non-Responding</b> but using
            somewhat 17% of my CPU. Also, my mouse cursor changes in the
            TRNEXE window to the classical "loading" symbol.</span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">I assume this is due to non
            convergence of a certain timestep? I was thinking that
            because right now, if I start my simulation from Time=0,<b>
              TRNEXE turns "Non-Responding" at the same timestep</b>.</span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">I'm attaching a couple of
            images to illustrate the situation.</span></div>
        <div><span style="font-size:12.8px"><br>
          </span></div>
        <div><span style="font-size:12.8px">Kind regards,</span></div>
        <div><span style="font-size:12.8px">Javier Vega</span></div>
        <span style="font-size:12.8px">
          <div><span style="font-size:12.8px"><br>
            </span></div>
          <div><span style="font-size:12.8px"><br>
            </span></div>
          <div><span style="font-size:12.8px"><br>
            </span></div>
          <div><span style="font-size:12.8px"><br>
            </span></div>
          <div><span style="font-size:12.8px"><br>
            </span></div>
          <div><span style="font-size:12.8px"><br>
            </span></div>
        </span>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span
              style="font-size:12.8px">From: Jeff Thornton via
              TRNSYS-users <<a moz-do-not-send="true"
                href="mailto:trnsys-users@lists.onebuilding.org">trnsys-users@lists.onebuilding.org</a>></span></blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span
              style="font-size:12.8px">To: <a moz-do-not-send="true"
                href="mailto:trnsys-users@lists.onebuilding.org">trnsys-users@lists.onebuilding.org</a></span></blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span
              style="font-size:12.8px">Cc: </span></blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span
              style="font-size:12.8px">Bcc: </span></blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span
              style="font-size:12.8px">Date: Wed, 07 Jun 2017 16:09:54
              -0500</span></blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px"><span
              style="font-size:12.8px">Subject: Re: [TRNSYS-users] How
              to skip timesteps if they don't reach convergence?</span></blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <p>TRNSYS will iterate until the iteration limit is
                reached, write a warning message to the list file, and
                then continue on to the next timestep.  When you say
                TRNEXE gets "stuck" what do you mean?</p>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <p> </p>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <p>Jeff</p>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <p> </p>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <div>
                <pre style="white-space:pre-wrap">---</pre>
              </div>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <div>
                <pre style="white-space:pre-wrap">Jeff Thornton</pre>
              </div>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <div>
                <pre style="white-space:pre-wrap">President - TESS LLC</pre>
              </div>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <div>
                <pre style="white-space:pre-wrap">22 N. Carroll Street, Madison WI USA 53703</pre>
              </div>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <div>
                <pre style="white-space:pre-wrap">Office: <a moz-do-not-send="true" href="tel:%28608%29%20274-2577" value="+16082742577" target="_blank">(608) 274-2577</a>  Fax: <a moz-do-not-send="true" href="tel:%28608%29%20278-1475" value="+16082781475" target="_blank">(608) 278-1475</a></pre>
              </div>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <div>
                <pre style="white-space:pre-wrap"><a moz-do-not-send="true" href="http://www.tess-inc.com/" target="_blank">www.tess-inc.com</a></pre>
              </div>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <div>
                <pre style="white-space:pre-wrap">E-Mail: <a moz-do-not-send="true" href="mailto:thornton@tess-inc.com" target="_blank">thornton@tess-inc.com</a></pre>
              </div>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <p>On 06/07/2017 3:30 pm, Javier Vega via TRNSYS-users
                wrote:</p>
            </div>
          </blockquote>
        </blockquote>
        <span style="font-size:12.8px"></span>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>Hello TRNSYS users,</div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div> </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div>I've noticed that some simulations finish with
                     messages that say that a certain component (or
                    components) doesn't reach convergence at certain
                    timesteps. The message is the following:</div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div> </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div>" The inputs to the listed units have not
                    converged at this timestep. The values at the last
                    iteration will be used and the simulation will
                    proceed."</div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div> </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div>Right now I'm doing a simulation with 5 min
                    timestep that works well but gets stuck at  hour
                    150, for example. If I change the simulation start
                    time everytime this happens so the simulation can
                    continue, it keeps calculating until  it gets stuck
                    again 200 hours later.</div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div><br>
                  </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div>I assume the TRNEXE gets stuck because of non
                    convergence. Since the non converged timesteps are
                    neglectable, how can I set TRNSYS to automatically
                    ignore this timesteps and set the input/ouputs of
                    the problematic units to the previous ones?</div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div> </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div>Is there a chapter in the TRNSYS Documentation
                    that I should check?</div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div> </div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div>Thanks in advance,</div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <div>
                  <div>Javier Vega</div>
                </div>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px"><br>
              </blockquote>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div style="font-size:12.8px">
              <blockquote type="cite"
                style="padding-left:5px;border-left:2px solid
                rgb(16,16,255);margin-left:5px">
                <pre style="white-space:pre-wrap">______________________________<wbr>_________________</pre></blockquote></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div style="font-size:12.8px"><blockquote type="cite" style="padding-left:5px;border-left:2px solid rgb(16,16,255);margin-left:5px"><pre style="white-space:pre-wrap">TRNSYS-users mailing list</pre></blockquote></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div style="font-size:12.8px"><blockquote type="cite" style="padding-left:5px;border-left:2px solid rgb(16,16,255);margin-left:5px"><pre style="white-space:pre-wrap"><a moz-do-not-send="true" href="mailto:TRNSYS-users@lists.onebuilding.org" target="_blank">TRNSYS-users@lists.<wbr>onebuilding.org</a></pre></blockquote></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div style="font-size:12.8px"><blockquote type="cite" style="padding-left:5px;border-left:2px solid rgb(16,16,255);margin-left:5px"><pre style="white-space:pre-wrap"><a moz-do-not-send="true" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank">http://lists.onebuilding.org/<wbr>listinfo.cgi/trnsys-users-<wbr>onebuilding.org</a></pre></blockquote></div></blockquote></blockquote><div style="font-size:12.8px"><div>
</div></div></div>


<fieldset class="mimeAttachmentHeader"></fieldset>
<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 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>