A diesel generator is the combination of a diesel engine with an electric generator (often an alternator) to generate electrical energy. This is a specific case of engine-generator. A diesel compression-ignition engine often is designed to run on fuel oil, but some types are adapted for other liquid fuels or natural gas.
Diesel generating sets are used in places without connection to a power grid, or as emergency power-supply if the grid fails, as well as for more complex applications such as peak-lopping, grid support and export to the power grid.
Proper sizing of diesel generators is critical to avoid low-load or a shortage of power. Sizing is complicated by the characteristics of modern electronics, specifically non-linear loads. In size ranges around 50 MW and above, an open cycle gas turbine is more efficient at full load than an array of diesel engines, and far more compact, with comparable capital costs; but for regular part-loading, even at these power levels, diesel arrays are sometimes preferred to open cycle gas turbines, due to their superior efficiencies.
The packaged combination of a diesel engine, a generator and various ancillary devices (such as base, canopy, sound attenuation, control systems, circuit breakers, jacket water heaters and starting system) is referred to as a "generating set" or a "genset" for short.
Set sizes range from 8 to 30 kW (also 8 to 30 kVA single phase) for homes, small shops and offices with the larger industrial generators from 8 kW (11 kVA) up to 2,000 kW (2,500 kVA three phase) used for large office complexes, factories. A 2,000 kW set can be housed in a 40 ft (12 m) ISO container with fuel tank, controls, power distribution equipment and all other equipment needed to operate as a standalone power station or as a standby backup to grid power. These units, referred to as power modules are gensets on large triple axle trailers weighing 85,000 pounds (38,555 kg) or more. A combination of these modules are used for small power stations and these may use from one to 20 units per power section and these sections can be combined to involve hundreds of power modules. In these larger sizes the power module (engine and generator) are brought to site on trailers separately and are connected together with large cables and a control cable to form a complete synchronized power plant. A number of options also exist to tailor specific needs, including control panels for autostart and mains paralleling, acoustic canopies for fixed or mobile applications, ventilation equipment, fuel supply systems, exhaust systems, etc. Diesel generators, sometimes as small as 200 kW (250 kVA) are widely used not only for emergency power, but also many have a secondary function of feeding power to utility grids either during peak periods, or periods when there is a shortage of large power generators.