A Dynamic Transformation Car-Following Model for the Large-Scale Realistic Traffic Flow of Virtual Simulation
Shan Fang,Lan Yang,Xiangmo Zhao,Wei Wang,Zhigang Xu,Guoyuan Wu,Wei Cheng,Yiping Wu
DOI: https://doi.org/10.2139/ssrn.4264713
2022-01-01
SSRN Electronic Journal
Abstract:In the virtual simulation testing of the connected and automated vehicle (CAV), it is often necessary to generate a large number of background vehicles using the car-following (CF) model to simulate the various types of traffic flow, such as free flow and traffic oscillation. Although existing CF models can replicate the free flow well, they are incapable of simulating complex traffic oscillation, and it is difficult to strike a balance between accuracy and efficiency. This paper investigates the error variation when the traffic oscillation is simulated by the Intelligent Driver Model (IDM). Then, it divides the traffic oscillation into four phases (coasting, deceleration, acceleration, and stationary) using space headway of multiple steps. Secondly, to simulate traffic oscillation, a dynamical transformation CF (DTCF) model is proposed, which includes the long-time prediction sub-model (modified Seq2seq), short-time prediction sub-model (Transformer), and their dynamical transformation strategy. The first sub-model is utilized to simulate the coasting and stationary phases, while the second sub-model is utilized to simulate the acceleration and deceleration phases. Finally, a traffic metric evaluation framework is established to validate the performance of the proposed DTCF model in terms of deep learning and traffic flow. Compared to (K-Nearest Neighbors) KNN, IDM, and Seq2seq CF models, the DTCF model reduces error by 60.79-66.69% in microscopic traffic flow simulations, 7.71-29.91% in mesoscopic traffic flow simulations, and 1.59-18.26% in macroscopic traffic flow simulations. Moreover, the runtime of DTCF (Inference) decreased by 14.43-66.17% when simulating the large-scale traffic flow.