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

Re: [TRNSYS-users] EQUA tool syntax



Something like this?

and(gt(time,623.99),lt(time,1608))+and(gt(time,6647.99),lt(time,7176))

you always have to write and(condition1,condition2)

simple example:

and(gt(a,5),lt(a,10)) will be true for a=6,7,8,9 (if a is an integer).

Hope it helps




_______________________________________________________________

 DI Dr. mont. Hermann Schranzhofer
 Institut fuer Waermetechnik / Institute of Thermal Engineering
 TU Graz / Graz University of Technology  	
 Inffeldgasse 25 / B, A-8010 Graz	
 
 Tel.: +43 316 873 7314
 Fax : +43 316 873 7305
 http://www.iwt.tugraz.at/
_______________________________________________________________
 
 

-----Ursprüngliche Nachricht-----
Von: giacomo.villi@unipd.it [mailto:giacomo.villi@unipd.it] 
Gesendet: Dienstag, 31. Juli 2007 15:40
An: trnsys-users@engr.wisc.edu
Betreff: [TRNSYS-users] EQUA tool syntax


Hi,
Does anyone know where I can find informations on how to write equations
using  the Equa tool?In particular, i am looking for informations on how
to use logical operators such as AND and OR.
Thanks in advance,
giacomo
--
Giacomo Villi
Univerisità degli Studi di Padova
Dipartimento di Fisica Tecnica (DFT)
via Venezia, 1
Tel: +39 049 8276871

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

Attachment: Hermann Schranzhofer.vcf
Description: Binary data