Skip to content

Documentation / @interstellar-tools/equations / ballisticPeakDecelerationAltitude

Function: ballisticPeakDecelerationAltitude() ​

ts
function ballisticPeakDecelerationAltitude(
  gamma: number,
  beta: number,
  rho0: number,
  H: number
): number;

Defined in: entry/ballistic-peak-deceleration-altitude.ts:52

Compute the altitude of peak deceleration in a ballistic entry, with the Allen–Eggers solution.

h∗=Hln⁡ρ0Hβsin⁡|γ|

Where:

  • β is the ballistic coefficient (kg/m²)
  • γ is the flight-path angle (rad)
  • ρ0 and H describe an exponential atmosphere, ρ=ρ0e−h/H

Units

  • Inputs: gamma in radians, beta in kg/m², rho0 in kg/m³, H in m.
  • Output: h∗ in m.

Notes

  • Unlike the size of the peak (ballisticPeakDeceleration), its altitude does depend on the vehicle: a higher β peaks lower down.
  • A negative result means the vehicle would reach the surface before its deceleration peaks: it hits the ground still fast.
  • Same assumptions as ballisticEntrySpeed.

Parameters ​

ParameterTypeDescription
gammanumberFlight-path angle γ in radians (finite, non-zero, within [-π/2, π/2]).
betanumberBallistic coefficient β in kg/m² (finite, > 0).
rho0numberReference density ρ0 in kg/m³ (finite, > 0).
HnumberScale height H in m (finite, > 0).

Returns ​

number

Altitude of peak deceleration h∗ in m (negative if below the surface).

Throws ​

  • If any input is not a finite number.
  • If beta, rho0 or H is <= 0, or gamma is zero or past vertical.

Example ​

ts
import type { Radians } from '@interstellar-tools/types';

// A 322 kg/m² capsule, 6.5° below horizontal, in Earth's atmosphere
const h = ballisticPeakDecelerationAltitude(
  ((-6.5 * Math.PI) / 180) as Radians,
  322,
  1.225,
  7200
);
// h ≈ 39.5 km

See ​