Calculating the costs and savings of electric trucks