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

Functions

 cfg ()
 _run (cfg)
 test_a_configured_charge_is_checked_not_sized (cfg)
 test_without_a_charge_the_panel_sizes_and_says_so (cfg)
 test_the_check_and_the_sizing_agree_on_the_sized_charge (cfg)

Variables

str CFG = "tests/fixtures/ethalox_6500N_doublet_cad_2026-09-28.yaml"
 R_N2
 T0

Detailed Description

The Time-Series COPV panel checks the charge the config loads, and labels a sized number as one.

It always SIZED: the P0 that just meets the curve in the configured volume, so the margin is zero
by construction -- and the panel showed that as "P0 2644 psia, Min Margin 0.1 psi" in green on the
LE4 (3) stand, whose press_tank.initial_gas_mass of 1.312 kg in 4.619 L is a ~3,800 psia charge.

Function Documentation

◆ _run()

◆ cfg()

test_timeseries_copv_charge.cfg ( )

Definition at line 20 of file test_timeseries_copv_charge.py.

◆ test_a_configured_charge_is_checked_not_sized()

test_timeseries_copv_charge.test_a_configured_charge_is_checked_not_sized ( cfg)

Definition at line 31 of file test_timeseries_copv_charge.py.

References _run().

◆ test_the_check_and_the_sizing_agree_on_the_sized_charge()

test_timeseries_copv_charge.test_the_check_and_the_sizing_agree_on_the_sized_charge ( cfg)
Checking the charge the sizing asks for gives back the sizing's P0 and a ~zero margin.

Definition at line 57 of file test_timeseries_copv_charge.py.

References _run().

◆ test_without_a_charge_the_panel_sizes_and_says_so()

test_timeseries_copv_charge.test_without_a_charge_the_panel_sizes_and_says_so ( cfg)

Definition at line 48 of file test_timeseries_copv_charge.py.

References _run().

Variable Documentation

◆ CFG

str test_timeseries_copv_charge.CFG = "tests/fixtures/ethalox_6500N_doublet_cad_2026-09-28.yaml"

Definition at line 15 of file test_timeseries_copv_charge.py.

◆ R_N2

test_timeseries_copv_charge.R_N2

Definition at line 16 of file test_timeseries_copv_charge.py.

◆ T0

test_timeseries_copv_charge.T0

Definition at line 16 of file test_timeseries_copv_charge.py.