|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Public Member Functions | |
| __init__ (self, str|Path lut_path) | |
| EngineEstimate | estimate_from_pressures (self, float P_d_F, float P_d_O, bool use_cache=True) |
Public Attributes | |
| meta = meta | |
| path = path | |
Protected Member Functions | |
| Dict[str, float] | _evaluate (self, Dict[str, float] point) |
Protected Attributes | |
| list | _axes = [] |
| dict | _outputs = {} |
EngineWrapper interface backed by a precomputed engine performance LUT. Loads .npz from generate_controller_lut (engine-only mode). Axes: P_u_fuel, P_u_ox. Outputs: F, MR, P_ch, mdot_F, mdot_O, injector_dp_F, injector_dp_O, stability_score, injector_stiffness_ok.
Definition at line 19 of file engine_lut_wrapper.py.
| engine.control.robust_ddp.engine_lut_wrapper.EngineLUTWrapper.__init__ | ( | self, | |
| str | Path | lut_path ) |
Definition at line 27 of file engine_lut_wrapper.py.
|
protected |
Multilinear interpolation at point.
Definition at line 83 of file engine_lut_wrapper.py.
References controller_lut.engine_lut.EngineLUT._axes, _axes, controller_lut.engine_lut.EngineLUT._outputs, and _outputs.
Referenced by estimate_from_pressures().
| EngineEstimate engine.control.robust_ddp.engine_lut_wrapper.EngineLUTWrapper.estimate_from_pressures | ( | self, | |
| float | P_d_F, | ||
| float | P_d_O, | ||
| bool | use_cache = True ) |
Estimate engine performance from tank/ullage pressures via LUT lookup. Parameters P_d_F, P_d_O are tank pressures (P_u_fuel, P_u_ox).
Definition at line 48 of file engine_lut_wrapper.py.
References _evaluate().
|
protected |
Definition at line 33 of file engine_lut_wrapper.py.
Referenced by _evaluate().
|
protected |
Definition at line 40 of file engine_lut_wrapper.py.
Referenced by _evaluate().
| engine.control.robust_ddp.engine_lut_wrapper.EngineLUTWrapper.meta = meta |
Definition at line 45 of file engine_lut_wrapper.py.
| engine.control.robust_ddp.engine_lut_wrapper.EngineLUTWrapper.path = path |