Challenge moon to mars

flytandem

Tutorial Publisher
Tutorial Publisher
Joined
Oct 19, 2007
Messages
499
Reaction score
5
Points
0
Location
San Bernardino
Website
www.flytandem.com
I recently starting playing with an old challenge from 2007 called moon to mars. I reworked it with several different initial orbit arrangements. I learned a fair bit including what makes it easy and what makes it hard as far as the starting inclination and LAN. So I had to make one with a difficult starting orbit to see how difficult it really was. I ended up spending 4 hours playing with a variety of approaches to the solution with failure after failure. But in the middle of the night I woke up with an idea. So elegant. And it worked leaving between 100 and 150 m/s (even 180) spare deltav. Here it is for those of you that want a challenge. I will post my solution at the end of the year, sooner if someone else posts a solution.

Code:
BEGIN_DESC
Transfer to Mars within the next year. No refueling. 
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 51979.2598765382
END_ENVIRONMENT

BEGIN_FOCUS
  Ship 1
END_FOCUS

BEGIN_CAMERA
  TARGET 1
  MODE Cockpit
  FOV 40.00
END_CAMERA

BEGIN_MFD Left
END_MFD

BEGIN_MFD Right
END_MFD

BEGIN_SHIPS
1:DeltaGlider
  STATUS Orbiting Moon
  RPOS -707706.97 -1551001.44 706487.41
  RVEL 968.466 -883.195 -968.982
  AROT -35.82 -75.56 33.56
  AFCMODE 7
  PRPLEVEL 0:0.036424 1:0.021000
  NAVFREQ 0 0 0 0
  XPDR 0
  AAP 0:0 0:0 0:0
END
END_SHIPS

BEGIN_VistaBoost
END

BEGIN_ExtMFD
END
 
Last edited:

Tex

O-F Administrator
Administrator
Retired Staff
Tutorial Publisher
Joined
Oct 16, 2007
Messages
6,574
Reaction score
67
Points
123
Location
Houston
Website
youtube.com
Ah thanks Rob, I love going to Mars from the Moon! :thumbup:
 

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
Tried a couple of the "conventional" ways to do it... They don't work....
I'll take the "hint", and try this in an "elegant" way, besides... i have 'till the end of the year, at my disposal!
Thank you for this challenge, Rob...
It will "haunt" me, untill i find a solution!
 

flytandem

Tutorial Publisher
Tutorial Publisher
Joined
Oct 19, 2007
Messages
499
Reaction score
5
Points
0
Location
San Bernardino
Website
www.flytandem.com
I am ok with emailing the solution to anyone asking for it as long as they agree to keep it to themselves until the end of the year. Just ask me for it. I get the feeling that if you first spend time trying to solve it and then see the solution, you will :facepalm:
 

Rtyh-12

New member
Joined
Sep 12, 2010
Messages
918
Reaction score
0
Points
0
Location
Kraken Mare
OK. So I just need to try it. I'll tell you when I'll do, 'cause now I'm too lazy. :D
 

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
I made a lua script for this challenge.
You get to see on screen, how much fuel, dv and time you have left:
moon2mars1.jpg


(This next pic was taken by using the scenario editor, i cleared the tanks and advanced the time to about a week before the deadline.)
moon2mars2.jpg


Just unzip the attached file in your orbiter directory and run the "Moon to Mars" scenario, in the "Flytandem's Challenges" folder.
 

Attachments

  • Moon2Mars.zip
    3.2 KB · Views: 47

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
500 US dollars!

Post deleted, no longer valid.
 
Last edited:

Bonanza123d

Time Lord from Gallifrey
Joined
Jun 18, 2010
Messages
269
Reaction score
0
Points
0
I will procede with the challenge. I am a novice when it comes to transfers. Should be fun.
 

Ajaja

Active member
Joined
Apr 20, 2008
Messages
226
Reaction score
93
Points
28
I think, there is good simple single-burn solution at May, 5-7. Something like this:

But it's difficult for me to calculate precise and optimal burn using TransX or IMFD :(
 

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
At last! A skilled challenger! :thumbup:

