fr.cnes.genopus.nonWidget.vehicle.aeroCoeffs
Class CustomAeroCoeffByAoA
java.lang.Object
fr.cnes.genopus.nonWidget.vehicle.aeroCoeffs.CustomAeroCoeffByOneVarAbstract
fr.cnes.genopus.nonWidget.vehicle.aeroCoeffs.CustomAeroCoeffByAoA
- All Implemented Interfaces:
- Serializable, org.orekit.parameter.IParamDiffFunction, org.orekit.parameter.IParameterizable, org.orekit.parameter.IParameterizableFunction
public class CustomAeroCoeffByAoA
- extends CustomAeroCoeffByOneVarAbstract
Aerodynamic coefficient function of the spacecraft angle of attack.
- Author:
- sumelzi
- See Also:
- Serialized Form
|
Constructor Summary |
CustomAeroCoeffByAoA(Double[] xVariable,
Double[] yVariable,
org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
Creates a new instance entering the x and y variables as doubles. |
|
Method Summary |
protected static double |
angleOfAttackFromSpacecraftState(org.orekit.propagation.SpacecraftState state,
org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
Computes the angle of attack from the spacecraft state and the Earth shape. |
protected double |
computeXVariable(org.orekit.propagation.SpacecraftState state)
Computes the x variable from the spacecraft state. |
CustomAeroCoeffByAoA
public CustomAeroCoeffByAoA(Double[] xVariable,
Double[] yVariable,
org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
- Creates a new instance entering the x and y variables as doubles.
- Parameters:
xVariable - array of x variables (angle of attack (rad))yVariable - array of y variables (aerodynamic coefficient)earthShape - Earth shape
computeXVariable
protected double computeXVariable(org.orekit.propagation.SpacecraftState state)
throws NonWidgetException
- Computes the x variable from the spacecraft state.
- Specified by:
computeXVariable in class CustomAeroCoeffByOneVarAbstract
- Parameters:
state - the spacecraft state
- Returns:
- the x variable
- Throws:
NonWidgetException - if the transformation from state frame to Earth body frame, to topocentric frame or to ITRF
frame cannot be computed, or if Side slip angle equals PI/2 or -PI/2 (angle of attack
cannot be computed)
angleOfAttackFromSpacecraftState
protected static double angleOfAttackFromSpacecraftState(org.orekit.propagation.SpacecraftState state,
org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
throws NonWidgetException
- Computes the angle of attack from the spacecraft state and the Earth shape.
- Parameters:
state - the spacecraft stateearthShape - the Earth shape
- Returns:
- the mach number
- Throws:
NonWidgetException - if the transformation from state frame to ITRF cannot be computed
Copyright © 2017. All rights reserved.