PlanetLambertOpt:

Path: Interplanetary/InterplanetaryOrbit

% Use Lambert with optimization of start and transfer time
 Uses fminsearch and the almanac for ephemeris. First finds the start time
 with minimum delta-V given the estimated transfer time, then searches
 from this point. This is a local minimum and does not exhaustively search
 specific ranges of transfer time, only in the vicinity of the initial
 guess. For exhaustive searching use a porkchop plot.
--------------------------------------------------------------------------
   Form:
   [dV, tOptimal, elT] = PlanetLambertOpt(  jD, dT, planet1, planet2 )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   jD        (1,1)   Start Julian date
   dT        (1,1)   Maximum transfer time to reach target
   planet1	  (1,:)   Name of starting planet, or orbital elements at jD
    -or- el1 (1,6)
   planet2	  (1,:)   Name of ending planet, or orbital elements at jD
    -or- el2 (1,6)

   -------
   Outputs
   -------
   dV         (:)    Delta-V to apply at start time
                      .a     (3,1) First delta-V (km/s)
                      .b     (3,1) Second delta-V (km/s)
                      .total (1,1) Total delta-V
   tOptimal  (1,2)   Optimal start and transfer time
   elT       (1,:)   Elements of the transfer trajectory

--------------------------------------------------------------------------
   See also PlanetTransferLambert, SolarSystemElements, PorkChopTOF
--------------------------------------------------------------------------

Children:

Interplanetary: InterplanetaryOrbit/PlanetTransferLambert
Orbit: OrbitMechanics/SynodicFromSemimajorAxes
SC: Ephem/Planets
SC: Ephem/SolarSystemElements
Common: Database/Constant
Common: Time/Date2JD

Back to the Interplanetary Module page