Skip to content

Documentation / @interstellar-tools/equations / estimateLifetime

Function: estimateLifetime() ​

ts
function estimateLifetime(
  a: number,
  beta: number,
  mu: number,
  Re: number,
  options?: EstimateLifetimeOptionsInterface
): number;

Defined in: orbits/estimate-lifetime.ts:102

Estimate how long a satellite in a near-circular low orbit stays up: the time for atmospheric drag to bring it down to re-entry. For a student CubeSat, it sets the mission's length, and checks the guideline to deorbit within five years of the mission's end.

Integrates the decay of the semi-major axis, from its height down to the re-entry height, with the density at each height:

a˙=−ρ(a−R)μaβ,t=∫R+hrea0βρ(a−R)μada

by Simpson's rule, in steps of at most 500 m.

Where:

  • β=m/(CDA) is the ballistic coefficient (kg/m²), from ballisticCoefficient
  • ρ(h) is the air density at a height (kg/m³)
  • R is the planet's radius, μ its gravitational parameter
  • hre is the re-entry height

Units

  • Inputs: a and Re in m, beta in kg/m², mu in m³/s².
  • Output: the lifetime in s.

An estimate

Uncertain by tens of percent at the least. The density high up changes tenfold with solar activity, which over a lifetime of years follows the 11-year solar cycle and can't be predicted well: a satellite launched at solar minimum can last several times longer than one launched at maximum. The default exponential model is an average. For a better estimate, pass a density from nrlmsise00 with forecast space weather, and compare low, moderate and high activity.

Notes

  • The satellite's attitude matters through β: a tumbling CubeSat's average drag area is about a quarter of its surface.
  • Twice as heavy, or half the area, lasts twice as long: the lifetime is proportional to β.
In practiceA 1U CubeSat from 400 km

Half a year

1.33 kg, 10 cm across, with the average atmosphere

From 500 km, the same CubeSat lasts about three years. At solar minimum it lasts several times longer than at maximum.

ts
const beta = ballisticCoefficient(1.33, 2.2, 0.01);

estimateLifetime(6_778_137, beta, 3.986004418e14, 6_378_137) / 86_400; // ≈ 187 days

Parameters ​

ParameterTypeDescription
anumberSemi-major axis a in m (finite, above the re-entry height).
betanumberBallistic coefficient β in kg/m² (finite, > 0).
munumberThe planet's gravitational parameter μ in m³/s² (finite, > 0).
RenumberThe planet's radius R in m (finite, > 0).
options?EstimateLifetimeOptionsInterfacedensity, a function from height in m to density in kg/m³; and reentryHeight in m (finite, >= 0).

Returns ​

number

The lifetime in s.

Throws ​

  • If a number is not finite, or density is not a function.
  • If beta, mu or Re is not > 0, reentryHeight < 0, a is not above the re-entry height, or the density at a height is not a finite number > 0.

Example ​

ts
// The same CubeSat, with NRLMSISE-00 at low solar activity
const quiet = { f107: 70, f107a: 70, ap: 4 };
const density = (h: number) =>
  nrlmsise00(new Date(), h, 0, 0, quiet).effectiveDensity;

estimateLifetime(6_778_137, beta, 3.986004418e14, 6_378_137, { density });

See ​