Generation of TLE

Yes, I am well aware of the Space-Track.org Sgp4Prop_v9. But, since they use dll_functions in all their source code it is difficult to determine the algorithm. Spacetrak Report No. 3 gives algorithm and main source code, but that’s only for finding Elements and state vectors from TLE to State Vectors in TEME Frame (Reverse calculation of Spacetrak RP No. 3 algorithm might be possible but not so easy). I want to know the algorithm used to Generate TLE from elements in TEME frame i.e. going reverse. If you have any source code (link would be great) used to generate TLE using latest version of SGP4 (Not the USSF SpOC OscVecToTLE from AstroStds lib) please let me know.

I can only suggest that you take a look at the OREKIT source code for TLE generation (in OREKIT v12.0, see package org.orekit.propagation.analytical.tle.generation).
There are 2 algorithms, fixed point and least squares, both of which use the TLEPropagator. You can draw inspiration from them if you want to use your own version of SGP4.

1 Like

Now in the version 12, this “stateToTLE” method have to use the 3rd parameter"TleGenerationAlgorithm".How do I get that? I am just a beginner and I apologize for disturbing you.

Hello @houmingyang and welcome to the Orekit forum !

No need to apologize, this is a rightful question to ask :+1:.

Currently we have two classes implementing the TleGenerationAlgorithm :
1 - FixedPointTleGenerationAlgorithm
2 - LeastSquaresTleGenerationAlgorithm

The one that was used by default in the previous versions of Orekit was the FixedPointTleGenerationAlgorithm which you can easily create using the following code :

TleGenerationAlgorithm algorithm = new FixedPointTleGenerationAlgorithm();

Note that you can use the other constructors if you want to customize the algorithm parameters.

Cheers,
Vincent

2 Likes

Hello All,

is there a way to estimate not only the BSTAR but also the mean motion derivative ?

In TLEPropagatorBuilder, the list of propagation parameter drivers includes only BSTAR.

Thanks !

1 Like

Hi @jaapetr,
No, this parameter cannot be estimated for the simple reason that it is not used by the SGP4/SDP4 models implemented by the TLEPropagator. It only appears in the simpler SGP model, which is not implemented.

1 Like

many thanks !

Thank you very much! As a beginner in this field, this OreKit really helps the junior engineers working in the field of satellite measurement and control.
In the past, many jobs could only be done by senior engineers with many years of experience. With this Kit, we can also participate in many jobs. I especially recommend it to my elder colleagues (they are more accustomed to using their own Fortran functions and libraries). Your works are great!
Thank you very much for your reply! I have now read some of the posts in this forum and have indeed learned a lot. I found that you can answer almost all kinds of questions in a very timely manner–Regardless of whether these questions are “elementary” or not.
Dr. Mihaly Csikszentmihalyi, a doctor of psychology, once mentioned that being able to enter the “Flow” state is a very happy psychological experience.
If a person can maintain enthusiasm and engage in work that he likes, then work is actually not a burden, but a kind of happiness. I am very impressed by your professional knowledge and extraordinary enthusiasm.
I guess you must be a happy person, so I will not wish you happiness ;-P. I wish you a smooth work, a comfortable life and good health forever!
Thanks again! !

4 Likes

I must say i’m at a loss for words in front of such kindness ! On behalf of all the persons contributing to Orekit, i would like to thank you because such words give us even more motivation to contribute !

As a beginner myself, i wish for both of us to continue learning about this amazing field, using Orekit of course :yum: !

Once again, thank you :heart:

Cheers,
Vincent

1 Like