|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Classes | |
| class | InjectorBindings |
Functions | |
| InjectorBindings | bindings_for (str injector_type) |
| dict | default_geometry_for (str injector_type) |
| dict | default_discharge_for (str injector_type) |
| List[str] | frozen_param_fields_for (str injector_type) |
| List[str] | validate_config_bindings (Any config) |
Variables | |
| dict | INJECTOR_BINDINGS |
| dict | INJECTOR_GEOMETRY_TEMPLATES |
| dict | _GEOMETRY_CD_PARAMS |
| dict | INJECTOR_DISCHARGE_BASELINES |
| list | _FROZEN_COMMON |
| dict | _FROZEN_INJECTOR |
Injector-type physics bindings — single source of truth (UNIFICATION_PLAN Phase 2b, decision D4).
Audited reality (2026-06-11), which these bindings encode rather than invent:
* SMD: ``PintleInjector.solve`` hard-binds ``smd_pintle`` (``spray.smd.model`` is IGNORED on the
pintle path); ``ImpingingInjector.solve`` hard-binds ``smd_impinging_tn4222`` (``spray.smd.model``
is IGNORED — legacy lefebvre on doublets yielded bogus ~1 µm D32).
* Geometry-Cd (``cd_inf_from_orifice_diameter``): called only on the impinging path; pintle keeps
fixed ``Cd_inf`` semantics (this is WHY anchor A stayed bit-compatible with main).
* Layer-1 design vector: pintle 10 DOF (integer dim [6]); impinging 13 DOF (integer dim [4]).
``validate_config_bindings`` flags physically-incoherent combos LOUDLY (log warnings at load time)
instead of letting them run silently — the hardcoded-Cd bug class. It does not mutate the config:
behavior changes only happen explicitly in Phase 3 with anchor verification.
| InjectorBindings engine.core.dispatch.bindings_for | ( | str | injector_type | ) |
Definition at line 54 of file dispatch.py.
| dict engine.core.dispatch.default_discharge_for | ( | str | injector_type | ) |
Per-stream discharge-Cd baseline for a freshly-switched injector type. Empty for types without a registered baseline (caller then leaves discharge untouched).
Definition at line 117 of file dispatch.py.
| dict engine.core.dispatch.default_geometry_for | ( | str | injector_type | ) |
Default injector.geometry block for a freshly-switched injector type.
Definition at line 86 of file dispatch.py.
| List[str] engine.core.dispatch.frozen_param_fields_for | ( | str | injector_type | ) |
Frozen-param field names valid for this injector type (chamber-common + injector-specific).
Definition at line 137 of file dispatch.py.
| List[str] engine.core.dispatch.validate_config_bindings | ( | Any | config | ) |
Return human-readable warnings for combos that contradict the physics bindings. Warn-only by design (Phase 2b): the loader logs these; nothing is mutated so golden anchors cannot shift. Tightening to hard errors / auto-derivation is a Phase-3 decision.
Definition at line 145 of file dispatch.py.
|
protected |
Definition at line 127 of file dispatch.py.
|
protected |
Definition at line 129 of file dispatch.py.
|
protected |
Definition at line 101 of file dispatch.py.
| dict engine.core.dispatch.INJECTOR_BINDINGS |
Definition at line 32 of file dispatch.py.
| dict engine.core.dispatch.INJECTOR_DISCHARGE_BASELINES |
Definition at line 105 of file dispatch.py.
| dict engine.core.dispatch.INJECTOR_GEOMETRY_TEMPLATES |
Definition at line 67 of file dispatch.py.