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

Beta Angle is Off by about .003 degrees

    Details

      Description

      13 May 2010.

      See the script and truth data for test case CSparams_GMAT_ISS_2Body.script

        Gliffy Diagrams

          Attachments

            Activity

            shughes Steven Hughes created issue -
            jjkparker Joel Parker made changes -
            Field Original Value New Value
            Fix Version/s Sept 1 [ 10358 ]
            jjkparker Joel Parker made changes -
            Affects Version/s Development [ 10335 ]
            djcinsb Darrel Conway made changes -
            Fix Version/s R2013a [ 10201 ]
            Priority P3 [ 5 ] P1 [ 1 ]
            Affects Version/s R2012a [ 10000 ]
            gmatloj Linda Jun made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            gmatloj Linda Jun made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            gmatloj Linda Jun made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            gmatloj Linda Jun added a comment -

            Code matches with the math spec. Can you verify that truth data is correct?

            3.2.8 BetaAngle
            Definition: The Beta angle, β, is defined as the angle between the orbit normal vector, and the vector from the celestial body to the sun.

            ˆh = r⊕ × v⊕ / |r⊕ × v⊕k|
            ˆrs⊕ = rs⊕ / |s⊕|
            β = sin−1(ˆh · ˆrs⊕) (3.102)

            • r⊕: Position vector of spacecraft with respect to celestial body, in the EarthMJ2000Eq system.
            • v⊕: Velocity vector of spacecraft with respect to celestial body, in the EarthMJ2000Eq system.
            • rs⊕: Position vector from celestial body, to the sun.

            Show
            gmatloj Linda Jun added a comment - Code matches with the math spec. Can you verify that truth data is correct? 3.2.8 BetaAngle Definition: The Beta angle, β, is defined as the angle between the orbit normal vector, and the vector from the celestial body to the sun. ˆh = r⊕ × v⊕ / |r⊕ × v⊕k| ˆrs⊕ = rs⊕ / |s⊕| β = sin−1(ˆh · ˆrs⊕) (3.102) • r⊕: Position vector of spacecraft with respect to celestial body, in the EarthMJ2000Eq system. • v⊕: Velocity vector of spacecraft with respect to celestial body, in the EarthMJ2000Eq system. • rs⊕: Position vector from celestial body, to the sun.
            gmatloj Linda Jun logged work - 23/Oct/12 7:47 PM
            • Time Spent:
              2 hours, 30 minutes
               

              Reviewed the code for computing BetaAngle. Ran the script and compared the results with truth data.

            gmatloj Linda Jun made changes -
            Worklog Id 12046 [ 12046 ]
            Time Spent 2 hours, 30 minutes [ 9000 ]
            Remaining Estimate 0 minutes [ 0 ]
            gmatloj Linda Jun made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            Hide
            gmatloj Linda Jun added a comment -

            Joel,
            Can you verify that truth data is correct?

            Show
            gmatloj Linda Jun added a comment - Joel, Can you verify that truth data is correct?
            gmatloj Linda Jun made changes -
            Assignee Linda Jun [ gmatloj ] Joel Parker [ jjkparker ]
            Hide
            jjkparker Joel Parker added a comment -

            Truth data was incorrect. Tests are now matching.

            Show
            jjkparker Joel Parker added a comment - Truth data was incorrect. Tests are now matching.
            jjkparker Joel Parker made changes -
            Resolution Won't Fix [ 2 ]
            Status Open [ 1 ] Resolved [ 5 ]
            jjkparker Joel Parker made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 2 hours, 30 minutes
                  2h 30m