You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calculate optimal mass for each stage given a DeltaV requirement on a multistage Rocket.
1
+
# Mutlistage optimizer for rockets
2
+
3
+
Calculate optimal mass for each stage given a deltaV requirement on a multistage rocket.
4
+
5
+
Finds the lowest total mass for a rocket by optimizing the weight distribution between all stages, without altering deltaV.
6
+
7
+
Rocket and engines are specified in a json.
8
+
Sample files for each are in the config folder.
9
+
10
+
## Config
11
+
12
+
Options can be found in config/config.json.
13
+
14
+
useMultiCore -> if program should utilize all available cores.
15
+
16
+
precision -> the number specifies the combined steps the program should take in splitting the deltaV; higher equals better but cant go above 255 due to implementing the array that holds these numbers as chars.
17
+
18
+
i.e. for a two stage Rocket with a precision of 150 the first calculation will be:\
19
+
1st Stage 1/150 of total deltaV\
20
+
2nd Stage 149/150 of total deltaV
21
+
22
+
maxRAM -> maximum allowed RAM usage in bytes. Will warn user if defined parameters will cause more RAM usage than here specified.
23
+
24
+
verbose -> should only be used for debugging, as it slows down the programm alot and in single-threaded mode, as the output isnt orderd when using multithreading.
25
+
26
+
enginesPath -> path to json where engines are defined.
27
+
28
+
rocketPath -> path to json where rocket is defined.
0 commit comments