Jump to content

Should I believe MechJeb or KAC?


Targa

Recommended Posts

Trying to get to a launch window from Kerbin to Duna, and MechJeb and Kerbal Alarm Clock keep giving me different dates for an optimal transfer. For example, if KAC says today is the day, MechJeb will say the next transfer is in 7 days. To be honest, I don't even know if KAC believes KAC. I just set an alarm 1 hour and 15 minutes before the next (according to KAC) optimum transfer window to Duna. When the alarm went off, I left the space center and got on my orbiting ship. I opened the KAC transfer window and it says the next window for Duna is 28 days away...

Link to comment
Share on other sites

There is no one right answer. It depends on what goals you have, time (which is less relevant with the ability to time warp) or delta V, and even then there may be more than one launch window with the same Delta V or time to arrival.

If you want to be able to choose the criteria that matters to you most, the best option is here or the modded-into-ksp version made by the same author that does KAC here. That second option integrates with KAC so you can create alarms from within it's GUI. However even this does not account for gravity assists.

Edited by Alshain
Link to comment
Share on other sites

Use MJs "Advanced transfer to another planet" function, and you can pick your transfer burn on a pretty porkchop of dv / departure time / transit time :D ('tis a simplified version of the aforementioned in-game tool)

Edited by steve_v
Link to comment
Share on other sites

I know that there is something fishy in that MJ code for the transfer window. I wrote a test for the ascent AP to recalculate the launch time each frame instead of only doing once and ended up with a value that changed a lot each frame. I need to look into it but it s some part of the code I never worked on...

The advanced mode should not have the bug since you chose the solution yourself.

Link to comment
Share on other sites

IIRC KAC uses a simplified model of the solar system that assumes circular, non-inclined orbits (this makes the math involved much, much simpler). MJ and Transfer Window Planner use a more sophisticated model that takes eccentricity and inclination into account. For the ultimate in transfer planning (including gravity assists!) try Trajectory Optimization Tool.

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...