Combustion Generator

Combustion Generator is a mid-tier level generator that burns fuel to generate up to 12W 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%: 12W
 * Power > 70%: 9W
 * Power > 50%: 7W
 * Power > 30%: 5W
 * Power > 10%: 3W
 * Else: 0