[TRNSYS-users] If-clause

Andreas Klesse klesse at lee.rub.de
Tue Sep 1 03:17:41 PDT 2009


Hello,
 
there is no if clause in the equation component. You have to create your
own algorithm in the equation with the given functions GT, LT, GE, MAX
like:
 
gt(T,20°C) and than multiply it with something. The output of the GT
function is 0 or 1.
 
Andreas
 
-----Ursprüngliche Nachricht-----
Von: senne plessers [mailto:senne_plessers at hotmail.com] 
Gesendet: Dienstag, 1. September 2009 11:50
An: trnsys-users at cae.wisc.edu
Betreff: [TRNSYS-users] If-clause
 
Dear all,
 
is it possible to create an if-clause in an equation-component that
can use to or-button in the equation?
 
For example: if T < 20°C or Hour of the day > 1000
                  than flow=...
                  else flow=...
                  end
 
Is this possible or do I have to write my own algorithm?
 
Thanks in advance.
 
Best regards,
 
Senne Plessers
  _____  

Je hele online leven op één stek? Ontdek Windows Live!
<http://www.microsoft.com/belux/nl/windows/windowslive/default.aspx> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20090901/d6bcba10/attachment-0005.htm>


More information about the TRNSYS-users mailing list