Hi Orekit developers,
I am attempting to build a DSST propagator and I’ve run into an issue. I believe it stems from the MeanPlusShortPeriodicMapper, however I may be wrong about that.
Stack Trace:
ByteCodeHelper.LoadTypeWrapper(String clazz, CallerID callerId)
EquinoctialOrbit.__<>class()
EquinoctialOrbit.ctor(Double a, Double ex, Double ey, Double hx, Double hy, Double l, Double aDot, Double exDot, Double eyDot, Double hxDot, Double hyDot, Double lDot, PositionAngle type, Frame frame, AbsoluteDate date, Double mu)
3.mapArrayToOrbit(Double[] , Double[] , PositionAngle , AbsoluteDate , Double , Frame )
3.mapArrayToOrbit(Double[] , Double[] , PositionAngle , AbsoluteDate , Double , Frame )
MeanPlusShortPeriodicMapper.mapArrayToState(AbsoluteDate , Double[] , Double[] , PropagationType )
AbstractIntegratedPropagator.propagate(AbsoluteDate tEnd, Boolean activateHandlers)
AbstractIntegratedPropagator.propagate(AbsoluteDate tStart, AbsoluteDate tEnd)
AbstractIntegratedPropagator.propagate(AbsoluteDate target)
Ephemeris.ctor(AbstractPropagator propagator, Double timeSpan, Double step, String stepHandler) line 45
Propagators.PropagationWizard(SpacecraftState initialState, String propagatorType, String stepHandler, Double timeSpan, Double stepSize) line 46
AstroTests.WizardMasterTest() line 222
Here is my current propagator setup. I’ve tried to use both the RK integrator and DP853.
// Setup integrator
double step = 60;
ClassicalRungeKuttaIntegrator integrator = new ClassicalRungeKuttaIntegrator(step);
// Setup propagator
DSSTPropagator propagator = new DSSTPropagator(integrator, PropagationType.MEAN);
propagator.setInitialState(state);
// Celestial Objects
FactoryManagedFrame bodyFrame = FramesFactory.getITRF(IERSConventions.IERS_2010, true);
CelestialBody sun = CelestialBodyFactory.getSun();
CelestialBody moon = CelestialBodyFactory.getMoon();
OneAxisEllipsoid earth = new OneAxisEllipsoid(org.orekit.utils.Constants.WGS84_EARTH_EQUATORIAL_RADIUS, org.orekit.utils.Constants.WGS84_EARTH_FLATTENING, bodyFrame);
// Drag
double cr = 1.88;
double cd = 1;
double area = 1;
NRLMSISE00InputParameters flux = new CssiSpaceWeatherData("SpaceWeather-All-v1.2.txt");
Atmosphere atmosphere = new NRLMSISE00(flux, sun, earth);
DragSensitive spacecraft = new IsotropicDrag(area, cd);
DSSTForceModel atmDrag = new DSSTAtmosphericDrag(new DragForce(atmosphere, spacecraft), state.getMu());
// Solar radiation pressure
DSSTForceModel solarPressure = new DSSTSolarRadiationPressure(cr, area, sun, earth.getEquatorialRadius(), state.getMu());
I’ve also tried using an osculating propagator type. Depending on which setup I use the error message varies slightly, although the underlying “MeanPlusShortPeriodicMapper” error persists.
I’m somewhat new to Orekit, so any help is appreciated.
– Connor