Class PythonAbstractConstantThrustPropulsionModel
- java.lang.Object
-
- org.orekit.forces.maneuvers.propulsion.AbstractConstantThrustPropulsionModel
-
- org.orekit.forces.maneuvers.propulsion.PythonAbstractConstantThrustPropulsionModel
-
- All Implemented Interfaces:
PropulsionModel
,ThrustPropulsionModel
,EventDetectorsProvider
,ParameterDriversProvider
public class PythonAbstractConstantThrustPropulsionModel extends AbstractConstantThrustPropulsionModel
-
-
Field Summary
Fields Modifier and Type Field Description protected long
pythonObject
Part of JCC Python interface to object-
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY
-
-
Constructor Summary
Constructors Constructor Description PythonAbstractConstantThrustPropulsionModel(double thrust, double isp, Vector3D direction, Control3DVectorCostType control3DVectorCostType, String name)
Generic constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
double
getFlowRate()
Get the flow rate (kg/s).double
getFlowRate(double[] parameters)
Get the flow rate (kg/s).double
getFlowRate(AbsoluteDate date)
Get the flow rate (kg/s).<T extends CalculusFieldElement<T>>
TgetFlowRate(T[] parameters)
Get the flow rate (kg/s).List<ParameterDriver>
getParametersDrivers()
Get the drivers for parameters.Vector3D
getThrustVector()
Get the thrust vector in spacecraft frame (N).Vector3D
getThrustVector(double[] parameters)
Get the thrust vector in spacecraft frame (N).Vector3D
getThrustVector(AbsoluteDate date)
Get the thrust vector in spacecraft frame (N).<T extends CalculusFieldElement<T>>
FieldVector3D<T>getThrustVector(T[] parameters)
Get the thrust vector in spacecraft frame (N).void
pythonDecRef()
long
pythonExtension()
void
pythonExtension(long pythonObject)
-
Methods inherited from class org.orekit.forces.maneuvers.propulsion.AbstractConstantThrustPropulsionModel
getControl3DVectorCostType, getDirection, getDirection, getFlowRate, getFlowRate, getFlowRate, getInitialFlowRate, getInitialThrustVector, getIsp, getIsp, getName, getThrustMagnitude, getThrustMagnitude, getThrustVector, getThrustVector, getThrustVector
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getEventDetectors, getFieldEventDetectors
-
Methods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Methods inherited from interface org.orekit.forces.maneuvers.propulsion.PropulsionModel
getEventDetectors, getFieldEventDetectors, init, init
-
Methods inherited from interface org.orekit.forces.maneuvers.propulsion.ThrustPropulsionModel
getAcceleration, getAcceleration, getDirection, getIsp, getMassDerivatives, getMassDerivatives
-
-
-
-
Constructor Detail
-
PythonAbstractConstantThrustPropulsionModel
public PythonAbstractConstantThrustPropulsionModel(double thrust, double isp, Vector3D direction, Control3DVectorCostType control3DVectorCostType, String name)
Generic constructor.- Parameters:
thrust
- initial thrust value (N)isp
- initial isp value (s)direction
- initial thrust direction in S/C framename
- name of the maneuver
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
-
pythonExtension
public long pythonExtension()
-
finalize
public void finalize() throws Throwable
-
pythonDecRef
public void pythonDecRef()
-
getThrustVector
public Vector3D getThrustVector()
Get the thrust vector in spacecraft frame (N). Here it does not depend on current S/C state.- Specified by:
getThrustVector
in classAbstractConstantThrustPropulsionModel
- Returns:
- thrust vector in spacecraft frame (N), will throw an exception if used on driver containing several value spans
-
getThrustVector
public Vector3D getThrustVector(AbsoluteDate date)
Description copied from class:AbstractConstantThrustPropulsionModel
Get the thrust vector in spacecraft frame (N). Here it does not depend on current S/C state.- Specified by:
getThrustVector
in classAbstractConstantThrustPropulsionModel
- Parameters:
date
- date at which the thrust vector wants to be known, often the date parameter will not be important and can be whatever if the thrust parameter driver as only value estimated over the all orbit determination interval- Returns:
- thrust vector in spacecraft frame (N)
-
getFlowRate
public double getFlowRate()
Get the flow rate (kg/s). Here it does not depend on current S/C.- Specified by:
getFlowRate
in classAbstractConstantThrustPropulsionModel
- Returns:
- flow rate (kg/s) will throw an exception if used on driver containing several value spans
-
getFlowRate
public double getFlowRate(AbsoluteDate date)
Get the flow rate (kg/s). Here it does not depend on current S/C.- Specified by:
getFlowRate
in classAbstractConstantThrustPropulsionModel
- Parameters:
date
- date at which the thrust vector wants to be known, often the date parameter will not be important and can be whatever if the thrust parameter driver as only value estimated over the all orbit determination interval- Returns:
- flow rate (kg/s)
-
getThrustVector
public Vector3D getThrustVector(double[] parameters)
Get the thrust vector in spacecraft frame (N). Here it does not depend on current S/C state.- Specified by:
getThrustVector
in classAbstractConstantThrustPropulsionModel
- Parameters:
parameters
- propulsion model parameters- Returns:
- thrust vector in spacecraft frame (N)
-
getFlowRate
public double getFlowRate(double[] parameters)
Get the flow rate (kg/s). Here it does not depend on current S/C state.- Specified by:
getFlowRate
in classAbstractConstantThrustPropulsionModel
- Parameters:
parameters
- propulsion model parameters- Returns:
- flow rate (kg/s)
-
getThrustVector
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getThrustVector(T[] parameters)
Get the thrust vector in spacecraft frame (N). Here it does not depend on current S/C state.- Specified by:
getThrustVector
in classAbstractConstantThrustPropulsionModel
- Type Parameters:
T
- extends CalculusFieldElement<T>- Parameters:
parameters
- propulsion model parameters- Returns:
- thrust vector in spacecraft frame (N)
-
getFlowRate
public <T extends CalculusFieldElement<T>> T getFlowRate(T[] parameters)
Get the flow rate (kg/s). Here it does not depend on current S/C state.- Specified by:
getFlowRate
in classAbstractConstantThrustPropulsionModel
- Type Parameters:
T
- extends CalculusFieldElement<T>- Parameters:
parameters
- propulsion model parameters- Returns:
- flow rate (kg/s)
-
getParametersDrivers
public List<ParameterDriver> getParametersDrivers()
Get the drivers for parameters.- Returns:
- drivers for parameters
-
-