[TRNSYS-users] If-clause

David Ferrari davidf at Vipac.com.au
Tue Sep 1 16:04:45 PDT 2009


Senne,
 
as far as I know, If-Then-Else statements are not possible, but can be implemented with the workaround described at: http://sel.me.wisc.edu/trnsys/mailinglist/archive2003/msg00240.html
 
Regards,
David Ferrari

________________________________

From: senne plessers [mailto:senne_plessers at hotmail.com] 
Sent: Tuesday, 1 September 2009 7:50 PM
To: trnsys-users at cae.wisc.edu
Subject: [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/20090902/d490ab38/attachment-0005.htm>


More information about the TRNSYS-users mailing list