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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Volume | V (from Heater) | 6*6*2.7 | Volume |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal (from Heater) | V*1.2*6/3600 | Nominal mass flow rate |
| Modelica.Units.SI.HeatFlowRate | Q_flow_nominal (from Heater) | 30*6*6 | Nominal heat loss of the room |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.IntegerOutput | numSwiHR | Number of on switches of heating rod | |
| Modelica.Blocks.Interfaces.RealOutput | Pel | Electrical power used to provide current heat flow |
Components
Revisions
- May 5, 2021, by Fabian Wuellhorst:
Added model.
This is for AixLib, #1092.