Dew point temperature calculation for moist air above freezing temperature.
The correlation used in this model is valid for dew point temperatures between 0°C and 200°C. It is the correlation from 2005 ASHRAE Handbook, p. 6.2. In an earlier version of this model, the equation from Peppers has been used, but this equation yielded about 15 Kelvin lower dew point temperatures.
function TDewPoi_pW extends Modelica.Icons.Function; input Modelica.Units.SI.Pressure p_w(displayUnit = "Pa", min = 200) "Water vapor partial pressure"; output Modelica.Units.SI.Temperature T "Dew point temperature"; end TDewPoi_pW;
Media.Common.OneNonLinearEquation
to use
Modelica.Math.Nonlinear.solveOneNonlinearEquation
because Media.Common.OneNonLinearEquation
will be obsolete in MSL 4.0.0.Internal.solve
to avoid a warning
in Dymola 2015.
smoothOrder=99
and displayUnit
for pressure.
dewPointTemperature
to pW_TDewPoi
.