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

Major errors in state when changing specific coordinate systems.

    Details

      Description

      Created an attachment (id=1456)
      Load this file to convert to all coordinate systems

      Load the BS-AllCoords.script attached and open Default SC.

      Set the Coordinate system to EarthMJ2000Eq and set the Cartesian state to:

      X: 5071.29822692573
      Y: 8411.70980173605
      Z: 267.680557173554
      VX: -5.44396385662813
      VY: 3.33268919535591
      VZ: 0.727825646501984

      Then change the Coordinate System to SunMJ2000EC. The state should be:

      X: 125912803.1220470000
      Y: 163450023.4650460000
      Z: 66337826.4249301000
      VX: -33.5749844009
      VY: 0.0008503563
      VZ: 1.4931513809

      but GMAT outputs:

      X: -105610452.5292780000
      Y: 102950234.9720830000
      Z: 199.1551456824
      VX: -26.7090415138
      VY: -18.1104991712
      VZ: 0.7267681121

      There are large errors in every state element.

      Then change the state to CS_ESL2. The state should be:

      X: -560121.5615799140
      Y: 284125.8138175170
      Z: 13140.7216646326
      VX: 5.4669115787
      VY: 0.7694483179
      VZ: 0.6355953786

      but GMAT outputs:

      X: 1065146.9798736300
      Y: -940367.7992908120
      Z: -407406.8320355240
      VX: -5.2305237214
      VY: 2.9656336125
      VZ: 2.0790570669

      Again, lagre errors in every state element.

      Finally change the state to CS_SSBary. The state should be:

      X: 147428584.0468950000
      Y: -9578.3404675689
      Z: 266.8937442606
      VX: 6.6827948425
      VY: 1.3706720758
      VZ: 0.7269537851

      but GMAT outputs:

      X: -106261378.9198180000
      Y: 93752651.0989441000
      Z: 40671209.0779822000
      VX: -26.6947192601
      VY: -16.9105817466
      VZ: -6.5398538120

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: