Buildings.Examples.VAVReheat.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.Examples.VAVReheat.

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.Examples.VAVReheat.Validation.Guideline36SteadyState Guideline36SteadyState Validation of detailed model that is at steady state with constant weather data
Buildings.Examples.VAVReheat.Validation.TraceSubstance TraceSubstance This validates the ability to simulate trace substances in the air
Buildings.Examples.VAVReheat.Validation.BaseClasses BaseClasses This package contains base classes for Validation examples

Buildings.Examples.VAVReheat.Validation.Guideline36SteadyState Buildings.Examples.VAVReheat.Validation.Guideline36SteadyState

Validation of detailed model that is at steady state with constant weather data

Buildings.Examples.VAVReheat.Validation.Guideline36SteadyState

Information

This model validates that the detailed model of multiple rooms and an HVAC system starts at and remains at exactly 20°C room air temperature if there is no solar radiation, constant outdoor conditions, no internal gains and no HVAC operation.

Extends from Buildings.Examples.VAVReheat.Guideline36 (Variable air volume flow system with terminal reheat and five thermal zones).

Parameters

TypeNameDefaultDescription
VolumeVRooCorflo.VRooCorRoom volume corridor [m3]
VolumeVRooSouflo.VRooSouRoom volume south [m3]
VolumeVRooNorflo.VRooNorRoom volume north [m3]
VolumeVRooEasflo.VRooEasRoom volume east [m3]
VolumeVRooWesflo.VRooWesRoom volume west [m3]
AreaAFloCorflo.AFloCorFloor area corridor [m2]
AreaAFloSouflo.AFloSouFloor area south [m2]
AreaAFloNorflo.AFloNorFloor area north [m2]
AreaAFloEasflo.AFloEasFloor area east [m2]
AreaAFloWesflo.AFloWesFloor area west [m2]
AreaAFlo[numZon]{flo.AFloCor,flo.AFloSou,flo...Floor area of each zone [m2]
RealACHCor6Design air change per hour core [1/h]
RealACHSou6Design air change per hour south [1/h]
RealACHEas9Design air change per hour east [1/h]
RealACHNor6Design air change per hour north [1/h]
RealACHWes7Design air change per hour west [1/h]
MassFlowRatemCor_flow_nominalACHCor*VRooCor*convDesign mass flow rate core [kg/s]
MassFlowRatemSou_flow_nominalACHSou*VRooSou*convDesign mass flow rate south [kg/s]
MassFlowRatemEas_flow_nominalACHEas*VRooEas*convDesign mass flow rate east [kg/s]
MassFlowRatemNor_flow_nominalACHNor*VRooNor*convDesign mass flow rate north [kg/s]
MassFlowRatemWes_flow_nominalACHWes*VRooWes*convDesign mass flow rate west [kg/s]
MassFlowRatem_flow_nominal0.7*(mCor_flow_nominal + mSo...Nominal mass flow rate [kg/s]
RealratVFloHea0.3VAV box maximum air flow rate ratio in heating mode [1]
Anglelat41.98*3.14159/180Latitude [rad]
RealratOAFlo_A0.3e-3Outdoor airflow rate required per unit area [m3/(s.m2)]
RealratOAFlo_P2.5e-3Outdoor airflow rate required per person
RealratP_A5e-2Occupant density
RealeffZ0.8Zone air distribution effectiveness (limiting value) [1]
RealdivP0.7Occupant diversity ratio [1]
VolumeFlowRateVCorOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVSouOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVEasOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVNorOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVWesOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVou_flow_nominal(divP*ratOAFlo_P*ratP_A + ra...System uncorrected outdoor air flow rate [m3/s]
RealeffVenif divP < 0.6 then 0.88*divP...System ventilation efficiency [1]
VolumeFlowRateVot_flow_nominalVou_flow_nominal/effVenSystem design outdoor air flow rate [m3/s]
TemperatureTHeaOn293.15Heating setpoint during on [K]
TemperatureTHeaOff285.15Heating setpoint during off [K]
TemperatureTCooOn297.15Cooling setpoint during on [K]
TemperatureTCooOff303.15Cooling setpoint during off [K]
PressureDifferencedpBuiStaSet12Building static pressure [Pa]
RealyFanMin0.1Minimum fan speed
TemperatureTHotWatInl_nominal55 + 273.15Reheat coil nominal inlet water temperature [K]
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Booleanuse_windPressurefalseSet to true to enable wind pressure
VolumeFlowRateVPriSysMax_flowm_flow_nominal/1.2Maximum expected system primary airflow rate at design stage [m3/s]
VolumeFlowRateminZonPriFlo[numZon]{conVAVCor.VDisSetMin_flow,c...Minimum expected zone primary flow rate [m3/s]
TimesamplePeriod120Sample period of component, set to the same value as the trim and respond that process yPreSetReq [s]
PressureDifferencedpDisRetMax40Maximum return fan discharge static pressure setpoint [Pa]
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

Connectors

TypeNameDescription
BusweaBusWeather Data Bus

Modelica definition

model Guideline36SteadyState "Validation of detailed model that is at steady state with constant weather data" extends Buildings.Examples.VAVReheat.Guideline36( redeclare replaceable Buildings.Examples.VAVReheat.BaseClasses.Floor flo( final lat=lat, final sampleModel=sampleModel, gai(K=0*[0.4; 0.4; 0.2])), weaDat( pAtmSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, ceiHeiSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, totSkyCovSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, opaSkyCovSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, TDryBulSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, TDewPoiSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, TBlaSkySou=Buildings.BoundaryConditions.Types.DataSource.Parameter, TBlaSky=293.15, relHumSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, winSpeSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, winDirSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, HInfHorSou=Buildings.BoundaryConditions.Types.DataSource.Parameter, HSou=Buildings.BoundaryConditions.Types.RadiationDataSource.Input_HGloHor_HDifHor), use_windPressure=false, sampleModel=false, occSch( occupancy=3600*24*365*{1,2}, period=2*3600*24*365)); Buildings.Controls.OBC.CDL.Continuous.Sources.Constant solRad(k=0) "Solar radiation"; equation connect(weaDat.HDifHor_in, solRad.y); connect(weaDat.HGloHor_in, solRad.y); end Guideline36SteadyState;

Buildings.Examples.VAVReheat.Validation.TraceSubstance Buildings.Examples.VAVReheat.Validation.TraceSubstance

This validates the ability to simulate trace substances in the air

Buildings.Examples.VAVReheat.Validation.TraceSubstance

Information

This model validates that the detailed model of multiple rooms and an HVAC system with a trace substance simulates properly. CO2 is used as the trace substance. A concentration of 400ppm is assumed for the ambient air. For assumptions about zone CO2 sources, see the model Buildings.Examples.VAVReheat.Validation.BaseClasses.Floor.

Extends from ASHRAE2006 (Variable air volume flow system with terminal reheat and five thermal zones).

Parameters

TypeNameDefaultDescription
VolumeVRooCorflo.VRooCorRoom volume corridor [m3]
VolumeVRooSouflo.VRooSouRoom volume south [m3]
VolumeVRooNorflo.VRooNorRoom volume north [m3]
VolumeVRooEasflo.VRooEasRoom volume east [m3]
VolumeVRooWesflo.VRooWesRoom volume west [m3]
AreaAFloCorflo.AFloCorFloor area corridor [m2]
AreaAFloSouflo.AFloSouFloor area south [m2]
AreaAFloNorflo.AFloNorFloor area north [m2]
AreaAFloEasflo.AFloEasFloor area east [m2]
AreaAFloWesflo.AFloWesFloor area west [m2]
AreaAFlo[numZon]{flo.AFloCor,flo.AFloSou,flo...Floor area of each zone [m2]
RealACHCor6Design air change per hour core [1/h]
RealACHSou6Design air change per hour south [1/h]
RealACHEas9Design air change per hour east [1/h]
RealACHNor6Design air change per hour north [1/h]
RealACHWes7Design air change per hour west [1/h]
MassFlowRatemCor_flow_nominalACHCor*VRooCor*convDesign mass flow rate core [kg/s]
MassFlowRatemSou_flow_nominalACHSou*VRooSou*convDesign mass flow rate south [kg/s]
MassFlowRatemEas_flow_nominalACHEas*VRooEas*convDesign mass flow rate east [kg/s]
MassFlowRatemNor_flow_nominalACHNor*VRooNor*convDesign mass flow rate north [kg/s]
MassFlowRatemWes_flow_nominalACHWes*VRooWes*convDesign mass flow rate west [kg/s]
MassFlowRatem_flow_nominal0.7*(mCor_flow_nominal + mSo...Nominal mass flow rate [kg/s]
RealratVFloHea0.3VAV box maximum air flow rate ratio in heating mode [1]
Anglelat41.98*3.14159/180Latitude [rad]
RealratOAFlo_A0.3e-3Outdoor airflow rate required per unit area [m3/(s.m2)]
RealratOAFlo_P2.5e-3Outdoor airflow rate required per person
RealratP_A5e-2Occupant density
RealeffZ0.8Zone air distribution effectiveness (limiting value) [1]
RealdivP0.7Occupant diversity ratio [1]
VolumeFlowRateVCorOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVSouOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVEasOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVNorOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVWesOA_flow_nominal(ratOAFlo_P*ratP_A + ratOAFl...Zone outdoor air flow rate [m3/s]
VolumeFlowRateVou_flow_nominal(divP*ratOAFlo_P*ratP_A + ra...System uncorrected outdoor air flow rate [m3/s]
RealeffVenif divP < 0.6 then 0.88*divP...System ventilation efficiency [1]
VolumeFlowRateVot_flow_nominalVou_flow_nominal/effVenSystem design outdoor air flow rate [m3/s]
TemperatureTHeaOn293.15Heating setpoint during on [K]
TemperatureTHeaOff285.15Heating setpoint during off [K]
TemperatureTCooOn297.15Cooling setpoint during on [K]
TemperatureTCooOff303.15Cooling setpoint during off [K]
PressureDifferencedpBuiStaSet12Building static pressure [Pa]
RealyFanMin0.1Minimum fan speed
TemperatureTHotWatInl_nominal55 + 273.15Reheat coil nominal inlet water temperature [K]
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Booleanuse_windPressuretrueSet to true to enable wind pressure
RealratVMinCor_flowmax(1.5*VCorOA_flow_nominal,...Minimum discharge air flow rate ratio [1]
RealratVMinSou_flowmax(1.5*VSouOA_flow_nominal,...Minimum discharge air flow rate ratio [1]
RealratVMinEas_flowmax(1.5*VEasOA_flow_nominal,...Minimum discharge air flow rate ratio [1]
RealratVMinNor_flowmax(1.5*VNorOA_flow_nominal,...Minimum discharge air flow rate ratio [1]
RealratVMinWes_flowmax(1.5*VWesOA_flow_nominal,...Minimum discharge air flow rate ratio [1]
Experimental (may be changed in future releases)
BooleansampleModeltrueSet to true to time-sample the model, which can give shorter simulation time if there is already time sampling in the system model

Connectors

TypeNameDescription
BusweaBusWeather Data Bus
ControlBuscontrolBus 

Modelica definition

model TraceSubstance "This validates the ability to simulate trace substances in the air" extends ASHRAE2006( MediumA(extraPropertiesNames={"CO2"}), redeclare BaseClasses.Floor flo( final lat=lat, final sampleModel=sampleModel), amb(nPorts=3, C=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, MediumA.nC))); end TraceSubstance;