Buildings.Examples.VAVReheat.Validation.BaseClasses

This package contains base classes for Validation examples

Information

This package contains base classes that are used to construct the models in Buildings.Examples.VAVReheat.Validation.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Buildings.Examples.VAVReheat.Validation.BaseClasses.Floor Floor Extends Buildings.Examples.VAVReheat.BaseClasses.Floor with CO2 generation from people and CO2 from outside air.

Buildings.Examples.VAVReheat.Validation.BaseClasses.Floor Buildings.Examples.VAVReheat.Validation.BaseClasses.Floor

Extends Buildings.Examples.VAVReheat.BaseClasses.Floor with CO2 generation from people and CO2 from outside air.

Buildings.Examples.VAVReheat.Validation.BaseClasses.Floor

Information

This model is used in the model Buildings.Examples.VAVReheat.Validation.TraceSubstance. It extends Buildings.Examples.VAVReheat.BaseClasses.Floor with CO2 generation from people and CO2 from outside air infiltration. Calculation of the generation from people uses the internal gain schedule and uses 0.05 people per m2 along with the zone area to calculate the number of people. Then, it assumes CO2 generation is 0.0048 l/s per person (Table 5, Persily and De Jonge 2017) and density of CO2 to be 1.8 kg/m3, making CO2 generation equal to 8.64e-6 kg/s per person. Outside air CO2 concentration is assumed 400 ppm.

References

Persily, A. and De Jonge, L. (2017). Carbon dioxide generation rates for building occupants. Indoor Air, 27, 868–879. https://doi.org/10.1111/ina.12383.

Extends from Buildings.Examples.VAVReheat.BaseClasses.Floor (Model of a floor of the building).

Parameters

TypeNameDefaultDescription
replaceable package MediumPartialMediumMedium model for air
Booleanuse_windPressuretrueSet to true to enable wind pressure
RealkIntNor1Gain factor to scale internal heat gain in north zone
AreaAFloCor2698/hRooFloor area corridor [m2]
AreaAFloSou568.77/hRooFloor area south [m2]
AreaAFloNor568.77/hRooFloor area north [m2]
AreaAFloEas360.0785/hRooFloor area east [m2]
AreaAFloWes360.0785/hRooFloor area west [m2]
LengthwExtSou49.91South zone exterior wall width [m]
LengthwExtNor49.91North zone exterior wall width [m]
LengthwExtEas33.27East zone exterior wall width [m]
LengthwExtWes33.27West zone exterior wall width [m]
InteriorConvectionintConModBuildings.HeatTransfer.Types...Convective heat transfer model for room-facing surfaces of opaque constructions
RealwinWalRat0.33Window to wall ratio for exterior walls
LengthhWin1.5Height of windows [m]
PlywoodmatFur Material for furniture
CarpetmatCar Carpet
ConcretematCon Concrete
PlywoodmatWoo Wood for exterior construction
GenericmatIns Steelframe construction with insulation
GypsumBoardmatGyp Gypsum board
GypsumBoardmatGyp2 Gypsum board
GenericconExtWal Exterior construction
GenericconIntWal Interior wall construction
GenericconFlo Floor construction (opa_a is carpet)
GenericconFur Construction for internal mass of furniture
PlywoodmatCarTra Wood for floor
DoubleClearAir13ClearglaSys Data record for the glazing system
Experimental (may be changed in future releases)
BooleansampleModelfalseSet to true to time-sample the model, which can give shorter simulation time if there is already time sampling in the system model

Connectors

TypeNameDescription
VesselFluidPorts_bportsSou[2]Fluid inlets and outlets
VesselFluidPorts_bportsEas[2]Fluid inlets and outlets
VesselFluidPorts_bportsNor[2]Fluid inlets and outlets
VesselFluidPorts_bportsWes[2]Fluid inlets and outlets
VesselFluidPorts_bportsCor[2]Fluid inlets and outlets
output RealOutputTRooAir[5]Room air temperatures [K]
output RealOutputp_relRelative pressure signal of building static pressure
BusweaBusWeather bus

Modelica definition

model Floor "Extends Buildings.Examples.VAVReheat.BaseClasses.Floor with CO2 generation from people and CO2 from outside air." extends Buildings.Examples.VAVReheat.BaseClasses.Floor( nor(use_C_flow=true, C_start=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, Medium.nC)), eas(use_C_flow=true, C_start=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, Medium.nC)), cor(use_C_flow=true, C_start=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, Medium.nC)), wes(use_C_flow=true, C_start=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, Medium.nC)), sou(use_C_flow=true, C_start=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, Medium.nC)), leaSou(amb(C=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, Medium.nC))), leaEas(amb(C=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, Medium.nC))), leaNor(amb(C=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, Medium.nC))), leaWes(amb(C=fill(400e-6*Modelica.Media.IdealGases.Common.SingleGasesData.CO2.MM /Modelica.Media.IdealGases.Common.SingleGasesData.Air.MM, Medium.nC)))); Modelica.Blocks.Sources.RealExpression CO2GenWes(y=intGaiFra.y[1]*AFloWes*0.05 *8.64e-6) "CO2 generated by people in the west zone"; Modelica.Blocks.Sources.RealExpression CO2GenCor(y=intGaiFra.y[1]*AFloCor*0.05 *8.64e-6) "CO2 generated by people in the corridor zone"; Modelica.Blocks.Sources.RealExpression CO2GenEas(y=intGaiFra.y[1]*AFloEas*0.05 *8.64e-6) "CO2 generated by people in the east zone"; Modelica.Blocks.Sources.RealExpression CO2GenNor(y=intGaiFra.y[1]*AFloNor*0.05 *8.64e-6) "CO2 generated by people in the north zone"; Modelica.Blocks.Sources.RealExpression CO2GenSou(y=intGaiFra.y[1]*AFloSou*0.05 *8.64e-6) "CO2 generated by people in the south zone"; equation connect(CO2GenNor.y, nor.C_flow[1]); connect(CO2GenWes.y, wes.C_flow[1]); connect(CO2GenCor.y, cor.C_flow[1]); connect(CO2GenSou.y, sou.C_flow[1]); connect(CO2GenEas.y, eas.C_flow[1]); end Floor;