Optimizing Urban Traffic Congestion Through Artificial Intelligence and Machine Learning: A Case Study of Dar Es Salaam City
DOI:
https://doi.org/10.59645/tji.v5i1.648Keywords:
Urban Traffic Congestion, Adaptive Lane Allocation, Artificial Intelligence in Transport, Intelligent Transport Systems (ITS)Abstract
Urban traffic congestion remains a defining obstacle to efficient mobility and infrastructure use in rapidly growing cities. In Dar es Salaam, particularly along Morogoro Road, static lane configurations are poorly matched to dynamic, directional traffic patterns, producing peak-direction bottlenecks and underutilised capacity in the counterflow. This study evaluates a Dynamic Lane Allocation Logic (DLAR) coupled with a Utilisation Efficiency (UE) metric to optimise lane use in real time. Using observed directional volumes and a standardised urban lane capacity of 1,800 pcu/h, we operationalise UE to compare baseline static (2+2), dynamic (e.g., 4+1), and AI-adaptive configurations (up to 5+1). Scenarios are implemented and tested in the Simulation of Urban Mobility (SUMO) platform to ensure reproducible, controlled experiments. Results indicate that dynamic configurations substantially improve efficiency, with AI-adaptive allocations achieving UE values of up to 95% during peak periods, compared to approximately 60% under static control. These findings underscore the value of data-driven, context-aware lane management and support near-term pilots of AI-based traffic control, investment in real-time sensing and monitoring infrastructure, and the adoption of localised capacity benchmarks in planning practice. For sub-Saharan African cities facing similar constraints, the approach offers a pragmatic pathway to relieve congestion without costly physical expansion, aligning day-to-day operations with the realities of fluctuating urban demand.
Downloads
References
Anthony, B. (2024). Artificial Intelligence of things and distributed technologies as enablers for intelli
gent mobility services in smart Cities-A survey. Internet of Things, 101399. https://doi.org/10.1016/j.iot.2024.101399
Bačić, B., Rathee, M., & Pears, R. (2020). Automating inspection of moveable lane barrier for Auckland
Harbour Bridge traffic safety. In Lecture notes in computer science (pp. 150–161). https://doi.org/10.1007/978-3-030-63830-6_13
Elassy, M., Al-Hattab, M., Takruri, M., & Badawi, S. (2024). Intelligent transportation sys-tems for
sustainable smart cities. Transportation Engineering, 16, 100252. https://doi.org/10.1016/j.treng.2024.100252
Elefteriadou, L. A. (2016). Highway Capacity Manual 6th Edition. In National Academies Press
eBooks. https://doi.org/10.17226/24798
Ha, J., Lee, S., & Ko, J. (2020). Unraveling the impact of travel time, cost, and transit bur-dens on
commute mode choice for different income and age groups. Transportation Research Part a Policy and Practice, 141, 147–166. https://doi.org/10.1016/j.tra.2020.07.020
Hamdani, S. E., & Benamar, N. (2017). A Comprehensive study of Intelligent Transportation System
architectures for road congestion Avoidance. In Lecture notes in computer science (pp. 95–106). https://doi.org/10.1007/978-3-319-68179-5_9
Kiunsi, R. B. (2013). A Review of Traffic Congestion in Dar es Salaam City from the Physi-cal Planning
Perspective. Journal of Sustainable Development, 6(2). https://doi.org/10.5539/jsd.v6n2p94
Krüger, F., Titz, A., Arndt, R., Groß, F., Mehrbach, F., Pajung, V., Suda, L., Wadenstorfer, M., &
Wimmer, L. (2021). The Bus Rapid Transit (BRT) in Dar es Salaam: A Pilot Study on Critical Infrastructure, Sustainable Urban Development and Livelihoods. Sustainabil-ity, 13(3), 1058. https://doi.org/10.3390/su13031058
Li, T., Wang, N., Zhang, M., & He, Z. (2023). Dynamic reversible lane optimization in auton-omous
driving environments: Balancing efficiency and safety. Journal of Industrial and Man-agement Optimization, 20(3), 901–925. https://doi.org/10.3934/jimo.2023108
Lieberthal, E. B., Serok, N., Duan, J., Zeng, G., & Havlin, S. (2024). Addressing the urban congestion
challenge based on traffic bottlenecks. Philosophical Transactions of the Royal Society a Mathematical Physical and Engineering Sciences, 382(2285). https://doi.org/10.1098/rsta.2024.0095
Litman, T. (2025, May 22). Generated traffic and induced travel: Implications for transport planning
[Report]. Victoria Transport Policy Institute. Retrieved from https://www.vtpi.org/gentraf.pdf
Maadi, S., Stein, S., Hong, J., & Murray-Smith, R. (2022). Real-Time Adaptive Traffic Signal Control
in a Connected and Automated Vehicle Environment: Optimisation of Signal Plan-ning with Reinforcement Learning under Vehicle Speed Guidance. Sensors, 22(19), 7501. https://doi.org/10.3390/s22197501
Manuel, A., De Barros, A., & Tay, R. (2020). Traffic safety meta-analysis of reversible lanes. Accident
Analysis & Prevention, 148, 105751. https://doi.org/10.1016/j.aap.2020.105751
Mchome, E. E. (2024). Dar es Salaam Urban Streets Design Guide.
https://doi.org/10.9734/bpi/mono/978-81-971391-7-8
Mhache, E. (2021). Effects of Massive Settlement Demolition in Dar es Salaam Region along Morogoro
Road from Kimara Stopover to Kibamba, Ubungo District. Journal of the Geograph-ical Association of Tanzania, 39(1), 7–91. https://doi.org/10.56279/jgat.v39i1.34
Morten, M., Bryan, G., Siddiqi, B., & Balboni, C. (2020). Evaluating the impacts of the Dar es Salaam
Bus Rapid Transit System. https://doi.org/10.23846/dpw1ie110
Mpogole, H., & Msangi, S. (2016). Traffic Congestion in Dar es Salaam: Implications for Workers’
Productivity. Journal of Sustainable Development, 9(6), 103. https://doi.org/10.5539/jsd.v9n6p103
Reporter, C. (2025, May 23). Dar es Salaam’s traffic nightmare: A daily toll on economy, health, and
environment. The Citizen. https://www.thecitizen.co.tz/tanzania/news/national/dar-es-salaam-s-traffic-nightmare-a-daily-toll-on-economy-health-and-environment-5054026?
Saki, S., & Soori, M. (2025). Artificial intelligence, machine learning and deep learning in ad-vanced
transportation systems, a review. Multimodal Transportation, 100242. https://doi.org/10.1016/j.multra.2025.100242
Saxena, R. R. (2024). Artificial intelligence in traffic systems. arXiv (Cornell University).
https://doi.org/10.48550/arxiv.2412.12046
Schmöcker, J., & Bell, M. G. H. (2010). Traffic Control: Current systems and future vision of cities.
International Journal of Intelligent Transportation Systems Research, 8(1), 56–65. https://doi.org/10.1007/s13177-009-0006-9
Stott, A. C., Rudmark, D., Peralta Quiros, T., & Kuznetsova Morrison, A. V. (2020). Digital data for
transport in Dar es Salaam: Overview, challenges, and opportunities. World Bank Group. Retrieved June 17, 2025, from http://documents.worldbank.org/curated/en/158551593440032686
Wei, J., & Ju, Y. (2024). Research on optimization method for traffic signal control at inter-sections in
smart cities based on adaptive artificial fish swarm algorithm. Heliyon, 10(10), e30657. https://doi.org/10.1016/j.heliyon.2024.e30657


