Previous Article in Journal
Denoising Method for Pipeline Leakage Voiceprint in Utility Tunnel Using an Enhanced StarGAN
Previous Article in Special Issue
Equitable Access to Urban Green Spaces Under Heat Stress: An Agent-Based Simulation (ABS) of Age-Differentiated Walkability Through a Behavioral Perspective
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Self-Adaptive Framework for Sustainable Smart Cities

by
Maurizio Giacobbe
* and
Salvatore Distefano
*
Department of Mathematics and Computer Sciences, Physical Sciences and Earth Sciences, University of Messina, Viale Ferdinando Stagno d’Alcontres 31, 98166 Messina, Italy
*
Authors to whom correspondence should be addressed.
Smart Cities 2026, 9(7), 117; https://doi.org/10.3390/smartcities9070117
Submission received: 16 April 2026 / Revised: 30 June 2026 / Accepted: 7 July 2026 / Published: 10 July 2026

Highlights

What are the main findings?
  • A holistic approach to the management of smart city infrastructure (social, economic, environmental) sustainability.
  • An adaptive, intelligent framework to enforce overall urban sustainability through smart city infrastructure sustainability.
What are the implications of the main findings?
  • The proposed solution and case study provide a methodology and a tool for urban planners to transition from static, siloed smart city deployments to adaptive and sustainable ones.
  • The presented technique and process meet fine-grained urban sustainability requirements by acting on infrastructural metrics to address the operational targets of UN Sustainable Development Goal 11.

Abstract

The transition from traditional siloed to intelligent cities allows for the deployment and management of information and communication technologies in the urban context to be driven by holistic sustainability requirements rather than technical ones such as feasibility and fragmented, siloed operational patterns. This work proposes a multi-dimensional decision-making framework to manage a smart city as an urban cognitive Cyber–Physical System (CPS) across environmental, economic, and social sustainability pillars, metrics and their trade-offs. A methodology based on Deep Reinforcement Learning (DRL), specifically adopting Deep Q-Networks (DQNs), is proposed to represent and assess sustainability pillar dependencies and their interplay. A case study on Low-Power Wide-Area Network planning, deployment and management in a Sicilian municipality has been developed to demonstrate the effectiveness of the proposed approach in dealing with the dynamics and non-linear dependencies of the sustainability pillars.

1. Introduction

The modern urban environment is conceptualized as a highly complex and dynamic ecosystem where the integration of physical infrastructures and computational elements is essential for maintaining a high quality of life [1,2]. In this context, municipalities face multi-dimensional, often conflicting challenges, including infrastructure degradation, inadequate public service provision, surging operational costs, and escalating environmental impacts. These compounding challenges are central to the 11th United Nations Sustainable Development Goal (SDG 11), which focuses on the creation of inclusive, safe, resilient, and sustainable cities and communities (Figure 1) [3].
Addressing these demands requires a fundamental paradigm shift from traditional smart cities to intelligent urban ecosystems within the Society 5.0 framework, placing humans at the center of decision processes [4]. While conventional smart city frameworks are typically restricted to passive data collection, localized monitoring, and siloed vertical configurations, intelligent cities operate as cognitive Cyber–Physical Systems (CPSs). Supported by robust infrastructures, institutional quality, and inclusive policies [5], these systems enable autonomous, dynamic, and closed-loop adaptation to achieve multi-objective sustainability requirements. In this scenario, social sustainability ( P s ) is crucial for livable communities focused on human well-being [6,7] through a deep integration of the environment, technology, and citizens [8].
Despite the potential of cognitive CPSs, the long-term sustainability of the underlying Information and Communication Technology (ICT) infrastructure remains a critical bottleneck. Current deployments suffer from a static bias, where edge nodes and networks are specifically engineered for fixed vertical configurations. Their parameters remain unchanged regardless of contextual fluctuations, leading to low resource reuse and high vulnerability to unpredictable demand variations. Managing these smart device fleets requires a balance between policy and technology. While engineers optimize technical metrics, municipal policymakers prioritize safety, equity, and the SDGs.

1.1. Why: The Environmental and Operational Conflict

The core challenge for intelligent cities is to contemporarily manage local resource constraints (economic sustainability, P c ) and preserve natural urban ecosystems (environmental sustainability, P e ). To bridge this gap, urban infrastructures have shifted toward the Artificial Intelligence of Things (AIoT) [9] and fully autonomous networks [10]. A fundamental milestone in this evolution is the synergy between AIoT and digital twins (DTs), acting as a smart city “brain” for predictive planning and real-time environmental management [11].
However, while macro-scale studies evaluate environmental and economic trade-offs through aggregated top-down indicators [12,13], they lack bottom-up, real-time adaptation loops operating at the physical device layer. In such a volatile context, maintaining the precise balance between ecosystem conservation and local network infrastructure bounds remains an open challenge. Indeed, prior attempts to predict renewable energy or carbon footprints often show reduced accuracy under highly unstable conditions or rely strictly on simulation testbeds without rigorous field validation [14,15,16].
When edge policies are designed with a purely passive approach (e.g., a permanent low-power approach), they introduce a high risk of information loss due to server-side under-provisioning. For example, during high-traffic commuter hours, this communication gap triggers data blackouts that collapse top-level smart mobility applications, such as dynamic routing and parking optimization algorithms. Crucially, this results in a systematic underestimation of localized traffic and pollution levels, forcing vehicles into extended cruising loops that drastically inflate indirect pollution.
Conversely, highly responsive policies could severely stress the CPS. For example, although this alternative approach effectively absorbs traffic peaks and minimizes data drops, it traps network nodes into continuous maximum power dissipation even during low-activity hours, heavily impacting operational costs and the direct energy consumption of electronic devices.

1.2. What: The Multi-Dimensional Decoupling Approach

To resolve these non-linear dependencies, this work introduces an adaptive urban framework designed to overcome limitations due to macro-scale top-down aggregated simulators or rigid threshold-based heuristics. The framework successfully models and resolves the non-linear dependencies and operational trade-offs among environmental, economic, and social sustainability pillars, establishing a formal link, as summarized in Table 1.

1.3. How: Edge-Constrained Cognitive Intelligence

Achieving this real-time, multi-objective synchronization exceeds the capabilities of classical computational methods or open-loop supervised models, which are structurally unfeasible for live parameter adjustments on resource-constrained hardware or heavily reliant on unavailable labeled data. To bridge this gap, an intelligent edge layer driven by Deep Reinforcement Learning (DRL), specifically Deep Q-Networks (DQNs), is deployed at each edge gateway to execute localized runtime inference.
The practical effectiveness and validation of this model are demonstrated through a concrete case study focusing on Low-Power Wide-Area Network (LPWAN) [17] infrastructures, utilizing Long-Range Wide-Area Network (LoRaWAN) specifications [18] deployed within a real municipal testbed.
The remainder of this work is organized as follows: Section 2 discusses materials and methods, presenting the proposed approach and sustainability metrics; Section 3 details the experimental case study; Section 4 analyzes the results of our investigation; and Section 5 concludes the work with future perspectives.

2. Materials and Methods

This section details the architectural layout, mathematical formalization, and algorithmic implementation of the proposed framework, alongside the state-of-the-art computational paradigm analysis that justifies the selection of our edge cognitive layer.

2.1. State-of-the-Art and Paradigm Comparison

Achieving real-time, closed-loop adaptivity across multi-dimensional urban requirements exceeds the capabilities of classical methods [19,20]. To map the state-of-the-art computational approaches within the smart city framework, Table 2 provides a comprehensive comparative assessment of Classical Methods (CMs), Supervised Learning (SL), and Reinforcement Learning (RL)/Deep RL (DRL) configurations across core architectural features, scalability vectors, and design bottlenecks.
To contextualize these developments within specific state-of-the-art implementations, Table 3 maps the recent literature against our proposed framework, highlighting how this work fills the structural gap in physical network infrastructures.
Metaheuristics like Genetic Algorithms (GAs) or Particle Swarm Optimization (PSO) [41,47,48,49,50] are predominantly restricted to top-down, offline simulations or macro-indicator tracking. Because these population-based methods require iterative, multi-generation evaluations at runtime, they are structurally unfeasible for live parameter adjustment within resource-constrained edge gateways. On the other hand, while traditional tabular RL approaches [43] avoid this computational burden, they suffer from the “curse of dimensionality,” limiting their scope to low-dimensional, highly simplified urban domains.
To address the limitations of existing frameworks, the main contribution of this work is the proposal of a holistic, closed-loop approach to multi-dimensional urban sustainability, formalized through three interconnected pillars: environmental ( P e ), economic ( P c ), and social ( P s ). Moving beyond traditional siloed patterns, the proposed methodology integrates a real-time, adaptive AI-driven model based on DRL and DQN. The DQN agent is specifically designed to resolve non-linear operational trade-offs among the metrics of the three sustainability pillars, optimizing infrastructure configurations in response to environmental and behavioral shifts.
A methodological and computational edge-constrained comparison of optimization patterns is reported in Table 4. It categorizes recent state-of-the-art implementations on resource-constrained edge hardware and highlights how this work differs from simple threshold-based rules, GA, Multi-Objective GA (MO-GA), PSO, Model Predictive Control (MPC), classical Q-Learning, and Proximal Policy Optimization (PPO)/Advantage Actor–Critic (A2C).
The recent literature demonstrates that while metaheuristics effectively optimize macro-scale urban domains, such as energy scheduling in smart grids [51,52] or congestion routing in intelligent transportation systems [53], their structural reliance on heavy global iterations confines their execution to centralized utility tiers or high-performance cloud frameworks, preventing real-time adaptive control at the localized, low-power network edge.
Table 4. Methodological and computational edge-constrained comparison of optimization patterns.
Table 4. Methodological and computational edge-constrained comparison of optimization patterns.
Method ClassSpecific MethodReferenceAlgorithmic Optimization PatternReported Edge/Architectural Constraints
HeuristicsThreshold-based rulesBruneel (2025) [54]Trivial execution of static if–then–else logical conditional branches.Fails under non-linear urban dynamics; zero multi-objective adaptability.
MetaheuristicsMO-GAHu et al. (2013) [51]Multi-objective load balancing and demand-side management schedules.High centralized computational overhead; non-real-time scaling.
GALi et al. (2023) [47]Latency-optimal scheduling for directed acyclic graph applications.Reliant on task-offloading schemes to balance node capacity.
Jyoti & Gokuldhev (2026) [49]Probabilistic evolutionary search for task allocation routing.Prohibitive convergence times (up to ∼10.8 s) under high iterations.
Odeh et al. (2026) [53]Congestion-aware vehicle routing and flow optimization loops.Intended for cloud-enabled ITS frameworks; runtime delays on constrained nodes.
GA/PSOMolokomme et al. (2026) [48]Iterative metaheuristic load balancing under heterogeneous task arrivals.High local resource variability; requires emulated testing setups.
Generic MetaheuristicsMousavi-Ghasemlou et al. (2026) [52]Sustainable energy deployment and macro resource distribution grids.Restricted to centralized utility tiers; lacks low-power edge local autonomy.
Control TheoryMPCFryganiotis et al. (2025) [55]Solves a complex, constrained multi-variable optimization problem online at each step.Intolerable mathematical and processing overhead on low-power embedded CPUs.
Tabular RLQ-LearningTerven (2025) [19]Direct memory lookup and cell-coordinate extraction from a fixed multi-dimensional array.Memory saturation; exponential table explosion; unable to generalize to unseen states.
Actor–Critic RLPPO/A2CTerven (2025) [19], Plaat (2022) [20], Oh et al. (2025) [24], Hady et al. (2025) [27]Dual-network inference tracking: concurrent execution of separate Actor and Critic layers.Redundant memory footprint allocation; inflated localized inference latency for discrete actions.
Deep RL (DRL)DQNThis WorkAsymmetric profile: offline training vs. online localized inference.Bypasses iterative loops via deterministic forward pass to be deployed on edge gateways (case study in Section 3).
Although structural genetic approaches can optimize latency profiles for directed acyclic graphs, cooperative task-offloading mechanisms are implemented to manage the localized computing threshold of the node [47]. Executing GA/PSO within edge environments presents significant challenges due to resource heterogeneity and unpredictability of task arrival, thus requiring specialized emulation frameworks to evaluate local operational stability [48]. Crucially, because these techniques rely on iterative, multi-generation search routines at runtime, their localized convergence speed remains inherently slow; recent implementations benchmarked under complex distributed contexts register execution completion delays reaching up to 10,841 ms [49]. Such a scale of delay is structurally incompatible with tight, low-latency cyber–physical control loops. Classical Control Theory approaches such as MPC require non-negligible computational environments to operate online. For example, in [55], the authors carried out their resource allocation simulations on a high-tier setup equipped with 8 vCPUs and 8 GB of RAM on an Intel Xeon server. Despite utilizing a server-class infrastructure, the mathematical complexity of solving optimization loops online remains a bottleneck for scaling.
Our framework explicitly addresses these edge-tier limitations for a localized execution directly at the infrastructure edge, without computational spikes or real-time deadline violations.

2.2. Methodology

