modelSimpleHouse5
Heating controller model
Extends from SimpleHouse4 (Heating model).
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.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Area | AWall (from SimpleHouse0) | 100 | Wall area |
| Modelica.Units.SI.Length | dWall (from SimpleHouse0) | 0.25 | Wall thickness |
| Modelica.Units.SI.ThermalConductivity | kWall (from SimpleHouse0) | 0.04 | Wall thermal conductivity |
| Modelica.Units.SI.Density | rhoWall (from SimpleHouse0) | 2000 | Wall density |
| Modelica.Units.SI.SpecificHeatCapacity | cpWall (from SimpleHouse0) | 1000 | Wall specific heat capacity |
| Modelica.Units.SI.Area | AWin (from SimpleHouse2) | 2 | Window area |
| Modelica.Units.SI.Volume | VZone (from SimpleHouse3) | 8*8*3 | Zone volume |
| Modelica.Units.SI.MassFlowRate | mAir_flow_nominal (from SimpleHouse3) | 1 | Nominal mass flow rate for air loop |
| Modelica.Units.SI.CoefficientOfHeatTransfer | hWall (from SimpleHouse3) | 2 | Convective heat transfer coefficient at the wall |
| Boolean | use_constantHeater (from SimpleHouse4) | true | To enable/disable the connection between the constant source and heater and circulation pump |
| Modelica.Units.SI.HeatFlowRate | QHea_flow_nominal (from SimpleHouse4) | 3000 | Nominal capacity of heating system |
| Modelica.Units.SI.MassFlowRate | mWat_flow_nominal (from SimpleHouse4) | 0.1 | Nominal mass flow rate for water loop |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| AixLib.BoundaryConditions.WeatherData.Bus | weaBus (from SimpleHouse0) | Weather data bus |
Components
Revisions
-
September 4, 2023, by Jelger Jansen:
First implementation.