<div>Ethan,</div>
<div> I suspect that what is happening is that your heater has enough capacity that it is overheating the cabin within a single time step. The two most common causes of that situation are that there is either too long a time step (TRNSYS can only make one control decision per time step) or that there isn't enough thermal capacitance in the system. One of the problems that occurs a lot in simulating is that systems and components are simplified in order to write algorithms that predict their performance and one of the simplifying assumptions that get made is that the component is always in steady-state (ie start up effects are ignored).</div>
<div> </div>
<div> If you are pretty sure that the heater capacity is modulable down to a level at which it can't overheat the space in one time step, that your time step is appropriate, and that your cabin-zone has enough thermal capacitance then I believe that Type23 has a mode in which it can be set up to make its control decision only after the system has converged. In essence what this does is to delay the controller's output signal by one time step so that its decision does not make the TRNSYS kernel iterate again until the next time step. There are also a few models available that will do the same artificial delay (Type93 for one).<div> </div>
<div> Kind regards,</div>
<div> David</div>
<div> </div>
<br>
<br>
<br>
<br>
Technical Support Team<br>Thermal Energy System Specialists, LLC<br>2916 Marketplace Dr, Suite 104<br>Madison, WI 53719<br>techsupport@tess-inc.com
<br>
<br>----- Original Message -----
<br>
Subject: [TRNSYS-users] Convergence error with Type 56 and Type 23
<br>
From: "Ethan Lust" <elust@umd.edu>
<br>
Date: Mon, May 5, 2008 8:10
<br>
<table><tbody><tr><td width="1" bgcolor="#f1c352">
<br></td><td valign="top">
<div class="PrivateMsgDiv"><!-- begin sanitized html -->
<style></style>
<div class="bodyclass">
<div class="Section1">
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m having a convergence error that seems to be rooted
in the PID controller. I was wondering if <span style="color: rgb(31, 73, 125);">anyone</span>
could shed some light on the subject.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m trying to model a long-haul truck sleeper cabin
climate control system. I’m using a Type 23 PID controller in
conjunction with a “seasonal switch” as the climate control
unit. The purpose of the seasonal switch is to turn the heater on
and the air conditioner off when the temperature drops below some low deadband
temperature and vice versa when the temperature rises above the high deadband
temperature. In other words, the purpose of this switch is to keep the
air conditioner from coming on during slight over-heating and the heater from
coming on during slight over-cooling. The deadband in the seasonal switch
is set by default to 5 degrees Celsius. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When just this group of components is run, the output signal
from the PID controller and seasonal switch match just as they should (climate
controller.tpf). However, when a fuel-fired heater (Type 151, homegrown)
is added, the control signal starts doing some crazy stuff (Climate controller
with heater.tpf). The control signals, which should align nicely<span style="color: rgb(31, 73, 125);">,</span> start diverging considerably. This (I
assume) creates the convergence error that stops the simulation after a little
more than an hour with the current settings. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Is there something inherent in the way I am trying to string
together these components that is making the solver diverge? Is there a
better way to go about it? I’m not looking for a total solution-
simply a pointer or two towards why the program is behaving as it is and what I
might do to get back on track. Please let me know if you need any other
files. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thank you in advance for your time,</p>
<p class="MsoNormal">Ethan Lust</p>
<p class="MsoNormal">301.405.8672 (desk)</p>
<p class="MsoNormal">757.636.8727 (cell)</p>
<p class="MsoNormal">University of Maryland</p> </div> </div> <!-- end sanitized html -->
<hr size="1" noshade="noshade">
<pre>_______________________________________________<br>TRNSYS-users mailing list<br><a href="javascript:bodyCreateMail('TRNSYS-users%40engr.wisc.edu')">TRNSYS-users@engr.wisc.edu</a>
<br><a href="https://www.cae.wisc.edu/mailman/listinfo/trnsys-users" target="_blank">https://www.cae.wisc.edu/mailman/listinfo/trnsys-users</a></pre></div></td></tr></tbody></table></div>