Table of Contents

Class GravityGradientEffector

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This module implements a first order gravity gradient torque acting on a spacecraft. It is written in a general manner such that one or more gravitational objects are considered. This allows a continued simulation to apply gravity gradients torque near the Earth, the moon and onwards to Mars.


public class GravityGradientEffector : DynamicEffector
Inheritance
GravityGradientEffector

Constructors

GravityGradientEffector()

Default constructor

protected GravityGradientEffector()

Methods

ComputeDynamics(double)

Method to compute the force and torque on the body. This will be triggered by the spacecraft on an Update call.

public override void ComputeDynamics(double time)

Parameters

time double

[s] The current integration time

LinkStateProperties(StateModel)

Links and registers any of the states from the state model that is associated with the root object.

public override void LinkStateProperties(StateModel properties)

Parameters

properties StateModel

The model that contains the list of states to fetch

OnCreate()

Called when the 'Component' is created from the controller.

protected override void OnCreate()

OnLoad(double)

Called after all of the data has been loaded from a save state on this object. This enables any post-load operations to be performed and extra data to be loaded from the metadata.

protected override void OnLoad(double time)

Parameters

time double

[s] The current clock time of the simulation