Skip to content

Planet ephemeris with only rotation option? #659

Open
@julsanmer

Description

@julsanmer

Describe your use case
Hello all, I've a propagation scenario where I'd like to only consider main body inhomogeneous gravity. That gravity is based on the superpositions of >1 gravity models subscribing to the same ephemeris message. I think that does not suit well for the alternate "isCentral" flag and I got a weird result going that way (maybe because it's adding other models as 3rd body perturbations?).

My proposition is to have something similar as the computeAttitudeFlag for orbit computation in planetEphemeris (I could try to implement it). So one can place the planet static at origin with not translation but only rotation. Would that make sense?.

Right now, the first paragraph setup only works if Sun is added as a grav body (that way, spacecraft dynamics moves accordingly with asteroid ephemeris) but that induces a perturbation on the satellite that I'd like to remove for my analysis.

Describe alternatives solutions you've considered

Additional context
I've been also checking scenarioBasicOrbit.py with the spherHarm option activated to get ideas (as there is no planetEphemeris module there) and I think that simulation is lacking Earth's rotation. Is that an intended behaviour?.

If I print dcm from N to planet rotating frame in gravityEffector

Screenshot 2024-04-02 at 17 42 34

I got identity matrix every time (not the most professional debugging Iol)

Screenshot 2024-04-02 at 17 44 10

PS: I could also PR mascon gravity model + a modification I did to polyhedron (they are done with the new gravity refactor) if that's also of interest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions