Quick Nav


Back To Top

Description

This script is designed to complement my Gas Compressors mod, to allow for the visualization of compressor-vs-tank storage and reduce overall power consumption.

Details

Gas compressors use large amounts of standby power when enabled and very large amounts of power during gas flow, and this script allows for the minimization of both. It will track the gas levels in each class of compressor, and will enable compressors if and only if gas needs to be desposited or withdrawn, and will handle the stockpile control accordingly.

Additionally, the script will render a visualization of the relative levels of the compressors and tanks, as well as an indication of flow, allowing you to at a glance check storage levels and watch gas movement in real time.
Hydrogen levels being roughly balanced, while nearly-full O2 tanks are being loaded into the (nearly-empty) O2 compressors.

Script Options

The script contains the following configurable variables/functions to adapt the script to your ship configuration or needs:

minimumO2TankFraction

Type: float
Current Default Value:
0.1F

maximumO2TankFraction

Type: float
Current Default Value:
0.75F

minimumH2TankFraction

Type: float
Current Default Value:
0.25F

maximumH2TankFraction

Type: float
Current Default Value:
0.8F
What fill % to stop emptying tanks into compressors at or start emptying compressors into tanks.

GREEN_THRESH

Type: float
Current Default Value:
0.75F

YELLOW_THRESH

Type: float
Current Default Value:
0.5F

RED_THRESH

Type: float
Current Default Value:
0.25F
The thresholds (fractions out of 1.0) at which a fill bar changes color.

SCREEN_TAG

Type: string
Current Default Value:
"CompressorScreen"
Any LCD panel with this in its name will show the gas levels between tanks and compressors.

Source Code

The source code for Dynamic Compressor Manager can be found here:GitHub

Downloads

Via Steam Workshop