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

[TRNSYS-users] (no subject)



Hello,

I try to simulate a floor heating system using the active layer on type 56. So far this works. For control I like to use a pi controller but using a pwm output with a period of 20 min (so 50% controller output would be 10 min flow on and 10min flow off). I will therefore set the simulation interval down to 1 Mon or lower.

What I already can do is to scal the pi controller output to 0...20.

What I struggle to do is to "read" the controller output only every 20th simulation step and realise the pwm using equations and value recall.

So the logic is: Every 20 min the controller output, say=5 is received and for the next 5 (as example) min flow for the active layer is 100% and for the following 15 min the flow is 0%


Any ideas?
Mit freundlichen Grüßen
Thomas Heyn
thomas.heyn@web.de