Skip to content

Releases: newbiesilas/Flight-Traj-Sim

Flight-Traj-Sim v1.0.0

Choose a tag to compare

@newbiesilas newbiesilas released this 30 Sep 16:56

Flight-Traj-Sim v1.0.0

Point-mass aircraft trajectory simulation - climb, cruise and descent - with
zero runtime dependencies.

Highlights

  • ISA atmosphere (ICAO Doc 7488) in geopotential altitude, troposphere and
    lower stratosphere, matching the standard tables to <0.5 % up to 20 km.
  • Parabolic drag polar with a cubic compressibility increment above M_crit.
  • Turbofan model - thrust lapse T = T_SL * sigma^n, fuel flow TSFC * T.
  • Physically honest vertical phases: the aircraft flies a constant-CAS /
    constant-Mach schedule and the flight-path angle follows from the specific
    excess power
    , sin(gamma) = (T - D) / W, instead of being imposed.
  • Constant-Mach cruise with the throttle trimmed to T = D, which
    reproduces the closed-form Breguet range to 0.15 %.
  • Guards for fuel exhaustion, a stalled climb and a thrust shortfall, so an
    infeasible design is reported instead of producing nonsense.
  • Three front-ends on one model: Python package + CLI, a self-contained
    browser page (web/index.html, no build step, no server) and a native
    Windows GUI.

Downloads

file what it is
FlightTrajSim.exe Windows desktop application, no Python needed (~37 MB)
source code pip install -e . for the package and CLI

Validation

  • 90 pytest tests, including ISA table checks, the Breguet cross-check,
    (L/D)max = 1/(2 sqrt(CD0 k)), and monotonicity of range against mass,
    drag and TSFC.
  • 34 Node checks run the JavaScript model embedded in web/index.html and
    confirm it agrees with the Python solver.