Skip to content

Documentation / @interstellar-tools/equations / burnTime

Function: burnTime() ​

ts
function burnTime(
  m0: number,
  dv: number,
  F: number,
  Isp: number,
  g0?: number
): number;

Defined in: manoeuvres/burn-time.ts:62

Compute the burn time needed for a given delta-v, at constant thrust and mass flow.

tb=m0−mfm˙=m0Ispg0F(1−e−Δv/(Ispg0))

Where:

  • m0 is the mass at ignition (kg)
  • Δv is the delta-v of the burn (m/s)
  • F is the thrust (N)
  • Isp is the specific impulse (s)
  • g0 is standard gravity (m/s²)

Units

  • Inputs: m0 in kg, dv in m/s, F in N, Isp in s, g0 in m/s².
  • Output: tb in s.

Notes

  • The propellant used, m0−mf, comes from the rocket equation; the burn time is that mass divided by the massFlowRate.
  • Assumes constant thrust and specific impulse. A throttled engine, like Apollo's descent engine, needs the burn split into steps.
  • dv = 0 gives a burn time of 0.
In practiceApollo 11's lunar module, leaving the Moon

439 s

Ascent stage, 4 888 kg, for 1 850.2 m/s

The flown burn took 434.9 s, 1% less: the thrust and specific impulse used here are the pre-flight predictions.

ts
burnTime(4888, 1850.2, 15_409, 309); // ≈ 439.3 s

Parameters ​

ParameterTypeDefault valueDescription
m0numberundefinedMass at ignition m0 in kg (finite, > 0).
dvnumberundefinedDelta-v of the burn Δv in m/s (finite, >= 0).
FnumberundefinedThrust F in N (finite, > 0).
IspnumberundefinedSpecific impulse Isp in seconds (finite, > 0).
g0?number9.80665Standard gravity g0 in m/s² (finite, > 0). Defaults to 9.80665.

Returns ​

number

Burn time tb in s.

Throws ​

  • If any input is not a finite number.
  • If m0 <= 0, dv < 0, F <= 0, Isp <= 0 or g0 <= 0.

Example ​

ts
// A 1200 kg spacecraft, 500 m/s with a 400 N engine at Isp = 320 s
const t = burnTime(1200, 500, 400, 320);
// t ≈ 1200 * 3138.1 / 400 * (1 - e^(-500/3138.1)) ≈ 1387 s

See ​