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 |
Guideline36SteadyState
|
Validation of detailed model that is at steady state with constant weather data |
VAVBranch
|
Validation for the VAVBranch class |
Validation of detailed model that is at steady state with constant weather data
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.Obsolete.Examples.VAVReheat.Guideline36 (Variable air volume flow system with terminal reheat and five thermal zones).
Parameters
Type | Name | Default | Description |
replaceable package MediumA | Air | Medium model for air |
replaceable package MediumW | Water | Medium model for water |
MassFlowRate | mCor_flow_nominal | ACHCor*VRooCor*conv | Design mass flow rate core [kg/s] |
MassFlowRate | mSou_flow_nominal | ACHSou*VRooSou*conv | Design mass flow rate south [kg/s] |
MassFlowRate | mEas_flow_nominal | ACHEas*VRooEas*conv | Design mass flow rate east [kg/s] |
MassFlowRate | mNor_flow_nominal | ACHNor*VRooNor*conv | Design mass flow rate north [kg/s] |
MassFlowRate | mWes_flow_nominal | ACHWes*VRooWes*conv | Design mass flow rate west [kg/s] |
Temperature | THeaWatInl_nominal | 45 + 273.15 | Reheat coil nominal inlet water temperature [K] |
Real | ACHCor | 6 | Design air change per hour core [1/h] |
Real | ACHSou | 6 | Design air change per hour south [1/h] |
Real | ACHEas | 9 | Design air change per hour east [1/h] |
Real | ACHNor | 6 | Design air change per hour north [1/h] |
Real | ACHWes | 7 | Design air change per hour west [1/h] |
Modelica definition
model Guideline36SteadyState
extends Buildings.Obsolete.Examples.VAVReheat.Guideline36(
flo(
gai(K=0*[0.4; 0.4; 0.2]),
use_windPressure=false,
sampleModel=false),
hvac(
occSch(occupancy=3600*24*365*{1,2}, period=2*3600*24*365)),
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));
Buildings.Controls.OBC.CDL.Reals.Sources.Constant solRad(k=0) ;
equation
connect(weaDat.HDifHor_in, solRad.y);
connect(weaDat.HGloHor_in, solRad.y);
end Guideline36SteadyState;
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
extends Modelica.Icons.Example;
package MediumA =
Buildings.Media.Air ;
package MediumW =
Buildings.Media.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) ;
Modelica.Blocks.Sources.Ramp TSupAir(
y(
final unit="K", displayUnit="degC"),
height=5,
duration(displayUnit="h") = 3600,
offset=285,
startTime(displayUnit="h") = 3600) ;
Modelica.Blocks.Sources.Ramp heaSig(
height=1,
duration(displayUnit="h") = 3600,
offset=0,
startTime(displayUnit="h") = 10800) ;
Modelica.Blocks.Sources.Ramp damSig(
height=0.4,
duration(displayUnit="h") = 3600,
offset=0.2,
startTime(displayUnit="h") = 18000) ;
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;