Path: Interplanetary/OrbitInsertion
% RHS for 2D polar orbit, angle formulation
Inputs include the throttle and thrust angle.
Default data structure is for Pluto.
u is the radial direction and v is the tangent direction.
--------------------------------------------------------------------------
Form:
xDot = RHS2DPolarOrbit( x, t, d )
--------------------------------------------------------------------------
------
Inputs
------
x (4,1) [r;u;v;theta] [km;km/s;km/s;rad/s]
t (1,1) Time (s) (unused)
d (.) Data structure describing spacecraft model
.a (1,1) Throttle
.phi (1,1) Angle from tangent (rad)
.mu (1,1) Gravitational parameter (km^3/s^2)
.aMax (1,1) Maximum acceleration (km/s^2)
-------
Outputs
-------
xDot (4,1) [rDot;uDot;vDot;thetaDot] [km;km/s;km/s;rad/s]/s
--------------------------------------------------------------------------
Reference: Bryson, A, and Ho Yu-Chi, "Applied Optimal Control",
Hemisphere, p 67.
--------------------------------------------------------------------------
Back to the Interplanetary Module page