ReactionWheelTorque Constructor |
Initializes the reaction wheel torque model.
Namespace:
AGI.Foundation.Celestial
Assembly:
AGI.Foundation.OrbitPropagation (in AGI.Foundation.OrbitPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ReactionWheelTorque(
Scalar spinMagnitude,
UnitCartesian spinAxis,
double spinAxisInertia,
Axes bodyAxes
)
Public Sub New (
spinMagnitude As Scalar,
spinAxis As UnitCartesian,
spinAxisInertia As Double,
bodyAxes As Axes
)
public:
ReactionWheelTorque(
Scalar^ spinMagnitude,
UnitCartesian spinAxis,
double spinAxisInertia,
Axes^ bodyAxes
)
new :
spinMagnitude : Scalar *
spinAxis : UnitCartesian *
spinAxisInertia : float *
bodyAxes : Axes -> ReactionWheelTorque
Parameters
- spinMagnitude
- Type: AGI.Foundation.GeometryScalar
The magnitude of the spin rate of the reaction wheel with respect
to the spacecraft body frame. - spinAxis
- Type: AGI.Foundation.CoordinatesUnitCartesian
The body-fixed spin axis of the reaction wheel. - spinAxisInertia
- Type: SystemDouble
The inertia of the spin axis of the reaction wheel. - bodyAxes
- Type: AGI.Foundation.GeometryAxes
The body axes of the spacecraft using the reaction wheel. These should
be the IntegrationAxes
of the PropagationEulerianAxes associated with the spacecraft.
Exceptions Exception | Condition |
---|
DataUnavailableException |
The evaluator produced by spinMagnitude must include first derivative information
in order to provide a value for the spin acceleration needed to model the reaction wheel torque.
Using a ScalarFixed works because the spin acceleration evaluates to zero.
Using a IntegrationValue only works if the InitialState is
a Motion<Double> that includes both spin rate and spin acceleration.
|
See Also