CalcPsychrometricsFromRelHum {psychrolib} | R Documentation |
Calculate psychrometric values from relative humidity.
Description
Utility function to calculate humidity ratio, wet-bulb temperature, dew-point temperature, vapour pressure, moist air enthalpy, moist air volume, and degree of saturation of air given dry-bulb temperature, relative humidity and pressure.
Usage
CalcPsychrometricsFromRelHum(TDryBulb, RelHum, Pressure)
Arguments
TDryBulb |
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI] |
RelHum |
A numeric vector of relative humidity in range [0, 1] |
Pressure |
A numeric vector of atmospheric pressure in Psi [IP] or Pa [SI] |
Value
A list with named components for each psychrometric value computed:
- HumRatio
Humidity ratio in lb_H2O lb_Air-1 [IP] or kg_H2O kg_Air-1 [SI]
- TWetBulb
Wet-bulb temperature in degreeF [IP] or degreeC [SI]
- TDewPoint
Dew-point temperature in degreeF [IP] or degreeC [SI]
- VapPres
Partial pressure of water vapor in moist air in Psi [IP] or Pa [SI]
- MoistAirEnthalpy
Moist air enthalpy in Btu lb-1 [IP] or J kg-1 [SI]
- MoistAirVolume
Specific volume of moist air in ft3 lb-1 [IP] or in m3 kg-1 [SI]
- DegreeOfSaturation
Degree of saturation [unitless]
Examples
SetUnitSystem("IP")
CalcPsychrometricsFromRelHum(80:100, 0.13, 14.69)
SetUnitSystem("SI")
CalcPsychrometricsFromRelHum(25:40, 0.5, 101325.0)