Jump to content

[Excel] KOMET (Kerbal Orrery and Maneuver Evaluation Tool (ver. 0.4 2019-09-25)


Recommended Posts

pB2K4WP.png

Update 2019/09/25: Version 0.4 is available! Download it here!

Changelog:

  Reveal hidden contents

WELCOME TO KOMET! Or, Yet Another Third-Party Orbit Simulation! They seem to be pretty popular.

KOMET is a simulation of the Kerbal solar system implemented in Microsoft Excel 2016. I wrote it to help me plan my missions better. Specifically, I wanted three things:

  • Orthographic views. Since KSP is a game, it makes sense that there is a perspective view in map mode. But I find perspective makes it more difficult to see what's going on in the big picture. KOMET displays orbits in three orthographic views instead, like an engineering drawing.
  • Views of SOI. I still get surprised when I make an encounter with...well, pretty near anything. KOMET draws the spheres of influence around all bodies so you have some idea how precise you need to be with your orbits.
  • Time control. The maneuver node system is very useful, but it has some limitations for several orbit segments ahead; and of course you can't see your past track at all. KOMET allows you to view the state of the system at any arbitrary time.

Here's a comparison of KOMET and the in-game map:

tzmuJAN.png

In addition to showing you the state of the solar system, KOMET allows you to enter a user-defined orbit and follow the position of that object through time. As of version 0.4, both escapes to a higher SOI and captures by another body within the same SOI are simulated. Please see the Readme tab for more details on current limitations.

zoJVipJ.png

KOMET is implemented in Microsoft Excel 2016, and is not guaranteed to work in earlier versions of Excel. This spreadsheet also relies heavily on macros and user-defined functions. You will need to enable these in order to interact with the tool. For those of you who are wary of macros in files you get from a stranger (and good on you for that!), Excel will disable macros unless you press the "Enable Macros" button when you open it, or place it in a Trusted Location. I encourage you to open the macro editor (Alt+F11) to inspect the code. The code is found in three places:

  • Forms: Right-click on any form and select "View Code" to see what makes that form tick.
  • Modules: Double-click any module. This is where more general-purpose code goes.
  • ThisWorkbook: Double-click this object. A short code snippet is here which controls what happens when you select different tabs.

Download KOMET here.

KOMET is licensed under the BSD 3-Clause License.

  Reveal hidden contents

Hope you enjoy, and don't forget to leave feedback!

- Dan B. (pincushionman)

Edited by pincushionman
version 0.4 release
Link to comment
Share on other sites

  • 1 month later...

Version 0.2 is now available at the download link.

Parabolic and hyperbolic trajectories are now implemented, and a number of important subroutines and functions have been updated to support arbitrary orbit depth. See the changelog or the readme for more details. Patched-conic propagation is not yet implemented.

In other news, if anyone knows which version the switch from g = 9.81 to g = 9.80665 m/s^2 was made, please let me know.

Link to comment
Share on other sites

  • 2 months later...
  • 7 months later...

Version 0.4 is now available! Download it here!

Capture by other bodies within the same SOI is now implemented!

Do note that I have been unable to match the behavior of the KSP simulation precisely with regards to captures, even for a small system like the Jool sub-system. There may be several factors at play, which I will investigate further before the next release. However, I have also been unable to set a precise orbit repeatably in-game using either HyperEdit or the F12 cheat menu, so it may be that the best that an Excel simulation can accomplish is a "close enough" answer. The next release will focus on adding maneuvers to the user-defined orbit, which will allow the user to iron out any errors in the KOMET simulation, regardless of their sources.

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