<div dir="ltr"><div><div><div>Hi<br></div>There is not any "IF" statement in equation.However you can use greater than (GT) or less than (LT) in equation box to make your conditional statement.<br></div>Regards,<br>
</div>Soudabeh<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 12:19 AM, metkell yebiyo <span dir="ltr"><<a href="mailto:metkell@yahoo.com" target="_blank">metkell@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif"><div>
Dear TRNSYS users,</div><div><br></div><div style="font-style:normal;font-size:16.363636016845703px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
Could you anyone tell me if it is possible to write an if statement in the equation box,</div><div style="font-style:normal;font-size:16.363636016845703px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
I am trying to send a control signal based on the outside temperature, if outside air temperature is</div><div>greater than 18 deg C then the heat pump would run in cooling mode else if the outside <span style="font-size:12pt">air temperature is </span><span style="font-size:12pt;background-color:transparent">less than 14 deg C then </span><span style="font-size:12pt"> </span><span style="font-size:12pt">the heat pump would run in heating mode.</span></div>
<div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="font-size:12pt"><br></span></div>
<div style="font-style:normal;font-size:16.363636016845703px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif"><span style="font-size:12pt">Any suggestions would be
appreciated thank you very much.</span></div><div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span style="font-size:12pt"><br></span></div><div style="font-style:normal;font-size:16.363636016845703px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span style="font-size:12pt"><br></span></div><div style="font-style:normal;font-size:16.363636016845703px;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span style="font-size:12pt">Regards,</span></div><div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span style="font-size:12pt">Metkel</span></div><div style="font-style:normal;font-size:12pt;background-color:transparent;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif">
<span style="font-size:12pt"><br></span></div><div class="MsoNormal">Metkel Yebiyo BEng (Hons), MSc<u></u><u></u></div><div class="MsoNormal">CEREB PhD Researcher - Ground Source Heat Pumps <u></u><u></u></div><div class="MsoNormal">
Room T615 <u></u><u></u></div><div class="MsoNormal">Department of Urban Engineering <u></u><u></u></div><div class="MsoNormal">Faculty of Engineering, Science and the Built Environment<u></u><u></u></div><div class="MsoNormal">
London South Bank University, <u></u><u></u></div><div class="MsoNormal">103 Borough Road,<u></u><u></u></div><div class="MsoNormal">London SE1 0AA<u></u><u></u></div><div class="MsoNormal">Tel: +44 (0)20 7815
7639<u></u><u></u></div><div style="background-color:transparent"><span style="font-size:12pt">
</span></div><div class="MsoNormal">E: <a href="mailto:yebiyom@lsbu.ac.uk" target="_blank">yebiyom@lsbu.ac.uk</a><u></u><u></u></div></div></div><br>_______________________________________________<br>
TRNSYS-users mailing list<br>
<a href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a><br>
<a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target="_blank">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><br>
<br></blockquote></div><br></div>