Good job!
This flight can be done in two ways. Either the "traditional" Moon-Earth-Mars (two burns) or in a single (Moon to Mars) burn.
The second one is "better" for these reasons:

1. Elegant. Requires only one burn to leave the Earth-Moon system.
2. Cheap. Has the potential of requiring the least dv.
3. Complies with flytandem's
I get the feeling that if you first spend time trying to solve it and then see the solution, you will :facepalm:
post. :lol:

From the pic you've posted, I'm seeing that you are cutting it very close. After the TMI burn, you will have only 38 m/s of dv to perform the MCCs and the date of arrival is exactly 364.8 days. Try to refine those a bit. (lots of room for improvement).
In this next pic, I don't want to give away too much, but I'm really pleased to see that you got the general idea.

Untitled-1-1.jpg


"But it's difficult for me to calculate precise and optimal burn using TransX or IMFD :( "

I'm not sure what you mean, but one thing that has always worked for me, was this: Practice, practice, practice!
 
Last edited:

Ajaja

Active member
Joined
Apr 20, 2008
Messages
226
Reaction score
93
Points
28
I tried April 6-8 too. The idea was to look solution near this configurations (for saving maximum energy):

May configuration just looked better ;). But I faulted with DV every time.
 

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
"But I faulted with DV every time."

Try again! You are definetely on the right track, all you have to do is to short out the details.
 

Ajaja

Active member
Joined
Apr 20, 2008
Messages
226
Reaction score
93
Points
28
"But it's difficult for me to calculate precise and optimal burn using TransX or IMFD :( "
I'm not sure what you mean
For example, I find in TransX this solution: MJD 52007.654, prograde velocity 1614 m/s, Cl. App. (rough) ~1.5M
Scenario:
Code:
BEGIN_DESC
Contains the latest simulation state.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 52007.6519094714
END_ENVIRONMENT

BEGIN_FOCUS
  Ship 1
END_FOCUS

BEGIN_CAMERA
  TARGET 1
  MODE Cockpit
  FOV 40.00
END_CAMERA

BEGIN_HUD
  TYPE Orbit
  REF AUTO
END_HUD

BEGIN_MFD Left
  TYPE User
  MODE TransX
  Ship  1
  FNumber 3
  Int 1
  Orbit True
  Vector  1162965.75909 840854.467432 -1159242.99214
  Vector  -525.326271759 1450.82911607 525.952526919
  Double  4.90279493298e+012
  Double  52007.6024601
  Handle Moon
  Handle NULL
  Handle NULL
Select Target
 0 Escape
Autoplan
0 0
Plan type
0 0
Plan
0 1
Plan
0 0
Plan
0 0
Select Minor
 0 None
Manoeuvre mode
0 1
Base Orbit
0 0
Prograde vel.
 0  1613.93991019
Man. date
 0  52007.65395
Outward vel.
 0  0
Ch. plane vel.
 0  0
Intercept with
0 0
Orbits to Icept
0 0
Graph projection
0 0
Scale to view
0 0
Advanced
0 0
Pe Distance
 0  2085600
Ej Orientation
 0  0
Equatorial view
0 0
Finvars
  Finish BaseFunction
  Int 2
  Orbit True
  Vector  -330118303.588 22708091.9478 -163906876.845
  Vector  2029.90951156 64.4292091528 -2587.98714616
  Double  4.03503234902e+014
  Double  52007.6539483
  Handle Earth
  Handle Moon
  Handle NULL
Select Target
 0 Escape
Autoplan
0 0
Plan type
0 2
Plan
0 0
Plan
0 0
Plan
0 1
Select Minor
 0 None
Manoeuvre mode
0 0
Base Orbit
0 0
Prograde vel.
 0  0
Man. date
 0  52007.6382963
Outward vel.
 0  0
Ch. plane vel.
 0  0
Intercept with
0 0
Orbits to Icept
0 0
Graph projection
0 0
Scale to view
0 0
Advanced
0 0
Prograde vel.
 0  0
Eject date
 0  52007.6023719
Outward vel.
 0  0
Ch. plane vel.
 0  0
Finvars
  Finish BaseFunction
  Int 0
  Orbit True
  Vector  -142442416352 92899909.1819 -50117530741.7
  Vector  11397.0987722 30.1429268016 -30294.2243999
  Double  1.32712838556e+020
  Double  52007.9442455
  Handle Sun
  Handle Earth
  Handle Mars
Select Target
 0 Mars
Autoplan
0 0
Plan type
0 2
Plan
0 0
Plan
0 0
Plan
0 0
Select Minor
 0 None
Manoeuvre mode
0 0
Base Orbit
0 0
Prograde vel.
 0  0
Man. date
 0  52007.6519086
Outward vel.
 0  0
Ch. plane vel.
 0  0
Intercept with
0 0
Orbits to Icept
0 0
Graph projection
0 0
Scale to view
0 0
Advanced
0 0
Finvars
  Finish BaseFunction
END_MFD

BEGIN_MFD Right
  TYPE User
  MODE TransX
END_MFD

BEGIN_SHIPS
1:DeltaGlider
  STATUS Orbiting Moon
  RPOS -583843.07 -1651078.85 580381.04
  RVEL 1032.134 -727.685 -1030.703
  AROT -155.84 -42.43 -107.65
  AFCMODE 7
  PRPLEVEL 0:0.036424 1:0.020538
  NAVFREQ 0 0 0 0
  XPDR 0
  AAP 0:0 0:0 0:0
END
END_SHIPS
But increase of the prograde velocity must be ~1722 m/s, not 1614!!! TransX is very inaccurate in this case. With 1614 m/s the Cl. App. ~15G.

P.S. I use Orbiter only with realistic options and calculate long parts of trajectory using Orbiter_ng.exe without graphic module for maximum accuracy.
 
Last edited:

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
But increase of the prograde velocity must be ~1722 m/s, not 1614!!! TransX is very inaccurate in this case. With 1614 m/s the Cl. App. ~15G.

P.S. I use Orbiter only with realistic options and calculate long parts of trajectory using Orbiter_ng.exe without graphic module for maximum accuracy.

Not your fault. Interely mine! Since i am the one that provides the award, I should have set the parameters of this mission. But this one was so hard, (for me) that i didn't think, i should provide any. As long as one chooses to check (or uncheck) the boxes on the "Parameters" tab.
moontomars.jpg



I should have provided the "box to check", without having anyone to guess.
Oh well, i guess i learned my lesson.
 
Last edited:

Ajaja

Active member
Joined
Apr 20, 2008
Messages
226
Reaction score
93
Points
28
dgatsoulis
No. It's not a fault at all. The problem is not in parameters of Orbiter. With all (realistic or not) parameters TransX makes (in my hands) huge error in calculation of single-burn trajectory from Moon to Mars. As I said, "it's difficult for me to calculate precise and optimal burn using TransX or IMFD". I think there is some trick, but I did not find it yet ;)
 

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
Let me review your previous post of the TransX plan.
I'll have time to do that, during this weekend.
There are lots of diffferences between TransX and IMFD, (They use different solutions for similar problems).

I always say, take the time to learn both.
 

flytandem

Tutorial Publisher
Tutorial Publisher
Joined
Oct 19, 2007
Messages
499
Reaction score
5
Points
0
Location
San Bernardino
Website
www.flytandem.com
I guess we have a couple of options. I can post a solution. Or I can let this challenge slowly fossilize with only dgatsoulis having made it. So... soliciting comments,... yay or nay on a solution being posted.
 

dgatsoulis

ele2png user
Donator
Joined
Dec 2, 2009
Messages
1,924
Reaction score
340
Points
98
Location
Sparta
I'd say go ahead and post it flytandem. At the moment I'm writing a post with my two burn solution and also adding a few pics and the scenarios just before and after the burns.

-----EDIT-----

2011 is gone and unfortunately no one found a solution for this challenge.
This means the prize money go to the Forum, so in a sense everyone wins.

