Imagine you’re charging a battery with a gas generator. The gas generator can run at a constant speed, at its most efficient setting, to fill up the battery. If directly powering the car, the gas engine has to idle and spike and drop to change the speed of the car. Once the battery is charged, it is also much more efficient since it can stop or slow down by recharging the battery, and consumes no power to idle.
Now also consider that gas is an inefficient energy source compared to others, and is primarily used for cars because it is convenient for refilling and is lightweight with high energy density.
Latest Answers