modelHeatingRod

Example for the usage of the heating rod model

Extends from Modelica.Icons.Example (Icon for runnable examples), AixLib.Fluid.HeatExchangers.Examples.BaseClasses.Heater (Base class for example model for the heater and cooler).

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.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VolumeV (from Heater)6*6*2.7Volume
Modelica.Units.SI.MassFlowRatem_flow_nominal (from Heater)V*1.2*6/3600Nominal mass flow rate
Modelica.Units.SI.HeatFlowRateQ_flow_nominal (from Heater)30*6*6Nominal heat loss of the room

Connectors

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

Components

TypeNameDefaultDescription
AixLib.Fluid.MixingVolumes.MixingVolumevol (from Heater)
Modelica.Thermal.HeatTransfer.Components.ThermalConductortheCon (from Heater)Thermal conductance to the outside
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureTBou (from Heater)Fixed temperature boundary condition
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensorTVol (from Heater)Sensor for volume temperature
AixLib.Fluid.Movers.FlowControlled_m_flowmov (from Heater)Fan or pump
Modelica.Blocks.Sources.RealExpressionTOut (from Heater)Outdoor temperature
Modelica.Blocks.Sources.PulseTSet (from Heater)Setpoint for room temperature
Controls.Continuous.LimPIDconPI (from Heater)Controller
Modelica.Blocks.Sources.ConstantmFan_flow (from Heater)Mass flow rate of the fan
AixLib.Fluid.Sources.Boundary_pTbou (from Heater)Fixed pressure boundary condition, required to set a reference pressure
Sensors.TemperatureTwoPortTHeaOut (from Heater)Outlet temperature of the heater
FixedResistances.PressureDropres (from Heater)Flow resistance to decouple pressure state from boundary
AixLib.Fluid.HeatExchangers.HeatingRodheatingRod

Revisions

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