Co-simulation framework for control, communication and traffic for vehicle platoons