Here is how I completed flytandem's Moon to Mars challenge (two burn solution).

First, I time warped to 51992.26 . This date gave me a nice solution of 973 m/s, first leaving the Moon and flying far a way from Earth and then falling back at Earth with a PeA of ~130km and an Inc of 6.1 degrees (no MCCs needed).

Moon2Mars1-1.jpg


Here is the pic after the burn

Moon2Mars2-2.jpg


These two pics correspond to scenarios Moon2Mars1 and 2 attached below. You will need jarmonik's IMFD 5.5

Then as I approached Earth, I set up a plan for Mars, it required only 642 m/s, leaving me with about 100 m/s for the MCCs and a safe approach to Mars.

10 minutes before TMI
Moon2Mars3.jpg


After TMI
Moon2Mars4.jpg


The last two pics are the scenarios Moon2Mars3 and 4, also attached at the end of this post.

Finding the date for the first burn was not by some divine intervention or magical intuition. It took many many hours of trying all shorts of different dates and plans, untill I found something that could work and then refined it, untill I could make a successfull flight. Best time I've had in Orbiter ever!

Here is a vid of how the flight went after the TMI burn to aerocapture on Mars.

http://www.youtube.com/watch?v=lWb_Bl5tVCY&feature=youtu.be

Many thanks to flytandem for this great challenge. I can not wait
to see his solution, I bet it's not going to be very similar to mine. ;)

:cheers:
 

Attachments

  • Moon2Mars scenarios.zip
    3.7 KB · Views: 9
Last edited:

flytandem

Tutorial Publisher
Tutorial Publisher
Joined
Oct 19, 2007
Messages
499
Reaction score
5
Points
0
Location
San Bernardino
Website
www.flytandem.com
Moon to Mars 2011 solution:
Summary
We do a 4 burn solution. Start with a prograde burn to raise the Ap very high. At the Ap, do a single burn that does a plane change of 90 degrees aligning with the ecliptic. At the moon gravity well do a prograde lunar ejection burn that sends you to a low Pe at Earth, then as you round the Earth do the final prograde burn. All that’s left are MCCs.
Finding the solution:
The usual low deltav path from the moon to Mars is to retrograde from the moon and fall toward Earth rounding it just above the atmosphere and in the gravity well do a prograde burn. Often just 450 m/s are enough of a burn in the Earth gravity well to transfer to Mars.

To solve for a solution one can start by looking at the transfer stage from Earth to Mars. Setting up as a sling type plan seems to allow an easier progression through the various values for strength and direction of the ejection and while doing it watching the Earth centered stage for the orientation of the hyperbolic eject trajectory. From this, we need to look at where the moon is at the time 3 to 6 days before the date of the Earth eject. Then finally if the moon is in the correct location for the craft to fall to Earth, we then need to look at the orientation of the orbit at the moon. BTW, to create the plan in stage 3 (sun centered), turn Autoplan “Off” then choose “Sling” as the plan, and the trajectory will appear in stage 2 if in stage 2 you turn Advanced “On” and then for Plan Type choose “Initial”.
Craft that are already in orbit around the moon can be tougher to find a solution than if they are landed on the moon. Highly inclined lunar orbits generally only have two windows a month for an efficient eject from moon to Earth. Remember that the eject needs to be retrograde with respect to the moons motion around the Earth. If the orbit at the moon is low inclination then the option to eject toward Earth occurs once every lunar orbit.

When adjusting the Earth to Mars stage, changes in the “outward” of the sling change the direction of the eject trajectory going around the Earth. This means that if a solution is close but the moon’s location is off by a day or two, you can bring the eject trajectory to match the moon’s location instead of changing to a different eject date. Or consider a combination or changing the strength, direction and date. But large outward and inclination angles in the sling plan are not very efficient. But used in moderation they sometimes allow a fairly low deltav solution for the Earth Mars transfer.

