Control strategy for a heating system

1 view (last 30 days)
noUse
noUse on 1 Mar 2017
Answered: Jose Lara on 10 Mar 2017
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

Answers (1)

Jose Lara
Jose Lara on 10 Mar 2017
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.

Community Treasure Hunt

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

Start Hunting!