Module 04 · Lesson 3
Analytical and Numerical Propagation
Propagation turns an orbit at one time into a position at another. This lesson compares two-body, SGP4 and numerical propagators, and shows how to choose between them and test them.
Learning objectives
After this lesson you will be able to:
- Propagate a two-body orbit by advancing mean anomaly and solving Kepler's equation
- Explain what SGP4 and numerical propagators model and what inputs each one requires
- Choose a propagator from an accuracy requirement and test it against reference data and invariants
What propagation is
Propagation is computing where a spacecraft will be, or was, at a time other than the epoch of its orbit data. As a function it takes a state or a set of elements at one time, plus a target time, and returns the state at that time.
A propagator combines a model of the forces on the spacecraft with a method for applying that model over time. Every model is an approximation, and the practical question is how much error an application can accept.
Two-body propagation
The simplest model is the two-body problem from Module 2. Five of the six classical elements are then constant, and only the anomaly has to be computed.
Mean anomaly advances at a constant rate called the mean motion, which depends only on the semi-major axis. To propagate, add the mean motion multiplied by the elapsed time to the mean anomaly at epoch.
Converting mean anomaly M to a position goes through an intermediate angle, the eccentric anomaly E. The two are linked by Kepler's equation, M = E - e * sin(E). Going from E to M is direct, but the other way has no closed-form solution, so the equation is solved by iteration. Newton's method works well.
const MU_EARTH = 398600.4418; // km^3/s^2
const DEG = Math.PI / 180; // radians per degree
// Solve M = E - e sin(E) for E. Angles in radians, 0 <= e < 1.
function solveKepler(M: number, e: number, tolerance = 1e-12): number {
let E = e < 0.8 ? M : Math.PI; // starting guess
for (let iteration = 1; iteration <= 50; iteration++) {
const step = (E - e * Math.sin(E) - M) / (1 - e * Math.cos(E));
E -= step;
if (Math.abs(step) < tolerance) return E;
}
throw new Error('Kepler solver did not converge');
}
function trueAnomaly(E: number, e: number): number {
return 2 * Math.atan2(Math.sqrt(1 + e) * Math.sin(E / 2), Math.sqrt(1 - e) * Math.cos(E / 2));
}
// Stated case: a = 10,000 km, e = 0.2, at perigee at epoch, 30 minutes later.
const a = 10000; // km
const e = 0.2;
const n = Math.sqrt(MU_EARTH / a ** 3); // mean motion, rad/s
const M = 0 + n * 1800; // mean anomaly after 1800 s, rad
const E = solveKepler(M, e);
const nu = trueAnomaly(E, e);
const r = a * (1 - e * Math.cos(E)); // distance from the Earth's center, km
console.log(`period ${((2 * Math.PI) / n / 60).toFixed(1)} min`);
console.log(`M ${(M / DEG).toFixed(2)} deg, E ${(E / DEG).toFixed(2)} deg, nu ${(nu / DEG).toFixed(2)} deg`);
console.log(`r ${r.toFixed(1)} km`);
Running it prints:
period 165.9 min
M 65.11 deg, E 76.24 deg, nu 87.73 deg
r 9524.4 km
Thirty minutes is about 18 percent of the period, yet the satellite has swept nearly 88 degrees, about 24 percent of a full turn, because it moves faster near perigee. This case converges in four iterations. Highly eccentric orbits need more, which is why the loop has an iteration limit and an explicit failure.
Two-body propagation is useful for estimates, unit tests and early design. It is not adequate for operating real satellites. In low Earth orbit the Earth's equatorial bulge alone turns the orbital plane by up to several degrees a day, as Module 2 showed. For an orbit like that of the International Space Station, that is tens of kilometers of error after a single revolution.
SGP4, the analytical propagator for TLEs
An analytical propagator evaluates closed-form formulas for the state at a requested time. SGP4 is the analytical propagator that pairs with the TLE and OMM data from the previous lesson. Its formulas account for the main effects of the Earth's non-spherical gravity and a simplified model of drag driven by the B* term. For orbits with periods of 225 minutes or more, a deep-space extension adds the influence of the Sun and Moon.
SGP4 takes mean elements and a time since epoch, and returns position and velocity in the TEME frame in kilometers and kilometers per second. It is fast enough that propagating a whole catalog is practical in an interactive application.
Do not write your own. The accepted reference is the implementation published with the paper "Revisiting Spacetrack Report #3", which comes with verification test cases. Choose a port that passes those cases.
Numerical propagation
A numerical propagator computes the path step by step. At each step it evaluates the total acceleration on the spacecraft from a force model, then uses an integrator to advance the position and velocity by a short interval.
The force model is a list of choices:
- the Earth's gravity field in as much detail as required
- atmospheric drag, using a density model driven by measurements of solar activity
- the gravity of the Sun and Moon
- the pressure of sunlight
- thrust during maneuvers
Integrators range from a fixed-step Runge-Kutta method to adaptive methods that adjust their step size to hold a stated error tolerance.
This approach can be far more accurate, but it needs a precise initial state from orbit determination, the spacecraft's mass, area and drag properties, and current space weather data. For low orbits the limiting factor is usually drag, because the density of the upper atmosphere depends on solar activity that cannot be forecast precisely. The output is normally an ephemeris. Open-source tools in this category include the Orekit library and NASA's General Mission Analysis Tool.
Choosing a propagator
| Method | Input | Typical use |
|---|---|---|
| Two-body | State or instantaneous elements | Estimates, tests, teaching |
| SGP4 | TLE or OMM mean elements | Catalog tracking, pass prediction, visualization |
| Numerical | Precise state, spacecraft properties, environment data | Orbit determination, maneuver planning, precise products |
Two rules prevent most mistakes. First, match the propagator to the data. Mean elements go to SGP4 and nowhere else. Second, fidelity cannot recover accuracy that the inputs lack. A TLE-derived state run through a detailed force model is not more accurate than SGP4.
Start from the requirement, as a service starts from an objective. State the acceptable position error and the prediction span, then pick the cheapest method that meets it. The parallel has a limit. A service can measure its latency continuously, but a satellite's true position is not available at prediction time, so error can only be assessed afterward.
Testing propagators
Propagation code fails quietly. A wrong constant or a misapplied frame still produces a smooth, plausible orbit. Tests therefore need independent sources of truth.
- Reference test cases. Run the published SGP4 verification cases, or cases generated by a trusted tool, and compare within a stated tolerance in kilometers. This is golden-file testing.
- Invariants. With two-body gravity only, energy and angular momentum must stay constant, and the satellite must return to its starting point after one period. These suit property-based tests.
- Independent implementations. Compare with a second library across many orbit types, or with later tracking of the real satellite.
- Edge cases. Test eccentricity near zero and near one, inclination near zero, and propagation backward in time.
Try it: Kepler's equation at work
The model below solves Kepler's equation as you move the Mean anomaly slider. Raise Eccentricity towards 0.9 and watch how far the True anomaly runs ahead of the mean anomaly just after perigee, and how many rounds of Newton's method the solution takes.
Three ways to say where
Interactive model
The share of the lap that has passed since perigee, as an angle. This is the one that keeps time.
How stretched the orbit is: 0 is a circle.
The clock hand turns steadily. Watch the satellite run ahead of it near perigee and fall behind near apogee.
Kepler’s equation, M = E − e sin E, with the angles in radians: 0.873 = 1.470 − 0.60 × 0.995.
Going from the mean anomaly M to the eccentric anomaly E has no formula. The model starts from the guess E = M and improves it with Newton’s method until the equation balances to within a billionth of a degree: here that took 5 rounds.
- Mean anomaly
- 50.0°
- Eccentric anomaly
- 84.2°
- True anomaly
- 122.1°
- Share of the lap elapsed
- 13.9%
- Steps to solve Kepler’s equation
- 5
Challenges
0 of 1 done
To do: With an eccentricity of 0.7, find the mean anomaly at which the true anomaly is 90 degrees (within 3 degrees), with the clock stopped.
Hint
Near perigee the satellite is moving fast, so it turns a long way around the Earth in a small share of the lap. Look for a mean anomaly much smaller than 90 degrees, and use the arrow keys for small steps.
A practical example: a propagator for a pass-prediction service
A team is building a service that predicts ground station passes for 40 customer satellites in low Earth orbit, seven days ahead, so that antenna time can be booked.
The team writes down the requirement first. For booking a week ahead, pass times good to within some tens of seconds are enough, because bookings include padding. For pointing the antenna during the pass, timing must be good to about a second.
That leads to two tiers. Week-ahead predictions use SGP4 on the latest GP data and are regenerated daily. For the final day, the service prefers an ephemeris supplied by the satellite operator, produced by the operator's numerical propagator and including any planned maneuvers.
The SGP4 port must pass the published verification cases in continuous integration. A nightly job compares the predictions made on earlier days with those from today's fresh data and records how the error grows with the age of the elements. That record becomes the team's measured error budget.
The next module turns positions into things operators use: ground tracks, look angles and pass predictions.
Key takeaways
- In two-body motion only the mean anomaly changes, and it changes linearly with time. Kepler's equation converts it to a position and has to be solved by iteration.
- SGP4 is the analytical propagator that pairs with TLE and OMM data. Use a verified implementation and never mix its mean elements with another model.
- Numerical propagators integrate a force model step by step. They can be very accurate, but only as accurate as the initial state, the spacecraft properties and the environment data they are given.
- Choose from the requirement - how much position error is acceptable over what time span - and test with reference vectors, physical invariants and independent implementations.
Knowledge check
Check your understanding. These questions are not graded and you can retry as often as you like.
0 of 3 questions answered.
Glossary
Propagation
Computing the state of a spacecraft at one time from its state or elements at another time, using a model of the forces acting on it.
Mean motion
The average angular rate of a satellite around its orbit, equal to a full revolution divided by the period. It is the rate at which mean anomaly advances.
Kepler's equation
The relation M = E - e sin E between mean anomaly M, eccentric anomaly E and eccentricity e. It has no closed-form solution for E and is solved by iteration.
Eccentric anomaly
An intermediate angle, measured at the center of the ellipse, that links the time-like mean anomaly to the geometric true anomaly.
SGP4
Simplified General Perturbations 4, the analytical orbit model used to create and to propagate TLE and OMM mean elements.
Force model
The set of accelerations a numerical propagator includes, such as the Earth's detailed gravity field, atmospheric drag, the pull of the Sun and Moon, and solar radiation pressure.
References and further reading
Finished this lesson?
Loading your progress…
Lesson version 1.0.0.