Control strategy for a heating system

3 次查看(过去 30 天)
Hello Everybody! I am new to Simulink modeling. Given the following problem: I want to control the heating of a house. Therefore, a top unit should be switched on (nominal load, no ramp up) as soon as the production of the main unit is above a certain level. How would you do this? Is it possible to set the output of a p-controller to a fixed value?
if main_unit < level:
top_unit = 0
else:
top_unit = nominal_load
end
Thank you very much for your help

回答(1 个)

Jose Lara
Jose Lara 2017-3-10
You may try using the Switch block. The Switch output between first input and third input based on value of second input. The second input could be the reference value, 'level'. The third input could be the "nominal_load" value. Check out the example Use of Simulation Time for the Control Port to further understand how the Switch block works.

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by