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

Functions

Network _gas_line ()
None test_a_stored_node_lands_where_its_inflow_puts_it ()
None test_storage_on_a_cut_off_node_changes_nothing ()
tuple[C.Session, list[float], float, float] _hold (float seconds=1.5)
None test_two_tanks_held_at_lockup_sit_on_it ()
None test_and_without_storage_the_pair_flip_flops (pytest.MonkeyPatch monkeypatch)

Detailed Description

An ullage is solved with the network, not held at its start-of-step pressure.

A 0.41 L ullage behind a Cv 4 press solenoid moves a psi on about two grams,
and the solenoid passes a hundred grams a second on that psi. Held fixed for a
coupling step, two such tanks on one manifold flip-flopped: one a few psi high
dumping into the manifold, the other taking 100 g/s and refusing nearly all of
it at its supply clip, while the regulator drooped at a phantom 60 g/s that no
vessel ever kept. LE4's pair sat 25 psi under lockup for as long as the press
valves were held open, and Ox Press topped out near 455 psig in a cockpit walk.

``solve_steady(storage=...)`` makes the ullage an unknown with a backward-Euler
storage term; ``Session._ullage_storage`` reads the term off the vessel.

Function Documentation

◆ _gas_line()

Network test_ullage_storage._gas_line ( )
protected

◆ _hold()

tuple[C.Session, list[float], float, float] test_ullage_storage._hold ( float seconds = 1.5)
protected
Pad hold with both press valves open: the LOX ullage collapsing, the
mains shut. Returns the session, the tank spread over the last half, and
the gas the bottle gave and the ullages kept over the whole hold [kg].

Definition at line 61 of file test_ullage_storage.py.

References max, and min.

Referenced by test_and_without_storage_the_pair_flip_flops(), and test_two_tanks_held_at_lockup_sit_on_it().

◆ test_a_stored_node_lands_where_its_inflow_puts_it()

None test_ullage_storage.test_a_stored_node_lands_where_its_inflow_puts_it ( )

Definition at line 35 of file test_ullage_storage.py.

References _gas_line().

◆ test_and_without_storage_the_pair_flip_flops()

None test_ullage_storage.test_and_without_storage_the_pair_flip_flops ( pytest.MonkeyPatch monkeypatch)

Definition at line 101 of file test_ullage_storage.py.

References _hold(), and max.

◆ test_storage_on_a_cut_off_node_changes_nothing()

None test_ullage_storage.test_storage_on_a_cut_off_node_changes_nothing ( )

Definition at line 52 of file test_ullage_storage.py.

References _gas_line().

◆ test_two_tanks_held_at_lockup_sit_on_it()

None test_ullage_storage.test_two_tanks_held_at_lockup_sit_on_it ( )

Definition at line 87 of file test_ullage_storage.py.

References _hold(), and max.