Next Article in Journal
Towards Environmental Sustainability: Saudi Residents’ Awareness, Attitudes, and Environmental Behaviors Toward Green Projects (A Cross-Sectional Study)
Previous Article in Journal
Social Network Analysis (SNA) for the Characterization of Peasant Organizations in Cómbita, Colombia
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Charging Scheduling for Battery Electric Buses Under Limited Depot Resources

1
School of Transportation, Shandong University of Science and Technology, Qingdao 266590, China
2
International Cooperation Center of National Development and Reform Commission, Beijing 100038, China
*
Author to whom correspondence should be addressed.
Sustainability 2026, 18(15), 7925; https://doi.org/10.3390/su18157925
Submission received: 11 June 2026 / Revised: 15 July 2026 / Accepted: 24 July 2026 / Published: 5 August 2026

Abstract

With the electrification of urban bus fleets, the sustainability of public transport operation increasingly depends on resource-efficient energy management at bus depots. Under time-of-use electricity pricing and limited depot resources, shifting many charging tasks to low-price periods may increase depot-level peak load and charger competition, thereby affecting vehicle time windows and departure state-of-charge (SOC) requirements. This study formulates a multi-objective nighttime centralized charging scheduling model that minimizes an economic objective while controlling depot-level peak load. The model combines staged charging characteristics with an interval-overlap-based load calculation method to link SOC evolution, time-window occupancy, and depot load formation. For the resulting constrained discrete scheduling task, a problem-specific SPEA2-based solution framework, named DCS-SPEA2, is developed with vehicle-block encoding, repair-coupled decoding, and archive-based Pareto search. A case study using Shanghai bus route 71 shows that the compromise solution achieves a 100% minimum departure SOC compliance rate, reduces the depot-level peak load to 562.74 kW, and decreases the economic objective by 17.97% and 16.30% compared with first-come-first-served charging and valley-price-priority charging, respectively. Compared with standard SPEA2, DCS-SPEA2 increases the average hypervolume from 0.5783 to 0.6620 and reduces the average inverted generational distance from 0.2505 to 0.1993. These results indicate that coordinated charging scheduling can improve resource use efficiency and operational reliability at electric bus depots, thereby supporting sustainable public transport operation under limited depot resources.

1. Introduction

Reducing emissions from urban transport has become an important motivation for bus fleet electrification, and battery electric buses have the potential to substantially reduce lifecycle carbon dioxide emissions compared with conventional buses [1]. Within this transition, nighttime centralized charging at bus depots has become a typical energy replenishment mode for battery electric buses. Unlike the largely random charging behavior of private electric vehicles, depot charging is organized around fixed routes, planned timetables, and explicit next-day departure requirements. At the same time, the rapid expansion of battery electric bus fleets has often outpaced charging infrastructure deployment, making insufficient chargers and constrained depot resources increasingly prominent operational issues [2]. Under such conditions, charging queuing, congestion, and delayed energy replenishment may directly affect scheduled departures, which makes charging scheduling under limited depot resources a practical coordination problem rather than a simple charging task allocation problem.
Charging infrastructure is a key determinant of the scalability and operational performance of electric mobility systems. The number, location, accessibility, supply capacity, and technical capability of charging points determine charging coverage, service capacity, operational reliability, and system expandability [3]. For electric bus systems, this infrastructure issue is further reflected at the depot level, where charger availability and depot power capacity shape the feasible space of nighttime charging scheduling. Recent system-level studies also indicate that charging infrastructure configuration is closely related to fleet operation efficiency, charging scheduling, energy pricing, and grid integration [4,5].
For bus depots, nighttime charging scheduling is shaped not only by electricity prices but also by charger availability, depot power capacity, vehicle time windows, and departure state-of-charge (SOC) requirements. The time-of-use pricing mechanism provides operators with an opportunity to reduce charging cost by shifting charging tasks to low-price periods. However, when many vehicles compete for limited charging resources within overlapping nighttime windows, a price-driven charging strategy may intensify charging concentration, create new depot load peaks [6], and weaken desired SOC or even minimum departure SOC attainment [7]. Therefore, the core issue is not simply how to exploit low-price periods but how to coordinate low-price charging opportunities with depot-level peak load control and vehicle departure energy assurance under limited resources. This coordination requirement naturally leads to a multi-objective scheduling framework that optimizes the economic objective and depot-level peak load while maintaining SOC-related feasibility.
Research on battery electric bus charging scheduling can be classified according to different energy replenishment modes, including opportunity charging during route operation [8], battery swapping operations [9], and centralized charging at depots [10]. Among these, opportunity charging studies have examined the joint optimization of charging infrastructure, vehicle scheduling, and charging management [11], as well as charging scheduling on bus networks [12]. Battery swapping studies mainly focus on battery inventory configuration, demand matching, and the joint management of charging and swapping resources [13,14]. For nighttime centralized charging scenarios in bus depots, a substantial body of research has focused on cost reduction while considering constraints such as vehicle arrival and departure times, charging demand, and charger availability. Qin et al. [15] simulated the daily charging behavior and demand charges of a battery electric bus fleet under a fast charging system and reduced station demand charges by optimizing the SOC charging threshold. Teng et al. [16] developed a multi-objective optimization model that considered constraints such as vehicle mileage and charging conditions, with the aims of improving departure headway regularity, reducing fleet size, and minimizing total charging cost.
In addition, increasing attention has been paid to time-of-use electricity pricing [17], charging management strategies [18], and depot-level peak load control [19]. Zhang et al. [20] investigated the role of time-of-use electricity pricing in electric bus charging scheduling by considering partial charging and limited charger resources, demonstrating its impact on fleet operating costs. Jahic et al. [21] addressed charging scheduling for large-scale electric bus depots and proposed scheduling algorithms with the explicit objective of minimizing the depot-level peak load, showing that coordinated charging can reduce excessive load peaks caused by uncontrolled depot charging. Grenander and Daniels [22] analyzed electric bus charging costs from the perspectives of electricity price signals and load flexibility, showing that peak-related tariff components can substantially affect charging economy. Furthermore, some studies [23,24] have introduced battery-related factors and nonlinear charging processes into scheduling models to better reflect real-world charging behavior. Recent studies have also addressed uncertainty in vehicle-to-grid operation and compatibility among multiple vehicle and charger types, further showing that charger constraints, operational feasibility, and multi-objective decision making are central issues in electric bus charging scheduling [25,26].
Although previous studies have addressed depot-level peak load control, nonlinear charging processes, battery-related factors, and multi-objective charging scheduling under limited resources, these elements are often modeled from separate perspectives. In nighttime depot charging, however, SOC-dependent charging power affects time-slot-level load formation, while vehicle time windows, charger exclusivity, departure SOC requirements, and depot capacity jointly shape scheduling feasibility. This study therefore integrates staged charging and interval-overlap-based load calculation into a discrete nighttime charging scheduling model, providing a more detailed basis for coordinating depot load, vehicle availability, and departure SOC constraints.
For model solving, commonly used approaches for such scheduling optimization problems include mathematical programming methods, heuristic rule-based methods, and metaheuristic optimization algorithms [27,28,29]. In the scenario studied here, whether a vehicle is charged, when charging starts, how long charging lasts, and which charger is assigned are all discrete decisions jointly constrained by vehicle operating time, departure energy requirements, and depot resource conditions. Therefore, simple rule-based methods have difficulty balancing feasibility and multi-objective trade-offs, whereas directly applying fine-grained mathematical programming to obtain a set of compromise solutions may involve a relatively high modeling and computational burden. On this basis, Strength Pareto Evolutionary Algorithm 2 (SPEA2) is adopted as the basic framework in this study. The problem considered here requires a set of executable Pareto compromise scheduling schemes, and SPEA2 combines Pareto fitness assignment with an external archive mechanism to preserve high-quality nondominated solutions during evolution, making it suitable as the basis for further developing a problem-specific algorithmic design.
Based on the above considerations, this study examines the nighttime centralized charging scenario of battery electric buses. From the perspective of coordinated bus depot resource management and sustainable depot operations, the nighttime charging scheduling problem is formulated as a multi-objective discrete parallel-machine scheduling problem for charging management at urban bus depots considering vehicle arrival and departure time windows, SOC requirements, charger exclusivity, depot power capacity, and staged charging characteristics. The main contributions of this study are as follows:
(1)
A multi-objective optimization model is developed for nighttime centralized charging scheduling of battery electric buses under limited depot resources. With the economic objective and depot-level peak load control as the core objectives, the model characterizes the scheduling trade-off among the utilization of low-price periods, departure energy assurance, and depot resource constraints.
(2)
A staged charging representation and an interval-overlap-based load calculation method are introduced to describe the charging process as a function of SOC and its contribution to depot load within discrete scheduling windows. This modeling treatment enables a more refined characterization of vehicle load contribution across different time windows under staged charging conditions, thereby providing a more accurate calculation basis for depot capacity constraints and peak load control.
(3)
A problem-specific algorithm based on SPEA2, termed Discrete Charging Scheduling SPEA2 (DCS-SPEA2), is developed for the charging scheduling problem studied here. By combining problem-specific encoding, decoding, and constraint-handling mechanisms, the algorithm generates executable Pareto charging schedules. A real-world bus depot case study is conducted to verify the effectiveness of the solution method and the applicability of the proposed modeling framework.
The remainder of this article is organized as follows. Section 2 formulates the nighttime depot charging scheduling problem and presents the multi-objective optimization model. Section 3 describes the DCS-SPEA2 algorithm and its problem-specific mechanisms. Section 4 reports the case study, main-case scheduling results, algorithm comparison, ablation experiment, and scheduling adaptability analysis under depot resource constraints. Section 5 discusses the main findings and their implications, and Section 6 concludes the study and outlines future research directions.

