Package org.orekit.tutorials.maneuvers
Class StationKeeping.TutorialStationKeeping
- java.lang.Object
-
- org.orekit.tutorials.maneuvers.StationKeeping.TutorialStationKeeping
-
- Enclosing class:
- StationKeeping
public static class StationKeeping.TutorialStationKeeping extends Object
Input data for this station-keeping tutorial.Data are read from a YAML file.
-
-
Constructor Summary
Constructors Constructor Description TutorialStationKeeping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getCycleDuration()
Get the SK cycle duration.int
getCyclesNumber()
Get the number of SK cycles to simulate.double
getDeltaVMax()
Get the DV max.double
getEasternBoundary()
Get the eastern boundary for longitude window.double
getInitialMass()
Get the initial mass of the spacecraft.double
getIsp()
Get the ISP.int
getNbMaxManeuvers()
Get the max number of maneuvers per cycle.TutorialOrbit
getOrbit()
Get the orbit data.int
getOrbitsSeparation()
Get the number of orbits between maneuvers.double
getOutputStep()
Get the time step between printed elements.double
getWesternBoundary()
Get the western boundary for longitude window.boolean
isPrintToFile()
Get the flag for printing results to a file.void
setCycleDuration(double cycleDuration)
Set the SK cycle duration.void
setCyclesNumber(int cyclesNumber)
Set the number of SK cycles to simulate.void
setDeltaVMax(double deltaVMax)
Set the DV max.void
setEasternBoundary(double easternBoundary)
Set the eastern boundary for longitude window.void
setInitialMass(double initialMass)
Set the initial mass of the spacecraft.void
setIsp(double isp)
Set the ISP.void
setNbMaxManeuvers(int nbMaxManeuvers)
Set the max number of maneuvers per cycle.void
setOrbit(TutorialOrbit orbit)
Set the orbit data.void
setOrbitsSeparation(int orbitsSeparation)
Set the number of orbits between maneuvers.void
setOutputStep(double outputStep)
Set the time step between printed elements.void
setPrintToFile(boolean printToFile)
Set the flag for printing results to a file.void
setWesternBoundary(double westernBoundary)
Set the western boundary for longitude window.
-
-
-
Method Detail
-
getOrbit
public TutorialOrbit getOrbit()
Get the orbit data.- Returns:
- the orbit data
-
setOrbit
public void setOrbit(TutorialOrbit orbit)
Set the orbit data.- Parameters:
orbit
- orbit data
-
getEasternBoundary
public double getEasternBoundary()
Get the eastern boundary for longitude window.- Returns:
- the eastern boundary (degrees in [-180, 180])
-
setEasternBoundary
public void setEasternBoundary(double easternBoundary)
Set the eastern boundary for longitude window.- Parameters:
easternBoundary
- the eastern boundary (degrees in [-180, 180])
-
getWesternBoundary
public double getWesternBoundary()
Get the western boundary for longitude window.- Returns:
- the western boundary (degrees in [-180, 180])
-
setWesternBoundary
public void setWesternBoundary(double westernBoundary)
Set the western boundary for longitude window.- Parameters:
westernBoundary
- the western boundary (degrees in [-180, 180])
-
getDeltaVMax
public double getDeltaVMax()
Get the DV max.- Returns:
- the DV max (m/s)
-
setDeltaVMax
public void setDeltaVMax(double deltaVMax)
Set the DV max.- Parameters:
deltaVMax
- DV max (m/s)
-
getIsp
public double getIsp()
Get the ISP.- Returns:
- the ISP (s)
-
setIsp
public void setIsp(double isp)
Set the ISP.- Parameters:
isp
- ISP (s)
-
getInitialMass
public double getInitialMass()
Get the initial mass of the spacecraft.- Returns:
- the initial mass (kg)
-
setInitialMass
public void setInitialMass(double initialMass)
Set the initial mass of the spacecraft.- Parameters:
initialMass
- the initial mass (kg)
-
getNbMaxManeuvers
public int getNbMaxManeuvers()
Get the max number of maneuvers per cycle.- Returns:
- the max number of maneuvers per cycle
-
setNbMaxManeuvers
public void setNbMaxManeuvers(int nbMaxManeuvers)
Set the max number of maneuvers per cycle.- Parameters:
nbMaxManeuvers
- the max number of maneuvers per cycle
-
getOrbitsSeparation
public int getOrbitsSeparation()
Get the number of orbits between maneuvers.- Returns:
- the number of orbits between maneuvers
-
setOrbitsSeparation
public void setOrbitsSeparation(int orbitsSeparation)
Set the number of orbits between maneuvers.- Parameters:
orbitsSeparation
- the number of orbits between maneuvers
-
getCycleDuration
public double getCycleDuration()
Get the SK cycle duration.- Returns:
- the cycle duration (days)
-
setCycleDuration
public void setCycleDuration(double cycleDuration)
Set the SK cycle duration.- Parameters:
cycleDuration
- cycle duration (days)
-
getCyclesNumber
public int getCyclesNumber()
Get the number of SK cycles to simulate.- Returns:
- the number of SK cycles to simulate
-
setCyclesNumber
public void setCyclesNumber(int cyclesNumber)
Set the number of SK cycles to simulate.- Parameters:
cyclesNumber
- the number of SK cycles to simulate
-
isPrintToFile
public boolean isPrintToFile()
Get the flag for printing results to a file.- Returns:
- if true, results are printed to a file
-
setPrintToFile
public void setPrintToFile(boolean printToFile)
Set the flag for printing results to a file.- Parameters:
printToFile
- if true, results are are printed to a file
-
getOutputStep
public double getOutputStep()
Get the time step between printed elements.- Returns:
- the time step between printed elements (s)
-
setOutputStep
public void setOutputStep(double outputStep)
Set the time step between printed elements.- Parameters:
outputStep
- time step between printed elements (s)
-
-