To evaluate the systemic impact of the proposed methodology, this study defines an operational framework tied to environmental and structural sustainability targets. We quantify how the responsiveness and reliability of the autonomous edge decision-making process prevent the loss of critical urban data. By balancing the trade-off between a conservative baseline and high-responsiveness behavior, the system addresses SDG 11 for sustainable and resilient cities.
As illustrated in Figure 2, the conceptual framework integrates heterogeneous CPSs, depicted as spheres, into a cohesive urban ecosystem. The architecture is organized around a centralized cognitive AIoT engine, depicted as a neural network sphere with a brain icon at the core. This AIoT engine transforms the old concept of static infrastructure into an adaptive urban ecosystem. AIoT acts as a stochastic controller that processes real-time telemetry to optimize system responses.
The architecture of the proposed adaptive urban ecosystem is illustrated in Figure 3. The framework conceptualizes the transition from a static sustainability model to a dynamic, context-aware system. As shown in this diagram, the system is driven by two primary inputs: the Sustainability, which defines the theoretical SDG 11, and the Urban Context, providing real-time environmental and operational data. These inputs converge on the Preliminary Setup Layer (PSL), highlighted by the dashed red boundary. Within this layer, the sustainability pillars P e ( t ) , P c ( t ) , and P s ( t ) are not treated as static metrics but as dynamic functions of the urban context.
The interaction among these pillars is governed by a Multi-Objective Optimization engine. This component processes the input parameters (i.e., from the PSL) to resolve inherent trade-offs, also ensuring that the infrastructure remains efficient and reliable under varying urban conditions. Finally, an Adaptive Feedback loop returns the optimized state to the urban context, enabling a continuous self-healing and self-configuring cycle.

2.2.1. Smart Urban Context

The core of the proposed framework lies in the formalization of the smart urban context as a dynamic CPS ecosystem governed by a state-space representation. Thus, a dynamic urban context C ( t ) can be defined as the n-tuple of Equation (1):
C ( t ) = c 1 ( t ) , c 2 ( t ) , , c n ( t ) C R n
where each component c i ( t ) represents a specific environmental or systemic metric, such as traffic congestion levels, network availability, or sudden urban emergencies, and where C is the context state space.
To tune the model to urban-wide areas, usually organized into geographical districts (e.g., urban districts, industrial zones, or residential quarters), a context matrix S ( t ) is formally defined by Equation (2):
S ( t ) = C 1 , 1 ( t ) C 1 , q ( t ) C p , 1 ( t ) C p , q ( t ) C p , q R n , p , q
mapping p q > 0 districts of the urban area into the corresponding C i , j ( t ) context representing the i , j -th geographical district at time t. This formulation ensures that the context matrix S ( t ) captures the dynamics of the city and its districts, preserving geographic and topological distance through the matrix adjacency. This allows the municipality to identify spatial correlations and proximity-based dependencies, which are essential for risk prevention (e.g., hydro-geological monitoring) and urban optimization (e.g., commercial promotion in high-footfall areas). Therefore, it is possible to identify complex spatial–temporal correlations that would be lost in a lower-dimensional or aggregated representation, finally identifying optimal trade-offs among the three pillars of sustainability. This representation enables a comprehensive overview of the city dynamics by aggregating localized district-level data and identifying potential spatial correlations between adjacent districts. Using this structured information, the framework can detect criticalities and vulnerabilities associated with specific districts based on the interplay of their context metrics, such as traffic congestion, weather patterns, and crowd density.
The practical implications of such granular monitoring are manifold: high-resolution telemetry is crucial for hydro-geological risk prevention and for optimizing urban traffic planning through proactive interventions; the ability to analyze real-time visitor and tourist flows enables more effective promotion of events and commercial activities in areas with higher crowding; and the high-dimensional observation space is transformed into an actionable decision-support tool, allowing the municipality to identify both systemic risks and strategic opportunities by capturing the inter-dependencies between neighboring districts. This representation does not merely describe the environment but actively shapes the weighting of the sustainability pillars within the proposed multi-objective optimization process, ensuring that the resulting urban trade-offs are both resilient and context-aware. The brain of the optimization process determines the criticality of the current situation. For example, in high-criticality scenarios, the controller may prioritize immediate social and network performance by extending the duration of high-power operational states. Conversely, in routine contexts, the optimization logic shifts toward energy saving and cost reduction. As a result of this analysis, the context impacts the sustainability of the smart urban ecosystem and the selected main metrics that characterize its pillars, as described below. This holistic representation emphasizes that the transition toward a smart city is not merely technological but is intrinsically linked to measurable sustainability goals, where CPSs bridge the gap between physical infrastructure and socio-economic outcomes.

2.2.2. Sustainability Pillars and Metrics

Environmental sustainability P e is traditionally quantified by the ecological cost of the digital infrastructure, focusing primarily on metrics such as energy consumption and carbon footprint. However, in the context of a smart city, this perspective is inherently limited. True environmental sustainability must be redefined through the proactive role of CPSs, acting as responsive sentinels. Beyond mere device-level energy savings, these systems monitor both local and neighboring contexts to dynamically manage urban dynamics. By anticipating traffic peaks, high-density events, and congestion, the DQN policy prioritizes the systemic prevention of pollution surges, using the infrastructure as an active tool for ecological mitigation rather than a passive energy consumer. In such a scenario, energy consumption is not a static value but a baseline strictly coupled with the operational context S ( t ) . It serves as a direct measure of the CPS’s impact on environmental and economic costs, as the power consumption scales dynamically across different modes, from low-power stand-by or idle states to high-performance active monitoring.
Let d i , j be the number of devices deployed across the i , j -th urban district. The total energy consumption E over an observation interval [ t 0 , t ] is formally defined by Equation (3):
E ( s , t ) = t 0 t P ( S ( τ ) , τ ) , d τ [ kWh ] .
where the lowercase s represents the specific realization of the state at the current time t, i.e., s = S ( t ) . The total power P is the result of the sum of the instantaneous power measured at time t for each device in the district, formally defined by Equation (4):
P ( s , t ) = i = 1 p j = 1 q k = 1 d i , j P i , j , k ( C i , j ( t ) , t ) [ W ] .
The carbon footprint ( C F ) represents the Global Warming Potential (GWP) [56] associated with the system’s existence and operation in the observation interval [ t 0 , t ] . It accounts for the embodied carbon of each device, provided as a manufacturer specification, and the emissions derived from its contextual energy consumption. Leveraging the energy formulation defined in Equation (3), the total C F for the infrastructure across the n districts is formalized by Equation (5):
C F ( s , t ) = i = 1 p j = 1 q k = 1 d i , j G W P i , j , k + ϵ g e o · E ( s , t ) [ kgCO 2 eq ]
where G W P i , j , k is the aggregate cradle-to-gate carbon footprint of the k-th device located in the i , j -th urban district (including its enclosure, electronics, and battery, where applicable). This term represents the embodied impact linked to the physical existence of the device. The term ϵ g e o · E ( s , t ) represents the operational impact, where ϵ g e o denotes the grid emission intensity factor [57], and E ( s , t ) is the context-dependent energy consumption derived from the instantaneous power P ( s , t ) , as defined by Equation (3). This formulation allows the framework to evaluate how the selection of specific hardware models and their operational duty cycles, driven by the urban dynamics captured in S ( t ) , jointly influence the total environmental sustainability of the infrastructure.
The economic sustainability ( P c ) ensures the financial viability and scalability of the infrastructure within municipal budget constraints. It is modeled through the Total Cost of Ownership (TCO), which balances the initial investment with long-term maintenance. The TCO represents the comprehensive financial metric for evaluating the P c of the CPS infrastructure over its entire operational life. It is defined by Equation (6) as the sum of the initial investment and the accumulated operating costs:
T C O ( s , t ) = C A P E X ( t 0 ) + O P E X ( s , t ) ) [ Currency ]
The term C A P E X ( t 0 ) represents the capital expenditure incurred at the initial time t 0 , acting as a static and context-independent value. It includes the procurement of devices for all the districts, including hardware costs, licenses, and physical installation. By defining it at t 0 , the model treats the initial investment as a fixed boundary condition for the optimization problem, as formally defined by Equation (7):
C A P E X ( t 0 ) = i = 1 p j = 1 q k = 1 d i , j H i , j , k + I i , j , k + L i , j , k | t 0 [ Currency ]
where H i , j , k , I i , j , k , and L i , j , k denote the hardware, installation, and licensing costs for the k-th device in the i , j -th geographical district, respectively.
Conversely, O P E X ( s , t ) represents the dynamic and context-aware operational expenditure. It is formally defined by Equation (8):
O P E X ( s , t ) = ( t t 0 ) T · K T + O P E X V ( s , t ) [ Currency ]
where the K T term represents the time-invariant operational costs (e.g., cloud subscription fees or fixed infrastructure leasing) in period T. The variable operational expenditure O P E X V during the observation interval [ t 0 , t ] is formally defined by Equation (9) as a direct function of the geographical urban context, capturing how urban dynamics drive resource allocation and energy demand.
O P E X V ( s , t ) = t 0 t i = 1 p j = 1 q k = 1 d i , j V i , j , k ( τ ) · P i , j , k ( C i , j ( τ ) , τ ) + M i , j , k ( τ ) + δ k · B i , j , k ( τ ) · O p r e d ( C i , j ( τ ) , τ ) d τ
In this formulation, the first term of the sum captures the monetary cost of the energy, where V i , j , k is the unit price (currency per kW), and P i , j , k is power from Equation (4). The integral term also captures the localized maintenance and hardware preservation costs across the districts over the observation interval [ t 0 , t ] . Here, M i , j , k denotes the routine maintenance for the k-th device in the i , j -th district, encompassing inspections and standard operational overhead. The second part of the sum addresses the critical management of power-source longevity. The binary parameter δ k indicates the presence of a battery for the k-th device model, as specified by Equation (10).
δ k = 1 if the k - th device is battery - powered 0 if the k - th device is mains - powered .
The term B i , j , k ( t ) represents the replacement cost for the battery (including procurement and field logistics). These factors are modulated by the predictive operator O p r e d , which estimates the degradation rate and the “state of health” of the device. By incorporating this predictive logic, the model acknowledges that operational stress directly accelerates battery chemical aging. The above formulation is useful for long-term planning, as battery-operated devices ( δ k = 1 ) can incur periodic replacement costs and labor, whereas mains-powered devices ( δ k = 0 ) contribute more significantly to the energy cost.
Social sustainability ( P s ) is evaluated through the system’s ability to provide a reliable and timely service to the community. Information systems and IT services are increasingly performing a wide variety of organizational functions and personal activities. Therefore, high-quality information systems and IT services are essential to provide value and avoid possible negative consequences for their stakeholders. According to the System Quality and Software Quality Requirements and Evaluation (SQuaRE) family of the International Organization for Standardization (ISO)/International Electrotechnical Commission (IEC) [58], the social value of a CPS is quantified through objective Quality of Service (QoS) parameters. In this work, we redefine these metrics to be context-aware, ensuring they respond dynamically to the urban context. A QoS metric is the Packet Delivery Ratio (PDR) measuring the communication integrity and reliability of the data flow from the devices to the application. It is formally defined by Equation (11):
P D R ( s , t ) = t 0 t i = 1 p j = 1 q k = 1 d i , j Ψ R X , I , j , k ( S ( τ ) , τ ) d τ t 0 t i = 1 p j = 1 q k = 1 d i , j Ψ T X , I , j , k ( S ( τ ) , τ ) d τ , t t 0 τ m a x
where the P D R is defined as the ratio of cumulative successfully received packets ( Ψ R X ) to total transmitted packets ( Ψ T X ) across the urban scenario. By modeling these variables as time-varying processes, the integral structure captures the cumulative throughput over the observation window [ t 0 , t ] , effectively filtering out instantaneous stochastic noise. To ensure statistical consistency, the interval [ t 0 , t ] is assumed to be significantly larger than the maximum network propagation delay. Furthermore, the explicit dependence of both integrals on the urban context S ( t ) formalizes how urban stressors, such as localized fading or congestion, modulate this ratio.
τ m a x is defined by Equation (12):
τ m a x = max i , j , k τ P r o p , i , j , k ( t )
where the term τ P r o p , i , j , k ( t ) denotes the instantaneous latency experienced by a packet transmitted by the k-th device within the i , j -th district. This delay accounts for the physical distance between nodes, the signal propagation speed in the urban medium, and potential context-driven retransmissions or multi-hop overheads.
Service Timeliness, denoted as σ ( s , t ) , quantifies the average end-to-end latency over the observation window [ t 0 , t ] , ensuring that the system meets specific real-time requirements. It is formally defined by Equation (13) as the mean temporal gap between data generation at the sensing layer and its final reception at the application level:
σ ( s , t ) = E t D , i , j , k t S , i , j , k ( t t 0 ) [ s ]
where t S and t D represent the timestamps of data sensing and delivery for each packet, respectively. To maintain the operational integrity of safety-critical services, we impose a strict latency constraint:
σ ( s , t ) τ r e q
where τ r e q represents the application-specific deadline. While τ m a x in Equation (12) defines the physical upper bound of the network propagation delay, the timeliness τ accounts for the total system latency, including processing times and queuing delays. The condition σ τ r e q ensures that the response of the system to the urban environment S ( t ) is based on timely rather than outdated information to preserve the effectiveness of the decision-making process under dynamic conditions.
Service Availability ( A s ) [58] represents the fraction of time the infrastructure is fully operational and capable of fulfilling its functional requirements. Although service availability at an individual device level is sensitive to localized stressors, A s is a critical system-level Key Performance Indicator (KPI). The proposed model leverages the aggregation of individual availability metrics to derive a systemic indicator that reflects the capacity of the smart city infrastructure to provide continuous services, despite possible failures of single nodes.
The availability of a device a k is defined by Equation (15):
a k ( t ) = U p t i m e k ( t , t 0 ) D o w n t i m e k ( t , t 0 ) + U p t i m e k ( t , t 0 )
where U p t i m e k ( t , t 0 ) denotes the cumulative duration within the time interval ( t 0 , t ) in which the k-th device is fully operational and the service is active. Conversely, D o w n t i m e k ( t 0 , t ) accounts for periods of inactivity, and the service is inactive. Thus, the system-level availability is formally specified by Equation (16):
A s ( s , t ) = i = 1 p j = 1 q 1 d i , j k = 1 d i , j a i , j , k ( t )
where d i , j denotes the number of devices deployed across the i , j -th urban district. Unlike static reliability models, this formulation accounts for environmental and operational stressors across the full urban context S ( t ) . A high A s value is mandatory for mission-critical urban services, ensuring 24/7 availability and resilience to localized disruptions.

