Setting up a Force Model
|Top Previous Next|
The ForceModel object defines the forces that will be modeled in the accelerations that are applied when a Spacecraft or Formation are propagated using the Step or Maneuver commands. In order to calculate the trajectory of a Spacecraft, a numerical integrator accesses the forces defined by the Force Model. A Force Model is not used when an Ephemeris is used to propagate the Spacecraft.
Each Spacecraft defines its own individual ForceModel, which allows the user to perform trade studies by varying the applied orbital perturbations. For example, a lifetime study could be performed using identical initial orbital conditions with three different Spacecraft, but each with slightly different solar flux predictions.
A Spacecraft's Force Model consists of the following components:
The total force on a Spacecraft is calculated by:
Force Models are not used with the J2Mean, Norad, and Two Body integrators.
The total force on the spacecraft can be viewed using the Spacecraft.Acceleration property. Additionally, individual components of the total force on the Spacecraft (drag, Earth gravity, solar radiation pressure, etc) can be viewed separately with Spacecraft.Accelerations. In the example below, the individual forces due to Earth gravity, Moon gravity, Sun gravity, and drag are displayed. The total force on the Spacecraft is shown using Spacecraft.Acceleration property, and computed using the individual components of the forces from the Spacecraft.Accelerations property.
The example script above generates the following output when the Force Model contains the forces due to the Earth, Sun, and Moon gravity, and drag.
Accessing the ForceModel via the Spacecraft Object Editor
You can edit a Spacecraft's Force Model through the Spacecraft Object Editor. To reach the Force Model page, double-click the Spacecraft in the Object Browser, and then select the Force Model page from the menu on the left, as shown in the image below.
Creating and Editing a ForceModel Object via FreeFlyer Script
You can also create a ForceModel object via FreeFlyer script, or access the properties of a Force Model created in either script or the Spacecraft object editor via FreeFlyer script.
To create a ForceModel object via FreeFlyer script, you can use the following syntax:
When a Spacecraft is created without specifying a Propagator or Force Model, the default Propagator and Force Model are used. The default Propagator is the RK89 Propagator. You can access the ForceModel using the syntax:
•ForceModel Properties and Methods