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

Functions

None test_the_default_is_standard_gravity_exactly ()
None test_a_line_climb_carries_rho_a_h ()
None test_a_session_puts_its_acceleration_on_every_column ()

Variables

 M = Provenance.MANUFACTURER
 STAR = Path(__file__).resolve().parents[3]
str STAND = STAR / "feed-twin" / "backend" / "diagrams" / "ethalox_stand.json"
str TABLES = STAR / "feed-twin" / "backend" / "statemachines"
 needs_stand
float SEVEN_G = 7.0 * 9.80665

Detailed Description

Liquid columns feel the vehicle's acceleration, not standard gravity.

On a stand every head is ``rho * g0 * dz``. In flight the column feels the
proper acceleration along the vehicle axis -- thrust less drag over mass, what
an accelerometer reads -- which is ~7 g on the 6.8 kN vehicle at burnout. The
heads are arithmetic, so the checks are by hand. The default is standard
gravity, and a session that does not set it runs exactly as it did.

Function Documentation

◆ test_a_line_climb_carries_rho_a_h()

None test_body_acceleration.test_a_line_climb_carries_rho_a_h ( )

Definition at line 44 of file test_body_acceleration.py.

◆ test_a_session_puts_its_acceleration_on_every_column()

None test_body_acceleration.test_a_session_puts_its_acceleration_on_every_column ( )

Definition at line 62 of file test_body_acceleration.py.

◆ test_the_default_is_standard_gravity_exactly()

None test_body_acceleration.test_the_default_is_standard_gravity_exactly ( )

Definition at line 37 of file test_body_acceleration.py.

Variable Documentation

◆ M

test_body_acceleration.M = Provenance.MANUFACTURER

Definition at line 25 of file test_body_acceleration.py.

◆ needs_stand

test_body_acceleration.needs_stand
Initial value:
1= pytest.mark.skipif(
2 not (STAND.exists() and TABLES.is_dir()), reason="stand drawing or tables absent"
3)

Definition at line 29 of file test_body_acceleration.py.

◆ SEVEN_G

float test_body_acceleration.SEVEN_G = 7.0 * 9.80665

Definition at line 34 of file test_body_acceleration.py.

◆ STAND

str test_body_acceleration.STAND = STAR / "feed-twin" / "backend" / "diagrams" / "ethalox_stand.json"

Definition at line 27 of file test_body_acceleration.py.

◆ STAR

test_body_acceleration.STAR = Path(__file__).resolve().parents[3]

Definition at line 26 of file test_body_acceleration.py.

◆ TABLES

str test_body_acceleration.TABLES = STAR / "feed-twin" / "backend" / "statemachines"

Definition at line 28 of file test_body_acceleration.py.