Borrar filtros
Borrar filtros

Control strategy for a heating system

2 visualizaciones (últimos 30 días)
noUse
noUse el 1 de Mzo. de 2017
Respondida: Jose Lara el 10 de Mzo. de 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

Respuestas (1)

Jose Lara
Jose Lara el 10 de Mzo. de 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.

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by