A 3,000 pound battery has a usable capacity of 212.7 kWh.
A gallon of low sulphur diesel fuel has 137,381 BTU which is equivalent to 40.2 kWh. A 30 gallon tank of diesel has 1,200 kWh.
Diesel fuel weighs 7 pounds per gallon, so that 30 gallon tank weighs 210 pounds for the fuel. Assume the tank weighs 50 pounds. That 30 gallons of diesel and tank weight about 9% of the weight of the battery pack and has six times the energy content.
F=MA is still a valid law, so the energy cost to accelerate that 3,000 pound battery and electric motors is probably a lot more than the energy to accelerate the diesel engine, transmission, and fuel. Of course, you have regenerative braking in the electric truck which you don’t get in the ICE truck.
It makes more sense to liquify coal and deliver those liquid hydrocarbons than it does to convert to electric vehicles.
You have to allow for the vastly greater efficiency of an electric motor compared to ICE. Most of your liquid fuel turns into waste heat, but the vast majority of your battery charge turns into go.
F=MA until someone tells Joe.