2.2.3. DQN-Based Optimization

A DQN-based optimization strategy has been adopted to achieve context-aware governance of urban resources, thereby facilitating the transition toward more adaptive and sustainable cities. To reconcile the high computational demands of DL with the strict resource and energy constraints of localized municipal infrastructures, the proposed framework decouples the operational pipeline into two distinct phases: offline training and online edge inference (i.e., on edge gateway devices).
During training, the neural network iteratively processes environmental and behavioral data over a total-episode horizon, minimizing the loss until stable policy convergence is achieved. Once the learning process is complete, the optimized policy configuration is extracted and deployed directly onto the edge gateways for the inference phase. During this live deployment, the edge nodes execute lightweight, deterministic forward-pass mappings to select the optimal structural configuration in real time, thus minimizing local power consumption.
A general schema of the proposed method is depicted in Figure 4. This architectural framework transitions from raw environmental data to a high-level decision-making state through a three-level hierarchical abstraction. At the most granular level (System Metrics), the system captures systemic metrics represented as c n ( t ) . Such metrics are geographically aggregated into p · q > 0 district contexts ( C i , j ( t ) = ( c 1 ( t ) , c 2 ( t ) , , c n ( t ) ) ) encapsulating the n multi-dimensional status of the i , j -th district at time t.
The integration of this state representation into the DQN pipeline follows a specific information flow. The Environment block, acting as the CPS, outputs the context matrix S ( t ) . Therefore, the matrix S ( t ) is passed to the DQN agent, which processes the data based on its internal structure. It uses convolutional layers to keep the grid shape intact. This allows the agent to recognize spatial patterns, such as how a problem in one district might affect its neighbors. By preserving this grid structure, the agent better understands the layout of the city, leading to more effective urban management decisions.
More specifically, at each time step t, the agent observes the global state of the city through the context matrix S ( t ) C p , q . This representation captures the status of all functional districts ( i , j ) , characterized by systemic metrics whose raw data, collected from IoT devices, are normalized before being processed by the DNN to ensure numerical stability and effective feature extraction. Once the agent detects the optimal policy for the devices of each district ( i , j ) , it transforms this policy into an operational action a i , j A p , q to set devices to a specific operational condition. By discretizing the operational conditions into a finite set of h N operational modes, as defined by Equation (17),
O = { o 1 , , o h } , o h N
the action a i , j can be defined as a pair in Equation (18):
a i , j = ( o s , o f ) A p , q O 2
with o s , o f O as the starting and final states of the action. It is important to remark that, in general, the operational conditions are usually orthogonal to the sustainability pillars, and o s may be the same as o f ; i.e., no changes are enforced by o s = o f actions.
The sustainability gain G π ( s , a ) is formally defined by Equation (19) for a specific state–action pair ( s , a ) S x A . It is the expected cumulative discounted return, which the DQN agent aims to maximize to identify the optimal policy ( π ). Specifically, G π ( s , a ) corresponds to the action-value function satisfying the Bellman optimality criterion [59].
G π ( s , a ) = E y = 0 γ y i = 1 p j = 1 q R i , j S ( t + y ) , A ( t + y ) , γ ( 0 , 1 )
This formulation encapsulates the multi-level complexity of urban infrastructure through several key components. The expectation operator E [ · ] accounts for the intrinsic stochasticity of the urban environment. State transitions and the resulting rewards are influenced by unpredictable events, such as traffic spikes or sudden emergencies, which characterize the described dynamics. The temporal index t denotes the current decision epoch, while y N represents the discrete look-ahead horizon. The term t + y indicates that the agent’s current return is not merely a function of immediate rewards but a discounted accumulation of expected future states S ( t + y ) and actions A ( t + y ) . The integration of an infinite horizon ( y ), moderated by the discount factor γ ( 0 , 1 ) , ensures the strategic sustainability of the policy: for γ 0 + , the objective function collapses into a single-step optimization, where the agent considers only the immediate reward. Conversely, as γ 1 , the agent equally weights present and future rewards. However, in this case, the agent loses the ability to rank different strategies, as any policy providing a positive reward would result in the same mathematical value (∞). By keeping γ < 1 , the series converges to a finite number, allowing the DQN to mathematically determine which policy is superior by comparing finite values.
The sustainability gain G π ( s , a ) aggregates the local rewards R i , j at the i , j -th district level to ensure computational scalability within large-scale smart city deployments. As the number of urban IoT devices may grow into the thousands, a device-level reward structure would introduce high-frequency noise and a dimensional explosion in the feedback signal, severely impacting the DQN convergence. Through a district-level reward R i , j , the system considers each geographical area as a functional domain. This ensures that the learning complexity remains tied to the resolution of the urban ( p × q ) grid rather than the fluctuating density of the deployed hardware. It is formally defined by Equation (20), aggregating the environmental, economic, and social sustainability metrics of all devices within that area:
R i , j ( s , a ) = 1.0 λ 1 L e ( η i , j , a i , j ) + λ 2 L c ( η i , j , a i , j ) + λ 3 L s ( η i , j , a i , j )
where λ k [ 0 , 1 ] R are the sustainability factors balancing the impact of normalized losses L on the system, such that k = 1 3 λ k = 1 . Each factor λ k sets a specific firmware operating level, adjusting the device sampling interval and the transmission duty cycle. Specifically, λ 1 maximizes deep-sleep periods; λ 2 restricts transmission windows to limit hardware stress and meet regulatory caps; and λ 3 enables high-frequency sampling to capture fine-grained urban dynamics. The reward function R i , j formalizes the operational efficiency of the ( i , j ) -th district by coupling the local action a i , j with the expanded neighborhood [60] state ( η i , j ) . This formulation adopts a penalty-from-unity approach: starting from an ideal value of 1.0, the reward is decreased by a weighted sum of these components. As a consequence, maximization of the expected return G π ( s , a ) is mathematically equivalent to minimizing the long-term cumulative loss. Here, a policy π is a parametric configuration identified by the 3-tuple in Equation (21):
π = ( λ 1 , λ 2 , λ 3 )
The spatial dependency is modeled upon the Moore neighborhood convention, which is widely adopted in networked RL to capture local inter-dependencies and interference patterns in distributed sensing infrastructures [60]. It is formally defined by Equation (22):
η ( i , j ) = { C u , v S : | u i | r , | v j | r }
where η ( i , j ) is composed of the context subset (sub-matrix) of the global state space S centered on the district ( i , j ) with radius r. The Moore neighborhood can include nodes along the diagonal directions, bounding the maximum Euclidean distance to the central node within 2 spatial units. This geometric extension provides a significantly closer topological approximation to a continuous circular area compared to the 4-cell Von Neumann alternative, which is strictly constrained by the Manhattan distance. Moreover, the Moore neighborhood allows the framework to capture diagonal movements and multi-directional flows across the urban grid.
By conditioning environmental ( L e ), economic ( L c ), and social ( L s ) losses on the context of adjacent districts, the system prevents the emergence of selfish policies that might optimize local parameters at the expense of neighboring areas. Each loss component L x of Equation (20) is modeled as a weighted aggregation of a specific subset of normalized metrics, as specified by Equation (23):
L x = k = 1 n ω k · c ^ k ; c ^ k = c k c k m a x
where ω k represents the relative weight of each normalized metric c ^ k within that specific loss, such that k = 1 n ω k = 1 , and c k m a x is the maximum value threshold allowed to preserve the operation of the equipment. The hierarchical weighting structure allows the DQN agent to internalize a complex multi-dimensional state while maintaining a clear balance between high-level sustainability goals and specific physical constraints.

3. Case Study

To validate the feasibility of the proposed framework, a real-world urban deployment consisting of five neighboring districts within the historical center of Caltanissetta (Sicily, Italy) is investigated.

3.1. Experimental Setup

An extensive, long-term physical deployment that utilizes heterogeneous sensors and gateways allows for a rigorous field validation that synthetic simulations cannot replicate, capturing unpredictable environmental anomalies and real-world hardware degradation. To demonstrate the effectiveness of our framework, we adopt LoRaWAN [18] as the reference smart city ICT infrastructure. This LPWAN standard is specifically engineered to connect low-power, battery-operated devices to regional or national networks, supporting key operational requirements like bi-directional communication and end-to-end security [61]. The selection of this testbed was driven by its structural and morphological complexity rather than simple physical availability. Historic European city centers present severe signal propagation challenges for LPWANs due to heavy stone masonry, narrow street canyons, and irregular elevation profiles. Demonstrating that our DQN agent can discover optimal operational trade-offs and overcome these radio propagation hurdles establishes a robust, “worst-case” benchmark.
As shown in Figure 5, a 3 × 3 map defines the urban domain, where districts A, B, C, D, and E represent the active operational area covered by a central LoRaWAN gateway located in district C(0,0).
Each cell corresponds to a surface area of 0.04 km2, due to the urban morphology of the historic center and its impact on the LoRaWAN communication. To ensure the replicability of the proposed approach, the cell size can be appropriately scaled based on the topology and geo-morphological features of the new monitored environment. Non-covered peripheral areas are masked to focus the DQN agent policy on the core interconnected districts. To model the spatial relationships between distributed edge gateways without loss of generality, the urban environment is structured via a uniform two-dimensional spatial tessellation. Within this discrete grid, each cell defines the nominal coverage domain of a specific gateway deployment.
The spatial interaction and localized state-sharing among adjacent nodes are governed by a Moore neighborhood of radius r = 1 . Formally, for a gateway located at cell coordinates ( x 0 , y 0 ) , the set of observable neighboring cells N ( x 0 , y 0 ) is defined by Equation (24):
N ( x 0 , y 0 ) = { ( x , y ) Z 2 : | x x 0 | 1 , | y y 0 | 1 } { ( x 0 , y 0 ) }
Although the grid structure is uniform to keep the algorithm scalable, all real-world asymmetries (e.g., traffic changes or signal obstructions) are dynamically captured inside the DRL state vector. As a result, the DQN agent learns to break the geometric symmetry at runtime, weighting each neighbor based on its real-time link quality and traffic density. The agent can anticipate incoming data traffic from neighboring areas and adjust settings in advance to stay within the constraints.
Each active district is equipped with one installation point (pole) including several IoT devices to capture the multi-faceted dynamics of the district, as reported in Table 5.
More specifically, Pole A acts as an integrated sensing cluster hosting one environmental station, one traffic sensor, and one parking node, while Pole B provides a dual-source setup for environmental and traffic monitoring. A similar configuration is replicated on Pole C, which hosts an additional environmental station, a traffic sensor, a parking node, and a standalone LoRaWAN gateway providing the backbone for the LoRaWAN communication layer. Mobility dynamics are further captured by Pole D, which serves as a high-density hub with one traffic sensor and two parking nodes, and by Pole E, conceived for localized parking monitoring with a single sensing unit.
Thus, the experimental testbed comprises 12 heterogeneous edge devices and a central gateway G W , leveraging hardware and firmware technology provided by the innovative company SmartMe.io (https://smartme.io/) (accessed on 24 June 2026). The gateway acts as the primary orchestrator, ensuring seamless connectivity between the edge nodes and a dedicated cloud-based smart mobility platform for real-time data processing and analytics. This technological infrastructure is categorized into three functional typologies of devices, as shown in Table 6.
All poles are permanently mains-powered, and devices operate in a continuous DC active state. As a consequence, the O P E X V formulation (Equation (9)) is simplified ( δ k = 0 ). Table 7 reports the baseline energy metrics under standard operating conditions, assuming a static duty cycle without any dynamic policy intervention. These values represent the reference consumption against which the agent’s energy-saving capabilities are subsequently measured.
This baseline was established during the start-up phase of the project, when measurements were calibrated and validated using certified instrumentation. Therefore, this baseline is designed to be periodically updated and refined, provided that such updates remain compatible with existing network constraints and infrastructure overhead (e.g., the 1% duty cycle in LoRaWAN communication).
During runtime, the system collects a set of heterogeneous physical measurements from the urban environment, formally defined as a real-valued 10-dimensional tuple by Equation (25):
C ( t ) = c 1 ( t ) , c 2 ( t ) , , c 10 ( t ) ] C R 10
in compliance with Equation (1).
Table 8 reports the metrics considered for the examined scenario, including features and related impacts on the city dynamics.
The radio parameters ( c 9 , c 10 ) and urban demand indicators ( c 4 , c 5 , c 6 ) specify the transmission power and frequency. In particular, the Received Signal Strength Indicator (RSSI) represents the total received power, including the signal, noise, and interference; the Signal-to-Noise Ratio (SNR) quantifies the ratio between the power of the received signal and the background noise floor.
Physical stressors ( c 1 , c 2 ) derived from the weather dataset, alongside the Ultraviolet (UV) index ( c 3 ), influence the probability of hardware fatigue and maintenance frequency. In our T C O model, these environmental factors directly impact the amortization O P E X and C A P E X by modulating the expected life-cycle of the mains-powered devices. Furthermore, the performance metrics of the LoRaWAN ( c 7 , c 8 ), combined with the activity density ( c 6 ), define the overall Q o S .
The metrics in Table 8, selected from weather, traffic, parking and LoRaWAN datasets, serve as the primary inputs for the optimization process. To prevent bias during the DQN training phase, these raw observations are normalized into a normalized demand vector C ^ , as defined by Equation (23). Through the normalization process, the DQN agent executes the operational phases of its architecture to maximize the cumulative reward R , defined by Equation (20). The training process integrates experience replay and target network synchronization to ensure the stability of the Q-value estimation. To effectively navigate the trade-off between investigating new strategies, a trade-off mechanism allows the agent to explore the state–action space before converging toward the optimal policy π maximizing the sustainability gain G π ( s , a ) .
Three policies characterizing the agent’s behavioral attitude toward urban dynamics emerge as trade-offs from the multi-objective optimization. We define these policies as lazy, balanced, and responsive.
The lazy policy, π l = ( 0.6 , 0.3 , 0.1 ) , identifies an energy-saving- and cost-saving-oriented profile. In this configuration, the DQN agent keeps the devices in a low-power state to minimize energy consumption and reduce the associated economic expenditure. It is simultaneously focused on the device lifespan: by operating primarily in less demanding and less stressful conditions, it preserves the hardware’s electronic integrity. Thus, the system ensures long-term operational resilience by avoiding the thermal and computational stress typical of higher-performance modes. Although this policy safeguards hardware longevity and related costs, it introduces a significant operational risk to the urban scenario: by failing to capture micro-scale traffic fluctuations and peak congestion events, the system underestimates the actual urban stress. As a consequence, it can represent a systemic risk to the community, as decision-makers are provided with insufficient data that masks pollution hotspots and traffic bottlenecks. In summary, the lazy policy achieves device-level resilience impacting the city’s observability and, consequently, its sustainability.
The responsive policy, π r = ( 0.1 , 0.3 , 0.6 ) , identifies a social-oriented profile. This configuration is highly sensitive to fluctuations in urban traffic demand; while it accepts higher energy and economic costs at the device level, it minimizes information latency. By operating at peak performance, the system avoids underestimating mobility dynamics, which is crucial to preventing flawed or weak decision-making. In this case study, responsiveness translates into substantial environmental and social benefits: by providing high-resolution monitoring of traffic congestion and parking occupancy, the system enables more effective urban flow management and a reduction in traffic congestion. Consequently, the ability to detect and react to micro-scale mobility fluctuations allows for the targeted mitigation of pollution hotspots. In this configuration, local energy E consumption and capital C A P E X expenditure could be a strategic investment to achieve a systemic reduction in the overall environmental footprint.
Three operational policies characterizing the agent’s behavioral attitude toward urban dynamics emerge as trade-offs from the multi-objective optimization: lazy ( π l ), balanced ( π b ), and responsive ( π r ).
The lazy policy, π l = ( 0.6 , 0.3 , 0.1 ) , identifies an energy- and cost-saving profile. By heavily penalizing energy expenditure ( λ 1 = 0.6 ), the DQN agent keeps the edge nodes in low-power states ( o ECO ), minimizing thermal stress and long-term hardware degradation. However, this strategy risks underestimating urban traffic peaks, creating blind spots in systemic pollution monitoring.
Conversely, the responsive policy, π r = ( 0.1 , 0.3 , 0.6 ) , models a social-oriented profile. By shifting the penalty toward information latency ( λ 3 = 0.6 ), the agent prioritizes real-time observability over energy costs. This configuration triggers maximum sampling and edge-inference rates ( o HPM ), offering high-resolution data crucial for traffic management and localized emission mitigation.
Finally, the balanced policy, π b = ( 0.3 , 0.4 , 0.3 ) , defines a nominal baseline profile. It prevents data scarcity without causing severe energy spikes, offering a stable trade-off for routine smart city operations.
The explicit penalty configurations for these operational profiles are formalized in Table 9. The weight settings for π l and π r represent opposite operating boundaries. Specifically, π l establishes the upper bound for cost and hardware preservation ( λ 1 = 0.6 ) against the worst-case scenario for fine-grained observability ( λ 3 = 0.1 ). Conversely, π r reverses these priorities, evaluating the framework under peak tracking conditions ( λ 3 = 0.6 ) against the worst case for cost and hardware preservation ( λ 1 = 0.1 ). Within this evaluation stress test, λ 2 is constrained between 0.3 and 0.4 to satisfy the normalization condition. Maintaining λ 2 as a stable baseline across these extreme configurations guarantees that, even under maximum polarization, the DQN agent is intrinsically bound to respect regulatory telecommunication constraints (e.g., the LoRaWAN’s 1% DC in the EU 868 MHz regional frequency band).
The experimental setup implements three ( h = 3 ) discrete operational conditions for the edge infrastructure, as defined by Equation (26), specializing Equation (17):
O = { o ECO , o STD , o HPM }
where each mode o E C O , o S T D , and o H P M defines a specific power profile. The o E C O mode identifies the lower operational bound for the edge device, characterized by a power consumption of ≈2 W. From a hardware perspective, this configuration corresponds to an idle state or a low-power duty cycle where GPU-intensive tasks are suspended and sensing frequencies are minimized. In the o S T D mode, the device operates at its nominal power profile of ≈4 W. This setup ensures compliance with standard regulatory limits while providing sufficient data granularity for routine urban monitoring. The o H P M mode is characterized by maximum computational and transmission effort to ensure high system responsiveness during urban emergencies or peak demand. In this configuration, the device enables full real-time edge inference, resulting in a power surge of ≈7 W. This value aligns with the 10 W thermal design power profile of the Jetson Nano, accounting for sustained GPU utilization during complex neural inference.

3.2. DQN Verification and Validation

The DQN agent training process was executed offline on an Intel(R) Core(TM) i7-7600U × 4 CPUs @ 2.80 GHz and 16 GiB RAM DDR-4, equipped with a Linux Ubuntu 24.10 machine, utilizing empirical historical datasets collected from the Caltanissetta urban testbed. The process was monitored using the operational configurations summarized in Table 10.
To guarantee mathematical precision and numerical convergence within the highly stochastic urban CPS, the agent updates its neural network parameters by tracking the optimization loss trajectory. Minimizing this error ensures that the autonomous controller accurately estimates long-term cumulative rewards, thereby preventing training instabilities and ensuring balanced trade-offs between the environmental, economic, and social sustainability pillars ( P e , P c , P s ).
To provide a rigorous validation of this optimization process, a comparative performance analysis was executed between the standard Mean Squared Bellman Error (MSBE) [59] and the Huber loss criterion, as visually contrasted in Figure 6. Although both metrics share the same global minimum, where the Bellman TD error ( δ ) [62] equals zero, they exhibit significantly different sensitivities to data volatility.
As illustrated in Figure 6, the learning dynamics exhibit three distinct operational phases structurally governed by the exponential decay of the Epsilon curve, which modulates the exploration–exploitation trade-off from 1.0 down to 0.1 around episode 700. During the initial stochastic exploration phase (episodes 0–200), where the agent is forced to thoroughly explore the high-dimensional state–action space, the Cumulative Reward remains bounded within a low initial baseline (≈0.15).
However, within this exploratory window, the mathematical divergence between the two loss criteria becomes evident. The standard MSBE penalizes deviations quadratically ( δ 2 ), heavily amplifying isolated traffic anomalies or network packet drops. High-frequency noise and sudden sharp spikes up to a raw loss peak of approximately 0.55 are depicted in Figure 6a. In contrast, the Huber loss (Figure 6b) dampens these shocks by applying a linear penalty to large errors ( | δ | > 1 ), producing a significantly smoother and more stable training curve.
During the central optimization and exploitation ramp phase (episodes 200–600), the progressive decay of Epsilon shifts the agent toward the exploitation of the learned behavior. This transition is characterized by a sharp monotonic increase in the Cumulative Reward, climbing rapidly from ≈0.20 to 0.80 , which is synchronized with a consistent downward trajectory in both loss trends. This simultaneous convergence shows that the neural network successfully approximates the optimal action-value function G π ( s , a ) .
Finally, during the plateau phase of asymptotic convergence in the last 200 episodes, the performance metrics reach a definitive steady state. The loss values approach zero, while the Cumulative Reward stabilizes at a high plateau of approximately 0.9 . Crucially, as the Bellman error drops within the unit threshold ( | δ | 1 ), the Huber loss naturally aligns with the MSBE definition. This asymptotic equivalence guarantees numerical stability during the early learning stages without compromising the mathematical precision of the final control policy distributed to the edge devices for local inference.
The empirical phase-by-phase quantification of the divergence between the different learning intervals is quantitatively formalized in Figure 7.

4. Results and Discussion

