Simulation-Based Evaluation of AI-Orchestrated Port–City Logistics
Abstract
1. Introduction
1.1. Review of the Current State of the Research
1.2. Problem Statement and Study Objectives
2. Materials and Methods
2.1. Reference Architecture and Control Scope
2.2. Simulation-Based Experimental Setup
2.2.1. Simulation Environment and System Representation
2.2.2. AI-Orchestrated Control Policy
| Algorithm 1: Rule-based capacity-aware orchestration logic, in pseudocode |
| function orchestrate(port_state, demand_forecast, constraints, policies): # (1) Observe current state vessels = port_state.vessels containers = port_state.containers trucks = port_state.trucks cranes = port_state.cranes yard = port_state.yard time_now = port_state.clock # (2) Compute bottlenecks (capacity vs. load) quay_capacity = cranes.available_quay_capacity() gate_capacity = trucks.available_gate_capacity() yard_capacity = yard.free_slots() dwell_risk = yard.estimate_dwell_risk(containers) bottlenecks = detect_bottlenecks(quay_capacity, gate_capacity, yard_capacity, dwell_risk) # (3) Apply gate throttling rule (smooth arrivals if gate is a bottleneck) if bottlenecks.includes("gate") or dwell_risk.high(): gate_release_rate = policies.gate.smoothing_rate (time_now, demand_forecast) else: gate_release_rate = policies.gate.max_rate trucks_to_release = select_trucks (trucks.waiting, gate_release_rate) # (4) Assign containers to trucks given constraints # Constraints: time windows, weight, pairing with destination, customs hold, FIFO/priority feasible_pairs = [] for c in containers.ready_for_gate(): for t in trucks_to_release: if is_feasible(c, t, constraints.truck): score = score_assignment(c, t, policies.priorities) feasible_pairs.append((score, c, t)) assignments_trucks = greedy_match(feasible_pairs, objective = "maximize priority + throughput") # (5) Allocate cranes given utilization (balance load across quay cranes) crane_jobs = [] for v in vessels: if v.has_pending_moves(): job_size = v.next_batch_size() if cranes.has_available_quay(): chosen_crane = select_crane(v, cranes, objective = "balance_utilization") crane_jobs.append((chosen_crane, v, job_size)) apply_crane_allocations(crane_jobs) # (6) Enforce feasibility constraints # - Skip assignment if a truck has already been assigned in the current step # - Assign a truck only if container.state == "unloaded" and both are co-located # - Assign a crane only if crane.state == "idle" and container.state ∈ {"in_port", "at_port"} # - No global conflict detection or post-hoc repair is performed # (7) Commit actions and log dispatch_trucks(assignments_trucks) dispatch_cranes(crane_jobs) log_plan(time_now, bottlenecks, gate_release_rate, assignments_trucks, crane_jobs, feasibility_checks) # (8) Next step (advance simulation clock/reschedule) port_state.advance_clock(policies.simulation_step) return port_state |
2.2.3. Experimental Design and Performance Indicators
3. Results
3.1. Throughput Dynamics
3.2. Completion Time Across Paired Runs
3.3. Secondary Performance Indicators
- Truck idle time was significantly reduced due to better alignment of container dispatching and vehicle movement, improving fleet utilization.
- Estimated emissions decreased, as fewer simulation steps and idle periods were required to complete container delivery cycles.
- Container completion times were lower and more tightly clustered, indicating improved predictability and system reliability.
- Crane and gate utilization showed smoother load curves with less congestion and wait time under the AI policy.
3.4. Interpretation
4. Discussion
5. Conclusions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AI | Artificial Intelligence |
| CSV | Comma-Separated Values |
| DL | Deep Learning |
| IoT | Internet of Things |
| KPI | Key Performance Indicator |
| ML | Machine Learning |
| RL | Reinforcement Learning |
References
- Andrei, N.; Scarlat, C. Marine applications: The Future of Autonomous Maritime Transportation and Logistics. In Revolutionizing Earth Observation—New Technologies and Insights; Abdalla, R.M., Ed.; IntechOpen: London, UK, 2024; Available online: https://www.intechopen.com/chapters/1179457 (accessed on 14 September 2025).
- Lehmacher, W.; Lind, M.; Poikonen, J.; Meseguer, J.; Cárcel Cervera, J.L. Reducing port city congestion through data analysis, simulation, and artificial intelligence to improve the well-being of citizens. J. Mega Infrastruct. Sustain. Dev. 2022, 2, 65–82. [Google Scholar] [CrossRef]
- Dossou, P.-E.; Irudayaraj, J. Development of an Intelligent System for Urban Logistics to Facilitate Sustainable Optimization. In Transport Transitions: Advancing Sustainable and Inclusive Mobility; McNally, C., Carroll, P., Martinez-Pastor, B., Ghosh, B., Efthymiou, M., Valantasis-Kanellos, N., Eds.; Lecture Notes in Mobility; Springer: Cham, Switzerland, 2025; pp. 253–258. Available online: https://link.springer.com/10.1007/978-3-031-95284-5_36 (accessed on 23 November 2025).
- Lu, Y. A multimodal deep reinforcement learning approach for IoT-driven adaptive scheduling and robustness optimization in global logistics networks. Sci. Rep. 2025, 15, 25195. [Google Scholar] [CrossRef] [PubMed]
- Tsvetkova, A.; Wahlström, I.; Edelman, K.; Franzén, R.; Chen Zhou, Y.; Hellström, M. Smart port city: Digital interfaces for enhancing RoPax port and city co-existence. Cities 2025, 161, 105936. [Google Scholar] [CrossRef]
- Beckers, J.; Cardenas, I.; Le Pira, M.; Zhang, J. Exploring Logistics-as-a-Service to integrate the consumer into urban freight. Res. Transp. Econ. 2023, 101, 101354. [Google Scholar] [CrossRef]
- Andrei, N.; Scarlat, C.; Ioanid, A. Transforming E-Commerce Logistics: Sustainable Practices through Autonomous Maritime and Last-Mile Transportation Solutions. Logistics 2024, 8, 71. [Google Scholar] [CrossRef]
- Lakhal, N.; Aazami, A.; Kummer, S. The role of artificial intelligence across the source-to-pay framework: Theoretical and practical aspects. Digit. Bus. 2025, 5, 100160. [Google Scholar] [CrossRef]
- Bruni, M.E.; Fadda, E.; Fedorov, S.; Perboli, G. A machine learning optimization approach for last-mile delivery and third-party logistics. Comput. Oper. Res. 2023, 157, 106262. [Google Scholar] [CrossRef]
- Albo-López, A.B.; Carrillo, C.; Díaz-Dorado, E. An Approach for Shipping Emissions Estimation in Ports: The Case of Ro–Ro Vessels in Port of Vigo. J. Mar. Sci. Eng. 2023, 11, 884. [Google Scholar] [CrossRef]
- Jaller, M.; Xiao, R.; Dennis-Bauer, S.; Rivera-Royero, D.; Pahwa, A. Estimating last-mile deliveries and shopping travel emissions by 2050. Transp. Res. PART-Transp. Environ. 2023, 123, 103913. [Google Scholar] [CrossRef]
- Bi, Z.; Guo, X.; Wang, J.; Qin, S.; Liu, G. Deep Reinforcement Learning for Truck-Drone Delivery Problem. Drones 2023, 7, 445. [Google Scholar] [CrossRef]
- Chu, K.-F.; Guo, W. Privacy-Preserving Federated Deep Reinforcement Learning for Mobility-as-a-Service. IEEE Trans. Intell. Transp. Syst. 2024, 25, 1882–1896. [Google Scholar] [CrossRef]
- Silva, M.; Pedroso, J.P.; Viana, A. Deep reinforcement learning for stochastic last-mile delivery with crowdshipping. EURO J. Transp. Logist. 2023, 12, 100105. [Google Scholar] [CrossRef]
- Zhu, M.; Calderon, C.; Ford, A.; Robson, C.; Jin, J. Digital Twin for resilience and sustainability assessment of port facility. Sustain. Resilient Infrastruct. 2025, 1–34. [Google Scholar] [CrossRef]
- Klar, R.; Fredriksson, A.; Angelakis, V. Digital Twins for Ports: Derived from Smart City and Supply Chain Twinning Experience. IEEE Access 2023, 11, 71777–71799. [Google Scholar] [CrossRef]
- Eom, J.-O.; Yoon, J.-H.; Yeon, J.-H.; Kim, S.-W. Port Digital Twin Development for Decarbonization: A Case Study Using the Pusan Newport International Terminal. J. Mar. Sci. Eng. 2023, 11, 1777. [Google Scholar] [CrossRef]
- Yang, W.; Bao, X.; Zheng, Y.; Zhang, L.; Zhang, Z.; Zhang, Z.; Li, L. A digital twin framework for large comprehensive ports and a case study of Qingdao Port. Int. J. Adv. Manuf. Technol. 2024, 131, 5571–5588. [Google Scholar] [CrossRef]
- Andrei, N.; Scarlat, C. AI-Driven Urban Mobility Solutions: Shaping Bucharest as a Smart City. Urban Sci. 2025, 9, 335. [Google Scholar] [CrossRef]
- Farzadmehr, M.; Carlan, V.; Vanelslander, T. Contemporary challenges and AI solutions in port operations: Applying Gale–Shapley algorithm to find best matches. J. Shipp. Trade 2023, 8, 27. [Google Scholar] [CrossRef]



