Tested on Windows and UNIX (MacOS). Modifications for compatibility are not required.
To Install:
Clone the GitHub Directory
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/
The de438.bsp planetary kernel file is required. Download it HERE and copy/paste it to: orbitalmechanics_rp/src/SPKs
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. limitsexecutionerrors.m Propagation of random generated execution errors within std. dev. limitsTrajVis.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 Trajectoriestwobodyprop.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