| Name | Description |
|---|---|
| Collection of models that illustrate model use and test models | |
| Model to compute the wet bulb temperature |
Buildings.Utilities.Psychrometrics.WetBulbTemperature
Given a moist are medium model, this component computes the states of the medium at its wet bulb temperature.
For a use of this model, see for example Buildings.Fluids.Sensors.WetBulbTemperature
| Type | Name | Description |
|---|---|---|
| RealSignal | TDryBul | Dry bulb temperature |
| RealSignal | p | Pressure |
| RealSignal | TWetBul | Wet bulb temperature |
| RealSignal | X[Medium.nX] | Species concentration at dry bulb temperature |
| RealSignal | phi | Relative humidity (at dry-bulb state) in [0, 1] |
model WetBulbTemperature "Model to compute the wet bulb temperature"
extends Buildings.BaseClasses.BaseIcon;
replaceable package Medium =
Modelica.Media.Interfaces.PartialMedium "Medium model";
Medium.BaseProperties dryBul "Medium state at dry bulb temperature";
Medium.BaseProperties wetBul(Xi(nominal=0.01*ones(Medium.nXi)))
"Medium state at wet bulb temperature";
Modelica.Blocks.Interfaces.RealSignal TDryBul(redeclare type SignalType =
Modelica.SIunits.Temperature (start=293.15, min=150, max=373))
"Dry bulb temperature";
Modelica.Blocks.Interfaces.RealSignal p(redeclare type SignalType =
Modelica.SIunits.Pressure (start=101325, nominal=100000)) "Pressure";
Modelica.Blocks.Interfaces.RealSignal TWetBul(redeclare type SignalType =
Modelica.SIunits.Temperature (start=283.15, min=150, max=350))
"Wet bulb temperature";
Modelica.Blocks.Interfaces.RealSignal X[Medium.nX](redeclare type SignalType
=
Medium.MassFraction) "Species concentration at dry bulb temperature";
Modelica.Blocks.Interfaces.RealSignal phi(redeclare type SignalType = Real (
start=0.5,
min=0,
max=1)) "Relative humidity (at dry-bulb state) in [0, 1]";
equation
dryBul.p = p;
dryBul.T = TDryBul;
dryBul.Xi = X[1:Medium.nXi];
wetBul.phi = 1;
wetBul.p = dryBul.p;
wetBul.h = dryBul.h + (wetBul.X[Medium.Water] - dryBul.X[Medium.Water])
* Medium.enthalpyOfLiquid(dryBul.T);
TWetBul = wetBul.T;
phi = dryBul.phi;
end WetBulbTemperature;