SFS Engine Calculator

SFS Engine Calculator

by Drone_Better

πŸ‘ 89 ❀️ 3 ⭐ 2 πŸ”„ 0
Created: Oct 24, 2020 Last modified: May 31, 2021 Shared: Oct 30, 2020

Description

This runs faster in TurboWarp, especially for high engine calculation maximums: https://turbowarp.org/440582854 I'm making a multistage version in Python, it requires higher-dimensional arrays that can't be accomplished efficiently with delimiters, the Scratch version will only be single-stage. Here's the Lambert W function (used in finding the maximum fuel mass above which it's overcome by gravity): https://scratch.mit.edu/projects/486224008 (I made it because the existing one outputs Infinity at inputs below 1/e).

Instructions

This is a calculator for the mobile game Spaceflight Simulator. Enter your stages's situation parameters, and it will tell you all combinations of engines that meet your requirements, sorted by delta-v. Be warned, it doesn't take atmospheric drag into account, or how a combination's mass will affect lower stages' efficiencies. When you've entered your parameters, press space to see the results. It will tell you the best combination, use the left and right arrow keys to switch to others (that meet the minimum thrust-to-weight ratio), sorted from best to worse. You can go left from the best to the worst, and vice versa. There's a work-in-progress graphing mode. After inputting your statistics, press G. It will draw a line graph of the efficiencies of all combinations under your parameters, with respect to payload mass from 0t to 480t. It takes more processing power than calculating them for just one, but I'm going to make it faster (reducing recalculation of statistics between slices), then I'll make an interface for it (to let you change parameters). You can also export the Combination Effective Efficiencies and Combination TWRs lists, then import them into a spreadsheet and make a scatter-graph, but it doesn't account for drag (which means you want to minimise fuel consumption on the way to your apoapsis before burning horizontally to reach orbit).

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects