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

Classes

class  PintleEngineRunner

Functions

float compute_ambient_pressure_from_elevation (float elevation_m)

Detailed Description

Main pipeline orchestrator - runs full tank pressure to thrust pipeline

Function Documentation

◆ compute_ambient_pressure_from_elevation()

float engine.core.runner.compute_ambient_pressure_from_elevation ( float elevation_m)
Ambient pressure [Pa] at ``elevation_m`` above sea level: the 1976 U.S. Standard Atmosphere.

Adapted from ``fluids.atmosphere.ATMOSPHERE_1976`` (U.S. Standard Atmosphere 1976, NOAA/NASA/
USAF). This used to be an isothermal exponential ``P0 exp(-M g h / (R T0))`` with T0 held at
288.15 K, which the docstring called a standard atmosphere but is not one: it ignores the
6.5 K/km lapse, so it reads high by 49 Pa at the LE4 site (626.67 m: 94 069.7 vs 94 020.4 Pa),
0.26 % at 1.4 km and 1.25 % at 3 km.

Definition at line 30 of file runner.py.

Referenced by engine.core.runner.PintleEngineRunner._get_ambient_pressure().