modelRadiator
Example model with an radiator that conditions a thermal zone in EnergyPlus
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Example of one building with one thermal zone in which the room air temperature is controlled with a PI controller. Heating is provided through a radiator. The control output is used to regulate the water flow rate through the radiator. The setpoint for the room air temperature changes between day and night. The zone also has a constant air infiltration flow rate.
Note that for simplicity, the model has no cooling system. Therefore, in summer, the house overheats. Also note that the surface temperature of the radiator is not taken into account when computing the radiative temperature of the thermal zone.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Volume | VRoo | 453.138 | Room volume |
| Modelica.Units.SI.Area | AFlo | 185.834 | Floor area of the whole floor of the building |
| Modelica.Units.SI.MassFlowRate | mOut_flow_nominal | 0.3*VRoo*1.2/3600 | Outdoor air mass flow rate, assuming constant infiltration air flow rate |
| Modelica.Units.SI.MassFlowRate | mRec_flow_nominal | 8*VRoo*1.2/3600 | Nominal mass flow rate for recirculated air |
| Modelica.Units.SI.HeatFlowRate | QRad_flow_nominal | 10000 | Radiator design heat flow rate (at 50/40) |
| Modelica.Units.SI.Temperature | TSup_nominal | 323.15 | Water supply temperature |
| Modelica.Units.SI.Temperature | TRet_nominal | 313.15 | Water return temperature |
| Modelica.Units.SI.MassFlowRate | mRad_flow_nominal | QRad_flow_nominal/4200/(TSup_nominal - TRet_nominal) | Radiator design water flow rate |
| Modelica.Units.SI.PressureDifference | dpVal_nominal | 6000 | Pressure difference of valve |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BoundaryConditions.WeatherData.Bus | weaBus | Weather data bus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Building | building | Building model | |
| Buildings.ThermalZones.EnergyPlus_24_2_0.ThermalZone | zon | Thermal zone | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Pulse | TSet | Setpoint for room air | |
| Buildings.Controls.OBC.CDL.Reals.PID | conPID | Controller for heater | |
| Buildings.Fluid.Sources.Boundary_pT | pAtm | Boundary condition | |
| Buildings.Fluid.FixedResistances.PressureDrop | duc | Duct resistance (to decouple room and outside pressure) | |
| Buildings.Fluid.Sources.MassFlowSource_WeatherData | freshAir | Outside air supply | |
| Modelica.Blocks.Sources.Constant[3] | qIntGai | Internal heat gains, set to zero because these are modeled in EnergyPlus | |
| Buildings.Fluid.HeatExchangers.Radiators.RadiatorEN442_2 | rad | Radiator | |
| Buildings.Fluid.Sources.Boundary_pT | sin | Pressure source for sink | |
| Buildings.Fluid.Sources.Boundary_pT | sou | Pressure source for sink | |
| Buildings.Fluid.Actuators.Valves.TwoWayEqualPercentage | val | Radiator valve | |
| Buildings.Controls.OBC.Utilities.SetPoints.SupplyReturnTemperatureReset | watRes |
Contents
| Name | Description |
|---|---|
| Medium model for air | |
| Medium model for water |
Revisions
-
March 13, 2024, by Michael Wetter:
Updatedidffile to add insulation, and resized system.
This is for issue 3707. -
February 14, 2024, by Michael Wetter:
First implementation.
This is for Buildings, #3659.