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

Functions

 _cfg (path)
 test_the_stale_lox_block_is_named_with_the_presets_values ()
 test_a_design_on_the_presets_fluids_is_quiet ()
 test_a_rounding_is_not_drift ()
 test_a_config_without_a_preset_is_not_compared ()
 test_the_shipped_ethalox_designs_carry_the_corrected_lox (name)

Variables

 REPO = Path(__file__).resolve().parents[1]
dict STALE_LOX = {"specific_heat": 2300.0, "bulk_modulus_pa": 1.5e9, "viscosity": 1.8e-4}

Detailed Description

A design whose fluid block disagrees with its propellant preset says so.

An explicit ``fluids`` block wins over the preset on load, so a design saved before the ethalox
preset was corrected against CoolProp keeps LOX cp 2300 (CoolProp Oxygen 90 K: 1699 J/(kg K)),
bulk modulus 1.5e9 (rho a^2: 0.94e9 Pa) and viscosity 1.8e-4 (1.96e-4 Pa s) with no word. The LE4
(3) stand's engine carries that block: forward thrust barely moves, but its chug gate goes 1.445 ->
1.420, the LOX water hammer 3182 -> 2561 psi and the line quarter-wave 2697 -> 2170 Hz.

Function Documentation

◆ _cfg()

◆ test_a_config_without_a_preset_is_not_compared()

test_preset_fluid_drift.test_a_config_without_a_preset_is_not_compared ( )

Definition at line 54 of file test_preset_fluid_drift.py.

References _cfg().

◆ test_a_design_on_the_presets_fluids_is_quiet()

test_preset_fluid_drift.test_a_design_on_the_presets_fluids_is_quiet ( )

Definition at line 39 of file test_preset_fluid_drift.py.

References _cfg().

◆ test_a_rounding_is_not_drift()

test_preset_fluid_drift.test_a_rounding_is_not_drift ( )
default.yaml's LOX boiling point is 90.19 against the methalox preset's 90.2.

Definition at line 45 of file test_preset_fluid_drift.py.

References _cfg().

◆ test_the_shipped_ethalox_designs_carry_the_corrected_lox()

test_preset_fluid_drift.test_the_shipped_ethalox_designs_carry_the_corrected_lox ( name)

Definition at line 64 of file test_preset_fluid_drift.py.

References _cfg().

◆ test_the_stale_lox_block_is_named_with_the_presets_values()

test_preset_fluid_drift.test_the_stale_lox_block_is_named_with_the_presets_values ( )

Definition at line 26 of file test_preset_fluid_drift.py.

References _cfg().

Variable Documentation

◆ REPO

test_preset_fluid_drift.REPO = Path(__file__).resolve().parents[1]

Definition at line 16 of file test_preset_fluid_drift.py.

◆ STALE_LOX

dict test_preset_fluid_drift.STALE_LOX = {"specific_heat": 2300.0, "bulk_modulus_pa": 1.5e9, "viscosity": 1.8e-4}

Definition at line 17 of file test_preset_fluid_drift.py.