The International Standard Atmosphere (ISA)
We shall be concerned with altitudes below 31 km, or about 100000 ft.
In [7]:
%run ./python/nb_init.py
%run ./python/isa.py
unit.load_definitions('./python/pint_addons.txt') # includes slug
In [8]:
altitude = 0.0 *unit.m # Sea Level
In [9]:
temperature, soundspeed, pressure, density = isa(altitude)
In [10]:
print("Air properties at altitude h = {!s}".format(altitude))
print(" T = {:.6P}\n a = {:.5P}\n p = {:.4P}\n rho = {:.4fP}".format(temperature, soundspeed, pressure, density))
Air properties at altitude h = 0.0 meter
T = 288.15 kelvin
a = 340.26 meter/second
p = 1.013e+05 newton/meter²
rho = 1.2252 kilogram·newton/joule/meter²
In [16]:
print("Density in English units: {:.5P}".format(density.to(unit.slug/unit.ft**3)))
Density in English units: 0.0023773 slug/foot³
In [15]:
(1*unit.slug).to(unit.kilogram)
14.5939 kilogram