The moon to Earth 2011 challenge is specifically set up to make no obvious solutions. The orbit is oriented with a LAN of 315. The best location of the moon going around the Earth for the ejection is when the moon is at either at the 7:30 or 1:30 position (as in looking at a clock face, Orbit MFD, ref earth, target moon, view ecliptic). A variety of plans for Earth to Mars were tried but adding enough outward inclination and velocity made any candidate too costly in deltav to be successful.

A solution was found by trying a different approach. Instead of adding expensive outward and inclination to the sling plan (because several hours trying this method had failed), I tried going through several weeks of possibilities with a zero inclination, zero outward highly efficient Earth to Mars sling plan. An eject date of 52023.7798 and velocity of 2856 m/s with zero outward and inclination was a very efficient Earth Mars transfer. The good news was that the moon was in near perfect position about 6 days before (mid 52017) to do the retrograde eject from the moon to begin the long fall toward Earth. Unfortunately the orbit of the craft around the moon was oriented to eject just 20 degrees from directly toward or away from the earth. This would not work as a direct eject since we must eject retrograde away from the moon to then fall toward Earth.

The solution finale comes by realizing that one can burn to create a high Ap out from the moon and the Ap is positioned directly away from the Earth. Then at the Ap, a low deltav, low velocity, 90 degree plane change allows falling back toward the moon aligned with the ecliptic rounding it on the leading side and a gravity well burn near the moon will send it in the required retrograde eject from the moon. It takes a about 2.5 days to do this high Ap single orbit for the plane change so if we wish to arrive back at the moon on 25017.5 then we need to start our initial high Ap orbit on 25015.

The highly eccentric orbit for the plane change was unfortunately not directly lined up with the Earth Moon line which would cause the fall to Earth to take too long. But doing the moon gravity well burn a bit before arriving at the lunar Pe, though less efficient, does the trick of keeping the Earth Pe date in the window for the Mars transfer..


Moon to mars challenge solution: (4 main burns)
Warp to Date=52015.00000
Raise the Ap. Open Align MFD reference moon and set a custom target orbit of ecliptic Inc=0 LAN=0. Starting 20 seconds before reaching DN, burn prograde to raise the Ap until T=~190,000 seconds as shown in Orbit MFD.
Plane Change. Warp to the AN in Align MFD same target alignment as above. Note the orbital velocity value in Orbit MFD (should be around 132 m/s) Set up a TransX maneuver to change planes to match the surrogate by, Vel=-132, PlaneChange=+132, and also mix in some outward of about -20 m/s (the negative makes it inward). As you burn watch Align MFD, and stop the burn as it reaches minimum relative inclination. Bring up Orbit MFD. The Pe value should be anywhere from 0 to +500 Km agl. It’s not critical.
Eject Moon, toward Earth. Warp ahead to about 3000 seconds before Pe. Set up a TransX maneuver to burn prograde ~ 1500 seconds before the Pe. Escape FWD to Earth stage. Raise the prograde value until it has a Closest Approach about 6500 Km radius. Note: Changing the maneuver Date value will change the Earth encounter date. Have the Earth encounter date be something between 25023.8 and 25024.8. Have IMFD up to supply actual Earth Pe in its Map program, burn to make Pe= 145 Km. When PeT is around 100Ks (a bit over 1 day), use IMFD to see the Pe value. Burn inward or outward to have the Pe value anywhere from 140 to 175 Km agl. Lower is a bit more efficient in the next step. Now warp to about 1000 seconds before Earth Pe.
Eject Earth, toward Mars. Set up a TransX maneuver, centered at Earth Pe with prograde value to minimize arrival at Mars. Burn using IMFD, ref=sun, target=Mars for shutoff timing to minimize closest approach to Mars. Warp ahead to half way to Mars. TransX maneuver with mostly plane change and some Outward as your MCC to hit Mars. Do additional MCCs as needed.
 

Tex

O-F Administrator
Administrator
Retired Staff
Tutorial Publisher
Joined
Oct 16, 2007
Messages
6,574
Reaction score
67
Points
123
Location
Houston
Website
youtube.com
You guys are the official navigators of O-F through deep space! :)
 
Top