Jump to content

[Tutorial] Interactive Illustrated Interplanetary Guide and Calculator


olex

Recommended Posts

Now with actual data from KSP 0.17! Enjoy your interplanetary transfers!

Performing a transfer from an orbit of one body directly to an orbit of another one seems like serious business. A few guides published on the forums have a lot of maths and stuff, you may think this is too complicated to figure out.

Well, it is rocket science, but: it doesn't have to be complicated!

Based on the great Interplanetary how-to guide by Kosmo-not, and with invaluable help from maltesh with more maths, I have taken some time to build the Interactive Illustrated Interplanetary Guide and Calculator for KSP, available under:

http://ksp.olex.biz

Example calculation:

rEaBd.png

Edited by sal_vager
Link to comment
Share on other sites

Maybe I don't understand Planetary Phase angle,

But that picture looks like you're just measuring the angle between the Mun and Minmus. I thought you would just find the angle between your burn point and where the destination is projected to be.

And the second image isn't making things clear either...looks like you'd end up flying directly towards Kerbin, rather than Kerbin retrograde.

I dunno. I'm probably completely wrong in what I'm thinking it's trying to tell me, but that's my point.

I don't really understand what it's trying to tell me, and if I do, it's not making sense.

Link to comment
Share on other sites

The phase angle is nothing else but the angle between Mun and Minmus, for the example transfer between those two. It's equivalent to 180° minus what you described, the angle the destination planet/moon will cover during your transfer - to perform a transfer, you want to know when to start it, and the easiest way to figure that is to look for where the destination is, which is what the image is showing.

And the ejection angle is the angle at which you do your burn, given it relation to prograde/retrograde because those two are easiest to measure it against. It is not the angle the ship will fly through during the escape, that angle is exactly 90° smaller, so you will exit the origin's SoI parallel to its prograde or retrograde.

Probably the easiest way to see how these values work is to actually do a transfer using them. The Mun to Minmus transfer doesn't work 100% correctly due to complicated reasons, but Minmus to Mun works perfectly. Do that, and you will see how the escape and intercept trajectories form from these angles.

Link to comment
Share on other sites

Wow very nice! :D I just made a spreadsheet to do this, but this calculator is wayyyy better and I'll probably use it instead :P

Edit: I tried downloading the bootstrap thing but I don't know how (it is probably too complex for me anyway but I wanted to mess around with it)

Do you have to pay for it or something? If I try to open it it will go into WinRar...

Edited by 2008dragon
Link to comment
Share on other sites

The phase angle is nothing else but the angle between Mun and Minmus, for the example transfer between those two. It's equivalent to 180° minus what you described, the angle the destination planet/moon will cover during your transfer - to perform a transfer, you want to know when to start it, and the easiest way to figure that is to look for where the destination is, which is what the image is showing.

And the ejection angle is the angle at which you do your burn, given it relation to prograde/retrograde because those two are easiest to measure it against. It is not the angle the ship will fly through during the escape, that angle is exactly 90° smaller, so you will exit the origin's SoI parallel to its prograde or retrograde.

Probably the easiest way to see how these values work is to actually do a transfer using them. The Mun to Minmus transfer doesn't work 100% correctly due to complicated reasons, but Minmus to Mun works perfectly. Do that, and you will see how the escape and intercept trajectories form from these angles.

OH! Are you transferring from Minmus to the Mun?

I was under the impression we were launching from Kerbin!

Well...suddenly things make a bit more sense.

Was I just being stupid and didn't read, or should you write that somewhere?

The reason I assumed Kerbin was because the lines marking the angles centered down on Kerbin and because the game always starts on Kerbin.

Link to comment
Share on other sites

OH! Are you transferring from Minmus to the Mun?

I was under the impression we were launching from Kerbin!

Well...suddenly things make a bit more sense.

Was I just being stupid and didn't read, or should you write that somewhere?

The reason I assumed Kerbin was because the lines marking the angles centered down on Kerbin and because the game always starts on Kerbin.

Well, the screenshot has the calculator on the right with "Origin: Minmus" and "Destination: Mun" shown selected :)

It can be used to transfer from Kerbin to other planets, it's just there aren't any other planets to transfer to as of now. There's some guesstimated data for upcoming 0.17 planets in the calculator though, that one can play around with.

Link to comment
Share on other sites

Well, the screenshot has the calculator on the right with "Origin: Minmus" and "Destination: Mun" shown selected :)

Well I guess I was just being stupid then lol

But yeah, trying to figure why we were measuring the angle between the Mun and Minmus, and then going retrograde to the Mun when we wanted Kerbin was very very confusing lol

Link to comment
Share on other sites

Plugged the Eve data from this post by NovaSilisko, it's not complete though, and not guaranteed to be accurate either. The name Eve seems to be pretty confirmed by now, so it's in as well. Hard refresh the page (Ctrl-F5) if it isn't working for you to clear the old Javascript from cache.

Link to comment
Share on other sites

I'm sitting at my desk, lost in awe and amazement at how a game can bring people to do real math and physics for the sake of just doing it. This piece of programming there, it's AWESOME! Congrats on you three, and thanks!

+1 for the sticky-proposal :)

Link to comment
Share on other sites

May I ask you why your calculator assumes that you are doing a clockwise orbit for a burn to get to the interior bodies, instead of the much more natural ( atleast from a Kerbin launch ) anti-clockwise one ? I assume that from a purely injection burn PoV it is more effective that way, but given the extra fuel costs to launch for a clockwise Kerbin orbit, choosing between a clockwise and a anti-clockwise starting orbit should probably be a option ;)

Link to comment
Share on other sites

If im allowed to push the boundary just a touch, how hard is it to add a third body so we can time slingshots from one body to the next. :)

A trajectory from kerbin lko to mun to eve might be interesting. :)

I can't recall Eve's orbital radius around Kerbol. Based on a calculation I did not too long ago on the best case scenario for a Mun slingshot (exit trajectory being perfectly prograde), a mun slingshot will beat an ejection from Kerbin up to a needed Kerbin SOI exit velocity of 1200 m/s. That corresponds to a target planet orbital radius of 24Gm or 8.3Gm. Since I don't think a slingshot like that is possible, those bounds would be tighter.

Link to comment
Share on other sites

That's a really nice piece of software.

But it seems that your calculator can't calculate direct transfer burns from one planets moon to another planet (e.g. Minmus -> Duna or Ike -> Kerbin). Are there any chances that this will be implemented in the future?

Link to comment
Share on other sites

That's a really nice piece of software.

But it seems that your calculator can't calculate direct transfer burns from one planets moon to another planet (e.g. Minmus -> Duna or Ike -> Kerbin). Are there any chances that this will be implemented in the future?

Currently, only transfers between bodies orbiting the same parent are possible to calculate. I will add parent-child transfers first (going from Jool orbit to one of the moons and other way around), and then possibly also indirect transfers like what you are talking about.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...