Buildings.Obsolete.Examples.VAVReheat.Validation
Package with validation models
Information
This package contains validation models.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
VAVBranch | Validation for the VAVBranch class |
Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch
Validation for the VAVBranch class
Information
This model validates the obsolete model Buildings.Obsolete.Examples.VAVReheat.BaseClasses.VAVBranch.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
model VAVBranch "Validation for the VAVBranch class"
extends Modelica.Icons.Example;
package MediumA = Buildings.Media.Air "Medium model for air";
package MediumW = Buildings.Media.Water "Medium model for water";
Buildings.Obsolete.Examples.VAVReheat.BaseClasses.VAVBranch vavBra(
redeclare package MediumA = MediumA,
redeclare package MediumW = MediumW,
terHea(show_T=true),
m_flow_nominal=45,
VRoo=275);
Buildings.Fluid.Sources.Boundary_ph sinAir(
redeclare package Medium = MediumA,
p(displayUnit="Pa") = 1E5,
nPorts=1) "Sink for terminal reheat box outlet air";
Modelica.Blocks.Sources.Ramp TSupAir(
y(final unit="K", displayUnit="degC"),
height=5,
duration(displayUnit="h") = 3600,
offset=285,
startTime(displayUnit="h") = 3600) "Supply Air Temperature";
Modelica.Blocks.Sources.Ramp heaSig(
height=1,
duration(displayUnit="h") = 3600,
offset=0,
startTime(displayUnit="h") = 10800) "Signal to reheat coil valve";
Modelica.Blocks.Sources.Ramp damSig(
height=0.4,
duration(displayUnit="h") = 3600,
offset=0.2,
startTime(displayUnit="h") = 18000) "Signal to VAV Box Damper";
Buildings.Fluid.Sources.Boundary_pT bou(
redeclare package Medium = MediumA,
p(displayUnit="Pa") = 1E5 + 1500,
use_T_in=true,
nPorts=1);
equation
connect(vavBra.port_b, sinAir.ports[1]);
connect(heaSig.y, vavBra.yVal);
connect(damSig.y, vavBra.yVAV);
connect(bou.ports[1], vavBra.port_a);
connect(TSupAir.y, bou.T_in);
end VAVBranch;