|Top Previous Next|
There are numerous ways to solve ordinary differential equations (ODEs) including but not limited to numerical integration and collocation. Numerical integration can sometimes cause sensitivity in optimization/targeting problems and thereby decrease the probability that the optimizer will converge on a solution. Collocation is significantly less sensitive than integration in these situations, and often offers improved convergence when solving spacecraft trajectory problems. FreeFlyer provides many built-in numerical integrators for propagating Spacecraft; these numerical integrators solve ODEs one step at a time and are dependent on the step size while collocation solves across the entire trajectory in parallel. The TrajectoryPhase object uses the 3rd-order Legendre-Gauss-Lobatto (LGL) collocation transcription.
Through the TrajectoryPhase.CollocationOptions property, users have the ability to edit properties that pertain specifically to the collocation dynamical solver including the ForceModel. The example below demonstrates setting up a TrajectoryPhase object and configuring the ForceModel through the TrajectoryPhase.CollocationOptions property: