Why Don't Cowell's and Gauss' Methods Match for Osculating Orbital Elements?

AI Thread Summary
The discussion revolves around the discrepancies between results obtained using Cowell's method and Gauss' Variational method for integrating orbital elements of a satellite. The user is attempting to compute time-varying elements over 20 orbital periods but finds that the outputs from both methods do not match as expected. Suggestions indicate that the user should not integrate position and velocity in part two but rather calculate them based on the orbital elements. Additionally, there are identified mathematical errors in the user's code that may affect the results. Clarifying the definitions of certain parameters and providing relevant equations in LaTeX could enhance understanding and assistance.
jsandberg
Messages
7
Reaction score
0

Homework Statement


The orbital elements (a,e,i,w,Omega,f) are to be integrated forward in time using two methods: 1) Cowell's method, which is direct interation, and 2) Gauss' Variational diffeential equations. The full assignment description, initial conditions, and my code are given in the attachment.


Homework Equations


See page 488 of this reference:

http://books.google.com/books?id=Oj...snippet&q=osculating orbital elements&f=false

These equations are used in the attached code.


The Attempt at a Solution


As can be seen from the attached code, my results do not match for the Cowell method and the Gauss' Variational method. These results should match, however. I can't figure out what I'm doing wrong! Any suggestions would be fantastic.
 

Attachments

Physics news on Phys.org


Whoa! That is a lot of stuff to look at! Several hundred lines of MATLAB code, plus problem assignment, etc. is a bit much. Can you briefly summarize what you have done and why you did it that way?
 


Yes! I am so sorry, I have never posted on a forum before and don't know how it works. Let me try to summarize.

I am to find the time-varying elements (a,e,i,w,Omega,f) over 20 orbital periods for a satellite orbiting the earth. The equations are given on page 488 of this textbook:
http://books.google.com/books?id=OjH7aVhiGdcC&printsec=frontcover&dq=Battin&cd=1#v=onepage&q&f=false

I am using an ode45 integration with given initial conditions- basically, I think my orb_el_prop function is not working correctly. If you download the zipped files and run Part1Main.m (no need to look through Part 1 code unless you'r curious), the plots should look the same as for my Part2Main. If you run Part2Main.m, you'll see the plots don't match.

I hope that makes more sense. Thanks!
 


In part 2 you really should not be integrating position and velocity. You should be calculating them based on orbital elements. Also, you have some math errors in your part 2 orb_el_prop.m. Per that file, ar and ah will be identically equal to one (within numerical error) and atheta will be zero.
 


Thank you! To calculate the orbial elements, I need norm(r), which means I need the position vector. How do I calculate this if I'm not integrating the position?
 


You use your integrated osculating orbital elements.

Addendum
jsandberg, I have to run out for a while; I may not be back until quite a bit later this evening. I have asked other homework helpers to dive up, but to be honest, numerically integrating Lagrange's Planetary Equations is a bit esoteric a topic. You can help by briefly specifying what you are trying to do here. It will help both you and other helpers who might dive in if you explain what your ar, ah, and atheta are supposed to be.

It will also help if you type out (rather than refer us to a book) the relevant equations. We have a LaTeX mechanism by which you can post mathematics in LaTeX.
 
Last edited:

Similar threads

Replies
3
Views
3K
Back
Top