Spacecraft Trajectory Simulation — Three-Body Problem

Numerical Simulation of Spacecraft Trajectories in the Circular Restricted Three-Body Problem for the Earth–Moon System

Comparative analysis of integrators and development of a web simulator with thrust support

Interactive Applications

3D Trajectory Simulator

Interactive 3D visualization of spacecraft trajectories in the rotating Earth–Moon coordinate frame. Runs entirely in the browser.

HTML / JavaScript

Initial Physics Validation

Verification of the physical model correctness using the Euler method. Plots of position, velocity, and acceleration components.

Streamlit

Lagrange Points

Visualization of convergence to Lagrange points L1–L5 in the three-body problem. Exploration of equilibrium positions.

Streamlit

Documents

Abstract

Circular Restricted Three-Body Problem — theoretical background and model description.

PDF

Talk Outline

Presentation structure

PDF

Presentation

Defense slides: CR3BP model, integrator comparison, experiment results. Version 25.03.2026.

Numerical Experiments

Experiment Overview

7 numerical experiments validate the CR3BP physical model and integrator accuracy. All results are reproducible from source code.

ExperimentKey Result
01 Jacobi DriftIterated Störmer-Verlet preserves the Jacobi integral to 10−11 — 5 orders of magnitude better than Euler
02 Convergence (log-log)Iterated Verlet: slope 1.97±0.03 (R²=0.999), error 0.13 m at dt=30 s
03 Lagrange PointsL1–L5 found numerically; analytical approximations give relative error 0.4–0.8%
04 Halo OrbitPeriodic 3D orbit near L1: period 12.2 days, closure error 3.6 km
05 Free ReturnLunar flyby at 3,399 km, Earth return at 8,081 km; sensitivity: +1 m/s → +89 km at Moon
06 Chaos near L1Lyapunov exponent λ = 0.64 day−1, predictability horizon ~2 days
07 Low ThrustΔv=0.72 m/s deflects from L1 by 101,000 km; fuel 0.12 kg (0.02% of m₀)

Jacobi Integral Drift

The Jacobi integral CJ is the only conserved quantity in CR3BP. Its drift is a direct measure of integrator accuracy. 3 integrators × 2 step modes are compared across three scenarios.

Jacobi drift: halo orbit Jacobi drift: free return Jacobi drift: chaos near L1
ConfigurationHalo OrbitFree ReturnChaos L1
Euler fixed2.22×10−64.84×10−13.12×10−2
Euler adaptive3.53×10−71.53×10−21.04×10−3
Verlet half-step fixed1.10×10−61.60×10−22.70×10−4
Verlet half-step adaptive2.39×10−72.21×10−44.15×10−6
Verlet iterated fixed3.83×10−111.15×10−23.98×10−4
Verlet iterated adaptive1.85×10−121.27×10−54.04×10−7

Integrator Convergence (log-log)

Position error relative to scipy RK45 when integrating a halo orbit for 100 h. The half-step Verlet degrades to O(h) due to the Coriolis force; iterated Verlet recovers O(h²).

Log-log convergence
IntegratorSlopeError at dt=30 sRelative error (d/dEL)
Euler1.008,400 m2.2×10−5
Verlet half-step1.001,900 m4.9×10−6
Verlet iterated1.970.13 m3.4×10−10

Lagrange Points L1–L5

Numerical computation of Lagrange points (bisection / Newton) and comparison with analytical approximations (Hill sphere).

Pointx, kmy, kmError, kmRelative error
L1323,69602,6490.82%
L2446,53101,9770.44%
L3−386,65102,7790.72%
L4188,080332,9202,8120.74%
L5188,080−332,9202,8120.74%

Residual acceleration at found points: < 10−18 m/s².

Halo Orbit near L1

Periodic 3D orbit: Richardson initial approximation (3rd order) + differential correction (shooting method).

3D halo orbit
ParameterValue
Amplitude Az15,000 km
Period293.4 h (12.2 days)
Closure error3.6 km
Jacobi drift3.8 × 10−11

Free Return Trajectory

Apollo-13 type ballistic trajectory: launch from LEO, lunar flyby, Earth return with no engine use.

Free return trajectory Sensitivity
ParameterValue
Launch angle226.5°
TLI velocity (trans-lunar injection)10,779 m/s
Lunar flyby3,399 km (t = 63.6 h)
Earth return8,081 km (t = 168.1 h)
Sensitivity: +1 m/s → Δr Moon≈ 89 km
Sensitivity: +1 m/s → Δr Earth≈ 242 km

Chaotic Sensitivity near L1

16 trajectories launch from L1 with the same speed of 10 m/s but in different directions. Same speed — qualitatively different fates.

Trajectory fan Divergence
ParameterValue
Lyapunov exponent λ0.64 ± 0.16 day−1
Lyapunov time τ = 1/λ1.6 days
Predictability horizon~2 days

Trajectory divergence is exponential (dashed line on the plot — eλt fit). Some trajectories escape toward the Moon (~380,000 km), others loop around the Earth (~80–120,000 km).

Low-Thrust Trajectory Effects

Even a small thrust (<1% of initial velocity) radically changes the trajectory in CR3BP.

Trajectory comparison
ScenarioΔvFuel (chem.)Result
Earth → Moon (5 N, 3 h)108 m/s18 kg (3.6%)Lunar flyby: 2,494 km
Escape from L1 (0.05 N, 2 h)0.72 m/s0.12 kg (0.02%)Departure: 101,000 km
For reference: ideal Hohmann transfer LEO → Moon requires Δv ≈ 3,134 m/s (fuel 328 kg out of 500 kg)

Fuel consumption via Tsiolkovsky equation (Isp=300 s, m0=500 kg). Low thrust is a correction maneuver, not a replacement for an impulsive transfer.