Bug in Simulating Automatic Climate Control Systems simulink example
显示 更早的评论
Hello,
I just noticed that in the Simulink example “Simulating Automatic Climate Control System” there seems to be an issue with the thermodynamic model. For instance, if I set the User Setpoint temperature to 25 °C and the external temperature to –20 °C, the heater does not turn on, which clearly indicates a problem.
Link to the demo: https://ch.mathworks.com/help/simulink/slref/simulating-automatic-climate-control-systems.html

回答(1 个)
Sam Chak
2025-9-19
0 个投票
Hi @Tommaso
The reason the heater does not turn on is that the thermometer clearly indicates the initial air temperature in the car is 25.5°C, which exceeds the user setpoint of 25.0°C. I believe that if the temperature drops below 25.0°C, the heater will activate.

6 个评论
Tommaso
2025-9-19
Sam Chak
2025-9-19
Hi @Tommaso
You need to investigate:
Is 25.5°C the equilibrium temperature of the thermal system when the setpoint is 25.0°C?
If the setpoint is adjusted to 27.0°C while the current temperature is 25.5°C, does the heater turn on?
Additionally, if the number of occupants remains the same while the heater and air conditioning are disabled, does the temperature rise?
One more point to consider is that there is usually a deadband for heating to prevent excessive energy waste from On/Off cycles. Does 25.5°C fall within the range of temperatures at which the heater does not respond?
Tommaso
2025-9-19
Sam Chak
2025-9-19
Have you observed a temperature drop when the heater and air conditioning are completely disabled or disconnected? Logically, since the outdoor temperature is –20°C, the indoor temperature is expected to decrease.
Tommaso
2025-9-21
Sam Chak
2025-9-22
At this point, the best course of action is likely to contact technical support to report the bug you discovered.

类别
在 帮助中心 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!