public class PsimuBatch extends Object
Constructor and Description |
---|
PsimuBatch(String confFilename,
String outputDir)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> |
getListEventsToDetect()
Get list of events to detect.
|
OutputConfig |
getOutputConfig()
Get output configuration.
|
Psimu |
getPsimu()
Get JPSIMU subroutine mode.
|
void |
propagateInMasterMode()
Propagates the orbit.
|
void |
propagateInMasterMode(String resultName)
Propagates the orbit.
|
fr.cnes.sirius.patrius.propagation.SpacecraftState |
propagateInSlaveMode()
Propagates in slave mode.
|
void |
run(String outputDir,
String resultName,
String varListFilenameIn,
boolean writeVts,
boolean ephEveAutomaticSaving,
boolean orbitAutomaticSaving)
Main method (expected to be called from IHM).
|
public PsimuBatch(String confFilename, String outputDir) throws PsimuException, PsimuOutputManagerException
confFilename
- scenario input data (SCE_[].xml)outputDir
- output directory.PsimuException
- if some internal error occursPsimuOutputManagerException
- if the selected time scale isn't recognizedpublic void propagateInMasterMode() throws PsimuPropagationException
PsimuPropagationException
- if the propagation fails.public void propagateInMasterMode(String resultName) throws PsimuPropagationException
resultName
- prefix for the results.PsimuPropagationException
- if the propagation fails.public fr.cnes.sirius.patrius.propagation.SpacecraftState propagateInSlaveMode() throws PsimuPropagationException
PsimuPropagationException
- if propagation fails.public Psimu getPsimu()
public OutputConfig getOutputConfig()
public List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> getListEventsToDetect()
public void run(String outputDir, String resultName, String varListFilenameIn, boolean writeVts, boolean ephEveAutomaticSaving, boolean orbitAutomaticSaving) throws PsimuException
outputDir
- output directory for the results.resultName
- prefix for the results.varListFilenameIn
- name of the file containing the variables to send to the EPH and EVENT files.writeVts
- if the VTS output files shall be generated.ephEveAutomaticSaving
- automatic saving of the ephemerides and events files.orbitAutomaticSaving
- automatic saving of orbit file.PsimuException
- if some internal error occursCopyright © 2023. All rights reserved.