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

Re: [TRNSYS-users] Information on Unit 0 (Equation Calculator)



GT(x,y) returns 1 if x>y. It returns 0 if x<y.

 

The same approach for all other comparative operators.

 

The idea is therefore to create in the equation an output equal to the parameter you need (the quantity to be used in case of “true” = 1 ) times the “if” statement that in TRNSYS (based on FORTRAN code) is “…*GT(x,y)*…”

 

Cheers

Stefano

 

 

From: trnsys-users-bounces@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] On Behalf Of Siak Chun Loh
Sent: Wednesday, 08 August, 2012 07:17
To: trnsys-users@cae.wisc.edu
Subject: [TRNSYS-users] Information on Unit 0 (Equation Calculator)

 

Dear users,

 

I am new to TRNSYS. Could anyone let me know where to find info on Unit 0 (“equation calculator”)?

 

 

 

I need to find out how to use “GT” and “LT”.

Thanks!

 

Best regards,

Loh