AixLib.Examples.Tutorial.SimpleHouse.SimpleHouse5

# .AixLib.Examples.Tutorial.SimpleHouse.SimpleHouse5

Heating controller 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.

## Revisions

- September 4, 2023, by Jelger Jansen:
  First implementation.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos