powered by
Return standard atmosphere temperature, given the elevation (altitude).
GetStandardAtmTemperature(Altitude)
A numeric vector of altitude in ft [IP] or m [SI]
A numeric vector of standard atmosphere dry-bulb temperature in degreeF [IP] or degreeC [SI]
ASHRAE Handbook - Fundamentals (2017) ch. 1 eqn 4
# NOT RUN { SetUnitSystem("IP") GetStandardAtmTemperature(seq(-500, 1000, 100)) SetUnitSystem("SI") GetStandardAtmTemperature(seq(-500, 1000, 100)) # }
Run the code above in your browser using DataLab