Submitted:
11 May 2026
Posted:
12 May 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Context and Motivation
1.2. State of the Art
1.2.1. Digital Twins for Urban Planning
1.2.2. Generative AI for Simulation and Urban Design
1.2.3. Conversational AI for Decision Support
1.3. Research Gap and Motivation
- 1.
- Digital twin technology for realistic, data-driven simulation of urban mobility systems;
- 2.
- Generative AI for intelligent interpretation of user requirements and automated configuration; and
- 3.
- Conversational interfaces for accessible, natural language interaction with complex simulation systems.
1.4. Proposed Approach
1.5. Contributions
- 1.
- Integrated Architecture: We present a novel architecture that seamlessly integrates generative AI with digital twin technology, demonstrating how these complementary technologies can be combined to create more accessible and flexible decision support systems for urban mobility.
- 2.
- Conversational Configuration: We introduce and validate a conversational AI agent capable of interpreting natural language requests, identifying relevant simulation parameters (through entity recognition), and dynamically modifying configuration files, reducing the technical barrier to entry for non-specialist users.
- 3.
- Multimodal Mobility Simulation: We demonstrate the application of our architecture to a realistic multimodal urban mobility scenario incorporating buses, metro systems (MetroGuagua), and pedestrian flows, with explicit consideration of sustainability indicators (environmental, economic, and social dimensions).
- 4.
- Proof-of-Concept Validation: We provide comprehensive documentation and validation of a functional prototype at Technology Readiness Level (TRL) 4, demonstrating technical feasibility in a controlled laboratory environment and establishing a foundation for future development toward operational deployment.
- 5.
- Open and Extensible Design: The modular architecture facilitates integration with diverse data sources, simulation engines, and visualization tools, supporting adaptation to different urban contexts and planning requirements.
1.6. Paper Structure
2. Materials and Methods
2.1. System Architecture Overview
2.2. Digital Twin Construction
2.2.1. Data Sources
- Road Network Data: OpenStreetMap (OSM) provides the street network topology, including road classifications and connectivity. Data is accessed programmatically via the OSMnx Python library [33], which retrieves and processes network data for specified geographic bounding boxes to construct a directed graph representation.
- Public Transit Data (GTFS and Custom): Transit stop locations, line geometries, and official schedules were processed from General Transit Feed Specification (GTFS) datasets provided by the local authority, Guaguas Municipales [34]. Additionally, a custom GeoJSON dataset was developed to represent the future MetroGuagua (BRT) infrastructure, incorporating planned stops and corridors based on official project specifications.
- Demographic and Resident Dynamics (INE): Population density data was obtained from the Spanish National Institute of Statistics (Instituto Nacional de Estadística, INE) at the census tract level (secciones censales). This allows for a high-granularity distribution of resident agents based on residential density.
- Tourism and Temporary Population (ISTAC and OSM): To model tourist flows, we integrated occupancy rates by accommodation type from the INE, complemented by precise geographic locations of hotels from OSM. Furthermore, data on licensed holiday rentals and apartments were retrieved from the Canary Islands Statistics Institute (ISTAC) to ensure a comprehensive mapping of tourist "spawn points".
- Points of Interest (POIs): Over 200 geographically referenced locations of tourist attractions, commercial centers, and activity generators were extracted from OSM using custom importers that query specific amenity types [35]. These served as primary destinations in the agents’ activity agendas, categorized by their profile (resident vs. tourist).
- High-Resolution Traffic Statistics (TomTom): To overcome the limitations of static schedules, we incorporated segment-level traffic data from TomTom. This dataset provides percentiles for vehicle speeds and volumes for every street segment in the city, sampled at 30-minute intervals from 06:00 to 18:00. This enables the simulation to account for historical congestion patterns and realistic vehicle behavior, particularly in areas where transit delays are frequent.
2.2.2. Data Processing and Graph Unification
2.2.3. Dynamic Entity Modeling
- Schedule Adherence: Buses attempt to maintain scheduled arrival times but may experience delays due to traffic conditions (modeled as stochastic edge traversal times).
- Capacity Constraints: Each bus has a maximum passenger capacity. If a bus reaches capacity, waiting passengers must wait for the next service.
- Dwell Time: Time spent at stops depends on the number of passengers boarding and alighting, following empirical distributions derived from transit operations literature [41].
- Route Choice: Pedestrians select routes based on shortest path algorithms (Dijkstra’s algorithm implemented in the NetworkX library) considering walking distance.
- Mode Choice: When pedestrians decide to visit a Point of Interest (POI), they decide whether to board available services based on factors including destination proximity and distance to transit stops.
- Activity Scheduling: Pedestrian agents have time-dependent activity patterns (visiting POIs, commuting) that influence their spatial-temporal trajectories.
2.2.4. Discrete-Event Simulation Engine
2.2.5. Optimization and Pre-computation
2.2.6. Quality Assurance and Architectural Readiness
2.2.7. Data Management and Infrastructure
2.3. Conversational AI Agent for Configuration
2.3.1. Natural Language Processing Architecture
- Parameter names (frequency, capacity, etc.)
- Parameter values (numeric quantities, temporal expressions)
- Scope identifiers (specific points of interest, vehicle types, or system-wide changes)
2.3.2. Conversational Interface Implementation
- Session Management: Persistent conversation histories that enable context-aware interactions across multiple user queries.
- Streaming Responses: Progressive display of agent responses as they are generated, improving perceived responsiveness.
- Rich Media Support: Display of structured data (configuration previews), images (results visualizations), and file downloads (simulation outputs).
2.3.3. Prompt Engineering and System Instructions
- 1.
- Role Definition: Clear specification that the agent is a specialized assistant for urban mobility simulation configuration, not a general-purpose chatbot.
- 2.
- Domain Knowledge: Contextual information about the simulation system’s capabilities and parameter constraints.
- 3.
- Output Format Instructions: Explicit templates for structured outputs (JSON schemas for entity extraction, YAML formatting for configuration updates).
- 4.
- Safety and Validation Guidelines: Instructions to validate user requests against system constraints and to alert users to potentially problematic configurations (e.g., the sum of the probabilities of visiting the different POIs for the simulated agents is above one and the configuration needs to be revised).
2.4. Simulation Generation
2.4.1. Simulation Execution Workflow
- Bus and MetroGuagua vehicles are created according to scheduled service patterns.
- Pedestrian agents are generated with stochastic origin-destination pairs sampled from distributions defined by POI locations and population density estimates.
- Entity states are updated (positions, occupancies).
- New events are scheduled (next stop arrivals, passenger arrivals).
- Interactions are resolved (boarding decisions, capacity constraints).
- Vehicle trajectories (sequence of edge traversals with timestamps).
- Occupancy levels (passenger counts at each stop and along route segments).
- Pedestrian paths (origin, destination, mode choices, travel times).
- System-level metrics (total vehicle-kilometers traveled, kilometers traveled, average wait times).
2.4.2. Asynchronous Simulation Management
- 1.
- A unique simulation ID is generated and returned immediately to the user.
- 2.
- The simulation task is dispatched to a Fargate container where it executes independently.
- 3.
- The user can query simulation status via the conversational agent using the simulation ID.
- 4.
- Upon completion, results are packaged and made available for download as compressed archives (ZIP format containing GeoJSON and Excel files).
2.5. Visualization and Decision Support
2.5.1. Geospatial Visualization with Kepler.gl
- Multi-layer Rendering: Simultaneous display of multiple geospatial datasets (road networks, bus routes, pedestrian flows) as distinct layers with customizable styling.
- Temporal Animation: Time-series data (vehicle trajectories over the simulation period) can be animated to visualize traffic dynamics and congestion patterns.
- Interactive Filtering: Users can filter data by attributes (e.g., vehicle type, occupancy level, time of day) to focus analysis on specific subsets.
- Data Aggregation: Spatial aggregation functions (e.g., hexagonal binning) summarize point-level data into regional statistics, revealing spatial patterns in mobility demand.
- Geometry: LineString geometries for vehicle/pedestrian trajectories, point geometries for stops and POIs.
- Properties: Attributes including entity IDs, timestamps, occupancy levels, route identifiers, and sustainability indicators.
2.6. Implementation Technologies and Infrastructure
2.7. Validation Approach
3. Results
3.1. Case Study: Las Palmas de Gran Canaria
- Complex Morphological and Linear Constraints: The city exhibits a pronounced linear morphology and includes a prominent northern peninsula that hosts the industrial harbor, residential areas, and major tourist attractions. This geographic configuration concentrates most north–south transit flows into a limited number of critical corridors, particularly the isthmus connecting the peninsula to the mainland. As a result, simulating new transit systems such as the MetroGuagua is especially relevant for congestion management.
- Tourist-Resident Dynamics: The city manages two overlapping mobility layers: a stable resident population of approximately 380,000 people and a high tourist influx with distinct travel patterns and preferences.
- Multimodal Public Transit System: The current infrastructure relies on an extensive bus network. The ongoing implementation of the MetroGuagua (a high-capacity system with dedicated lanes and metro-like frequencies) provides a perfect "what-if" scenario for our architecture, as it requires planners to reconfigure existing bus lines and evaluate multimodal connectivity.
- Standardized Data Availability: The choice of this city is also strategic for its adherence to Spanish and European data standards. By mainly using open data, the case study serves as a blueprint for replicability across other Spanish and European municipalities.
3.2. Validation of Conversational Configuration
3.2.1. Example Interaction 1: Viewing Current Configuration
- Bus service frequency: 10 minutes (peak), 15 minutes (off-peak)
- MetroGuagua service frequency: 5 minutes (peak), 8 minutes (off-peak)
- Bus capacity: 80 passengers
- MetroGuagua capacity: 150 passengers
- Simulation temporal bounds: 05:00–24:00
3.2.2. Example Interaction 2: Modifying Service Frequency
- 1.
- Intent Recognition: Identified modification intent.
- 2.
-
Entity Extraction:
- Target parameter: metroguagua.frequency.
- New value: 10 minutes.
- Scope: MetroGuagua frequency only.
- 3.
- Configuration Update: Modified YAML file to set frequency inside the metroguagua section to 10.
- 4.
- Confirmation: “I have updated the MetroGuagua frequency to 10 minutes. The new setting will be applied in the next simulation run.”
3.2.3. Example Interaction 3: Complex Multi-Parameter Adjustment
- 1.
- Recognized compound modification intent affecting two parameters.
- 2.
-
Extracted entities:
- buses.frequency: 20
- buses.capacity: 100
- 3.
- Applied both modifications atomically (ensuring configuration consistency).
- 4.
- Confirmed: “Configuration updated: Bus frequency set to 20 minutes, capacity increased to 100 passengers.”
3.3. System Performance and Computational Efficiency
- 1.
- Type Consistency: Attempting to pass string values to integer fields (e.g., "high" as maximum bus capacity).
- 2.
- Probability Constraints: Ensuring that the sum of probabilities for POI visits does not exceed . This was the most usual case, since most times the user does not know that, in order to increase the probability of agents visiting a group of POIs, it is needed to reduce the probability of other groups.
- 3.
- Domain Bounds: Restricting parameters like the speed ratio of buses vs other vehicles to a logical range of .
3.4. System Performance and Computational Efficiency
- Simulation Execution Time: Average execution time for a full 19-hour simulation: 14.2 minutes (SD = 2.1 min) on AWS Fargate containers with 2 vCPUs and 4 GB RAM.
- Conversational Agent Latency: Average response time for configuration queries: 3.8 seconds. Parameter modification confirmation: 6.3 seconds (including YAML file I/O).
- Visualization Loading: Kepler.gl visualization load times: 10–20 seconds for datasets with more than 50,000 trajectory points using the default FourSquare account settings.
4. Discussion
4.1. Interpretation of Results
4.1.1. Accessibility Through Natural Language Interaction
4.1.2. Flexibility in Scenario Exploration
4.1.3. Evidence-Based Decision Support
4.2. Value of the Integrated Architecture
4.3. Comparison with Prior Work
4.4. Principal Findings and Implications for Smart City Development
- Democratization through Accessibility: Natural language interfaces effectively lower the technical barriers to sophisticated urban planning tools. The conversational agent enables non-technical users to configure and trigger complex simulations, a task that traditionally required specialized programming expertise in simulation frameworks and geospatial analysis.
- Replicability through Open Data: A major strength of the architecture is its reliance on standardized data sources such as OSM, GTFS, and the Spanish INE. This ensures that the methodology is not only robust for the case study of Las Palmas but also highly replicable across other Spanish and European cities, facilitating a standardized approach to data-driven urban management.
- Quantifiable Trade-offs for Decision Support: While urban planning involves inherent conflicts between objectives (e.g., service frequency vs. operational costs), our system provides the evidence needed to make these trade-offs explicit. By allowing planners to compare scenarios, such as the impact of the MetroGuagua corridor on existing bus lines, the digital twin supports more informed and transparent decision-making processes.
- Identification of Social Equity Gaps: The high spatial granularity of the simulation allows for the detection of accessibility gaps. By analyzing pedestrian flows and transit proximity, the system can identify neighborhoods falling below critical service thresholds (e.g., imposing a walking limit). This capability is vital for ensuring that smart city interventions promote social equity before infrastructure is physically deployed.
- Agile Iteration and Exploration: The efficiency of the system—capable of processing a 19-hour urban day in less than 20 minutes—supports an agile policymaking cycle. This rapid iteration allows planners to explore a vast design space of ’what-if’ scenarios, identifying robust strategies that can adapt to changing urban conditions.
4.5. Limitations and Future Work
5. Conclusions
5.1. Summary of Contributions
- 1.
- Integrated Architecture: We developed and validated an architecture that synergistically combines a conversational AI agent (based on Google Gemini 2.5 Flash Lite) with a digital twin simulation engine to enable natural language configuration of multimodal urban mobility simulations. This integration demonstrates how complementary technologies can be composed to create capabilities exceeding what either component could achieve independently.
- 2.
- Conversational Configuration Interface: We implemented and validated a conversational AI agent capable of interpreting natural language planning objectives, extracting relevant simulation parameters, and autonomously modifying configuration files. The agent achieved 95.99% accuracy across 50 diverse configuration tasks, demonstrating the viability of LLM-based interfaces for complex technical systems.
- 3.
- Data-Rich Multimodal Simulation: We developed a digital twin that integrates heterogeneous data sources (including INE census tracts for resident density, ISTAC and OSM for tourist activity, and TomTom traffic statistics) to create a realistic simulation environment. The system models buses, the future MetroGuagua (BRT), and pedestrian agents with differentiated behavioral profiles operating on a realistic road network extracted from OpenStreetMap. This setup provides a robust foundation for generating comprehensive outputs, such as vehicle trajectories and occupancy dynamics, which are essential for assessing sustainability indicators across environmental, economic, and social dimensions.
- 4.
- Proof-of-Concept Validation (TRL 4): We conducted a technical validation of the framework in Las Palmas de Gran Canaria, demonstrating the feasibility of an LLM-driven orchestration of discrete-event simulations. By executing multiple scenarios, we confirmed that the system produces realistic mobility dynamics consistent with transportation planning theory. The validation highlighted the effectiveness of the Pydantic-based safety layer, which achieved a high success rate in mapping natural language to executable configurations, ensuring system stability despite the stochastic nature of the generative agent.
5.2. Roadmap
- 1.
- Transition to TRL 5-7: Advance the system toward operational deployment through validation in real-world settings with actual planning agencies. This transition requires integration with authoritative data sources, comprehensive user evaluation, and refinement based on stakeholder feedback.
- 2.
- Enhanced Simulation Fidelity: Incorporate more detailed models of traffic dynamics, pedestrian behavior, and multi-modal interactions. Integrate real-time data streams (GPS tracking, sensor networks) to enable operational decision support beyond scenario planning.
- 3.
- Multi-City Generalization: Validate the architecture across diverse urban contexts (varying sizes, geographic settings, transportation systems) to assess generalizability and identify necessary adaptations for different planning environments.
- 4.
- Integration with Broader Planning Ecosystems: Develop APIs and data exchange standards to integrate the system with existing GIS platforms, transportation demand models, and project management tools used by planning agencies.
- 5.
- Ethical AI Frameworks: Establish governance frameworks addressing algorithmic transparency, bias mitigation, data privacy, and accountability for AI-assisted planning decisions [46].
- 6.
- Economic and Social Impact Assessment: Conduct longitudinal studies to measure the actual impact of AI-digital twin decision support on planning outcomes, policy quality, and community well-being.
5.3. Closing Remarks
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Appendix A. System Prompt and Configuration
Appendix A.1. Configuration Agent System Prompt


