STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
flight_cases Namespace Reference

Functions

 header_curve (int n=200)
 shipped ()
 curve_integrals ()
 roomy_tanks (cfg, float load_factor=1.001, float fill=0.8)
 fly (cfg, curve=None)
 fly_helpers (cfg, curve=None)

Variables

str CONFIG = Path(__file__).resolve().parents[1] / "configs" / "ethalox_6500N.yaml"
float BURN_S = 3.8978
float OF = 1.5013

Detailed Description

Shared inputs for the flight tests: the shipped 6.5 kN vehicle and its thrust curve.

The curve is the one the config header states for the flat dome-regulated burn through the
time-varying solver: thrust 6500.0 -> 6601.9 N and mdot 2.7976 -> 2.8550 kg/s, linear over
3.8978 s, split at the delivered O/F 1.5013. Using the header numbers keeps these tests off the
engine solver, which is not what they check.

Function Documentation

◆ curve_integrals()

flight_cases.curve_integrals ( )

Definition at line 37 of file flight_cases.py.

References header_curve().

Referenced by roomy_tanks().

◆ fly()

flight_cases.fly ( cfg,
curve = None )
ui.flight_sim.setup_flight on the curve, quietly.

Definition at line 57 of file flight_cases.py.

References header_curve().

◆ fly_helpers()

flight_cases.fly_helpers ( cfg,
curve = None )
The Flight tab's path: engine.optimizer.copv_flight_helpers.run_flight_simulation.

Definition at line 70 of file flight_cases.py.

References header_curve().

◆ header_curve()

flight_cases.header_curve ( int n = 200)

Definition at line 24 of file flight_cases.py.

Referenced by curve_integrals(), fly(), and fly_helpers().

◆ roomy_tanks()

flight_cases.roomy_tanks ( cfg,
float load_factor = 1.001,
float fill = 0.8 )
Tanks sized so the curve's own propellant fills them to `fill`: no cap can bite.

Definition at line 42 of file flight_cases.py.

References curve_integrals().

◆ shipped()

flight_cases.shipped ( )

Definition at line 31 of file flight_cases.py.

Variable Documentation

◆ BURN_S

float flight_cases.BURN_S = 3.8978

Definition at line 20 of file flight_cases.py.

◆ CONFIG

str flight_cases.CONFIG = Path(__file__).resolve().parents[1] / "configs" / "ethalox_6500N.yaml"

Definition at line 19 of file flight_cases.py.

◆ OF

float flight_cases.OF = 1.5013

Definition at line 21 of file flight_cases.py.