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

Functions

 _primed (**setup)
None test_off_by_default ()
None test_default_prime_is_the_old_initial_state ()
None test_per_tank_moves_only_that_wall ()
None test_the_cryogen_dial_and_the_per_tank_map ()
None test_a_cold_upper_wall_cools_the_ullage_at_its_film_rate ()

Variables

 STAR = Path(__file__).resolve().parents[3]
str STAND = STAR / "feed-twin" / "backend" / "diagrams" / "ethalox_stand.json"
str TABLES = STAR / "feed-twin" / "backend" / "statemachines"
 pytestmark

Detailed Description

The upper (ullage) wall's temperature at T-0 (``Setup.ullage_wall_T0_K``).

``Session.prime`` builds a loaded tank's upper wall at the pressurant's 293.15 K.
A LOX tank that has held its load has a cold upper shell, and that costs bottle
(EngineDesign/docs/layerx/AUDIT.md D1). The setting moves only that wall, per
tank; empty, the primed state is what it always was.

The physics check is closed form: over a short hold with every valve shut, the
extra cooling of the ullage gas is the wall's film, ``m cv dT = -hA (T_gas -
T_wall) dt``, with the session's own ``hA`` -- the setting reaches the vessel the
thermal model integrates, not just a field.

Function Documentation

◆ _primed()

◆ test_a_cold_upper_wall_cools_the_ullage_at_its_film_rate()

None test_ullage_wall_t0.test_a_cold_upper_wall_cools_the_ullage_at_its_film_rate ( )
0.1 s shut in, wall at 150 K against gas at 293 K: the gas cools by
hA mean(T_gas - T_wall) t / (m cv) more than with the warm wall.

Definition at line 90 of file test_ullage_wall_t0.py.

References _primed().

◆ test_default_prime_is_the_old_initial_state()

None test_ullage_wall_t0.test_default_prime_is_the_old_initial_state ( )
Every tank exactly as ``Tank.initial_state`` built it before the setting.

Definition at line 52 of file test_ullage_wall_t0.py.

References _primed().

◆ test_off_by_default()

None test_ullage_wall_t0.test_off_by_default ( )

Definition at line 47 of file test_ullage_wall_t0.py.

◆ test_per_tank_moves_only_that_wall()

None test_ullage_wall_t0.test_per_tank_moves_only_that_wall ( )

Definition at line 69 of file test_ullage_wall_t0.py.

References _primed().

◆ test_the_cryogen_dial_and_the_per_tank_map()

None test_ullage_wall_t0.test_the_cryogen_dial_and_the_per_tank_map ( )

Definition at line 81 of file test_ullage_wall_t0.py.

References _primed().

Variable Documentation

◆ pytestmark

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

Definition at line 30 of file test_ullage_wall_t0.py.

◆ STAND

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

Definition at line 27 of file test_ullage_wall_t0.py.

◆ STAR

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

Definition at line 26 of file test_ullage_wall_t0.py.

◆ TABLES

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

Definition at line 28 of file test_ullage_wall_t0.py.