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

For Loop numerical diff. from straight prop.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      There seems to be an error in for loop propagation. For an Earth Moon L2 orbit I'm getting very different results with and without for loop propagation. I've attached the script to this bug.

      Here are the final position vector states for the Earth Moon L2 AllPlanets test case (GMAT release 1.0):
      (All have integrator tolerances of 1e-13 and the numbers below are in km)

      Using RSSState, no For Loop, and Override Time System checked
      -308883.3788117321 -306399.6864364018 -150356.5882379661
      Using RSSState, no For Loop, and Override Time System unchecked
      -308883.492238578 -306399.754436648 -150356.6171130495
      Using RSSStep, no For Loop, and Override Time System checked
      -308883.3788403962 -306399.6864533593 -150356.5882449114
      Using RSSStep, no For Loop, and Override Time System unchecked
      -308883.4921739086 -306399.7543996003 -150356.6170970566

      Using RSSState, For Loop, and Override Time System checked
      -308658.0297198109 -306258.6681392685 -150297.7684587897
      Using RSSState, For Loop, and Override Time System unchecked
      -308608.869362031 -306234.9470862754 -150285.646231368
      Using RSSStep, For Loop, and Override Time System checked
      -308829.0574187836 -306367.5224973172 -150342.7573048955
      Using RSSStep, For Loop, and Override Time System unchecked
      -308816.1157354724 -306359.9122561714 -150339.4524902653

      The RSSState/RSSStep, no For Loop, and Override Time System checked cases compare the best with STK's results.
      STK's Final State using relative to state
      -308883.3788190030 -306399.68644114392 -150356.58823942862

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: