Hi @dorian,
I looked at your test and performed it with different configurations:
- Change the initial spacecraft state (orbit, date, integrator, frame).
- Change the integrator.
- Change the DSST force model. I tested with DSSTThirdBody and DSSTSolarRadiationPressure.
- Change the event detector. I tested with an elevation detector.
With all the configurations, the test fail with the same error message you have.
So, I think there is a bug when using the DSST with osculating propagation and event detector. There is no test in Orekit that verify a DSST osculating propagation with an event detector. Could you open an issue in our tracker at Issues · Orekit / Orekit · GitLab ?
If you want to use mean propagation type, the short periodic terms are not computed. The bug occurs during the computation of the short periodic terms. That’s why you don’t have the bug when using a mean propagation type.
Kind regards,
Bryan