World Endurance Championship (WEC) racing events are characterised by a relevant performance gap among competitors. The fastest vehicles category, consisting in hybrid vehicles, has to respect energy usage constraints set by the technical regulation. Considering absence of competitors, i.e. traffic conditions, the optimal energy usage strategy for lap time minimisation is typically computed through a constrained optimisation problem. To the best of our knowledge, the majority of state-of-the-art works neglects competitors. This leads to a mismatch with the real world, where traffic generates considerable time losses. To bridge this gap, we propose a new framework to offline compute optimal strategies for the powertrain energy management considering competitors. Through analysis of the available data from previous events, statistics on the sector times and overtaking probabilities are extracted to encode the competitors' behaviour. Adopting a multi-agent model, the statistics are then used to generate realistic Monte Carlo (MC) simulation of their position along the track. The simulator is then adopted to identify the optimal strategy as follows. We develop a longitudinal vehicle model for the ego-vehicle and implement an optimisation problem for lap time minimisation in absence of traffic, based on Genetic Algorithms. Solving the optimisation problem for a variety of constraints generates a set of candidate optimal strategies. Stochastic Dynamic Programming is finally implemented to choose the best strategy considering competitors, whose motion is generated by the MC simulator. Our approach, validated on data from a real stint of race, allows to significantly reduce the lap time.
Many trajectory forecasting methods, implementing deterministic and stochastic models, have been presented in the last decade for automotive applications. In this work, a deep-learning framework is proposed to model and predict the evolution of the coupled driver-vehicle system dynamics. Particularly, we aim to describe how the road geometry affects the actions performed by the driver. Differently from other works, the problem is formulated in such a way that the user may specify the features of interest. Nonetheless, we propose a set of features that is commonly used for automotive control applications to practically show the functioning of the algorithm. To solve the prediction problem, a deep recurrent neural network based on Long Short-Term Memory autoencoders is designed. It fuses the information on the road geometry and the past driver-vehicle system dynamics to produce context-aware predictions. Also, the complexity of the neural network is constrained to favour its use in online control tasks. The efficacy of the proposed approach was verified in a case study centered on motion cueing algorithms, using a dataset collected during test sessions of a non-professional driver on a dynamic driving simulator. A 3D track with complex geometry was employed as driving environment to render the prediction task challenging. Finally, the robustness of the neural network to changes in the driver and track was investigated to set guidelines for future works.