Jump to content

[Win] Stage optimizer [KSP 1.04]


UnCen

Recommended Posts

This is a tool to optimize mass/delta V between stages of the rocket.

Some mix of

"Optimal Engine Charts v1.0 http://meithan.x10.mx/KSP/engines/"

and

"KSP Optimal Rocket Calculator v1.19 http://garycourt.github.io/korc/"

without brute force to find optimal mass distribution.

Program do not count mass of decouplers but anyway very useful for planning transfers.

In this screenshot you can see, that tool calculate impossibility of 1 and 2 stage rockets

with this conditions (required 15k dV, 0.6 twr, 1600kg, 8 engines) and inefficient more than 5 stages.

You can manually edit "engines.txt" for adding non-stock engines or exclude engines you dont want to use.

19.dec.2015 v2.1 fixed regional settings bug. Add more info in output text.

23.dec.2015 v2.2 fixed rounding bug. Interface improvements.

06.jan.2016 Add link for 1.0.5 engines.

QhMOvdP.jpg

Binary with source code here: http://www.mediafire.com/download/36u5h337blu842b/DeltaV2.2.rar

engines.txt for 1.0.5 (with "Vector" Liquid Fuel Enginehttp://www./view/wfyaggzbuw1yf3u/engines.txt

License

The "Stage optimizer" is free software licensed under the GNU General Public License v3. You are free to use, distribute and modify this software as you see fit, subject to the provisions of the license.

Edited by UnCen
Change link to archive
Link to comment
Share on other sites

Hi UnCen :)

Please add a license to the thread and your download to tell people what they are allowed to do with your tool, such as redistribute or modify.

Also I suggest you use another file host, as filedropper will delete the file after a few days, you will want to use a host that is more stable such as dropbox or mediafire.

Link to comment
Share on other sites

  • 2 months later...

Idea is to create a dictionary of best solutions of mass distribution. Complexity is MaxDV*MaxStages.

Example:

It is easy to find optimal engine and mass of fuel for given payload, TWR, dV. Lets make a dictionary. (numbers and engines only for example)
 

DV		Engine	TotalMass
50		Terrier	1000
100		Terrier	1050
150		Terrier	1150
200		Spark	1300
... to max DV
13500		Rhino	123456

add stage 2.

Dv counts from 100 to MaxDV. And we look what is better - keep 1 stage design or add stage 2 with stage1 as payload.

Dictionary can lool like:

DV		Engine	TotalMass
50		Terrier	1000
100		Terrier	1050
150		Terrier	1150
200		Spark+spark	1200
... 
13500		Terrier+Reliant	93456
13550		Terrier+Reliant	94456
... to max DV
15650		Terrier+Mainsail 564123

and so on. Also you can look in source code.

Edited by UnCen
Link to comment
Share on other sites

More Mass -> Less MaxDV -> Less calculation time. One iteration for one dV step. (Program stores dictionary of all dV. And in first versions they all output to a file) One disadvantage - my tool cant calculate "asparagus fuel routing". Compare http://garycourt.github.io/korc/ calculation time and memory req for 3-4 stages design - this is brute force.

ps. did a little test... 84000dV, 200kg, 0.1TWR -> 8 sec for 10 stages design.

Edited by UnCen
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...