| Reference Architecture Component | Representation in Simulation | Scope and Notes |
|---|---|---|
| Autonomous maritime vessels | Abstracted | Vessel arrivals are represented implicitly through container availability at the port interface. Detailed vessel navigation, autonomy, and berth-level decision-making are outside the scope of the present simulation and are addressed in complementary work on autonomous maritime logistics. |
| Smart port and terminal operations | Implemented | Terminal handling processes, gate operations, crane allocation, and capacity constraints are explicitly modeled. These elements form the core interface between maritime arrivals and hinterland transport. |
| Central warehouse/consolidation hub | Implemented | The warehouse is modeled as an intermediate buffer between port and urban logistics, enabling consolidation, temporary storage, and controlled release of containers toward city distribution. |
| Multimodal urban logistics network | Partially implemented | Urban freight transport is represented through road-based truck movements interacting with capacity-limited distribution processes. Detailed passenger traffic dynamics and signal-level urban control are abstracted. |
| Adaptive AI traffic control | Abstracted | Traffic control effects are represented indirectly through capacity constraints, travel time penalties, and queue dynamics rather than explicit signal phase modeling. |
| Cloud-based orchestration layer | Implemented | The orchestrator is instantiated as a centralized control policy that observes global system state and coordinates decisions across port, warehouse, and urban domains at each simulation step. |
| Federated sensing and data collection | Abstracted | State information (queues, capacities, resource utilization) is assumed to be available to the orchestrator through idealized sensing interfaces. Sensor failures and communication delays are not modeled. |
| Blockchain-based governance layer | Conceptual only | Blockchain is included in the reference architecture to represent trusted data sharing, access control, and auditability among stakeholders. No blockchain protocols or transaction mechanisms are instantiated or simulated. |
| Digital twin environment | Implemented (simulation-level) | The simulation serves as a functional digital twin for evaluating coordination policies under controlled conditions. High-fidelity physical modeling and real-time synchronization with operational systems are outside the scope. |
| Category | Parameter | Value/Description | Notes and Justification |
|---|---|---|---|
| Simulation paradigm | Time advancement | Discrete time steps | Enables synchronized coordination decisions and reproducible paired-run evaluation. |
| Simulation horizon | max_steps (user-defined cap) | Upper bound prevents unbounded runs; simulations terminate earlier if all containers are delivered. | |
| Scenario generation | Scenario type | Synthetic | Synthetic scenarios allow for controlled experimentation and isolation of coordination effects without dependence on proprietary operational data. |
| Randomness control | Explicit random seed | Identical seeds are used for paired baseline and orchestrated runs to ensure comparability. | |
| Scale parameters | Number of containers | Scenario-dependent (configurable) | Container volume is defined by scenario configuration files in the repository. |
| Number of trucks | Scenario-dependent (configurable) | Truck fleet size is fixed per scenario and held constant across paired runs. | |
| Number of cranes | Scenario-dependent (configurable) | Crane resources constrain terminal throughput and interact with orchestrator decisions. | |
| System representation | Logistics stages | Port → warehouse → urban distribution | Represents a simplified but end-to-end port–city logistics chain. |
| Spatial modeling | Abstracted | Explicit geographic distances are not modeled; travel times and congestion effects are represented through capacity limits and queue dynamics. | |
| Queue modeling | Queue type | Capacity-limited FIFO queues | Applied at gates, cranes, and warehouse interfaces to represent operational bottlenecks. |
| Service logic | Rule-based | Service rates are constrained by available resources and scheduling rules. | |
| Control execution | Baseline policy | Built-in scheduler | Represents conventional, subsystem-level scheduling without cross-domain coordination. |
| Orchestrated policy | Capacity-aware rule-based controller | Coordinates gate releases, container-to-truck assignment, and resource allocation. | |
| Stochastic elements | Source of stochasticity | Arrival order, processing times (seeded) | All stochastic elements are governed by the random seed to ensure determinism under repetition. |
| Outputs | KPIs exported | Delay, throughput, resource utilization, emissions proxies (if enabled) | KPIs are written to CSV files for each run and aggregated post-simulation. |
| Repetitions | Number of paired runs | 20 | Selected to balance statistical robustness with computational cost; paired design reduces variance across comparisons. |
| Name | Definition | Unit |
|---|---|---|
| Throughput | Number of containers completed (delivered or unloaded) per simulation run or per time unit | containers/run or containers/step |
| Cycle time | Average time from container arrival to completion | simulation steps |
| Crane utilization | Fraction of time cranes are actively unloading relative to total available time | percent |
| Truck utilization | Fraction of time trucks are loading, in transit, or unloading relative to idle time | percent |
| Gate flow | Number of containers released through the gate per unit time | containers/step |
| Dwell time | Time containers spend in port or yard before completion | simulation steps |
| Crane queue length | Average and peak number of containers waiting for crane service | containers |
| Gate/truck queue length | Average and peak number of containers waiting for truck pickup | containers |
| Crane idle time | Total idle time accumulated by cranes | simulation steps |
| Truck idle time | Total idle time accumulated by trucks | simulation steps |
| Missed SLA/late pickups | Number or share of containers exceeding a dwell-time or cutoff threshold | count or percent |
| KPI | Baseline (Seed 19) | Orchestrated (Seed 19) | Paired Difference (Orch − Base) | Relative Change |
|---|---|---|---|---|
| Final completion step | 513.0 | 260.0 | −253.0 | −49.3% |
| Mean container completion time (steps) | 264.0 | 139.5 | −124.5 | −47.2% |
| Mean truck idle time (steps) | 194.28 | 66.48 | −127.80 | −65.8% |
| Mean vessel idle time (steps) | 259.45 | 129.70 | −129.75 | −50.0% |
| Mean idle time emissions proxy | 1.70 | 3.33 | +1.63 | +95.8% |
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 author. 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
Andrei, N. Simulation-Based Evaluation of AI-Orchestrated Port–City Logistics. Urban Sci. 2026, 10, 58. https://doi.org/10.3390/urbansci10010058
Andrei N. Simulation-Based Evaluation of AI-Orchestrated Port–City Logistics. Urban Science. 2026; 10(1):58. https://doi.org/10.3390/urbansci10010058
Chicago/Turabian StyleAndrei, Nistor. 2026. "Simulation-Based Evaluation of AI-Orchestrated Port–City Logistics" Urban Science 10, no. 1: 58. https://doi.org/10.3390/urbansci10010058
APA StyleAndrei, N. (2026). Simulation-Based Evaluation of AI-Orchestrated Port–City Logistics. Urban Science, 10(1), 58. https://doi.org/10.3390/urbansci10010058

