Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-4521

Setting RadPer in ModifiedKeplerian vs. HyperbolicAsymptote means different things

    Details

      Description

      This needs further investigation.

      The basic idea is that both ModifiedEquinoctial and HyperbolicAsymptote use the RadPer parameter as an element.

      But, given the same input state, setting RadPer in ModifiedEquinoctial gives a different final state vs. setting RadPer to the same value in HyperbolicAsymptote.

      This is incredibly confusing, because it means that a state definition in initialization (where it's going through HyperbolicAsymptote) will give different results when copied to the mission sequence (where RadPer goes through ModifiedKeplerian).

      The results match STK in both cases, so the math is being done correctly. It could be that RadPer just means different things in each state representation, and so maybe should not be shared after all.

      More work is needed to understand the underlying cause.

      The attached script illustrates the problem.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            jjkparker Joel Parker added a comment -

            That sounds fine to me. I don't think it matters for that calculation.

            Show
            jjkparker Joel Parker added a comment - That sounds fine to me. I don't think it matters for that calculation.
            Hide
            gmatloj Linda Jun added a comment -

            Created HyperbolicRadPer to be used in Incoming/OutgoingAsymptote state types.
            It will be in 2014-04-30 build.

            Show
            gmatloj Linda Jun added a comment - Created HyperbolicRadPer to be used in Incoming/OutgoingAsymptote state types. It will be in 2014-04-30 build.
            Hide
            jjkparker Joel Parker added a comment -

            Updated all hyperbolic asymptote tests.

            Need to create new tests:

            • Additional OrbitStateType tests for HyperbolicRadPer
            • Additional CalculationParameter tests for HyperbolicRadPer

            Need to add to parameter docs too.

            Show
            jjkparker Joel Parker added a comment - Updated all hyperbolic asymptote tests. Need to create new tests: Additional OrbitStateType tests for HyperbolicRadPer Additional CalculationParameter tests for HyperbolicRadPer Need to add to parameter docs too.
            Hide
            jjkparker Joel Parker added a comment -

            Verified as fixed using 2014-04-30 build. All tests written as well.

            Show
            jjkparker Joel Parker added a comment - Verified as fixed using 2014-04-30 build. All tests written as well.
            Hide
            jjkparker Joel Parker added a comment -

            Added to hyperbolic asymptote spec. Will be documented along with that state rep. Closing.

            Show
            jjkparker Joel Parker added a comment - Added to hyperbolic asymptote spec. Will be documented along with that state rep. Closing.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours
                  1d 2h