DME Component Libraries for .NET 2024 r1

## Propagation |

Propagation, in the context of DME Component Libraries, is the process of taking a set of initial conditions at a particular time and employing a specific algorithm to determine the conditions at some other time. The library includes specialized propagators for modeling the motion of satellites, aircraft, and surface vehicles.

Available Propagators

Propagator | Description |
---|---|

The Two-Body propagator considers only the force of gravity from a primary body which is modeled as a point mass. | |

The two-body state transition matrix propagator considers only the force of gravity from a primary body which is modeled as a point mass. It propagates the state transition matrix of the spacecraft rather than the position and velocity of the spacecraft. | |

The J2 Perturbation (first-order) propagator accounts for secular variations in the orbit elements due to oblateness. This propagator does not model atmospheric drag or solar or lunar gravitational forces. | |

The J4 Perturbation (second-order) propagator accounts for secular variations in the orbit elements due to oblateness. This propagator does not model atmospheric drag or solar or lunar gravitational forces. The J4 propagator includes the first- and second-order effects of J2 and the first-order effects of J4. The J3 coefficient, which produces long period periodic effects, is not included. | |

The Simplified General Perturbations (SGP4) propagator is used with two-line mean element (TLE) sets. It considers secular and periodic variations due to oblateness, solar and lunar gravitational effects, gravitational resonance effects and orbital decay using a simple drag model. | |

Propagates a set of initial conditions using a long-term propagation technique to determine when the orbit is expected to decay, based on the evolution of the mean orbital elements under the effects of gravitational, atmospheric, and solar perturbations. | |

Propagates a Global Positioning System (GPS) satellite according to the IS-GPS-200D interface specification. | |

Defines a point-by-point path with respect to the surface of an ellipsoid by specifying the longitude, latitude, and height at each point. | |

A general propagator which propagates a set of state elements using their derivatives. | |

Allows the modeling of trajectories and other states where the type of propagation varies over the lifetime of the object being modeled. Can also be used to solve for solutions to target states. | |

Calculates a ballistic trajectory (two body gravity only) between two locations on a CentralBody. | |

Constructs a geometrically defined route from a sequential list of procedures and connection segments. |

Using Propagators

Creating a propagator requires defining the initial conditions. Each propagator utilizes slightly different initial conditions. See the reference documentation for each propagator. This example shows how to create a TwoBodyPropagator:

C#

GregorianDate orbitEpoch = new GregorianDate(2007, 5, 30, 12, 0, 0); JulianDate orbitEpochJD = new JulianDate(orbitEpoch); Motion<Cartesian> elementsAtEpoch = new Motion<Cartesian>( new Cartesian(12000000.0, 0.0, 0.0), // initial position new Cartesian(0.0, 5763.0, 0.0)); // initial velocity TwoBodyPropagator propagator = new TwoBodyPropagator( orbitEpochJD, CentralBodiesFacet.GetFromContext().Earth.InertialFrame, elementsAtEpoch, WorldGeodeticSystem1984.GravitationalParameter);

The propagators currently available in DME Component Libraries can efficiently produce data both at a single time and over an entire interval. When a propagator is producing data at a single time we say it is operating in a "one-point" mode. Of course, you can still produce data for multiple times by evaluating each in turn, but there are no special requirements on the times. For example, it is not required that the input times be evaluated in increasing order.

To propagate at individual times, call the GetEvaluator method to obtain an evaluator. Then, call the Evaluate method on the evaluator instance. The following example evaluates the position and velocity of a spacecraft at later times:

C#

MotionEvaluator<Cartesian> evaluator = propagator.GetEvaluator(); Motion<Cartesian> elementsAfter1Day = evaluator.Evaluate(orbitEpochJD.AddDays(1.0), 1); Motion<Cartesian> elementsAfter2Days = evaluator.Evaluate(orbitEpochJD.AddDays(2.0), 1);

Evaluating in this way produces position information in the native reference frame of the propagator. The native reference frame can be identified by the propagator's ReferenceFrame property.

It is also possible to propagate over an entire range of times using the Propagate method. This method takes a start date, a stop date, the time step between each point, and the reference frame in which the ephemeris should be generated, and returns a DateMotionCollection<Cartesian> containing all of the propagated points.

C#

GregorianDate startDate = new GregorianDate(2007, 6, 1, 12, 0, 0); GregorianDate stopDate = new GregorianDate(2007, 7, 1, 12, 0, 0); Duration step = Duration.FromSeconds(60.0); JulianDate startDateJD = new JulianDate(startDate); JulianDate stopDateJD = new JulianDate(stopDate); EarthCentralBody earth = CentralBodiesFacet.GetFromContext().Earth; DateMotionCollection<Cartesian> ephemeris = propagator.Propagate(startDateJD, stopDateJD, step, 1, earth.FixedFrame);

Most propagators also have a CreatePoint method that creates a Point representing the position and velocity produced by the propagator. This is helpful if you want to create a vehicle whose motion is defined by a propagator. This example configures a satellite to have its LocationPoint defined by a TwoBodyPropagator:

C#

```
Platform satellite = new Platform();
satellite.LocationPoint = propagator.CreatePoint();
```

The CreatePoint method is also helpful for observing the motion produced by the propagator in different reference frames. This example uses the point returned by CreatePoint to find the position and velocity produced by the propagator in the Earth Fixed reference frame:

C#

PropagatorPoint point = propagator.CreatePoint(); ReferenceFrame earthFixedFrame = CentralBodiesFacet.GetFromContext().Earth.FixedFrame; PointEvaluator evaluator = GeometryTransformer.ObservePoint(point, earthFixedFrame); Motion<Cartesian> fixedElementsAfter1Day = evaluator.Evaluate(orbitEpochJD.AddDays(1.0), 1); Motion<Cartesian> fixedElementsAfter2Days = evaluator.Evaluate(orbitEpochJD.AddDays(2.0), 1);

Using Two-Body State Transition Matrix Propagator

Creating a two-body state transition matrix propagator requires defining a two-body propagator first. This example shows how to create a TwoBodyStateTransitionMatrixPropagator from a pre-existing TwoBodyPropagator:

C#

// The propagation starts at the orbit epoch of the pre-existing two-body propagator. JulianDate epoch = twoBodyPropagator.OrbitEpoch; const double stepSize = 60.0; // Seconds. const int durationDays = 1; JulianDate stopTime = epoch.AddDays(durationDays); // Construct the two-body state transition matrix propagator. var stmPropagator = new TwoBodyStateTransitionMatrixPropagator(twoBodyPropagator); // Create an evaluator and then propagate the state transition matrix for one day in one minute increments. var group = new EvaluatorGroup(); DynamicMatrixEvaluator evaluator = stmPropagator.GetEvaluator(group); DateMotionCollection<Matrix> stateTransitionMatrices = evaluator.Evaluate(epoch, stopTime, Duration.FromSeconds(stepSize), 0);

More explanatory details associated with state transition matrices can be found in Covariance and Uncertainty. Details about how to numerically propagate state transition matrices using more sophisticated force models are also available on that page.