modelSimpleHouse5
Heating controller model
Extends from SimpleHouse4.
Information
Since the zone becomes too warm, a controller is required that disables the heater when a setpoint is reached. We will implement a hysteresis controller with a setpoint of 295.15 +/- 1K (21-23°C). A temperature sensor will measure the zone air temperature.
Required models
- Modelica.Blocks.Logical.Hysteresis
- Modelica.Blocks.Logical.Not
- Modelica.Blocks.Math.BooleanToReal
- Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor
Connection instructions
The heater modulation level should be set to 1 when the heater is on and to 0 otherwise. Furthermore, the pump should only circulate water when the heater is on.
Reference result
The figure below shows the air temperature after the controller is added.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.BooleanToReal | booRea1 | Boolean to integer | |
| Modelica.Blocks.Math.BooleanToReal | booRea | Boolean to real | |
| Modelica.Blocks.Logical.Hysteresis | hysRad | Hysteresis controller for radiator | |
| Modelica.Blocks.Logical.Not | not1 | Negation for enabling heating when temperature is low | |
| Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor | senTemZonAir | Zone air temperature sensor |
Revisions
-
September 4, 2023, by Jelger Jansen:
First implementation.