Appendix A.2. Default Configuration File




References
- United Nations; Department of Economic and Social Affairs; Population Division. World Urbanization Prospects: The 2018 Revision; United Nations: New York, NY, USA, 2018. [Google Scholar]
- Bibri, S.E.; Krogstie, J. Smart sustainable cities of the future: An extensive interdisciplinary literature review. Sustain. Cities Soc. 2017, 31, 183–212. [Google Scholar] [CrossRef]
- Yigitcanlar, T.; Kamruzzaman, L.; Foth, M.; Sabatini-Marques, J.; da Costa, E.; Ioppolo, G. Can cities become smart without being sustainable? A systematic review of the literature. Sustain. Cities Soc. 2019, 45, 348–365. [Google Scholar] [CrossRef]
- Liao, F.; Arentze, T.; Timmermans, H. Incorporating space-time constraints and activity-travel time profiles in a multi-state supernetwork approach to individual activity-travel scheduling. Transp. Res. Part B Methodol. 2013, 55, 41–58. [Google Scholar] [CrossRef]
- Batty, M. Digital twins. Environ. Plan. B Urban Anal. City Sci. 2018, 45, 817–820. [Google Scholar] [CrossRef]
- Pettit, C.; Bakelmun, A.; Lieske, S.N.; Glackin, S.; Hargroves, K.; Thomson, G.; Shearer, H.; Dia, H.; Newman, P. Planning support systems for smart cities. City Cult. Soc. 2018, 12, 13–24. [Google Scholar] [CrossRef]
- Deng, T.; Zhang, K.; Shen, Z.J. A systematic review of a digital twin city: A new pattern of urban governance toward smart cities. J. Manag. Sci. Eng. 2021, 6, 125–134. [Google Scholar] [CrossRef]
- Shahat, E.; Hyun, C.T.; Yeom, C. City digital twin potentials: A review and research agenda. Sustainability 2021, 13, 3386. [Google Scholar] [CrossRef]
- Lv, Z.; Chen, D.; Lou, R.; Song, H. Industrial security solution for virtual reality. IEEE Internet Things J. 2021, 8, 6273–6281. [Google Scholar] [CrossRef]
- Qi, Q.; Tao, F.; Hu, T.; Anwer, N.; Liu, A.; Wei, Y.; Wang, L.; Nee, A.Y.C. Enabling technologies and tools for digital twin. J. Manuf. Syst. 2021, 58, 3–21. [Google Scholar] [CrossRef]
- Ferré-Bigorra, J.; Casals, M.; Gangolells, M. The adoption of urban digital twins. Cities 2022, 131, 103905. [Google Scholar] [CrossRef]
- Mohammadi, N.; Taylor, J.E. Smart city digital twins. In Proceedings of the 2017 IEEE Symposium Series on Computational Intelligence (SSCI), Honolulu, HI, USA, 27 November–1 December 2017; pp. 1–5. [Google Scholar]
- Heinrichs, D.; Cyganski, R. Automated driving: How it could enter our cities and how this might affect our mobility decisions. disP. Plan. Rev. 2015, 51, 74–79. [Google Scholar] [CrossRef]
- Lopez, P.A.; Behrisch, M.; Bieker-Walz, L.; Erdmann, J.; Flötteröd, Y.P.; Hilbrich, R.; Lücken, L.; Rummel, J.; Wagner, P.; Wiessner, E. Microscopic traffic simulation using SUMO. In Proceedings of the 2018 21st International Conference on Intelligent Transportation Systems (ITSC), Maui, HI, USA, 4–7 November 2018; pp. 2575–2582. [Google Scholar]
- Horni, A.; Nagel, K.; Axhausen, K.W. The Multi-Agent Transport Simulation MATSim; Ubiquity Press: London, UK, 2016. [Google Scholar]
- SimPy Team. SimPy: Discrete-Event Simulation for Python . Available online: https://simpy.readthedocs.io/ (accessed on 15 December 2024).
- Francisco, A.; Mohammadi, N.; Taylor, J.E. Smart city digital twin-enabled energy management: Toward real-time urban building energy benchmarking. J. Manag. Eng. 2020, 36, 04019045. [Google Scholar] [CrossRef]
- Brown, T.B.; Mann, B.; Ryder, N.; Subbiah, M.; Kaplan, J.; Dhariwal, P.; Neelakantan, A.; Shyam, P.; Sastry, G.; Askell, A.; et al. Language models are few-shot learners. In Proceedings of the 34th Conference on Neural Information Processing Systems (NeurIPS 2020), Virtual, 6–12 December 2020; Volume 33, pp. 1877–1901. [Google Scholar]
- OpenAI. GPT-4 Technical Report. arXiv 2023, arXiv:2303.08774. [Google Scholar] [CrossRef]
- Cugurullo, F.; Acheampong, R.A.; Gueriau, M.; Dusparic, I. The transition to autonomous cars, the redesign of cities and the future of urban sustainability. Urban Geogr. 2021, 42, 833–859. [Google Scholar] [CrossRef]
- Nishant, R.; Kennedy, M.; Corbett, J. Artificial intelligence for sustainability: Challenges, opportunities, and a research agenda. Int. J. Inf. Manag. 2020, 53, 102104. [Google Scholar] [CrossRef]
- Liu, P.; Yuan, W.; Fu, J.; Jiang, Z.; Hayashi, H.; Neubig, G. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Comput. Surv. 2023, 55, 1–35. [Google Scholar] [CrossRef]
- Google DeepMind. Gemini: A Family of Highly Capable Multimodal Models. arXiv 2023, arXiv:2312.11805. [Google Scholar] [CrossRef]
- Chen, X.; Lin, M.; Schärli, N.; Zhou, D. Teaching large language models to self-debug. In Proceedings of the 12th International Conference on Learning Representations (ICLR 2024), Vienna, Austria, 7–11 May 2024. [Google Scholar]
- Palanica, A.; Flaschner, P.; Thommandram, A.; Li, M.; Fossat, Y. Physicians’ perceptions of chatbots in health care: Cross-sectional web-based survey. J. Med. Internet Res. 2019, 21, e12887. [Google Scholar] [CrossRef]
- Chung, M.; Ko, E.; Joung, H.; Kim, S.J. Chatbot e-service and customer satisfaction regarding luxury brands. J. Bus. Res. 2020, 117, 587–595. [Google Scholar] [CrossRef]
- Kar, A.K.; Haldar, N. Applying chatbots to the Internet of Things: Opportunities and architectural elements. Int. J. Inf. Manag. 2016, 36, 1233–1238. [Google Scholar] [CrossRef]
- Shum, H.Y.; He, X.D.; Li, D. From Eliza to XiaoIce: Challenges and opportunities with social chatbots. Front. Inf. Technol. Electron. Eng. 2018, 19, 10–26. [Google Scholar] [CrossRef]
- Psyllidis, A.; Bozzon, A.; Bocconi, S.; Bolivar, C.T. A platform for urban analytics and semantic data integration in city planning. In Proceedings of the CUPUM 2015: 14th International Conference on Computers in Urban Planning and Urban Management, Cambridge, MA, USA, 7–10 July 2015. [Google Scholar]
- Wang, W.; Siau, K. Artificial intelligence, machine learning, automation, robotics, future of work and future of humanity: A review and research agenda. J. Database Manag. 2019, 30, 61–79. [Google Scholar] [CrossRef]
- White, G.; Zink, A.; Codecà, L.; Clarke, S. A digital twin smart city for citizen feedback. Cities 2021, 110, 103064. [Google Scholar] [CrossRef]
- Cardullo, P.; Kitchin, R. Being a ’citizen’ in the smart city: Up and down the scaffold of smart citizen participation in Dublin, Ireland. GeoJournal 2019, 84, 1–13. [Google Scholar] [CrossRef]
- Boeing, G. OSMnx: New methods for acquiring, constructing, analyzing, and visualizing complex street networks. Comput. Environ. Urban Syst. 2017, 65, 126–139. [Google Scholar] [CrossRef]
- Google. General Transit Feed Specification Reference . Available online: https://gtfs.org/reference/static (accessed on 15 December 2024).
- Ballatore, A.; Bertolotto, M.; Wilson, D.C. An evaluative baseline for geo-semantic relatedness and similarity. GeoInformatica 2014, 18, 747–767. [Google Scholar] [CrossRef]
- Bonabeau, E. Agent-based modeling: Methods and techniques for simulating human systems. Proc. Natl. Acad. Sci. USA 2002, 99, 7280–7287. [Google Scholar] [CrossRef]
- GeoPandas Development Team. GeoPandas: Python Tools for Geographic Data . Available online: https://geopandas.org/ (accessed on 15 December 2024).
- Gillies, S. Shapely: Manipulation and Analysis of Geometric Objects . Available online: https://shapely.readthedocs.io/ (accessed on 15 December 2024).
- Hagberg, A.A.; Schult, D.A.; Swart, P.J. Exploring network structure, dynamics, and function using NetworkX. In Proceedings of the 7th Python in Science Conference (SciPy2008), Pasadena, CA, USA, 19–24 August 2008; pp. 11–15. [Google Scholar]
- Newson, P.; Krumm, J. Hidden Markov map matching through noise and sparseness. In Proceedings of the 17th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, Seattle, WA, USA, 4–6 November 2009; pp. 336–343. [Google Scholar]
- Tirachini, A. Bus dwell time: The effect of different fare collection systems, bus floor level and age of passengers. Transp. A Transp. Sci. 2013, 9, 28–49. [Google Scholar] [CrossRef]
- Pydantic Development Team. Pydantic: Data Validation Using Python Type Hints . Available online: https://docs.pydantic.dev/ (accessed on 15 December 2024).
- Chainlit Development Team. Chainlit: Build Production-Ready Conversational AI Applications . Available online: https://docs.chainlit.io/ (accessed on 15 December 2024).
- Technologies, Uber. Kepler.gl: A Powerful Web-Based Geospatial Data Visualization Tool . Available online: https://kepler.gl/ (accessed on 15 December 2024).
- Guaguas Municipales. MetroGuagua: Recorrido y sistema de transporte masivo. Available online: https://www.guaguas.com/lineas/metroguagua/recorrido (accessed on 22 April 2026).
- Jobin, A.; Ienca, M.; Vayena, E. The global landscape of AI ethics guidelines. Nat. Mach. Intell. 2019, 1, 389–399. [Google Scholar] [CrossRef]
- Macharis, C.; Bernardini, A. Reviewing the use of Multi-Criteria Decision Analysis for the evaluation of transport projects: Time for a multi-actor approach. Transp. Policy 2015, 37, 177–186. [Google Scholar] [CrossRef]
- Creutzig, F.; Jochem, P.; Edelenbosch, O.Y.; Mattauch, L.; van Vuuren, D.P.; McCollum, D.; Minx, J. Transport: A roadblock to climate change mitigation? Science 2015, 350, 911–912. [Google Scholar] [CrossRef]
- Foth, N.; Manaugh, K.; El-Geneidy, A.M. Towards equitable transit: Examining transit accessibility and social need in Toronto, Canada, 1996–2006. J. Transp. Geogr. 2013, 29, 1–10. [Google Scholar] [CrossRef]
- Ji, Z.; Lee, N.; Frieske, R.; Yu, T.; Su, D.; Xu, Y.; Ishii, E.; Bang, Y.J.; Madotto, A.; Fung, P. Survey of hallucination in natural language generation. ACM Comput. Surv. 2023, 55, 1–38. [Google Scholar] [CrossRef]
- Innes, J.E.; Booher, D.E. Reframing public participation: Strategies for the 21st century. Plan. Theory Pract. 2004, 5, 419–436. [Google Scholar] [CrossRef]
- OECD Observatory of Public Sector Innovation (OPSI). Virtual Twin Singapore . Available online: https://oecd-opsi.org/innovations/virtual-twin-singapore/ (accessed on 29 April 2026).
- Green, B.; Chen, Y. The principles and limits of algorithm-in-the-loop decision making. Proc. ACM Hum. Comput. Interact. 2019, 3, 1–24. [Google Scholar] [CrossRef]
- Ewing, R.; Handy, S. Measuring the unmeasurable: Urban design qualities related to walkability. J. Urban Des. 2009, 14, 65–84. [Google Scholar] [CrossRef]




