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

Functions

 _session (float|None mawp_psig)
None test_a_mid_burn_trip_ends_the_trace_at_the_trip ()
None test_no_trip_no_record ()
None test_a_trip_during_the_settle_burns_nothing ()

Variables

 STAR = Path(__file__).resolve().parents[3]
str DRAWING = STAR / "feed-twin" / "backend" / "diagrams" / "copv_study_he.json"
str TABLES = STAR / "feed-twin" / "backend" / "statemachines"
str ENGINE = STAR / "EngineDesign" / "configs" / "ethalox_doublet_7000N.yaml"
str CEA = STAR / "EngineDesign" / "output" / "cache" / "cea_cache_LOX_Ethanol_3D.npz"
 pytestmark
float MAWP_PSIG = 480.0
 PLAN

Detailed Description

A vessel trip ends the burn.

The session trips the stand when a vessel goes over the pressure its drawing
rates it for, and from then on returns the frame it failed on. A burn that
carried on stepping integrated that frozen frame to its horizon: on the LE4
audit's fuel tank restated at 600 psi it reported 99,478 N.s over 14 s against
the real ~24,000 (EngineDesign/docs/layerx/AUDIT.md 5.2). The burn now stops on
the step that trips and says which vessel, when, at what pressure, against what.

The helium drawing's regulator climbs the tanks over a burn (its supply-pressure
effect), so a fuel tank restated just above the primed pressure trips a few
tenths of a second after Fire -- not at T-0, and long before the horizon.

Function Documentation

◆ _session()

test_burn_trip._session ( float | None mawp_psig)
protected

◆ test_a_mid_burn_trip_ends_the_trace_at_the_trip()

None test_burn_trip.test_a_mid_burn_trip_ends_the_trace_at_the_trip ( )

Definition at line 79 of file test_burn_trip.py.

References _session().

◆ test_a_trip_during_the_settle_burns_nothing()

None test_burn_trip.test_a_trip_during_the_settle_burns_nothing ( )
Restated below the lockup the settle presses to: the stand trips before
T-0, the settle reports it, and the burn records no steps.

Definition at line 127 of file test_burn_trip.py.

References _session().

◆ test_no_trip_no_record()

None test_burn_trip.test_no_trip_no_record ( )

Definition at line 118 of file test_burn_trip.py.

References _session().

Variable Documentation

◆ CEA

str test_burn_trip.CEA = STAR / "EngineDesign" / "output" / "cache" / "cea_cache_LOX_Ethanol_3D.npz"

Definition at line 39 of file test_burn_trip.py.

◆ DRAWING

str test_burn_trip.DRAWING = STAR / "feed-twin" / "backend" / "diagrams" / "copv_study_he.json"

Definition at line 36 of file test_burn_trip.py.

◆ ENGINE

str test_burn_trip.ENGINE = STAR / "EngineDesign" / "configs" / "ethalox_doublet_7000N.yaml"

Definition at line 38 of file test_burn_trip.py.

◆ MAWP_PSIG

float test_burn_trip.MAWP_PSIG = 480.0

Definition at line 49 of file test_burn_trip.py.

◆ PLAN

test_burn_trip.PLAN
Initial value:
1= BurnPlan(
2 tank_psi=473.5, loads={"OXT": 6.0, "FUT": 4.0}, settle=False, lead_in_s=0.1,
3 horizon_s=2.0,
4)

Definition at line 51 of file test_burn_trip.py.

◆ pytestmark

test_burn_trip.pytestmark
Initial value:
1= pytest.mark.skipif(
2 not (DRAWING.exists() and TABLES.is_dir() and ENGINE.exists() and CEA.exists()),
3 reason="helium drawing, tables, engine config or CEA table absent",
4)

Definition at line 41 of file test_burn_trip.py.

◆ STAR

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

Definition at line 35 of file test_burn_trip.py.

◆ TABLES

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

Definition at line 37 of file test_burn_trip.py.