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 |
---|---|
RoomCapacityMultiplier | Validation model for room capacity multiplier |
BESTEST | Package with models for the BESTEST validation |
Initialization | Package with models that validate the initialization |
LBNL_71T | Validation models for LBNL 71T |
TestConditionalConstructions | Package with models that verify whether constructions can be conditionally removed |
Buildings.ThermalZones.Detailed.Validation.RoomCapacityMultiplier
Validation model for room capacity multiplier
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
Room model
Parameters
Type | Name | Default | Description |
---|---|---|---|
ParameterConstruction | datConExt[NConExt] | datConExt(each T_a_start=T_s... | Data for exterior construction |
ParameterConstructionWithWindow | datConExtWin[NConExtWin] | datConExtWin(each T_a_start=... | Data for exterior construction with window |
ParameterConstruction | datConPar[NConPar] | datConPar(each T_a_start=T_s... | Data for partition construction |
ParameterConstruction | datConBou[NConBou] | datConBou(each T_a_start=T_s... | Data for construction boundary |
Brick120 | dummyCon | Dummy construction to assign a parameter to the instance | |
SingleClear3 | dummyGlaSys | Dummy construction to assign a parameter to the instance | |
replaceable package Medium | PartialMedium | Medium in the component | |
Angle | lat | 0.73268921998722 | Latitude [rad] |
Area | AFlo | 6*4 | Floor area [m2] |
Length | hRoo | 2.7 | Average room height [m] |
Boolean | linearizeRadiation | true | Set to true to linearize emissive power |
Exterior constructions | |||
Integer | nConExt | 0 | Number of exterior constructions |
Integer | nConExtWin | 0 | Number of window constructions |
Partition constructions | |||
Integer | nConPar | 0 | Number of partition constructions |
Boundary constructions | |||
Integer | nConBou | 0 | Number of constructions that have their outside surface exposed to the boundary of this room |
Integer | nSurBou | 1 | Number of surface heat transfer models that connect to constructions that are modeled outside of this room |
Convective heat transfer | |||
InteriorConvection | intConMod | Buildings.HeatTransfer.Types... | Convective heat transfer model for room-facing surfaces of opaque constructions |
CoefficientOfHeatTransfer | hIntFixed | 3.0 | Constant convection coefficient for room-facing surfaces of opaque constructions [W/(m2.K)] |
ExteriorConvection | extConMod | Buildings.HeatTransfer.Types... | Convective heat transfer model for exterior facing surfaces of opaque constructions |
CoefficientOfHeatTransfer | hExtFixed | 10.0 | Constant convection coefficient for exterior facing surfaces of opaque constructions [W/(m2.K)] |
Nominal condition | |||
MassFlowRate | m_flow_nominal | V*1.2/3600 | Nominal mass flow rate [kg/s] |
Ports | |||
Boolean | use_C_flow | false | Set to true to enable input connector for trace substance that is connected to room air |
Dynamics | |||
Glazing system | |||
Boolean | steadyStateWindow | false | Set to false to add thermal capacity at window, which generally leads to faster simulation |
Zone air | |||
Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance for zone air: dynamic (3 initialization options) or steady state |
Dynamics | massDynamics | energyDynamics | Type of mass balance for zone air: dynamic (3 initialization options) or steady state |
Real | mSenFac | 1 | Factor for scaling the sensible thermal mass of the zone air volume |
Advanced | |||
Boolean | homotopyInitialization | true | = true, use homotopy method |
Experimental (may be changed in future releases) | |||
Boolean | sampleModel | false | Set to true to time-sample the model, which can give shorter simulation time if there is already time sampling in the system model |
Initialization | |||
AbsolutePressure | p_start | Medium.p_default | Start value of zone air pressure [Pa] |
Temperature | T_start | 293.15 | Start value of zone air temperature [K] |
MassFraction | X_start[Medium.nX] | Medium.X_default | Start value of zone air mass fractions m_i/m [kg/kg] |
ExtraProperty | C_start[Medium.nC] | fill(0, Medium.nC) | Start value of zone air trace substances |
ExtraProperty | C_nominal[Medium.nC] | fill(1E-2, Medium.nC) | Nominal value of zone air trace substances. (Set to typical order of magnitude.) |
Connectors
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium in the component | |
VesselFluidPorts_b | ports[nPorts] | Fluid inlets and outlets |
HeatPort_a | heaPorAir | Heat port to air volume |
HeatPort_a | heaPorRad | Heat port for radiative heat gain and radiative temperature |
input RealInput | uWin[nConExtWin] | Control signal for window state (used for electrochromic windows, removed otherwise) [1] |
HeatPort_a | surf_conBou[nConBou] | Heat port at surface b of construction conBou |
HeatPort_a | surf_surBou[nSurBou] | Heat port of surface that is connected to the room air |
input RealInput | qGai_flow[3] | Radiant, convective and latent heat input into room (positive if heat gain) [W/m2] |
Bus | weaBus | Weather data |
input RealInput | uSha[nConExtWin] | Control signal for the shading device (removed if no shade is present) |
input RealInput | C_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";