Calculating Earth to Mars launch windows

SLAM: debunk creationism, pseudoscience, and superstitions. Discuss logic and morality.

Moderator: Alyrium Denryle

Post Reply
Adam Reynolds
Jedi Council Member
Posts: 2354
Joined: 2004-03-27 04:51am

Calculating Earth to Mars launch windows

Post by Adam Reynolds »

I was trying to find out exactly what date The Martain would have to take place. We know that it must be a time when Mars it at its opposition point right around November(because a major plot point was that they had fresh potatoes for Thanksgiving).

According to author Andy Weir, he left this as an exercise for the reader and there actually is a valid date within the 21st century that would allow this to occur.

How exactly would you calculate when this would be? I haven't found a list of opposition dates that would go into the 2030s and beyond that would allow one to find this without doing a large amount of complicated mathematics.
User avatar
SpottedKitty
Jedi Master
Posts: 1004
Joined: 2014-08-22 08:24pm
Location: UK

Re: Calculating Earth to Mars launch windows

Post by SpottedKitty »

Here's a Google search that comes up with a variety of ways of looking at essentially the same kind of data. The "Cosmic Train Schedule" page has a table of links including Earth-to-Mars, which gives launch windows for about the next 300 years.

I haven't read the book, so I'm a bit dubious about the "fresh potatoes" thing. A standard minimum-energy coasting transfer orbit from Earth to Mars will always take the same time, about 8-9 months with launch opportunities about every 26 months. The only way round that is a spaceship with a constant-thrust drive, e.g. Ion or Nuclear Thermal; is this gone into at all in the book? The only way to get fresh food on a trip like that is to grow it on the way out.

Incidentally, this has interesting consequences for mission planning for any manned Mars trip — when you get there, you must either leave almost at once, or wait until the next Mars-to-Earth window opens.
“Despite rumor, Death isn't cruel — merely terribly, terribly good at his job.”
Terry Pratchett, Sourcery
User avatar
Parallax
Jedi Knight
Posts: 855
Joined: 2002-10-06 04:34am
Contact:

Re: Calculating Earth to Mars launch windows

Post by Parallax »

I do believe that in the film, the main character actually grows said potatoes once he's stranded on Mars.
User avatar
Eternal_Freedom
Castellan
Posts: 10369
Joined: 2010-03-09 02:16pm
Location: CIC, Battlestar Temeraire

Re: Calculating Earth to Mars launch windows

Post by Eternal_Freedom »

He grows them from fresh vaccuum-sealed potatoes they'd brought with them for Thanksgiving, so that gives you an approximate end date for their planned 30-day mission.
Baltar: "I don't want to miss a moment of the last Battlestar's destruction!"
Centurion: "Sir, I really think you should look at the other Battlestar."
Baltar: "What are you babbling about other...it's impossible!"
Centurion: "No. It is a Battlestar."

Corrax Entry 7:17: So you walk eternally through the shadow realms, standing against evil where all others falter. May your thirst for retribution never quench, may the blood on your sword never dry, and may we never need you again.
Simon_Jester
Emperor's Hand
Posts: 30165
Joined: 2009-05-23 07:29pm

Re: Calculating Earth to Mars launch windows

Post by Simon_Jester »

SpottedKitty wrote:I haven't read the book, so I'm a bit dubious about the "fresh potatoes" thing. A standard minimum-energy coasting transfer orbit from Earth to Mars will always take the same time, about 8-9 months with launch opportunities about every 26 months.

