STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_layerx_stability.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_layerx_stability

Functions

 test_layerx_stability._script ()
 test_layerx_stability.le4 ()
 test_layerx_stability.prep (le4)
Dict[str, Any] test_layerx_stability._series (prep, int n_fire=5, float dt=0.05)
 test_layerx_stability.short (prep)
 test_layerx_stability.test_drawing_inertance_is_sum_L_over_A_by_hand (prep)
 test_layerx_stability.test_config_basis_reproduces_the_replay_exactly (prep, short)
 test_layerx_stability.test_drawing_basis_streams_by_hand (prep, short)
 test_layerx_stability.test_drawing_basis_on_a_drawing_that_declares_nothing_changes_nothing (prep, short)
 test_layerx_stability.test_feed_override_is_opt_in_and_validated (prep, short)
 test_layerx_stability.test_eroded_reproduces_the_solvers_own_eroded_chug (prep, short)
 test_layerx_stability.test_eroded_on_an_uneroded_chamber_changes_nothing (prep, short)
 test_layerx_stability.test_eroded_throat_raises_the_margin_by_the_chamber_gain (prep, short)
Dict[str, Any] test_layerx_stability._ramp_series (float dt, float horizon=0.5)
 test_layerx_stability.test_start_window_by_hand (prep, short)
 test_layerx_stability.test_start_window_from_the_recorded_valve_state (prep, short)
 test_layerx_stability.test_gate_frequency_follows_the_nominal_when_it_sets_the_gate (prep, short)
 test_layerx_stability.test_start_window_removes_the_dt_dependence (prep)
 test_layerx_stability._inputs_at (prep, short, t, basis="config")
 test_layerx_stability.test_nyquist_is_the_models_open_loop_by_hand (prep, short)
 test_layerx_stability.test_tau_sweep_contains_the_gate_and_the_nominal (prep, short)
 test_layerx_stability.test_coolprop_liquid_sound_speeds ()
 test_layerx_stability.test_korteweg_by_hand ()
 test_layerx_stability.test_line_acoustics_on_the_helium_drawing (prep, short)
 test_layerx_stability.test_acoustics_failure_does_not_take_the_margin (prep, short, monkeypatch)
 test_layerx_stability._closed_form (float K_c, float theta, float tau, float Z, float I)
 test_layerx_stability._one_stream (float I, float tau)
 test_layerx_stability.test_chug_with_line_inertance_against_the_closed_form (I)
 test_layerx_stability.test_chug_on_the_closed_form_boundary_reads_neutral (f0)
 test_layerx_stability.test_block_follows_the_data_contract (prep, short)
 test_layerx_stability.golden (le4)
 test_layerx_stability.test_golden_eroded_raises_burnout (golden)
 test_layerx_stability.test_golden_start_window_removes_the_dt_dependence (golden, le4)

Variables

float test_layerx_stability.STUDY_LOCKUP_PSIA = 564.7
 test_layerx_stability.feedtwin = pytest.importorskip("feedtwin", reason="lib/feedtwin is not installed")
 test_layerx_stability.ROOT = Path(__file__).resolve().parents[1]
str test_layerx_stability.BASELINE = ROOT / "docs" / "layerx" / "baseline-2026-10-07.json"
str test_layerx_stability.HE = "copv_study_he"
str test_layerx_stability.SLOW = "1"
float test_layerx_stability.BORE = 10.92e-3
float test_layerx_stability.AREA = math.pi * BORE ** 2 / 4.0