Class MassDepletionDelay

  • All Implemented Interfaces:
    AdditionalDerivativesProvider

    public class MassDepletionDelay
    extends Object
    implements AdditionalDerivativesProvider
    Generator for effect of delaying mass depletion when delaying a maneuver, when the mass itself is not included in the transition matrix. It neglects the influence of mass in other force models e.g. drag. For more accurate derivatives, one should use the full 7x7 state transition matrix instead.
    Since:
    11.1
    Author:
    Luc Maisonobe
    • Constructor Detail

      • MassDepletionDelay

        public MassDepletionDelay​(String triggerName,
                                  boolean manageStart,
                                  Maneuver maneuver,
                                  ForceModel... nonGravitationalForces)
        Constructor.

        The generated additional state and derivatives will be named by prepending the PREFIX to the name of the date trigger parameter.

        Parameters:
        triggerName - name of the date trigger parameter
        manageStart - if true, we compute derivatives with respect to maneuver start
        maneuver - maneuver that is delayed
        nonGravitationalForces - list of non-gravitational forces, used only if mass is not in STM. They are assumed to be inversely depending on mass.
    • Method Detail

      • getName

        public String getName()
        Get the name of the additional derivatives (which will become state once integrated).
        Specified by:
        getName in interface AdditionalDerivativesProvider
        Returns:
        name of the additional state (names containing "orekit" with any case are reserved for the library internal use)
      • init

        public void init​(SpacecraftState initialState,
                         AbsoluteDate target)
        Initialize the generator at the start of propagation.
        Specified by:
        init in interface AdditionalDerivativesProvider
        Parameters:
        initialState - initial state information at the start of propagation
        target - date of propagation
      • combinedDerivatives

        public CombinedDerivatives combinedDerivatives​(SpacecraftState state)
        Compute the derivatives related to the additional state (and optionally main state increments).
        Specified by:
        combinedDerivatives in interface AdditionalDerivativesProvider
        Parameters:
        state - current state information: date, kinematics, attitude, and additional states this equations depend on (according to the yields method)
        Returns:
        computed combined derivatives, which may include some incremental coupling effect to add to main state derivatives