[Paper Review] Agent-Based Modeling and Simulation of Connected and Automated Vehicles Using Game Engine: A Cooperative On-Ramp Merging Study
This paper proposes a game engine-based agent-based simulation framework using Unity3D to model connected and automated vehicles (CAVs) with a distributed consensus-based protocol for cooperative on-ramp merging. The approach reduces travel time by 7%, energy consumption by 8%, and pollutant emissions by 58% compared to human-driven scenarios, while ensuring safety.
Agent-based modeling and simulation (ABMS) has been a popular approach to modeling autonomous and interacting agents in a multi-agent system. Specifically, ABMS can be applied to connected and automated vehicles (CAVs), since CAVs can be driven autonomously with the help of on-board sensors, and cooperate with each other through vehicle-to-everything (V2X) communications. In this work, we apply ABMS to CAVs using the game engine Unity3D, taking advantage of its visualization capability and other capabilities. Agent-based models of CAVs are built in the Unity3D environment, where vehicles are enabled with connectivity and autonomy by C#-based scripting API. We also build a simulation network in Unity3D based on the city of Mountain View, California. A case study of cooperative on-ramp merging has been carried out with the proposed distributed consensus-based protocol, and then compared with the human-in-the-loop simulation where the on-ramp vehicle is driven by four different human drivers on a driving simulator. The benefits of introducing the proposed protocol are evaluated in terms of travel time, energy consumption, and pollutant emissions. It is shown from the results that the proposed cooperative on-ramp merging protocol can reduce average travel time by 7%, reduce energy consumption and pollutant emissions by 8% and 58%, respectively, and guarantee the driving safety when compared to the human-in-the-loop scenario.
Motivation & Objective
- To develop a high-fidelity simulation environment for connected and automated vehicles (CAVs) using a game engine to model complex traffic interactions.
- To design and implement a distributed consensus-based protocol enabling cooperative on-ramp merging among CAVs.
- To evaluate the performance of the proposed protocol against human-driven on-ramp merging in terms of travel time, energy use, and emissions.
- To demonstrate the feasibility and benefits of using game engines for ABM in intelligent transportation systems.
Proposed method
- The simulation environment was built in Unity3D using C#-based scripting to model vehicle dynamics and V2X communication.
- Agent-based models of CAVs were implemented with autonomy and connectivity, enabling real-time decision-making and coordination.
- A realistic urban network was reconstructed in Unity3D based on Mountain View, California, for scenario validation.
- The distributed consensus-based protocol enabled CAVs to collaboratively determine optimal merging trajectories.
- The simulation compared the CAV protocol with four human drivers in a human-in-the-loop driving simulator.
- Performance metrics included travel time, energy consumption, and pollutant emissions, evaluated across multiple simulation runs.
Experimental results
Research questions
- RQ1How does a distributed consensus-based protocol for cooperative on-ramp merging affect travel time compared to human-driven merging?
- RQ2To what extent can CAV cooperation reduce energy consumption in merging scenarios?
- RQ3How does the proposed protocol impact pollutant emissions relative to human-driven vehicles?
- RQ4What is the safety performance of the cooperative merging protocol in a simulated urban environment?
- RQ5Can a game engine-based ABM framework effectively model and evaluate CAV interactions at scale?
Key findings
- The proposed cooperative on-ramp merging protocol reduced average travel time by 7% compared to human-in-the-loop scenarios.
- Energy consumption was reduced by 8% under the CAV protocol, indicating improved traffic efficiency.
- Pollutant emissions were reduced by 58% due to smoother acceleration and reduced stop-and-go behavior.
- The protocol maintained driving safety by preventing collisions and ensuring stable merging trajectories.
- The Unity3D-based simulation framework successfully enabled high-fidelity visualization and real-time interaction of CAVs with V2X capabilities.
- The results demonstrate the superiority of coordinated CAV behavior over human-driven merging in terms of efficiency and environmental impact.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.