フィルターのクリア

Control strategy for a heating system

2 ビュー (過去 30 日間)
noUse
noUse 2017 年 3 月 1 日
回答済み: Jose Lara 2017 年 3 月 10 日
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 Center および File ExchangeSubsystems についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by