2. Problem Description and Model Formulation

To clarify the overall research logic, Figure 1 illustrates the overall framework adopted in this study. The framework links problem identification, data processing, model formulation, DCS-SPEA2 algorithm design, and experimental analysis, thereby showing how the depot charging scheduling problem is translated into a constrained multi-objective optimization process.

2.1. Problem Description

In urban battery electric bus systems, depots provide centralized charging services for vehicles operating on nearby routes. Vehicles return to the depot at different times after daily service and must depart according to predetermined next-day timetables. Because return times, departure deadlines, initial SOC levels, charger availability, and depot power capacity vary across vehicles and operating days, nighttime charging scheduling under limited depot resources directly affects operational feasibility and depot efficiency.
In this study, depot chargers are regarded as parallel service resources, denoted by M, and buses requiring nighttime charging are treated as charging jobs with arrival times, departure times, and variable charging demands, denoted by J. For each vehicle, scheduling decisions determine charging participation, charger assignment, start time, and charging duration. The minimum departure SOC is treated as a hard constraint for basic next-day dispatchability, while the desired SOC is used as a preference target for improving departure energy levels. Under vehicle time-window, charger exclusivity, SOC, and depot-capacity constraints, the problem is formulated as a multi-objective discrete parallel-machine charging scheduling problem.

2.2. Notation

The sets and parameters used in the proposed model are summarized in Table 1, while the decision variables and derived quantities are presented in Table 2.

2.3. Economic Objective

2.3.1. Electricity Cost

The nighttime centralized charging period for battery electric buses mainly covers flat-price and valley-price electricity periods. Under the premise of satisfying the charging demand of battery electric buses, charging should be scheduled to make better use of low-price periods. The electricity cost of battery electric bus charging is calculated as follows:
C c = t T c t Q t Δ t .
To allocate charging resources reasonably, this study allows some vehicles that have already satisfied the minimum departure SOC requirement upon arrival at the bus depot to not participate in charging. When modeling vehicle charging, most studies assume that the charging function is linear. However, the actual increase in battery energy is nonlinear rather than strictly linear [30]. Therefore, the charging process of battery electric buses is divided into three stages: fast charging, medium-rate charging, and slow charging. Different stages correspond to different charging rates, as illustrated in Figure 2. In the implementation, the staged charging process is represented on the 10 min time grid by an equivalent average charging power sequence derived from the continuous stage-specific charging profile.
In the context of staged charging, a charging stage may span multiple time windows, and a stage transition may also occur within a single time window. To accurately quantify the contribution of each charging stage to the load in each time window, the overlap ratio is defined as the proportion of the intersection length between the charging stage interval and the time window interval to the length of the time window. Let [ l j k , r j k ] denote the time interval of stage k for vehicle j, and let [ a t , b t ] denote time window t. The overlap ratio is defined as follows:
m j k t = max 0 , min r j k , b t max l j k , a t Δ t , j J , k K , t T .
where m j k t denotes the overlap ratio between charging stage k of vehicle j and time window t. The quantities l j k , r j k , and m j k t are derived quantities rather than independent search variables. Given a vehicle block, they are obtained from the effective charging interval, initial SOC, stage SOC thresholds, charging power of each stage, battery capacity, and charging efficiency. When a stage transition occurs within a single time window, the overlap ratios of the relevant stages are calculated separately, and the corresponding stage powers are weighted by these ratios to obtain the equivalent average charging power in that time window.
Using the overlap ratio between each charging stage of vehicle j and time window t, the charging load of vehicle j in time window t is expressed as follows:
q j t = k K p k · m j k t
The charging loads of all vehicles being charged are summed to obtain the total charging load of the bus depot in time window t, which is expressed as
Q t = j J q j t , t T

2.3.2. SOC Deviation Penalty

To ensure departure feasibility under limited charging resources, the SOC of each battery electric bus at the end of charging must be no lower than its minimum departure requirement. This minimum departure SOC is intended to provide the basic energy needed for the vehicle to leave the depot with next-day service readiness. In practice, a higher desired departure SOC is further specified for each vehicle as a preferred target for improving operational margin. After charging, a larger deviation between the actual SOC and the desired departure SOC indicates poorer SOC attainment and leads to a higher penalty cost. Here, D j denotes the deviation between the actual SOC and the desired departure SOC of vehicle j after charging. The SOC deviation penalty is formulated as follows:
C b = λ j J D j 2
Therefore, the objective function f 1 is defined as the economic objective, which jointly considers the charging cost under time-of-use electricity prices and the SOC deviation penalty after charging. It is expressed as
min f 1 = C c + C b

2.4. Depot-Level Peak Load Objective

Charging load is important in power grid management and directly affects depot capacity utilization, the operational safety of charging equipment, and grid stability. If vehicles are excessively concentrated in low-price periods for charging, electricity costs can be reduced, but this may also lead to excessively high load peaks in certain periods and intensify load fluctuations. Therefore, depot-level peak load control must be considered in the optimization process. Existing studies [31,32] commonly evaluate depot-level charging load using peak charging load and load fluctuation indicators. Among these indicators, peak charging load directly reflects the maximum power demand imposed on the bus depot during the scheduling horizon and is closely related to depot capacity constraints. Considering that the studied charging scheduling problem is conducted within a fixed bus depot and that excessive instantaneous charging demand is the primary concern for depot-level operation, this study adopts the peak charging load as the second objective. The peak charging load is defined as follows:
P d = max t T Q t
Accordingly, the second objective function is formulated as
min f 2 = P d

2.5. Constraints

