STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
engine.pipeline.vehicle_drag.DragCurves Class Reference

Public Member Functions

List[List[float]] rocketpy (self, bool power_on)
float at (self, float mach, bool power_on=False)
Dict[str, Any] to_dict (self)

Public Attributes

 model
 source

Static Public Attributes

Tuple mach [float, ...]
Tuple cd_power_off [float, ...]
Tuple cd_power_on [float, ...]
Dict inputs = field(default_factory=dict)
Dict components_power_off = field(default_factory=dict)

Detailed Description

Cd(M) with the motor off and on, plus where they came from.

Definition at line 107 of file vehicle_drag.py.

Member Function Documentation

◆ at()

float engine.pipeline.vehicle_drag.DragCurves.at ( self,
float mach,
bool power_on = False )

Definition at line 122 of file vehicle_drag.py.

References cd_power_off, cd_power_on, and mach.

◆ rocketpy()

List[List[float]] engine.pipeline.vehicle_drag.DragCurves.rocketpy ( self,
bool power_on )

Definition at line 118 of file vehicle_drag.py.

References cd_power_off, cd_power_on, and mach.

◆ to_dict()

Dict[str, Any] engine.pipeline.vehicle_drag.DragCurves.to_dict ( self)

Definition at line 126 of file vehicle_drag.py.

Member Data Documentation

◆ cd_power_off

engine.pipeline.vehicle_drag.DragCurves.cd_power_off [float, ...]
static

Definition at line 111 of file vehicle_drag.py.

Referenced by at(), and rocketpy().

◆ cd_power_on

engine.pipeline.vehicle_drag.DragCurves.cd_power_on [float, ...]
static

Definition at line 112 of file vehicle_drag.py.

Referenced by at(), and rocketpy().

◆ components_power_off

Dict engine.pipeline.vehicle_drag.DragCurves.components_power_off = field(default_factory=dict)
static

Definition at line 116 of file vehicle_drag.py.

◆ inputs

engine.pipeline.vehicle_drag.DragCurves.inputs = field(default_factory=dict)
static

Definition at line 115 of file vehicle_drag.py.

◆ mach

engine.pipeline.vehicle_drag.DragCurves.mach [float, ...]
static

Definition at line 110 of file vehicle_drag.py.

Referenced by at(), and rocketpy().

◆ model

engine.pipeline.vehicle_drag.DragCurves.model

Definition at line 128 of file vehicle_drag.py.

Referenced by feedtwin.model.component.ComponentInstance.to_dict().

◆ source

engine.pipeline.vehicle_drag.DragCurves.source

Definition at line 129 of file vehicle_drag.py.


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