- Bazán Guillén, Alberto
- Barbecho Bautista, Pablo
- Aguilar Igartua, Mónica
We are witnessing a profound shift in societal and political attitudes, driven by the visible consequences of climate change in urban environments. Urban planners, public transport providers, and traffic managers are urgently reimagining cities to promote sustainable mobility and expand green spaces for pedestrians, bicycles, and scooters. To design more sustainable cities, urban planners require realistic simulation tools to optimize mobility, identify location for car chargers, convert streets to pedestrian zones, and evaluate the impact of alternative configurations. However, realistic traffic profiles are essential to produce meaningful simulation results. Addressing this need, we propose a traffic generator based on deep reinforcement learning integrated with the SUMO simulator. This tool learns to generate an instantaneous number of vehicles throughout the day, aligning closely with the target profiles observed at the traffic monitoring stations. Our approach generates accurate 24-hour traffic patterns for any city using minimal statistical data, achieving higher accuracy compared to existing alternatives. In particular, our proposal demonstrates a highly accurate 24-hour traffic adjustment, with the generated traffic deviating only by about 5% from the real target traffic. This performance significantly exceeds that of current SUMO tools like RouteSampler, which struggle to accurately follow the total daily traffic curve, especially during peak hours when severe traffic congestion occurs., This work was partially supported by the Spanish Government under these research projects funded by MCIN/AEI/10.13039/501100011033: DISCOVERY PID2023-148716OB-C32; MOBILYTICS TED2021-129782B-I00 (also funded by the European Union NextGenerationEU/PRTR); COMPROMISE PID2020-113795RB-C31; predoctoral scholarship associated with the ”Generaci´ on de Conocimiento” Projects, Call 2022, PRE2021099830. Also, by the Generalitat de Catalunya AGAURgrant ”2021 SGR 01413”., Peer Reviewed, 11 - Ciutats i Comunitats Sostenibles, 11.2 - Per a 2030, proporcionar accés a sistemes de transport segurs, assequibles, accessibles i sostenibles per a totes les persones, i millorar la seguretat viària, en particular mitjançant l’ampliació del transport públic, amb especial atenció a les necessitats de les persones en situació vulnerable, dones, nenes, nens, persones amb discapacitat i persones grans, Postprint (published version)