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.
Where:
is the ballistic coefficient (kg/m²) is the flight-path angle (rad) and describe an exponential atmosphere,
Units
- Inputs:
gammain radians,betain kg/m²,rho0in kg/m³,Hin m. - Output:
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
| Parameter | Type | Description |
|---|---|---|
gamma | number | Flight-path angle |
beta | number | Ballistic coefficient |
rho0 | number | Reference density |
H | number | Scale height |
Returns
number
Altitude of peak deceleration
Throws
- If any input is not a finite number.
- If
beta,rho0orHis<= 0, orgammais 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