Path: Orbit/RHSOrbit
% Right hand side of the planar orbit equations assuming constant thrust and thrust aligned with the velocity vector. This produces a nearly optimal spiral into or out from an orbit. -------------------------------------------------------------------------- Form: varargout = FOrbLowThrust( t, x, flag, d ) -------------------------------------------------------------------------- ------ Inputs ------ t (1,1) Time x (5,1) The state vector [r;phi;rDot;phiDot;mass] flag (1,:) Flags for ode113 d (1,1) .stoppingCondition (1,:) 'time', 'approaching distance', 'receding distance', 'increasing velocity', 'decreasing velocity', 'escape' .stoppingValue (1,1) value .mu (1,1) gravitational parameters .thrust (1,1) Thrust .uE (1,1) Exhaust velocity .mass (1,1) Dry mass .absTol (1,1) Absolute tolerance .relTol (1,1) Relative tolerance .t (1,:) Time steps ------- Outputs ------- varargout (5,1) The state vector derivative --------------------------------------------------------------------------
Common: Time/JD2T Orbit: OrbitMechanics/VEscape SC: Ephem/SolarSys
Back to the Orbit Module page