Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses

Package with base classes for the equivalent air temperature

Information

This package contains base classes for equivalent air temperature models.

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

Package Content

Name Description
Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses.PartialVDI6007 PartialVDI6007 Partial model for equivalent air temperature as defined in VDI 6007 Part 1
Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses.SourceSelector SourceSelector Block that selects as its output either a parameter value or its input

Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses.PartialVDI6007 Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses.PartialVDI6007

Partial model for equivalent air temperature as defined in VDI 6007 Part 1

Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses.PartialVDI6007

Information

PartialVDI6007 is a partial model for EquivalentAirTemperature models.

Parameters

TypeNameDefaultDescription
EmissivityaExt Coefficient of absorption of exterior walls (outdoor) [1]
Integern Number of orientations (without ground)
RealwfWall[n] Weight factors of the walls [1]
RealwfWin[n] Weight factors of the windows [1]
RealwfGro Weight factor of the ground (0 if not considered) [1]
TemperatureTGro Constant temperature of the ground in contact with floor plate [K]
CoefficientOfHeatTransferhConWallOut Exterior walls convective coefficient of heat transfer (outdoor) [W/(m2.K)]
CoefficientOfHeatTransferhRad Coefficient of heat transfer for linearized radiation [W/(m2.K)]
BooleanwithLongwavetrueSet to true to include longwave radiation exchange
BooleanTGroundFromInputfalseSet to true to use TGro_in input connector instead of TGro constant

Connectors

TypeNameDescription
input RealInputHSol[n]Solar radiation per unit area [W/m2]
input RealInputTBlaSkyBlack-body sky temperature [K]
input RealInputTDryBulDry bulb temperature [K]
output RealOutputTEqAirEquivalent air temperature [K]
input RealInputsunblind[n]Opening factor of sunblinds for each direction (0 - open to 1 - closed) [1]
input RealInputTGro_inTemperature of the ground in contact with floor plate [K]

Modelica definition

partial model PartialVDI6007 "Partial model for equivalent air temperature as defined in VDI 6007 Part 1" parameter Modelica.Units.SI.Emissivity aExt "Coefficient of absorption of exterior walls (outdoor)"; parameter Integer n "Number of orientations (without ground)"; parameter Real wfWall[n](each final unit="1") "Weight factors of the walls"; parameter Real wfWin[n](each final unit="1") "Weight factors of the windows"; parameter Real wfGro(unit="1") "Weight factor of the ground (0 if not considered)"; parameter Modelica.Units.SI.Temperature TGro "Constant temperature of the ground in contact with floor plate"; parameter Modelica.Units.SI.CoefficientOfHeatTransfer hConWallOut "Exterior walls convective coefficient of heat transfer (outdoor)"; parameter Modelica.Units.SI.CoefficientOfHeatTransfer hRad "Coefficient of heat transfer for linearized radiation"; parameter Boolean withLongwave=true "Set to true to include longwave radiation exchange"; parameter Boolean TGroundFromInput=false "Set to true to use TGro_in input connector instead of TGro constant"; Modelica.Units.SI.Temperature TEqWall[n] "Equivalent wall temperature"; Modelica.Units.SI.Temperature TEqWin[n] "Equivalent window temperature"; Modelica.Units.SI.TemperatureDifference delTEqLW "Equivalent long wave temperature"; Modelica.Units.SI.TemperatureDifference delTEqLWWin "Equivalent long wave temperature for windows"; Modelica.Units.SI.TemperatureDifference delTEqSW[n] "Equivalent short wave temperature"; Modelica.Blocks.Interfaces.RealInput HSol[n]( each final quantity="RadiantEnergyFluenceRate", each final unit="W/m2") "Solar radiation per unit area"; Modelica.Blocks.Interfaces.RealInput TBlaSky( final quantity="ThermodynamicTemperature", displayUnit="degC", final unit="K") "Black-body sky temperature"; Modelica.Blocks.Interfaces.RealInput TDryBul( final quantity="ThermodynamicTemperature", final unit="K", displayUnit="degC") "Dry bulb temperature"; Modelica.Blocks.Interfaces.RealOutput TEqAir( final quantity="ThermodynamicTemperature", final unit="K", displayUnit="degC") "Equivalent air temperature"; Modelica.Blocks.Interfaces.RealInput sunblind[n]( each min=0, each max=1, each final unit="1") "Opening factor of sunblinds for each direction (0 - open to 1 - closed)"; Modelica.Blocks.Interfaces.RealInput TGro_in( final quantity="ThermodynamicTemperature", final unit="K", displayUnit="degC") if TGroundFromInput "Temperature of the ground in contact with floor plate"; protected SourceSelector TGroSouSel(final useInput=TGroundFromInput, p=TGro) "Input selector for ground temperature"; initial equation assert(noEvent(abs(sum(wfWall) + sum(wfWin) + wfGro) > 0.1), "The sum of the weighting factors (walls,windows and ground) in the equivalent air temperature calculation is close to 0. If there are no walls, windows and ground at all, this might be irrelevant.", level=AssertionLevel.warning); equation delTEqLW=(TBlaSky - TDryBul)*hRad/(hRad + hConWallOut); delTEqSW=HSol*aExt/(hRad + hConWallOut); if withLongwave then TEqWin=TDryBul.+delTEqLWWin*(ones(n)-sunblind); TEqWall=TDryBul.+delTEqLW.+delTEqSW; else TEqWin=TDryBul*ones(n); TEqWall=TDryBul.+delTEqSW; end if; connect(TGro_in, TGroSouSel.uCon); end PartialVDI6007;

Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses.SourceSelector Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses.SourceSelector

Block that selects as its output either a parameter value or its input

Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses.SourceSelector

Information

Block that produces at its output the input value uCon or the parameter value p depending on the parameter value useInput.

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).

Parameters

TypeNameDefaultDescription
BooleanuseInput Use input (if true) or parameter value (if false)
Realp Parameter value

Connectors

TypeNameDescription
output RealOutputyConnector of Real output signal
input RealInputuConInput signal from input connector

Modelica definition

block SourceSelector "Block that selects as its output either a parameter value or its input" extends Modelica.Blocks.Interfaces.SO; parameter Boolean useInput "Use input (if true) or parameter value (if false)"; parameter Real p "Parameter value"; Modelica.Blocks.Interfaces.RealInput uCon if useInput "Input signal from input connector"; equation if not useInput then y = p; end if; connect(uCon, y); end SourceSelector;