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

Classes

class  _Runner

Functions

 _run (runner, duration=3.994, n=200)
 test_levels_start_at_the_load_and_the_shortfall_is_said ()
 test_a_load_that_covers_the_burn_adds_no_warning ()
 test_without_a_load_the_levels_are_the_curves_consumption_as_before ()
 test_the_curves_themselves_are_not_cut ()

Detailed Description

Time-Series tank fill levels start from the configured load, and a curve that needs more says so.

They used to start from the mass the curve consumes, so every run ended at exactly 0: on the LE4
(3) stand's engine at 578/578 psia for the config's 3.994 s the chart drew 7.55 kg of LOX for a
tank loaded with 6.61 kg (lox_tank.mass, the fire load), while the Flight tab on the same series
said the LOX runs dry at 3.50 s. Hand check: 6.611 kg / 1.8755 kg/s = 3.525 s.

Function Documentation

◆ _run()

◆ test_a_load_that_covers_the_burn_adds_no_warning()

test_timeseries_fill_levels.test_a_load_that_covers_the_burn_adds_no_warning ( )

Definition at line 55 of file test_timeseries_fill_levels.py.

References _run().

◆ test_levels_start_at_the_load_and_the_shortfall_is_said()

test_timeseries_fill_levels.test_levels_start_at_the_load_and_the_shortfall_is_said ( )

Definition at line 41 of file test_timeseries_fill_levels.py.

References _run(), and min.

◆ test_the_curves_themselves_are_not_cut()

test_timeseries_fill_levels.test_the_curves_themselves_are_not_cut ( )
This tab solves the curve it is given; the Flight tab truncates at dry-out.

Definition at line 68 of file test_timeseries_fill_levels.py.

References _run().

◆ test_without_a_load_the_levels_are_the_curves_consumption_as_before()

test_timeseries_fill_levels.test_without_a_load_the_levels_are_the_curves_consumption_as_before ( )

Definition at line 61 of file test_timeseries_fill_levels.py.

References _run().