Access to internal variables in force model?

Control flow commands, Target, Vary, Minimize, NonlinearConstraint, etc.

Access to internal variables in force model?

Postby dschultz » Tue Sep 08, 2015 1:40 am

Is there a defined way to access internal variables such as the individual gravitational attraction of the Sun and Moon for output to a report file? I would like to understand how the solar and lunar forces vary over time and with other parameters, but the documentation has not led me to find these variables. My first guess was to try to access the lunar coordinates in the form "Luna.EarthMJ2000Eq.X" for the X component of the moon's position but this just produces zero for an output. For an elliptical orbit I would like to compute the "Lunar Beta angle" to go along with the solar beta angle, and also the angle between the solar and lunar vectors and the major axis of the satellite's elliptical orbit. Thanks.
Posts: 6
Joined: Fri Sep 21, 2012 6:53 am

Return to GMAT Commands

Who is online

Users browsing this forum: No registered users and 2 guests