Physics & Motion Model
This section describes the physical motion model used in the Moonlander simulation. It covers gravitational modeling, thrust-induced acceleration, numerical integration of motion, and the computation of experienced g-loads.
Lunar Gravity Model
The gravitational acceleration is modeled as a radial force pointing toward the center of the Moon. Its magnitude decreases with the square of the distance from the lunar center.
From orbital mechanics follows:
Where:
• is the spacecraft position vector
• distance from the lunar center
• is the lunar gravitational constant
Thrust Acceleration
The acceleration produced by the spacecraft's engines is calculated by dividing the thrust force by the spacecraft mass and applying it along the thrust direction:
Where:
• is the thrust acceleration vector [m/s²]
• is the unit vector in the direction of the thrust force
• is the thrust magnitude produced by the engine [N]
• is the current spacecraft mass [kg]
Total Acceleration
The total acceleration acting on the spacecraft is the superposition of thrust-induced acceleration and gravitational acceleration.
Motion Integration
Position and velocity are updated using constant-acceleration kinematic equations over a discrete time step .
This approach provides a stable and computationally efficient integration scheme suitable for real-time simulation.
G-Load (Proper Acceleration)
The experienced g-load is computed from the proper acceleration, which excludes gravitational acceleration.
Where g_0 = 9.80665 m/s^2 is standard Earth gravity. This value represents the acceleration actually felt by the spacecraft structure and crew.
Summary
- Radial inverse-square gravity model for the Moon
- Vector-based thrust and acceleration computation
- Discrete-time kinematic integration
- Physically correct g-load estimation