[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Equation



You can also use 'min' and 'max', for your example:

max(min(Ta, 15),23)


 - Nikolai




Nikolai Artmann

3-Plan Haustechnik AG, Winterthur
Telefon  052 / 234 70 66
Telefax  052 / 234 70 60
e-Mail: nikolai.artmann@3-plan.ch

 

-----Ursprüngliche Nachricht-----
Von: PERRIER Rémi 226004 [mailto:remi.perrier@cea.fr] 
Gesendet: Mittwoch, 28. Juli 2010 13:35
An: caria.roberto@tiscali.it; trnsys-users@cae.wisc.edu
Betreff: Re: [TRNSYS-users] Equation

Well, you have to combine the gt() and lt() functions.
Unfortunately, there is no if in the equation...

Rémi PERRIER
 

CEA INES
Laboratoire DTS / LETh
Bâtiment PUMA 3, P112
BP 332 - 50, avenue du Lac Léman - 73377 Le Bourget du Lac  FRANCE
Mobile : +33 (0)6 76 95 91 86
Email : remi.perrier@cea.fr
 
 
-----Message d'origine-----
De : caria.roberto@tiscali.it [mailto:caria.roberto@tiscali.it] 
Envoyé : mercredi 28 juillet 2010 13:12
À : trnsys-users@cae.wisc.edu
Objet : [TRNSYS-users] Equation

dear trnsys users,
I have to add the following algorithm into the equation:

if Ta < 15 ta= 15 and if Ta> 23 Ta=23

How can I do this?
Thanks
Roberto


Risparmia con Tutto Incluso Light: telefono + adsl 8 mega a soli 19,95 € al mese per un anno!SCONTO DI 120 EURO! L’offerta è valida solo se attivi entro il 29/07/10http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso_light/?WT.mc_id=01fw

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users