| 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
 
 
 
  
    Afin de contribuer au
respect de l'environnement, merci de n'imprimer cet e-mail que si
nécessaire
      |  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@itf.biz
 |  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!
 
 ---------------------------------------------------------------------------------------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@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
 |