|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| None | _clean_frozen (Dict[str, Any] req) |
| float | _sf (Any x) |
| Tuple[float, float] | _dp_ratios (Dict[str, Any] perf) |
| Tuple[float, float] | _cds (Dict[str, Any] perf) |
| None | _scale_dc (DischargeConfig dc, float factor) |
| Any | _cd_scaled_cfg (Any base_cfg, float fo, float ff) |
| bool | _mission_ok (Dict[str, Any] perf, *, float r_lo, float r_hi, float dp_lo, float dp_hi) |
| None | _print_cd_audit (Path cfg_path) |
| None | _print_case (str name, Dict[str, Any] perf, Any opt_cfg, *, Tuple[float, float] r_band) |
| None | _cd_sensitivity_grid (Any opt_cfg, float po_pa, float pf_pa) |
| None | main () |
Variables | |
| ROOT = Path(__file__).resolve().parents[1] | |
| float | PSI_TO_PA = 6894.76 |
Part 2–3: free-throat Layer-1 with relaxed momentum_ratio_R bands + metrics/Cd reporting.
Requirements keys (optimizer-only; no injector physics edits)::
impinging_momentum_R_min / impinging_momentum_R_max — ratio-space deadband for W_MOM hinge
Runs Case A [0.85, 1.15] and Case B [0.75, 1.25], then ±10%% Cd scaling diagnostic on Case B optimum.
Also prints Part 1 Cd model summary from YAML ``discharge`` + ``engine.core.discharge.cd_from_re``.
|
protected |
Definition at line 81 of file run_layer1_relaxed_momentum_cd_audit.py.
References _scale_dc().
Referenced by _cd_sensitivity_grid().
|
protected |
Definition at line 166 of file run_layer1_relaxed_momentum_cd_audit.py.
References _cd_scaled_cfg().
Referenced by main().
|
protected |
Definition at line 69 of file run_layer1_relaxed_momentum_cd_audit.py.
References _sf().
Referenced by _print_case(), and main().
|
protected |
Definition at line 35 of file run_layer1_relaxed_momentum_cd_audit.py.
Referenced by main().
|
protected |
Definition at line 55 of file run_layer1_relaxed_momentum_cd_audit.py.
Referenced by _mission_ok(), and _print_case().
|
protected |
Definition at line 88 of file run_layer1_relaxed_momentum_cd_audit.py.
References _dp_ratios(), and _sf().
Referenced by main().
|
protected |
Definition at line 133 of file run_layer1_relaxed_momentum_cd_audit.py.
References _cds(), and _dp_ratios().
Referenced by main().
|
protected |
Definition at line 112 of file run_layer1_relaxed_momentum_cd_audit.py.
Referenced by main().
|
protected |
Definition at line 76 of file run_layer1_relaxed_momentum_cd_audit.py.
References min.
Referenced by _cd_scaled_cfg().
|
protected |
Definition at line 45 of file run_layer1_relaxed_momentum_cd_audit.py.
Referenced by _cds(), and _mission_ok().
| None run_layer1_relaxed_momentum_cd_audit.main | ( | ) |
Definition at line 189 of file run_layer1_relaxed_momentum_cd_audit.py.
References _cd_sensitivity_grid(), _cds(), _clean_frozen(), _mission_ok(), _print_case(), _print_cd_audit(), and main().
Referenced by main().
| float run_layer1_relaxed_momentum_cd_audit.PSI_TO_PA = 6894.76 |
Definition at line 27 of file run_layer1_relaxed_momentum_cd_audit.py.
| run_layer1_relaxed_momentum_cd_audit.ROOT = Path(__file__).resolve().parents[1] |
Definition at line 24 of file run_layer1_relaxed_momentum_cd_audit.py.