Description Usage Arguments Value Note References Examples
Return dew-point temperature given dry-bulb temperature and vapor pressure.
1 | GetTDewPointFromVapPres(TDryBulb, VapPres)
|
TDryBulb |
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI] |
VapPres |
A numeric vector of partial pressure of water vapor in moist air in Psi [IP] or Pa [SI] |
A numeric vector of dew-point temperature in degreeF [IP] or degreeC [SI]
The dew point temperature is solved by inverting the equation giving water vapor pressure at saturation from temperature rather than using the regressions provided by ASHRAE (eqn. 37 and 38), which are much less accurate and have a narrower range of validity.
The Newton-Raphson (NR) method is used on the logarithm of water vapour pressure as a function of temperature, which is a very smooth function.
Convergence is usually achieved in 3 to 5 iterations.
TDryBulb is not really needed here, just used for convenience.
ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn. 5 and 6
1 2 3 4 5 | SetUnitSystem("IP")
GetTDewPointFromVapPres(70:80, seq(0.0149, 0.0249, 0.001))
SetUnitSystem("SI")
GetTDewPointFromVapPres(70:80, 12581:12591)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.