STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
engine.pipeline.config_schemas.ClosureConfig Class Reference
Inheritance diagram for engine.pipeline.config_schemas.ClosureConfig:
[legend]
Collaboration diagram for engine.pipeline.config_schemas.ClosureConfig:
[legend]

Static Public Attributes

int max_iterations = Field(default=6, gt=0, description="Max closure iterations")
float Cd_reduction_factor
float tolerance = Field(default=1e-4, gt=0, description="Convergence tolerance")

Detailed Description

Closure iteration configuration

Definition at line 1381 of file config_schemas.py.

Member Data Documentation

◆ Cd_reduction_factor

float engine.pipeline.config_schemas.ClosureConfig.Cd_reduction_factor
static
Initial value:
= Field(
default=1.0,
ge=0,
le=1,
description=(
"Multiplier applied to the injector Cd each time the spray constraints are "
"violated. 1.0 = OFF, which is the default and the physical answer. "
"WAS 0.95, and that is not a discharge coefficient -- a drilled orifice does "
"not flow less because its spray is long. Measured on the 8 kN ethalox point: "
"the loop shrank Cd from 0.6017 to 0.4658 (0.6055 * 0.95^5, exactly), a 23% "
"error that propagates straight into orifice sizing, and at a realistic Cd the "
"same hardware then makes +11.9% thrust with dP/Pc falling to 0.164, under the "
"0.20 chug floor. Worse, the feedback has the WRONG SIGN: lower Cd means lower "
"jet velocity, larger SMD and a LONGER evaporation length, so x* went from "
"0.1256 m to 0.1338 m while the limit it was chasing is 0.05 m. It never "
"converged -- it just exhausted max_iterations. An x* violation is an "
"infeasibility to report (it is in diagnostics as x_star), not something to "
"fudge the discharge coefficient for. Set below 1.0 only to reproduce a legacy run."
),
)

Definition at line 1384 of file config_schemas.py.

◆ max_iterations

int engine.pipeline.config_schemas.ClosureConfig.max_iterations = Field(default=6, gt=0, description="Max closure iterations")
static

Definition at line 1383 of file config_schemas.py.

◆ tolerance

float engine.pipeline.config_schemas.ClosureConfig.tolerance = Field(default=1e-4, gt=0, description="Convergence tolerance")
static

Definition at line 1404 of file config_schemas.py.


The documentation for this class was generated from the following file: