Skip to content

ENH: Orbital Simulations #277

Open

Description

@giovaniceotto

Current High Power Rockets are already reaching the Karman line... soon, they will be entering orbits as well, it is just a matter of time.

We need to be prepared, so this issue proposes modifications to RocketPy to support orbital flights.

Requirements

  • High altitude atmospheric models to simulate drag above the stratosphere
  • High fidelity gravitational models, such as EGM 2008
  • Specialized plotting and analysis functionality geared towards orbital flights

Proposed Milestone

This implementation definitely requires a big leap. Thus, as of right now, v3.0.0 seems to be the soonest that we can bring this feature in.

Activity

  1. added
    Flight
    on Nov 5, 2022
  2. added this to the Release v3.0.0 milestone on Nov 5, 2022
  3. moved this from Long-Term to Long-Term in LibDev Roadmapon Nov 5, 2023
  4. changed the title [-]Orbital Simulations[/-] [+]ENH: Orbital Simulations[/+] on Oct 11, 2024
  5. ting-hong-shieh commented on Aug 14, 2026

    @ting-hong-shieh

    This should build on the frame contract from #751 rather than introduce a second coordinate model. Once that API is stable, I suggest a deliberately small first orbital milestone.

    Proposed first milestone

    • vacuum two-body propagation only;
    • explicit ECI state, epoch, units, and gravitational parameter;
    • no atmosphere, Earth harmonics, or implicit data downloads;
    • a solver interface that can reuse RocketPy numerical conventions without coupling orbital state to the current local Flight state; and
    • state-history output sufficient to validate invariants before adding plots.

    Acceptance should cover circular and elliptical reference orbits, comparison with an analytic or independently generated two-body solution, and bounded drift in specific orbital energy and angular momentum. Position, velocity, invariant, and period tolerances should be stated separately.

    Later milestones can add the #751 local/ECEF/ECI transitions, high-altitude atmosphere, perturbations, EGM2008, and plotting one at a time. Any gravity dataset or downloaded ephemeris needs a pinned source, checksum, license, cache policy, and offline failure behavior before it becomes part of the API.

    The remaining architectural question is whether orbital propagation belongs inside Flight or in a separate propagator that can hand a state to Flight at an interface altitude. I recommend a separate propagator for v1 so the existing launch simulation and its assumptions remain unchanged. I can prepare the analytic fixture and solver-neutral result schema after #751 settles the frame types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Flight

    Projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions