Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d6y/kerbal-calculator
Scala calculators for building rockets in Kerbal Space Program
https://github.com/d6y/kerbal-calculator
Last synced: about 1 month ago
JSON representation
Scala calculators for building rockets in Kerbal Space Program
- Host: GitHub
- URL: https://github.com/d6y/kerbal-calculator
- Owner: d6y
- License: gpl-3.0
- Created: 2015-06-08T21:30:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-02-07T14:45:01.000Z (almost 10 years ago)
- Last Synced: 2023-03-10T19:08:48.535Z (almost 2 years ago)
- Language: Scala
- Homepage:
- Size: 434 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/fommil/kerbal-calculator.svg?branch=master)](https://travis-ci.org/fommil/kerbal-calculator)
# kerbal-calculator
Once you've designed your payload (or any combination of upper
stages), and plan your manoeuvres, you'll know how much mass you need
to get through a minimum deltav and how fast you'd like to be able to
do it (to avoid missing flight windows).To work out your engine and fuel requirements, you'll either need to
do a lot of trial and error or solve the ideal rocket equation with
some educated guesses. This calculator will do all that for you.The calculator is available at [http://fommil.github.io/kerbal](http://fommil.github.io/kerbal)
## Run Locally
To use, clone and run like so
```scala
sbt "run 1200 10 50 false Large"
```(You'll need [sbt](http://www.scala-sbt.org/download.html) and a Java Runtime)
Input parameters being:
1. **minimum deltav**
2. **payload mass**
3. **minimum acceleration**
4. **atmosphere**
5. **payload size**Results will be ordered by the minimum initial mass of the engine stage.
e.g. the above returns
```
Rockomax "Mainsail" with 6.9t (86%) in a Rockomax X200-16 [a = 62.8, dv = 1200, cost = 8747, mass = 13.9t]
Rockomax "Mainsail" with 7.0t (87%) in a Rockomax X200-16 [a = 62.6, dv = 1212, cost = 8755, mass = 14.0t]
Rockomax "Mainsail" with 7.0t (88%) in a Rockomax X200-16 [a = 62.4, dv = 1224, cost = 8762, mass = 14.0t]
Rockomax "Mainsail" with 7.1t (89%) in a Rockomax X200-16 [a = 62.2, dv = 1235, cost = 8769, mass = 14.1t]
...
S3 KS-25x4 Cluster with 33.8t (47%) in a Kerbodyne S3-14400 [a = 50.3, dv = 2683, cost = 51697, mass = 53.6t]
```