Improving energy efficiency in heavy vehicles through electrification