[TRNSYS-users] Equation

Nikolai Artmann nikolai.artmann at 3-plan.ch
Wed Jul 28 04:38:51 PDT 2010


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 at 3-plan.ch

 

-----Ursprüngliche Nachricht-----
Von: PERRIER Rémi 226004 [mailto:remi.perrier at cea.fr] 
Gesendet: Mittwoch, 28. Juli 2010 13:35
An: caria.roberto at tiscali.it; trnsys-users at 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 at cea.fr
 
 
-----Message d'origine-----
De : caria.roberto at tiscali.it [mailto:caria.roberto at tiscali.it] 
Envoyé : mercredi 28 juillet 2010 13:12
À : trnsys-users at 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 at cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users

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




More information about the TRNSYS-users mailing list