Traffic Accident Risk Assessment at Urban Signalized Intersections Using Cellular Automata Modeling
Abstract
1. Introduction
2. Materials and Methods
2.1. Model
- R1: Acceleration
- R2: Decelerationwhere is the number of empty sites in front of vehicle i.
- R3: Randomizationif .
- R4: Movement
2.2. Heterogeneous Traffic and Intersection Accidents
- T is the simulation time,
- N is the number of vehicles,
- is the time from which the calculation starts,
- Vehicle injection: Vehicles are introduced into the system from the intersection entrances and , as shown in Figure 1. This phase initializes the traffic and defines the flow of vehicles entering the model.
- Dynamic traffic module: Vehicle movement is simulated in two directions:
- –
- Horizontal (NaSch model): Vehicle progression in the same lane is simulated using the Nagel–Schreckenberg stochastic model, which takes into account the maximum speed, randomization probability, and driver behavior.
- –
- Vertical (changing lane): Lane changes are simulated to capture the effect of vehicle maneuvers on traffic dynamics and accident risks.
- Intersection and traffic light control: Vehicles reach an intersection where traffic is regulated by a traffic light system (green or red).
- –
- When the light is green, vehicles pass normally.
- –
- When the light is red, the model checks for red-light violations:
- ∗
- Yes: An accident may occur, and the simulation calculates the accident probability and fatality risk.
- ∗
- No: Vehicles stop and resume traffic after the red phase.
- Feedback loop: After traversing the intersection (or stopping at the stop signal), vehicles are fed back into the dynamic module to continue the simulation.
3. Results and Discussion
3.1. Results
- The length of each road is sites, which is equivalent to (each site represents in reality).
- The random deceleration probability is (10%) [34].
- The probability of red-light violation is [37].
- [37].
- The extraction probability and the fraction of fast vehicles are
- The system is run for 100,000 iterations, and the results are computed over the last 50,000 iterations.
- 1.
- Intersection without lane changing,
- 2.
- Lane changing allowed only before (upstream) the intersection,
- 3.
- Lane changing allowed only after (downstream) the intersection.
3.2. Discussion
4. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Rodrigue, J.P. The Geography of Transport Systems; Routledge: London, UK, 2020. [Google Scholar]
- Attioui, M.; Lahby, M. Forecasting Traffic Congestion Using Air Pollution Data: A Case Study of Casablanca, Morocco. In International Conference on Applied Intelligence and Informatics; Springer: Cham, Switzerland, 2024; pp. 476–488. [Google Scholar]
- Chamseddine, Z.; Ait Boubkr, A. Exploring the place of social impacts in urban transport planning: The case of Casablanca City. Urban Plan. Transp. Res. 2020, 8, 138–157. [Google Scholar] [CrossRef]
- Jayasooriya, S.; Bandara, Y. Measuring the Economic costs of traffic congestion. In 2017 Moratuwa Engineering Research Conference (MERCon); IEEE: Piscataway, NJ, USA, 2017; pp. 141–146. [Google Scholar]
- Greenwood, I.; Dunn, R.; Raine, R. Estimating the effects of traffic congestion on fuel consumption and vehicle emissions based on acceleration noise. J. Transp. Eng. 2007, 133, 96–104. [Google Scholar] [CrossRef]
- Inchaouh, M.; Tahiri, M. Air pollution due to road transportation in Morocco: Evolution and impacts. J. Multidiscip. Eng. Sci. Technol. 2017, 4, 7547–7552. [Google Scholar]
- El Ghazi, I.; Berni, I.; Menouni, A.; Amane, M.; Kestemont, M.P.; El Jaafari, S. Exposure to air pollution from road traffic and incidence of respiratory diseases in the city of Meknes, Morocco. Pollutants 2022, 2, 306–327. [Google Scholar] [CrossRef]
- Hakkert, A.S.; Mahalel, D. Estimating the number of accidents at intersections from a knowledge of the traffic flows on the approaches. Accid. Anal. Prev. 1978, 10, 69–79. [Google Scholar] [CrossRef]
- Agence Nationale de la Sécurité Routière (NARSA). Accueil|Agence Nationale de la Sécurité Routière. 2025. Available online: https://www.narsa.ma/fr (accessed on 7 January 2026).
- Habiba, U.; Talukdar, S. The impact of traffic congestion, aggression and driving anger on driver stress: A structural equation modelling approach. J. Transp. Saf. Secur. 2025, 17, 901–922. [Google Scholar] [CrossRef]
- Bifulco, G.N.; Galante, F.; Pariota, L.; Spena, M.R.; Del Gais, P. Data collection for traffic and drivers’ behaviour studies: A large-scale survey. Procedia-Soc. Behav. Sci. 2014, 111, 721–730. [Google Scholar] [CrossRef]
- Factor, R. The effect of traffic tickets on road traffic crashes. Accid. Anal. Prev. 2014, 64, 86–91. [Google Scholar] [CrossRef]
- Chu, W.; Wu, C.; Atombo, C.; Zhang, H.; Özkan, T. Traffic climate, driver behaviour, and accidents involvement in China. Accid. Anal. Prev. 2019, 122, 119–126. [Google Scholar] [CrossRef]
- Björklund, G.M.; Åberg, L. Driver behaviour in intersections: Formal and informal traffic rules. Transp. Res. Part F Traffic Psychol. Behav. 2005, 8, 239–253. [Google Scholar] [CrossRef]
- Sagberg, F.; Selpi; Bianchi Piccinini, G.F.; Engström, J. A review of research on driving styles and road safety. Hum. Factors 2015, 57, 1248–1275. [Google Scholar] [CrossRef] [PubMed]
- Xu, M.; Gao, Z. Nonlinear Analysis of Road Traffic Flows in Discrete Dynamical System. J. Comput. Nonlinear Dyn. 2008, 3, 021206. [Google Scholar] [CrossRef]
- Hammoumi, L.; Farah, S.; Benayad, M.; Maanan, M.; Rhinane, H. Leveraging machine learning to predict traffic jams: Case study of Casablanca, Morocco. J. Urban Manag. 2025, 14, 813–826. [Google Scholar] [CrossRef]
- Jiber, M.; Mbarek, A.; Yahyaouy, A.; Sabri, M.A.; Boumhidi, J. Road traffic prediction model using extreme learning machine: The case study of Tangier, Morocco. Information 2020, 11, 542. [Google Scholar] [CrossRef]
- Tang, D.; Li, X.; Jiang, Y. Microscopic traffic simulation oriented road network data model. In 2010 2nd International Conference on Future Computer and Communication; IEEE: Piscataway, NJ, USA, 2010; Volume 2, pp. 87–91. [Google Scholar]
- Sahraoui, A.E.K.; Jayakrishnan, R. Microscopic-macroscopic models systems integration: A simulation case study for ATMIS. Simulation 2005, 81, 353–363. [Google Scholar] [CrossRef]
- Santé, I.; García, A.M.; Miranda, D.; Crecente, R. Cellular automata models for the simulation of real-world urban processes: A review and analysis. Landsc. Urban Plan. 2010, 96, 108–122. [Google Scholar] [CrossRef]
- Pinto, N.; Antunes, A.P.; Roca, J. A cellular automata model for integrated simulation of land use and transport interactions. ISPRS Int. J. Geo-Inf. 2021, 10, 149. [Google Scholar] [CrossRef]
- Schreckenberg, M.; Barlović, R.; Knospe, W.; Klüpfel, H. Statistical physics of cellular automata models for traffic flow. In Computational Statistical Physics: From Billiards to Monte Carlo; Springer: Cham, Switzerland, 2001; pp. 113–126. [Google Scholar]
- Marzoug, R.; Lakouari, N.; Pérez Cruz, J.R.; Vega Gómez, C.J. Cellular automata model for analysis and optimization of traffic emission at signalized intersection. Sustainability 2022, 14, 14048. [Google Scholar] [CrossRef]
- Marzoug, R.; Lakouari, N.; Pérez Cruz, J.R.; Castillo-Téllez, B.; Mejía-Pérez, G.A.; Bamaarouf, O. Cellular Automata for Optimization of Traffic Emission and Flow Dynamics in Two-Route Systems Using Feedback Information. Infrastructures 2025, 10, 120. [Google Scholar] [CrossRef]
- Marzoug, R.; Echab, H.; Ez-Zahraouy, H. Car accidents induced by a bottleneck. Eur. Phys. J. B 2017, 90, 240. [Google Scholar] [CrossRef]
- de Almeida, I.M.; Leal-Toledo, R.C.P.; Toledo, E.M.; Cacau, D.C.; de Lima, R.C.N.; Malta, S. Influence of Drivers’ Behavior on Traffic Flow at Two Roads Intersection. In International Conference on Computational Science and Its Applications; Springer: Cham, Switzerland, 2019; pp. 129–141. [Google Scholar]
- Ez-zahar, A.; Lakouari, N.; Oubram, O.; Aguilar, J.G.V.; Ez-zahraouy, H. Simulation Analysis of Traffic Management in Roundabout Systems. In 2024 4th International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET); IEEE: Piscataway, NJ, USA, 2024; pp. 1–7. [Google Scholar]
- Małecki, K.; Iwan, S. Modeling traffic flow on two-lane roads with traffic lights and countdown timer. Transp. Res. Procedia 2019, 39, 300–308. [Google Scholar] [CrossRef]
- Wang, J.; Yang, H.; Zhu, Y.; Xie, K.; Yan, Z.; Pu, Q. A simulation study on traffic conflict risk under shockwave propagation at signalized intersections. Accid. Anal. Prev. 2025, 218, 108081. [Google Scholar] [CrossRef] [PubMed]
- Ba, I.; Tordeux, A. Signalized and unsignalized road traffic intersection models: A comprehensive benchmark analysis. Collect. Dyn. 2023, 8, 1–21. [Google Scholar] [CrossRef]
- Zhang, M.; Yang, J.; Yang, X.; Duan, X. Measuring collision risk in mixed traffic flow under the car-following and lane-changing behavior. Appl. Sci. 2024, 14, 11400. [Google Scholar] [CrossRef]
- Feng, M.; Zhao, J.; Hou, C.; Nie, C.; Hou, J. Investigating the safety influence path of right-turn configurations on vehicle–pedestrian conflict risk at signalized intersections. Accid. Anal. Prev. 2025, 211, 107910. [Google Scholar] [CrossRef]
- Nagel, K.; Schreckenberg, M. A cellular automaton model for freeway traffic. J. Phys. I 1992, 2, 2221–2229. [Google Scholar] [CrossRef]
- Chowdhury, D.; Wolf, D.E.; Schreckenberg, M. Particle hopping models for two-lane traffic with two kinds of vehicles: Effects of lane-changing rules. Phys. A Stat. Mech. Its Appl. 1997, 235, 417–439. [Google Scholar] [CrossRef]
- Joksch, H.C. Velocity change and fatality risk in a crash–a rule of thumb. Accid. Anal. Prev. 1993, 25, 103–104. [Google Scholar] [CrossRef]
- Marzoug, R.; Lakouari, N.; Ez-Zahraouy, H.; Téllez, B.C.; Téllez, M.C.; Villalobos, L.C. Modeling and simulation of car accidents at a signalized intersection using cellular automata. Phys. A Stat. Mech. Its Appl. 2022, 589, 126599. [Google Scholar] [CrossRef]
- Retallack, A.E.; Ostendorf, B. Relationship between traffic volume and accident frequency at intersections. Int. J. Environ. Res. Public Health 2020, 17, 1393. [Google Scholar] [CrossRef]
- Fu, C.; Lu, Z.; Liu, H.; Wumaierjiang, A. Dynamic short-term crash risk prediction from traffic conflicts at signalized intersections with emerging mixed traffic flow: A novel conflict indicator. Accid. Anal. Prev. 2025, 217, 108065. [Google Scholar] [CrossRef]
- Yang, Q.; Li, P.; Yang, F.; Lu, W. Lane-Changing Risk Prediction on Urban Expressways: A Mixed Bayesian Approach for Sustainable Traffic Management. Sustainability 2025, 17, 7061. [Google Scholar] [CrossRef]
- Ding, S.; Abdel-Aty, M.; Wang, Z.; Wang, D. Insights into vehicle conflicts based on traffic flow dynamics. Sci. Rep. 2024, 14, 1536. [Google Scholar] [CrossRef]









| Phase | a | b |
|---|---|---|
| Increasing phase | ||
| Decreasing phase |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Taoufiq, L.; Bamaarouf, O.; Kadiri, A.; Marzoug, R. Traffic Accident Risk Assessment at Urban Signalized Intersections Using Cellular Automata Modeling. Modelling 2026, 7, 57. https://doi.org/10.3390/modelling7020057
Taoufiq L, Bamaarouf O, Kadiri A, Marzoug R. Traffic Accident Risk Assessment at Urban Signalized Intersections Using Cellular Automata Modeling. Modelling. 2026; 7(2):57. https://doi.org/10.3390/modelling7020057
Chicago/Turabian StyleTaoufiq, Laila, Omar Bamaarouf, Abdelmajid Kadiri, and Rachid Marzoug. 2026. "Traffic Accident Risk Assessment at Urban Signalized Intersections Using Cellular Automata Modeling" Modelling 7, no. 2: 57. https://doi.org/10.3390/modelling7020057
APA StyleTaoufiq, L., Bamaarouf, O., Kadiri, A., & Marzoug, R. (2026). Traffic Accident Risk Assessment at Urban Signalized Intersections Using Cellular Automata Modeling. Modelling, 7(2), 57. https://doi.org/10.3390/modelling7020057

