Increase the compression ratio: Higher compression ratios deliver extra electric power, up to a position. Instead, diesel fuel is injected into the cylinder, and the warmth and pressure of the compression stroke cause the fuel to ignite.
What is the variance between a gasoline engine and a diesel motor? Diesel gas has a larger power density than gasoline, so a diesel motor gets superior mileage.