To account for seasonal variations in traffic–parking patterns and environmental conditions, four representative months have been selected to sample the annual operational cycle from August 2025 to March 2026: August (summer), October (autumn), January (winter), and March (spring). This seasonal sampling ensures that the DQN policy is not over-fitted to specific temporal conditions but remains effective and generalized across different climatic and social contexts. The following analysis details the behavioral patterns learned by the DQN agent across the four representative months, illustrating how the lazy, balanced, and responsive policies map the normalized traffic demand to specific operational conditions O = { o E C O , o S T D , o H P M } .
In the August scenario depicted in Figure 8, the agent faces distinct summer traffic peaks, where the policies exhibit highly differentiated behaviors. The lazy policy is in the o E C O state for the majority of the day, showing high tolerance for traffic increases and transitioning to o S T D only during the midday and evening peaks. The balanced policy serves as a stable baseline, remaining in o S T D for almost the entire 24 h cycle to ensure constant monitoring. Finally, the responsive policy acts as a vigilant sentinel, proactively switching to o H P M during the two main traffic surges.
In the October scenario depicted in Figure 9, the lazy policy switches from the o E C O mode to the o S T D mode only during the two highest peaks of the day, maintaining its low-power profile as in August. The balanced policy remains in o S T D throughout the active city hours (07:00–21:00), reverting to o E C O only late at night. The responsive policy switches to o H P M at each traffic peak, specifically targeting the early morning rush, the midday plateau, and the evening return, thus maximizing the permanence in the high-performance o H P M condition.
The analysis of the January scenario depicted in Figure 10 reveals how the agent adapts to winter traffic demand. The lazy policy confirms the extreme cost-oriented attitude observed in August and in October. Devices remain in o E C O even during significant traffic demand, with only a brief transition to o S T D during the late morning. Although the balanced policy is not highly responsive to the midday peaks (0.5–0.7) in traffic demand, it maintains devices in o S T D during the daily period (07:00–21:00) when the city center is expected to be persistently affected by vehicular traffic flows. Devices are switched to o E C O during the early morning hours (normalized traffic demand <0.1) and at around 22:00. The responsive policy, instead, promptly escalates to o H P M to cover the broad midday traffic plateau and a spike at around 16:00.
In the March scenario depicted in Figure 11, the analysis confirms the characteristic behavior of the three policies. The lazy policy maintains devices in o E C O , activating the o S T D condition only during peaks in demand (around 11:00 and 17:00). The balanced policy maintains its cost-oriented objective. Finally, the responsive policy confirms its high sensitivity.
The cross-seasonal analysis confirms that the DQN agent has successfully synthesized three distinct optimization policies. The policy convergence observed across the four representative months suggests a high degree of robustness: regardless of the seasonal baseline, the lazy policy consistently acts as a lower bound for energy expenditure, while the responsive policy serves as a high-fidelity upper bound, with a direct benefit in terms of social sustainability.
The balanced policy exhibits an intermediate and stabilizing behavior. It effectively filters out minor traffic fluctuations to maintain devices in a steady o S T D monitoring state, proving to be a compromise profile between social, economic, and environmental sustainability, without incurring the economic penalties of the responsive mode. However, the balanced policy is weaker than the responsive one in addressing environmental sustainability.
The empirical values and associated percentage markers reported in Table 11 provide a quantitative proof, mapping the operational trade-offs in all seasonal variations. The indicators of daily mismatch are computed as I p = I p + I p + , where the total error I p = t = 0 23 | Π p ( t ) D ( t ) | is broken down into under-production stress I p = t = 0 23 max ( 0 , D ( t ) Π p ( t ) ) and over-production waste I p + = t = 0 23 max ( 0 , Π p ( t ) D ( t ) ) , normalized relative to a maximum theoretical daily horizon of 24 h.
The lazy policy ( π l ) registers the highest under-provisioning stress, accumulating a daily deficit that peaks at 4.95 ( 20.6 % ) in October and reaches 4.85 ( 20.2 % ) in March. By locking the infrastructure into low-power execution during high-traffic periods, this policy triggers an information blackout. This degradation is most evident during the diurnal period: the gap against the traffic demand profile induces a localized under-provisioning spike of up to 40 % , averaging a data loss of over 28 % during commuter hours. The system flags this communication gap as a critical environmental multiplier; losing real-time edge telemetry collapses parking optimization algorithms, severely increasing vehicular cruising times and indirect urban emissions.
Conversely, the responsive policy ( π r ) minimizes under-provisioning to a negligible margin between 0.10 ( 0.4 % ) and 0.20 ( 0.8 % ), guaranteeing city-wide traffic mitigation by absorbing sudden demand peaks. However, this operational safety comes at the expense of over-provisioning waste. Specifically, I p + reaches up to 5.70 ( 23.8 % ) in January, periodically trapping the network nodes in maximum power dissipation.
Bridging this gap, the balanced policy ( π b ) systematically scores the lowest total mismatch ( I p ) across all seasons, achieving an optimal low of 2.35 ( 9.8 % ) in January and bounding the daily deviation within a tight 10.2–12.9% window.
To establish a rigorous cross-layer evaluation of the proposed framework, it is critical to formalize the operational baseline prior to the deployment of the DQN agent. Initially, the framework processes raw seasonal and traffic datasets collected directly from the monitored urban testbed. These data streams, which capture the physical city dynamics under traditional management (i.e., without optimization), are normalized and serve as the static empirical baseline (graphically represented as the shaded gray reference profiles in Figure 8, Figure 9, Figure 10 and Figure 11).
Under the proposed framework, when the DQN agent is activated, it evaluates this baseline to dynamically trigger one of the three policies ( π l , π b , π r ) across the operational conditions O = { o E C O , o S T D , o H P M } . The deployment of a specific policy π inherently triggers a closed-loop feedback mechanism that modifies the environment itself. To capture this cross-layer dependency, the physical traffic demand evolution for the subsequent operational interval is modeled by Equation (27) [23,63]:
V t + 1 ( I p , t ) = V t , base · 1 + μ · I p , t
where V t + 1 ( I p , t ) represents the predicted dynamic traffic volume demand at time interval t + 1 , formalizing how the environmental baseline shifts as a direct consequence of the telemetry policy applied at time t; V t , base is the unoptimized baseline (datasets) for the current time interval t; I p , t represents the under-provisioning stress computed at time t (as compiled in Table 11); and μ is the urban multiplier within the bounded sensitivity range μ [ 1.0 , 3.0 ] . A value of μ = 1.0 represents the fundamental, unamplified baseline; higher values (up to μ = 3.0 ) model a highly sensitive collapse scenario, capturing how transient data gaps cascade into macro-urban gridlocks when the transportation network approaches critical saturation.
Conversely, the over-provisioning stress ( I p , t + ) formalizes the unnecessary active radio states maintained above the dataset’s demand curve, directly driving up hardware power consumption and infrastructure operational expenditure ( OPEX inf ).
To evaluate the resilience of the proposed framework against different urban dynamics, a comprehensive cross-layer sensitivity analysis was performed by varying the urban amplification multiplier μ from 1.0 up to 3.0 . As shown in Table 12, the CPS infrastructure metrics, namely, net energy savings ( η E ) and the network P D R , are invariant across all μ horizons: the sensors work in their own operating modes, switching between E C O , S T D , and H P M , but the physical traffic conditions do not change how these sensors behave.
Conversely, the physical traffic inflation ( Δ V t + 1 ) scales proportionally with μ , explicitly revealing the operational risks associated with uncoordinated sensor sleep-scheduling. Under the lazy policy ( π l ), the data gaps induced to maximize energy savings trigger a severe traffic accumulation penalty. This penalty escalates from a manageable + 20.6 % under a linear topology ( μ = 1.0 ) to an unsustainable + 61.8 % under heavy gridlock conditions ( μ = 3.0 ) during peak commuter months such as October.
Crucially, the balanced policy ( π b ) mitigates this cross-layer degradation. Even under the most conservative and non-linear urban scenario ( μ = 3.0 ), π b restricts the maximum traffic inflation to just + 11.4 % in August and + 9.3 % in October, while simultaneously preserving significant net energy savings of up to + 17.5 % (January). These findings prove the capability of the framework under π b to maintain stable urban mobility indicators across highly diverse physical infrastructures without requiring local hardware recalibration.
The environmental efficacy of the proposed framework is mathematically quantified by translating macroscopic traffic anomalies into a standardized ecological metric. We define the Net Carbon-Emission Reduction Rate ( η C O 2 ) for a generic policy π under a specific urban stress level μ as the relative percentage of avoided excess vehicular greenhouse gas emissions, formally defined by Equation (28) [23]:
η C O 2 ( π ) | μ = Δ V t + 1 ( π l ) | μ Δ V t + 1 ( π ) | μ Δ V t + 1 ( π l ) | μ
where Δ V t + 1 ( π ) | μ represents the predicted traffic inflation under policy π and stress μ . The lazy policy ( π l ) is assumed as the worst-case environmental baseline ( 0.0 % mitigation reference).
Results are shown in Table 13. The responsive policy ( π r ) consistently delivers the absolute highest ecological benefit across all seasonal horizons and urban stress scales, exhibiting a clear structural advantage over both the lazy ( π l ) and balanced ( π b ) approaches.
For instance, during the critical winter peak in January under severe stress ( μ = 2.5 ), the balanced policy ( π b ) mitigates 81.28 % of excess emissions, whereas the responsive policy ( π r ) reaches a massive emission reduction rate of 95.74 % .
Similarly, in the October scenario, π r dynamically secures a steady and uniform 97.09 % drop in excess vehicular emissions across all evaluated μ values (e.g., preventing the + 61.8 % traffic inflation of π l at μ = 3.0 by restricting it to just + 1.8 % ). These empirical outcomes demonstrate that while π r entirely sacrifices local infrastructure energy savings ( η E = 0.0 % ), it achieves an optimal cross-layer trade-off, showing that a minor energy investment at the edge network layer yields a massive, systemic containment of urban air pollution and structural transport gridlocks.

4.1. TCO Analysis

The economic sustainability of the examined CPS is evaluated through a T C O analysis over a 10-year operational horizon. The initial C A P E X is established as the baseline and comprises the acquisition of the equipment shown in Table 6, alongside a centralized gateway, software orchestration platforms, and professional installation costs. The growth in T C O is driven by the O P E X , and it is primarily conditioned by energy consumption costs, assuming a baseline rate of 0.20 / kWh , and system maintenance costs.
The results in Figure 12 allow an investigation of the policy sensitivity: the responsive policy exhibits higher growth, reaching an OPEX-to-CAPEX ratio of approximately 5.6 % after 10 years. The DQN agent consistently prioritizes the o H P M mode to ensure near-zero latency and high information fidelity during peak traffic demand, which inherently maximizes the power draw across the NVIDIA Jetson Nano rails.
The lazy policy achieves the highest economic sustainability, limiting the 10-year O P E X increase to less than 4%. All policies show a subtle transition to a linear trend after the initial five-year phase, reflecting their stabilization and leading to a predictable marginal cost per year.
Finally, the balanced policy shows a mid-range trade-off. These savings are achieved with 95% confidence intervals, ensuring the reliability of the economic projections.

4.2. Trade-Off Alignment with UN SDG 11 Targets

The radar plot in Figure 13 maps the profiles of the implemented policies on a set of UN SDG 11 targets. This map is obtained considering the set of heterogeneous metrics of the dynamic urban context C ( t ) defined in Equation (25).
The responsive policy shows a clear prioritization of Target 11.2 (Sustainable Transport) and Target 11.5 (Disaster Resilience and Safety). By proactively escalating to the high-performance state o H P M during traffic peaks, the agent ensures the fidelity of the information required to mitigate congestion and reduce emergency response times. This citizen-centric behavior acknowledges that a localized increase in energy consumption E ( s , t ) is a strategic investment to achieve systemic environmental benefits and public safety, directly supporting Target 11.6 (Reducing the Environmental Impact of Cities).
Conversely, the lazy policy aligns primarily with Target 11.b (Resource Efficiency). By maintaining the infrastructure in a low-power o E C O state for the majority of the operational cycle, it minimizes the carbon footprint C F ( s , t ) and the operational expenditure O P E X . While this approach maximizes the physical and financial longevity of the CPS, it results in lower performance regarding real-time mobility management.
Finally, the balanced policy identifies an equilibrium point for Target 11.7 (Inclusive and Reliable Monitoring). By acting as a stable baseline in o S T D , it provides continuous and reliable data flows without the energy surges of the responsive mode or the data scarcity of the lazy profile.
The analysis confirms that the DQN-based framework does not merely optimize a technical trade-off but offers an optimal set of strategies. This allows municipal decision-makers to dynamically tune the infrastructure behavior to meet specific sustainability priorities, from strict resource conservation to high-fidelity urban resilience.

4.3. Threats to Validity

In this section, we critically discuss the potential threats to the validity of our study, categorized into internal, external, and construct validity, along with the mitigation strategies adopted.

4.3.1. Internal Validity

Internal validity concerns internal factors or hidden assumptions that might have influenced the experimental results.
The comparative analysis presented in this study primarily focuses on the three internal operational policies ( π ) in Equation (21), namely, lazy, balanced, and responsive, which are synthesized by manipulating the weight coefficients ( λ ) within the multi-objective reward function in Equation (20). A limitation of our study is the absence of a separate, external algorithm to test against. To mitigate this threat, we designed our policies to directly replicate the three standard rule-based configurations currently used in legacy smart city gateways. These settings serve as our control groups, representing traditional static management focused on either extreme energy savings, a fixed compromise, or high responsiveness. Our analysis demonstrates that a single DQN engine can dynamically adapt to all three conflicting targets, whereas traditional networks require rigid, manual hardware reconfiguration. Testing against external metaheuristics remains a key objective for future work.

4.3.2. External Validity

External validity relates to the generalization of our findings to other scenarios or real-world platforms.
Our long-term TCO projections, presented in Figure 12, are the result of a baseline structural model derived from nominal vendor component pricing, standardized hardware lifespans, and fixed electricity tariffs. In a real smart city deployment, empirical TCO curves are inherently non-linear and subject to volatile fluctuations. These economic variations are driven by real-world stochastic factors, including localized maintenance labor spikes, equipment replacement cycles, severe weather interventions, cloud-service fee restructuring, software maintenance, inflation, and electricity-price volatility, alongside physical constraints like sensor aging and battery degradation.
To mitigate this threat to validity, our economic evaluation must be interpreted as an expected mathematical baseline, representing the long-term structural cost trend, around which real-world operational expenditures will inevitably oscillate. Crucially, these real-world perturbations do not invalidate the comparative economic advantages demonstrated by our framework: by dynamically minimizing the operational resource and transmission overhead at the edge, the proposed DQN model actively compresses the baseline energy footprint and mitigates hardware stress. Consequently, it provides the physical network infrastructure with a more resilient buffer against external electricity-price fluctuations and reduces the frequency of premature equipment replacements caused by sensor and node degradation.

4.3.3. Construct Validity

Construct validity assesses whether our performance metrics accurately reflect the higher-level goals of the study.
Pure networking performance, such as that based on PDR and latency, does not inherently equate to social dimensions such as equity, accessibility, or public participation. To mitigate this conceptual threat, the framework strictly treats QoS not as a direct measure of social sustainability but as a critical technological enabler (or proxy) for public service quality. Under UN SDG 11, high network responsiveness and data reliability are fundamental prerequisites for deploying dependable disaster early-warning systems (SDG 11.5) and real-time environmental hazard monitoring (SDG 11.6). Without a guaranteed QoS baseline, these public services fail, impacting vulnerable urban groups. While our current evaluation is limited to these technical proxies, including explicit social indicators, such as public feedback loops, accessibility metrics, and user privacy constraints, will be an upgrade for future work to fully validate the social pillar of the framework.

5. Conclusions and Future Directions

The proposed multi-dimensional decision-making framework successfully transitions urban management from static, siloed ICT deployments to an integrated, adaptive urban Cyber–Physical System. By leveraging Deep Reinforcement Learning, specifically Deep Q-Networks, the model effectively navigates the non-linear trade-offs inherent in the environmental, economic, and social pillars of sustainability. The presented methodology mitigates the inefficiencies of traditional high-performance configurations while preserving the resilience required for modern urban infrastructures. The empirical results from the LoRaWAN case study demonstrate the practical effectiveness and validation of the framework. This research confirms that the intersection of autonomous AI agents and granular urban telemetry is essential for fulfilling the complex requirements of UN Sustainable Development Goal 11. The potential threats to the validity of our study have been discussed and categorized into internal, external, and construct validity, along with the mitigation strategies adopted.
Future iterations of this work will focus on testing the architectural portability of the DQN loop across diverse municipal topologies and heterogeneous communication standards. Moreover, we will explore the integration of decentralized federated learning to further enhance data privacy and system-wide scalability in heterogeneous urban environments. To address long-term challenges, aging-/reliability-aware frameworks are envisioned to be integrated into the DQN controller. A feasible way to achieve this is to introduce a cumulative stress counter as a state variable, allowing the agent to learn to proactively mitigate hardware aging.

Author Contributions