To ensure the implementability of the scheduling scheme, this study formulates constraints related to vehicle–charger assignment, vehicle arrival and departure time windows, charging stage sequence, mutual exclusion on each charger, depot capacity, and SOC constraints.
u j = m M x j m , j J
u j = 1 , j J req
d ¯ j = b j a j Δ t , j J
u j d j d ¯ j u j , j J
u j s j | T | u j , j J
I j p = t 0 + ( s j 1 ) Δ t , t 0 + ( s j + d j 1 ) Δ t , j J : u j = 1
s j + d j 1 | T | , j J : u j = 1
I j e = I j p [ a j , b j ] , j J : u j = 1
l j 1 , r j 3 = I j e , j J : u j = 1
r j 3 l j 1 = I j e , j J : u j = 1
0 l j 1 r j 1 = l j 2 r j 2 = l j 3 r j 3 , j J : u j = 1
l j 1 a j A ( 1 u j ) , j J
r j 3 b j + A ( 1 u j ) , j J
s j 0 s j f 1 , j J
0 Δ s j k u j ϑ k ϑ k 1 , j J , k K
Δ s j k = min s j f , ϑ k max s j 0 , ϑ k 1 + , j J , k K
r j k l j k = R j Δ s j k η p k , j J , k K
s j f = s j 0 + k K Δ s j k , j J
s j f s j min , j J
D j s j tar s j f , j J
D j s j f s j tar , j J
Q t P dep max , t T
r j 3 l h 1 + A 3 x j m x h m z j h m , j , h J , j < h , m M
r h 3 l j 1 + A 2 x j m x h m + z j h m , j , h J , j < h , m M
x j m , u j { 0 , 1 } , j J , m M
z j h m { 0 , 1 } , j , h J , j < h , m M .
s j , d j Z 0 , j J
l j k 0 , r j k 0 , Δ s j k 0 , j J , k K
0 m j k t 1 , j J , k K , t T
q j t 0 , j J , t T ; Q t 0 , t T ; D j 0 , j J
Equation (9) ensures consistency between whether a vehicle participates in charging and its charger assignment status. Equation (10) ensures that vehicles whose initial SOC is lower than the minimum departure SOC must participate in charging, so as to satisfy the basic energy requirement for the next day operation. Equation (11) defines the maximum number of charging time slots available for vehicle j within its arrival–departure time window. Equation (12) restricts the number of planned charging time slots for vehicle j. When u j = 0 , d j = 0 , indicating that a vehicle that is not charged does not generate a planned charging duration. Equation (13) restricts the value range of the global planned charging start time slot. Equation (14) defines the planned charging interval generated by the algorithmic encoding variables s j and d j , where s j denotes the global planned start time slot within the scheduling horizon and d j denotes the number of planned charging time slots. Equation (15) ensures that the planned charging interval generated by s j and d j remains within the scheduling horizon. Equation (16) obtains the effective charging interval by intersecting the planned charging interval with the vehicle arrival–departure time window. The encoded duration d j specifies the number of occupied time slots in the planned charging interval, while the staged charging effect within this interval is represented through the equivalent average charging power sequence. For vehicles participating in charging, the decoding and repair procedure ensures that I j e . Equation (17) maps the effective charging interval to the overall start and end interval of the staged charging process, where l j 1 is the start time of the first stage and r j 3 is the end time of the third stage. Equation (18) indicates that the actual effective charging duration is determined by the length of the effective interval I j e . Equation (19) ensures that the three potential charging stages are continuously connected in the order of fast charging, medium power charging, and slow charging, while allowing one stage to have zero duration. Equations (20) and (21) ensure that the charging process is conducted within the vehicle arrival–departure time window. Equation (22) ensures that the SOC during charging is nondecreasing and does not exceed the physical upper bound. Equation (23) limits the SOC increment of each charging stage. When u j = 0 , the SOC increments in all stages are forced to zero. Equation (24) binds charging stage k to its corresponding SOC interval, where [ x ] + = max ( x , 0 ) . Equation (25) indicates that the duration of charging stage k is jointly determined by the SOC increment in that stage, battery capacity, charging efficiency, and the charging power of that stage. Equation (26) defines the calculation of the final SOC of each vehicle. Equation (27) ensures that each vehicle satisfies the minimum departure SOC requirement before leaving the depot. Equations (28) and (29) are used to calculate the deviation between the actual departure SOC and the desired departure SOC. Equation (30) ensures that the total depot-level charging load in any time window does not exceed the maximum allowable charging load of the depot. Equations (31) and (32) ensure that the same charger can serve at most one vehicle at the same time. Equations (33)–(38) define the domains of the variables.

3. Algorithm Design

SPEA2, proposed by Zitzler et al. as an extension of the Strength Pareto Evolutionary Algorithm, has been applied to various multi-objective engineering optimization problems [33]. The nighttime depot charging problem studied here requires a set of executable Pareto compromise schedules rather than a single optimum. SPEA2 is therefore adopted as the base framework because its Pareto fitness assignment and external archive mechanism can preserve high-quality nondominated solutions during evolution.
However, directly applying standard SPEA2 to this problem may generate many infeasible or structurally poor individuals. Vehicle charging decisions are block-structured rather than independent genes, and feasibility is jointly shaped by time windows, charger exclusivity, staged charging characteristics, SOC requirements, and depot capacity. To address these features, DCS-SPEA2 combines vehicle-block encoding, constructive repair, feasibility-oriented initialization, elite-guided crossover, adaptive mutation, and lightweight archive-based elite neighborhood search. Figure 3 illustrates the overall algorithmic procedure.

3.1. Vehicle-Block Encoding, Decoding, and Constructive Repair

In the battery electric bus charging scheduling problem, an algorithmic individual represents a candidate scheduling plan. Considering that vehicle operation tasks have fixed temporal connections and that the charging process is simultaneously constrained by vehicle time windows, charger exclusivity, depot capacity, and SOC requirements, this study adopts a vehicle-block-based encoding scheme to describe the individual structure. Each vehicle block corresponds to the charging decision unit of one bus within the scheduling horizon, and all vehicle blocks together constitute a complete scheduling individual. Vehicle-block encoding does not directly yield an executable charging schedule. In the proposed algorithm, the variables directly involved in evolutionary search include whether a vehicle participates in charging, the assigned charger index, the planned charging start time slot on the global time axis, and the planned charging duration in time slots. In contrast, service precedence on the same charger, effective charging intervals after time-window truncation, staged charging start and end times, and depot load on a time-slot basis are determined through decoding, constructive repair, and feasibility checking after the vehicle blocks are specified. Therefore, constructive repair is not merely a boundary adjustment step, but a key problem-specific mechanism linking discrete encoding to executable charging schedules.
Figure 4 illustrates how the four-dimensional vehicle block ( u j , c j , s j , d j ) is decoded into an executable charging schedule. When a vehicle participates in charging, the planned interval generated by s j and d j is first intersected with the vehicle arrival–departure time window to obtain the effective charging interval. The SOC evolution, final SOC, and time-slot load are then evaluated using the equivalent average charging power sequence. Constructive repair coordinates charger conflicts, temporal overlaps, depot capacity, and minimum departure SOC feasibility, thereby linking the encoded vehicle blocks to executable schedules.

3.2. Population Initialization

For the nighttime centralized charging scheduling problem of battery electric buses, each individual consists of multiple interdependent vehicle blocks. If the initial population is generated in a completely random manner, a large number of infeasible individuals or structurally poor initial solutions may be produced, thereby increasing ineffective search in the early stage. To improve the feasibility of the initial search region and the quality of the search starting points, a dual-candidate competitive initialization strategy is introduced in the initialization stage. For each initial individual, two candidate scheduling schemes are constructed.
X r ( 1 ) , X r ( 2 )
Here, X r ( 1 ) denotes the heuristic candidate, which is mainly generated according to vehicle demand information so that the initial individual is as close as possible to the feasible scheduling region; X r ( 2 ) denotes the random candidate, which is used to maintain the diversity of the initial population. After the two candidate schemes are generated, both are subjected to boundary handling and constructive repair, and their objective function values and total constraint violation (CV) are calculated:
F X r ( q ) = f 1 X r ( q ) , f 2 X r ( q ) , q = 1 , 2
CV X r ( q ) , q = 1 , 2
where F X r ( q ) denotes the objective function vector of the candidate scheme, and CV denotes the total constraint violation.
Candidate selection follows the feasibility-first principle. If only one of the two candidates is feasible, the feasible candidate is selected. If both candidates are infeasible, the one with the smaller total constraint violation is selected. If both candidates are feasible, they are first compared according to the Pareto dominance relation. If neither candidate dominates the other, the candidate with better overall performance is selected based on the normalized compromise score.

3.3. Elite-Guided Crossover and Adaptive Mutation

Even after decoding with constructive repair improves schedule feasibility, the subsequent evolutionary search still needs to avoid disrupting effective vehicle scheduling structures during recombination. Standard discrete-encoding SPEA2 usually generates offspring through random recombination between parent individuals and fixed mutation. However, in the battery electric bus centralized charging scheduling problem studied here, the charging participation status, charger index, charging start time, and charging duration of a vehicle jointly form a complete scheduling unit. Conventional gene-level crossover may disrupt such block-structured scheduling information. Therefore, this study uses the vehicle block as the basic crossover unit and introduces elite individuals from the external archive to guide parent recombination, thereby preserving high-quality vehicle-block structures in offspring generation.
Fixed crossover and mutation probabilities are also difficult to adapt to changes in the search state, which may cause insufficient population diversity or search stagnation. To address this issue, problem-specific improvements are introduced into the crossover and mutation stages without changing the strength fitness calculation or external archive maintenance framework of SPEA2. Specifically, adaptive mutation adjusts the perturbation intensity according to population diversity, the feasible solution ratio, and the search stagnation degree. The crossover probability is also adjusted according to the search state to reduce repeated recombination between similar parents. The detailed procedure is shown in Algorithm 1.
Algorithm 1 Elite-guided vehicle-block crossover and adaptive mutation
  Input: Parent individuals X ( 1 ) and X ( 2 ) ; external archive A ; number of vehicles | J | ; population diversity D; stagnation degree r s ; feasible solution ratio r f .
  Output: Offspring individual X new .
 1: Select an elite guiding individual X ( g ) from the external archive A .
 2: Calculate the adaptive mutation probability P m .
 3: Calculate the adaptive crossover probability P c .
 4: if rand ( ) < P c then
 5:  Initialize X new as an empty offspring individual.
 6:  for j = 1 , , | J | do
 7:    Generate a random number r [ 0 , 1 ] .
 8:    if r < p 1 then
 9:      B j new B j ( 1 ) .
10:    else if r < p 1 + p 2 then
11:      B j new B j ( 2 ) .
12:    else
13:      B j new B j ( g ) .
14:    end if
15:  end for
16: else
17:  Randomly copy one parent individual as X new .
18: end if
19: Apply discrete mutation to X new according to P m .
20: Apply boundary handling and constructive repair to X new .
21: Decode and evaluate X new to obtain objective values and total constraint violation.
22: return X new .
First, in the crossover stage, this study does not adopt random single-gene exchange. Instead, the vehicle block is used as the basic operating unit. Let the vehicle block of vehicle j be B j = ( u j , c j , s j , d j ) , and let the two parent individuals be X ( 1 ) and X ( 2 ) , respectively. Let X ( g ) denote the elite individual selected from the external archive. Then, the offspring vehicle block is generated according to the following rule:
B j new = B j ( 1 ) , r < p 1 , B j ( 2 ) , p 1 r < p 1 + p 2 , B j ( g ) , r p 1 + p 2 .
where r is a random number in the interval [ 0 , 1 ] , p 1 and p 2 denote the probabilities of inheriting the vehicle block from Parent 1 and Parent 2, respectively, while p g denotes the probability of inheriting the vehicle block from the archive elite individual, satisfying p 1 + p 2 + p g = 1 .
This strategy preserves the differential information of the two parents to maintain population diversity, while inheriting high-quality vehicle blocks from the archive elite individual with a certain probability, so that vehicle charging arrangements with good performance can be propagated in subsequent populations. Since each vehicle block contains a complete charging decision for a single vehicle, this crossover method can reduce the damage caused by conventional random crossover to feasible scheduling structures.
Adaptive mutation is used to dynamically adjust the search intensity. The algorithm dynamically adjusts the crossover and mutation probabilities according to population diversity, the search stagnation degree, and the feasible solution ratio. When population diversity is insufficient or search stagnation occurs, the mutation probability is increased to enhance global exploration. When the feasible solution ratio is low, mutation perturbation is appropriately strengthened and combined with constructive repair to increase the opportunity to search feasible regions. Meanwhile, when search stagnation occurs or the feasible solution ratio is low, the crossover probability is appropriately reduced to avoid repeated recombination between similar parents. The mutation probability is set as follows:
P m = P m min + P m max P m min α ( 1 D ) + β r s + γ ( 1 r f )
where D denotes the population diversity indicator, r s denotes the search stagnation degree, and r f denotes the feasible solution ratio of the current population. The parameters α , β , and γ are the weights of the three state indicators, respectively, satisfying α + β + γ = 1 .
In the implementation, the vehicle-block inheritance probabilities are set as p 1 = 0.35 , p 2 = 0.35 , and p g = 0.30 . Therefore, the inheritance boundaries are 0.35 and 0.70. For adaptive mutation, the probability bounds are set as P m min = 0.08 and P m max = 0.22 . The weights of diversity deficiency, stagnation degree, and infeasible-ratio terms are set as α = 0.4 , β = 0.4 , and γ = 0.2 , respectively.

3.4. Lightweight Archive-Based Elite Neighborhood Search

Introducing local search into the multi-objective evolutionary process can improve exploitation around high-quality solutions. However, because a complete decoding, repair, and evaluation procedure is computationally expensive in battery electric bus charging scheduling, this study does not adopt large-scale local search. Instead, a lightweight archive-based elite neighborhood search mechanism is designed.
The proposed local search is not applied to all vehicles. It preferentially focuses on three types of candidate vehicles that are more likely to affect objective quality and constraint feasibility, namely vehicles with insufficient SOC margins, vehicles charged during peak load periods, and vehicles with relatively large desired SOC gaps. Neighborhood operations are performed mainly in three directions: shifting the charging start time, adjusting the charging duration, and replacing the charger.
To limit computational overhead, the mechanism is executed in a lightweight manner through interval-based triggering, elite-ratio control, and neighborhood evaluation budget limitation. Let the size of the external archive be | A | , the archive capacity be N r , and the elite ratio for local search be η l s . Then, the number of elite individuals participating in neighborhood search each time is given by
N l s = min | A | , max 2 , round η l s N r
where | A | denotes the current archive size.
In the implementation, local search is embedded after the external archive update and is activated only when the archive is nonempty. The triggering interval is set to 10 generations, the archive size is set to N r = 100 , and the elite ratio is set to η l s = 0.08 . In addition, for each elite solution, the local search examines at most 5 candidate vehicles and allows at most 8 fresh neighborhood evaluations, while the number of retained candidate start-time adjustments is capped at 7. When the triggering conditions are satisfied, local intensification is performed on a small number of archive elite individuals. The generated neighborhood solutions are then subjected to constructive repair and objective evaluation, and are accepted or rejected according to the feasibility-first rule.

4. Case Study

4.1. Experimental Design

To verify the applicability of the proposed charging scheduling optimization scheme and evaluate the effectiveness of the improved algorithm, this study selects Shanghai bus route 71 as a representative case. The vehicles on this route undergo nighttime centralized charging at the same bus depot, namely the Shenkun Road Depot. The case with 29 battery electric buses and 6 chargers is selected as the main case for Pareto front analysis, compromise scheduling scheme analysis, depot-level load analysis, and comparative experiments between the improved algorithm and the standard SPEA2 algorithm. The vehicle-level operational data are provided in Appendix A. According to the vehicle operation timetable, the available charging time window of the bus depot is set from 21:00 to 09:00 the next day, and this time window is discretized into time slots of 10 min. The parameters include vehicle battery capacity, rated power of chargers, and depot capacity. The values of these parameters are summarized in Table 3. The staged charging power levels and SOC thresholds are case-study parameters used to approximate the decrease in charging power at high SOC levels, rather than field-calibrated charger-control curves. Monetary values are reported in Chinese yuan (CNY).
All numerical experiments were conducted on a 64-bit Windows personal computer equipped with an Intel Core i7-13650HX processor with 16 GB of RAM. All algorithms were implemented and executed in MATLAB R2023b.

4.2. Main Case Charging Scheduling Analysis

To verify the scheduling effectiveness of the proposed model in a centralized bus depot charging scenario, three charging strategies are compared: first-come-first-served (FCFS) charging, valley-price-priority charging, and DCS-SPEA2 optimization. The FCFS charging strategy schedules vehicles according to the chronological order of their effective chargeable start times within the scheduling window, representing a basic dispatching rule without global coordination. The valley-price-priority charging strategy preferentially assigns vehicles to consecutive chargeable intervals with lower electricity prices, representing a cost-oriented rule under depot resource constraints. The DCS-SPEA2 optimization strategy jointly searches the economic objective and the depot-level peak load objective to obtain a compromise charging schedule between the two objectives.
To reduce the influence of stochastic variation on result interpretation, DCS-SPEA2 is independently run 30 times under the main case, and the run whose hypervolume (HV) value is closest to the median HV of the 30 runs is selected as the representative result. HV is computed on the normalized objective space using the reference point ( 1.1 , 1.1 ) . For the Pareto front obtained in this representative run, the two objectives are first processed using min–max normalization. The compromise solution is then selected according to the minimum equally weighted sum of the two normalized objectives. The subsequent comparison is based on this compromise solution and the corresponding schedules generated by the two rule-based strategies.
Table 4 summarizes the three charging strategies under the same SOC-handling rule, in which the desired SOC is first used as the charging target and the minimum departure SOC is treated as the feasibility threshold when the desired SOC cannot be fully reached. The results show clear differences in scheduling coordination. FCFS charging lacks global optimization and therefore performs poorly in both economic cost and SOC feasibility, while the valley-price-priority strategy lowers the direct energy cost but still reaches the depot capacity limit and leaves part of the fleet below the minimum departure SOC requirement. In contrast, DCS-SPEA2 achieves the most balanced performance: compared with FCFS and valley-price-priority charging, it reduces the total economic objective by 17.97% and 16.30%, respectively, while lowering the depot-level peak load by 6.21%. More importantly, it achieves a 100% minimum departure SOC compliance rate and reduces the SOC deviation penalty by 57.78% relative to the valley-price-priority strategy. These improvements indicate that the proposed method does not simply shift charging to low-price periods but coordinates cost reduction, peak-load control, and departure SOC feasibility under limited depot resources.
Figure 5 illustrates the Pareto solution set obtained from the representative DCS-SPEA2 run. The nondominated solutions form a relatively clear distribution in the objective space, indicating a trade-off between the economic objective and the depot-level peak load objective. When the economic objective value is relatively low, some vehicles tend to be scheduled in low-price periods, which increases the depot-level peak load objective. When charging tasks are further dispersed over time, the depot-level peak load is controlled, but the corresponding economic objective value increases. The black star in the figure denotes the compromise scheduling scheme selected according to the normalized equally weighted sum criterion.
Figure 6 depicts the vehicle–charger scheduling arrangement associated with the selected compromise solution. The charging tasks of all vehicles are arranged within the available nighttime charging windows and are assigned to different chargers and time periods by considering charging demand, departure deadlines, and charger occupancy. The charging tasks on the same charger are connected in chronological order, with no overlapping charging tasks, showing that the schedule is consistent with the charger exclusivity requirement.
Figure 7 illustrates the relationship between the depot charging load and the time-of-use electricity price over the scheduling horizon. Throughout the scheduling horizon, the depot charging load is restricted by the capacity constraint and does not exceed the upper limit of 600 kW. Low-price periods still carry the main charging tasks, while the load peak remains below the capacity limit. Some periods still maintain relatively high loads, mainly because vehicle departure deadlines, minimum departure SOC requirements, desired SOC guidance, and the number of chargers jointly restrict the transferable space of charging tasks.

4.3. Algorithm Comparison

To evaluate whether the proposed problem-specific mechanisms improve the search performance of the basic SPEA2 framework, SPEA2 and DCS-SPEA2 are compared under the same parameter settings and computational budget. Table 5 summarizes the statistical comparison between SPEA2 and DCS-SPEA2 over 30 independent runs. Since the true Pareto front is usually difficult to obtain directly, this study adopts an approximate reference front. Specifically, the final nondominated solution sets obtained by all compared algorithms across all independent runs are first merged, and the overall nondominated solution set is then extracted from the merged set as the reference front for inverted generational distance (IGD) calculation. Note that HV and IGD are computed using the same metric definitions in both the algorithm-comparison and ablation experiments, but the normalization bounds and approximate reference front are constructed separately from the merged nondominated solution sets within each experimental group.
Overall, DCS-SPEA2 improves solution-set quality compared with standard SPEA2. The mean HV increases from 0.5783 to 0.6620, corresponding to an improvement of approximately 14.47%, while the mean IGD decreases from 0.2505 to 0.1993, representing a reduction of approximately 20.44%. The Wilcoxon test confirms that these improvements are statistically significant, with p-values of 0.0018 and 0.0024 for HV and IGD, respectively. In contrast, the mean Spacing value of DCS-SPEA2 is slightly higher than that of SPEA2, indicating a small loss in distribution uniformity, and its average CPU time is also higher because of the additional problem-specific mechanisms. Considering that the studied task is an offline nighttime depot scheduling problem, this computational cost remains acceptable.
Figure 8 traces the evolution of the mean HV values of the two algorithms over successive generations. The solid lines represent the mean HV values over 30 independent runs, and the shaded regions indicate the standard deviation ranges. As the number of generations increases, the mean HV values of both algorithms continue to improve, indicating that the evolutionary search process gradually improves the quality of the nondominated solution set. Compared with the basic SPEA2, DCS-SPEA2 maintains a higher HV level in most generations and shows a faster improvement rate in the early stage of the search. In the later stage, the HV curve of DCS-SPEA2 still increases slightly, but the growth rate gradually decreases, indicating that the search process enters a relatively stable stage.
Figure 9 compares the Pareto solution sets generated by SPEA2 and DCS-SPEA2 in the paired representative run, providing a visual comparison of the distribution differences between the nondominated solution sets obtained by the two algorithms. As shown in the figure, both algorithms obtain nondominated solutions. Compared with SPEA2, the front obtained by DCS-SPEA2 covers a wider range and extends toward the region with lower depot-level peak load, especially by providing more effective compromise solutions in the low-peak-load region. This result indicates that, in this representative run, DCS-SPEA2 has stronger front coverage and better search performance in the low-peak-load region, thereby providing a richer set of compromise schemes for scheduling decisions.

4.4. Ablation Experiment

An ablation experiment is conducted with the complete DCS-SPEA2 as the baseline to identify the contribution of each improvement mechanism. Each variant removes or replaces one mechanism while retaining the remaining algorithm settings, allowing its individual effect on solution quality and search performance to be assessed. Each variant is independently run 30 times on the same main case to ensure a fair comparison.
Table 6 reports the performance of the complete DCS-SPEA2 and its ablation variants. The results show that the search enhancement mechanisms and the constructive repair mechanism have more direct effects on solution-set quality and schedule feasibility, whereas dual-candidate competition initialization and lightweight archive-based elite neighborhood search mainly provide auxiliary improvements under the current case setting.
When elite-guided crossover and adaptive mutation are removed, HV decreases to 0.5363 and IGD increases to 0.2365, indicating weaker front approximation and search stability. Although this variant can still generate nondominated solutions, its coordination between the economic objective and peak-load control is weakened. When the complete constructive repair mechanism is replaced by weak repair, performance deteriorates most sharply: HV drops to 0.1055, IGD rises to 0.5897, and the number of nondominated solutions decreases to 1.77. This indicates that repair quality is critical for maintaining feasible and structurally reasonable schedules under interacting time-window, charger, SOC, and depot-capacity constraints.

4.5. Scheduling Adaptability Analysis Under Depot Resource Constraints

A sensitivity analysis based on the main case is conducted to examine how key depot constraints affect scheduling quality and operational feasibility. The analysis considers charger availability, depot power capacity, and vehicle charging time-window pressure, thereby revealing the main resource bottlenecks under constrained operating conditions. Table 7 summarizes the scenario settings.
Based on the above scenario settings, each scenario is independently run 10 times, and Table 8 summarizes the scheduling outcomes under different depot-resource and time-window conditions.

4.5.1. Scheduling Results Under Different Charger Availability Levels

Under different charger configurations, the minimum departure SOC compliance rate remains 100%, indicating that the minimum departure requirement is still satisfiable with 4–7 chargers in the tested scenarios. However, charger availability strongly affects desired SOC attainment and SOC deviation. With only four chargers, the desired SOC attainment rate is 27.59% and the SOC deviation penalty reaches 990.49, reflecting severe competition for charging service. Increasing the number of chargers to six improves the desired SOC attainment rate to 50.00% and reduces the SOC deviation penalty by approximately 43.33%. Further increasing the number of chargers to seven yields only limited additional improvement, suggesting that charger quantity is no longer the dominant bottleneck under the current vehicle scale. Therefore, charger expansion should be coordinated with vehicle return patterns, departure times, depot capacity, and electricity prices rather than treated as uniformly beneficial.

4.5.2. Charging Load Control Under Limited Depot Power Capacity

The P scenarios show that the minimum departure SOC compliance rate remains 100% even when the depot capacity is reduced to 480 kW, but tight power capacity substantially limits desired SOC attainment. When the capacity is 480–500 kW, peak loads remain close to the corresponding capacity limits, while the desired SOC attainment rate remains below 31% and SOC deviation penalties exceed 820 CNY. Increasing the capacity to 550–600 kW relieves aggregate power congestion and improves charging quality, with the desired SOC attainment rate rising to 50.00%. When the capacity further increases to 650 kW, the SOC deviation penalty declines to 423.32 CNY, but the benefit of additional capacity begins to be constrained by other operational factors.

4.5.3. Scheduling Adaptability Under Compressed Vehicle Charging Time Windows

In actual operations, compressed chargeable time windows may arise when vehicles return to the depot later than planned because of traffic congestion, temporary detours, or delayed vehicle handover, or when they need to depart earlier because of next morning service adjustments, temporary dispatch reinforcement, or changes in vehicle circulation plans. To simulate such operational pressure, the S group scenarios examine how scheduling results vary when vehicle time windows are tightened, while keeping the number of chargers and the depot power capacity unchanged. In these scenarios, S0 denotes the baseline case, whereas S1 and S2 increase the proportion of disturbed vehicles and simultaneously impose delayed return and earlier departure disturbances.
The S scenarios show that time-window compression can reduce the feasible scheduling space even when infrastructure conditions remain unchanged. In S1, the minimum departure SOC requirement is still satisfied, but the desired SOC attainment rate decreases by 14.83 percentage points and the SOC deviation penalty increases by 16.79%, indicating reduced flexibility for charging toward the desired SOC. Under the more severe S2 scenario, the minimum departure SOC compliance rate drops to 93.10%, the desired SOC attainment rate decreases to 30.69%, and the SOC deviation penalty increases by approximately 74.13%. These results indicate that concentrated late returns and earlier departures can shift the scheduling priority from desired SOC improvement to the preservation of minimum departure feasibility.

5. Discussion

