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 |
---|---|
PartialVDI6007 | Partial model for equivalent air temperature as defined in VDI 6007 Part 1 |
Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.BaseClasses.PartialVDI6007
Partial model for equivalent air temperature as defined in VDI 6007 Part 1
Information
PartialVDI6007
is a partial model for EquivalentAirTemperature
models.
Parameters
Type | Name | Default | Description |
---|---|---|---|
Emissivity | aExt | Coefficient of absorption of exterior walls (outdoor) [1] | |
Integer | n | Number of orientations (without ground) | |
Real | wfWall[n] | wfWall(each final unit="1") | Weight factors of the walls [1] |
Real | wfWin[n] | wfWin(each final unit="1") | Weight factors of the windows [1] |
Real | wfGro | wfGro(unit="1") | Weight factor of the ground (0 if not considered) [1] |
Temperature | TGro | Temperature of the ground in contact with floor plate [K] | |
CoefficientOfHeatTransfer | hConWallOut | Exterior walls convective coefficient of heat transfer (outdoor) [W/(m2.K)] | |
CoefficientOfHeatTransfer | hRad | Coefficient of heat transfer for linearized radiation [W/(m2.K)] | |
Boolean | withLongwave | true | Set to true to include longwave radiation exchange |
Connectors
Type | Name | Description |
---|---|---|
input RealInput | HSol[n] | Solar radiation per unit area [W/m2] |
input RealInput | TBlaSky | Black-body sky temperature [K] |
input RealInput | TDryBul | Dry bulb temperature [K] |
output RealOutput | TEqAir | Equivalent air temperature [K] |
input RealInput | sunblind[n] | Opening factor of sunblinds for each direction (0 - open to 1 - closed) [1] |
Modelica definition
partial model PartialVDI6007
"Partial model for equivalent air temperature as defined in VDI 6007 Part 1"
parameter Modelica.SIunits.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.SIunits.Temperature TGro
"Temperature of the ground in contact with floor plate";
parameter Modelica.SIunits.CoefficientOfHeatTransfer hConWallOut
"Exterior walls convective coefficient of heat transfer (outdoor)";
parameter Modelica.SIunits.CoefficientOfHeatTransfer hRad
"Coefficient of heat transfer for linearized radiation";
parameter Boolean withLongwave=true
"Set to true to include longwave radiation exchange";
Modelica.SIunits.Temperature TEqWall[n] "Equivalent wall temperature";
Modelica.SIunits.Temperature TEqWin[n] "Equivalent window temperature";
Modelica.SIunits.TemperatureDifference delTEqLW
"Equivalent long wave temperature";
Modelica.SIunits.TemperatureDifference delTEqLWWin
"Equivalent long wave temperature for windows";
Modelica.SIunits.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)";
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;
end PartialVDI6007;