modelHeatingRod

Example for the usage of the heating rod model

Extends from Modelica.Icons.Example, AixLib.Fluid.HeatExchangers.Examples.BaseClasses.Heater.

Information

This example illustrates how to use the heating rod model.

The model consist of a water volume with heat loss to the ambient. The set point of the water temperature is different between night and day. The heater tracks the set point temperature, except for the periods in which the water temperature is above the set point.

As output, the number of times the heating rod was used is given along with the energy required to supply the heat.

Components

TypeNameDefaultDescription
AixLib.Fluid.HeatExchangers.HeatingRodheatingRod
Modelica.Blocks.Interfaces.IntegerOutputnumSwiHRNumber of on switches of heating rod
Modelica.Blocks.Interfaces.RealOutputPelElectrical power used to provide current heat flow

Revisions

  • May 5, 2021, by Fabian Wuellhorst:
    Added model.
    This is for AixLib, #1092.