Buildings.Templates.ZoneEquipment.Validation

Package with validation models

Information

This package contains models validating the templates within Buildings.Templates.ZoneEquipment for various system configurations.

Each system configuration is specified by extending the original template class to create a so-called configuration class (under Buildings.Templates.ZoneEquipment.Validation.UserProject.ZoneEquipment), that is instantiated in the validation model.

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

Package Content

Name Description
Buildings.Templates.ZoneEquipment.Validation.VAVBoxCoolingOnly VAVBoxCoolingOnly Validation model for VAV terminal unit cooling only
Buildings.Templates.ZoneEquipment.Validation.VAVBoxCoolingOnlyControlG36 VAVBoxCoolingOnlyControlG36 Validation model for VAV terminal unit cooling only
Buildings.Templates.ZoneEquipment.Validation.VAVBoxReheatControlG36 VAVBoxReheatControlG36 Validation model for VAV terminal unit with reheat
Buildings.Templates.ZoneEquipment.Validation.UserProject UserProject Package with configured models

Buildings.Templates.ZoneEquipment.Validation.VAVBoxCoolingOnly Buildings.Templates.ZoneEquipment.Validation.VAVBoxCoolingOnly

Validation model for VAV terminal unit cooling only

Buildings.Templates.ZoneEquipment.Validation.VAVBoxCoolingOnly

Information

This is a validation model for the configuration represented by Buildings.Templates.ZoneEquipment.Validation.UserProject.ZoneEquipment.VAVBoxCoolingOnly. It is intended to check whether the template model is well-defined for this particular system configuration. However, due to the open-loop controls a correct physical behavior is not expected and the plotted variables are for non-regression testing only.

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

Parameters

