<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns1="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (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]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--a:link
{mso-style-priority:99;}
span.MSOHYPERLINK
{mso-style-priority:99;}
a:visited
{mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
{mso-style-priority:99;}
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Calibri;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:Arial;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:Arial;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:Calibri;
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal;
font-family:Arial;
color:navy;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'>Hi Stefan, <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;color:navy'>Here’s a trick to hold a value for a
given duration (just set the value of the variable ‘Duration’ in
the macro to 8760 if you want to keep it forever). <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;color:navy'>HTH,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;color:navy'>Werner<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De :</span></font></b><font
face=Tahoma><span style='font-family:Tahoma'> Stefan de Kool
[mailto:S.deKool@chri.nl] <br>
<b><span style='font-weight:bold'>Envoyé :</span></b> jeudi 25 octobre
2007 09:43<br>
<b><span style='font-weight:bold'>À :</span></b> <st1:PersonName w:st="on">trnsys-users@engr.wisc.edu</st1:PersonName><br>
<b><span style='font-weight:bold'>Objet :</span></b> Re: [TRNSYS-users]
Raising flags</span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;color:navy'>Dear Karl,<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span lang=NL style='font-size:10.0pt;color:navy'>Thanks
for the idea. The problem is though that as soon as Tin gets less than Tset
again, it ‘looses’ its value. What i want is to keep it at
Tset untill another condition is met, but not when Tin<Tset. In fact i want
to include some form of hysteresis in a control loop. <o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span lang=NL style='font-size:10.0pt;color:navy'>(PS:
you can use GE instead of combining GT and EQL)<o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span lang=NL style='font-size:10.0pt;color:navy'>Kind
regards<o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span lang=NL style='font-size:10.0pt;color:navy'>Stefan<o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 face="Times New Roman"><span lang=NL style='font-size:12.0pt;font-family:
"Times New Roman"'><o:p> </o:p></span></font></p>
</div>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=NL style='font-size:12.0pt;font-family:"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=NL style='font-size:
10.0pt;font-family:Tahoma;font-weight:bold'>Van:</span></font></b><font
face=Tahoma><span lang=NL style='font-family:Tahoma'> Karl Vonderputten
[mailto:karl@chromagen.com.au] <br>
<b><span style='font-weight:bold'>Verzonden:</span></b> woensdag 24 oktober
2007 23:27<br>
<b><span style='font-weight:bold'>Aan:</span></b> Stefan de Kool<br>
<b><span style='font-weight:bold'>Onderwerp:</span></b> RE: [TRNSYS-users]
Raising flags</span></font><font size=3 face="Times New Roman"><span lang=NL
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Hello Mr De kool<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>You could try the
following to raise a flag<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Eqns 3<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Tset = 60 !
Tset whatever set point<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Tin = [9,6] !
Whatever output from whatever control card<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Tout = Tset*GT(Tin,
Tset)+ Tset*EQL(Tin, Tset) + Tin * LT( Tin, Tset) <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>I included the
expression in the middle because I was not sure what the equation would do if
the <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Value Tin was ever
exactly equal to Tset. It may not be necessary<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Please let me know
if this was helpful<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>(I may like to use
it later myself)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Regards<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Karl Von Der Putten<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span lang=EN-AU
style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p> </o:p></span></font></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
face=Tahoma><span lang=EN-US style='font-family:Tahoma'> Stefan de Kool
[mailto:S.deKool@chri.nl] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, 25 October 2007
1:03 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">trnsys-users@engr.wisc.edu</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [TRNSYS-users] Raising
flags<o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-AU style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt'>Dear
all,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt'>Does
anyone know if there is a way to ‘raise flags’ in trnsys? I want to
give a certain variable a value at the moment a certain temperature is reached
and to keep that variable at that value regardless of further temperature
changes.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt'>Stefan
de Kool<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=NL
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;color:navy'>Cauberg-Huygen Raadgevende Ingenieurs B.V.</span></font><span
lang=NL><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;color:navy'>Bezoekadres: Boterdiep 48, 3077 AW
ROTTERDAM</span></font><span lang=NL><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;color:navy'>Postadres: Postbus 9222, 3007 AE
ROTTERDAM</span></font><span lang=NL><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;color:navy'>Telefoon: +31 (0)10-2443638</span></font><span
lang=NL><o:p></o:p></span></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;color:navy'>Fax: +31 (0)10-425 44 43<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=NL
style='font-size:10.0pt;color:navy'>http://www.chri.nl<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;color:navy'>E-mail: s.dekool@chri.nl<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=DE
style='font-size:10.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt'><img
width=300 height=75 id="_x0000_i1025" src="cid:image001.jpg@01C81713.70FB6440"><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 color=navy face=Arial><span lang=DE style='font-size:10.0pt;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=2 face=Arial><span lang=NL style='font-size:10.0pt'> </span></font><font
size=3 face="Times New Roman"><span lang=NL style='font-size:12.0pt;font-family:
"Times New Roman"'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=NL style='font-size:10.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</div>
</body>
</html>
<BR>
<BR>
<BR>
<BR>
************************************************************************************<BR>
This footnote confirms that this email message has been scanned by<BR>
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.<BR>
************************************************************************************<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
************************************************************************************<BR>
This footnote confirms that this email message has been scanned by<BR>
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.<BR>
************************************************************************************<BR>
<BR>
<BR>