public class BasicConstantThrustPropulsionModel extends AbstractConstantThrustPropulsionModel
Modifier and Type | Field and Description |
---|---|
static String |
FLOW_RATE
Parameter name for flow rate.
|
static double |
FLOW_RATE_SCALE
Flow rate scaling factor.
|
static String |
THRUST
Parameter name for thrust.
|
static double |
THRUST_SCALE
Thrust scaling factor.
|
Constructor and Description |
---|
BasicConstantThrustPropulsionModel(double thrust,
double isp,
Vector3D direction,
String name)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getFlowRate()
Get the flow rate (kg/s).
|
double |
getFlowRate(double[] parameters)
Get the flow rate (kg/s).
|
<T extends CalculusFieldElement<T>> |
getFlowRate(T[] parameters)
Get the flow rate (kg/s).
|
List<ParameterDriver> |
getParametersDrivers()
Get the propulsion model parameter drivers.
|
Vector3D |
getThrustVector()
Get the thrust vector in spacecraft frame (N).
|
Vector3D |
getThrustVector(double[] parameters)
Get the thrust vector in spacecraft frame (N).
|
<T extends CalculusFieldElement<T>> |
getThrustVector(T[] parameters)
Get the thrust vector in spacecraft frame (N).
|
getDirection, getFlowRate, getFlowRate, getFlowRate, getInitialFlowrate, getInitialThrustVector, getIsp, getName, getThrust, getThrustVector, getThrustVector, getThrustVector
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAcceleration, getAcceleration, getDirection, getIsp, getMassDerivatives, getMassDerivatives, getThrust
init
public static final String THRUST
public static final String FLOW_RATE
public static final double THRUST_SCALE
We use a power of 2 to avoid numeric noise introduction in the multiplications/divisions sequences.
public static final double FLOW_RATE_SCALE
We use a power of 2 to avoid numeric noise introduction in the multiplications/divisions sequences.
public Vector3D getThrustVector()
getThrustVector
in class AbstractConstantThrustPropulsionModel
public double getFlowRate()
getFlowRate
in class AbstractConstantThrustPropulsionModel
public List<ParameterDriver> getParametersDrivers()
public Vector3D getThrustVector(double[] parameters)
getThrustVector
in class AbstractConstantThrustPropulsionModel
parameters
- propulsion model parameterspublic double getFlowRate(double[] parameters)
getFlowRate
in class AbstractConstantThrustPropulsionModel
parameters
- propulsion model parameterspublic <T extends CalculusFieldElement<T>> FieldVector3D<T> getThrustVector(T[] parameters)
getThrustVector
in class AbstractConstantThrustPropulsionModel
T
- extends CalculusFieldElement<T>parameters
- propulsion model parameterspublic <T extends CalculusFieldElement<T>> T getFlowRate(T[] parameters)
getFlowRate
in class AbstractConstantThrustPropulsionModel
T
- extends CalculusFieldElement<T>parameters
- propulsion model parametersCopyright © 2002-2021 CS GROUP. All rights reserved.