Path: Orbit/Optimization
% Derivatives for the low-thrust planar orbit problem. This includes radial position, radial velocity and tangential velocity only. This function is specifically for the minimum time problem. It is designed to be called by ode113. The thrust angle is: atan2( lambdaU, lambdaV ) -------------------------------------------------------------------------- Form: varargout = FLowThrust2D( t, x, flag, d ) -------------------------------------------------------------------------- ------ Inputs ------ t (1,1) Time x (8,1) States [r;u;v;m;lambdaR;lambdaU;lambdaV;v/r] flag (1,1) Flag from ode113 d (.) Structure to pass to the integration RHS .thrust .mDot .mu ------- Outputs ------- xDot (7,1) State derivatives d[r;u;v;m;lambdaR;lambdaU;lambdaV;v/r]/dt or vnew (1,1) Value of constraint isterminal (1,1) 1 if a terminal constraint direction (1,1) Direction --------------------------------------------------------------------------
Common: Database/Constant
Back to the Orbit Module page