The results show that nighttime centralized charging scheduling for battery electric buses is a resource-allocation problem involving multiple interacting objectives rather than a simple electricity-cost minimization task. Under simultaneous constraints on charger availability, depot power capacity, vehicle time windows, and departure SOC requirements, neither FCFS nor valley-price-priority charging can effectively coordinate the economic objective, SOC attainment, and depot-level peak-load control. By contrast, the compromise solution obtained by DCS-SPEA2 reduces both the composite economic objective and the depot-level peak load while ensuring that all vehicles satisfy the minimum departure SOC requirement. This finding is consistent with previous studies showing that time-of-use electricity pricing can improve charging economy and that coordinated scheduling can mitigate excessive depot charging peaks. The present study further demonstrates that effective depot operation depends on the coordinated allocation of limited charging resources among vehicles with heterogeneous time windows and energy demands, so that economic performance, departure energy assurance, and load control can be balanced within the feasible scheduling space.
The Pareto front, vehicle charging Gantt chart, and depot load curve in the main case further reveal the relationship between the two optimization objectives. A clear scheduling trade-off exists between economic performance and peak load control. This trade-off is not determined solely by electricity prices but is jointly constrained by vehicle arrival and departure times, minimum departure SOC requirements, and charger exclusivity relationships. Compared with modeling methods that approximate charging power as a constant input, the staged charging model and interval-overlap-based load calculation method adopted in this study explicitly link SOC evolution with load contribution in each time period. Thus, depot load calculation depends not only on vehicle charging duration or charged energy but also on the charging stage of each vehicle within each time window. Therefore, the formation process of depot-level peak load under different scheduling sequences can be characterized more specifically.
The algorithm comparison and ablation experiments show that problem-driven search design is important for maintaining solution quality and feasibility in constrained depot charging scheduling. Compared with standard SPEA2, DCS-SPEA2 achieves better HV and IGD performance, while the ablation results indicate that search enhancement mechanisms and constructive repair contribute more directly to the observed improvement. This suggests that, for electric bus charging scheduling, the effectiveness of a metaheuristic framework depends not only on Pareto-based selection but also on whether its search and repair operators reflect the structural coupling among charging duration, charger assignment, SOC feasibility, and depot capacity.
The sensitivity analysis of depot resources and vehicle time windows further reveals that different constraints create distinct scheduling bottlenecks. Charger availability mainly determines parallel service capability and therefore directly affects desired SOC attainment, whereas depot power capacity limits the aggregate charging intensity and is more closely associated with power congestion and peak load. By contrast, delayed vehicle returns and earlier departures reduce the available scheduling slack and may compromise minimum departure SOC compliance under severe disturbances. These findings indicate that charger availability, depot power capacity, and time-window stability influence different dimensions of scheduling performance and should not be treated as interchangeable indicators of resource adequacy. Accordingly, infrastructure configuration and charging scheduling should be coordinated to jointly account for depot resource limits, vehicle operational stability, and charging demand.

6. Conclusions

This study addresses the nighttime centralized charging scheduling problem for battery electric buses under limited depot resources. A multi-objective optimization model is developed by integrating staged charging characteristics, interval-overlap-based load calculation, minimum departure SOC constraints, charger exclusivity, and depot capacity limits, and a problem-driven DCS-SPEA2 algorithm is designed to solve the resulting discrete scheduling problem. In the main case with 29 battery electric buses and 6 chargers, the compromise solution obtained by DCS-SPEA2 achieves a 100% minimum departure SOC compliance rate, reduces the depot-level peak load to 562.74 kW, and decreases the composite economic objective by 17.97% and 16.30% compared with FCFS charging and valley-price-priority charging, respectively. These results indicate that coordinated charging scheduling can improve both economic performance and depot-level load control without sacrificing basic departure energy feasibility.
The algorithm comparison and ablation experiment indicate that the performance gains of DCS-SPEA2 are mainly associated with its problem-specific search enhancement and constructive repair mechanisms. Compared with standard SPEA2, DCS-SPEA2 increases the mean HV from 0.5783 to 0.6620 and reduces the mean IGD from 0.2505 to 0.1993, corresponding to improvements of approximately 14.47% and 20.44%, respectively. These improvements are obtained at the cost of a higher average CPU time, which increases from 60.84 s to 144.12 s, but the added computational burden remains acceptable for offline nighttime depot scheduling. The ablation results further show that removing the search enhancement mechanisms weakens front approximation, while replacing constructive repair with weak repair causes the most severe deterioration, with HV falling to 0.1055 and IGD increasing to 0.5897. The sensitivity analysis further shows that charger availability, depot power capacity, and vehicle time-window stability correspond to different scheduling bottlenecks, affecting desired SOC attainment, aggregate charging intensity, and minimum departure SOC compliance, respectively. For example, increasing the number of chargers from four to six raises the desired SOC attainment rate from 27.59% to 50.00%, while reducing the SOC deviation penalty by approximately 43.33%, increasing depot capacity from 480 kW to 650 kW lowers the SOC deviation penalty from 821.62 CNY to 423.32 CNY, and the severe time-window-compression scenario becomes infeasible for some vehicles under the original resource setting, with the minimum departure SOC compliance rate decreasing to 93.10%. These findings suggest that charger deployment, depot power capacity planning, and vehicle schedule stability should be jointly considered in depot-level charging management rather than optimized separately.
This study has several limitations. First, DCS-SPEA2 is a metaheuristic method, and the obtained Pareto charging schedules should therefore be regarded as approximate nondominated solutions rather than globally optimal solutions. Since no exact-solver benchmark is provided, the optimality gap to the true global Pareto front cannot be quantified at this stage. Second, the case study is based on a single-depot offline scheduling scenario with a limited fleet size, and further validation is still needed for larger-scale bus fleets. Third, electricity prices, vehicle operation disturbances, and battery state evolution are treated in a deterministic manner. Future research may extend the framework by incorporating exact-solver benchmarking for small instances and conducting broader comparisons with other multi-objective algorithms and larger-scale depot cases.

Author Contributions

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

Funding

This study was funded by the Natural Science Foundation of Shandong Province, grant number ZR2021MG021, and the Youth Innovation Technology Project of Higher School in Shandong Province, grant number 2021RW030.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The vehicle-level input data used in this case study can be found in Appendix A. The main model parameters and algorithm settings are detailed in the main text. Further inquiries can be directed to the corresponding author.

Acknowledgments

During the preparation of this manuscript, the authors used ChatGPT, version GPT-5.5, for language polishing and grammar improvement. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
SOCState of charge
SPEA2Strength Pareto Evolutionary Algorithm 2
HVHypervolume
IGDInverted generational distance
FCFSFirst-come-first-served
CNYChinese yuan
NDNumber of nondominated solutions
CVConstraint violation

Appendix A. Supplementary Data for the Case Study

Table A1 reports the depot arrival time, depot departure time, and arrival SOC of the 29 battery electric buses on Shanghai bus route 71.
Table A1. Operational data of 29 battery electric buses on Shanghai bus route 71.
Table A1. Operational data of 29 battery electric buses on Shanghai bus route 71.
Vehicle IDArrival Time at DepotDeparture Time from DepotArrival SOC (0–1)
R607923:3705:100.325
R093722:2106:100.317
R153022:3906:230.349
R219221:1005:200.329
R277321:5105:470.327
R353121:5105:410.325
R562721:4205:350.345
R602522:1605:010.339
R605123:1006:390.442
R608923:3306:540.312
R667922:3706:110.312
R750623:2506:430.227
R762223:0406:320.345
R766722:0005:580.321
R768922:5006:270.282
R792022:1606:030.314
R835723:5404:420.422
R716523:0004:510.453
S372621:1507:460.441
R519200:2006:500.460
T965119:2408:150.544
T095100:4005:500.451
R357118:0405:160.678
T097121:0605:300.468
R231119:3008:290.534
R525723:5008:500.332
R716220:3507:140.531
T703120:5008:400.462
R072519:5106:190.462

