<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hello,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></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:#1F497D'>anyone</span>
could shed some light on the subject.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></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.  <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></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:#1F497D'>,</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.    <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></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.  <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Thank you in advance for your time,<o:p></o:p></p>

<p class=MsoNormal>Ethan Lust<o:p></o:p></p>

<p class=MsoNormal>301.405.8672 (desk)<o:p></o:p></p>

<p class=MsoNormal>757.636.8727 (cell)<o:p></o:p></p>

<p class=MsoNormal>University of Maryland<o:p></o:p></p>

</div>

</body>

</html>