[TRNSYS-users] Question about the Equation tool

Edward Halawa Edward.Halawa at unisa.edu.au
Thu May 26 20:08:57 PDT 2005


Yun,

>I have used the Equation tool usually when there was no 
>necessity to calculate a Maximum value of data.
>Somebody let me know how can I get a Maximum value by using the 
>Equation tool, please. 

>For some example in my case,
> max(data1, data2, data3) -> error
> max(data1 data2 data3) -> error too.
>So, I need an example containing "Max" fuction.


MAX and MIN functions in EQUATIONS only handle two arguments. So, try
the following:
MAX(data1,MAX(data2,data3)) or MAX(MAX(data1,data2),data3))

e.halawa




More information about the TRNSYS-users mailing list