<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=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027" />
</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="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Dear Trnsys users,<o:p></o:p></p>
<p class="MsoNormal">I am having a problem with Type 980. We would like to implement an exit strategy “<span style="color:red">CtrlExitStrategy</span>” in case a temperature in the thermal energy storage “<span style="color:red">Tsen3_Tes1</span>” drops below
 the set temperature “myT_set_MixSh_Ref” for more than 24h. Below what I implemented.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Basically I give as input for Type 980 <span style="color:red">
CtrlTTesSh </span>and it should give me as output how many hours the control has been 1, right? Then with the last equation
<span style="color:red">CtrlExitStrategy </span>will be 1 if the output of the type has reached 24h. Is there something wrong?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Without this new block, the model works properly, but with this new block it tells me that there are errors in the number of parameters and outputs of this type 980 (see below). Can you help me?   <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:red">EQUATIONS 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">CtrlTTesSh = LT(Tsen3_Tes1,myT_set_MixSh_Ref)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:red"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:red">UNIT 2 TYPE 980               Type980<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">PARAMETERS 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">1                                    ! 1 Number of Signals to Watch<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">INPUTS 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">CtrlTTesSh                   ! [unconnected] Input Control Signal<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">*** INITIAL INPUT VALUES<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">0. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">*------------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">EQUATIONS 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">CtrlTTesShDuration = [2,1]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">CtrlExitStrategy = GT(CtrlTTesShDuration,24)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="1212" height="150" style="width:12.625in;height:1.5666in" id="Picture_x0020_1" src="cid:image001.png@01D94B66.40984A50"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter" />
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0" />
<v:f eqn="sum @0 1 0" />
<v:f eqn="sum 0 0 @1" />
<v:f eqn="prod @2 1 2" />
<v:f eqn="prod @3 21600 pixelWidth" />
<v:f eqn="prod @3 21600 pixelHeight" />
<v:f eqn="sum @0 0 1" />
<v:f eqn="prod @6 1 2" />
<v:f eqn="prod @7 21600 pixelWidth" />
<v:f eqn="sum @8 21600 0" />
<v:f eqn="prod @7 21600 pixelHeight" />
<v:f eqn="sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><v:shape id="Picture_x0020_14" o:spid="_x0000_s1026" type="#_x0000_t75" style='position:absolute;margin-left:0;margin-top:564.25pt;width:80.8pt;height:45.05pt;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:left;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:text;mso-width-percent:0;mso-height-percent:0;mso-width-relative:margin;mso-height-relative:margin'>
<v:imagedata src="cid:image002.jpg@01D94B66.40984A50" o:title="" cropleft="4767f" cropright="32764f" />
<w:wrap type="through"/>
</v:shape><![endif]--><![if !vml]><img width="108" height="60" style="width:1.125in;height:.625in" src="cid:image003.jpg@01D94B66.40984A50" align="left" hspace="12" v:shapes="Picture_x0020_14"><![endif]><b><span lang="DE-CH" style="color:#8C195F;mso-fareast-language:DE-CH">SPF
 Industrietag an der OST – Rapperswil:<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="DE-CH" style="mso-fareast-language:DE-CH">Unsere Beiträge zu einer nachhaltigen Energieversorgung
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="mso-fareast-language:DE-CH">Mittwoch 8. März 2023, 13:00 – 18:00<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="DE-CH" style="color:black;mso-fareast-language:DE-CH">Hier finden Sie das
</span><span lang="DE-CH" style="color:black"><a href="https://www.ost.ch/fileadmin/dateiliste/3_forschung_dienstleistung/institute/spf/veranstaltungen/2023/spf-industrietag-programm_2023_final.pdf" target="_blank"><b><span style="color:#8C195F">Programm</span></b></a>
 und hier geht’s zur <a href="https://questionpro.eu/t/AB3uocKZB3vYFc"><b><span style="color:#8C195F">Anmeldung</span></b></a></span><span lang="DE-CH" style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">
<hr size="1" width="100%" noshade="" style="color:black" align="center">
</span></div>
<p class="MsoNormal" style="margin-top:4.0pt"><b><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">Toni Calabrese</span></b><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">, MSc.</span><span lang="DE-CH" style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">Wissenschaftlicher Projektleiter</span><span lang="DE-CH" style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"><a href="mailto:toni.calabrese@spf.ch"><span style="color:#0065A3">toni.calabrese@spf.ch</span></a> |</span><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#8C195F"> </span><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"><a href="mailto:toni.calabrese@ost.ch"><span style="color:#0065A3">toni.calabrese@ost.ch</span></a></span><span lang="DE-CH" style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="color:#8C195F"> </span><span lang="DE-CH" style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D">T +41 58 257 4827</span><span lang="DE-CH" style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"> </span><span lang="DE-CH" style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#002060">SPF Institut für Solartechnik</span><span lang="DE-CH" style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#002060">OST – Ostschweizer Fachhochschule</span><span lang="DE-CH" style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#002060">Oberseestr. 10 | CH-8640 Rapperswil | Switzerland | </span><span lang="DE-CH" style="font-family:"Arial",sans-serif;color:red"><a href="http://www.spf.ch/"><span style="font-size:10.0pt;color:red">www.spf.ch</span></a></span><span lang="DE-CH" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#002060"> | </span><span lang="DE-CH" style="font-family:"Arial",sans-serif;color:red"><a href="http://www.ost.ch/"><span style="font-size:10.0pt;color:red">www.ost.ch</span></a></span><span lang="DE-CH"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
</div>
</body>
</html>