<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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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.E-MailFormatvorlage17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.E-MailFormatvorlage18
        {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:612.0pt 792.0pt;
        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=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>Hi Salim,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>you can do if
conditions like this:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>“GE (input1,
input2) * 333 + LT(input1, input2) * 666“<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Explanation:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>GE… ‘greater
equal’<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>LT… ‘less
than’<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>In the first term GE(…)
compares the two inputs and returns ‘1’ if condition is true or ‘0’
if not - Second term works the same way…<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>So if input1 >=
input2 the function above returns 333, if not the result is 666.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Kind regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Markus.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<p class=MsoNormal><b><span lang=EN-GB style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:#1F497D'>DI Markus Brychta</span></b><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:12.0pt;font-family:"Arial","sans-serif";
color:#788386'>Energy Department</span><span lang=EN-US style='font-size:12.0pt;
font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:12.0pt;font-family:"Arial","sans-serif";
color:#788386'>Sustainable Building Technologies </span><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D'> <o:p></o:p></span></p>

<p class=MsoNormal><b><span style='font-size:12.0pt;font-family:"Arial","sans-serif";
color:#788386'>AIT Austrian Institute of Technology </span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Arial","sans-serif";
color:#788386'>Österreichisches Forschungs- und Prüfzentrum Arsenal Ges.m.b.H. </span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=IT style='font-size:12.0pt;font-family:"Arial","sans-serif";
color:#788386'>Giefinggasse 2 | 1210 Vienna | Austria </span><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=IT style='font-size:12.0pt;font-family:"Arial","sans-serif";
color:#788386'>T +43(0) 50550-6611 | M +43(0) 664 815 79 13| F +43(0)
50550-6613</span><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:12.0pt;font-family:"Arial","sans-serif";
color:blue'><a href="mailto:markus.brychta@ait.ac.at"><span lang=IT>markus.brychta@ait.ac.at</span></a><u>
</u></span><span lang=IT style='font-size:12.0pt;font-family:"Arial","sans-serif";
color:#7D7D7D'>| </span><u><span lang=IT style='font-size:12.0pt;font-family:
"Arial","sans-serif";color:blue'><a href="http://www.ait.ac.at/">http://www.ait.ac.at</a>
</span></u><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-GB style='font-size:9.0pt;font-family:"Arial","sans-serif";
color:#BDBDBD'>FN: 165088b HG Wien | UID: ATU46577208 This email and any
attachments thereto, is intended only for use by the addressee(s) named herein
and may contain legally privileged and/or confidential information. If you are
not the intended recipient, please notify the sender by return e-mail or by
telephone and delete this message from your system and any printout thereof.
Any unauthorized use, reproduction, or dissemination of this message is
strictly prohibited. Please note that e-mails are susceptible to change.
Österreichisches Forschungs- und Prüfzentrum Arsenal Ges.m.b.H. shall not be
liable for the improper or incomplete transmission of the information contained
in this communication, nor shall it be liable for any delay in its receipt. </span><span
lang=EN-US style='color:#1F497D'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> salim mokraoui
[mailto:salim.mokraoui@lermab.uhp-nancy.fr] <br>
<b>Gesendet:</b> Montag, 15. Februar 2010 15:53<br>
<b>An:</b> trnsys-users@cae.wisc.edu<br>
<b>Betreff:</b> [TRNSYS-users] (no subject)<o:p></o:p></span></p>

</div>

</div>

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

<p class=MsoNormal><span lang=FR>Hi all,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=FR><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I’ve a simple question related to the
use of the equation editor in simulation studio. Can we use a condition (if) to
define an output from an equation editor ? What is the syntax ? (example: if Input
= x then Output = y)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Best regards<o:p></o:p></span></p>

</div>

</body>

</html>