Portable Diesel Generators are made with some of the chemical energy that is contained by the diesel fuel, to mechanical energy through combustion. This mechanical energy then rotates a crank to produce electricity. Electric charges are induced in the wire by moving it through a magnetic field. Portable Diesel Generators utilize a diesel engine and electric generator to generate electrical energy. These are usually used as the primary fuel of the diesel generator. These diesel generators work based on air compression and fuel.