Orbital Mechanics Library

for MATLAB and Python

Available HERE


Compatibility and Installation

Tested on Windows and UNIX (MacOS). Modifications for compatibility are not required.

To Install:

  1. Clone the GitHub Directory
  2. Most of the files require the NAIF CSPICE toolkit to be installed. Download the ‘mice.zip’ file HERE and extract its contents to: orbitalmechanics_rp/MICE/
  3. The de438.bsp planetary kernel file is required. Download it HERE and copy/paste it to: orbitalmechanics_rp/src/SPKs
  4. RUNNING add /orbitalmechanics_rp to the MATLAB path and make sure to include all files and subfolders.

Functions and Script Demos

pkchp_plotter.m Porkchop Plotter using Lambert Arcs and kernel files.
executionerrors.m Propagation of random generated execution errors within std. dev. limits
executionerrors.m Propagation of random generated execution errors within std. dev. limits
TrajVis.m Europa Clipper Visualization (Requires: 17F12_DIR_L220604_A241223_V2_scpse.bsp from NAIF)
LV_perf.m Launch Vehicle Energy vs. Mass Delivered for Interplanetary Trajectories
twobodyprop.m Earth centered 2BP example using conventional r and v with orbital elements output.
pkchp.py (PYTHON) Porkchop Plotter using the Spiceypy wrapper for SPICE and PyKep Libraries

 

< Back to Projects