Diesel generators are a device used to convert the energy stored in diesel fuel into the electrical energy used by household and industrial devices.
Internal combustion engines, whether diesel or conventional gasoline powered, ignite a mixture of fuel and air. The energy of that explosion moves a piston that is connected to a crankshaft. The linear movement of the piston is converted into rotational movement of the crankshaft. In a vehicle, this rotational movement is used to turn wheels. In diesel generators, it’s used to move a shaft that is connected to the electrical generator portion of the system.
Unfortunately, not all of the energy generated by the fuel/air explosion in the diesel generators is converted into electricity.
Additionally, as electricity is generated in the conductors, a corresponding motor effect is created that acts in opposition to the movement of the shaft. Once electricity is flowing through the conductors in the diesel generators, those conductors essentially become electromagnets. The polarity of those magnets is such that their magnetic force tends to oppose the magnets on the rotating shaft, thereby resisting its movement.
Most diesel generators also include a feedback system from the generator to the diesel engine to control the amount of power produced. If there is an increased electrical load, for example, the feedback system can increase the rate at which diesel fuel is supplied to the engine. With more fuel available, the engine can spin the attached shaft faster, thereby increasing the rate of relative motion between the magnets and conductors in the diesel generators, and producing more electrical power.