The only way round that is a spaceship with a constant-thrust drive, e.g. Ion or Nuclear Thermal; is this gone into at all in the book?
Yes; it is explicitly stated that the NASA spacecraft Hermes which delivers the astronauts to (and from) Mars is a constant-thrust vessel. Although total delta-V appears to still be limited, as illustrated by the limitations on the Rich Purnell maneuver listed later in the story.
The only way to get fresh food on a trip like that is to grow it on the way out.
In this case, the potatoes don't have to be fresh- they just have to be frozen and then capable of sprouting again when left out in the open.
Incidentally, this has interesting consequences for mission planning for any manned Mars trip — when you get there, you must either leave almost at once, or wait until the next Mars-to-Earth window opens.
The Ares missions (Watney's mission in the book/movie is the third) fit this profile; the astronauts are supposed to spend thirty days on the surface. This is why it is so difficult for Watney to survive when his crew leaves him for dead- he's left with only the supplies needed to support a six-person expedition for thirty days, and needs to somehow survive for years.
This space dedicated to Vasily Arkhipov
User avatar
Eternal_Freedom
Castellan
Posts: 10369
Joined: 2010-03-09 02:16pm
Location: CIC, Battlestar Temeraire

Re: Calculating Earth to Mars launch windows

Post by Eternal_Freedom »

If the normal low-energy transfer orbit takes 8-9 months, why does the film keep referring to them spending 400+ days in flight? And that's before they try the Purnell Maneuver that is.
Baltar: "I don't want to miss a moment of the last Battlestar's destruction!"
Centurion: "Sir, I really think you should look at the other Battlestar."
Baltar: "What are you babbling about other...it's impossible!"
Centurion: "No. It is a Battlestar."

Corrax Entry 7:17: So you walk eternally through the shadow realms, standing against evil where all others falter. May your thirst for retribution never quench, may the blood on your sword never dry, and may we never need you again.
Simon_Jester
Emperor's Hand
Posts: 30165
Joined: 2009-05-23 07:29pm

Re: Calculating Earth to Mars launch windows

Post by Simon_Jester »

If you mean the proposed Iris probe launches to send a resupply package to Watney...

Probably because they are NOT launching those at the ideal launch windows? The most optimal time for a fast, low-energy launch is during the window. At other times, you can still send a probe to Mars- but it will take longer, or require a lot more delta-V to get there in the same amount of time.
This space dedicated to Vasily Arkhipov
User avatar
SpottedKitty
Jedi Master
Posts: 1004
Joined: 2014-08-22 08:24pm
Location: UK

Re: Calculating Earth to Mars launch windows

Post by SpottedKitty »

Simon_Jester wrote:Probably because they are NOT launching those at the ideal launch windows? The most optimal time for a fast, low-energy launch is during the window. At other times, you can still send a probe to Mars- but it will take longer, or require a lot more delta-V to get there in the same amount of time.
Yes, the links I gave upthread were all for optimum minimum-energy transfer orbits (IIRC called Hohmann orbits). Go too far outside the launch windows, and the only way to get there from here "right now" is to use one or more gravitational slingshots to give your velocity a good hard kick at each planetary encounter. 400+ days sounds like a credible guesstimate for just past the end of an Earth-Mars window, using a single Venus or Venus-Earth encounter to catch up. And then the whole thing has to be recalculated for the return trip, because all the planets have moved, and you're even further out of the optimum Mars-Earth window.

Beyond that, things get complicated. It is Rocket Science in this case... :wink:
“Despite rumor, Death isn't cruel — merely terribly, terribly good at his job.”
Terry Pratchett, Sourcery
User avatar
Eternal_Freedom
Castellan
Posts: 10369
Joined: 2010-03-09 02:16pm
Location: CIC, Battlestar Temeraire

Re: Calculating Earth to Mars launch windows

Post by Eternal_Freedom »

Ah, I'd forgotten that part, my apologies.

It's funny really, but I always had the impression that the launch windows for the Hohmann were the only times you could launch a mission, rather than just the ideal ones. Learn something new every day I guess.
Baltar: "I don't want to miss a moment of the last Battlestar's destruction!"
Centurion: "Sir, I really think you should look at the other Battlestar."
Baltar: "What are you babbling about other...it's impossible!"
Centurion: "No. It is a Battlestar."

Corrax Entry 7:17: So you walk eternally through the shadow realms, standing against evil where all others falter. May your thirst for retribution never quench, may the blood on your sword never dry, and may we never need you again.
Simon_Jester
Emperor's Hand
Posts: 30165
Joined: 2009-05-23 07:29pm

Re: Calculating Earth to Mars launch windows

Post by Simon_Jester »

If you can launch a rocket fast enough, you can go from Earth to Mars any time you like... eventually. It's just that going quickly and efficiently requires a great deal of timing.
This space dedicated to Vasily Arkhipov
User avatar
Eternal_Freedom
Castellan
Posts: 10369
Joined: 2010-03-09 02:16pm
Location: CIC, Battlestar Temeraire

Re: Calculating Earth to Mars launch windows

Post by Eternal_Freedom »

Yeah I get that. I suppose my brain just latched onto "launch windows" and assumed they were fixed and you could use them and only them. Oh well.
Baltar: "I don't want to miss a moment of the last Battlestar's destruction!"
Centurion: "Sir, I really think you should look at the other Battlestar."
Baltar: "What are you babbling about other...it's impossible!"
Centurion: "No. It is a Battlestar."

Corrax Entry 7:17: So you walk eternally through the shadow realms, standing against evil where all others falter. May your thirst for retribution never quench, may the blood on your sword never dry, and may we never need you again.
Adam Reynolds
Jedi Council Member
Posts: 2354
Joined: 2004-03-27 04:51am

Re: Calculating Earth to Mars launch windows

Post by Adam Reynolds »

So I actually found the answer to my question indirectly. Promotional material for the film indicates that Whatney and Johanssen both joined NASA in 2032, indicating that the mission had to be in either 2033 or 2036. 2033 is the logical date as the ideal point is in December, closer to the November window than 2036 which would wind up in February. The slightly later date would also justify the Purnell maneuver as it would mean that Mars was a closer distance for that to work.
Simon_Jester
Emperor's Hand
Posts: 30165
Joined: 2009-05-23 07:29pm

Re: Calculating Earth to Mars launch windows

Post by Simon_Jester »

Eternal_Freedom wrote:Yeah I get that. I suppose my brain just latched onto "launch windows" and assumed they were fixed and you could use them and only them. Oh well.
Space is big and empty; you can launch stuff to Mars whenever you like if you have enough delta-V and don't care about efficiency.

Realistically it's going to be a looong time before we don't care about efficiency...
This space dedicated to Vasily Arkhipov
User avatar
Guardsman Bass
Cowardly Codfish
Posts: 9281
Joined: 2002-07-07 12:01am
Location: Beneath the Deepest Sea

Re: Calculating Earth to Mars launch windows

Post by Guardsman Bass »

Yep. IIRC the Delta-V to push straight off from Earth and make the crossing to Mars when they're at their closest is particularly high, around 250 km/s.
“It is possible to commit no mistakes and still lose. That is not a weakness. That is life.”
-Jean-Luc Picard


"Men are afraid that women will laugh at them. Women are afraid that men will kill them."
-Margaret Atwood
Simon_Jester
Emperor's Hand
Posts: 30165
Joined: 2009-05-23 07:29pm

Re: Calculating Earth to Mars launch windows

Post by Simon_Jester »

Although if you have that kind of delta-v to throw around, well... at a casual estimate, the trip time would be... Mars has an orbital radius of 1.6 AU, so at opposition* that's 0.6 times 93 million miles is about 56 million miles apart... divide by five and multiply by eight to get about 89 million kilometers... round to 90...

90 million kilometers, with most of the trip taken at a speed of 125 km/s (you need half to speed up and half to slow back down)... 1000 kilometers per eight seconds, one million kilometers per eight thousand seconds, which is approximately two and a quarter hours. A little over ten million kilometers a day, therefore...

...aaaand you'd make the trip in about nine days.

IF you had a rocket capable of high-acceleration burns with a total delta-v budget of 250 km/s, which is far, far, far in excess of anything I can imagine doing without, oh, high-end nuclear propulsion systems.


*For anyone who doesn't know, that's when Mars and the Sun are on opposite sides of the sky- i.e. when Mars and Earth are closest.
This space dedicated to Vasily Arkhipov
User avatar
Guardsman Bass
Cowardly Codfish
Posts: 9281
Joined: 2002-07-07 12:01am
Location: Beneath the Deepest Sea

Re: Calculating Earth to Mars launch windows

Post by Guardsman Bass »

It'd be fantastic. If it's some type of crazy-powerful nuclear-electric system, you might even be able to simulate gravity the whole way by accelerating/decelerating at a fraction of a g the whole trip (although you'd then have to redesign the crew habs to flip around after the halfway point, since the "direction" of the "gravity" would switch).

And of course, you'd be looking at drastically shorter trip times to the outer solar system as well - weeks and months instead of years. It would actually make a crewed mission out there potentially feasible without running the mission on a five-year-time-scale (or longer).
“It is possible to commit no mistakes and still lose. That is not a weakness. That is life.”
-Jean-Luc Picard


"Men are afraid that women will laugh at them. Women are afraid that men will kill them."
-Margaret Atwood
Simon_Jester
Emperor's Hand
Posts: 30165
Joined: 2009-05-23 07:29pm

Re: Calculating Earth to Mars launch windows

Post by Simon_Jester »

Well, an acceleration burn imparting 125 km/s would actually only translate to roughly 12500 seconds at one gravity. So the engine burns would compose only about one day out of your nine day flight- which means you could travel significantly faster than that if your engine performance were that good.
This space dedicated to Vasily Arkhipov
User avatar
Eternal_Freedom
Castellan
Posts: 10369
Joined: 2010-03-09 02:16pm
Location: CIC, Battlestar Temeraire

Re: Calculating Earth to Mars launch windows

Post by Eternal_Freedom »

How long would it take for an Earth/Mars flight at opposition if you could maintain a 1g acceleration?
Baltar: "I don't want to miss a moment of the last Battlestar's destruction!"
Centurion: "Sir, I really think you should look at the other Battlestar."
Baltar: "What are you babbling about other...it's impossible!"
Centurion: "No. It is a Battlestar."

Corrax Entry 7:17: So you walk eternally through the shadow realms, standing against evil where all others falter. May your thirst for retribution never quench, may the blood on your sword never dry, and may we never need you again.
User avatar
Imperial528
Jedi Council Member
Posts: 1798
Joined: 2010-05-03 06:19pm
Location: New England

Re: Calculating Earth to Mars launch windows

Post by Imperial528 »

For the entire trip? Just under five days at opposition, ignoring the sun. Assuming I did my math correctly.

That is, modeling as a Braichistochrone trajectory, we get t=2*SQRT((401E+9m)/9.806m/s) which means t=~404E+3s, or about five days.
User avatar
Zeropoint
Jedi Knight
Posts: 581
Joined: 2013-09-14 01:49am

Re: Calculating Earth to Mars launch windows

Post by Zeropoint »

although you'd then have to redesign the crew habs to flip around after the halfway point, since the "direction" of the "gravity" would switch
Well, technically, you would need to flip the habitat sections around. Since spaceships usually have only one set of main engines (to save on mass), you'd need to flip your engines around, too.

The generally accepted way to accomplish both of these goals at once is to turn the whole ship around. :D
I'm a cis-het white male, and I oppose racism, sexism, homophobia, and transphobia. I support treating all humans equally.

When fascism came to America, it was wrapped in the flag and carrying a cross.

That which will not bend must break and that which can be destroyed by truth should never be spared its demise.
User avatar
Guardsman Bass
Cowardly Codfish
Posts: 9281
Joined: 2002-07-07 12:01am
Location: Beneath the Deepest Sea

Re: Calculating Earth to Mars launch windows

Post by Guardsman Bass »

I'm confused on that one. The ship's accelerating outwards, pushing you towards the back of it. Then it flips, starts decelerating - are you being pushed against the "back" again, or towards the "front" in that situation?
“It is possible to commit no mistakes and still lose. That is not a weakness. That is life.”
-Jean-Luc Picard


"Men are afraid that women will laugh at them. Women are afraid that men will kill them."
-Margaret Atwood
User avatar
Eternal_Freedom
Castellan
Posts: 10369
Joined: 2010-03-09 02:16pm
Location: CIC, Battlestar Temeraire

Re: Calculating Earth to Mars launch windows

Post by Eternal_Freedom »

You'll still be pushed towards the engine end, because that's where the thrust is. Even if you are slowing down, the force of acceleration is acting the same way as when you're speeding up.
Baltar: "I don't want to miss a moment of the last Battlestar's destruction!"
Centurion: "Sir, I really think you should look at the other Battlestar."
Baltar: "What are you babbling about other...it's impossible!"
Centurion: "No. It is a Battlestar."

Corrax Entry 7:17: So you walk eternally through the shadow realms, standing against evil where all others falter. May your thirst for retribution never quench, may the blood on your sword never dry, and may we never need you again.
User avatar
SpottedKitty
Jedi Master
Posts: 1004
Joined: 2014-08-22 08:24pm
Location: UK

Re: Calculating Earth to Mars launch windows

Post by SpottedKitty »

Guardsman Bass wrote:I'm confused on that one. The ship's accelerating outwards, pushing you towards the back of it. Then it flips, starts decelerating - are you being pushed against the "back" again, or towards the "front" in that situation?
Acceleration is acceleration. It feels the same when you're on the ship, but when you're looking at it from outside you can see it's pointing in the opposite direction after turning over.

Think of it as two arrows drawn outwards from the ship. Before turnover, the small "acceleration" arrow is constant and the big "velocity" arrow is growing longer, and both are pointing in the same direction; forwards. After turnover, the "acceleration" arrow is the same length but it's swung round to point in the opposite direction, and the "velocity" arrow is shrinking.
“Despite rumor, Death isn't cruel — merely terribly, terribly good at his job.”
Terry Pratchett, Sourcery
User avatar
TimothyC
Of Sector 2814
Posts: 3793
Joined: 2005-03-23 05:31pm

Re: Calculating Earth to Mars launch windows

Post by TimothyC »

Adamskywalker007 wrote:I was trying to find out exactly what date The Martain would have to take place. We know that it must be a time when Mars it at its opposition point right around November(because a major plot point was that they had fresh potatoes for Thanksgiving).

According to author Andy Weir, he left this as an exercise for the reader and there actually is a valid date within the 21st century that would allow this to occur.

How exactly would you calculate when this would be? I haven't found a list of opposition dates that would go into the 2030s and beyond that would allow one to find this without doing a large amount of complicated mathematics.
Weir has, on facebook, stated that the window used is the 2035 window (SOL 1 is November 7th, 2035). This fits with the Hermes not fitting a perfect Hohmann Transfer because of the long thrust periods.
Facebook link.
"I believe in the future. It is wonderful because it stands on what has been achieved." - Sergei Korolev
Post Reply