modelSimpleRoomODE

Validation of the model SimpleRoomODE

Extends from Modelica.Icons.Example (Icon for runnable examples).

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

TypeNameDefaultDescription
Modelica.Units.SI.Timetau1800Time constant of the indoor temperature
Nominal condition
Modelica.Units.SI.HeatFlowRateQHea_flow_nominal112000Design heating heat flow rate (for TInd=TIndHea_nominal, TOut=TOutHea_nominal, with no internal gains, no solar radiation)
Modelica.Units.SI.HeatFlowRateQCoo_flow_nominal-200000Design cooling heat flow rate

Components

TypeNameDefaultDescription
Buildings.DHC.Loads.BaseClasses.Examples.BaseClasses.GeojsonExportRC.OfficeBuilding.OfficeromHeaMetROM where the heating load is always met
BoundaryConditions.WeatherData.ReaderTMY3weaDatWeather data reader
Buildings.Controls.Continuous.LimPIDconHea
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantminTSetMinimum temperature set point
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergaiScaling
HeatTransfer.Sources.PrescribedHeatFlowprescribedHeatFlowPrescribed heat flow rate
Buildings.DHC.Loads.BaseClasses.Examples.BaseClasses.GeojsonExportRC.OfficeBuilding.OfficeromHeaUnmROM where the heating load is not met
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergai1Scaling
HeatTransfer.Sources.PrescribedHeatFlowprescribedHeatFlow1Prescribed heat flow rate
Buildings.DHC.Loads.BaseClasses.SimpleRoomODErooOdeHeaODE heated room model
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantmaxTSetMaximum temperature set point
Buildings.Controls.Continuous.LimPIDconCooPI controller tracking the room maximum temperature
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergai2Scaling
Buildings.DHC.Loads.BaseClasses.SimpleRoomODErooOdeCooODE cooled room model
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergai3Scaling
BoundaryConditions.WeatherData.ReaderTMY3weaDat1Weather data reader
Buildings.DHC.Loads.BaseClasses.Examples.BaseClasses.GeojsonExportRC.OfficeBuilding.OfficeromCooMetROM where the cooling load is always met
Buildings.DHC.Loads.BaseClasses.Examples.BaseClasses.GeojsonExportRC.OfficeBuilding.OfficeromCooUnmROM where the cooling load is not met
HeatTransfer.Sources.PrescribedHeatFlowprescribedHeatFlow2Prescribed heat flow rate
HeatTransfer.Sources.PrescribedHeatFlowprescribedHeatFlow3Prescribed heat flow rate

Contents

NameDescription
Medium1Source side medium
Medium2Load side medium

Revisions

  • January 26, 2023, by Michael Wetter:
    Updated parameter names.
  • February 21, 2020, by Antoine Gautier:
    First implementation.