Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Incorrect calculation of maneuver time of flight #1602

Open
chrisbor opened this issue Dec 31, 2022 · 0 comments
Open

Incorrect calculation of maneuver time of flight #1602

chrisbor opened this issue Dec 31, 2022 · 0 comments

Comments

@chrisbor
Copy link

Hi!
I think there is a bug in the calculation of a maneuver's tof. The method get_total_time() returns the sum over all the maneuver's _dts. However, if I understand it correctly, the first element in _dts for bielliptic and hohmann transfers is not an actual flight time but only the epoch of the initial orbit's pericenter which the orbit has been back-propagated to (and, hence, the maneuver and other _dts elements start at).
For a few cases, I've double-checked the return values of get_total_time() using the formulae from the documentation and they seem to indeed be wrong.

Hope this info suffices - it's my very first time using GitHub :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant