[TRNSYS-users] If-clause

Adrien JEZEQUEL - ITF a.jezequel at itf.biz
Tue Sep 1 03:11:22 PDT 2009


Dear Senne,

You may use an equation tool to perform your "if-clause" with following 
objects :
LT : Letter Than
LE : Letter and Equal
GT : Greater Than
GE : Greater and Equal

For example :
GT(Temperature,20)*Flow1 + LE(Temperature,20)*Flow2
/Flow1 if temperature > 20°C - Flow2 if temperature <=20°C/
 
GT(TIME,1000)*Flow1 + LE(TIME,1000)*Flow2
/Flow1 if TIME > 1000 - Flow2 if TIME <= 1000

/Best regards/
/
------------------------------------------------------------------------
www.itf.biz <http://www.itf.biz>
www.itf.biz <http://www.itf.biz>

	Adrien JEZEQUEL
Simulations Thermiques Dynamiques
*ITF*
	87, Avenue de Chambéry
73230 St Alban Leysse
FRANCE
Phone :
Fax :
Mail:
	+33(0) 479 750 029
+33(0) 479 852 122
a.jezequel at itf.biz

/Afin de contribuer au respect de l'environnement, merci de n'imprimer 
cet e-mail que si nécessaire
Please, consider our environmental responsability before printing this email
/


senne plessers a écrit :
> 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>
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet e-mail a été contrôlé par l'anti-virus mail.
> Aucun virus connu à ce jour par nos services n'a été détecté.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20090901/b08a25d2/attachment-0005.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_itf_signature.jpg
Type: image/jpeg
Size: 2884 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20090901/b08a25d2/attachment-0005.jpg>


More information about the TRNSYS-users mailing list