Development of an Adaptive Model Predictive Control for Platooning Safety in Battery Electric Vehicles