Buildings.Templates.ZoneEquipment.Validation

Package with validation models

Information

This package contains models validating the templates within Buildings.Templates.ZoneEquipment.

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.VAVBoxReheat VAVBoxReheat 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 template Buildings.Templates.ZoneEquipment.VAVBoxCoolingOnly.

All supported system configurations can be generated by the Python script Buildings/Resources/Scripts/travis/templates/VAVBox.py.

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(final VAVBox_1(cfg=VA...System parameters
VAVBoxCoolingOnlyVAVBox_1VAVBox_1(final dat=datAll.VA...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( final VAVBox_1(cfg=VAVBox_1.cfg)) "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"; replaceable Buildings.Templates.ZoneEquipment.VAVBoxCoolingOnly VAVBox_1( final dat=datAll.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.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.VAVBoxReheat Buildings.Templates.ZoneEquipment.Validation.VAVBoxReheat

Validation model for VAV terminal unit with reheat

Buildings.Templates.ZoneEquipment.Validation.VAVBoxReheat

Information

This is a validation model for the template Buildings.Templates.ZoneEquipment.VAVBoxReheat.

All supported system configurations can be generated by the Python script Buildings/Resources/Scripts/travis/templates/VAVBox.py.

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

Parameters

TypeNameDefaultDescription
replaceable package MediumAirAirAir medium
replaceable package MediumHeaWatWaterHeating medium (such as HHW)
AllSystemsdatAll System parameters

Modelica definition

model VAVBoxReheat "Validation model for VAV terminal unit with reheat" extends VAVBoxCoolingOnly( redeclare Buildings.Templates.ZoneEquipment.VAVBoxReheat VAVBox_1); end VAVBoxReheat;