Help with lunar orbit transfer

Using GMAT for specific types of missions.

Help with lunar orbit transfer

Postby vishal145 » Mon Dec 30, 2013 8:51 am

Hi,

I have trouble in a lunar orbit transfer. The time taken for computation is very long and I have not received any solution regarding the transfer trajectory...I have attached the script along...Pls help

Thanks in advance!
Attachments
indus.script
lunar transfer script
(11.09 KiB) Downloaded 289 times
vishal145
 
Posts: 1
Joined: Wed Dec 25, 2013 7:50 am

Re: Help with lunar orbit transfer

Postby jjkparker » Tue Jan 07, 2014 1:35 pm

Hi, I moved this post to a new topic, since it's a separate issue.

I ran your script, and it looks like your initial maneuver guesses aren't getting the spacecraft away from the Earth. So this line propagates forever:
Code: Select all
   Propagate 'PropSOI' EarthProp(Team_INDUS) {Team_INDUS.Earth.RMAG = 325000};


You can add a time-based condition to the propagation, like so, so it'll stop after 3 days if it never reaches RMAG=325000:
Code: Select all
   Propagate 'PropSOI' EarthProp(Team_INDUS) {Team_INDUS.Earth.RMAG = 325000, Team_INDUS.ElapsedDays = 3};


Or you can use a better initial guess. See the Ex_GivenEpochGoToTheMoon.script sample script for an example of how to get a good initial guess.
Joel J. K. Parker
Flight dynamics engineer, GMAT team
http://gmatcentral.org
jjkparker
 
Posts: 617
Joined: Thu Jan 07, 2010 9:48 pm
Location: NASA Goddard Space Flight Center, Greenbelt, MD


Return to Flight Regimes and Mission Types

Who is online

Users browsing this forum: No registered users and 1 guest

cron