Path: Interplanetary/Mechanics
% Search for multiple minima in a porkchop plot Classic impulsive interplanetary trajectories have two minima, dubbed Type I and Type II. These correspond to trajectories with less than 180 degree arc and more than 180 degree arc, or the "short" and "long" way. Either the short or the long transfer may be the minimum delta-V for the launch opportunity. This routine computes the full Lambert solution including the launch geometry for each minima. If plots are requested, it will create the porkchop plot and plot the Lambert transfers. -------------------------------------------------------------------------- Form: [type1,type2] = PorkChopMin( dateRange,tOFRange, planet1, planet2, type, doPlot ) -------------------------------------------------------------------------- ------ Inputs ------ dateRange (1,2) [jDStart jDEnd] (Julian date) tOFRange (1,2) [tOFStart tOFEnd] (days) planetDep (1,:) Departure planet (Only major planets) planetArr (1,:) Arrival planet (Only major planets) type (1,1) 1: departure DV (default) 2: total DV doPlot (1,1) Create plots and text printout ------- Outputs ------- type1 (.) Short opportunity struct .dV.total (1,1) Total DV (km/s) .dV.a (3,1) First DV (km/s) .dV.b (3,1) Second DV (km/s) .jDDep (1,1) Departure date .jDArr (1,1) Arrival date .tOF (1,1) Time of flight (days) .tM (1,1) Transfer flag (+/-1) .rAL (1,1) Launch ascension (rad) .decL (1,1) Launch declination (rad) type2 (.) Long opportunity struct See also: PorkChopTOF, PorkChopPlot --------------------------------------------------------------------------
AerospaceUtils: Coord/U2RADec Interplanetary: Ephemeris/PlanetPosJPL Interplanetary: Mechanics/PorkChopTOF Orbit: OrbitMechanics/LambertTOF Orbit: Visualization/PlotLambertTransfer Orbit: Visualization/PorkChopPlot SC: BasicOrbit/RV2El Common: Database/Constant Common: General/StringMatch Common: Time/Date2JD Common: Time/JDToDateString Math: Linear/Unit
Back to the Interplanetary Module page