modelSimpleRoomODE
Validation of the model SimpleRoomODE
Extends from Modelica.Icons.Example.
Information
This example validates Buildings.DHC.Loads.BaseClasses.SimpleRoomODE by comparison with Buildings.ThermalZones.ReducedOrder.RC.TwoElements.
A first instance of the reduced order model is used to assess the heating and cooling loads. A second instance is used to assess the indoor air temperature variation when the rate at which heating or cooling is provided is lower than the load. That second instance is used as a reference for the validation.
Eventually the validation is performed with two sets of ambient conditions, one requiring heating, and the second requiring cooling.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | tau | 1800 | Time constant of the indoor temperature |
| Nominal condition | |||
| Modelica.Units.SI.HeatFlowRate | QHea_flow_nominal | 112000 | Design heating heat flow rate (for TInd=TIndHea_nominal, TOut=TOutHea_nominal, with no internal gains, no solar radiation) |
| Modelica.Units.SI.HeatFlowRate | QCoo_flow_nominal | -200000 | Design cooling heat flow rate |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.DHC.Loads.BaseClasses.Examples.BaseClasses.GeojsonExportRC.OfficeBuilding.Office | romHeaMet | ROM where the heating load is always met | |
| BoundaryConditions.WeatherData.ReaderTMY3 | weaDat | Weather data reader | |
| Buildings.Controls.Continuous.LimPID | conHea | ||
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | minTSet | Minimum temperature set point | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | gai | Scaling | |
| HeatTransfer.Sources.PrescribedHeatFlow | prescribedHeatFlow | Prescribed heat flow rate | |
| Buildings.DHC.Loads.BaseClasses.Examples.BaseClasses.GeojsonExportRC.OfficeBuilding.Office | romHeaUnm | ROM where the heating load is not met | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | gai1 | Scaling | |
| HeatTransfer.Sources.PrescribedHeatFlow | prescribedHeatFlow1 | Prescribed heat flow rate | |
| Buildings.DHC.Loads.BaseClasses.SimpleRoomODE | rooOdeHea | ODE heated room model | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | maxTSet | Maximum temperature set point | |
| Buildings.Controls.Continuous.LimPID | conCoo | PI controller tracking the room maximum temperature | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | gai2 | Scaling | |
| Buildings.DHC.Loads.BaseClasses.SimpleRoomODE | rooOdeCoo | ODE cooled room model | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | gai3 | Scaling | |
| BoundaryConditions.WeatherData.ReaderTMY3 | weaDat1 | Weather data reader | |
| Buildings.DHC.Loads.BaseClasses.Examples.BaseClasses.GeojsonExportRC.OfficeBuilding.Office | romCooMet | ROM where the cooling load is always met | |
| Buildings.DHC.Loads.BaseClasses.Examples.BaseClasses.GeojsonExportRC.OfficeBuilding.Office | romCooUnm | ROM where the cooling load is not met | |
| HeatTransfer.Sources.PrescribedHeatFlow | prescribedHeatFlow2 | Prescribed heat flow rate | |
| HeatTransfer.Sources.PrescribedHeatFlow | prescribedHeatFlow3 | Prescribed heat flow rate |
Contents
| Name | Description |
|---|---|
| Medium1 | Source side medium |
| Medium2 | Load side medium |
Revisions
-
January 26, 2023, by Michael Wetter:
Updated parameter names. -
February 21, 2020, by Antoine Gautier:
First implementation.