Difference in ground measurement transitPV with/without derivatives

Hello everyone,

Looking at the computation of the common parameters in GroundReceiverMeasurement, and in particular transitPV, I found a difference between the implementation without derivatives (in computeCommonParametersWithout) and that with derivatives (in computeCommonParametersWithDerivatives).

Without derivatives, the transitState is computed using SpacecraftState.shiftedBy(dt), and then transitPV are extracted from it. If transitState contains an orbit, the shift is based on Keplerian dynamics.

With derivatives, TimeStampedFieldPVCoordinates are initialized from the input (non-shifted) state, and the transitPV are computed using the TimeStampedFieldPVCoordinates.shiftedBy(dt) method. The shift is based on rectilinear motion with constant acceleration.

This causes the estimated measurement computed using theoreticalEvaluationWithoutDerivatives to slightly differ from that computed with theoreticalEvaluation (w/ derivatives).

Is this behavior intended?

Hi there and welcome,

it’s very likely a bug.
Can you create an issue on Gitlab please?
Thanks for finding and reporting it. Contribution welcome btw :wink:

Cheers,
Romain.

I will open the issue as soon as my account on Orekit GitLab gets approved. I tried to log in through GitLab.com with username @afvy

Thank you!
Alberto

1 Like

I was testing this and I found some unexpected behavior, see predictPositionVelocity returns wrong partials for nearly circular orbits

I think that issue should be tackled first.

Best,
Alberto

Has your gitlab account still not been approved?
I can’t do it myself but I can tag somebody here that can.

Cheers

I did approve it some times ago (at least at mail verification step), but it still is “pending”, I don’t know if next step is on gitlab administrators or users side.

I just tried, I still get a red banner saying Your account is pending approval from your GitLab administrator and hence blocked. Please contact your GitLab administrator if you think this is an error.

I am using the OAuth via GitLab.com. Should I try to login with my email resetting the password?
Also, I didn’t receive any email saying it was approved or similar.

Cheers,
Alberto

Can you try again now?

I’m in. Thank you very much!

Issue opened: computeCommonParametersWithDerivatives should compute the transitPV from the transitState (#1774) · Issues · Orekit / Orekit · GitLab

1 Like

The MR is here.
About 20 tests on orbit determination fail. Whilst some of them are just a question of adjusting a little bit the tolerances, some are a bit more worrysome.
It could come from the test data, I don’t know, but I’m not sure a proper analysis can be performed before 13.1 unfortunately, which means it would need to wait for later (and not a patch, as it introduces too much numerical differences I would say).

Cheers,
Romain.

1 Like