|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Static Public Attributes | |
| Optional | line_size |
| float | d_inlet |
| float | A_hydraulic |
| float | K0 = Field(ge=0, description="Base loss coefficient") |
| float | supply_K |
| float | K1 = Field(ge=0, description="Pressure dependence coefficient") |
| Literal | phi_type |
| Optional | length |
| float | K_exit |
| Optional | d_exit |
| List | fittings |
| Optional | roughness_m |
| float | K_entrance |
| Optional | derived_from |
Protected Member Functions | |
| _roughness_needs_length (self) | |
| _resolve_line_size (cls, data) | |
| _warn_area_diameter_mismatch (self) | |
Feed system configuration for one branch (O or F). The feed system is the PLUMBING between tank and injector — line bore plus lumped loss coefficients. It sets how much tank pressure is spent getting propellant to the injector face, so it directly moves the required tank pressure. It is vehicle hardware and is deliberately independent of which propellant flows through it. Give ``line_size`` (preferred — a name from FEED_LINE_SIZES) and the bore and area are derived for you. ``d_inlet``/``A_hydraulic`` remain available for a non-standard passage, and an explicitly-given area always wins over the derived one.
Definition at line 309 of file config_schemas.py.
|
protected |
Fill d_inlet from line_size, and A_hydraulic from d_inlet, before validation. d_inlet and A_hydraulic describe ONE passage two ways, and both used to be required and independently editable, so nothing stopped them from disagreeing -- a stale area silently outlived the diameter next to it. Deriving here means the pair cannot drift, while an explicit A_hydraulic still wins for a genuinely non-circular passage.
Definition at line 429 of file config_schemas.py.
|
protected |
Definition at line 419 of file config_schemas.py.
|
protected |
Flag an A_hydraulic that does not match its own d_inlet (>1% off).
Definition at line 469 of file config_schemas.py.
|
static |
Definition at line 335 of file config_schemas.py.
|
static |
Definition at line 374 of file config_schemas.py.
|
static |
Definition at line 328 of file config_schemas.py.
|
static |
Definition at line 409 of file config_schemas.py.
|
static |
Definition at line 382 of file config_schemas.py.
|
static |
Definition at line 339 of file config_schemas.py.
|
static |
Definition at line 350 of file config_schemas.py.
|
static |
Definition at line 401 of file config_schemas.py.
|
static |
Definition at line 364 of file config_schemas.py.
|
static |
Definition at line 355 of file config_schemas.py.
|
static |
Definition at line 321 of file config_schemas.py.
|
static |
Definition at line 351 of file config_schemas.py.
|
static |
Definition at line 390 of file config_schemas.py.
|
static |
Definition at line 340 of file config_schemas.py.