Earth-Moon Direct Transfer Optimization Tool

MATLAB script for the preliminary analysis of direct Earth-Moon transfers.
88 Downloads
Updated 24 Dec 2023

Introduction

!! This tool is a work in progress !!

Given an initial guess for the departure date, orbital elements of the transfer orbit, and given the desired lunar orbit height and inclination, this script finds and optimizes a possible trajectory from an Earth circular parking orbit to a circular lunar orbit.

Targeting and delta v optimization are both performed using the fmincon function.

To run this script the following kernels are required:

  • de440.bsp
  • gm_de440.tpc
  • naif0012.tls
  • pck00011.tpc

The kernels can be downloaded at https://naif.jpl.nasa.gov/pub/naif/generic_kernels/ and have to be stored in a folder named \kernels that has to be in the same directory as the script and all the functions.

untitled

Model

Using the n-body problem equations, the force model computes the gravitational forces (only point mass gravity) exerted by the Sun, Moon, and Earth on the spacecraft. The positions of the celestial bodies are obtained from the de440.bsp kernel using the function cspice_spkezr(). The function ode45() is used for propagating the spacecraft trajectory.

Future Improvements

Future improvements will include:

  • higher order gravity perturbations
  • solar radiation pressure
  • performance improvements

Cite As

Franco D'Ilario (2026). Earth-Moon Direct Transfer Optimization Tool (https://github.com/fdilra/Earth-Moon-Direct-Transfer-Optimization-Tool), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.2

Added image.

1.0.1

Updated requirements.

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.