TypeNameDefaultDescription
replaceable package MediumAirBuildings.Media.AirAir medium
replaceable package MediumHeaWatBuildings.Media.WaterHeating medium (such as HHW)
AllSystemsdatAlldatAll(sysUni=Buildings.Temp...System parameters
VAVBoxCoolingOnlyVAVBox_1VAVBox_1(final dat=datAll.da...Terminal unit

Connectors

TypeNameDescription
replaceable package MediumAirAir medium
replaceable package MediumHeaWatHeating medium (such as HHW)

Modelica definition

model VAVBoxCoolingOnly "Validation model for VAV terminal unit cooling only" extends Modelica.Icons.Example; replaceable package MediumAir=Buildings.Media.Air constrainedby Modelica.Media.Interfaces.PartialMedium "Air medium"; replaceable package MediumHeaWat=Buildings.Media.Water constrainedby Modelica.Media.Interfaces.PartialMedium "Heating medium (such as HHW)"; inner parameter UserProject.Data.AllSystems datAll( sysUni=Buildings.Templates.Types.Units.SI, ashCliZon=Buildings.Controls.OBC.ASHRAE.G36.Types.ASHRAEClimateZone.Zone_3B, redeclare replaceable model VAVBox = UserProject.ZoneEquipment.VAVBoxCoolingOnly) "System parameters"; Fluid.Sources.Boundary_pT bouPri( redeclare final package Medium = MediumAir, p=MediumAir.p_default + 200, nPorts=1) "Boundary conditions for primary air distribution system"; Fluid.FixedResistances.PressureDrop res( redeclare final package Medium = MediumAir, m_flow_nominal=1, dp_nominal=100); Fluid.FixedResistances.PressureDrop res1( redeclare final package Medium = MediumAir, m_flow_nominal=1, dp_nominal=100); Fluid.Sources.Boundary_pT bouBui( redeclare final package Medium = MediumAir, nPorts=1) "Boundary conditions for indoor environment"; inner replaceable UserProject.ZoneEquipment.VAVBoxCoolingOnly VAVBox_1( final dat=datAll.dat_VAVBox_1, redeclare final package MediumAir = MediumAir, redeclare final package MediumHeaWat = MediumHeaWat) "Terminal unit"; Fluid.Sources.Boundary_pT bouHeaWat( redeclare final package Medium = MediumHeaWat, nPorts=2) if VAVBox_1.have_souHeaWat "Boundary conditions for HHW distribution system"; UserProject.AirHandlersFans.VAVMZControlPoints sigAirHan if VAVBox_1.ctl.typ == Buildings.Templates.ZoneEquipment.Types.Controller.G36VAVBoxCoolingOnly or VAVBox_1.ctl.typ == Buildings.Templates.ZoneEquipment.Types.Controller.G36VAVBoxReheat "Control signals from AHU"; UserProject.ZoneControlPoints sigZon if VAVBox_1.ctl.typ == Buildings.Templates.ZoneEquipment.Types.Controller.G36VAVBoxCoolingOnly or VAVBox_1.ctl.typ == Buildings.Templates.ZoneEquipment.Types.Controller.G36VAVBoxReheat "Control signals from zone-level equipment"; UserProject.PlantControlPoints sigPla if VAVBox_1.ctl.typ == Buildings.Templates.ZoneEquipment.Types.Controller.G36VAVBoxCoolingOnly or VAVBox_1.ctl.typ == Buildings.Templates.ZoneEquipment.Types.Controller.G36VAVBoxReheat "Control signals from AHU"; UserProject.BASControlPoints sigBAS "BAS control points"; equation connect(bouPri.ports[1], res.port_a); connect(bouBui.ports[1], res1.port_b); connect(res.port_b, VAVBox_1.port_Sup); connect(VAVBox_1.port_Dis, res1.port_a); connect(VAVBox_1.port_aHeaWat, bouHeaWat.ports[1]); connect(VAVBox_1.port_bHeaWat, bouHeaWat.ports[2]); connect(sigZon.bus, VAVBox_1.bus); connect(sigAirHan.busTer[1], VAVBox_1.bus); connect(sigPla.busTer[1], VAVBox_1.bus); connect(sigBAS.busTer[1], VAVBox_1.bus); end VAVBoxCoolingOnly;

Buildings.Templates.ZoneEquipment.Validation.VAVBoxCoolingOnlyControlG36 Buildings.Templates.ZoneEquipment.Validation.VAVBoxCoolingOnlyControlG36

Validation model for VAV terminal unit cooling only

Buildings.Templates.ZoneEquipment.Validation.VAVBoxCoolingOnlyControlG36

Information

This is a validation model for the configuration represented by Buildings.Templates.ZoneEquipment.Validation.UserProject.ZoneEquipment.VAVBoxCoolingOnlyControlG36. It is intended to check whether the template model is well-defined for this particular system configuration.

Extends from VAVBoxCoolingOnly (Validation model for VAV terminal unit cooling only).

Parameters

TypeNameDefaultDescription
replaceable package MediumAirAirAir medium
replaceable package MediumHeaWatWaterHeating medium (such as HHW)

Modelica definition

model VAVBoxCoolingOnlyControlG36 "Validation model for VAV terminal unit cooling only" extends VAVBoxCoolingOnly( datAll( redeclare model VAVBox = UserProject.ZoneEquipment.VAVBoxCoolingOnlyControlG36), redeclare UserProject.ZoneEquipment.VAVBoxCoolingOnlyControlG36 VAVBox_1); end VAVBoxCoolingOnlyControlG36;

Buildings.Templates.ZoneEquipment.Validation.VAVBoxReheatControlG36 Buildings.Templates.ZoneEquipment.Validation.VAVBoxReheatControlG36

Validation model for VAV terminal unit with reheat

Buildings.Templates.ZoneEquipment.Validation.VAVBoxReheatControlG36

Information

This is a validation model for the configuration represented by Buildings.Templates.ZoneEquipment.Validation.UserProject.ZoneEquipment.VAVBoxReheatControlG36. It is intended to check whether the template model is well-defined for this particular system configuration.

Extends from VAVBoxCoolingOnly (Validation model for VAV terminal unit cooling only).

Parameters

TypeNameDefaultDescription
replaceable package MediumAirAirAir medium
replaceable package MediumHeaWatWaterHeating medium (such as HHW)

Modelica definition

model VAVBoxReheatControlG36 "Validation model for VAV terminal unit with reheat" extends VAVBoxCoolingOnly( datAll( redeclare model VAVBox = UserProject.ZoneEquipment.VAVBoxReheatControlG36), redeclare UserProject.ZoneEquipment.VAVBoxReheatControlG36 VAVBox_1); end VAVBoxReheatControlG36;