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

Functions

TankSim _sim (*, float liquid_mass=0.0, float wall_K=293.15, bool fuel=False)
None test_the_fill_line_is_crane_and_clamond ()
None test_a_clean_line_pours_tens_of_times_what_the_valve_lets_through ()
None test_nothing_flows_back_into_the_dewar ()
None test_into_a_warm_tank_every_gram_boils_into_the_ullage ()
None test_once_the_wall_is_cold_the_load_collects ()
None test_the_last_of_the_wall_boils_and_the_rest_collects ()
None test_a_full_tank_takes_no_more ()
None _advance (TankSim sim, float dt)
None test_no_dewar_is_the_fixed_rate_load_exactly ()
None test_a_fuel_load_ignores_the_dewar ()
 _le4_session (**float setup)
tuple[float, float] _chill (float seconds, **float setup)
None test_the_carts_vent_valve_sizes_an_unsized_gse_vent ()
None test_a_disconnect_that_gives_its_own_cv_keeps_it ()
None test_a_chilling_tank_climbs_and_climbs_more_the_harder_the_dewar_pushes ()
None test_the_fill_cv_is_calibrated_to_the_stands_30_psig_chill ()
None test_without_a_dewar_the_chill_vents_outside_the_ullage_as_before ()
None test_a_chilling_tank_vents_its_boil_off_not_air_the_floor_puts_back ()
None test_a_skipped_chilldown_collects_at_once_where_a_chilling_one_does_not ()
None test_skipping_chilldown_leaves_a_storable_and_an_unknown_tank_alone ()

Variables

float WALL_MASS = 3.63
float WALL_CP = 897.0

Detailed Description

A LOX load pushed in by a dewar (``Setup.dewar_psi``).

The load is a flow through the fill line at the dewar's pressure less the
tank's. Into a warm tank it boils on the wall and the vapour goes into the
ullage -- the climb the stand shows during a chilldown -- and once the wall is
at saturation it collects. Checked here against hand calculation and CoolProp,
not against the session: the line against Crane's Cv relation and Clamond, the
chill against ``h_fg`` per gram, and a zero dewar against the fixed-rate load
it replaces.

Function Documentation

◆ _advance()

None test_dewar_load._advance ( TankSim sim,
float dt )
protected

◆ _chill()

◆ _le4_session()

test_dewar_load._le4_session ( **float setup)
protected
LE4's LOX tank vented through its top disconnect, the cart's valve
beyond it (``test_pid_drawn_freely._le4_with_top_manifold``).

Definition at line 199 of file test_dewar_load.py.

References Setup.

Referenced by _chill(), test_a_disconnect_that_gives_its_own_cv_keeps_it(), test_a_skipped_chilldown_collects_at_once_where_a_chilling_one_does_not(), test_skipping_chilldown_leaves_a_storable_and_an_unknown_tank_alone(), and test_the_carts_vent_valve_sizes_an_unsized_gse_vent().

◆ _sim()

◆ test_a_chilling_tank_climbs_and_climbs_more_the_harder_the_dewar_pushes()

None test_dewar_load.test_a_chilling_tank_climbs_and_climbs_more_the_harder_the_dewar_pushes ( )
The stand: a LOX tank rises while it chills, as far as the vent makes
it, and the dewar's pressure sets the pour.

Definition at line 271 of file test_dewar_load.py.

References _chill().

◆ test_a_chilling_tank_vents_its_boil_off_not_air_the_floor_puts_back()

None test_dewar_load.test_a_chilling_tank_vents_its_boil_off_not_air_the_floor_puts_back ( )
The vent of a tank chilling under its own boil-off carries that boil-off.

