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 |
VAVBoxCoolingOnly
|
Validation model for VAV terminal unit cooling only |
VAVBoxReheat
|
Validation model for VAV terminal unit with reheat |
UserProject
|
Package with configured models |
Validation model for VAV terminal unit cooling only
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
Type | Name | Default | Description |
replaceable package MediumAir | Buildings.Media.Air | Air medium |
replaceable package MediumHeaWat | Buildings.Media.Water | Heating medium (such as HHW) |
AllSystems | datAll | datAll(final VAVBox_1(cfg=VA... | System parameters |
VAVBoxCoolingOnly | VAVBox_1 | VAVBox_1(final dat=datAll.VA... | Terminal unit |
Connectors
Type | Name | Description |
replaceable package MediumAir | Air medium |
replaceable package MediumHeaWat | Heating medium (such as HHW) |
Modelica definition
model VAVBoxCoolingOnly
extends Modelica.Icons.Example;
replaceable package MediumAir=
Buildings.Media.Air
constrainedby Modelica.Media.Interfaces.PartialMedium
;
replaceable package MediumHeaWat=
Buildings.Media.Water
constrainedby Modelica.Media.Interfaces.PartialMedium
;
inner parameter UserProject.Data.AllSystems datAll(
final VAVBox_1(cfg=VAVBox_1.cfg))
;
Fluid.Sources.Boundary_pT bouPri(
redeclare final package Medium =
MediumAir,
p=MediumAir.p_default + 200,
nPorts=1) ;
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) ;
replaceable Buildings.Templates.ZoneEquipment.VAVBoxCoolingOnly VAVBox_1(
final dat=datAll.VAVBox_1,
redeclare final package MediumAir =
MediumAir,
redeclare final package MediumHeaWat =
MediumHeaWat)
;
Fluid.Sources.Boundary_pT bouHeaWat(
redeclare final package Medium =
MediumHeaWat,
nPorts=2)
if VAVBox_1.have_souHeaWat
;
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
;
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
;
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
;
UserProject.BASControlPoints sigBAS
;
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;
Validation model for VAV terminal unit with reheat
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
Type | Name | Default | Description |
replaceable package MediumAir | Air | Air medium |
replaceable package MediumHeaWat | Water | Heating medium (such as HHW) |
AllSystems | datAll | | System parameters |
Modelica definition