RHSAlphaCentauriMission:

Path: Interplanetary/AlphaCentauri

% Simple dynamical model for a flight to Alpha-Centauri.
--------------------------------------------------------------------------
   Form:
   xDot = RHSAlphaCentauriMission( x, t, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x              (7,:)    [r;v;m] Position, velocity, and spacecraft mass
                           in km, km/s, kg. If no thrust: set m=0.
   t              (1,1)    Time in seconds after jD0
   d              (1,1)    Structure
                           .center (1,1) 1 = sun, 2 = alpha-centauri
                           .thrust (1,3) Thrust vector in N (m>0 only)
                           .uE     (1,1) Exhaust velocity in m/s (m>0only)
                           .mDry   (1,1) Dry mass in kg (m>0 only)
   
   -------
   Outputs
   -------
   xDot           (7,:)    [v;a;mDot], time derivative of each element of 
                           x in km/s, km/s^2, kg/s 
--------------------------------------------------------------------------
   See also AlphaCentauriFlight
--------------------------------------------------------------------------

Children:

Interplanetary: AlphaCentauri/AlphaCentauriSystem
SC: Ephem/SunV1
Math: Linear/Mag

Back to the Interplanetary Module page