Interface ThrustPropulsionModel
- All Superinterfaces:
EventDetectorsProvider,ParameterDriversProvider,PropulsionModel
- All Known Implementing Classes:
AbstractConstantThrustPropulsionModel,BasicConstantThrustPropulsionModel,ProfileThrustPropulsionModel,ScaledConstantThrustPropulsionModel,SphericalConstantThrustPropulsionModel
Interface for a thrust-based propulsion model.
- Since:
- 10.2
- Author:
- Maxime Journot
-
Field Summary
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY -
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends CalculusFieldElement<T>>
FieldVector3D<T> getAcceleration(FieldSpacecraftState<T> s, FieldAttitude<T> maneuverAttitude, T[] parameters) Get the acceleration of the spacecraft during maneuver and in maneuver frame.default Vector3DgetAcceleration(SpacecraftState s, Attitude maneuverAttitude, double[] parameters) Get the acceleration of the spacecraft during maneuver and in maneuver frame.default Vector3DGet the thrust direction in spacecraft frame.static doublegetExhaustVelocity(double isp) Method computing the effective exhaust velocity from the specific impulse.<T extends CalculusFieldElement<T>>
TgetFlowRate(FieldSpacecraftState<T> s, T[] parameters) Get the flow rate (kg/s).doubleGet the flow rate (kg/s).doublegetFlowRate(SpacecraftState s, double[] parameters) Get the flow rate (kg/s).default doubleGet the specific impulse (s).default <T extends CalculusFieldElement<T>>
TgetMassDerivatives(FieldSpacecraftState<T> s, T[] parameters) Get the mass derivative (i.e. flow rate in kg/s) during maneuver.default doublegetMassDerivatives(SpacecraftState s, double[] parameters) Get the mass derivative (i.e. flow rate in kg/s) during maneuver.<T extends CalculusFieldElement<T>>
FieldVector3D<T> getThrustVector(FieldSpacecraftState<T> s, T[] parameters) Get the thrust vector in spacecraft frame (N).Get the thrust vector in spacecraft frame (N).getThrustVector(SpacecraftState s, double[] parameters) Get the thrust vector in spacecraft frame (N).Methods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getDateDetector, getEventDetectors, getFieldDateDetector, getFieldEventDetectorsMethods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, getParametersDrivers, isSupportedMethods inherited from interface org.orekit.forces.maneuvers.propulsion.PropulsionModel
getControl3DVectorCostType, getEventDetectors, getFieldEventDetectors, getName, init, init
-
Method Details
-
getExhaustVelocity
static double getExhaustVelocity(double isp) Method computing the effective exhaust velocity from the specific impulse.- Parameters:
isp- specific impulse (s)- Returns:
- effective exhaust velocity (m/s)
- Since:
- 13.0
-
getIsp
Get the specific impulse (s).- Parameters:
s- current spacecraft state- Returns:
- specific impulse (s).
-
getDirection
Get the thrust direction in spacecraft frame.Return a zero vector if there is no thrust for given spacecraft state.
- Parameters:
s- current spacecraft state- Returns:
- thrust direction in spacecraft frame
-
getThrustVector
Get the thrust vector in spacecraft frame (N).- Parameters:
s- current spacecraft state- Returns:
- thrust vector in spacecraft frame (N)
-
getFlowRate
Get the flow rate (kg/s).- Parameters:
s- current spacecraft state- Returns:
- flow rate (kg/s)
-
getThrustVector
Get the thrust vector in spacecraft frame (N).- Parameters:
s- current spacecraft stateparameters- propulsion model parameters- Returns:
- thrust vector in spacecraft frame (N)
-
getFlowRate
Get the flow rate (kg/s).- Parameters:
s- current spacecraft stateparameters- propulsion model parameters- Returns:
- flow rate (kg/s)
-
getThrustVector
<T extends CalculusFieldElement<T>> FieldVector3D<T> getThrustVector(FieldSpacecraftState<T> s, T[] parameters) Get the thrust vector in spacecraft frame (N).- Type Parameters:
T- extends CalculusFieldElement<T>- Parameters:
s- current spacecraft stateparameters- propulsion model parameters- Returns:
- thrust vector in spacecraft frame (N)
-
getFlowRate
Get the flow rate (kg/s).- Type Parameters:
T- extends CalculusFieldElement<T>- Parameters:
s- current spacecraft stateparameters- propulsion model parameters- Returns:
- flow rate (kg/s)
-
getAcceleration
Get the acceleration of the spacecraft during maneuver and in maneuver frame. Acceleration is computed here using the thrust vector in S/C frame.- Specified by:
getAccelerationin interfacePropulsionModel- Parameters:
s- current spacecraft statemaneuverAttitude- current attitude in maneuverparameters- propulsion model parameters- Returns:
- acceleration
-
getAcceleration
default <T extends CalculusFieldElement<T>> FieldVector3D<T> getAcceleration(FieldSpacecraftState<T> s, FieldAttitude<T> maneuverAttitude, T[] parameters) Get the acceleration of the spacecraft during maneuver and in maneuver frame. Acceleration is computed here using the thrust vector in S/C frame.- Specified by:
getAccelerationin interfacePropulsionModel- Type Parameters:
T- extends CalculusFieldElement<T>- Parameters:
s- current spacecraft statemaneuverAttitude- current attitude in maneuverparameters- propulsion model parameters- Returns:
- acceleration
-
getMassDerivatives
Get the mass derivative (i.e. flow rate in kg/s) during maneuver. Mass derivatives are directly extracted here from the flow rate value.- Specified by:
getMassDerivativesin interfacePropulsionModel- Parameters:
s- current spacecraft stateparameters- propulsion model parameters- Returns:
- mass derivative in kg/s
-
getMassDerivatives
default <T extends CalculusFieldElement<T>> T getMassDerivatives(FieldSpacecraftState<T> s, T[] parameters) Get the mass derivative (i.e. flow rate in kg/s) during maneuver. Mass derivatives are directly extracted here from the flow rate value.- Specified by:
getMassDerivativesin interfacePropulsionModel- Type Parameters:
T- extends CalculusFieldElement<T>- Parameters:
s- current spacecraft stateparameters- propulsion model parameters- Returns:
- mass derivative in kg/s
-