Supporting the Transition Towards Electromobility in the Construction and Mining Sector: Optimization Framework and Demonstration on an Electrical Hauler. (May 2022)