Conceptualization, M.G. and S.D.; methodology, M.G. and S.D.; software, M.G.; validation, M.G. and S.D.; formal analysis, M.G. and S.D.; investigation, M.G.; resources, M.G. and S.D.; data curation, M.G.; writing—original draft preparation, M.G. and S.D.; writing—review and editing, M.G. and S.D.; visualization, M.G.; supervision, S.D.; project administration, M.G. and S.D.; funding acquisition, S.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research has been funded by the Italian Ministero delle Imprese e del Made in Italy (MIMIT) under the project SMART•E—piattaforma per l’IoT Maintenance, il Facility e l’Asset Management dell’industria 4.0, grant number FTE0000382 (CUP: B47H22004430008, COR: 22573728).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The datasets presented in this article are not readily available. Data availability is restricted by a confidentiality agreement between the technology provider and the local public administration. Due to the integration of the testbed into the municipal infrastructure, the raw datasets contain sensitive administrative information that cannot be disclosed to ensure compliance with security protocols and institutional privacy. Requests to access the datasets should be directed to SmartMe.io.

Acknowledgments

The authors would like to express their gratitude to SmartMe.io for the technical support throughout the experimental phase of this study. The authors would like to acknowledge the use of Gemini 3.1 (w/Nano Banana 2 (https://aistudio.google.com/models/nano-banana, accessed on 29 June 2026) for providing support in graphical design and conceptual illustration for Figure 2 and Figure 5.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
A2CAdvantage Actor–Critic
AIArtificial Intelligence
AIoTArtificial Intelligence of Things
CAPEXCapital Expenditure
CFCarbon Footprint
CMsClassical Methods
CPSCyber–Physical System
DCDirect Current
DNNDeep Neural Network
DRLDeep Reinforcement Learning
DQNDeep Q-Network
DTDigital Twin
EUEuropean Union
GAGenetic Algorithm
GWGateway
GWPGlobal Warming Potential
ICTInformation and Communication Technology
IECInternational Electrotechnical Commission
IoTInternet of Things
ISOInternational Organization for Standardization
KPIKey Performance Indicator
kWhKilowatt-hour
LLMLarge Language Model
LoRaWANLong-Range Wide-Area Network
LPWANLow-Power Wide-Area Network
MARLMulti-Agent Reinforcement Learning
MOMulti-Objective
MO-GAMulti-Objective Genetic Algorithm
MPCModel Predictive Control
MSBEMean Squared Bellman Error
OPEXOperational Expenditure
PDRPacket Delivery Ratio
PPOProximal Policy Optimization
PSLPreliminary Setup Layer
QoSQuality of Service
RLReinforcement Learning
RSSIReceived Signal Strength Indicator
SDGSustainable Development Goal
SLSupervised Learning
SNRSignal-to-Noise Ratio
SQuaRESystems and Software Quality Requirements and Evaluation
TCOTotal Cost of Ownership
UVUltraviolet

References

  1. Alahi, M.E.E.; Sukkuea, A.; Tina, F.W.; Nag, A.; Kurdthongmee, W.; Suwannarat, K.; Mukhopadhyay, S.C. Integration of IoT-Enabled Technologies and Artificial Intelligence (AI) for Smart City Scenario: Recent Advancements and Future Trends. Sensors 2023, 23, 5206. [Google Scholar] [CrossRef]
  2. Bellini, P.; Nesi, P.; Pantaleo, G. IoT-Enabled Smart Cities: A Review of Concepts, Frameworks and Key Technologies. Appl. Sci. 2022, 12, 1607. [Google Scholar] [CrossRef]
  3. United Nations. Sustainable Development Goals. Department of Economic and Social Affairs. Available online: https://sdgs.un.org/goals (accessed on 30 March 2026).
  4. Bittencourt, J.C.N.; Jesus, T.C.; Peixoto, J.P.J.; Costa, D.G. The Road to Intelligent Cities. Smart Cities 2025, 8, 77. [Google Scholar] [CrossRef]
  5. Zghidi, N.; Trabelsi, R. Impact of Digitalization on Sustainable Development: A Comparative Analysis of Developed and Developing Economies. J. Risk Financ. Manag. 2025, 18, 359. [Google Scholar] [CrossRef]
  6. Wang, K.; Ke, Y. Social sustainability of communities: A systematic literature review. Sustain. Prod. Consum. 2024, 47, 585–597. [Google Scholar] [CrossRef]
  7. Capecchi, S.; Corduas, M.; Piccolo, D. Social Sustainability and Subjective Well-Being: A Study on Italian Inner Areas. Sustainability 2025, 17, 2078. [Google Scholar] [CrossRef]
  8. Minskere, L.; Kalnina, D.; Salkovska, J.; Batraga, A. Urban Communication in Smart Cities: Stakeholder Participation Motivators. Smart Cities 2026, 9, 58. [Google Scholar] [CrossRef]
  9. Seng, K.P.; Ang, L.M.; Ngharamike, E. Artificial intelligence Internet of Things: A new paradigm of distributed sensor networks. Int. J. Distrib. Sens. Netw. 2022, 18, 15501477211062835. [Google Scholar] [CrossRef]
  10. Pochelu, P.; Cartiaux, H.; Schleich, J. What artificial intelligence can do for high-performance computing systems? Eng. Appl. Artif. Intell. 2026, 164, 113248. [Google Scholar] [CrossRef]
  11. Bibri, S.E.; Huang, J. Artificial intelligence of things for sustainable smart city brain and digital twin systems: Pioneering environmental synergies between real-time management and predictive planning. Environ. Sci. Ecotechnol. 2025, 26, 100591. [Google Scholar] [CrossRef]
  12. Das, D.K.; Aiyetan, A.O.; Mostafa, M.M.H. Advancing Smart Cities in Africa: Barriers, Potentials, and Strategic Pathways for Sustainable Urban Transformation. Smart Cities 2026, 9, 38. [Google Scholar] [CrossRef]
  13. Abu-Rayash, A.; Dincer, I. Development of an integrated model for environmentally and economically sustainable and smart cities. Sustain. Energy Technol. Assess. 2025, 73, 104096. [Google Scholar] [CrossRef]
  14. Shafiullah, M.; Katranji, A.R.; Hassan, M.; Rahman, M.M.; Shezan, S.A. Advanced Multivariate Deep Learning Methodology for Forecasting Wind Speed and Solar Irradiation. Smart Cities 2026, 9, 59. [Google Scholar] [CrossRef]
  15. Santos, O.; Ribeiro, F.; Metrôlho, J.; Dionísio, R. Using Smart Traffic Lights to Reduce CO2 Emissions and Improve Traffic Flow at Intersections: Simulation of an Intersection in a Small Portuguese City. Appl. Syst. Innov. 2024, 7, 3. [Google Scholar] [CrossRef]
  16. Bisegna, F.; Vespasiano, F.; Pompei, L.; Burattini, C.; Belli, E.; Bellucci, A.M.; Di Vittorio, F.; Blaso, L. Towards the Decarbonization of Urban Communities: Evaluation of Smart and Green Strategies to Reduce Gas Carbon Emissions. Smart Cities 2026, 9, 26. [Google Scholar] [CrossRef]
  17. Mekki, K.; Bajic, E.; Chaxel, F.; Meyer, F. A comparative study of LPWAN technologies for large-scale IoT deployment. ICT Express 2019, 5, 1–7. [Google Scholar] [CrossRef]
  18. Giacobbe, M.; Zanafi, S.; Zaia, A.; Puliafito, A. Empirical Validation of LoRaWAN Coverage Models for Smart Urban Connectivity. In Proceedings of the 39th ECMS International Conference on Modelling and Simulation, ECMS 2025, Catania, Italy, 24–27 June 2025; Volume 493, p. 499. [Google Scholar] [CrossRef]
  19. Terven, J. Deep Reinforcement Learning: A Chronological Overview and Methods. AI 2025, 6, 46. [Google Scholar] [CrossRef]
  20. Plaat, A. Deep Reinforcement Learning; Springer Nature Singapore: Singapore, 2022; ISBN 978-981-19-0638-1. [Google Scholar] [CrossRef]
  21. Kim, S.-K.; Chan, I.C. Novel Machine Learning-Based Smart City Pedestrian Road Crossing Alerts. Smart Cities 2025, 8, 114. [Google Scholar] [CrossRef]
  22. Palley, B.; Poças Martins, J.; Bernardo, H.; Rossetti, R. Integrating Machine Learning and Digital Twins for Enhanced Smart Building Operation and Energy Management: A Systematic Review. Urban Sci. 2025, 9, 202. [Google Scholar] [CrossRef]
  23. Sutton, R.S.; Barto, A.G. Reinforcement learning. J. Cogn. Neurosci. 1999, 11, 126–134. [Google Scholar] [CrossRef]
  24. Oh, J.; Farquhar, G.; Kemaev, I.; Calian, D.A.; Hessel, M.; Zintgraf, L.; Singh, S.; van Hasselt, H.; Silver, D. Discovering state-of-the-art reinforcement learning algorithms. Nature 2025, 648, 312–319. [Google Scholar] [CrossRef]
  25. Remmache, M.I.; Boudouh, S.S.; Bendouma, T.; Abdelhafidi, Z. Balancing Energy and Latency in Multi-Edge MEC Systems Using DQN-Based Task Offloading. In Proceedings of the 2025 7th International Conference on Pattern Analysis and Intelligent Systems (PAIS), Laghouat, Algeria, 23–24 April 2025; pp. 1–5. [Google Scholar] [CrossRef]
  26. Liang, J.; Miao, H.; Li, K.; Tan, J.; Wang, X.; Luo, R.; Jiang, Y. A Review of Multi-Agent Reinforcement Learning Algorithms. Electronics 2025, 14, 820. [Google Scholar] [CrossRef]
  27. Hady, M.A.; Hu, S.; Pratama, M.; Cao, Z.; Kowalczyk, R. Multi-agent reinforcement learning for resources allocation optimization: A survey. Artif. Intell. Rev. 2025, 58, 354. [Google Scholar] [CrossRef]
  28. Dong, P.; Tao, H.; Luo, H.; Shi, W.; Wang, J.; Zhou, J. MACS: LLM-Enhanced Multi-AUV Collaborative Search Scheme via Multi-agent Reinforcement Learning. IEEE Internet Things J. 2026, 13, 27197–27213. [Google Scholar] [CrossRef]
  29. Fatorachian, H.; Kazemi, H.; Pawar, K. Digital Technologies in Food Supply Chain Waste Management: A Case Study on Sustainable Practices in Smart Cities. Sustainability 2025, 17, 1996. [Google Scholar] [CrossRef]
  30. Fatorachian, H.; Kazemi, H.; Pawar, K. Enhancing Smart City Logistics Through IoT-Enabled Predictive Analytics: A Digital Twin and Cybernetic Feedback Approach. Smart Cities 2025, 8, 56. [Google Scholar] [CrossRef]
  31. De Vita, F.; Nardini, G.; Virdis, A.; Bruneo, D.; Puliafito, A.; Stea, G. Using Deep Reinforcement Learning for Application Relocation in Multi-Access Edge Computing. IEEE Commun. Stand. Mag. 2019, 3, 71–78. [Google Scholar] [CrossRef]
  32. Ficili, I.; Giacobbe, M.; Tricomi, G.; Puliafito, A. From Sensors to Data Intelligence: Leveraging IoT, Cloud, and Edge Computing with AI. Sensors 2025, 25, 1763. [Google Scholar] [CrossRef]
  33. De Vita, F.; Bruneo, D. Leveraging Stack4Things for Federated Learning in Intelligent Cyber Physical Systems. J. Sens. Actuator Netw. 2020, 9, 59. [Google Scholar] [CrossRef]
  34. Chen, M.; Sun, L.; Li, T.; Sun, H.; Zhou, Y.; Zhu, C.; Wang, H.; Pan, J.Z.; Zhang, W.; Chen, H.; et al. ReSearch: Learning to Reason with Search for LLMs via Reinforcement Learning. arXiv 2025. [Google Scholar] [CrossRef]
  35. Hubert, T.; Mehta, R.; Sartran, L.; Horváth, M.Z.; Žužić, G.; Wieser, E.; Huang, A.; Schrittwieser, J.; Schroecker, Y.; Masoom, H.; et al. Olympiad-level formal mathematical reasoning with reinforcement learning. Nature 2026, 651, 607–613. [Google Scholar] [CrossRef]
  36. Liu, R.; Nageotte, F.; Zanne, P.; de Mathelin, M.; Dresp-Langley, B. Deep Reinforcement Learning for the Control of Robotic Manipulation: A Focussed Mini-Review. Robotics 2021, 10, 22. [Google Scholar] [CrossRef]
  37. Beguni, C.; Căilean, A.-M.; Zadobrischi, E.; Avătămăniței, S.-A.; Lavric, A.; Stoian, F.-M. The Convergence of Artificial Intelligence and Public Policy in Shaping the Future of Ride-Hailing: A Review. Smart Cities 2026, 9, 40. [Google Scholar] [CrossRef]
  38. Chaudhari, S.; Aggarwal, P.; Murahari, V.; Rajpurohit, T.; Kalyan, A.; Narasimhan, K.; Deshpande, A.; da Silva, B.C. RLHF Deciphered: A Critical Analysis of Reinforcement Learning from Human Feedback for LLMs. ACM Comput. Surv. 2025, 58, 53. [Google Scholar] [CrossRef]
  39. Kim, Y.; Jung, B.C.; Song, Y. Online Learning for Joint Energy Harvesting and Information Decoding Optimization in IoT-Enabled Smart City. IEEE Internet Things J. 2023, 10, 10675–10686. [Google Scholar] [CrossRef]
  40. Zhang, B.; Liu, C.H.; Tang, J.; Xu, Z.; Ma, J.; Wang, W. Learning-Based Energy-Efficient Data Collection by Unmanned Vehicles in Smart Cities. IEEE Trans. Ind. Inform. 2018, 14, 1666–1676. [Google Scholar] [CrossRef]
  41. Park, J.; Baek, J.; Song, Y. Optimizing smart city planning: A deep reinforcement learning framework. ICT Express 2025, 11, 129–134. [Google Scholar] [CrossRef]
  42. Alharbi, S. MORL-SGF: A Governance-Aware Multi-Objective Reinforcement Learning Framework with Digital Twin Policy Validation for Sustainable Smart Cities. Systems 2026, 14, 294. [Google Scholar] [CrossRef]
  43. Sajid, S.; Li, B.; Qi, B.; Liang, F.; Lei, Y.; Muqtadir, A. Multi-Agent Reinforcement Learning for Demand Response in Grid-Responsive Buildings and Prosumer Communities: A PRISMA-Guided Systematic Review. Energies 2026, 19, 2170. [Google Scholar] [CrossRef]
  44. Michailidis, P.; Michailidis, I.; Kosmatopoulos, E. Reinforcement Learning for Optimizing Renewable Energy Utilization in Buildings: A Review on Applications and Innovations. Energies 2025, 18, 1724. [Google Scholar] [CrossRef]
  45. Mai, V.; Maisonneuve, P.; Zhang, T.; Nekoei, H.; Paull, L.; Lesage-Landry, A. Multi-agent reinforcement learning for fast-timescale demand response of residential loads. Mach. Learn. 2024, 113, 5203–5234. [Google Scholar] [CrossRef]
  46. Agarwal, T.; Arora, H.; Schneider, J. Learning Urban Driving Policies using Deep Reinforcement Learning. In Proceedings of the 2021 IEEE International Intelligent Transportation Systems Conference (ITSC), Indianapolis, IN, USA, 19–22 September 2021; pp. 607–614. [Google Scholar] [CrossRef]
  47. Li, Q.; Peng, B.; Li, Q.; Lin, M.; Chen, C.; Peng, S. A Latency-Optimal Task Offloading Scheme Using Genetic Algorithm for DAG Applications in Edge Computing. In Proceedings of the 2023 8th International Conference on Cloud Computing and Big Data Analytics (ICCCBDA), Chengdu, China, 26–28 April 2023; pp. 344–348. [Google Scholar] [CrossRef]
  48. Molokomme, D.N.; Onumanyi, A.J.; Abu-Mahfouz, A.M. An Emulated Dynamic Framework for Evaluating Metaheuristic-Based Load Balancing Techniques in Edge Computing Networks. AI 2026, 7, 81. [Google Scholar] [CrossRef]
  49. Jyoti, K.S.; Gokuldhev, M. A probabilistic genetic algorithm approach to efficient task scheduling in cloud-edge environments. CLEI Electron. J. 2026, 28. [Google Scholar] [CrossRef]
  50. Chen, X.; Zhang, J.; Lin, B.; Chen, Z.; Wolter, K.; Min, G. Energy-Efficient Offloading for DNN-Based Smart IoT Systems in Cloud-Edge Environments. IEEE Trans. Parallel Distrib. Syst. 2022, 33, 683–697. [Google Scholar] [CrossRef]
  51. Hu, X.-M.; Zhan, Z.-H.; Lin, Y.; Gong, Y.-J.; Yu, W.-J.; Hu, Y.-X. Multiobjective genetic algorithm for demand side management of smart grid. In Proceedings of the 2013 IEEE Symposium on Computational Intelligence in Scheduling (CISched), Singapore, 16–19 April 2013; pp. 14–21. [Google Scholar] [CrossRef]
  52. Mousavi-Ghasemlou, S.; Ochoa-Zezzatti, A.; Zapotecas-Martínez, S.; Oliva, D.; Lira, M.; Garcia-Villalba, L.A. Sustainable Energy Management in Smart Cities: Optimizing Smart Grids Using Metaheuristic Algorithms. In Proceedings of the 2026 IEEE Conference on Artificial Intelligence (CAI), Granada, Spain, 8–10 May 2026; pp. 535–540. [Google Scholar] [CrossRef]
  53. Odeh, S.; Hazboun, S.; Ayyash, M.A. Congestion-Aware Genetic Algorithm for Urban Mobility Optimization in Intelligent Transportation Systems. In Proceedings of the 2026 1st International Conference on Emerging Technologies and Engineering Systems (ICETES), Amaan, Jordan, 7–9 April 2026; pp. 95–99. [Google Scholar] [CrossRef]
  54. Bruneel, H. Analysis of a threshold-based priority queue. Queueing Syst. 2025, 109, 8. [Google Scholar] [CrossRef]
  55. Fryganiotis, N.; Dimolitsas, I.; Stai, E.; Zafeiropoulos, A.; Papavassiliou, S. Model Predictive Control-Based Dynamic Resource Allocation: Enabler for Resilient Network Slicing. IEEE Netw. 2025, 39, 118–126. [Google Scholar] [CrossRef]
  56. Eurostat. Smart Cities-Statistics on Urban Institutions, Statistics Explained. 2023. Available online: https://ec.europa.eu/eurostat/statistics-explained/SEPDF/cache/10719.pdf (accessed on 24 March 2026).
  57. International Energy Agency (IEA). World Energy Outlook 2024; IEA Publications: Paris, France, 2024; Available online: https://www.iea.org/reports/world-energy-outlook-2024 (accessed on 24 March 2026).
  58. ISO/IEC 25002:2024; Systems and Software Engineering—Software Product Quality Requirements and Evaluation (SQuaRE)—Managed Quality Model. ISO: Geneva, Switzerland, 2024.
  59. Patterson, A.; Liao, V.; White, M. Robust Losses for Learning Value Functions. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 6157–6167. [Google Scholar] [CrossRef]
  60. Zaitsev, D.A.; Shmeleva, T.R.; Ghaffari, P. Modeling Multidimensional Communication Lattices with Moore Neighborhood by Infinite Petri Nets. In Proceedings of the 2021 International Conference on Information and Digital Technologies (IDT), Zilina, Slovakia, 22–24 June 2021; pp. 171–181. [Google Scholar] [CrossRef]
  61. LoRa Alliance. What Is LoRaWAN? 2026. Available online: https://lora-alliance.org/about-lorawan/ (accessed on 13 April 2026).
  62. Phan, T.C.; Le, V.D.; Nguyen, T. Application of Dueling Double Deep Q-Network for Dynamic Traffic Signal Optimization: A Case Study in Danang City, Vietnam. Mach. Learn. Knowl. Extr. 2025, 7, 65. [Google Scholar] [CrossRef]
  63. Zhu, S.; Zhao, Y.; Zhang, Y.; Li, Q.; Wang, W.; Yang, S. Short-Term Traffic Flow Prediction with Wavelet and Multi-Dimensional Taylor Network Model. IEEE Trans. Intell. Transp. Syst. 2021, 22, 3203–3208. [Google Scholar] [CrossRef]
Figure 1. United Nations Sustainable Cities and Communities Goal (SDG11) and its targets.
Figure 1. United Nations Sustainable Cities and Communities Goal (SDG11) and its targets.
Smartcities 09 00117 g001
Figure 2. Conceptual framework of adaptive urban ecosystem composed of multiple AI-driven CPSs.
Figure 2. Conceptual framework of adaptive urban ecosystem composed of multiple AI-driven CPSs.
Smartcities 09 00117 g002
Figure 3. Overall architecture of the proposed multi-objective optimization framework leading to context-aware optimized urban trade-offs.
Figure 3. Overall architecture of the proposed multi-objective optimization framework leading to context-aware optimized urban trade-offs.
Smartcities 09 00117 g003
Figure 4. DQN-based optimization schema, highlighting the cyber-to-physical and physical-to-cyber transitions in the smart urban ecosystem.
Figure 4. DQN-based optimization schema, highlighting the cyber-to-physical and physical-to-cyber transitions in the smart urban ecosystem.
Smartcities 09 00117 g004
Figure 5. Spatial 3 × 3 grid representation of the urban district forming the monitored urban center. The map is centered on the Moore-modeled district C(0,0), with radius r = 1 .
Figure 5. Spatial 3 × 3 grid representation of the urban district forming the monitored urban center. The map is centered on the Moore-modeled district C(0,0), with radius r = 1 .
Smartcities 09 00117 g005
Figure 6. Comparative analysis of DQN training dynamics under different optimization criteria over 1000 episodes: (a) MSBE profile exhibiting high-frequency noise and sudden gradient shocks, and (b) smoothed, stable convergence profile achieved through Huber loss minimization.
Figure 6. Comparative analysis of DQN training dynamics under different optimization criteria over 1000 episodes: (a) MSBE profile exhibiting high-frequency noise and sudden gradient shocks, and (b) smoothed, stable convergence profile achieved through Huber loss minimization.
Smartcities 09 00117 g006
Figure 7. Empirical phase-by-phase quantification of the absolute divergence ( | MSBE Huber | ).
Figure 7. Empirical phase-by-phase quantification of the absolute divergence ( | MSBE Huber | ).
Smartcities 09 00117 g007
Figure 8. DQN policy sensitivity analysis for the C district in August. The plot illustrates the trade-offs resulting from the DQN-based optimization relative to normalized traffic demand (shaded area).
Figure 8. DQN policy sensitivity analysis for the C district in August. The plot illustrates the trade-offs resulting from the DQN-based optimization relative to normalized traffic demand (shaded area).
Smartcities 09 00117 g008
Figure 9. DQN policy sensitivity analysis for the C district in October.
Figure 9. DQN policy sensitivity analysis for the C district in October.
Smartcities 09 00117 g009
Figure 10. DQN policy sensitivity analysis for the C district in January.
Figure 10. DQN policy sensitivity analysis for the C district in January.
Smartcities 09 00117 g010
Figure 11. DQN policy sensitivity analysis for the C district in March.
Figure 11. DQN policy sensitivity analysis for the C district in March.
Smartcities 09 00117 g011
Figure 12. Expected structural long-term (10-year) TCO trends as a percentage of initial investment across different operational trade-offs. Results are reported with a 95% confidence interval (shadows).
Figure 12. Expected structural long-term (10-year) TCO trends as a percentage of initial investment across different operational trade-offs. Results are reported with a 95% confidence interval (shadows).
Smartcities 09 00117 g012
Figure 13. DQN-based trade-off alignment with UN SDG 11 targets. The radar plot illustrates the alignment between the agent’s behavioral profiles and global indicators for sustainable and resilient cities.
Figure 13. DQN-based trade-off alignment with UN SDG 11 targets. The radar plot illustrates the alignment between the agent’s behavioral profiles and global indicators for sustainable and resilient cities.
Smartcities 09 00117 g013
Table 1. Comprehensive mapping of the proposed framework to SDG 11 targets and implementation strategies.
Table 1. Comprehensive mapping of the proposed framework to SDG 11 targets and implementation strategies.
Sustainability PillarSDG 11 TargetsFramework Contribution
Environmental ( P e )11.6
Environment
Minimizes the urban carbon footprint by mitigating traffic-related emissions. It dynamically regulates district resources to counter pollution peaks, ensuring a synergy between energy conservation and the overall environmental quality of the city area.
Economic ( P c )11.4, 11.5
Heritage, Resilience
Minimizes economic impact by deploying resilient monitoring networks for urban heritage and early-warning systems. It reduces financial losses and recovery costs from environmental disasters through proactive infrastructure management and efficient resource allocation.
Social ( P s )11.1, 11.2, 11.7
Housing, Transport, Public Spaces
Guarantees the necessary operational performance for smart mobility services, preventing service disruptions in urban transport infrastructures. It ensures that public transit and pedestrian spaces remain safe, accessible, and inclusive by maintaining reliable connectivity and real-time data flow.
Integrated ( P e , P c , P s )11.3
Urbanization
Orchestrates participatory settlement planning by adapting to dynamic “bio-social” demands through multi-objective optimization.
11.a
Regional Planning
Supports strong links between urban and rural areas, overcoming silo patterns.
11.b
Integrated Policies
Internalizes multi-dimensional rewards to promote resource efficiency, climate change mitigation, and adaptive urban resilience.
11.c
Sustainable Building
Provides municipalities with a dynamic instrument for “adaptive” city planning, focusing on sustainable infrastructure and resilient buildings.
Table 2. Comparative assessment of Classical Methods (CMs), Supervised Learning (SL), and Reinforcement Learning (RL)/Deep RL (DRL) in the smart city scenario.
Table 2. Comparative assessment of Classical Methods (CMs), Supervised Learning (SL), and Reinforcement Learning (RL)/Deep RL (DRL) in the smart city scenario.
FeatureCMs (LP/Heuristics)SLRL / DRL
LogicRigid pre-defined rules; requires precise closed-form models.Historical pattern matching; handles predictive urban tasks [21,22].Goal-oriented optimization via active environmental feedback [23] and autonomous explore–exploit policies [24].
LimitsIncapable of adapting to dynamic contextual shifts.Demands massive, perfectly labeled training datasets.Asymmetrical computational workload between training and inference cycles [14,25].
ControlOpen-loop execution.Passive observation without active control loops.Active closed-loop feedback and multi-agent distributed municipal coordination [26,27,28].
TargetFixed static thresholds.Replicates historical patterns and biases [29,30].Dynamic Pareto balancing under multi-objective, non-linear physical infrastructure constraints [31,32].
ScalingNon-scalable to decentralized networks.Restricted to centralized data aggregation structures [33].Leverages LLM feedback loops [34,35], DNN high-dimensional feature extraction [36], and federated wide-area learning [37].
Edge DeployLightweight but inflexible.Memory-intensive for continuous field deployment.Lightweight localized inference; DQN architectures successfully break the urban “curse of dimensionality” [38,39,40,41].
Table 3. Strategic comparison of the proposed framework against recent state-of-the-art RL-based smart city approaches, categorized by methodological domain.
Table 3. Strategic comparison of the proposed framework against recent state-of-the-art RL-based smart city approaches, categorized by methodological domain.
Methodological DomainKey ReferencesCore Urban FocusOpen Research Gap/LimitationsSustainability Pillars
Urban PlanningPark et al. (2025) [41]
Alharbi (2026) [42]
Abu et al. (2025) [13]
Top-down multi-objective city planning, macro-indicator tracking, and policy validation via digital twins.Operate primarily on high-level aggregated data; lack a bottom-up, dynamic adaptation mechanism at the physical infrastructure layer.Economic Environmental
Smart Energy & Grid Demand ResponseSajid et al. (2026) [43]
Michailidis et al. (2025) [44]
Mai et al. (2024) [45]
Shafiullah et al. (2026) [14]
Prosumer community management, fast-timescale residential load balancing, and renewable energy optimization.Siloed applications restricted strictly to power grids and building facilities; do not scale to generalized municipal ICT constraints.Economic Environmental
Urban Mobility & LogisticsAgarwal et al. (2021) [46]
Kim & Chan (2025) [21]
Fatorachian et al. (2025b) [30]
Autonomous driving policies, pedestrian road-crossing safety alerts, and IoT-driven predictive logistics.Highly specific vertical applications; do not account for the structural energy and communication trade-offs of the underlying network.Social Economic
Data Collection & Smart SensingKim et al. (2023) [39]
Zhang et al. (2018) [40]
Bibri & Huang (2025) [11]
Ficili et al. (2025) [32]
Beguni et al. (2026) [37]
Energy harvesting in sensor nodes, unmanned vehicle data routing, federated demand prediction, and real-time AIoT city brain architectures.Focus mostly on localized data-gathering efficiency or single technical metrics (e.g., node battery lifespan) without holistic optimization.Environmental Economic
Proposed FrameworkThis WorkBalancing Resource Constraints and Responsive CPSs for Adaptive and Sustainable Smart Cities.Introduces a bottom-up, adaptive DQN control loop that explicitly models and resolves the non-linear operational trade-offs among all three pillars.Integrated (Environmental, Economic, Social)
Table 5. Spatial distribution and functional roles of the urban sensing infrastructure across the five neighboring districts and the centroidal gateway (GW).
Table 5. Spatial distribution and functional roles of the urban sensing infrastructure across the five neighboring districts and the centroidal gateway (GW).
District/PoleCoord. ( i , j ) Deployed DevicesStrategic Role
A ( 0 , 1 ) 1 Env., 1 Traffic, 1 ParkingIntegrated Urban Sensing
B ( 1 , 1 ) 1 Env., 1 TrafficTelemetry & Flow Analysis
C ( 0 , 0 ) 1 Env., 1 Traffic, 1 Parking, 1 GWNetwork Backbone & Sensing
D ( 1 , 0 ) 1 Traffic, 2 ParkingMobility & Occupancy Hub
E ( 0 , 1 ) 1 ParkingLocalized Spot Monitoring
Table 6. Technical specifications and functional classification of the urban IoT testbed.
Table 6. Technical specifications and functional classification of the urban IoT testbed.
TypologyHardware PlatformNumPrimary Function
Environmental (weather station)Raspberry Pi 4 (12 V supply)3Ambient telemetry
Parking (optical sensor)Nvidia Jetson Nano (5 V rail 1)5Optical occupancy sensing
Traffic (optical sensor)Nvidia Jetson Nano (5 V rail 1)4Vehicle flow analysis
Network & Context Parameters
ProtocolLoRaWAN Class C, Spreading Factor 7, 125 kHz, Coding Rate 4/5 2
Duty Cycle 1 % (European EU 868 MHz regional frequency band)
1 Powered via DC–DC converter from a 24 V source; 2 ChirpStack, an open-source LoRaWAN server.
Table 7. Baseline power and daily (24 h) energy consumption in standard operating mode, without DQN optimization.
Table 7. Baseline power and daily (24 h) energy consumption in standard operating mode, without DQN optimization.
TypologyNum P device (W) E device (kWh)Num · E device (kWh)
Environmental (weather station)32.3640.05670.1702
Parking (optical sensor)53.3950.08150.4074
Traffic (optical sensor)44.4600.10700.4281
LoRaWAN gateway13.5830.08600.0860
Overall benchmark13-0.3312 11.0917
1 It represents the benchmark for the district C (0,0) in our case study.
Table 8. Set of metrics considered for the examined scenario, with related measures and impacts on the dynamics of the city.
Table 8. Set of metrics considered for the examined scenario, with related measures and impacts on the dynamics of the city.
DatasetMetricMeasureImpact
Weather c 1 Ambient Temperature (C)Hardware thermal stress and operational efficiency
c 2 Relative Humidity (%)Signal attenuation and link propagation quality
c 3 Ultraviolet (UV) IndexSeasonal fluctuations and weather-induced variability
Traffic c 4 Flow IndexReal-time service urgency and prioritization
c 5 Total Vehicle CountDemand intensity and infrastructure load
Parking c 6 Lot Occupancy RateLocal urban activity density and utility demand
LoRaWAN c 7 Packet Delivery Ratio (PDR)Network reliability and communication quality
c 8 Latency ( τ )Transmission delay and real-time responsiveness
c 9 RSSI (dBm)Signal strength and transmission power efficiency
c 10 SNR (dB)Link robustness and noise interference levels
Table 9. DQN optimization weight configurations for the operational policies.
Table 9. DQN optimization weight configurations for the operational policies.
Policy Profile λ 1 λ 2 λ 3 Primary Objective
Lazy ( π l )0.60.30.1Cost & hardware preservation
Balanced ( π b )0.30.40.3Nominal operational baseline
Responsive ( π r )0.10.30.6Fine-grained observability
Table 10. DQN training configuration.
Table 10. DQN training configuration.
Hyperparameter/MetricValue/Operational Setting
Network ArchitectureFully Connected Multi-Layer Perceptron
Total Training Episodes1000
Optimization Loss CriteriaMSBE loss, Huber loss
Optimization AlgorithmAdam Optimizer
Exploration StrategyExponential ϵ -greedy (Epsilon)
Initial Exploration Rate1.0
Minimum Exploration Rate0.1
Epsilon Decay Factor0.995
Target Network Update PatternHard Update (Every Episode)
Discount Factor0.99
Mini-Batch Size64
Learning Rate 1 × 10 4
Table 11. Edge-computed quantitative breakdown of policy–demand mismatch ( I p ), under-provisioning stress ( I p ), and over-provisioning waste ( I p + ) across seasonal scenarios.
Table 11. Edge-computed quantitative breakdown of policy–demand mismatch ( I p ), under-provisioning stress ( I p ), and over-provisioning waste ( I p + ) across seasonal scenarios.
Seasonal ScenarioPolicyTotal Mismatch ( I p )Under-Prov. ( I p )Over-Prov. ( I p + )
August π l 5.40 ( 22.5 % )4.30 ( 17.9 % )1.10 ( 4.6 % )
(Summer Peak) π b 3.10 ( 12.9 % )0.90 ( 3.8 % )2.20 ( 9.1 % )
π r 4.80 ( 20.0 % )0.10 ( 0.4 % )4.70 ( 19.6 % )
October π l 5.85 ( 24.4 % )4.95 ( 20.6 % )0.90 ( 3.8 % )
(Autumn Routine) π b 2.65 ( 11.0 % )0.75 ( 3.1 % )1.90 ( 7.9 % )
π r 5.15 ( 21.5 % )0.15 ( 0.6 % )5.00 ( 20.9 % )
January π l 5.10 ( 21.3 % )4.50 ( 18.8 % )0.60 ( 2.5 % )
(Winter Drop) π b 2.35 ( 9.8 % )0.85 ( 3.5 % )1.50 ( 6.3 % )
π r 5.90 ( 24.6 % )0.20 ( 0.8 % )5.70 ( 23.8 % )
March π l 5.65 ( 23.5 % )4.85 ( 20.2 % )0.80 ( 3.3 % )
(Spring Surge) π b 2.45 ( 10.2 % )0.70 ( 2.9 % )1.75 ( 7.3 % )
π r 4.95 ( 20.6 % )0.15 ( 0.6 % )4.80 ( 20.0 % )
Table 12. Cross-layer sensitivity analysis: Predictive quantification of traffic inflation ( Δ V t + 1 ) across multiple μ horizons relative to invariant infrastructure KPIs ( η E , PDR).
Table 12. Cross-layer sensitivity analysis: Predictive quantification of traffic inflation ( Δ V t + 1 ) across multiple μ horizons relative to invariant infrastructure KPIs ( η E , PDR).
Invariant KPIsPredicted Traffic Inflation ( Δ V t + 1 )
ScenarioPolicyNet EnergyNetwork μ = 1.0 μ = 1.5 μ = 2.0 μ = 2.5 μ = 3.0
Saving ( η E ) PDR(Linear)(Base)(High)(Severe)(Limit)
August π l +15.0%82.1%+17.9%+26.8%+35.8%+44.8%+53.7%
π b +10.5%96.2%+3.8%+5.7%+7.6%+9.5%+11.4%
π r 0.0% (Base)99.6%+0.4%+0.6%+0.8%+1.0%+1.2%
October π l +17.1%79.4%+20.6%+30.9%+41.2%+51.5%+61.8%
π b +13.0%96.9%+3.1%+4.6%+6.2%+7.8%+9.3%
π r 0.0% (Base)99.4%+0.6%+0.9%+1.2%+1.5%+1.8%
January π l +21.3%81.2%+18.8%+28.2%+37.6%+47.0%+56.4%
π b +17.5%96.5%+3.5%+5.2%+7.0%+8.8%+10.5%
π r 0.0% (Base)99.2%+0.8%+1.2%+1.6%+2.0%+2.4%
March π l +16.7%79.8%+20.2%+30.3%+40.4%+50.5%+60.6%
π b +12.7%97.1%+2.9%+4.3%+5.8%+7.3%+8.7%
π r 0.0% (Base)99.4%+0.6%+0.9%+1.2%+1.5%+1.8%
Table 13. Cross-layer environmental sensitivity analysis: Quantitative Carbon-Emission Reduction Rate ( η C O 2 ) and predicted traffic mitigation across multiple urban stress horizons ( μ ).
Table 13. Cross-layer environmental sensitivity analysis: Quantitative Carbon-Emission Reduction Rate ( η C O 2 ) and predicted traffic mitigation across multiple urban stress horizons ( μ ).
Hardware StateCarbon-Emission Reduction Rate ( η CO 2 ) vs. Lazy Baseline
ScenarioPolicyProfile (Ref) μ = 1.0 μ = 1.5 μ = 2.0 μ = 2.5 μ = 3.0
(Energy/PDR)(Linear)(Base)(High)(Severe)(Limit)
August π l +15.0%/82.1%0.0% (Base)0.0% (Base)0.0% (Base)0.0% (Base)0.0% (Base)
π b +10.5%/96.2%78.77%78.73%78.77%78.79%78.77%
π r 0.0%/99.6%97.77%97.76%97.77%97.77%97.77%
October π l +17.1%/79.4%0.0% (Base)0.0% (Base)0.0% (Base)0.0% (Base)0.0% (Base)
π b +13.0%/96.9%84.95%85.11%84.95%84.85%84.95%
π r 0.0%/99.4%97.09%97.09%97.09%97.09%97.09%
January π l +21.3%/81.2%0.0% (Base)0.0% (Base)0.0% (Base)0.0% (Base)0.0% (Base)
π b +17.5%/96.5%81.38%81.56%81.38%81.28%81.38%
π r 0.0%/99.2%95.74%95.74%95.74%95.74%95.74%
March π l +16.7%/79.8%0.0% (Base)0.0% (Base)0.0% (Base)0.0% (Base)0.0% (Base)
π b +12.7%/97.1%85.64%85.81%85.64%85.54%85.64%
π r 0.0%/99.4%97.03%97.03%97.03%97.03%97.03%
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.

Share and Cite

MDPI and ACS Style

Giacobbe, M.; Distefano, S. A Self-Adaptive Framework for Sustainable Smart Cities. Smart Cities 2026, 9, 117. https://doi.org/10.3390/smartcities9070117

AMA Style

Giacobbe M, Distefano S. A Self-Adaptive Framework for Sustainable Smart Cities. Smart Cities. 2026; 9(7):117. https://doi.org/10.3390/smartcities9070117

Chicago/Turabian Style

Giacobbe, Maurizio, and Salvatore Distefano. 2026. "A Self-Adaptive Framework for Sustainable Smart Cities" Smart Cities 9, no. 7: 117. https://doi.org/10.3390/smartcities9070117

APA Style

Giacobbe, M., & Distefano, S. (2026). A Self-Adaptive Framework for Sustainable Smart Cities. Smart Cities, 9(7), 117. https://doi.org/10.3390/smartcities9070117

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop