[TRNSYS-users] using conditionals sentences in "insert new equation"

REBILLARD, Clement (Stagiaire CRPE) Clement.REBILLARD at veolia.com
Mon May 25 08:13:54 PDT 2009


Dear Tiago,

The equations offer the possibility to use several mathematical functions such as COS, SIN or ABS. It is also possible to use GreaterThan (GT) or LowerThan (LT).

For example, you can express Tout if Q=0 with : function(x)*gt(Q,0)
Gt(Q,0) returns 1 if Q>0 and 0 else.

Check the documentation pdf #7 TRNEdit, page 7-18 : "Available mathematical functions" for more details.

Hope this helps,

Clement Rebillard
Veolia Environment






-----Message d'origine-----
De : em04143 at fe.up.pt [mailto:em04143 at fe.up.pt] 
Envoyé : lundi 25 mai 2009 16:00
À : trnsys-users at cae.wisc.edu
Objet : [TRNSYS-users] using conditionals sentences in "insert new equation"


Dear Trnsys Users,

Does anyone knows if it's possible to use conditionals sentences  
(ig-then-else) in the insert new equation functionality? For example,  
i'm using an equation that describes the Tout of a collector, but i  
don't want to calculate the Tout, if the flow rate is equal to zero.  
Does anyone knows if it´s possible to do this?

Kind regards, Tiago Teixeira


_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
___________________________________________________________________________________
 
Protegeons ensemble l'environnement : avez-vous besoin d'imprimer ce courrier electronique ?
___________________________________________________________________________________
 
Les informations figurant sur cet e-mail ont un caractere strictement confidentiel et sont exclusivement adressees au destinataire mentionne ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en etes pas le destinataire. Dans ce cas, veuillez nous en avertir immediatement par la meme voie et detruire l'original. Merci.

This e-mail is intended only for use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. 
Any use, distribution or copying of this e-mail communication is strictly prohibited if you are not the addressee. If so, please notify us immediately by e-mail, and destroy the original. Thank you.





More information about the TRNSYS-users mailing list