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

Functions

 solved ()
 no_rocketcea (monkeypatch)
 _rows (hc)
 test_the_check_runs_and_says_what_it_could_not_check (solved, no_rocketcea)
 test_c_star_is_checked_against_the_committed_wide_table (solved, no_rocketcea)
 test_a_clamped_mixture_ratio_shows_up_as_a_c_star_disagreement (solved, no_rocketcea)

Variables

float PSI = 6894.757
str CFG = "tests/fixtures/ethalox_6500N_doublet_cad_2026-09-28.yaml"

Detailed Description

Forward mode's independent check runs where rocketcea is not installed.

The API image leaves rocketcea out on purpose (it builds CEA from Fortran; requirements-base.txt),
and handcheck imported it first thing: POST /api/evaluate on the LE4 (3) stand came back with
``handcheck = {"rows": [], "error": "ModuleNotFoundError: No module named 'rocketcea'"}`` and the
page said only "Independent check: unavailable". Nothing tested handcheck at all.

Without rocketcea the textbook rows (mass balance, F = Cf Pc_ns At, Isp, the injector's Sutton 8-1,
Rupe M, stay time) need no CEA and must run; c* is checked against the committed wide CEA table;
the rows that need live CEA say so, and ``note`` says why.

Function Documentation

◆ _rows()

◆ no_rocketcea()

test_handcheck_without_rocketcea.no_rocketcea ( monkeypatch)
Make ``import rocketcea`` fail here even where it is installed.

Definition at line 36 of file test_handcheck_without_rocketcea.py.

◆ solved()

test_handcheck_without_rocketcea.solved ( )

Definition at line 25 of file test_handcheck_without_rocketcea.py.

◆ test_a_clamped_mixture_ratio_shows_up_as_a_c_star_disagreement()

test_handcheck_without_rocketcea.test_a_clamped_mixture_ratio_shows_up_as_a_c_star_disagreement ( solved,
no_rocketcea )
The wide table spans O/F 0.1-20 where the design's cache stops at 2.5: past the edge the
model's c* is the edge's, the table's is the point's, and the row says so.

Definition at line 70 of file test_handcheck_without_rocketcea.py.

References _rows().

◆ test_c_star_is_checked_against_the_committed_wide_table()

test_handcheck_without_rocketcea.test_c_star_is_checked_against_the_committed_wide_table ( solved,
no_rocketcea )

Definition at line 60 of file test_handcheck_without_rocketcea.py.

References _rows().

◆ test_the_check_runs_and_says_what_it_could_not_check()

test_handcheck_without_rocketcea.test_the_check_runs_and_says_what_it_could_not_check ( solved,
no_rocketcea )

Definition at line 46 of file test_handcheck_without_rocketcea.py.

References _rows().

Variable Documentation

◆ CFG

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

Definition at line 21 of file test_handcheck_without_rocketcea.py.

◆ PSI

float test_handcheck_without_rocketcea.PSI = 6894.757

Definition at line 20 of file test_handcheck_without_rocketcea.py.