Diesel Generator (Immersive Engineering)

The Diesel Generator is a 3×5×3 multi-block added by Immersive Engineering. It is used to generate Immersive Flux (IF) or Redstone Flux (RF) from Biodiesel and other modded fuels.

A running Diesel Generator makes a fair amount of noise. The Ear Defenders can selectively muffle its sound.

Construction
 {|class="wikitable" style="vertical-align:top; width:auto;"
 * + Current

Bill of materials

 * 13 Heavy Engineering Blocks
 * 9 Radiator Blocks
 * 6 Steel Scaffoldings
 * 5 Fluid Pipes
 * 4 Generator Blocks
 * 1 Redstone Engineering Block
 * style="text-align:center" |
 * style="text-align:center" |

Assembly

 * }

  {|class="wikitable" style="vertical-align:top; width:auto;"
 * + Pre–0.8.0

Bill of materials

 * 9 Radiator Blocks
 * 6 Generator Blocks
 * 27 Heavy Engineering Blocks
 * style="text-align:center" |
 * style="text-align:center" |

Assembly

 * }

Once the blocks are in place, using the Engineer's Hammer on the upper-middle Generator Block assembles the structure. Note that construction is mirrorable and still works; the redstone switch can be on either side of the machine.

Usage
The Diesel Generator does not have a GUI. Fuel pipes in through the side ports near the front of the machine (indicated by blue dots). Power can be drawn from the three plugs on top, near the front of the machine (each with a small copper-colored dot). The generator can be halted by applying a Redstone signal to the "control panel" on the side of the machine (indicated by a red dot).

The Diesel Generator has an internal fluid buffer of 24,000 mB, which is enough to make 12.288–36.864 M Flux over 150 seconds. It runs at up to 4096 Flux/tick, and it automatically shuts off if it cannot export power. It does not have an internal energy buffer.

1000 mB of Biodiesel lasts 6.25 seconds, producing 512,000 Flux over the course of the burn time (4096 Flux/t × 20 t/sec × 6.25 sec). Here is a table comparing it to fuels from other mods.

For the Diesel Generator to continually run on Biodiesel, it needs 160 mB of it per second. To keep up production, an Industrial Squeezer needs 1 Wheat seed, Pumpkin seed or Melon seed every second, or 2 Industrial Hemp Seeds every 3 seconds; and a Fermenter needs 1 Sugar Cane, Melon or Apple every second.

For an efficient supply chain, 1 Refinery, 2 Industrial Squeezers and 2 Industrial Fermenters is enough to support 2 Diesel Generators.

Fuel Optimization
Diesel generator does not check whether network/attached battery actually needs power or not - "it just runs". Avoiding unnecessary runtime saves fuel; e.g.:
 * Attach a HV Capacitor to the generator output
 * Set up redstone control circuit preventing capacitors from ever becoming full
 * A Redstone Comparator outputs a signal proportional to a capacitor's charge.
 * Disable generator using redstone signal.