|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| float | ambient_pa (cfg) |
| Tuple[float, float, float, float, float, Optional[float]] | mission_metrics (Dict[str, Any] result) |
| bool | full_mission_ok (float F, float MR, float R_mom, float r_o, float r_f, *, float thrust_band=0.05, float mr_band=0.05, float r_band=0.10, float dp_lo=0.20, float dp_hi=0.35) |
| float | fuel_geometry_for_ratio (float a_o, float ratio_ao_af, int n_f) |
| None | task1_high_pressure_sweep (cfg_base, float p_lo, float p_hi, int n_steps) |
| patch_near_mission_seed (cfg) | |
| Dict[str, Any] | build_pressure_config (float max_lox, float max_fuel) |
| None | summarize_layer1 (str tag, Dict[str, Any] results) |
| None | run_layer1_case (*, str tag, cfg_seed, Dict[str, Any] requirements, Dict[str, Any] pressure_config, int layer1_iters) |
| None | main () |
Variables | |
| ROOT = Path(__file__).resolve().parents[1] | |
| float | PSI_TO_PA = 6894.757293168361 |
| float | TARGET_F = 8000.0 |
| float | TARGET_MR = 3.5 |
Audit Gemini-style proposals without changing repo defaults. 1) High tank-pressure sweep (evaluate-only): geometry fixed near mission; sweep P_O,P_F up to ~1150 psi. 2) Layer 1 W_MOM sensitivity (75 / 300 / 1000 / 3000), smoke CMA, shared short budget. 3) Layer 1 with n_elements_O/F frozen (25 / 63), other impinging DOFs + pressures free. Run from repo root: PYTHONPATH=. python scripts/audit_gemini_proposals.py PYTHONPATH=. python scripts/audit_gemini_proposals.py --layer1-iters 8 # faster Uses configs/impinging_lox_ch4_8000N.yaml (deepcopy only).
| float audit_gemini_proposals.ambient_pa | ( | cfg | ) |
The engine solver's site ambient (engine.core.runner, the 1976 standard atmosphere).
Definition at line 41 of file audit_gemini_proposals.py.
Referenced by task1_high_pressure_sweep().
| Dict[str, Any] audit_gemini_proposals.build_pressure_config | ( | float | max_lox, |
| float | max_fuel ) |
Definition at line 181 of file audit_gemini_proposals.py.
Referenced by main().
| float audit_gemini_proposals.fuel_geometry_for_ratio | ( | float | a_o, |
| float | ratio_ao_af, | ||
| int | n_f ) |
Definition at line 89 of file audit_gemini_proposals.py.
References max.
Referenced by task1_high_pressure_sweep().
| bool audit_gemini_proposals.full_mission_ok | ( | float | F, |
| float | MR, | ||
| float | R_mom, | ||
| float | r_o, | ||
| float | r_f, | ||
| * | , | ||
| float | thrust_band = 0.05, | ||
| float | mr_band = 0.05, | ||
| float | r_band = 0.10, | ||
| float | dp_lo = 0.20, | ||
| float | dp_hi = 0.35 ) |
Definition at line 61 of file audit_gemini_proposals.py.
Referenced by summarize_layer1(), and task1_high_pressure_sweep().
| None audit_gemini_proposals.main | ( | ) |
Definition at line 242 of file audit_gemini_proposals.py.
References build_pressure_config(), main(), patch_near_mission_seed(), run_layer1_case(), and task1_high_pressure_sweep().
Referenced by main().
| Tuple[float, float, float, float, float, Optional[float]] audit_gemini_proposals.mission_metrics | ( | Dict[str, Any] | result | ) |
Returns F, MR, R_mom, r_dp_o, r_dp_f, Pc.
Definition at line 49 of file audit_gemini_proposals.py.
Referenced by task1_high_pressure_sweep().
| audit_gemini_proposals.patch_near_mission_seed | ( | cfg | ) |
Definition at line 170 of file audit_gemini_proposals.py.
Referenced by main().
| None audit_gemini_proposals.run_layer1_case | ( | * | , |
| str | tag, | ||
| cfg_seed, | |||
| Dict[str, Any] | requirements, | ||
| Dict[str, Any] | pressure_config, | ||
| int | layer1_iters ) |
Definition at line 217 of file audit_gemini_proposals.py.
References summarize_layer1().
Referenced by main().
| None audit_gemini_proposals.summarize_layer1 | ( | str | tag, |
| Dict[str, Any] | results ) |
Definition at line 189 of file audit_gemini_proposals.py.
References full_mission_ok().
Referenced by run_layer1_case().
| None audit_gemini_proposals.task1_high_pressure_sweep | ( | cfg_base, | |
| float | p_lo, | ||
| float | p_hi, | ||
| int | n_steps ) |
Definition at line 94 of file audit_gemini_proposals.py.
References ambient_pa(), fuel_geometry_for_ratio(), full_mission_ok(), and mission_metrics().
Referenced by main().
| float audit_gemini_proposals.PSI_TO_PA = 6894.757293168361 |
Definition at line 36 of file audit_gemini_proposals.py.
| audit_gemini_proposals.ROOT = Path(__file__).resolve().parents[1] |
Definition at line 27 of file audit_gemini_proposals.py.
| float audit_gemini_proposals.TARGET_F = 8000.0 |
Definition at line 37 of file audit_gemini_proposals.py.
| float audit_gemini_proposals.TARGET_MR = 3.5 |
Definition at line 38 of file audit_gemini_proposals.py.