powered by
Return moist air density given humidity ratio, dry bulb temperature, and pressure.
GetMoistAirDensity(TDryBulb, HumRatio, Pressure)
A numeric vector of dry-bulb temperature in degreeF [IP] or degreeC [SI]
A numeric vector of humidity ratio in lb_H2O lb_Air-1 [IP] or kg_H2O kg_Air-1 [SI]
A numeric vector of atmospheric pressure in Psi [IP] or Pa [SI]
A numeric vector of moistAirDensity: Moist air density in lb ft-3 [IP] or kg m-3 [SI]
ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 11
# NOT RUN { SetUnitSystem("IP") GetMoistAirDensity(80:100, 0.02, 14.175) SetUnitSystem("SI") GetMoistAirDensity(20:30, 0.02, 95461) # }
Run the code above in your browser using DataLab