Using the Keplerian propagator with hyperbolic orbits, I have problems with the meanToHyperbolicEccentric convergence.

In some cases, it fails to converge after 50 iterations.

This happens when the input mean anomaly (M) is “large”. Internally the mean anomaly is increasing with time, without 2*pi modulo. After long propagation, M value is large and creates convergence problems with meanToHyperbolicEccentric method.

For instance, here is the result with to different M values which are the same modulo 2.pi

with e = 3.562633617924315

M = 47.132267384256465 => number of iterations =49 (close to the limit !)

M = -3.1332150731802244 => iter =3

Sometimes, the number of iterations exceeds 50 and an exception is thrown, which is very annoying!

See joined TestKeplerianPropagation.java (3.8 KB) test case