STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_ambient_isa Namespace Reference

Functions

float _isa_troposphere_by_hand (float h)
 test_matches_the_1976_standard_by_hand (h)
 test_the_le4_site ()
 test_layer1_designs_at_the_solvers_ambient ()
 test_there_is_one_site_atmosphere ()

Variables

float R0 = 6356766.0

Detailed Description

The site ambient is the 1976 standard atmosphere, as its docstring always said it was.

``compute_ambient_pressure_from_elevation`` was an isothermal exponential with T held at 288.15 K:
94 069.7 Pa at the LE4 site's 626.67 m against ISA's 94 020.4 Pa, 1.25 % high at 3 km.

Function Documentation

◆ _isa_troposphere_by_hand()

float test_ambient_isa._isa_troposphere_by_hand ( float h)
protected
p = p0 (T/T0)^(g0 M0 / (R* L)): U.S. Standard Atmosphere 1976, eq. 33a, lowest layer.

Definition at line 16 of file test_ambient_isa.py.

Referenced by test_matches_the_1976_standard_by_hand().

◆ test_layer1_designs_at_the_solvers_ambient()

test_ambient_isa.test_layer1_designs_at_the_solvers_ambient ( )
Layer 1 runs every evaluation at, and targets as its exit pressure, the site ambient.

It kept its own isothermal exponential after the solver moved to the standard: 94 069.7 Pa at
the LE4 site against the 94 020.4 Pa forward mode, the Time-Series tab and Layer X evaluate at.

Definition at line 32 of file test_ambient_isa.py.

◆ test_matches_the_1976_standard_by_hand()

test_ambient_isa.test_matches_the_1976_standard_by_hand ( h)

Definition at line 24 of file test_ambient_isa.py.

References _isa_troposphere_by_hand().

◆ test_the_le4_site()

test_ambient_isa.test_the_le4_site ( )

Definition at line 28 of file test_ambient_isa.py.

◆ test_there_is_one_site_atmosphere()

test_ambient_isa.test_there_is_one_site_atmosphere ( )
No module computes a second barometric formula beside the solver's: the isothermal one Layer 1
and the optimizer carried (dry air's molar mass, 0.0289644 kg/mol, in code) is how they drifted.

Definition at line 52 of file test_ambient_isa.py.

Variable Documentation

◆ R0

float test_ambient_isa.R0 = 6356766.0

Definition at line 13 of file test_ambient_isa.py.