References

  1. Lajunen, A.; Lipman, T. Lifecycle cost assessment and carbon dioxide emissions of diesel, natural gas, hybrid electric, fuel cell hybrid and electric transit buses. Energy 2016, 106, 329–342. [Google Scholar] [CrossRef]
  2. Cui, S.; Gao, K.; Yu, B.; Ma, Z.; Najafi, A. Joint optimal vehicle and recharging scheduling for mixed bus fleets under limited chargers. Transp. Res. Part E Logist. Transp. Rev. 2023, 180, 103335. [Google Scholar] [CrossRef]
  3. Macioszek, E.; Sierpiński, G. Charging Stations for Electric Vehicles—Current Situation in Poland. In Research and the Future of Telematics; Mikulski, J., Ed.; Communications in Computer and Information Science; Springer: Cham, Switzerland, 2020; Volume 1289, pp. 124–137. [Google Scholar] [CrossRef]
  4. Li, X.; Wang, T.; Li, L.; Feng, F.; Wang, W.; Cheng, C. Joint optimization of regular charging electric bus transit network schedule and stationary charger deployment considering partial charging policy and time-of-use electricity prices. J. Adv. Transp. 2020, 2020, 8863905. [Google Scholar] [CrossRef]
  5. Rizopoulos, D.; Gkiotsalitis, K. Extending electric bus charging infrastructure considering charging scheduling and energy pricing. Transp. Res. Part C Emerg. Technol. 2025, 176, 105141. [Google Scholar] [CrossRef]
  6. Wu, Y.; Aziz, S.M.; Haque, M.H.; Kauschke, T. New staggered time-of-use tariffs to mitigate the impact of electric vehicle charging demand on distribution networks. Sustain. Energy Grids Netw. 2025, 42, 101682. [Google Scholar] [CrossRef]
  7. Liu, K.; Gao, H.; Liang, Z.; Zhao, M.; Li, C. Optimal charging strategy for large-scale electric buses considering resource constraints. Transp. Res. Part D Transp. Environ. 2021, 99, 103009. [Google Scholar] [CrossRef]
  8. Xylia, M.; Leduc, S.; Patrizio, P.; Kraxner, F.; Silveira, S. Locating charging infrastructure for electric buses in Stockholm. Transp. Res. Part C Emerg. Technol. 2017, 78, 183–200. [Google Scholar] [CrossRef]
  9. Kang, Q.; Wang, J.B.; Zhou, M.C.; Ammari, A.C. Centralized charging strategy and scheduling algorithm for electric vehicles under a battery swapping scenario. IEEE Trans. Intell. Transp. Syst. 2016, 17, 659–669. [Google Scholar] [CrossRef]
  10. Bao, Z.; Li, J.; Bai, X.; Xie, C.; Chen, Z.; Xu, M.; Shang, W.-L.; Li, H. An optimal charging scheduling model and algorithm for electric buses. Appl. Energy 2023, 332, 120512. [Google Scholar] [CrossRef]
  11. He, Y.; Liu, Z.; Song, Z. Joint optimization of electric bus charging infrastructure, vehicle scheduling, and charging management. Transp. Res. Part D Transp. Environ. 2023, 117, 103653. [Google Scholar] [CrossRef]
  12. Zhou, Y.; Meng, Q.; Ong, G.P.; Wang, H. Electric bus charging scheduling on a bus network. Transp. Res. Part C Emerg. Technol. 2024, 161, 104553. [Google Scholar] [CrossRef]
  13. Yang, J.; Yang, H.; Zhang, X.; He, Z. Charging optimization strategy of electric bus charging and swapping station based on power swap rule optimization and vehicle-battery pack matching. Proc. CSEE 2019, 39, 2337–2347. [Google Scholar] [CrossRef]
  14. Yang, S.; An, K.; Rich, J. Electric bus battery swapping and charging management across multiple depots. Omega 2026, 138, 103434. [Google Scholar] [CrossRef]
  15. Qin, N.; Gusrialdi, A.; Brooker, R.P.; T-Raissi, A. Numerical analysis of electric bus fast charging strategies for demand charge reduction. Transp. Res. Part A Policy Pract. 2016, 94, 386–396. [Google Scholar] [CrossRef]
  16. Teng, J.; Chen, T.; Fan, W.D. Integrated approach to vehicle scheduling and bus timetabling for an electric bus line. J. Transp. Eng. Part A Syst. 2020, 146, 04019073. [Google Scholar] [CrossRef]
  17. He, J.; Yan, N.; Zhang, J.; Yu, Y.; Wang, T. Battery electric buses charging schedule optimization considering time-of-use electricity price. J. Intell. Connect. Veh. 2022, 5, 138–145. [Google Scholar] [CrossRef]
  18. Wang, Z.; Zheng, F.; Hamdan, S.; Jouini, O. Charging scheduling optimisation of battery electric buses with charging setup time. Int. J. Prod. Res. 2025, 63, 3538–3563. [Google Scholar] [CrossRef]
  19. Toniato, E.; Mehta, P.; Marinkovic, S.; Tiefenbeck, V. Peak load minimization of an e-bus depot: Impacts of user-set conditions in optimization algorithms. Energy Inform. 2021, 4, 23. [Google Scholar] [CrossRef]
  20. Zhang, L.; Wang, Y.; Gu, W.; Han, Y.; Chung, E.; Qu, X. On the role of time-of-use electricity price in charge scheduling for electric bus fleets. Comput.-Aided Civ. Infrastruct. Eng. 2024, 39, 1218–1237. [Google Scholar] [CrossRef]
  21. Jahic, A.; Eskander, M.; Schulz, D. Charging schedule for load peak minimization on large-scale electric bus depots. Appl. Sci. 2019, 9, 1748. [Google Scholar] [CrossRef]
  22. Grenander, G.; Daniels, D. Price signals and load flexibility in public transport: A cost analysis of electric bus charging. Findings 2026, 157584. [Google Scholar] [CrossRef]
  23. Zhou, Y.; Meng, Q.; Ong, G.P. Electric bus charging scheduling for a single public transport route considering nonlinear charging profile and battery degradation effect. Transp. Res. Part B Methodol. 2022, 159, 49–75. [Google Scholar] [CrossRef]
  24. Niu, C.; Chen, Q.; Tu, R.; Huang, D.; Ye, Y. Co-optimizing electric bus dispatching and charging considering limited resources and battery degradation. Multimodal Transp. 2024, 3, 100165. [Google Scholar] [CrossRef]
  25. Kang, M.; Lee, B.; Lee, Y. A robust optimization approach for e-bus charging and discharging scheduling with vehicle-to-grid integration. Mathematics 2025, 13, 1380. [Google Scholar] [CrossRef]
  26. Zhang, M.; Mohamed, M.; Foda, A.; Guo, Y. Optimal electric bus charging scheduling with multiple vehicle and charger types considering compatibility. Sustainability 2025, 17, 3294. [Google Scholar] [CrossRef]
  27. Dabčević, Z.; Deur, J. Interactive optimization of electric bus scheduling and overnight charging. Energies 2025, 18, 4440. [Google Scholar] [CrossRef]
  28. Jia, Z.; An, K. Multi-depot battery electric bus scheduling and charging coordination under resource limitations. Appl. Energy 2025, 398, 126444. [Google Scholar] [CrossRef]
  29. Ameer, H.; Wang, Y.; Fan, X.; Chen, Z. Hybrid optimization of EV charging station placement and pricing using Bender’s decomposition and NSGA-II algorithm. Appl. Energy 2025, 397, 126385. [Google Scholar] [CrossRef]
  30. Montoya, A.; Guéret, C.; Mendoza, J.E.; Villegas, J.G. The electric vehicle routing problem with nonlinear charging function. Transp. Res. Part B Methodol. 2017, 103, 87–110. [Google Scholar] [CrossRef]
  31. Houbbadi, A.; Trigui, R.; Pelissier, S.; Redondo-Iglesias, E.; Bouton, T. A quadratic programming based optimisation to manage electric bus fleet charging. Int. J. Electr. Hybrid Veh. 2019, 11, 289–307. [Google Scholar] [CrossRef]
  32. Zhou, G.J.; Zhao, X.M.; Zhu, X.Y.; Xie, D.F. Collaborative optimization of vehicle and charging scheduling for mixed bus systems considering charging load balance. Appl. Energy 2025, 384, 125457. [Google Scholar] [CrossRef]
  33. Zitzler, E.; Laumanns, M.; Thiele, L. SPEA2: Improving the Strength Pareto Evolutionary Algorithm. TIK Rep. 2001, 103, 1–21. [Google Scholar] [CrossRef]
