[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orekit Users] Converting a State Vector to a TLE



Hi,

I have to take a state vector (in this case a PVCoordinates and AbsoluteDate)
and convert it into a TLE (or rather orbital elements that I can make a TLE
from). I know the answer will never be very good, but I have to do it. Is
there a good way to make this conversion?

I know that I can just get what I need by creating a KeplerianOrbit from what
I have, but those values are osculating and I need the mean orbital elements
if I want the answer to be anywhere near correct. I tried using
OsculatingToMeanElementsConverter with a DSST propagator using different force
models, but nothing really made any difference.

As a test case I took a random TLE, got the PVCoordinates at the time the TLE
was created (so that it would be as accurate as possible) and passed those
into my method. Which should spit out a generic TLE with orbital values close
to the originals. To test how close the two orbits truly are, I simply
propagated them both every 10 minutes for a 24 hour period, checking the
distance between the two points.

Thank you,
Matt