public class IsisSpinBiasSlewComputer extends Object
TabulatedSlew.| Constructor and Description |
|---|
IsisSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxAllowedIn,
double durationMaxIn,
double dtConvergenceThresholdIn,
double[][] inertiaMatrixIn,
double rwTorqueAllocAccelIn,
double rwTorqueAllocDecelIn,
double rwDeltaMomentumAllocIn,
double[][] rwMatrixIn,
double tranquillisationTimeIn)
Constructor with default maximum number of iterations allowed for slew duration computation's convergence.
|
IsisSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxAllowedIn,
double durationMaxIn,
double dtConvergenceThresholdIn,
double[][] inertiaMatrixIn,
double rwTorqueAllocAccelIn,
double rwTorqueAllocDecelIn,
double rwDeltaMomentumAllocIn,
double[][] rwMatrixIn,
double tranquillisationTimeIn,
int maxIterationsNumberIn)
Constructor.
|
IsisSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxAllowedIn,
double durationMaxIn,
double dtConvergenceThresholdIn,
double[][] inertiaMatrixIn,
double rwTorqueAllocAccelIn,
double rwTorqueAllocDecelIn,
double rwDeltaMomentumAllocIn,
double[][] rwMatrixIn,
double tranquillisationTimeIn,
int maxIterationsNumberIn,
String natureIn)
Constructor.
|
IsisSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxAllowedIn,
double durationMaxIn,
double dtConvergenceThresholdIn,
double[][] inertiaMatrixIn,
double rwTorqueAllocAccelIn,
double rwTorqueAllocDecelIn,
double rwDeltaMomentumAllocIn,
double[][] rwMatrixIn,
double tranquillisationTimeIn,
String natureIn)
Constructor with default maximum number of iterations allowed for slew duration computation's
convergence.
|
| Modifier and Type | Method and Description |
|---|---|
TabulatedSlew |
computeAnalytical(PVCoordinatesProvider pvProv,
AttitudeProvider initialLaw,
AbsoluteDate initialDateIn,
AttitudeProvider finalLaw,
AbsoluteDate finalDate)
Compute the slew (analytical version).
|
double |
computeDuration(PVCoordinatesProvider pvProv,
AttitudeProvider initialLaw,
AbsoluteDate initialDateIn,
AttitudeProvider finalLaw,
AbsoluteDate finalDate)
Computes the slew duration.
|
TabulatedSlew |
computeNumerical(PVCoordinatesProvider pvProv,
AttitudeProvider initialLaw,
AbsoluteDate initialDateIn,
AttitudeProvider finalLaw,
AbsoluteDate finalDate)
Compute the slew (numerical version).
|
void |
setThrowExceptionOnMaxIterations(boolean throwExceptionOnMaxIterations)
Set the boolean to decide if an exception is thrown when the max number of iterations arrive
|
public IsisSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxAllowedIn,
double durationMaxIn,
double dtConvergenceThresholdIn,
double[][] inertiaMatrixIn,
double rwTorqueAllocAccelIn,
double rwTorqueAllocDecelIn,
double rwDeltaMomentumAllocIn,
double[][] rwMatrixIn,
double tranquillisationTimeIn)
dtSCAOIn - time step (s)thetaMaxAllowedIn - maximum slew angular amplitude allowed (rad)durationMaxIn - maximum duration expected for the slew, including the tranquilisation phase (s)dtConvergenceThresholdIn - convergence threshold for the iterative computation of the slew duration (s)inertiaMatrixIn - satellite inertia matrix in satellite reference frame (kg.m^2)rwTorqueAllocAccelIn - torque allocation for each RW during the acceleration phase (N.m)rwTorqueAllocDecelIn - torque allocation for each RW during the deceleration phase (assumed > 0) (N.m)rwDeltaMomentumAllocIn - angular momentum allocation for each RW during the manoeuvre (N.m.s)rwMatrixIn - cosine directors matrix of the reaction wheels in the satellite reference frame. Matrix
3xN_RW with N_RW wheels (Reaction wheels spin axes written in column in the satellite reference
frame).tranquillisationTimeIn - tranquilisation time after the end of the slew (s)public IsisSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxAllowedIn,
double durationMaxIn,
double dtConvergenceThresholdIn,
double[][] inertiaMatrixIn,
double rwTorqueAllocAccelIn,
double rwTorqueAllocDecelIn,
double rwDeltaMomentumAllocIn,
double[][] rwMatrixIn,
double tranquillisationTimeIn,
int maxIterationsNumberIn)
dtSCAOIn - time step (s)thetaMaxAllowedIn - maximum slew angular amplitude allowed (rad)durationMaxIn - maximum duration expected for the slew, including the tranquilisation phase (s)dtConvergenceThresholdIn - convergence threshold for the iterative computation of the slew duration (s)inertiaMatrixIn - satellite inertia matrix in satellite reference frame (kg.m^2)rwTorqueAllocAccelIn - torque allocation for each RW during the acceleration phase (N.m)rwTorqueAllocDecelIn - torque allocation for each RW during the deceleration phase (assumed > 0) (N.m)rwDeltaMomentumAllocIn - angular momentum allocation for each RW during the manoeuvre (N.m.s)rwMatrixIn - cosine directors matrix of the reaction wheels in the satellite reference frame. Matrix
3xN_RW with N_RW wheels (Reaction wheels spin axes written in column in the satellite reference
frame).tranquillisationTimeIn - tranquilisation time after the end of the slew (s)maxIterationsNumberIn - maximum number of iterations allowed for slew duration computation's convergencepublic IsisSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxAllowedIn,
double durationMaxIn,
double dtConvergenceThresholdIn,
double[][] inertiaMatrixIn,
double rwTorqueAllocAccelIn,
double rwTorqueAllocDecelIn,
double rwDeltaMomentumAllocIn,
double[][] rwMatrixIn,
double tranquillisationTimeIn,
String natureIn)
dtSCAOIn - time step (s)thetaMaxAllowedIn - maximum slew angular amplitude allowed (rad)durationMaxIn - maximum duration expected for the slew, including the tranquilisation
phase (s)dtConvergenceThresholdIn - convergence threshold for the iterative computation of the
slew duration (s)inertiaMatrixIn - satellite inertia matrix in satellite reference frame (kg.m^2)rwTorqueAllocAccelIn - torque allocation for each RW during the acceleration phase (N.m)rwTorqueAllocDecelIn - torque allocation for each RW during the deceleration phase
(assumed > 0) (N.m)rwDeltaMomentumAllocIn - angular momentum allocation for each RW during the manoeuvre
(N.m.s)rwMatrixIn - cosine directors matrix of the reaction wheels in the satellite reference
frame. Matrix 3xN_RW with N_RW wheels (Reaction wheels spin axes written in column in
the satellite reference frame).tranquillisationTimeIn - tranquilisation time after the end of the slew (s)natureIn - leg naturepublic IsisSpinBiasSlewComputer(double dtSCAOIn,
double thetaMaxAllowedIn,
double durationMaxIn,
double dtConvergenceThresholdIn,
double[][] inertiaMatrixIn,
double rwTorqueAllocAccelIn,
double rwTorqueAllocDecelIn,
double rwDeltaMomentumAllocIn,
double[][] rwMatrixIn,
double tranquillisationTimeIn,
int maxIterationsNumberIn,
String natureIn)
dtSCAOIn - time step (s)thetaMaxAllowedIn - maximum slew angular amplitude allowed (rad)durationMaxIn - maximum duration expected for the slew, including the tranquilisation
phase (s)dtConvergenceThresholdIn - convergence threshold for the iterative computation of the
slew duration (s)inertiaMatrixIn - satellite inertia matrix in satellite reference frame (kg.m^2)rwTorqueAllocAccelIn - torque allocation for each RW during the acceleration phase (N.m)rwTorqueAllocDecelIn - torque allocation for each RW during the deceleration phase
(assumed > 0) (N.m)rwDeltaMomentumAllocIn - angular momentum allocation for each RW during the manoeuvre
(N.m.s)rwMatrixIn - cosine directors matrix of the reaction wheels in the satellite reference
frame. Matrix 3xN_RW with N_RW wheels (Reaction wheels spin axes written in column in
the satellite reference frame).tranquillisationTimeIn - tranquilisation time after the end of the slew (s)maxIterationsNumberIn - maximum number of iterations allowed for slew duration
computation's convergencenatureIn - leg naturepublic void setThrowExceptionOnMaxIterations(boolean throwExceptionOnMaxIterations)
throwExceptionOnMaxIterations - boolean indicating if an exception is thrown or the duration
is returned when the computation loop arrives to the maxIterationspublic TabulatedSlew computeAnalytical(PVCoordinatesProvider pvProv, AttitudeProvider initialLaw, AbsoluteDate initialDateIn, AttitudeProvider finalLaw, AbsoluteDate finalDate) throws PatriusException
pvProv - satellite PV coordinates through timeinitialLaw - initial attitude law (before the slew)initialDateIn - slew start date (null if slew defined with its end date)finalLaw - final attitude law (after the slew)finalDate - slew end date (null if slew defined with its start date)PatriusException - thrown if computation failed or if dates are both null or not nullpublic TabulatedSlew computeNumerical(PVCoordinatesProvider pvProv, AttitudeProvider initialLaw, AbsoluteDate initialDateIn, AttitudeProvider finalLaw, AbsoluteDate finalDate) throws PatriusException
pvProv - satellite PV coordinates through timeinitialLaw - initial attitude law (before the slew)initialDateIn - slew start date (null if slew defined with its end date)finalLaw - final attitude law (after the slew)finalDate - slew end date (null if slew defined with its start date)PatriusException - thrown if computation failed or if dates are both null or not nullpublic double computeDuration(PVCoordinatesProvider pvProv, AttitudeProvider initialLaw, AbsoluteDate initialDateIn, AttitudeProvider finalLaw, AbsoluteDate finalDate) throws PatriusException
pvProv - PV coordinates providerinitialLaw - initial attitude law (before the slew)initialDateIn - slew start date (null if slew defined with its end date)finalLaw - final attitude law (after the slew)finalDate - slew end date (null if slew defined with its start date)PatriusException - thrown if computation failed or if dates are both null or not nullCopyright © 2024 CNES. All rights reserved.