Figure 1. Research framework of nighttime charging scheduling for battery electric buses under depot resource constraints.
Figure 1. Research framework of nighttime charging scheduling for battery electric buses under depot resource constraints.
Sustainability 18 07925 g001
Figure 2. Staged charging function. Stages 1, 2, and 3 denote the fast-, medium-rate-, and slow-charging stages, respectively.
Figure 2. Staged charging function. Stages 1, 2, and 3 denote the fast-, medium-rate-, and slow-charging stages, respectively.
Sustainability 18 07925 g002
Figure 3. Flowchart of the DCS-SPEA2 algorithm.
Figure 3. Flowchart of the DCS-SPEA2 algorithm.
Sustainability 18 07925 g003
Figure 4. Vehicle-block encoding and decoding.
Figure 4. Vehicle-block encoding and decoding.
Sustainability 18 07925 g004
Figure 5. Pareto solution set obtained by the DCS-SPEA2 algorithm.
Figure 5. Pareto solution set obtained by the DCS-SPEA2 algorithm.
Sustainability 18 07925 g005
Figure 6. Vehicle–charger scheduling Gantt chart, where B1–B29 denote the 29 battery electric buses.
Figure 6. Vehicle–charger scheduling Gantt chart, where B1–B29 denote the 29 battery electric buses.
Sustainability 18 07925 g006
Figure 7. Depot-level load and time-of-use electricity price curves.
Figure 7. Depot-level load and time-of-use electricity price curves.
Sustainability 18 07925 g007
Figure 8. HV convergence curves. The blue and orange shaded areas represent the standard deviation ranges of SPEA2 and DCS-SPEA2 over 30 independent runs, respectively.
Figure 8. HV convergence curves. The blue and orange shaded areas represent the standard deviation ranges of SPEA2 and DCS-SPEA2 over 30 independent runs, respectively.
Sustainability 18 07925 g008
Figure 9. Pareto front comparison between SPEA2 and DCS-SPEA2.
Figure 9. Pareto front comparison between SPEA2 and DCS-SPEA2.
Sustainability 18 07925 g009
Table 1. Sets and parameters.
Table 1. Sets and parameters.
NotationMeaning
MSet of chargers in the bus depot, m M = { 1 , , | M | }
JSet of battery electric buses, j J = { 1 , , | J | }
TSet of discrete time periods, t T = { 1 , , | T | }
KSet of charging stages, k K = { 1 , 2 , 3 }
J req Set of vehicles whose initial SOC is below the minimum departure SOC requirement, J req = j J s j 0 < s j min .
Δ t Length of a discrete time window
[ a t , b t ] Start and end times of time window t
R j Battery capacity of vehicle j
a j Arrival time of vehicle j at the bus depot
b j Departure time of vehicle j from the bus depot
d ¯ j Maximum number of planned charging time slots available for vehicle j within its parking window
s j 0 Initial SOC of vehicle j
s j min Minimum departure SOC of vehicle j
s j tar Desired departure SOC of vehicle j
η Charging efficiency
c t Unit electricity price in time window t
p k Charging power corresponding to charging stage k
θ 1 , θ 2 SOC thresholds for staged charging
ϑ k SOC boundary parameter of charging stage k, where ϑ 0 = 0 , ϑ 1 = θ 1 , ϑ 2 = θ 2 , and ϑ 3 = 1
λ Deviation penalty coefficient
P dep max Maximum allowable charging load of the bus depot
ASufficiently large positive constant
Table 2. Decision variables and derived quantities.
Table 2. Decision variables and derived quantities.
NotationMeaning
Encoded/decision variables
u j Whether vehicle j participates in the charging task
c j Charger index assigned to vehicle j in the encoded vehicle block
s j Global start time slot of the planned charging interval of vehicle j
d j Number of planned charging time slots of vehicle j
x j m Whether vehicle j is assigned to charger m
z j h m Service precedence variable between vehicles j and h on the same charger m
Derived quantities
l j k Start time of vehicle j in charging stage k
r j k End time of vehicle j in charging stage k
Δ s j k SOC increment obtained by vehicle j in charging stage k
s j f SOC of vehicle j after charging
D j Deviation between the actual SOC and desired departure SOC of vehicle j after charging
m j k t Overlap ratio between charging stage k of vehicle j and time window t
I j p Planned charging interval of vehicle j generated by s j and d j
I j e Effective charging interval of vehicle j, obtained by intersecting I j p with the vehicle availability window
q j t Equivalent average charging power of vehicle j in time window t
Q t Total depot-level charging load in time window t
Table 3. Case and algorithm parameters.
Table 3. Case and algorithm parameters.
ParameterValue
Number of time slots72
Battery capacity of each vehicle360 kWh
Set of charging power levels { 120 , 80 , 30 } kW
Desired departure SOC95%
Minimum departure SOC65%
Electricity pricePeak-price period: 1.074 CNY/kWh;
Flat-price period: 0.671 CNY/kWh;
Valley-price period: 0.316 CNY/kWh
SOC thresholds for staged charging { 80 % , 90 % }
SOC deviation penalty coefficient800
Depot capacity limit600 kW
Charging efficiency0.95
Population size100
Maximum generations150
HV reference point ( 1.1 , 1.1 )
Table 4. Comparison of key scheduling indicators under different charging strategies.
Table 4. Comparison of key scheduling indicators under different charging strategies.
StrategyComposite Economic Objective, f 1 (CNY)Peak Depot Load, f 2 (kW)Energy Cost (CNY)SOC Deviation Penalty (CNY)Minimum Departure SOC Compliance Rate (%)
FCFS charging3344.55600.002238.291106.2689.66%
Valley-price-priority charging3277.86600.002028.711249.1693.10%
DCS-SPEA2 optimization2743.60562.742216.27527.33100%
Table 5. Statistical comparison results of the algorithms.
Table 5. Statistical comparison results of the algorithms.
AlgorithmHV (↑)IGD (↓)Spacing (↓)CPU Time (s) (↓)
SPEA2 0.5783 ± 0.0776 0.2505 ± 0.0558 0.0562 ± 0.0264 60.8438 ± 2.3943
DCS-SPEA20.6620 ± 0.0881 *0.1993 ± 0.0566 *0.0606 ± 0.0231144.1233 ± 6.3743
Note: Values are reported as mean ± standard deviation. The upward arrow indicates that a larger value is better, whereas the downward arrow indicates that a smaller value is better. * indicates statistical significance between DCS-SPEA2 and SPEA2 at the 0.05 level based on the Wilcoxon test. The p-values for HV and IGD are 0.0018 and 0.0024, respectively.
Table 6. Comparison of ablation experiment results for DCS-SPEA2.
Table 6. Comparison of ablation experiment results for DCS-SPEA2.
VariantHVIGDND f 1 (CNY) f 2 (kW)
DCS-SPEA20.56680.22037.432734.13570.29
Ablation-I0.55220.24037.032760.80561.66
Ablation-S0.53630.23658.172702.52578.28
Ablation-L0.56170.22537.532720.97571.17
Ablation-R0.10550.58971.772773.66599.35
Note: ND denotes the number of nondominated solutions.
Table 7. Scenario settings for resource and time-window sensitivity analysis.
Table 7. Scenario settings for resource and time-window sensitivity analysis.
ScenarioSetting Description
C14 chargers
C25 chargers
C36 chargers (baseline scenario)
C47 chargers
P1Depot power capacity limit: 480 kW
P2Depot power capacity limit: 500 kW
P3Depot power capacity limit: 550 kW
P4Depot power capacity limit: 600 kW
P5Depot power capacity limit: 650 kW
S0Vehicles return to and depart from the depot as scheduled (baseline scenario)
S140% of the earliest-returning vehicles undergo concentrated late return, and their departures are advanced by 60 min
S250% of the earliest-returning vehicles undergo concentrated late return, and their departures are advanced by 60 min
Table 8. Summary of scheduling results under different resource and time-window scenarios.
Table 8. Summary of scheduling results under different resource and time-window scenarios.
ScenarioSetting f 1 (CNY) f 2 (kW)SOC Deviation Penalty (CNY)Desired SOC Attainment Rate (%)Minimum Departure SOC Compliance Rate (%)
C14 chargers2913.03480.00990.4927.59%100%
C25 chargers2794.49549.11749.8939.66%
C36 chargers2724.73570.71561.3450.00%
C47 chargers2742.42569.44528.8954.14%
P1480 kW capacity limit2741.04480.00821.6228.97%100%
P2500 kW capacity limit2747.66487.29832.9830.69%
P3550 kW capacity limit2781.83519.68718.0042.07%
P4600 kW capacity limit2724.73570.71561.3450.00%
P5650 kW capacity limit2646.18594.23423.3253.10%
S0Baseline2724.73570.71561.3450.00%100%
S140% disturbed vehicles2557.94596.30655.6235.17%
S250% disturbed vehicles2716.66597.36977.4330.69%93.10%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sun, Y.; Pang, Y.; Gong, P. Charging Scheduling for Battery Electric Buses Under Limited Depot Resources. Sustainability 2026, 18, 7925. https://doi.org/10.3390/su18157925

AMA Style

Sun Y, Pang Y, Gong P. Charging Scheduling for Battery Electric Buses Under Limited Depot Resources. Sustainability. 2026; 18(15):7925. https://doi.org/10.3390/su18157925

Chicago/Turabian Style

Sun, Yanming, Yidan Pang, and Pihong Gong. 2026. "Charging Scheduling for Battery Electric Buses Under Limited Depot Resources" Sustainability 18, no. 15: 7925. https://doi.org/10.3390/su18157925

APA Style

Sun, Y., Pang, Y., & Gong, P. (2026). Charging Scheduling for Battery Electric Buses Under Limited Depot Resources. Sustainability, 18(15), 7925. https://doi.org/10.3390/su18157925

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop