Abstract
High-rise elevator group control systems operate under pronounced nonstationarity during commuting peaks, post-event surges, and capacity degradation, where the waiting time distribution becomes right-tail heavy and stresses service-level agreements (SLAs) defined by coverage and high-quantile targets. At the same time, the time-of-use tariffs and carbon constraints sharpen the tension between peak-power control, energy savings, and service capacity. This paper proposes a two-layer resilience scheduling framework that integrates queueing-based planning with safe reinforcement learning (RL) fine-tuning. In the planning layer, parsimonious queueing approximations and scenario-based evaluation construct a finite set of implementable mode cards and emergency switching cards; Sample Average Approximation (SAA) combined with Conditional Value-at-Risk (CVaR) constraints filter candidates to enforce tail-risk-aware service limits while keeping power demand within a prescribed envelope. In the execution layer, online dispatch is formulated as a constrained Markov decision process; within the planning layer limits, action masking and Lagrangian safe RL learn small adaptive adjustments to suppress tail-waiting risk and improve recovery dynamics without increasing peak-power commitments. The experiments under morning peaks and post-event surges confirm tail risk reduction and accelerated recovery. For partial outages, the framework prioritizes SLA coverage and recovery speed, accepting a bounded increase in tail risk as a manageable trade-off. Throughout all tests, peak power remains within the prescribed limits. Improvements persist across random seeds and demand fluctuations, indicating distributional robustness and cross-scenario generalization. Ablation studies further reveal complementary roles: removing the planning layer CVaR screening worsens tail performance, while removing the execution layer action masking increases constraint violations and destabilizes recovery.
1. Introduction
Vertical transportation in high-rise buildings and large mixed-use complexes exhibits pronounced nonstationarity and strong disruptions. Commuting peaks, midday bidirectional flows, post-meeting and post-event surges, floor-concentrated demand, and equipment-side disturbances such as door operator wear, temporary speed limits, and occasional car outages can all raise hall queues within a short time window and substantially elongate the right tail of the waiting time distribution, yielding a long-tail pattern in which a small fraction of passengers experience extremely long waits. Such tail behavior directly challenges operating targets defined by service-level agreements (SLAs), especially commitments expressed in terms of the 90th-percentile waiting time (WT90) and the within-window compliance rate [1,2,3]. Meanwhile, time-of-use electricity pricing and dual-carbon constraints under time-varying grid carbon intensity push operators to curb per-passenger energy use and power/start–stop peaks through measures such as speed limiting, regenerative energy capture and storage, and load shifting [4]. However, during disruption onset and congestion accumulation, these peak-shaving and energy-saving actions often reduce instantaneous transport capacity, thereby intensifying the dynamic tension between service assurance and energy–carbon control [5,6,7]. Notably, the timely detection and diagnosis of equipment anomalies—such as those arising from door wear or partial outages—are critical for maintaining service reliability. Advances in fault diagnosis for cyber-physical systems, such as noise-aware UAV fault diagnosis based on the learnable wavelet packet transform model [8], offer promising techniques for early anomaly identification that could be integrated to enhance the resilience of elevator scheduling. Accordingly, a central challenge in intelligent elevator operations is to satisfy SLA requirements reliably under uncertainty and disturbances, improve recovery capability, and reduce energy–carbon costs.
Existing work has advanced elevator group control strategies (e.g., zoning, parking, and destination control) and rule-based heuristics, yet many approaches still implicitly assume steady-state or weakly perturbed conditions, and their evaluations often emphasize mean performance measures such as average waiting time (AWT), with limited attention to tail risk and recovery dynamics. Under strong disturbances, average waiting may decrease while the right tail remains heavy, leading to a mismatch between perceived service quality and SLA high-quantile targets [9,10]. In addition, globally optimized policies built on complex analytical models often face limited interpretability and implementability in operational and managerial settings: they are difficult to translate into time-of-day executable plans and rarely provide operationally meaningful trigger and exit thresholds [11,12]. More importantly, offline plan generation and online dispatch decisions are frequently weakly coupled: offline plans typically lack immediate adaptability to abrupt disruptions, whereas online algorithms often lack clear safety boundaries and interpretable constraint mechanisms [13].
To address these gaps, this paper proposes a resilience scheduling framework for intelligent elevator operations that couples an interpretable operating baseline grounded in queueing theory with online adaptive adjustment via reinforcement learning. The offline stage establishes operating baselines and boundary conditions, while the online stage performs bounded, magnitude-limited corrections within those boundaries. Specifically, the offline stage leverages parsimonious queueing approximations (e.g., M/G/c or empirical load–waiting relationships) together with scenario-based evaluation and Sample Average Approximation (SAA, a Monte Carlo-based technique for solving stochastic optimization problems by replacing expected values with their sample averages over a finite set of scenarios) [12]. Across representative periods such as peak, off-peak, valley, and event-related intervals, we construct a finite set of candidate operating modes (e.g., zoning and parking configurations, speed settings, and windows for regenerative energy capture and storage) and screen them by enforcing WT90 and tail-risk constraints while optimizing per-passenger energy use and power/start–stop peaks, resulting in a set of mode cards and emergency switching cards [14,15]. In the online stage, dispatch adjustments are formulated as a safe reinforcement learning problem under a constrained Markov decision process (CMDP/Safe RL). Within hard boundaries derived from SLA requirements, the controller makes small adaptive adjustments to actions such as dispatch priority, temporary speed limiting and release, and regenerative/storage power settings, with the goal of compressing the right tail of waiting times, shortening recovery time, and suppressing energy use and peak demand without violating constraints. To further guard against unexpected state deviations, robust anomaly detection techniques—for instance, the enhanced CLKAN-RF framework for sensor data anomaly detection [16]—could be embedded in the observation pipeline to flag abnormal operational patterns, thereby providing an additional layer of safety for the online fine-tuner. To improve training stability and operational usability, the policy is initialized via imitation learning from near-optimal trajectories obtained offline and then iteratively refined under a safe RL scheme that incorporates action masking/projection and Lagrangian multipliers; online recommendations are reported in a structured manner that specifies triggering conditions and expected impacts [17,18,19].
Unlike approaches that focus on mean performance or a single quantile, this study emphasizes explicit tail-risk management under strong disturbances. Because a small number of extreme waits and power spikes impose disproportionately large marginal losses in user experience and operating cost, we adopt Conditional Value-at-Risk (CVaR, also known as Expected Shortfall, which measures the expected loss, given that the loss exceeds a specified confidence level, e.g., the 95th percentile) to quantify and constrain both the right tail of the waiting time distribution and the tails of power/energy outcomes, bringing the worst-case portions of service experience and energy–carbon cost into a unified risk-control framework [6,20,21]. This design mitigates the inconsistency in which the mean improves while the tail deteriorates [22]. Accordingly, our objectives are to (i) maintain stable compliance of SLA metrics such as WT90 under multiple classes of uncertain disturbances, (ii) improve recovery efficiency (e.g., shorten Time to Recovery, TTR, and reduce variability), and (iii) achieve coordinated control of energy use, emissions, and peak power without sacrificing SLA guarantees [23,24,25]. To validate effectiveness, we construct a multi-disturbance scenario suite and benchmark against rule-based heuristics, planning-only operation, RL-only control without safety constraints, and targeted ablation variants, conducting a systematic evaluation across four dimensions: SLA performance, tail risk, recovery dynamics, and energy–carbon outcomes [26,27,28].
Therefore, this paper aims to address the following core research questions: under non-steady-state demand and sudden disturbances, how can an implementable elevator group control scheduling framework be designed to achieve the following goals: (1) strictly guarantee the service-level agreement (SLA) centered on high percentile waiting time (WT90) and coverage rate; (2) actively manage tail-waiting risks and accelerate system recovery; (3) while meeting the above service constraints, collaboratively optimize energy consumption and peak power to cope with time-of-use electricity pricing and carbon constraints?
The contributions of this paper are fourfold. First, we introduce a resilience scheduling framework that treats SLA and tail risk as core constraints while jointly considering recovery efficiency and energy–carbon control, integrating offline baseline design with bounded online adaptation within a single analytical framework [29]. Second, we develop a time-of-day plan generation method based on parsimonious queueing approximations and scenario-based screening, representing operating strategies through a finite candidate set together with threshold-based switching rules [14,15]. Third, we propose an execution layer safe RL fine-tuner that combines imitation-learning initialization with action masking to achieve fast and stable adaptation under strict constraints during disturbances [30]. Fourth, we establish an evaluation framework spanning SLA reliability, tail risk, recovery characteristics, and energy–carbon performance to support threshold governance and cross-scenario transfer analysis [31].
Motivated by these gaps, we study nonstationary and disturbance-driven operating conditions in elevator group control for high-rise buildings. Centered on managing long-tail waiting under SLA constraints and coordinating energy–power performance, we propose a two-layer resilience scheduling method. In the offline stage, parsimonious queueing approximations and scenario-based evaluation, combined with Sample Average Approximation (SAA) and CVaR constraints, screen candidate operating modes to form a time-of-day policy set and its switching boundaries. In the online stage, dispatch corrections are modeled as a constrained Markov decision process; within hard boundaries such as SLA and peak-power limits, action masking and Lagrangian safe RL produce bounded adaptive adjustments to suppress the waiting-time right tail and improve disturbance recovery.
The remainder of this paper is organized as follows: Section 2 reviews the related literature, and Section 3 presents the system modeling and performance metrics; Section 4 describes the planning layer construction of candidate modes and the SAA+CVaR screening procedure; Section 5 introduces the execution layer safe reinforcement learning fine-tuning framework and its integration with the planning layer outputs; Section 6 reports multi-scenario comparisons, ablation studies, and robustness analyses; and Section 7 concludes the paper and discusses implications and future directions.
2. Literature Review
Research on elevator group control has long centered on zoning and parking strategies, destination control, and the trade-off between service quality and system throughput under different load levels [1,2,3]. Zoning and parking improve effective service rates by reducing unproductive travel, while destination control coordinates car loading and routing by consolidating passengers with similar destinations; prior studies show that it can reduce average waiting times and alleviate crowding in mid- and high-rise buildings [4]. However, many of these methods are evaluated under steady-state or mildly perturbed conditions, and the reported metrics are often mean-based. As a result, they pay limited attention to tail waiting under extreme conditions, fluctuations in SLA compliance, and post-disruption recovery dynamics. In real operations, it is therefore possible to observe lower average waiting while long-tail delays remain pronounced, making high-quantile service commitments harder to satisfy reliably [9,10].
To provide an interpretable analytical baseline, queueing theory has been widely used to characterize the arrival–service relationship in elevator service systems. Approximations such as M/G/c or G/G/c, built on non-homogeneous Poisson arrivals (NHPP) and general service times (G), can retain interpretability while linking utilization, , to the waiting time distribution through empirical relationships; classical approximations such as Allen–Cunneen and Whitt are also commonly used for capacity planning and time-of-day configurations. Although strict closed-form analysis is often infeasible for complex group control policies, these parsimonious approximations can serve as fast evaluators for generating and screening candidate operating modes that satisfy waiting quantile and resource constraints, thereby improving the operational tractability of planning outputs [32,33,34].
When systems must respond to online disturbances and coupled states, reinforcement learning offers a data-driven route to adaptive decision-making. A central challenge, however, is to satisfy the operational constraints reliably during learning, especially hard SLA boundaries. Constrained Markov decision processes (CMDPs) with Lagrangian methods provide a general framework for balancing performance and constraints, while shielding and action projection can internalize hard constraints by restricting the feasible action set and reducing the incidence of violations. In addition, imitation learning (e.g., behavior cloning and DAgger) can support cold-start initialization by keeping early exploration closer to feasible regions, improving training stability and reducing time to convergence. Related work has demonstrated the suitability of this family of methods in building and transportation systems where safety thresholds are explicit and consequential [35,36,37,38,39].
The dual-carbon context further introduces a dynamic tension between service and energy–carbon objectives. Building energy research emphasizes peak-demand control, energy recovery and storage, and the influence of time-varying electricity prices and carbon intensity on operating strategies [6]. For elevator systems, traction power, regenerative braking, door losses, and the state of charge (SOC) jointly determine the temporal profiles of energy use and instantaneous power demand [40]. Measures such as peak-period speed limiting, caps on regenerative power, and power ramp constraints can help suppress power peaks, but during disruptions, they may also reduce instantaneous handling capacity and thereby intensify the conflict between service targets and energy–carbon targets [6,40]. This motivates methods that go beyond reporting energy savings to clarify under what operating conditions and by what magnitude adjustments should be applied to support system-level objectives [40].
Accordingly, risk measurement also needs to shift from mean-oriented to tail-oriented perspectives. The mean or a single quantile may not adequately capture the experiential and operational risk driven by a small fraction of extreme waits. Conditional Value-at-Risk (CVaR) as a tail-mean measure provides a more robust way to quantify and constrain the worst tail and has been used in supply chains, transportation scheduling, and energy systems to manage service and cost volatility under extreme events. Combining CVaR with SLA metrics helps bring long-tail waiting and power spikes into a unified risk-control framework, mitigating the inconsistency in which the mean improves while the tail worsens [41,42,43].
For method validation, simulation-based evaluation frameworks that couple discrete event dynamics with kinematics and energy processes—together with standardized scenario libraries such as morning/evening peaks, midday bidirectional flows, event dispersals, temporary outages, and abrupt shifts in price/carbon signals—enable systematic testing of service, resilience (e.g., recovery time and resilience loss area), and energy–carbon performance, and support controlled comparisons and ablation studies to isolate key mechanisms [44,45].
In summary, the literature provides a strong foundation for steady-state optimization and mean-focused performance analysis, yet relatively fewer studies develop an integrated decision framework that simultaneously addresses hard SLA constraints, tail-risk management, and energy–carbon coordination under strong disturbances. A particularly important open question is how to form interpretable operating baselines and boundary conditions offline and then implement constraint-respecting adaptation online so that long-tail waiting control and peak-demand/energy saving can be coordinated within a single decision logic. This paper addresses that gap.
To clarify the positioning of our work, the related research can be categorized into several streams, as summarized in Table 1. Rules and heuristics (e.g., zoning, parking, and destination-control rules) are highly deployable but often brittle under bursts and lack explicit tail risk control. Queueing and analytical planning (e.g., M/G/c approximations) offer interpretable baselines and support SLA-aware design, yet struggle with strong nonstationarity and recovery dynamics. Simulation-driven optimization enables multi-metric evaluation but is largely offline and sensitive to scenario design. Learning-based control (e.g., deep RL and CMDPs) provides online adaptability, but safety guarantees and operational interpretability remain challenging. Energy- and carbon-oriented operation focuses on energy/peak management, often at the expense of service quality during disruptions.
Table 1.
Summary comparison of prior streams and this work.
The proposed two-layer framework integrates the strengths of these streams while addressing their key limitations. Specifically, it combines the interpretability and constraint-aware screening of queueing-based planning with the adaptive fine-tuning capability of safe RL, thereby offering unified coverage of SLA, tail risk, recovery, and energy–peak constraints within a single deployable decision logic. Table 1 summarizes this alignment view and clarifies how the proposed framework differs from prior streams in terms of constraint coverage, tail-risk awareness, recovery evaluation, and deployability.
3. Problem Formulation and System Modeling
This section develops a unified system modeling framework so that offline policy screening and online dispatch adjustment can be compared and optimized under the same set of performance metrics and constraints. To this end, we adopt a discrete time simulation setting that jointly characterizes service experience, post-disturbance recovery dynamics, and energy-related performance, and we formalize a cross-layer constrained optimization problem built on these common definitions. The planning layer and the execution layer share the same constraint set and metric definitions; they differ only in decision granularity (time scale) and solution approach. To help readers navigate this unified setup and the cross-layer consistency adopted in this section, Figure 1 provides a compact roadmap of the overall research logic and of how the modeling and metrics in Section 3 connect to the planning layer screening and execution layer online adjustment.
Figure 1.
Overall research framework and technical roadmap.
To avoid notational ambiguity, we standardize the symbols, variables, and parameters used throughout the remainder of the paper and summarize their meanings and primary locations of use in Table 2.
Table 2.
Notation summary.
3.1. System Description and Performance Metrics
In terms of the research scope, this study focuses on the scheduling decision algorithms in the elevator group control system. Specifically, given the physical configuration of the elevator group (such as the number of elevators, stop floors, etc.) and the building passenger flow pattern, how to collaboratively achieve service, recovery, and energy efficiency goals through optimizing elevator dispatching, zoning, speed adjustment, and other operational strategies. The physical details such as the power model of the elevator and the shaft layout are regarded as known background, and their influence is abstracted as parameters such as service rate and traction power in the simulation model in Section 3.2. The aim of this study is to propose a general decision framework, and its core method can be adapted to different physical systems.
Elevator group control under time-varying passenger arrivals and equipment-side disturbances involves simultaneous trade-offs among service quality, recovery behavior under disruptions, and energy–power performance. To enable a consistent comparison of alternative strategies, we define a metric system spanning three dimensions—service, resilience, and energy/power—and compute all metrics within a unified discrete time simulation setting. The baseline configuration is as follows: time step, ; rolling evaluation window width, ; group size, cars; and the SLA waiting time threshold, . Let the evaluation horizon contain K discrete time steps (equivalently, K rolling-window statistics), and index all window-level quantities by .
3.1.1. Service Metrics
The service dimension focuses on distributional properties of passenger waiting time, with particular emphasis on high-quantile behavior and tail risk under short-lived congestion, so that extreme experiences are not obscured by mean-based measures.
(1) The 90th-percentile waiting time (WT90). Within each rolling window, , waiting time samples are sorted in ascending order. is defined as the quantile such that at least 90% of passengers in wait no longer than . Compared with the average waiting time (AWT), is more sensitive to transient congestion and better reflects a “floor” level of experience for the majority of passengers. (2) SLA compliance rate (). Given the SLA threshold, (seconds), the fraction of rolling windows that satisfy over the evaluation horizon is defined as , where 1(·) is the indicator function. This metric aggregates per-window compliance into a time-coverage measure, capturing the temporal stability of meeting the service commitment. (3) Tail-waiting risk, (). To characterize systematic risk under extreme congestion, we apply Conditional Value-at-Risk (CVaR) to the window-level high-quantile sequence {}. Intuitively, represents the average over the worst 5% of time slices. Specifically, sort {} in ascending order as , let , define , and compute . This metric provides a robust measure of tail service risk and helps avoid operational blind spots where the mean or coverage-based SLA appears acceptable but localized time intervals exhibit severely degraded experience.
3.1.2. Resilience Metrics
The resilience dimension captures the degradation–recovery process under disruptions, emphasizing dynamic trajectories rather than static averages. We define the resilience state by the extent to which service quality exceeds the SLA threshold, :
Based on , we use two complementary metrics: (1) Time to Recovery (TTR). Let be the first time step at which and be the first subsequent time step at which returns to 0; the recovery time is ; if recovery does not occur within the evaluation horizon, is set to the end of the horizon for measurement; and (2) resilience loss area (). summarizes the accumulated loss as “deviation magnitude × duration”: . emphasizes recovery speed, whereas captures the cumulative severity of service degradation. Together, they provide a more complete view of the system’s shock absorption and recovery capability.
3.1.3. Energy and Emissions Metrics
The energy–emissions dimension quantifies peak-demand control and energy cost, enabling a comparable discussion of peak shaving and energy saving under a service-first operating principle. We define the following metrics based on the grid-side net power series :
(1) Peak power demand (). . This metric captures capacity usage and the effectiveness of peak-demand suppression. (2) Interval energy consumption (E). . This metric aggregates net power over time to measure total energy use over the evaluation interval. (3) Interval carbon emissions (C, optional). When the grid carbon intensity is available as a time-varying signal, (kgkWh), we define . If is not available, we use energy consumption, , as a proxy for emissions in the experiments and state the associated applicability boundary in the limitations discussion.
3.2. Simulation Model
We use a unified simulation environment to generate all three metric families—service quality, resilience dynamics, and energy/emissions performance—and use them as the common evaluation basis for both planning layer offline screening and execution layer online fine-tuning. This design ensures that all strategies are compared under the same metric definitions and computation rules. The simulation model consists of two coupled components: (i) an arrival–service queueing mechanism that produces waiting time samples and service-side metrics and (ii) a power-and-storage model that produces time series of net power, energy consumption, and (optionally) carbon emissions on the same time axis as the service process.
3.2.1. Queueing and Arrival/Service Mechanism
Arrivals are modeled by a time-varying arrival rate (passengers/min). The number of arrivals within one discrete step is approximated by a Poisson draw:
Let denote the queue length at step . Service capacity is determined by the mode card mmm: is the baseline service rate per car (passengers/min/car), is an efficiency adjustment associated with the operating policy, and is a scenario- or equipment state modifier. The total effective service rate at time is:
where is the number of cars in the group. Within step , the potential number of served passengers is also drawn from a Poisson distribution and then capped by the available queue length. Let be the uncapped draw:
The queue evolves as Waiting time is defined as the difference between a passenger’s service time and arrival time. For passenger iii, the waiting time is . A rolling window, , collects waiting time samples over the most recent seconds to compute , , and . The window update rule (sliding window or exponential decay) and the associated parameters are fixed and reported in the experimental settings in Section 6.
3.2.2. Power and Energy-Storage Model
To capture peak-demand control and energy use constraints without introducing excessive physical detail, we adopt an interpretable power approximation that decomposes traction-side power into a static load, a mode-dependent baseline term, and a service-related term. Let (kW) be the static auxiliary load, (kW/car) be the per-car baseline power under mode card, , and be the coefficient for the service-related component. Then the traction-side power is modeled as:
If an energy storage system is present, let (kW) denote storage power, where indicates discharging, and indicates charging. Storage power is constrained by power limits and a ramp rate constraint:
Let (kWh) be the storage capacity, and be the charging and discharging efficiencies, and SOC be the state of charge. Using , the SOC update is:
The grid-side net power is defined as Based on , we compute peak power demand, interval energy consumption, and (optionally) interval carbon emissions as defined in Section 3.1, enabling a joint evaluation of service and energy/emissions performance under a common time-series simulation.
The Poisson arrival assumption and simplified energy consumption model adopted in this study aim to establish a computable and optimizable framework. The actual passenger flow may exhibit spatio-temporal correlations (such as concentrated arrivals after a meeting). Future work can introduce non-homogeneous Poisson processes or distribution modeling based on actual data. In terms of energy consumption, details such as door machine losses and motor efficiency curves can be further integrated into the energy storage control model to improve accuracy. The current simplified model has demonstrated good robustness in the experimental scenarios and provides a structural foundation for subsequent refined expansion. In addition, the traction power model is a simplified representation of the energy consumption of elevator operation. The static load and reference power can be calibrated based on the elevator’s nameplate parameters and typical energy consumption curves. More detailed physical models (such as considering the motor efficiency curve, car weight, and balance coefficient) can be integrated into this framework as an improved power calculation module, without affecting the logic of high-level scheduling decisions.
3.3. Formalizing the Constrained Optimization Problem
Building on the metric system and simulation model above, we formulate resilient elevator group control as a constrained optimization problem that prioritizes service reliability while also accounting for disturbance recovery performance and energy-related constraints. Service commitments are treated as hard requirements. Given these requirements, the formulation further limits extreme congestion risk and controls peak demand and energy use within feasible power-and-storage boundaries. The planning and execution layers share the same metric definitions and constraint set, differing only in decision granularity (time scale) and solution approach.
3.3.1. Service Stability and Tail-Risk Constraints
Let the evaluation horizon contain discrete time steps, and let the rolling-window 90th-percentile waiting time sequence be The service-level agreement (SLA) is expressed as a time-coverage constraint:
where is the waiting time threshold and is the allowable fraction of time steps that may violate the threshold.
To prevent cases where average performance (or even coverage) appears acceptable while short periods suffer severe deterioration, we define the threshold exceedance at time as and impose a tail-risk constraints. Specifically, we use Conditional Value-at-Risk (CVaR) to capture extreme waiting-time risk [41,42,43]:
where CVa is computed from rolling-window samples as defined in Section 3.1 and bounds the average loss in the worst 5% of waiting outcomes.
3.3.2. Power, Storage, and Energy Consumption Constraints
Energy-side constraints are imposed on the grid-side net power . First, peak demand is enforced via a per-step constraint:
where denotes the admissible capacity limit (or peak-demand cap). When an energy storage system is available, storage power and state of charge (SOC) must satisfy physical and safety constraints: which prevent infeasible instantaneous peak shaving and unstable control oscillations. Interval energy consumption and (optionally) interval carbon emissions are defined as:
where is the time-varying grid carbon intensity. When is unavailable, we use as a proxy for emissions and clarify its applicable scope in the experimental section.
3.4. Cross-Layer Unified Modeling of Service–Energy Constrained Resilient Scheduling
It is important to emphasize that the power, energy-consumption, and (optional) carbon-emission models introduced above are not merely used for ex post reporting. Instead, they constitute a shared modeling basis for both the planning and execution layers, ensuring that decisions at the two layers are evaluated under the same metric definitions and constraint conditions. In this study, resilient elevator group control is framed as a hierarchical solution process: under a common set of service-reliability, tail-risk, and energy-related constraints, the offline stage screens robust baseline policies on a slower time scale, while the online stage performs constrained adjustments of the baseline on a faster time scale. This design avoids mismatches between offline planning and online execution in terms of objectives and constraints.
Under the discrete time framework, the evaluation horizon consists of K time steps. The key system variables can be represented as the time series where is the rolling-window 90th-percentile waiting time, is the exceedance relative to the SLA threshold, is the grid-side net power, and is the energy storage state of charge. The evolution of these quantities is jointly determined by the selected mode-card configuration, stochastic demand disturbances, and the operational limits imposed by power-and-storage constraints.
On the service side, constraints are jointly specified by SLA time coverage and tail risk control:
where is the waiting time threshold, and and regulate service stability and extreme-experience risk, respectively.
On the energy side, limitations are expressed through an upper bound on grid-side net power and feasible operating bounds for storage. Specifically, net power at any time must satisfy , and the storage state of charge is required to remain within its safe range, . Moreover, the storage charging/discharging power is constrained not only by its maximum power capability, but also by a bound on the change between consecutive time steps (see Section 3.3.2). This prevents instantaneous jumps in control commands and ensures implementability with respect to device dynamics and the execution layer.
Under the above constraint set, resilient elevator group control can be summarized as a cross-layer consistent optimization statement: subject to hard service and energy constraints, minimize a composite operating cost that includes energy use and tail-risk terms, for example, , where the expectation accounts for both scenario uncertainty and operational randomness, and is a risk-tradeoff parameter. This unified problem is not solved directly at a single time scale. Instead, it is addressed through hierarchical decision-making: the offline stage performs robust screening and outputs baseline policies and boundary parameters, while the online stage conducts safe fine-tuning within the same constraints. The two stages share the same objective structure and constraint set, differing only in the time scale of decision variables and the solution methodology. To facilitate the understanding of the information flow and decision logic between the two layers, Figure 2 illustrates the coordination between the planning and execution layers, providing a structural reference for the subsequent method sections.
Figure 2.
Coordination workflow between the planning layer and the execution layer in the proposed resilient scheduling framework.
3.5. Interfaces Between Offline Screening and Online Adjustment
Building on the cross-layer modeling framework above, this section organizes the outputs of Section 3 into three interface objects. These objects connect offline policy screening with online policy adjustment, and they serve as shared inputs for the method designs in Section 4 and Section 5.
First, a mode card specifies a selectable baseline operating policy. Each mode card is defined by a set of operational parameters, such as service intensity level, zoning configuration, or dispatch weight settings, and it includes stability-related settings (e.g., a minimum dwell time) to prevent overly frequent switching. In addition, each mode card reports a summary of its service, resilience, and energy-related performance across representative disturbance scenarios, providing a transparent basis for interpretation and comparison. Second, an emergency switching card is designed for extreme disturbances or degraded equipment conditions. Compared with the mode card, its configuration is intentionally more conservative, prioritizing the satisfaction of SLA-related constraints. When the system experiences severe disturbances or reduced capacity, the emergency card allows limited sacrifices in energy use or comfort to maintain operational stability. Third, safety boundaries are determined by the planning layer and treated as fixed constraints in the execution layer. They include the waiting time threshold, , the allowed proportion of SLA violations, , the peak-power limit, , the safe SOC range, and stability limits related to the switching behavior. These boundaries define the admissible action region for online adjustments, ensuring that online fine-tuning remains within both service and energy constraints.
With these interfaces in place, Section 4 focuses on offline screening of mode cards and emergency switching cards, while Section 5 develops online adaptive adjustments under the specified safety boundaries, forming a resilient scheduling methodology tailored to strong disturbance operating conditions.
4. Planning Layer: SAA+CVaR-Based Mode-Card Screening
This section addresses the planning layer decision problem for elevator group control under strong disturbances and multiple, potentially conflicting objectives. We develop a planning layer method that balances interpretability with statistical robustness. The core idea is to represent implementable operating strategies using a finite set of mode cards and then evaluate each candidate across a standardized scenario set using repeated independent sampling. Sample Average Approximation (SAA) is used to estimate performance metrics from simulation runs [14,46]. Subject to constraints that enforce service stability and limit extreme (tail) user experience risk, the remaining candidates are compared and ranked using energy-side metrics such as peak power and total energy consumption. The planning layer output is a deployable plan consisting of a primary card, one or more emergency cards, and their associated entry and exit thresholds. Unlike a direct solution of a high-dimensional, nonconvex global optimization problem, this approach operates over a discrete candidate set and relies on reproducible sampling-based evaluation, making it well-suited for providing both baseline policies and constraint inputs to the execution layer.
4.1. Method Overview
Let denote the discrete candidate set of mode cards, where each mode card specifies a fixed set of operating parameters. Let be the scenario set, designed to cover typical operating conditions such as commute peaks, off-peak periods, bursty surges (e.g., event dispersal), and local degradation. For any , we run simulation-based evaluation under independent samples, (or equivalently, historical slices), producing a sample sequence of stochastic performance outcomes, . Each simulation run reports service metrics (e.g., and SLA compliance), tail-risk measures (e.g., computed on the high-quantile waiting sequence or an exceedance sequence), resilience metrics (e.g., Time to Recovery () and Resilience Area ()), and energy-side metrics (e.g., interval energy, , and peak power, ). SAA replaces the expectation terms and risk constraints with their sample-based statistics, thereby converting the planning problem into screening, feasibility checking, and multi-criteria ranking over a finite candidate set.
To make the procedure explicit, Figure 3 summarizes the full screening workflow, from the candidate mode and scenario inputs to sampling-based evaluation, risk-constraint filtering, multi-objective ranking, and, finally, the selection of a primary card and emergency card(s).
Figure 3.
Flowchart of the mode-card screening process based on SAA and CVaR constraints.
4.2. Constructing and Interpreting the Candidate Space
The candidate space is constructed to ensure that the parameters are interpretable, policies are implementable, and comparisons are reproducible. Each mode card is defined primarily by a small number of discrete operating levels and service-intensity weights—for example, energy-saving, normal-speed, and intensified levels—together with their associated effective service rate adjustment factors that capture how the policy changes the handling capacity. When energy management is available, additional conservative coefficients for energy recovery and charge/discharge can be included to stabilize energy-side control and reduce volatility induced by aggressive adjustments.
To control combinatorial growth and evaluation cost, we adopt tiered and interval-based parameter design so that the candidate size, , remains on the order of tens to a few hundreds. This scale supports statistically robust comparisons under multi-scenario, multi-sample evaluation.
The candidate mode card set, , is formed by combining several types of control options that can actually be executed in the field into “limited gears”. For example, several gears for speed/service intensity, several configurations for zoning or parking strategies, several weight settings for priority rules for dispatching, and conservative settings for energy recovery/storage control. We first use a set of simple and clear rules to eliminate the obviously unusable combinations (such as those that do not meet the minimum stay and cooling time requirements, violate power or SOC safety boundaries, or have insufficient service capacity to remain above the threshold for a long time). Therefore, the final is generally controlled within a range of several tens to several hundreds, which can cover the main strategy types while not allowing the evaluation cost to get out of control. The Algorithm 1 in the following text takes as the input and uses the constraints of SAA+CVaR in multi-scenario simulations to further eliminate the non-compliant candidates, ultimately leaving the mode cards that are executable, explainable, and pass the risk indicators.
| Algorithm 1: Mode-Card Selection Based on SAA+CVaR |
| Input: mode set scenario sample set risk level SLA threshold peak limit target number |
| Output: selected mode-card set ; scenario peak baseline |
| 1. Initialize feasible mode set . |
| 2. For each mode |
| 3. Initialize . |
| 4. For each scenario |
| 5. Simulate elevator system under with . |
| 6. Obtain . |
| 7. Append into . |
| 8. End for |
| 9. Compute averages: |
| 10. Sort to obtain . |
| 11. Compute . |
| 12. Compute CvaR: |
| 13. Constraint evaluation: , |
| 14. If and |
| 15. |
| 16. End if |
| 17. End for |
| 18. Rank all using , and resilience indicators. |
| 19. Select best : |
| 20. For each scenario , set to the worst-case peak power among selected modes. |
| 21. Return and . |
To remove ambiguity, we clarify that a ”mode card” is a deployable, fixed operating configuration drawn from the candidate set, . Each mode card, , specifies a concrete set of implementable control settings (e.g., service-intensity/speed level, zoning or parking configuration, and discretized dispatch-priority settings; when energy management is enabled, conservative settings for regenerative capture and storage operation are also included). In addition, a mode card includes stability settings already used in this paper (such as minimum dwell time and switching cooldown) to prevent excessive oscillations, and it is accompanied by a scenario-based performance summary computed over the scenario library, . Concretely, Algorithm 1 evaluates each under and records the corresponding service and risk metrics (e.g., and , recovery metrics (TTR and ResArea), and energy/power metrics (e.g., , which are then used for feasibility screening and ranking.
In addition, each mode card reserves fields for entry and exit thresholds. These thresholds are defined over observable signals—such as rolling WT90, queue length, or SOC—and specify when to switch from the primary card to an emergency card and when to exit the emergency state. The threshold selection procedure is provided in Section 4.5 via data-driven scanning together with constraint checks.
4.3. Scenario Coverage and Sampling Design
The scenario set, , is designed to capture representative variations in both demand and effective service capacity within a controlled problem size. On the demand side, includes multiple shapes of time-varying arrival profiles, such as single-peak commute periods (morning/evening peaks), short and intense bursts associated with event dispersal, and midday bidirectional flows. On the supply side, incorporates capacity changes induced by equipment condition or operational restrictions, including partial degradation, temporary speed limits, and occasional car unavailability. Each scenario is specified by an arrival rate trajectory together with a time-varying adjustment to service capacity; when carbon or tariff analysis is required, the scenario additionally provides time series of electricity price and grid carbon intensity.
To reduce sampling error and to differentiate improvements in average performance from robustness under extreme conditions, we evaluate each mode card–scenario pair using N independent Monte Carlo replications (with the simulation step size and rolling-window settings matching those in Section 3). For each pair, we record sample means, quantile-based statistics, and tail statistics for all relevant metrics, and we report confidence intervals or stability summaries when needed. This sampling design supports more reliable feasibility screening and ranking of candidates: it helps avoid selecting strategies that look favorable on averages but still exhibit tail deterioration under strong disturbances, and it yields a more robust baseline policy set to be used as constraint inputs for the execution layer.
For each (mode card, scenario) combination, we conduct independent simulation runs to calculate the sample statistics of performance indicators. The value of N is determined based on the preliminary convergence experiments: we observed the changes in the sample means of key indicators (such as average WT90, ) as N increases. When , the variation in these indicators is usually less than 5% of their sample standard deviation, and it is considered to be basically stable. Therefore, in the planning layer screening, is set to achieve a balance between reliability assessment and computational cost. In the online learning training of the execution layer, the evaluation of each strategy also adopts the same standard.
4.4. Hierarchical Optimization Under SAA and CVaR Constraints
Mode card screening follows a constraint-first principle. We first verify whether a candidate mode card satisfies the requirements on service stability, extreme user-experience risk, and recovery behavior. Only after these conditions are met do we compare energy-side outcomes such as total energy and peak power, selecting solutions that are more robust across scenarios. Let denote the waiting time threshold that defines the WT90-based service commitment, let be the tail-risk level (e.g., ), and let be the planning layer peak-power budget. Let the candidate set of mode cards be , and let the scenario set be Ω. For each mode card, , and scenario, , we run N independent replications and obtain metric realizations such as , , and others.
For service and resilience, we approximate the following constraints using sample statistics. These constraints can be enforced either after aggregating across scenarios or on a scenario-by-scenario basis; the two choices correspond to different robustness requirements: (1) SLA coverage constraint, ; (2) extreme experience risk constraint, , and (3) recovery performance constraints, .
On the power side, we consider two complementary formulations. The first is an optional probability-style requirement on peak compliance, for example, . The second incorporates peak exceedance into the objective via a penalty, reducing both the magnitude and frequency of peak violations. After enforcing the service and resilience constraints, we compare candidates on energy and peak-related criteria using a second-stage objective of the SAA form: , where denotes interval energy consumption, is the switching cost, , and and are weighting coefficients. This hierarchical structure makes tail-waiting risk explicitly controlled through CVaR while treating peak power as either a hard gate or a tunable penalty term that is jointly evaluated with energy, thereby aligning the planning layer screening logic with the constraint formulations used in the execution layer (Section 5).
4.5. Threshold Rules and Mode-Card Parameterization
For each mode card that passes screening, we further specify the threshold rules that govern when the system enters an emergency card and when it returns to the baseline mode, so that the execution layer can operate stably online. We use a data-driven scanning procedure. Specifically, we select an observable trigger variable—such as rolling WT90, queue length, or SOC—and enumerate a set of candidate threshold combinations. For each candidate, we evaluate how SLA coverage, peak power, and energy consumption change under the same scenario set and simulation settings. We then choose an entry-threshold interval that satisfies the service constraints while yielding lower energy use and more controlled peak demand.
The exit threshold is typically set to require a clearer recovery than the entry condition, and it is paired with stability settings such as minimum dwell time. Together, these choices form a hysteresis-type switching rule that reduces performance fluctuations caused by frequent switching. The planning layer output is finalized as a package consisting of one primary card, several emergency cards, and their corresponding entry/exit threshold intervals; this package serves as the baseline policy and the constraint input for the online method in Section 5.
4.6. Illustrative Example
To make the screening logic concrete, we provide a simplified example. Consider an elevator group with c = 4 cars; simulation step, Δt = 5 s; rolling window, W = 300 s; and waiting time threshold, . Under a morning peak scenario, we evaluate three candidate cards using N = 10 independent replications and obtain the summary statistics in Table 3.
Table 3.
Example of mode-card screening results.
Under the constraint-first principle, card A is rejected because its average exceeds the threshold, and its SLA coverage is low, failing the service requirement. Card C achieves the best service metrics, but its peak power is substantially higher than that of Card B. When we set = 13.5 kW and include a penalty term in the objective, Card B can become the primary card because it satisfies the service constraints while keeping peak demand more controlled; card C is better suited as an emergency card. In this case, the entry condition can be defined using signals such as sustained WT90 threshold exceedance or persistent queue growth, and the exit condition can require WT90 to fall back below the threshold while meeting the minimum dwell time. This example highlights the planning layer’s hierarchical decision logic: feasibility with respect to service comes first, followed by energy-side trade-offs within the feasible set.
Although offline screening requires multiple simulations, its output (mode cards and safety boundaries) has good temporal stability and can support weekly or monthly updates without the need for daily recalculation. In the future, the simulation process can be replaced with a trained agent model (such as a neural network), further reducing the computing time to minutes, to support more frequent strategy updates.
4.7. Algorithmic Implementation: Mode-Card Screening with SAA and CVaR (Algorithm 1)
Algorithm 1 summarizes the complete planning layer workflow implied by the hierarchical optimization above. The algorithm takes as inputs the candidate mode card set, ; the scenario library, Ω; the number of replications, N; the risk level, α; and the threshold parameters on the service and energy sides. It proceeds by (i) running independent simulation replications for each candidate card under each scenario; (ii) computing SLA coverage, CVaR-based tail-risk metrics, and resilience metrics to filter infeasible candidates; (iii) ranking and selecting candidates within the feasible set using energy and peak-power criteria; and (iv) scanning entry/exit threshold intervals for the selected primary and emergency cards to finalize the planning layer outputs.
The outputs of Algorithm 1 are the finalized mode card set (including primary and emergency cards) together with the associated peak-budget parameter, . These outputs constitute the main deliverables of the planning layer and are directly passed to the execution layer safe reinforcement learning module for online fine-tuning (Section 5 and Algorithm 2).
| Algorithm 2: Lagrangian Safe Reinforcement Learning with Action Masking |
| Input: Env; , , η _λ; ; T |
| Output: trained policy . |
| 1. Initialize , . |
| 2. Initialize Lagrange multipliers: |
| 3. Define action mask: mask = 0 if action violates constraints; otherwise 1. |
| 4. For iter |
| 5. Reset environment: Env.reset(). |
| 6. For each episode |
| 7. For |
| 8. Sample raw action . |
| 9. If mask = 1 → ; else . |
| 10. Execute action: ← Env.step. |
| 11. Read and . |
| 12. Constraint costs: , |
| 13. Store transition . |
| 14. End for |
| 15. End for |
| 16. Estimate and using and . |
| 17. Lagrangian-adjusted reward: |
| 18. Update using PPO with . |
| 19. Update value network by minimizing squared error. |
| 20. Compute average violations: |
| 21. Update multipliers: |
| 22. End for |
| 23. Return |
| where denotes projection onto the nonnegative region. |
5. Execution Layer: Online Adaptive Fine-Tuning with Safe Reinforcement Learning
The execution layer is designed for online operation under strong disturbances and nonstationary passenger flows. Its purpose is not to re-solve a global optimal control problem but to perform small, tightly bounded, fast-response, and reversible adjustments to a few key decision variables while remaining within the mode cards and safety boundaries issued by the planning layer. The execution layer therefore focuses on the improvement under constraints: at every moment, SLA requirements and hard limits on power and energy storage must be satisfied. When uncertainty increases, if policy outputs become unstable or risk accumulates rapidly, the system can immediately revert to the planning layer baseline mode or an emergency mode, ensuring that online adjustments remain consistent with the offline baseline in both constraints and objectives.
5.1. CMDP Formulation: States, Actions, Rewards, and Constraints
We model execution layer decision-making as a constrained Markov decision process (constrained Markov decision process, CMDP) [35,36,47]. At each discrete decision time, , the observed state, , aggregates key information relevant to service, operations, and energy, including window-based arrival intensity and its rate of change, zone-level queue lengths and overtime fractions, car positions and loads, the index of the currently active mode card, the state of charge (SOC) of the energy storage system, and exogenous signals such as time-of-use electricity prices or time-varying grid carbon intensity.
An action, , represents a local correction to the planning layer baseline policy, such as short-term adjustments to zoning parameters, modifications to dispatch priority weights, fine adjustments to speed-limiting and de-limiting decisions, or updates to the power bounds for regenerative recovery and charge/discharge operations. To ensure physical realizability and control feasibility, the action space is constrained by minimum dwell time requirements, limits on the rate of action changes, and equipment capability bounds.
The execution layer objective is to minimize the operating cost subject to service and energy constraints, which can be equivalently written as maximizing a discounted return:
where includes energy- and peak-related costs, policy-switching costs, and smoothness penalties to discourage frequent micro-adjustments that could induce oscillatory control behavior. The constraint cost signal, , quantifies the degree of violation of service and energy limits. For the service constraint, for example, we may define:
and extend to include net power limits, SOC bounds, and other energy-side constraints. This formulation places online adjustment explicitly within a constrained optimization framework, providing a unified basis for safe learning and the constraint enforcement mechanism described next.
5.2. Action Masking and Safety Projection Mechanism
To ensure that online decisions never breach the prescribed safety boundaries, we introduce an action masking and safety projection mechanism before policy execution, so that hard limits are enforced in a structured, priority-first manner. Concretely, at each decision time, we evaluate the feasibility of candidate actions using either a short horizon predictive model or a rolling simulation. The short horizon prediction is based on a lightweight model that extrapolates recent system states (e.g., arrival rates, queue lengths, and WT90 over the past 5–10 min) over the next 1–2 decision steps (Δt = 5 s). We employ simple exponential smoothing or linear trend estimation for this purpose, which incurs negligible computational overhead (on the order of milliseconds) and introduces minimal latency compared to the decision interval. If an action is predicted to cause to exceed the threshold, , or to violate energy-side limits such as net power caps or SOC bounds, that action is removed and cannot be executed. To enhance robustness against potential prediction inaccuracies during highly volatile periods, we implement a simple variance check on the recent state history (e.g., the variance of arrival rates over the last 10 windows). If this volatility exceeds a conservative threshold—indicating a high prediction uncertainty—the fine-tuning module is temporarily suspended, and the system reverts to executing the current baseline mode card until the observed state stabilizes. When the action space is continuous or hybrid, the policy first proposes a candidate action, which is then mapped into the feasible set (e.g., by projecting to the nearest admissible action), ensuring that executed actions remain within allowed boundaries.
This mechanism separates two questions: (i) whether an action is feasible and admissible under the constraints, and (ii) how to improve performance given feasibility. The former is handled by constraint checking and feasible set mapping, preventing constraint violations due to online exploration or estimation errors. The latter is addressed by safe reinforcement learning operating within the feasible set, improving the return while enhancing responsiveness under strong disturbances and stabilizing the recovery process.
5.3. Lagrangian Safe Reinforcement Learning: Multiplier Updates and Stable Training
Building on the action-masking and feasible-set projection mechanism, the execution layer further adopts Lagrangian dual safe reinforcement learning to achieve finer-grained performance improvements near constraint boundaries. The key idea is to incorporate constraint costs into the learning objective, use multipliers to quantify constraint pressure, and adaptively tune the penalty strength during training. The Lagrangian objective is:
where is the reward term (composed of energy use, peak-related costs, switching costs, and smoothness penalties), and is the constraint cost signal (e.g., a service constraint cost such as , and it can also include constraints on the power cap and the SOC range). The multiplier, , is updated via primal–dual iterations: when constraint costs remain elevated over a period, increases so that policy updates place more emphasis on constraint satisfaction; when the system returns to a safe region and remains stable, gradually decreases to avoid overly conservative behavior.
For function approximation, the execution layer adopts an actor–critic architecture with shared representations. The critic estimates the dual-augmented value function, while the actor improves the policy within the feasible action set after action masking. To stabilize training and reduce oscillations induced by high-frequency micro-adjustments, we introduce two regularization designs. First, switching costs are explicitly included in the reward to discourage frequent changes in operating modes. Second, we penalize action variation (e.g., a total variation term based on differences between consecutive actions) to suppress high-frequency fluctuations in control signals. In addition, trajectory segments close to constraint boundaries are reweighted or sampled with higher priority, making learning more sensitive to extreme waiting conditions and power spikes. Without altering the underlying CMDP structure, these designs help reduce both the frequency and duration of constraint violations while improving recovery efficiency and operational smoothness during disturbance periods.
To integrate Lagrangian safe learning with action masking into an operational training procedure, we organize execution layer training as an iterative loop of interactive sampling, feasible action filtering, and alternating primal–dual updates; the steps are summarized in Algorithm 2. Algorithm 2 takes the planning layer outputs—mode cards and safety-boundary parameters (e.g., and the SLA threshold )—as fixed inputs. During sampling, each candidate action is checked for feasibility and then processed by action masking/projection; during the optimization, actor–critic updates are performed for policy parameters, while the Lagrangian multiplier is updated based on the average extent of constraint exceedance. This design makes the policy automatically more cautious when operating close to boundaries and gradually restores room for performance improvement when operating with sufficient safety margin. Importantly, Algorithm 2 is not intended to search for a globally optimal policy from scratch. Instead, it performs bounded, adaptive adjustments of a small set of controllable online decision variables within the baseline modes and safety boundaries provided by the planning layer. This positioning improves responsiveness and recovery stability under strong disturbances and ensures that when online adjustments become unstable or risk rises, the system can immediately stop fine-tuning and revert to the planning layer baseline mode or an emergency mode.
5.4. Online Fine-Tuning Policy: Triggering, Updates, and Reversion Mechanism
Online execution in the execution layer relies on threshold rules issued by the planning layer together with real-time monitoring signals to decide when to activate fine-tuning and how tightly its magnitude should be bounded. Trigger conditions can be defined by multiple signals, such as a sustained rise in arrival intensity over consecutive windows, a rapid increase in the fraction of overdue passengers in the queue, approaching the threshold, , or net power and SOC approaching their admissible boundaries. Once triggered, the execution layer updates fine-tuning recommendations at a minute-level frequency, while the lower-level actuation applies magnitude limits and rate-of-change limits at a finer time scale. This coordination aligns online actions with planning layer stability requirements—such as minimum dwell times and switching cooldown times—and reduces performance variability caused by frequent switching.
In the future, state observation, , can be enhanced by integrating short-term passenger flow predictions (such as based on cameras, WiFi probes, or historical patterns), enabling the strategy to respond proactively to upcoming passenger flow changes and achieving more active scheduling optimization. For example, 5 min before the end of a meeting, the system can switch to a high-capacity mode in advance, thereby further reducing the tail waiting time.
To mitigate uncertainty risks in the early stage of online learning, the execution layer first uses behavior cloning (behavior cloning) on near-optimal trajectories generated by the planning layer under representative scenarios, initializing the policy to a conservative but usable baseline. Training then gradually introduces exploration while remaining constrained by the action masking mechanism at all times. When the feasible action set shrinks substantially, short-horizon prediction uncertainty increases markedly, or policy outputs exhibit abnormal volatility, the system automatically reverts to the planning layer baseline mode or an emergency mode; once the operating state becomes stable again, fine-tuning can be resumed. To support human-in-the-loop operation and interpretability, the execution layer outputs not only the recommended action but also the trigger rationale and a short-horizon impact assessment on key metrics (service- and energy-related indicators). After the execution, state–action–reward/constraint trajectories are fed back to the training module for subsequent policy updates.
Figure 4 summarizes the overall structure and information flow of the execution layer. With planning layer safety boundary parameters (e.g., and ) treated as fixed constraints, the online decision process is organized into modules for state observation, constraint checking, action masking and feasible set projection, safe policy optimization (CMDP with Lagrangian dual updates), and reversion control. Under this structure, the system can achieve local, adaptive improvements while strictly satisfying hard service and energy constraints, thereby producing faster recovery dynamics and smoother operation under strong disturbances.
Figure 4.
Online fine-tuning architecture of the execution layer based on safe reinforcement learning.
6. Experiments and Results
This section evaluates the proposed two-layer framework—robust screening in the planning layer coupled with safe fine-tuning in the execution layer—using a discrete time, coupled simulation testbed. The presentation follows a consistent progression from an experimental setup to metric definitions, main results, robustness checks, and ablation analysis. The goal is not to optimize a single scenario for the best numerical outcome but to address a more general validation question: under coexisting operational disturbances and fluctuating energy price/carbon intensity signals, can the proposed method (i) satisfy service constraints, (ii) consistently reduce tail waiting and resilience loss, and (iii) keep peak power within an acceptable range?
6.1. Experimental Setup and Scenario Library
We evaluate the framework in a coupled simulation environment that integrates the arrival process, operational dynamics, and the energy model. The simulator advances in discrete time with step size . Service statistics are computed using a rolling window of width of W = 300 s. The elevator group size is fixed at , and the SLA waiting threshold is set to . All outputs are recorded as time series, including rolling waiting time quantiles, tail-risk measures, queue length and overdue ratios, net power demand, and the storage state. This unified logging supports apples-to-apples comparisons between planning layer offline evaluation and execution layer online training under identical data definitions.
The scenario library is constructed by combining (i) time-of-day regimes, (ii) disturbance types, and (iii) energy price/carbon intensity signal profiles. Within each scenario class, we further vary disturbance intensity to cover a broader operating range. We focus on three representative scenarios:
1. morning_peak: sustained high arrival intensity with stochastic fluctuations, used to test service stability and tail risk control under persistent congestion;
2. event_disperse: short-duration burst arrivals, used to test shock absorption and recovery under abrupt congestion;
3. partial_outage: temporary reductions in effective service capacity (e.g., partial shutdown or degraded operation), used to test resilience under capacity loss and the safety of online adjustments.
To prevent leakage between training and evaluation, the scenario samples are split into training, validation, and test sets by random seeds. The planning layer screening uses only the training and validation sets for evaluating candidate mode cards and selecting parameters. Execution layer training is performed on the training set, with model selection based on the validation set. Final results are reported on an independent test set to reflect generalization across scenarios and disturbance intensities.
The three scenarios selected for this experiment (continuous peak, event evacuation, partial outage) cover the typical non-steady-state operation modes in high-rise buildings. Although hospitals and shopping malls, which are heterogeneous buildings, were not directly tested, the core mechanism of this method—offline planning based on queuing risk assessment and online safety reinforcement learning—has scene structure independence. In the future, by adjusting parameters (such as passenger capacity, floor distribution, and passenger flow patterns), cross-building migration can be achieved, which is also the focus of our next research.
6.2. Baselines, Ablations, and Implementation Details
We construct comparison methods across three tiers: rule-based baselines, planning-only methods, and online learning methods. This set includes practical baselines, as well as ablation variants designed to isolate the roles of key components.
Baselines:
(1) rule_fixed (heuristic rules): fixed thresholds with fixed action rules, representing conventional rule-based dispatch;
(2) plan_card (planning only): runs solely with the planning layer mode cards and switching thresholds without online fine-tuning;
(3) rl_no_constraint (RL without safety constraints): applies reinforcement learning in the execution layer but removes explicit safety boundaries and action filtering, serving to quantify the risk of boundary violations when learning is unconstrained.
Ablation variants.
(4) plan_no_cvar (planning without CVaR): removes tail-risk constraints in planning layer screening, testing the contribution of CVaR to suppressing tail waiting and resilience loss;
(5) rl_no_mask (execution without action filtering/projection): retains Lagrangian primal–dual updates but removes action masking/feasible set projection, testing the role of constraint-first mechanisms in preventing violations and peak-power shocks.
In the implementation details, we report only the information necessary for reproducibility and interpretation. The execution layer uses an actor–critic architecture with Lagrangian primal–dual updates to handle constraints. To mitigate cold-start issues, the policy is initialized via behavior cloning from representative trajectories generated by the planning layer and then refined with constrained exploration that gradually incorporates online feedback. The remaining hyperparameters, stopping criteria, and policy selection rules are consolidated in the appendix to limit main text length and reduce reporting bias.
This paper did not conduct any additional experiments on the scale sensitivity of ||, because itself is obtained through the discrete combination of executable options and rule filtering. A scale ranging from several tens to several hundred scenarios can already cover the main strategy types, and, at the same time, it can ensure that the simulation screening (Algorithm 1) can be completed within an acceptable computational cost; further systematic expansion of a larger scale would significantly increase the simulation cost, and further work will be carried out in the future.
6.3. Evaluation Metrics and Statistical Testing
We report five groups of evaluation metrics, all defined in Section 3 and kept consistent across scenarios and competing methods. The first group captures SLA and service stability, including the rolling 90th-percentile waiting time, , and the SLA compliance ratio, . The second group measures tail risk, using of waiting time to quantify the severity of long-tail congestion; when needed, we additionally report or as complementary high-quantile indicators. The third group consists of resilience process metrics, including Time to Recovery () and the resilience loss area (), which characterize the duration of threshold exceedance and the accumulated loss after a disturbance. The fourth group covers energy-related metrics, including peak power demand, , and interval energy consumption, ; when time-varying carbon-intensity data are available, we further report interval emissions, , and we also report energy per unit of served demand when necessary to control for demand scale differences. The fifth group captures control cost and stability, including the number of policy switches, action total variation, and the number of violations of minimum dwell time or cooldown constraints, reflecting the stability and implementability of online adjustments.
For statistical reporting, we run each method under multiple random seeds and report the mean together with its confidence interval for each scenario. For the key comparison—typically the execution layer safe RL method versus the planning-only baseline—we use a two-sided nonparametric permutation test to avoid strong distributional assumptions. When the samples are approximately normal with stable variance, we additionally report a paired t-test as a consistency check. To interpret dynamic differences beyond aggregate tables, we also provide time-series profiles under representative disturbances, including the evolution of , the exceedance signal, , and net power, , to reveal behavioral differences and mechanism-level drivers during the recovery phase.
6.4. Main Results: Overall Performance Comparison
To assess the overall performance of the two-layer resilient scheduling framework, Table 4 summarizes the key metrics of five strategies across three representative scenarios (morning_peak, event_disperse, and partial_outage). All results are based on 30 independent random seeds and are reported as means. The comparison covers service reliability (), tail-waiting risk ( of waiting time), peak power demand (), recovery time (), and resilience loss area ().
Table 4.
Overall performance comparison between plan-card (SAA) and RL (SLA-first + peak-constrained) across three scenarios.
Table 4 reports an overall comparison between the proposed execution layer RL controller and the planning layer baseline across three representative scenarios (morning_peak, event_disperse, and partial_outage). The metrics include service reliability (), tail-waiting risk ( of waiting time), peak power demand, recovery time (TTR), and resilience loss area.
Across the three scenarios, the proposed execution layer RL controller shows clear quantitative advantages on the key resilience targets while keeping peak-power commitments bounded. Under morning_peak, increases from 0.389 to 0.411 (+5.7%) and decreases from 145 to 125 (−13.8%), with unchanged at 16.7. Under event_disperse, RL delivers the most substantial tail-risk and cumulative loss reductions, with decreasing from 145 to 110 (−24.1%) and ResArea decreasing from 566.958 to 424.708 (−25.1%), indicating more effective suppression and dissipation of extreme waiting outcomes under bursty shocks.
Two scenario-dependent trade-offs are also observed but do not overturn the overall benefit. In event_disperse, decreases from 0.578 to 0.417, reflecting a design preference to compress the worst tail and shorten severe degradation periods rather than maximizing time coverage compliance in every rolling window. In partial_outage, RL improves from 0.394 to 0.456 (+15.7%) and reduces TTR from 9.000 to 8.083 (−10.2%) with still fixed at 16.7, while and ResArea increase, suggesting that under capacity loss, the current objective favors faster return to basic compliance over strict tail-risk suppression. Overall, these results indicate that the two-layer architecture provides a practical advantage in resilience management, and the remaining trade-offs can be further mitigated by tuning the risk weights and constraint margins.
To complement the aggregate results in Table 4, Figure 5 presents the time-series comparison of and net power under the morning_peak scenario, illustrating the dynamic evolution of service quality and energy demand during sustained congestion.
Figure 5.
Time-series comparison of and net power demand under the morning_peak scenario.
Figure 5 complements the aggregate statistics in Table 4 by illustrating how service quality and net power evolve during sustained congestion. Relative to the plan card baseline, the RL controller suppresses high-percentile waiting spikes more quickly while keeping net power within the same capacity envelope. Peak-power excursions are avoided even during periods of aggressive service recovery, indicating that the execution layer micro-adjustments remain consistent with the planning layer constraints.
Across the three scenarios, the execution layer safe RL method shows more consistent advantages in tail risk control and recovery dynamics without increasing peak-power commitments. Under morning_peak, RL improves from 0.389 to 0.411 and reduces by roughly 14%, suggesting more effective suppression of high-quantile waiting fluctuations under sustained demand pressure; meanwhile, peak power remains unchanged, confirming that online fine-tuning does not exceed the planning layer capacity boundary. Under event_disperse, RL achieves a more substantial reduction in tail-waiting risk and resilience loss area, but decreases, indicating that under abrupt demand bursts, the policy prioritizes compressing the worst waiting tail and accelerating risk dissipation—consistent with the constraint-first online formulation in Section 5. Under partial_outage, RL delivers a higher and a shorter recovery time, indicating that constrained online adaptation can better stabilize service and speed recovery under degraded capacity while still respecting power constraints.
Overall, Table 4 and Figure 5 jointly suggest that planning-only strategies provide a reliable baseline under relatively steady conditions but lack flexibility under severe disturbances and capacity degradation. Introducing a lightweight execution layer safe RL controller enables faster tail-risk suppression and a smoother recovery process within a fixed resource envelope, rather than relying on larger peak-power budgets to maintain service stability.
The framework demonstrates the ability to make scenario-aware trade-offs: under capacity loss (partial_outage), it prioritizes stabilizing the majority service experience () and speeding up recovery (TTR), accepting a moderate increase in extreme tail risk () as a deliberate and bounded compromise. This highlights the method’s flexibility in allocating limited resources according to the nature of the disturbance.
6.5. Robustness and Generalization Analysis
This robustness analysis focuses on two uncertainty sources critical for real-world deployment: intrinsic stochasticity (tested via multiple random seeds) and operational parameter variation (tested via sensitivity to the peak-capacity margin). These tests verify that the performance gains are reproducible under demand/service noise and tunable within resource constraints—forming a practical foundation for operational trust. Broader generalization (e.g., across building types) remains valuable future work.
Table 5 extends the mean comparisons in Section 6.4 by examining distribution-level stability across random seeds and mechanism variants. Relative to the plan_card baseline, the execution layer RL controller shows consistent improvements in the most operationally salient resilience targets, particularly tail-risk and recovery, while keeping peak power within the prescribed envelope. For example, in morning_peak, decreases from 145 to 125, and TTR decreases from 9.083 to 8.750, with peak power remaining at 16.7; in event_disperse, decreases from 145 to 110, and ResArea decreases from 566.958 to 424.708, indicating that the gains are not confined to a single realization but persist across stochastic demand variations.
Table 5.
Effect sizes of RL relative to the plan-card baseline across scenarios.
The robustness patterns are further supported by the mechanism variants. Removing planning layer CVaR screening (plan_no_cvar) leads to large deteriorations in tail behavior and cumulative loss, with rising sharply relative to plan_card across scenarios (e.g., 145 to 330.455 in morning_peak and 145 to 282.1 in event_disperse), accompanied by substantial increases in ResArea (e.g., 597 to 1350.708 in morning_peak and 566.958 to 1072.75 in event_disperse). Disabling execution layer action masking (rl_no_mask) also weakens robustness, with tail-risk and cumulative-loss metrics worsening relative to the constrained RL controller in multiple scenarios (e.g., increases from 110 to 218.409 and ResArea increases from 424.708 to 677.208 in event_disperse). Overall, Table 5 indicates that the observed performance advantages of the proposed method are robust across random seeds and are structurally tied to the two key design choices: risk-aware planning via CVaR screening and safe online adaptation via action masking.
Figure 6 focuses on distributional robustness across scenarios and random seeds, moving beyond mean comparisons to assess whether the observed gains persist under stochastic demand variation. The distributional shifts are consistent with the magnitude of the averaged metrics. Under morning_peak, RL reduces from 145 to 125 (a reduction of 20 or −13.8%) and shortens TTR from 9.083 min to 8.750 min (a reduction of 0.333 min, or −3.7%), while keeping the same peak-power envelope ( remains 16.7). Under event_disperse, RL achieves a larger tail-risk reduction, lowering from 145 to 110 (a reduction of 35 or −24.1%) and decreasing ResArea from 566.958 to 424.708 (a reduction of 142.250 or −25.1%), indicating fewer extreme waiting outcomes and smaller cumulative degradation across random seeds. Under partial_outage, RL increases from 0.394 to 0.456 (an absolute gain of 0.062 or +15.7%) and reduces TTR from 9.000 min to 8.083 min (a reduction of 0.917 min or −10.2%), although increases from 206.026 to 278.7 (an increase of 72.674 or +35.3%), suggesting a different balance between stability and tail suppression under capacity loss.
Figure 6.
Distribution of tail-waiting risk () and recovery time across scenarios and random seeds.
Overall, these distribution-level patterns indicate that the benefits are not driven by a small number of favorable seeds but reflect systematic behavioral differences under uncertainty. From a managerial perspective, the results suggest an actionable governance lever: in persistent peaks and bursty events, the execution layer can be used to curb extreme waiting and reduce cumulative service degradation within a fixed resource envelope, while in degraded capacity regimes the operator may tune risk weights and safety margins to shift the emphasis between maintaining basic SLA coverage and suppressing the worst-tail experiences.
To assess the generalization over practically relevant settings, we conduct a sensitivity analysis with respect to the peak capacity margin. Figure 7 shows that peak power responds smoothly as the margin tightens in morning_peak, indicating well-behaved peak demand control that remains consistent with the planning layer envelope. Figure 8 reports the corresponding trend under event_disperse, where tighter peak constraints gradually reduce SLA coverage, consistent with the framework’s prioritization of tail-risk suppression and recovery under bursty disruptions. Taken together, these results suggest that the main conclusions in Section 6.4 hold across a meaningful parameter range rather than relying on a single tuned configuration.
Figure 7.
Sensitivity of peak power to the peak-capacity margin under the morning_peak scenario.
Figure 8.
Sensitivity of to the peak-capacity margin under the event_disperse scenario.
Robustness in elevator group control should be evaluated by distributional stability—especially tail-risk behavior and recovery variability—rather than mean performance alone. The results indicate that the two-layer architecture provides a controllable governance lever: planners specify interpretable safety and capacity margins, and operators obtain bounded adaptability to absorb shocks without relying on capacity overprovisioning or unstable real-time interventions.
6.6. Ablation Study and Mechanism Discussion
Table 6 isolates the contributions of two key components by quantifying performance degradations when each is removed. Relative to disabling action masking (delta_rl_vs_no_mask), keeping action masking yields sizable gains in service stability and tail control in the more volatile settings. In morning_peak, action masking improves by 0.056 and reduces by 86.417, while peak power remains unchanged (peak_power = 0); it also reduces resilience loss substantially, lowering ResArea by 310.583, although it is associated with a longer recovery time in this comparison ( = +0.833). In event_disperse, the effect is even more pronounced on the risk side: decreases by 108.409 and ResArea decreases by 252.5 with peak power unchanged, while improves by 0.156 and TTR is shorter by 2.333 in the masked version. In partial_outage, action masking delivers smaller but still consistent benefits on tail risk, reducing by 24.982 and slightly improving by 0.011 with no peak-power increase, while changes in recovery and cumulative loss are comparatively modest ( = −0.167; ResArea = +20.75), indicating that under capacity loss, the masking mechanism mainly serves as a safety stabilizer rather than a primary performance driver.
Table 6.
Ablation analysis of key components: action masking and planning layer CVaR screening.
Removing planning layer CVaR screening (delta_plan_vs_no_cvar) produces systematic deterioration in tail-related robustness across all scenarios, showing that risk-aware planning is a prerequisite for preventing extreme congestion. In morning_peak, CVaR-based screening reduces by 185.455 and lowers ResArea by 753.708, with a peak-power increase of 7.2 relative to the no-CVaR selection, reflecting a deliberate trade that uses a slightly higher power envelope to buy substantial tail-risk protection. In event_disperse, CVaR screening lowers by 137.1 and reduces ResArea by 505.792 with a smaller peak-power increase of 2, and it is associated with a longer recovery time in this comparison ( = −2.417). In partial_outage, CVaR screening decreases by 157.44 and lowers ResArea by 711.5, while improving by 0.061 and increasing peak power by 7.2, again showing that risk containment at the planning stage materially reshapes worst-case outcomes.
Overall, the ablation evidence clarifies a complementary division of labor between layers. Planning-stage CVaR screening is the main “risk containment” lever that prevents brittle baseline modes from amplifying extreme waiting and cumulative loss, whereas execution-stage action masking functions as the “operational guardrail” that keeps online adaptation feasible and stable without inflating peak-demand commitments. From a management perspective, this implies a practical governance workflow: use CVaR screening offline to select a small set of robust modes and an acceptable power margin, then rely on masked safe adaptation online to absorb shocks without sacrificing constraint compliance or controllability.
Figure 9 visually corroborates the ablation results summarized in Table 6. When action masking is removed, performance deteriorates systematically, with the most pronounced impacts on tail-waiting risk and recovery behavior under bursty demand conditions. This degradation indicates that unconstrained online micro-adjustments can amplify short-term queue fluctuations, producing unstable recovery trajectories even when average performance metrics appear acceptable. Action masking therefore serves as a structural safety mechanism that filters out actions likely to violate service or power constraints, and it stabilizes real-time adaptation by restricting updates to feasible adjustments.
Figure 9.
Performance degradation under ablation of action masking and planning layer CVaR screening.
A complementary pattern emerges when CVaR-based screening is removed from the planning layer. Although peak power may decrease under lower-intensity plans, tail-waiting risk and resilience loss worsen substantially. This implies that plans selected without explicit consideration of tail risk can be brittle under stress: they may look favorable in terms of energy or peak demand, yet they provide insufficient protection against extreme congestion and prolonged recovery. CVaR screening thus plays a critical role in shaping risk-aware mode-card selection before online adaptation begins.
Table 7 synthesizes the ablation evidence across scenarios by linking observed performance changes to their associated decision layer mechanisms. Removing the planning layer CVaR screening consistently weakens tail-risk robustness and enlarges cumulative degradation, indicating that risk-aware planning is necessary to bound extreme congestion in advance. Disabling execution layer action masking primarily undermines online stability and recovery smoothness—especially under bursty demand and partial outages—showing that safe online adaptation mechanisms are essential for preventing overreaction and maintaining feasibility during real-time adjustment.
Table 7.
Mechanism-level summary across scenarios: separating the roles of planning-stage risk screening and execution-stage safe adaptation.
Figure 10 provides representative empirical evidence under partial_outage. Relative to plan_card, removing planning layer CVaR screening (plan_no_cvar) leads to a pronounced drop in , indicating that the baseline becomes brittle under capacity degradation when tail-risk is not contained at the planning stage. Meanwhile, removing action masking (rl_no_mask) also degrades SLA stability compared with the constrained execution layer controller, suggesting that constraint-aware filtering is necessary to keep online adaptation stable when the feasible action region shrinks under degraded service capacity.
Figure 10.
comparison under partial_outage across baselines and ablations.
Together, Table 7 and the ablation results clarify that the two layers play distinct and complementary roles rather than competing for the same objective. The planning layer performs risk containment by selecting mode cards that already control worst-case congestion, while the execution layer operates within this constrained region to respond adaptively to stochastic disturbances and shape recovery trajectories. This separation helps avoid two common failure modes of single-layer designs: overly rigid plans that cannot react under stress or overly aggressive online adaptation that becomes unstable near service and power constraints.
From an operational and managerial perspective, the results support a practical governance principle for safety-critical service systems: risk containment should be addressed offline through CVaR-aware mode selection and boundary setting, whereas adaptability should be delegated to constrained online fine-tuning with explicit guardrails such as action masking. The proposed two-layer architecture therefore provides a transferable blueprint for resilient control in elevator group control and other constrained service operations.
7. Conclusions and Discussion
This study investigates elevator group control under nonstationary passenger demand and sudden disturbances. Beyond an increase in average waiting time, a more salient feature in such operating regimes is the thickening of the right tail of the waiting time distribution, where a small fraction of passengers experience extremely long waits. This tail behavior directly threatens service-level agreements (SLAs) defined by high-quantile waiting metrics such as WT90 and time-based compliance coverage. Meanwhile, under time-of-use tariffs and energy–carbon constraints, peak-shaving and energy-saving actions can alter the system’s instantaneous handling capacity, thereby amplifying the tension between service performance and energy use during disruptive periods. To address these coupled requirements, we propose a two-layer resilient scheduling framework that combines queueing-driven offline baseline planning with safe reinforcement learning-based online fine-tuning. Under a unified metric system, the framework embeds SLA requirements and tail risk control consistently across the planning and execution layers, providing an integrated modeling and solution approach that balances service guarantees, disturbance recovery, and energy-aware operations.
From a methodological standpoint, the planning layer focuses on the interpretable offline baseline construction. Using simplified queueing approximations and scenario-based evaluations, it screens a finite set of candidate operating policies into the time-of-day mode cards and emergency switching cards. Conditional Value-at-Risk (CVaR)-based tail-risk constraints are used to control extreme waiting outcomes, thereby excluding high-risk configurations at the policy selection stage. The execution layer formulates online dispatch adjustments as a constrained Markov decision process (CMDP). Within the hard service and power boundaries specified by the planning layer, it applies an action-filtering mechanism and Lagrangian safe reinforcement learning to make small, bounded adaptations over a limited set of controllable operating variables. These adaptations are designed to improve the system’s ability to absorb disturbances and recover without violating the SLA commitments or peak-power limits. Overall, the layered architecture reflects a clear division of responsibility: offline planning caps extreme risk exposure to an acceptable level, while online execution improves responsiveness and recovery quality within fixed boundaries under nonstationary disturbances.
For empirical validation, we construct representative scenarios, including sustained morning congestion (morning_peak), a short-lived demand surge following event dispersal (event_disperse), and partial outages or degraded capacity (partial_outage). Across scenarios, the results show that, under an identical or equivalently enforced peak-power constraint, adding the safe execution layer fine-tuning yields consistent improvements in tail-waiting risk and recovery behavior. Importantly, these gains are distributionally robust rather than driven by a small number of random seeds. Specifically, in the morning_peak scenario, the execution layer method increases the SLA coverage while reducing tail-waiting risk relative to the planning-only baseline, indicating that bounded fine-tuning can stabilize high-quantile waiting fluctuations under sustained demand pressure without additional capacity commitments. In the event_disperse scenario, the execution layer more substantially compresses tail waiting and reduces resilience loss, though the SLA coverage may decrease, reflecting an operational emphasis on rapidly suppressing and dissipating extreme congestion risk under burst-like shocks. In the partial_outage scenario, the execution layer improves service stability and shortens recovery time; however, tail risk may increase when capacity is degraded, suggesting a stronger structural trade-off between stability and extreme experience in degraded regimes. This points to the need for future work on more refined constraint formulations and risk-preference calibration for downgrade conditions.
Mechanism-level evidence is provided by ablation analyses. Removing the planning layer CVaR screening systematically increases tail-waiting risk and enlarges resilience loss, indicating that pursuing low power or low energy without explicitly constraining extreme waits can make policies brittle under stress. Removing the execution layer action-filtering mechanism primarily degrades SLA stability and the smoothness of recovery, implying that online adaptation without structural restrictions on admissible actions can trigger short-term overreactions and amplify queueing dynamics. Together, these findings confirm that the two layers do not redundantly optimize the same objective; instead, they complement each other across time scales. The offline layer reduces exposure to extreme outcomes, while the online layer improves controllable response and recovery quality during disturbances.
Several limitations and future directions merit discussion. To emphasize implementability, we adopt simplified assumptions in both the queueing surrogate and the energy model, which may introduce model mismatch under extreme operating conditions. The effectiveness of safe learning in the execution layer depends on the quality of state sensing and short-horizon prediction; sensor drift or latency may reduce the accuracy of action filtering. In addition, this study does not yet incorporate cross-equipment coordination (e.g., escalators and HVAC) into a unified scheduling framework. Future research can advance the framework along three directions: (i) incorporating predictive maintenance and health assessment information to jointly model maintenance decisions, operational policies, and energy-aware control; (ii) developing stronger risk-robust integrated methods to handle distribution shift and out-of-scenario generalization; and (iii) extending the setting to multi-system coordination and building complex-level evaluations to assess transferability and governance value in larger and more complex service networks.
Author Contributions
Conceptualization, T.Z. (Tingjie Zhang) and H.Z.; methodology, T.Z. (Tingjie Zhang), T.Z. (Tiantian Zhang) and H.Z.; software, T.Z. (Tingjie Zhang) and T.Z. (Tiantian Zhang); validation, T.Z. (Tingjie Zhang); formal analysis, T.Z. (Tingjie Zhang), C.L. and J.H.; investigation, C.L. and J.H.; data curation, T.Z. (Tingjie Zhang); writing—original draft preparation, T.Z. (Tingjie Zhang), C.L. and J.H.; writing—review and editing, H.Z.; visualization, C.L. and J.H.; supervision, H.Z.; project administration, H.Z. and J.H. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Science and Technology Plan Project of the Sichuan Provincial Market Supervision and Administration Bureau, grant number SCSJZ2023007. The APC was funded by the Sichuan Special Equipment Inspection Institute.
Data Availability Statement
The data presented in this study are available on request from the corresponding author.
Acknowledgments
During manuscript preparation, the authors used ChatGPT5 and Claude3.7 only for limited editorial assistance, including idea extension, framework checking, and English language polishing. These tools were not used to generate the scientific contributions of the study, including the research questions, modeling design, experiments, results, or conclusions. All substantive academic content and final manuscript decisions were developed, verified, and approved by the authors.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Hanif, M.; Mohammad, N. Metaheuristic Algorithms for Elevator Group Control System: A Holistic Review. Soft Comput. 2023, 27, 15905–15936. [Google Scholar] [CrossRef] [Scilit]
- Wang, S.; Gong, X.; Song, M.; Fei, C.Y.; Quaadgras, S.; Peng, J.; Zou, P.; Chen, J.; Zhang, W.; Jiao, R.J. Smart Dispatching and Optimal Elevator Group Control through Real-Time Occupancy-Aware Deep Learning of Usage Patterns. Adv. Eng. Inform. 2021, 48, 101286. [Google Scholar] [CrossRef] [Scilit]
- Wei, Q.; Wang, L.; Liu, Y.; Polycarpou, M.M. Optimal Elevator Group Control via Deep Asynchronous Actor–Critic Learning. IEEE Trans. Neural Netw. Learn. Syst. 2020, 31, 5245–5256. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kermani, M.; Shirdare, E.; Abbasi, S.; Parise, G.; Martirano, L. Elevator Regenerative Energy Applications with Ultracapacitor and Battery Energy Storage Systems in Complex Buildings. Energies 2021, 14, 3259. [Google Scholar] [CrossRef] [Scilit]
- Yu, M.G.; Pavlak, G.S. Risk-Aware Sizing and Transactive Control of Building Portfolios with Thermal Energy Storage. Appl. Energy 2023, 332, 120474. [Google Scholar] [CrossRef] [Scilit]
- Liang, J.; Liu, P.; Qiu, Y.; Wang, Y.D.; Xing, B. Time-of-Use Electricity Pricing and Residential Low-Carbon Energy Technology Adoption. Energy J. 2020, 41, 1–38. [Google Scholar] [CrossRef] [Scilit]
- Parrish, B.; Heptonstall, P.; Gross, R.; Sovacool, B.K. A Systematic Review of Motivations, Enablers and Barriers for Consumer Engagement with Residential Demand Response. Energy Policy 2020, 138, 111221. [Google Scholar] [CrossRef] [Scilit]
- Li, C.; Wang, H.; Li, C.; Zhang, Y.; Feng, Y.; Zhang, X.; Negnevitsky, M. Coupled Noise-Aware UAV Fault Diagnosis Based on Learnable Wavelet Packet Transform and Scale-Graph Label Enhancement. IEEE Internet Things J. 2025, 12, 52913–52926. [Google Scholar] [CrossRef] [Scilit]
- Vodopija, A.; Stork, J.; Bartz-Beielstein, T.; Filipič, B. Elevator Group Control as a Constrained Multiobjective Optimization Problem. Appl. Soft Comput. 2022, 115, 108277. [Google Scholar] [CrossRef] [Scilit]
- Val, S.; García, I. Overall Equipment Effectiveness for Elevators (OEEE) in Industry 4.0: Conceptual Framework and Indicators. Eng 2025, 6, 227. [Google Scholar] [CrossRef] [Scilit]
- Chen, W.; Zheng, B.; Liu, J.; Li, L.; Ren, X. A Real-Time Matrix Iterative Optimization Algorithm of Booking Elevator Group and Numerical Simulation Formed by Multi-Sensor Combination. Electronics 2021, 10, 3179. [Google Scholar] [CrossRef] [Scilit]
- Gharbi, A. Exploring Heuristic and Optimization Approaches for Elevator Group Control Systems. Appl. Sci. 2024, 14, 995. [Google Scholar] [CrossRef] [Scilit]
- Moretti, N.; Ellul, C.; Re Cecconi, F.; Papapesios, N.; Dejaco, M.C. GeoBIM for Built Environment Condition Assessment Supporting Asset Management Decision Making. Autom. Constr. 2021, 130, 103859. [Google Scholar] [CrossRef] [Scilit]
- Ding, F.; Liu, M.; Hsiang, S.M.; Hu, P.; Zhang, Y.; Jiang, K. Duration and Labor Resource Optimization for Construction Projects—A Conditional-Value-at-Risk-Based Analysis. Buildings 2024, 14, 553. [Google Scholar] [CrossRef] [Scilit]
- Jiao, Z.; Du, X.; Liu, Z.; Liu, L.; Sun, Z.; Shi, G.; Liu, R. A Review of Theory and Application Development of Intelligent Operation Methods for Large Public Buildings. Sustainability 2023, 15, 9680. [Google Scholar] [CrossRef] [Scilit]
- Li, C.; Xie, W.; Zheng, B.; Yi, Q.; Yang, L.; Hu, B.; Deng, C. An Enhanced CLKAN-RF Framework for Robust Anomaly Detection in Unmanned Aerial Vehicle Sensor Data. Knowl.-Based Syst. 2025, 319, 113690. [Google Scholar] [CrossRef] [Scilit]
- Brunke, L.; Greeff, M.; Hall, A.W.; Yuan, Z.; Zhou, S.; Panerati, J.; Schoellig, A.P. Safe Learning in Robotics: From Learning-Based Control to Safe Reinforcement Learning. Annu. Rev. Control. Robot. Auton. Syst. 2022, 5, 411–444. [Google Scholar] [CrossRef] [Scilit]
- Soliman, A.A.; Mohammed, A.A.; Ibrahim, A.H. Dynamic Construction Site Layout Optimization Using Deep Reinforcement Learning with PPO. Eng. Constr. Archit. Manag. 2025, 1–25. [Google Scholar] [CrossRef] [Scilit]
- Liu, Q.; Yang, J.; Yan, Z. Dynamic Resource Orchestration in Edge Computing Environments Using Multi-Agent Reinforcement Learning. Knowl. Inf. Syst. 2025, 67, 9363–9383. [Google Scholar] [CrossRef] [Scilit]
- Rojek, I.; Mikołajewski, D.; Mroziński, A.; Macko, M. Machine Learning- and Artificial Intelligence-Derived Prediction for Home Smart Energy Systems with PV Installation and Battery Energy Storage. Energies 2023, 16, 6613. [Google Scholar] [CrossRef] [Scilit]
- Salih, F.H.; Mazinan, A.H.; Modaresi, S.M. An Integrated Tiny-YOLO v3 and Q-Iteration Framework for Stable, Energy-Efficient Autonomous Navigation of Quadruped Robots on AMB82-Mini Microcontrollers. Sci. Rep. 2026, 16, 1021. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- 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] [Scilit]
- Jung, H.; Park, S.; Joe, S.; Woo, S.; Choi, W.; Bae, W. AI-Driven Control Strategies for Biomimetic Robotics: Trends, Challenges, and Future Directions. Biomimetics 2025, 10, 460. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Candas, S.; Reveron Baecker, B.; Mohapatra, A.; Hamacher, T. Optimization-Based Framework for Low-Voltage Grid Reinforcement Assessment under Various Levels of Flexibility and Coordination. Appl. Energy 2023, 343, 121147. [Google Scholar] [CrossRef] [Scilit]
- Xuan, A.; Shen, X.; Guo, Q.; Sun, H. A Conditional Value-at-Risk Based Planning Model for Integrated Energy System with Energy Storage and Renewables. Appl. Energy 2021, 294, 116971. [Google Scholar] [CrossRef] [Scilit]
- Xiong, Y.; Fang, J. Co-Operative Optimization Framework for Energy Management Considering CVaR Assessment and Game Theory. Energies 2022, 15, 9483. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Zhang, X.; Ma, Z.; Ren, W.; Xiao, Y.; Xu, X.; Liu, Y.; Liu, J. Risk-Aware Scheduling for Maximizing Renewable Energy Utilization in a Cascade Hydro–PV Complementary System. Energies 2025, 18, 3109. [Google Scholar] [CrossRef] [Scilit]
- Wu, Y.; Yang, J. Directional Optimization of Elevator Scheduling Algorithms in Complex Traffic Patterns. Appl. Soft Comput. 2024, 158, 111567. [Google Scholar] [CrossRef] [Scilit]
- Zhang, F.; Zhang, Z. The Tail Dependence of the Carbon Markets: The Implication of Portfolio Management. PLoS ONE 2020, 15, e0238033. [Google Scholar] [CrossRef] [Scilit]
- Dey, S.; Bhat, S.; Dasgupta, P.; Dey, S. Imperative Action Masking for Safe Exploration in Reinforcement Learning. In Explainable and Transparent AI and Multi-Agent Systems. EXTRAAMAS 2023; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2023; pp. 130–142. [Google Scholar]
- Gong, Z.; Chen, Y.; Zhang, H.; Chen, F. Tail Risk Connectedness in the Carbon-Finance Nexus: Evidence from a Quantile Spillover Approach in China. Financ. Res. Lett. 2024, 67, 105803. [Google Scholar] [CrossRef] [Scilit]
- Stolletz, R. Approximation of the Non-Stationary M(t)/M(t)/c(t)-Queue Using Stationary Queueing Models: The Stationary Backlog-Carryover Approach. Eur. J. Oper. Res. 2008, 190, 478–493. [Google Scholar] [CrossRef] [Scilit]
- Chen, S.; Lü, X. Adaptive Network Traffic Control with Approximate Dynamic Programming Based on a Non-Homogeneous Poisson Demand Model. Transp. B Transp. Dyn. 2024, 12, 2336029. [Google Scholar] [CrossRef] [Scilit]
- Hu, Y.; Luo, X.; Bai, D. Passenger Congestion Alleviation in Large Hub Airport Ground-Access System Based on Queueing Theory. Transp. B Transp. Dyn. 2023, 11, 257–278. [Google Scholar] [CrossRef] [Scilit]
- Gu, S.; Yang, L.; Du, Y.; Chen, G.; Walter, F.; Wang, J.; Knoll, A. A Review of Safe Reinforcement Learning: Methods, Theories, and Applications. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 11216–11235. [Google Scholar] [CrossRef] [Scilit]
- Bui, V.-H.; Das, S.; Hussain, A.; Hollweg, G.V.; Su, W. A Critical Review of Safe Reinforcement Learning Techniques in Smart Grid Applications. arXiv 2024, arXiv:2409.16256. [Google Scholar] [CrossRef] [Scilit]
- Yang, H.; Xu, Y.; Guo, Q. Dynamic Incentive Pricing on Charging Stations for Real-Time Congestion Management in Distribution Network: An Adaptive Model-Based Safe Deep Reinforcement Learning Method. IEEE Trans. Sustain. Energy 2024, 15, 1100–1113. [Google Scholar] [CrossRef] [Scilit]
- Könighofer, B.; Rudolf, J.; Palmisano, A.; Tappler, M.; Bloem, R. Online Shielding for Reinforcement Learning. Innov. Syst. Softw. Eng. 2023, 19, 379–394. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Qiu, F.; Hong, T.; Wang, Z.; Li, F. Hybrid Imitation Learning for Real-Time Service Restoration in Resilient Distribution Systems. IEEE Trans. Ind. Inform. 2022, 18, 2089–2099. [Google Scholar] [CrossRef] [Scilit]
- Dalala, Z.; Alwahsh, T.; Saadeh, O. Energy Recovery Control in Elevators with Automatic Rescue Application. J. Energy Storage 2021, 43, 103168. [Google Scholar] [CrossRef] [Scilit]
- Filippi, C.; Guastaroba, G.; Speranza, M.G. Conditional Value-at-risk beyond Finance: A Survey. Int. Trans. Oper. Res. 2020, 27, 1277–1319. [Google Scholar] [CrossRef] [Scilit]
- Guo, X.; Chan, R.H.; Wong, W.-K.; Zhu, L. Mean–Variance, Mean–VaR, and Mean–CVaR Models for Portfolio Selection with Background Risk. Risk Manag. 2019, 21, 73–98. [Google Scholar] [CrossRef] [Scilit]
- Jadidbonab, M.; Babaei, E.; Mohammadi-ivatloo, B. CVaR-Constrained Scheduling Strategy for Smart Multi Carrier Energy Hub Considering Demand Response and Compressed Air Energy Storage. Energy 2019, 174, 1238–1250. [Google Scholar] [CrossRef] [Scilit]
- Yuan, J.; Zhang, J.; Cai, Z.; Yan, J. Towards Variance Reduction for Reinforcement Learning of Industrial Decision-Making Tasks: A Bi-Critic Based Demand-Constraint Decoupling Approach. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Long Beach, CA, USA, 6–10 August 2023; ACM: New York, NY, USA, 2023; pp. 3162–3172. [Google Scholar]
- Rong, Q.; Chen, F.; Fan, J.; Chang, W.; Wang, H.; Guo, H. Dynamic Elevator Group Control Algorithm Based on the Shortest Distance and the Shortest Time. In Proceedings of the 2022 34th Chinese Control and Decision Conference (CCDC); IEEE: New York, NY, USA, 2022; pp. 1727–1731. [Google Scholar]
- Kleywegt, A.J.; Shapiro, A.; Homem-de-Mello, T. The Sample Average Approximation Method for Stochastic Discrete Optimization. SIAM J. Optim. 2002, 12, 479–502. [Google Scholar] [CrossRef] [Scilit]
- Han, M.; Tian, Y.; Zhang, L.; Wang, J.; Pan, W. Reinforcement Learning Control of Constrained Dynamic Systems with Uniformly Ultimate Boundedness Stability Guarantee. Automatica 2021, 129, 109689. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.









