Skip to content

Location

Leonberg, DE

Python · numerics · tests

RAC, simulating how the moon formed

Simulation of the Theia scenario: the Moon's path as a grey arc, Theia's red path reaching Earth after 354 hours
Period
2026
Stack
  • [Python]
  • [NumPy]
  • [Matplotlib]
  • [pytest]
Code
Private repository

Problem

Scientific Programming Lab: integrate the Earth-Moon system numerically, and work through the Theia hypothesis, according to which the Moon formed from a collision between the young Earth and a protoplanet.

Solution

The simulation lives in its own modules (collision, data, visualisation) with test coverage, the evaluation in a notebook. Two scripts produce the data, the notebook draws the orbits from it.