Split by mass share alone, the vent took the tank's air down to the floor
(an atmosphere's worth, which the pressurant keeps because it carries the
ullage's heat capacity) and the floor put it straight back: on LE4, ~3 g/s
of air that did not exist and 0.2 kg over a load, booked as a guard. The
vent here carries what the dewar boils into the ullage; the guards must
book next to nothing of it.

Definition at line 305 of file test_dewar_load.py.

References _sim().

◆ test_a_clean_line_pours_tens_of_times_what_the_valve_lets_through()

None test_dewar_load.test_a_clean_line_pours_tens_of_times_what_the_valve_lets_through ( )
The reason the dewar valve is calibrated rather than left open: a bare
3/8 in line from 100 psig pours ~0.7 kg/s.

Definition at line 85 of file test_dewar_load.py.

References _sim().

◆ test_a_disconnect_that_gives_its_own_cv_keeps_it()

None test_dewar_load.test_a_disconnect_that_gives_its_own_cv_keeps_it ( )
Turned on against a drawing that sizes the vent, the setup changes
nothing.

Definition at line 261 of file test_dewar_load.py.

References _le4_session().

◆ test_a_fuel_load_ignores_the_dewar()

None test_dewar_load.test_a_fuel_load_ignores_the_dewar ( )
The dewar is a cryogen's. With it on, ethanol still pours at its rate.

Definition at line 187 of file test_dewar_load.py.

References _advance(), and _sim().

◆ test_a_full_tank_takes_no_more()

None test_dewar_load.test_a_full_tank_takes_no_more ( )

Definition at line 163 of file test_dewar_load.py.

References _sim().

◆ test_a_skipped_chilldown_collects_at_once_where_a_chilling_one_does_not()

None test_dewar_load.test_a_skipped_chilldown_collects_at_once_where_a_chilling_one_does_not ( )
Nobody rehearsing waits out the minutes a dewar load spends on the wall
(the team, 2026-10-08). Skipped, the wall is where the chill would have left
it and the next seconds of the pour collect; not skipped, they boil.

Definition at line 334 of file test_dewar_load.py.

References _le4_session().

◆ test_into_a_warm_tank_every_gram_boils_into_the_ullage()

None test_dewar_load.test_into_a_warm_tank_every_gram_boils_into_the_ullage ( )
Chilling: nothing collects, the vapour goes into the ullage (where only
the vent can take it out), and the wall gives up h_fg per gram -- h_fg from
CoolProp here, not from the model.

Definition at line 102 of file test_dewar_load.py.

References _sim().

◆ test_no_dewar_is_the_fixed_rate_load_exactly()

None test_dewar_load.test_no_dewar_is_the_fixed_rate_load_exactly ( )
Zero dewar pressure: the load before this existed, wanted / fill_seconds.

Definition at line 177 of file test_dewar_load.py.

References _advance(), and _sim().

◆ test_nothing_flows_back_into_the_dewar()

None test_dewar_load.test_nothing_flows_back_into_the_dewar ( )

Definition at line 96 of file test_dewar_load.py.

References _sim().

◆ test_once_the_wall_is_cold_the_load_collects()

None test_dewar_load.test_once_the_wall_is_cold_the_load_collects ( )

Definition at line 130 of file test_dewar_load.py.

References _sim().

◆ test_skipping_chilldown_leaves_a_storable_and_an_unknown_tank_alone()

None test_dewar_load.test_skipping_chilldown_leaves_a_storable_and_an_unknown_tank_alone ( )

Definition at line 370 of file test_dewar_load.py.

References _le4_session().

◆ test_the_carts_vent_valve_sizes_an_unsized_gse_vent()

None test_dewar_load.test_the_carts_vent_valve_sizes_an_unsized_gse_vent ( )

Definition at line 253 of file test_dewar_load.py.

References _le4_session().

◆ test_the_fill_cv_is_calibrated_to_the_stands_30_psig_chill()

None test_dewar_load.test_the_fill_cv_is_calibrated_to_the_stands_30_psig_chill ( )
The default Cv (0.019, the team 2026-10-08) tops LE4 out near the stand's
~30 psig. 0.013 did until the vent stopped taking back air the pressurant
floor re-created (2026-10-06); it then peaked near 21.

The calibration was made against the plain valve's old gas law, which
passed up to 1.5x IEC just short of the choke -- where a chilling tank's
vent runs. With the vent priced by IEC 60534-2-1 (R035) the same 0.019
peaks at 44.75 psig on this stand (0.014: 33.7; 0.012: 28.6; 0.010: 23.2).
LE4 (3) as uploaded does not move (16.4 -> 16.5 psia at 140 s of Ox Fill).
Recalibrating is the team's call; strict, so it turns red when they do.

Definition at line 285 of file test_dewar_load.py.

References _chill().

◆ test_the_fill_line_is_crane_and_clamond()

None test_dewar_load.test_the_fill_line_is_crane_and_clamond ( )
Liquid through the line: drop = (f L/D + K + 1) rho v^2 / 2, with K from
Crane's Cv relation K = 891 d^4 / Cv^2 (d in inches) and f Clamond at the
Reynolds number of the answer.

Definition at line 67 of file test_dewar_load.py.

References _sim().

◆ test_the_last_of_the_wall_boils_and_the_rest_collects()

None test_dewar_load.test_the_last_of_the_wall_boils_and_the_rest_collects ( )
A step that brings the wall down to saturation splits: what the wall's
remaining heat boils, and the rest in the liquid.

Definition at line 138 of file test_dewar_load.py.

References _sim().

◆ test_without_a_dewar_the_chill_vents_outside_the_ullage_as_before()

None test_dewar_load.test_without_a_dewar_the_chill_vents_outside_the_ullage_as_before ( )

Definition at line 300 of file test_dewar_load.py.

References _chill().

Variable Documentation

◆ WALL_CP

float test_dewar_load.WALL_CP = 897.0

Definition at line 27 of file test_dewar_load.py.

◆ WALL_MASS

float test_dewar_load.WALL_MASS = 3.63

Definition at line 26 of file test_dewar_load.py.