Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | TDewPoint |
function GetVapPresFromTDewPoint(TDewPoint) result(VapPres)
!+ Return vapor pressure given dew point temperature.
!+ References:
!+ ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 36
real, intent(in) :: TDewPoint
!+ Dew-point temperature in °F [IP] or °C [SI]
real :: VapPres
!+ Partial pressure of water vapor in moist air in Psi [IP] or Pa [SI]
VapPres = GetSatVapPres(TDewPoint)
end function GetVapPresFromTDewPoint