Buildings.ThermalZones.Detailed.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.ThermalZones.Detailed.

Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.ThermalZones.Detailed.Validation.RoomCapacityMultiplier RoomCapacityMultiplier Validation model for room capacity multiplier
Buildings.ThermalZones.Detailed.Validation.BESTEST BESTEST Package with models for the BESTEST validation
Buildings.ThermalZones.Detailed.Validation.Initialization Initialization Package with models that validate the initialization
Buildings.ThermalZones.Detailed.Validation.LBNL_71T LBNL_71T Validation models for LBNL 71T
Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions TestConditionalConstructions Package with models that verify whether constructions can be conditionally removed

Buildings.ThermalZones.Detailed.Validation.RoomCapacityMultiplier Buildings.ThermalZones.Detailed.Validation.RoomCapacityMultiplier

Validation model for room capacity multiplier

Buildings.ThermalZones.Detailed.Validation.RoomCapacityMultiplier

Information

This model validates the room capacity multipler of Buildings.ThermalZones.Detailed.MixedAir. The rooms are adiabatic, but have different heat capacities. A small amount of heat is added to test the different time response.

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

Modelica definition

model RoomCapacityMultiplier "Validation model for room capacity multiplier" extends Modelica.Icons.Example; package MediumA = Buildings.Media.Air "Medium model"; model Room = Buildings.ThermalZones.Detailed.MixedAir ( redeclare package Medium = MediumA, AFlo=6*4, hRoo=2.7, nConExt=0, nConExtWin=0, nConPar=0, nConBou=0, nSurBou=1, surBou(each A=6*2.7, each absIR=0.9, each absSol=0.9, each til=Buildings.Types.Tilt.Wall), energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial, mSenFac=1, T_start=293.15, lat=0.73268921998722) "Room model"; Room roo1 "Room model"; Room roo2(mSenFac=2) "Room model"; Modelica.Blocks.Sources.Constant qConGai_flow(k=1) "Convective heat gain"; Modelica.Blocks.Sources.Constant qRadGai_flow(k=0) "Radiative heat gain"; Modelica.Blocks.Routing.Multiplex3 multiplex3_1 "Multiplex for internal gain"; Modelica.Blocks.Sources.Constant qLatGai_flow(k=0) "Latent heat gain"; Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat( filNam=Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"), computeWetBulbTemperature=false); equation connect(qRadGai_flow.y, multiplex3_1.u1[1]); connect(qConGai_flow.y, multiplex3_1.u2[1]); connect(qLatGai_flow.y, multiplex3_1.u3[1]); connect(weaDat.weaBus, roo1.weaBus); connect(roo2.qGai_flow, multiplex3_1.y); connect(roo1.qGai_flow, multiplex3_1.y); connect(roo2.weaBus, weaDat.weaBus); end RoomCapacityMultiplier;

Buildings.ThermalZones.Detailed.Validation.RoomCapacityMultiplier.Room Buildings.ThermalZones.Detailed.Validation.RoomCapacityMultiplier.Room

Room model

Buildings.ThermalZones.Detailed.Validation.RoomCapacityMultiplier.Room

Parameters

TypeNameDefaultDescription
ParameterConstructiondatConExt[NConExt]datConExt(each T_a_start=T_s...Data for exterior construction
ParameterConstructionWithWindowdatConExtWin[NConExtWin]datConExtWin(each T_a_start=...Data for exterior construction with window
ParameterConstructiondatConPar[NConPar]datConPar(each T_a_start=T_s...Data for partition construction
ParameterConstructiondatConBou[NConBou]datConBou(each T_a_start=T_s...Data for construction boundary
Brick120dummyCon Dummy construction to assign a parameter to the instance
SingleClear3dummyGlaSys Dummy construction to assign a parameter to the instance
replaceable package MediumPartialMediumMedium in the component
Anglelat0.73268921998722Latitude [rad]
AreaAFlo6*4Floor area [m2]
LengthhRoo2.7Average room height [m]
BooleanlinearizeRadiationtrueSet to true to linearize emissive power
Exterior constructions
IntegernConExt0Number of exterior constructions
IntegernConExtWin0Number of window constructions
Partition constructions
IntegernConPar0Number of partition constructions
Boundary constructions
IntegernConBou0Number of constructions that have their outside surface exposed to the boundary of this room
IntegernSurBou1Number of surface heat transfer models that connect to constructions that are modeled outside of this room
Convective heat transfer
InteriorConvectionintConModBuildings.HeatTransfer.Types...Convective heat transfer model for room-facing surfaces of opaque constructions
CoefficientOfHeatTransferhIntFixed3.0Constant convection coefficient for room-facing surfaces of opaque constructions [W/(m2.K)]
ExteriorConvectionextConModBuildings.HeatTransfer.Types...Convective heat transfer model for exterior facing surfaces of opaque constructions
CoefficientOfHeatTransferhExtFixed10.0Constant convection coefficient for exterior facing surfaces of opaque constructions [W/(m2.K)]
Nominal condition
MassFlowRatem_flow_nominalV*1.2/3600Nominal mass flow rate [kg/s]
Ports
Booleanuse_C_flowfalseSet to true to enable input connector for trace substance that is connected to room air
Dynamics
Glazing system
BooleansteadyStateWindowfalseSet to false to add thermal capacity at window, which generally leads to faster simulation
Zone air
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy balance for zone air: dynamic (3 initialization options) or steady state
DynamicsmassDynamicsenergyDynamicsType of mass balance for zone air: dynamic (3 initialization options) or steady state
RealmSenFac1Factor for scaling the sensible thermal mass of the zone air volume
Advanced
BooleanhomotopyInitializationtrue= true, use homotopy method
Experimental (may be changed in future releases)
BooleansampleModelfalseSet to true to time-sample the model, which can give shorter simulation time if there is already time sampling in the system model
Initialization
AbsolutePressurep_startMedium.p_defaultStart value of zone air pressure [Pa]
TemperatureT_start293.15Start value of zone air temperature [K]
MassFractionX_start[Medium.nX]Medium.X_defaultStart value of zone air mass fractions m_i/m [kg/kg]
ExtraPropertyC_start[Medium.nC]fill(0, Medium.nC)Start value of zone air trace substances
ExtraPropertyC_nominal[Medium.nC]fill(1E-2, Medium.nC)Nominal value of zone air trace substances. (Set to typical order of magnitude.)

Connectors

TypeNameDescription
replaceable package MediumMedium in the component
VesselFluidPorts_bports[nPorts]Fluid inlets and outlets
HeatPort_aheaPorAirHeat port to air volume
HeatPort_aheaPorRadHeat port for radiative heat gain and radiative temperature
input RealInputuWin[nConExtWin]Control signal for window state (used for electrochromic windows, removed otherwise) [1]
HeatPort_asurf_conBou[nConBou]Heat port at surface b of construction conBou
HeatPort_asurf_surBou[nSurBou]Heat port of surface that is connected to the room air
input RealInputqGai_flow[3]Radiant, convective and latent heat input into room (positive if heat gain) [W/m2]
BusweaBusWeather data
input RealInputuSha[nConExtWin]Control signal for the shading device (removed if no shade is present)
input RealInputC_flow[Medium.nC]Trace substance mass flow rate added to the room air. Enable if use_C_flow = true

Modelica definition

model Room = Buildings.ThermalZones.Detailed.MixedAir ( redeclare package Medium = MediumA, AFlo=6*4, hRoo=2.7, nConExt=0, nConExtWin=0, nConPar=0, nConBou=0, nSurBou=1, surBou(each A=6*2.7, each absIR=0.9, each absSol=0.9, each til=Buildings.Types.Tilt.Wall), energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial, mSenFac=1, T_start=293.15, lat=0.73268921998722) "Room model";