STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.engine.card.EngineCard Class Reference

Public Member Functions

"CardChamber" chamber_model (self, *, float ambient_pressure=101325.0, float volume=0.0)
EngineDesign attach (self, EngineDesign design)
float ambient_pressure (self)
tuple[EngineDesign, "CardChamber"] install (self, EngineDesign design, *, float|None ambient_pressure=None)
dict[str, Any] to_dict (self)
"EngineCard" from_dict (cls, Mapping[str, Any] raw)

Public Attributes

 throat_area
 name
 exit_area

Static Public Attributes

Mapping provenance = field(default_factory=dict)
Mapping fit = field(default_factory=dict)

Detailed Description

An engine downstream of its feed lines, tabulated.

``fit`` is the card's own measured error against the tool that built it,
on points it was not fitted to, so a card that is wrong says so.

Definition at line 285 of file card.py.

Member Function Documentation

◆ ambient_pressure()

float feedtwin.engine.card.EngineCard.ambient_pressure ( self)
The ambient the tool sampled the card at [Pa]; sea level if unsaid.

Definition at line 327 of file card.py.

References provenance.

Referenced by engine.layerx.card._ExpansionScaling.evaluate(), and install().

◆ attach()

EngineDesign feedtwin.engine.card.EngineCard.attach ( self,
EngineDesign design )
``design`` with this card's injector characteristics on its two sides.

The throat has to be the one the card was built for: a card is a
sampled engine, and the same flows through a different throat are a
different chamber pressure.

Definition at line 306 of file card.py.

Referenced by install().

◆ chamber_model()

"CardChamber" feedtwin.engine.card.EngineCard.chamber_model ( self,
* ,
float ambient_pressure = 101325.0,
float volume = 0.0 )

Definition at line 301 of file card.py.

Referenced by install().

◆ from_dict()

"EngineCard" feedtwin.engine.card.EngineCard.from_dict ( cls,
Mapping[str, Any] raw )

◆ install()

tuple[EngineDesign, "CardChamber"] feedtwin.engine.card.EngineCard.install ( self,
EngineDesign design,
* ,
float | None ambient_pressure = None )
``design`` running this card: its injector on the two sides, and its
chamber at ``ambient_pressure`` (the card's own site by default).

The one way an engine card goes onto an engine. The feed-twin cockpit
and EngineDesign's Layer X both install through here, so the same card
is the same engine in both.

Definition at line 331 of file card.py.

References feedtwin.engine.card.CardChamber.ambient_pressure, ambient_pressure(), feedtwin.engine.chamber.Chamber.ambient_pressure, payload.cold_gas_thruster.ColdGasThrusterConfig.ambient_pressure, payload.cold_gas_thruster.ColdGasThrusterResult.ambient_pressure, attach(), and chamber_model().

◆ to_dict()

Member Data Documentation

◆ exit_area

feedtwin.engine.card.EngineCard.exit_area

Definition at line 354 of file card.py.

◆ fit

feedtwin.engine.card.EngineCard.fit = field(default_factory=dict)
static

Definition at line 299 of file card.py.

◆ name

feedtwin.engine.card.EngineCard.name

Definition at line 352 of file card.py.

Referenced by csv_to_eng.core.EngineMetadata.header_line().

◆ provenance

feedtwin.engine.card.EngineCard.provenance = field(default_factory=dict)
static

Definition at line 298 of file card.py.

Referenced by ambient_pressure().

◆ throat_area


The documentation for this class was generated from the following file:
  • lib/feedtwin/feedtwin/engine/card.py