FGAtmosphere

class jsbsim.FGAtmosphere

Models an empty, abstract base atmosphere class.

Properties

  • atmosphere/T-R The current modeled temperature in degrees Rankine.

  • atmosphere/rho-slugs_ft3

  • atmosphere/P-psf

  • atmosphere/a-fps

  • atmosphere/T-sl-R

  • atmosphere/rho-sl-slugs_ft3

  • atmosphere/P-sl-psf

  • atmosphere/a-sl-fps

  • atmosphere/theta

  • atmosphere/sigma

  • atmosphere/delta

  • atmosphere/a-ratio

get_temperature(h: float) float

Returns the actual modeled temperature in degrees Rankine at a specified altitude.

Parameters:

altitude – The altitude above sea level (ASL) in feet.

Returns:

Modeled temperature in degrees Rankine at the specified altitude.

set_pressure_SL(unit: ePressure, p: float) None

Sets the sea level pressure for modeling.

Parameters:
  • pressure – The pressure in the units specified.

  • unit – the unit of measure that the specified pressure is supplied in.

set_temperature(t: float, h: float, unit: eTemperature) None

Sets the temperature at the supplied altitude.

Parameters:
  • t – The temperature value in the unit provided.

  • h – The altitude in feet above sea level.

  • unit – The unit of the temperature.