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

[TRNSYS-users] changing value only under certain conditions



Hi All,
 
I'm trying to model manually-operated windows, ie that can only be opened or closed when someone is around to do it. Thus, I need a way to modify a variable only at certain times - for example, so I can change my airchange rate accroding to outdoor temp **only if** hr>8 and hr<21. I know of type 93 (input value recall), but can't think of how this helps. I also know about chaining GT(), LT(), etc, to form logical operations, but everything I can think of would assign a new value at each timestep. I need more of a real if(condition)-then(action), but I know these don't exist in trnsys. Any thoughts?
 
Thanks,
Cramer
 

J. Cramer Silkworth

Transsolar Climate Engineering

Technical consulting for energy efficiency and environmental quality in buildings.

145 Hudson Street

Suite 402

New York, NY 10013

Office: 212-219-2255

Mobile: 347-283-2547

silkworth@transsolar.com