Constants§
- G
- Gravitational acceleration (m/s²).
- GAMMA
- Ratio of specific heats for air (γ = cp/cv).
- GAS_
CONSTANT_ AIR - Specific gas constant for dry air (J/(kg·K)).
- LAPSE_
RATE - Temperature lapse rate (K/m) — troposphere.
- SEA_
LEVEL_ DENSITY - Sea level density (kg/m³) — ISA standard.
- SEA_
LEVEL_ PRESSURE - Sea level pressure (Pa) — ISA standard.
- SEA_
LEVEL_ TEMPERATURE - Sea level temperature (K) — ISA standard.
- TROPOPAUSE
- Tropopause altitude (m).
- TROPOPAUSE_
TEMPERATURE - Temperature at the tropopause (K) — ISA standard.
Functions§
- dynamic_
pressure - Dynamic pressure: q = ½ρV²
- mach_
number - Mach number: M = V / a
- pressure_
altitude - Pressure altitude from given pressure (inverse of standard_pressure, troposphere).
- speed_
of_ sound - Speed of sound in air: a = √(γRT)
- standard_
density - ISA standard density at altitude from ideal gas law.
- standard_
pressure - ISA standard pressure at altitude.
- standard_
temperature - ISA standard temperature at altitude.