The diesel engine used in a diesel generator set is the power output part. It uses diesel as fuel and relies on the high-temperature and high-pressure air formed after compression in the cylinder to make the sprayed diesel burn and expand to do work, converting heat energy into mechanical energy. Since diesel is ignited by compressed high-temperature air, the diesel engine is also called a compression-ignition internal combustion engine. The diesel engine used in a diesel generator set is generally a four-stroke water-cooled high-speed diesel engine. The so-called four-stroke diesel engine is a diesel engine that completes a working cycle through four processes: intake, compression, work (expansion), and exhaust.
There are many types of visual inspection engines, and the classification methods are also diverse. According to the body structure, they can be divided into single-cylinder and multi-cylinder diesel engines. Among them, multi-cylinder diesel engines are divided into in-line and V-shaped arrangements according to the different cylinder arrangements; according to the intake method, they are divided into self-ignition aspiration type and supercharged type; according to the working cycle process, they are divided into two-stroke and four-stroke; according to the cooling method, they are divided into air-cooled and water-cooled; according to the purpose, they can be divided into diesel engines for power generation, ships, vehicles, agricultural irrigation, engineering machinery and other industrial supporting purposes; according to the rated speed, they are divided into high speed (rated speed above 1000r/min), medium speed (rated speed within the range of 600~1000r/min) and low speed (rated speed below 600r/min). At present, the rated speed of diesel engines used in diesel generator sets is generally 1500r/min or 3000r/min.

There are many models of generator sets in use, with different powers. Most of the medium and large generator sets use diesel as fuel, and the generator sets with smaller power generally use gasoline as fuel.
Diesel generator sets with diesel engines as generator power sources have many advantages over gasoline generator sets with gasoline engines as generator power sources:
1 Fuel economy. Diesel engines have high thermal efficiency and low fuel consumption rate, and when the working conditions change, the fuel pump rate curve changes relatively flat, which is very important for diesel engines that often work under partial load.
2 Reliable and durable operation. Since diesel engines do not have an ignition system, they have relatively few failures and high operating reliability.
3 Wide range of use.
4 Fewer harmful emissions.
5 Good fire safety.