| Component | Technology/Tool | Version/Provider |
|---|---|---|
| Programming Language | Python | 3.11 |
| LLM for Conversational AI | Gemini 2.5 Flash Lite | Google Vertex AI |
| Conversational Framework | Chainlit | 2.6.2 |
| Discrete-Event Simulation | SimPy | 4.1.1 |
| Network Analysis | NetworkX, OSMnx | 3.4.2, 2.0.5 |
| Geospatial Processing | GeoPandas, Shapely | 1.1.1, 2.1.1 |
| Data Validation | Pydantic | 2.11.7 |
| Database | PostgreSQL with PostGIS | 17.5 |
| Containerization | Docker | 29.0.2 |
| Cloud Infrastructure | ECS Fargate, RDS, S3 | AWS |
| Frontend Framework | React, TypeScript | 19.1.0, 5.8 |
| Task Category | Test Cases | Success Rate (%) |
|---|---|---|
| View current configuration | 10 | 100 |
| Modify single parameter | 15 | 93.3 |
| Modify multiple parameters | 10 | 90.0 |
| Launch the simulation using the modified configuration | 10 | 100 |
| Detect invalid or ambiguous requests | 5 | 100 |
| Overall | 50 | 95.99 |
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 (http://creativecommons.org/licenses/by/4.0/).