Skip to content

fdilra/Earth-Moon-Direct-Transfer-Optimization-Tool

Repository files navigation

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

About

MATLAB script for the preliminary analysis of direct Earth-Moon transfers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published