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

RE: linear increasing value



Dear Alfred,

I forgot to mention that you can use the "MIN" function to saturate the
integrated value. E.g. to keep it <=30, just replace the equation for
"Value" by:
Value = MIN(30,([2,2]+Increment)*Switch)

You can also use the GT / LT function, as mentioned by Arie.

Regards,

Michaël Kummert

_________________________________________________________

Michaël Kummert

Solar Energy Laboratory - University of Wisconsin-Madison
1303 Engr Res Bldg, 1500 Engineering Drive
Madison, WI 53706

Tel: +1 (608) 263-1589
Fax: +1 (608) 262-8464
E-mail: kummert@engr.wisc.edu

SEL Web Site: http://sel.me.wisc.edu 
TRNSYS Web Site: http://sel.me.wisc.edu/trnsys