FindDepartureLambert:

Path: Interplanetary/InterplanetaryOrbit

% Find the best departure date for TrajectoryBetweenTwoPlanets
 This will scan for one orbit of the departure planet (one of it's years)
 and find date with the best geometry given the desired duration. This
 version using Lambert is more suitable for planets that are close
 together, for example Earth and Mars. It uses the planetary almanac.

 For the struct form of planet2, this will calculate updated orbital
 elements for the new epoch using the gravitational parameter of the sun.
--------------------------------------------------------------------------
   Form:
   [jD,planet2] = FindDepartureLambert( jD0, planet1, planet2, years, doPlot )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   jD0       (1,1)  Start Julian Date
   planet1   (1,1)  Id of departure planet (1-9)
   planet2   (1,1)  Id of arrival planet (1-9) or data structure
                    .name (1,:) Name
                    .el   (1,6) Orbital elements - epoch must be jD0
   years     (1,1)  Mission duration (years)
   doPlot    (1,1)  Create a plot

   -------
   Outputs
   -------
   jD        (1,1)  Updated Julian Date
   planet2    (.)   If planet2 is a structure, updated elements
                    .name (1,:) Name
                    .el   (1,6) Orbital elements - new epoch of jD
   dV        (1,:)  Delta-Vs (km/s)
   jDs       (1,:)  Departure dates

--------------------------------------------------------------------------
 See also PlanetTransferLambert
--------------------------------------------------------------------------

Children:

Interplanetary: InterplanetaryOrbit/PlanetTransferLambert
Interplanetary: Mechanics/SynodicPlanets
Orbit: OrbitMechanics/SynodicFromSemimajorAxes
SC: Ephem/Planets
SC: Ephem/SolarSystemElements
Common: Database/Constant
Common: Graphics/TimeHistory
Common: Time/Date2JD
Common: Time/JDToDateString

Back to the Interplanetary Module page