Combustion Generator

Combustion Generator is a mid-tier level generator that burns fuel to generate up to 12u of power.

Mechanics
The Combustion Generator requires time to ramp up to full power when first fueled, but also takes time to ramp down to no power when it runs out of fuel. Specifically, for each second that the generator is fueled, the power, a variable that is always between 0% and 100%, increases by 5%, and for each second that the generator is without fuel, the power decreases by 5%.

The output of the Combustion Generator is related to power as follows:
 * Power > 90%: 12u
 * Power > 70%: 9u
 * Power > 50%: 7u
 * Power > 30%: 5u
 * Power > 10%: 3u
 * Else: 0

Source

 * https://github.com/sayterdarkwynd/FrackinUniverse/blob/master/objects/power/isn_thermalgenerator/isn_thermalgenerator.lua
 * https://github.com/sayterdarkwynd/FrackinUniverse/blob/master/objects/power/isn_thermalgenerator/isn_thermalgenerator.object