public abstract class AbstractGtmPropagator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected fr.cnes.sirius.patrius.assembly.Assembly |
assembly
Assembly (from the vehicle)
|
protected fr.cnes.sirius.patrius.attitudes.AttitudeProvider |
attitudeLaw
Attitude law
|
protected fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid |
ellips
Earth ellipsoid
|
protected fr.cnes.sirius.patrius.forces.ForceModelsData |
forces
Forces
|
protected fr.cnes.sirius.patrius.orbits.Orbit |
iniOrbit
Initial orbit
|
protected fr.cnes.dynvol.psimu.calc.integrator.AbstractNumericalIntegratorData |
integData
Integrator data
|
protected List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> |
listOfevents
List of events
|
protected fr.cnes.genopus.nonWidget.maneuvers.CustomManeuverSequence |
maneuverSequence
Maneuvers sequence
|
protected fr.cnes.sirius.patrius.propagation.MassProvider |
massModel
Mass model (from the Assembly)
|
protected fr.cnes.dynvol.psimu.calc.output.OutputConfig |
output
Output configuration
|
protected fr.cnes.dynvol.psimu.calc.main.Psimu |
psimu
PSIMU object
|
protected fr.cnes.sirius.patrius.bodies.CelestialBody |
sun
Sun ephemeris
|
protected fr.cnes.sirius.patrius.assembly.Vehicle |
vehicle
Vehicle characteristics
|
| Constructor and Description |
|---|
AbstractGtmPropagator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAmountOfPoints()
Method to get the amount of points in the list of S/C states
|
fr.cnes.sirius.patrius.assembly.Assembly |
getAssembly()
Method to get the assembly.
|
fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid |
getEllipsoid()
Method to get the ellipsoid.
|
fr.cnes.sirius.patrius.orbits.Orbit |
getIniOrbit()
Method to get the initial orbit.
|
Map<String,Object> |
getIniVariables()
Method to get the list of variables of the first point of the ephemeris
|
Map<String,Object> |
getLastVariables()
Method to get the list of variables of the last point of the ephemeris
|
List<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> |
getListOfEngines()
Method to get the list of engine characteristics.
|
List<fr.cnes.sirius.patrius.assembly.properties.TankProperty> |
getListOfTanks()
Method to get the list of tank characteristics.
|
fr.cnes.sirius.patrius.propagation.MassProvider |
getMassModel()
Method to get the mass model.
|
fr.cnes.dynvol.psimu.calc.main.Psimu |
getPsimu()
Method to get the PSIMU object (needed fo other getters)
|
List<fr.cnes.sirius.patrius.propagation.SpacecraftState> |
getSpacecraftStateList()
Method to get the list of S/C states
|
Map<String,Object> |
getVariables(int index)
Method to get the list of variables with a given index in the ephemeris
|
void |
propagate()
Method to propagate the trajectory using PSIMU
|
void |
setAttitude(fr.cnes.sirius.patrius.attitudes.AttitudeLaw law)
Method to initialize attitude laws
|
protected abstract void |
setDefaultAttitude()
Method to initialize default attitude law
|
void |
setEllipsoid(fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid ellipsoid)
Method to initialize the WGS 84 Earth ellipsoid
|
void |
setEvents(List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> eventsList)
Method to initialize the list of events.
|
void |
setForces(fr.cnes.sirius.patrius.forces.ForceModelsData forceModels)
Method to initialize the forces models
|
void |
setFramesConfiguration(fr.cnes.sirius.patrius.frames.configuration.FramesConfiguration config)
Method to set the frames configuration
|
void |
setIniOrbit(fr.cnes.sirius.patrius.orbits.Orbit orbit)
Initial orbit initialization with a complete Orbit object
|
void |
setManeuvers(fr.cnes.genopus.nonWidget.maneuvers.CustomManeuverSequence manSeq)
Method to initialize the sequence of maneuvers (up to now, empty).
|
void |
setOutputDir(String nameDir)
Method to set the output directory.
|
abstract void |
setPropagationData(double duration,
double outputStep)
Method to initialize the numerical integration data only with duration and output step.
|
void |
setPropagationData(GtmPropagationData data)
Method to initialize the numerical integration data with full data.
|
void |
setVehicle(fr.cnes.sirius.patrius.assembly.Vehicle veh)
Vehicle initialization with a complete Vehicle object
|
protected fr.cnes.sirius.patrius.orbits.Orbit iniOrbit
protected fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid ellips
protected fr.cnes.sirius.patrius.assembly.Vehicle vehicle
protected fr.cnes.sirius.patrius.assembly.Assembly assembly
protected fr.cnes.sirius.patrius.propagation.MassProvider massModel
protected fr.cnes.genopus.nonWidget.maneuvers.CustomManeuverSequence maneuverSequence
protected fr.cnes.sirius.patrius.attitudes.AttitudeProvider attitudeLaw
protected fr.cnes.dynvol.psimu.calc.integrator.AbstractNumericalIntegratorData integData
protected fr.cnes.dynvol.psimu.calc.output.OutputConfig output
protected fr.cnes.sirius.patrius.forces.ForceModelsData forces
protected fr.cnes.sirius.patrius.bodies.CelestialBody sun
protected List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> listOfevents
protected fr.cnes.dynvol.psimu.calc.main.Psimu psimu
public AbstractGtmPropagator()
throws GtmInitException
GtmInitException - occured when initializing the Earth ellipsoidpublic void setFramesConfiguration(fr.cnes.sirius.patrius.frames.configuration.FramesConfiguration config)
config - frames configurationpublic void setEllipsoid(fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid ellipsoid)
ellipsoid - Earth ellipsoidpublic fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid getEllipsoid()
public void setIniOrbit(fr.cnes.sirius.patrius.orbits.Orbit orbit)
orbit - initial orbitpublic fr.cnes.sirius.patrius.orbits.Orbit getIniOrbit()
public void setVehicle(fr.cnes.sirius.patrius.assembly.Vehicle veh)
throws GtmInitException
veh - Vehicle objectGtmInitException - occured when initializing the assembly and mass modelpublic fr.cnes.sirius.patrius.assembly.Assembly getAssembly()
public fr.cnes.sirius.patrius.propagation.MassProvider getMassModel()
public List<fr.cnes.sirius.patrius.assembly.properties.TankProperty> getListOfTanks()
public List<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> getListOfEngines()
public void setForces(fr.cnes.sirius.patrius.forces.ForceModelsData forceModels)
forceModels - forces modelspublic void setManeuvers(fr.cnes.genopus.nonWidget.maneuvers.CustomManeuverSequence manSeq)
manSeq - sequence of maneuversprotected abstract void setDefaultAttitude()
throws GtmInitException
GtmInitException - exception occured when initialization of the default attitudepublic void setAttitude(fr.cnes.sirius.patrius.attitudes.AttitudeLaw law)
throws GtmInitException
law - attitude lawGtmInitException - exception occured when initialization of the sequencepublic abstract void setPropagationData(double duration,
double outputStep)
throws GtmInitException
duration - duration of the simulation (s)outputStep - output step (s)GtmInitException - occured when initializing integrator datapublic void setPropagationData(GtmPropagationData data) throws GtmInitException
data - integration dataGtmInitException - occured when initializing integrator datapublic void setEvents(List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> eventsList)
eventsList - list of PSIMU eventspublic void propagate()
throws GtmInitException,
GtmPropException
GtmInitException - occured when initializing PSIMUGtmPropException - occured when propagating with PSIMUpublic void setOutputDir(String nameDir)
nameDir - output directory namepublic int getAmountOfPoints()
throws GtmPropException
GtmPropException - occured when getting S/C statespublic List<fr.cnes.sirius.patrius.propagation.SpacecraftState> getSpacecraftStateList() throws GtmPropException
GtmPropException - occured when getting S/C statespublic Map<String,Object> getVariables(int index) throws GtmPropException
index - index in the ephemeris tableGtmPropException - occured when getting the list of PSIMU variables for a given indexpublic Map<String,Object> getIniVariables() throws GtmPropException
GtmPropException - occured when getting the list of PSIMU variables for the first pointpublic Map<String,Object> getLastVariables() throws GtmPropException
GtmPropException - occured when getting the list of PSIMU variables for the last pointpublic fr.cnes.dynvol.psimu.calc.main.Psimu getPsimu()
Copyright © 2022. All rights reserved.