Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Optimization of urban and rural electric bus scheduling considering mobile battery pack deployment

Abstract

To address the challenges of insufficient battery power and service interruptions faced by electric buses (EBs) on urban and rural electric bus routes, this study proposes an urban and rural electric bus scheduling method considering mobile battery pack (MBP) deployment. This method involves deploying MBPs at one or more designated stations along the upward direction of the route, enabling EBs requiring en-route charging to pick up an MBP when passing through this station and returning it when passing through the corresponding downward stations on the return travel. A 0–1 mixed-integer programming model is formulated to achieve the joint optimization of the MBP deployment scheme, EB scheduling plan, and charging plan, targeting the minimization of the average daily operating cost of the route (including vehicle usage costs, MBP usage costs, charging costs, and battery degradation costs). Subsequently, the formulated model is addressed by employing a genetic algorithm with an elite retention strategy. Finally, a case study based on an actual urban and rural electric bus route is conducted and a comparison is made with the urban and rural electric bus scheduling method without MBPs. The results demonstrate that the urban and rural electric bus scheduling method considering mobile MBP deployment effectively reduces the average daily operating costs. Specifically, vehicle usage costs, charging costs, and battery degradation costs are reduced by 8.11%, 2.93%, and 21.06%, respectively, leading to an overall cost reduction of 5.20%. These findings confirm the significant potential of MBPs in enhancing the flexibility and economic viability of the urban and rural electric bus route.

1. Introduction

1.1. Background

Electric buses (EBs) offer significant advantages in terms of zero emissions, lower energy consumption, and ease of operation. With the development of carbon peak and carbon neutrality strategy and the implementation of integrated urban and rural public transit systems, EBs have been widely deployed within both urban and rural transit networks. Unlike urban EB routes, urban and rural EB routes exhibit distinct operational conditions: (i) longer inter-terminal distances and trip times; (ii) sparser and more dispersed stop layouts; (iii) longer headways; and (iv) an asymmetric charging infrastructure, with charging resources concentrated at the urban terminal while the rural terminal is often incomplete or lacks chargers. These features raise per-trip energy consumption and reduce feasible charging opportunities, thereby amplifying EB limitations, namely long charging durations and limited driving range, which in turn elevate the risk of mid-route power shortfalls and service interruptions [1]. Moreover, the typical charging strategy currently employed is to concentrate charging when EBs return to the terminal. This strategy has shortcomings such as long charging durations and strict constraints on the vehicle scheduling plan. This may reduce the operating efficiency of the route and necessitate an increased fleet size to meet timetable requirements, thereby raising the operating costs.

The emergence of portable mobile battery packs (MBPS) offers a novel solution to the aforementioned issues. MBPs can be attached to the rear of EBs during operation, enabling EBs to charge en route whilst running. This effectively reduces charging time, avoids service interruptions, and enhances operation continuity. Based on the widespread distribution of commercial facilities (such as convenience stores and supermarkets) along urban and rural bus routes, this study proposes a novel urban and rural electric bus scheduling method considering MBP deployment. Specifically, bus companies can uniformly charge MBPs during nighttime off-peak electricity periods, then deploy the charged MBPs to selected stores near designated stations along the route with the first trip of the following day. During subsequent operations, EB requiring use of the MBP can pick it up when passing through this station on their upward direction of travel and return it when passing through the corresponding downward station on the return travel. Additionally, the last bus of the day will collect all MBPs from the stations and return them to the departure terminal for centralized charging, preparing for the following operation. This method effectively utilises existing resources without adding new fixed charging infrastructure, significantly enhancing the charging flexibility and reliability of the urban and rural electric bus system.

Therefore, this study focuses on the urban and rural electric bus route, aiming to enhance overall operational efficiency. Aiming to minimize average daily operating costs, we formulate a collaborative optimization model to obtain the MBP deployment scheme, EB scheduling plan, and charging plan. The proposed method holds significant importance for strengthening the operational robustness and charging efficiency of the urban and rural electric bus system, offering new solutions and technical support for the development of green, efficient, and intelligent public transit networks in both urban and rural areas.

1.2. Literature review

EBs are a vital carrier for facilitating the electrification of transport. In recent years, related studies have conducted extensive explorations in areas such as infrastructure deployment, route planning, timetable development, vehicle scheduling, and charging scheduling [26]. Although substantial literature has developed concerning the application and optimization of EBs in urban environments, research on urban and rural public transport systems remains relatively limited [712]. Therefore, this section reviews relevant literature from two perspectives: (i) urban and rural public transit; and (ii) electric bus transit.

  1. (i) urban and rural public transit

To address the challenges faced by public transportation operations under the integration of urban and rural public transit systems, existing studies have conducted preliminary explorations from the perspectives of system design, operational mechanisms, and scheduling strategies. Porru et al. [7] examined the comparative implementation of smart mobility strategies in rural versus urban settings and highlighted three key challenges: establishing standardized and dynamic routing metrics, and streamlining the planning and allocation of mobility-related investments. Schlüter et al. [8] assessed the applicability of demand-responsive transit in integrated rural–urban contexts by employing the agent-based simulation platform MATSim to model residents’ travel behavior. Zeng et al. [9] presented an innovative public transportation paradigm that combines passenger and freight services, aiming to simultaneously address travel needs and charging demands while minimizing overall travel expenses. Qu et al. [10] investigated strategies for improving both the operational efficiency and design of public transport systems connecting urban and rural areas. He et al. [11] designed an integrated framework for rural electric transport that jointly serves passenger travel and e-commerce logistics, aiming to minimize user and operator costs and determine the EB routing and scheduling plan.

  1. (ii) electric bus transit

In recent years, with the accelerating electrification of urban public transportation, the development of electric bus systems has gained increasing attention [1317]. A considerable number of works have been carried out on the vehicle scheduling and charging scheduling for electric bus systems, aiming to coordinate route assignments with vehicle availability under energy and operational constraints [1821]. Jahic et al. [22] formulated a mixed-integer programming model for EB scheduling under heterogeneous battery capacities, aiming to determine optimal fleet composition and size. Combining battery swapping and plug-in fast charging, Huang and Wang [23] proposed a hybrid charging strategy to address the uncertainty of battery energy consumption. Considering battery degradation effect and nonlinear EB charging profile, Zhou et al. [24] established a model to collaboratively optimize EB scheduling plan and charging plan under the partial charging policy, while Jin et al. [25] formulated a model to determine the EB charging plan. Bie et al. [26] designed a hybrid energy supply framework combining photovoltaic generation, energy storage, and the power grid to address photovoltaic output volatility and further formulated an EB scheduling optimization model under scenario-specific charging strategies. Incorporating en-route mobile battery swapping into the electric-vehicle routing framework, Xiao et al. [27] formulated an optimization model to minimize the purchase costs of electric vehicles and battery swapping vans and distance-dependent operating costs. Considering fleet attributes, itinerary time windows, charger capacity constraints, dynamic electricity prices, and partial charging, Naeimian et al. [28] formulated an EB en-route charging plan optimization model. Zhang et al. [29] established an EB scheduling plan optimization model to minimize the charger investment costs, EB charging costs, and fleet composition costs, taking into account heterogeneous fleets and chargers, partial charging strategy, and charger-vehicle compatibility.

Some studies have attempted to jointly address multiple planning tasks rather than treating them separately, aiming to improve both the efficiency and the cost-effectiveness of the public transport system [3033]. Under the opportunity charging strategy, Wang et al. [34] developed a coordinated optimization method to determine the battery rated capacity, EB fleet size, EB scheduling plan, EB charging plan, and charger deployment scheme, aiming to minimize the overall operation costs. McCabe et al. [35] formulated an optimization model to obtain the charger placement, EB charging schedules, and the number of chargers by balancing infrastructure investment and operational efficiency. Aimed at minimizing total operating cost, He et al. [36] presented a comprehensive optimization framework for the EB system, integrating charging infrastructure deployment, EB scheduling, and charging scheduling into a nonlinear mixed-integer programming model. Li et al. [37] designed an integrated framework for optimizing the EB charging plan, battery rated capacity, and dynamic wireless charging facility deployment scheme under dynamic wireless charging mode. Nath et al. [38] investigated the joint optimization of charging station location, vehicle-to-trip assignment, and EB charging time/location decisions, and addressed large-scale problem instances using an iterated local search heuristic. Behnia et al. [39] formulated an integrated EB operation optimization model, incorporating the determination of EB fleet size, EB scheduling, and charging infrastructure deployment to minimize operating costs.

In summary, the optimization of the urban and rural electric bus scheduling plan and charging plan still faces a significant research gap. In particular, existing studies have not fully considered the potential of mobile charging resources (e.g., MBPs) in alleviating charging bottlenecks and enhancing scheduling flexibility. The key challenge lies in achieving optimal coordination between limited charging resources and complex route structures, while ensuring operational continuity. Therefore, this study proposes an urban and rural electric bus scheduling method considering MBP deployment.

1.3. Contributions

Three main contributions are made by this research:

  1. (i) We present an urban and rural electric bus scheduling method that incorporates the deployment of MBPs. This method entails the deployment of MBPs at designated stations, enabling EBs to remove these MBPs from the station on their upward direction of travel and attach them to the EB during transit for en-route charging, and to return them upon subsequent passage through the corresponding downward station on the return travel. This method can effectively alleviate scheduling bottlenecks caused by limitations of traditional charging methods, thereby reducing the fleet size required for operations. Concurrently, this method appropriately reduces the depth of discharge (DOD) of the battery, thereby slowing the battery degradation rate.
  2. (ii) We formulate a 0–1 mixed-integer programming model to minimize the average daily operating costs of the route, taking into account time-of-use electricity tariff and battery degradation. This cost comprises vehicle usage costs, MBP usage costs, charging costs, and battery degradation costs. Subsequently, we employ the genetic algorithm based on an elite retention strategy to address the model, yielding the optimal MBP deployment scheme, EB scheduling plan, and charging plan.
  3. (iii) We carry out a case study of an actual urban and rural electric bus route to validate the effectiveness of the proposed urban and rural electric bus scheduling method considering MBP deployment. Then, we compare its performance to the urban and rural electric bus scheduling method without MBPs.

The structure of this study is arranged as follows. In Section 2, the development process and solution algorithm for the urban and rural electric bus scheduling model considering mobile battery deployment are presented. Section 3 provides a case study using a real urban and rural electric bus route. The research conclusions and potential future work are outlined in Section 4.

2. Methodology

2.1. Problem description

This study investigates the bus transit services provided by an urban and rural electric bus route using MBPs during a single day of operation. The service horizon is divided into T time slots of 1 minute each, with denoting the time index. MBPs are deployed at one or more designated stations along the upward direction of the route (from the urban-side departure terminal toward the rural-side terminal). Fig 1 presents an illustration of the urban and rural electric bus route considering MBP deployment. The urban-side departure terminal (denoted as o) is equipped with charging piles, whereas the rural-side terminal has no charging piles. A single bus trip refers to the process where an EB departs from the urban-side departure terminal, travels to the rural-side terminal station, and then returns to the urban-side departure terminal. MBPs are carried by the first EB departing from the urban-side departure terminal and unloaded upon arrival at the designated stations. During subsequent operations, EB requiring use of the MBP can pick it up when passing through these stations on their upward direction of travel and return it when passing through the corresponding downward stations on the return travel. For example, in Fig 1, an EB can pick up an MBP at station 4 on the upward direction of travel and return it at the corresponding downward station (station 9) during the return travel. Additionally, the last bus of the day will collect all MBPs from the stations and return them to the departure terminal for centralized charging, preparing for the following operation.

thumbnail
Fig 1. Illustration of the urban and rural electric bus route considering MBP deployment.

https://doi.org/10.1371/journal.pone.0339387.g001

This study aims to minimize average daily operating costs and determine the optimal MBP deployment scheme, EB scheduling plan, and charging plan based on a given timetable. Fig 2 provides a schematic illustration of the methodological framework. The notations utilized in this section are outlined in Table 1.

thumbnail
Fig 2. Schematic illustration of the methodological framework.

https://doi.org/10.1371/journal.pone.0339387.g002

Let denote the set of trips, which are indexed as . Let denote the sets of EBs equipped on the route, respectively, which are indexed as . To describe the assignment of trips to EBs, we define a set of binary decision variables. Specifically, if EB k consecutively performs trips i and j, then binary variable ; otherwise, , where . If trip j is the first trip served by EB k, then ; otherwise, . Similarly, if trip i is the last trip performed by EB k, then ; otherwise, . Furthermore, if EB k charges at the departure terminal after completing trip i, the binary variable ; otherwise, .

Let denote the sets of MBPs equipped on the route, respectively, which are indexed as . Let represent the set of stations on the route, which are indexed as . For the deployment of MBPs, if MBP m is stored at station n during daytime operations, then ; otherwise, . Therefore, the total number of MBPs stored at station n is . Moreover, if EB k requires retrieving MBP m stored at station n for charging during trip i, let 0-1 variable ; otherwise, .

2.2. Battery remaining power calculation

2.2.1. EB battery remaining power calculation.

To prolong the service life of batteries, the state of charge (SOC) of EBs during operation is maintained within the interval [40]. At the start of daily operation, the initial SOC of each EB is set to . The SOC of EB k at the departure time of trip j, denoted as ,can be categorized into five scenarios for discussion:

  1. (i) Trip j is the first trip performed by EB k, i.e., , can be calculated as:
(1)
  1. (ii) EB k does not charge en route using the MBP during the execution of trip i. After finishing trip i, EB k also does not charge at the departure terminal and then directly proceeds to execute trip j, i.e., , , and . can be computed as:
(2)

where denotes the battery rated capacity of EB k, kWh; represents the state of health (SOH) of the battery of EB k, %.

  1. (iii) During the execution of trip i, EB k does not charge en route using the MBP, but instead charges at the departure terminal after finishing trip i, and subsequently proceeds to execute trip j. In this case, , , and . Accordingly, can be calculated as:
(3)

where denotes the charging power of the charging piles at the departure terminal, kW; indicates the charging duration of EB k at departure terminal o after completing trip i during time period , min, where Q represents the total number of periods defined under the time-of-use electricity tariff scheme.

  1. (iv) EB k charges en route using the MBP during the execution of trip i. However, after finishing trip i, EB k does not charge at the departure terminal and then directly proceeds to execute trip j, i.e., , , and . can be calculated as:
(4)

where denotes the charging duration of EB k with MBP m during the execution of trip i, min.

  1. (v) EB k charges en route using the MBP during the execution of trip i, and also charges at the departure terminal after performing trip i, and then proceeds to execute trip j, namely, , , and . can be calculated as Eq. (5):
(5)

2.2.2. MBP remaining power calculation.

To describe the dynamic evolution of the MBP SOC, an auxiliary binary variable is introduced. Specifically, if at time t the EB k uses MBP m for charging en route while executing trip i, and this is the g-th time MBP m has been used, let ; otherwise, . The SOC of MBP m when it is used for the g-th time, denoted as , is calculated as shown in Eq. (6).

(6)

where denotes the SOC of MBP m when it is used for the (g−1)-th time, %; is the maximum SOC value of the MBP and also the initial SOC value of MBP m at the start of daily operation, %; represents the SOH of MBP m, %; is the rated capacity of MBP m, kWh.

2.3. Battery degradation cost calculation

The costs of battery capacity degradation caused by cycle aging constitute a major component of the total operating cost of the route. A complete charge and discharge cycle is defined as the process between the completion of one charging session and the completion of the next charging session. For each cycle, the capacity degradation rate, , can be estimated using the empirical aging model, as shown in Eqs. (7)(9) [41,42]. Moreover, because the SOC at the onset of charging does not necessarily coincide with that at the end of discharging, the capacity degradation rates during charging and discharging may differ. Therefore, in a charge and discharge cycle, the capacity loss can be expressed as the sum of two terms: the product of the charging throughput and the capacity degradation rate during charging, and the product of the discharging throughput and the capacity degradation rate during discharging. Let denote the total number of charge and discharge cycles experienced by EB k in one day. The degradation capacity of the battery during the cycle can be calculated as Eq. (10).

(7)(8)(9)(10)

where , , , and are model parameters; denotes the battery SOC at the beginning of charging or discharging, %; is the SOC at the end of charging or discharging, %; denotes the average SOC during the charge and discharge cycle, %; represents the deviation of SOC from the average during the charge and discharge cycle, %; represents the initial SOC of EB k at the beginning of the charge and discharge cycle, %; and denote the SOC of EB k at the completion of the discharge stage (i.e., the start of the charging stage) and at the completion of the charging stage in the cycle, respectively, %.

The battery is considered to reach its retirement threshold once its SOH declines to 80% [40]. In other words, the battery is no longer suitable for continued route operation when cumulative degradation capacity reaches 20% of the rated capacity. Therefore, the degradation cost of the battery during the cycle can be estimated as Eq. (11):

(11)

where is the purchase costs of the battery, CNY.

2.4. Model formulation

This study aims to minimize the average daily operating costs of the route, which includes vehicle usage costs, MBP usage costs, charging costs, and battery degradation costs. On this basis, an urban and rural electric bus scheduling optimization model considering MBP deployment is established to determine the optimal MBP deployment scheme, EB scheduling plan, and charging plan. These objectives are expressed in Eqs. (12) to (16) and are subject to Eqs. (17) to (26).

(12)(13)(14)(15)(16)(17)(18)(19)(20)(21)(22)(23)(24)(25)(26)

where denotes the average daily procurement cost of an EB, CNY; represents the average daily procurement cost of an MBP, CNY; is the electricity price in time period q, CNY/kWh; refers to the off-peak nighttime electricity price, CNY/kWh; is the departure time of trip j; is the ending time of trip i; indicates the charging power of MBPs, kW; indicates the travel time for an EB to move from station n where MBP m is stored to the corresponding downward station , min; is the energy consumption of an EB traveling from departure terminal o to station when performing trip i, kWh; is the distance between station n and station , km; is the minimum allowable distance between any two stations where MBPs are deployed, km.

Eqs. (13)(16) represent the calculation methods for the average daily vehicle usage costs, the average daily procurement costs of MBPs, charging costs, and battery degradation costs, respectively. Among them, the average daily procurement costs of MBPs are determined by their total procurement cost and the number of available service days. The MBPs utilized in this paper employ retired power batteries, with an initial SOH of 80% at deployment. When the SOH declines to 60%, the MBPs are considered no longer viable for operation [43]. The MBPs are charged only at night at the departure terminal, while discharge occurs exclusively during daytime operations. Consequently, each MBP experiences one complete charge and discharge cycle every day. Based on this assumption, the degradation capacity of MBP m can be calculated using Eq. (27). Once the accumulated degradation capacity reaches , the MBP can no longer be used, thereby determining its available service lifetime.

(27)

where denotes the SOC of MBP m at the end of daily operation, %.

Eqs. (17) and (18) stipulate that each trip is uniquely served by a single EB. Eq. (19) requires that every EB dispatched from the departure terminal must return after completing its assigned trips. Eq. (20) guarantees that the SOC of EB k remains within the interval during the execution of trip i. Eq. (21) ensures that the SOC of MBP m remains within the interval . Eq. (22) specifies the time feasibility constraint for EB k to proceed to perform trip j after completing trip i. Eq. (23) is the charging duration constraint for EB k to charge en route using MBP m during the execution of trip i. Eq. (24) stipulates that the distance between two stations deployed with MBPs should not be less than the minimum allowable distance. Eqs. (25) and (26) define the bounds of the decision variables in the optimization model.

2.5. Solution algorithm

In Section 2.4, the developed model is expressed as a mixed-integer programming problem. Such problems are typically high-dimensional and involve complex constraints, rendering traditional exact algorithms computationally expensive and inefficient for large-scale practical applications. The genetic algorithm, as a heuristic method based on population search, exhibits strong global search capability, which makes it particularly suitable for addressing combinatorial optimization and nonlinear problems. Moreover, the incorporation of an elite retention strategy preserves the best individuals across generations, thereby enhancing convergence stability and reducing the risk of losing high-quality solutions. Therefore, this study employs a genetic algorithm based on an elite retention strategy to tackle the formulated model.

A solution can be obtained through the following steps:

Step 1: Initialize the generation index g = 0 and set the maximum number of generations to G. The initial population size is defined as H, with each feasible individual indexed by . Using an integer-encoding scheme, each individual is represented by chromosomes, indexed by . The first chromosome encodes both the number and locations of deployed MBPs. Its length is equal to the total number of MBPs on the route, i.e., M. Each gene position represents one MBPm, and the value stored in that gene is the index of its deployment station n. In this way, the chromosome specifies the deployment scheme of all MBPs. The remaining K chromosomes each correspond to one EB, describing its daily sequence of trips and charging decisions. As illustrated in Fig 3, a chromosome consists of multiple operating tasks, with variable length. Each task is encoded by four basic genes: (i) the trip index performed by the EB; (ii) whether the EB charges at the departure terminal after completing the trip; (iii) whether the EB uses an MBP for charging during the trip; and (iv) the index of the MBP being utilized.

Step 2: Randomly generate the initial population. The number of individuals should be equal to the specified population size H. For each chromosome, all genes are required to satisfy the constraints (17) – (26).

Step 3: Define the reciprocal of the objective function as the fitness function. Using Eq. (28), calculate the fitness of each individual in the population sequentially.

(28)

Step 4: Check whether the generation index g exceeds G. If true, move to Step 9; otherwise, continue to Step 5.

Step 5: Selection. A hybrid selection operator combining the elite retention strategy with roulette wheel selection is applied.

Step 5.1: Calculate the fitness of each individual and compute the total fitness of the population.

Step 5.2: Identify the individual with the highest fitness in the current population and record it as the best individual to date.

Step 5.3: Calculate the selection probability of each individual. The probability for individual h can be calculated as Eq. (29):

(29)

Step 5.4: Calculate the cumulative selection probability of each individual. To be specific, Eq. (30) shows the calculation method for the cumulative probability of individual h.

(30)

Step 5.5: Set . Let denote the number of times individual h is selected. Initialize the number of selections for all individuals to 0.

Step 5.6: Produce a random number evenly dispersed within the interval [0, 1].

Step 5.7: If , select individual 1 and update . Otherwise, select individual such that , and update .

Step 5.8: Set .

Step 5.9: Check whether . If true, move to Step 5.10; otherwise, return to Step 5.6.

Step 5.10: Rank all individuals in descending order according to the number of times they are selected, and select the top H individuals to form the next generation.

Step 5.11: Apply the elite retention strategy, replacing the worst individual in the new generation with the best individual identified to date.

Step 6: Perform crossover operations on individuals in the population with probability .

Step 6.1: Randomly pair the H individuals in the population to form H/2 parent pairs. Set .

Step 6.2: Check whether . If true, move to Step 7; otherwise, continue to Step 6.3.

Step 6.3: Produce a random number evenly dispersed within the interval [0, 1]. Check whether it is less than , if true, proceed to Step 6.4; otherwise, proceed to Step 6.10.

Step 6.4: Randomly select a gene position from a chromosome of each parent as the crossover point. This position and all subsequent genes are designated as crossover genes. If the selected chromosome is the first chromosome (i.e., representing the MBP deployment scheme), then both parents must use their first chromosomes for crossover, go to Step 6.5; otherwise, proceed to Step 6.6.

Step 6.5: Apply single-point crossover to the first chromosomes of the parents. The resulting MBP deployment scheme may render the associated EB scheduling chromosomes infeasible with respect to operational constraints. Therefore, the EB scheduling plan of the offspring is repaired using the following procedure.

Step 6.5.1: Under the updated MBP deployment scheme, evaluate all trips with respect to SOC constraints and MBP utilization. Any trip that violates SOC bounds, time-window constraints, or MBP energy capacity limits is removed from its original chromosome and added to a repair list.

Step 6.5.2: Attempt to reassign the trips in the repair list to the existing chromosomes (representing the EB scheduling plan) by inserting each trip into feasible positions along the chromosomes. For each tentative insertion, the SOC and MBP energy consumption are updated, and the insertion is accepted only if all constraints remain satisfied.

Step 6.5.3: If a trip cannot be feasibly inserted into any existing chromosomes and the fleet size has not yet reached its upper bound, a new chromosome is created to serve this trip, thereby increasing the fleet size.

Step 6.5.4: Chromosomes with no assigned trips after the repair process are removed from the solution.

Step 6.5.5: If no feasible EB scheduling plan can be obtained under the maximum allowable fleet size, the offspring individual is discarded and the corresponding parent individuals are retained.

Step 6.5.6: Go to Step 6.7.

Step 6.6: Perform crossover on the chromosomes of both parents that represent the EB scheduling plan. Taking as an example the offspring individual that is constructed by inserting the crossover genes from the father into the mother, we describe the crossover operation and the subsequent repair procedure as follows.

Step 6.6.1: Duplicate the mother individual to create a new offspring individual, and remove its crossover genes. Check whether each deleted trip also exists among the crossover genes of the father individual. If so, delete it; otherwise, store the corresponding gene in a temporary list for later reinsertion in Step 6.6.4 so as to maintain the integrity of the offspring individual and guarantee that each trip is executed by a single EB.

Step 6.6.2: Examine the offspring individual to check whether it contains any of the crossover genes of the father individual. If yes, delete the corresponding gene in the offspring individual.

Step 6.6.3: Insert the crossover genes from the father individual into the offspring individual. Verify whether the offspring individual satisfies the constraints. Store any trip indexes that fail to meet the constraints for reinsertion in Step 6.6.4, thereby ensuring the integrity of the newly generated offspring individual.

Step 6.6.4: Search feasible insertion positions for all genes in the temporary list across all chromosomes of the offspring individual, and reinsert a gene only when all constraints are satisfied. Repeat this procedure until no further feasible insertion position can be found for any remaining gene.

Step 6.6.5: If a trip cannot be feasibly inserted into any existing chromosomes and the fleet size has not yet reached its upper bound, a new chromosome is created to serve this trip, thereby increasing the fleet size.

Step 6.6.6: Chromosomes with no assigned trips after the repair process are removed from the solution.

Step 6.6.7: If no feasible EB scheduling plan can be obtained under the maximum allowable fleet size, the offspring individual is discarded, and the corresponding parent individuals are retained.

Step 6.6.8: Go to Step 6.7.

Step 6.7: Let , proceed to Step 6.2.

Step 7: Apply the mutation to each individual with probability . Produce a random number evenly dispersed within the interval [0, 1]. If the random number is lower than , randomly select a chromosome from the current individual and modify one of its genes to produce a new individual; otherwise, proceed to the next individual for mutation.

Step 8: Let g=g+1, move to Step 4.

Step 9: Output the optimal MBP deployment scheme, EB scheduling plan, and charging plan corresponding to the individual with the maximum fitness value.

3. Case study

3.1. Data investigation

To validate the proposed urban and rural electric bus scheduling method considering MBP deployment, this paper adopts a real urban and rural electric bus route in a city in China as a case study. The route spans 58.6 km from terminal o to destination, covering 20 stations, with the alignment as illustrated in Fig 4. At the departure terminal, 5 charging piles are installed. As described in Section 2.1, one complete trip consists of an EB traveling from departure terminal o to destination and then returning to departure terminal o, with a total mileage of 117.2 km. The first bus departs at 5:00, while the last trip begins at 19:00. The operating period is divided into multiple time intervals, with departure headways and travel times summarized in Table 2. Meanwhile, the time-of-use electricity tariff adopted for the case study is reported in Table 3.

A total of 49 EBs are allocated to this route. The vehicle specifications include a curb weight of 11100 kg, external dimensions of 10690 × 2500 × 3200 (mm³), and a rated passenger capacity of 72. Each EB is equipped with a 226 kWh LiFePO4 battery, with an average energy density of 142.89 Wh/kg. Based on historical charging data, the SOH of the EB batteries is estimated to be 95%. The average energy consumption rate of an EB without MBPs is 0.914 kWh/km. It is noted that loading one MBP is estimated to increase the energy consumption per kilometer of the EB by approximately 0.058 kWh/km [40]. The inter-station distances along the route are listed in Table 4. Additional model input parameters are summarized in Table 5 [1,43,44].

3.2. Optimization results

We solved the proposed model using Python 3.12.5. The numerical experiments were performed on a personal computer equipped with an Intel(R) Core (TM) i9-14900HX CPU @ 2.20 GHz and 32 GB of RAM. In the genetic algorithm, the population size, the maximum number of iterations, the crossover probability, and the mutation probability are set to 100, 100, 0.7, and 0.1, respectively. Fig 5 displays the iteration results. The optimal solution was found within 496 s, which yields the average daily operating costs of 27422.26 CNY, consisting of 11643.98 CNY for vehicle usage costs, 995.61 CNY for MBP usage costs, 10439.09 CNY for charging costs, and 4343.58 CNY for battery degradation costs.

In the optimal solution, a total of 9 MBPs are deployed along the route, with 3 MBPs located at station 7 and 6 MBPs at station 11. Stations 7 and 11 are located approximately 26.86 km and 35.47 km from the urban departure terminal, respectively. After picking up the MBP at these stations, the EB can travel about 63.48 km and 46.26 km with the MBP before reaching the corresponding stations in the downward direction. Based on the average operating speed of EBs, EBs can charge up to 86 kWh and 69 kWh within this period, enough to fulfil the en route charging requirements of most EBs. According to the parameters specified in Section 3.1, the actual usable capacity of each MBP is approximately 168 kWh (300 × 0.8 × 0.7). Consequently, each MBP deployed at station 7 can be used twice by EBs, whereas an MBP located at station 11 can support three uses.

In the optimized operation plan, the number of EBs used is 34, and the EB scheduling plan and charging plan are presented in Fig 6. It should be noted that the figure only reports the charging periods of EB during daytime operations, whereas the final overnight charging process after the last trip is not included in this analysis. In Fig 6, the horizontal axis starts from time 300 (i.e., 05:00), corresponding to the departure of the first scheduled trip. It extends to time 1300 (namely 21:40), which marks the completion of the last trip of the day.

According to Fig 6, EBs typically charge at the departure terminal during the idle period after performing scheduled trips. This is because the route length is relatively long, and the SOC of the EB usually decreases by approximately 50% after completing a trip. Without timely charging, subsequent trips may suffer from insufficient energy, thereby disrupting operational continuity. To address this, MBPs are primarily employed as rapid energy replenishment solutions for EBs undertaking high-frequency trips. In particular, some EBs have short idle intervals between two consecutive trips, during which relying solely on departure terminal charging may be insufficient to restore the SOC to a safe level. As shown in Fig 6, among the EBs that use MBPs for the first time, EB 13, EB 14, and EB 15 exhibit markedly longer MBP-charging durations than the others. This is because the idle time at the urban departure terminal between their first and second trips is extremely short, leaving only a limited charging window and preventing the SOC from being restored to a level that can safely support the subsequent trip. Therefore, during their first trip, EB 13, EB 14, and EB 15 perform en route charging using the MBPs deployed at station 7, which allows for a relatively larger charging capacity.

From the above, the deployment of MBPs can effectively alleviate scheduling bottlenecks arising from the limitations of conventional charging methods, thereby reducing the fleet size. For example, Table 6 illustrates the charging plan of EB 13 involving MBPs. During the execution of trip 13, the EB completes a charging operation via the MBP, replenishing approximately 86 kWh of energy. This maintains the SOC of EB 13 at a high level (78.57%) upon trip completion. Subsequently, EB 13 utilized a 10-minute interval between two successive tasks to perform a short-duration charging at the departure terminal. In contrast, without the support of MBPs, EB 13 can only charge at the depot after completing trip 13. At that time, the SOC drops to 40.11%, and even after 10 minutes of departure terminal charging, it can only increase to 49.43%, which would be insufficient to cover the energy demand of trip 47. This situation would require additional EBs to perform trip 47, thereby increasing overall operating costs.

3.3. Plan comparison

A comparison is carried out between the proposed urban and rural electric bus scheduling method utilizing MBPs and a baseline schedule without such MBPs, to evaluate its effectiveness. The urban and rural electric bus route operation plan utilizing MBPs is denoted as Plan A, while the urban and rural electric bus route operation plan not employing MBPs is referred to as Plan B. Plan B is generated by solving the same optimization model under the identical algorithmic settings as Plan A, with the number of MBPs fixed at M= 0 (i.e., no MBPs). The comparison results are presented in Table 7. As can be observed through Table 7, the average daily operating cost of Plan A is 1505.55 CNY lower than that of Plan B, representing a reduction of 5.20%. Specifically, compared with Plan B, Plan A achieves reductions of 8.11% in vehicle usage costs, 2.93% in charging costs, and 21.06% in battery degradation costs.

In terms of vehicle utilization, compared to Plan B, Plan A requires 3 fewer vehicles in operation, decreasing vehicle operating costs by 1027.41 CNY, with a reduction rate of 8.11%. This benefit mainly arises from the flexibility of the MBPs utilized. MBPs can be integrated into the execution of trips, enabling EBs to conduct en-route charging, thereby preventing service interruptions or vehicle substitutions caused by insufficient SOC. For instance, in the charging plan of EB 13 presented in Table 6, continuous operation across multiple trips is achieved by combining en-route charging and short-interval charging at the departure terminal, thereby eliminating the need for additional reserve EBs. In contrast, under Plan B, EBs rely on charging at the departure terminal during trip intervals. However, when the SOC increases only marginally (e.g., from 40.11% to 49.43%), it cannot meet the energy requirements for the subsequent trip, necessitating the introduction of additional EBs. This contributes to an increase in both the required number of EBs and operating costs.

The charging cost under Plan A shows a slight decrease compared to Plan B, with a reduction of 314.64 CNY, representing a 2.93% decline. This is primarily attributed to the flexibility in charging time management provided by MBPs, which enables the system to transfer some charging demand from peak tariff periods to shoulder hours, thereby reducing charging costs. Such an optimization of the charging time enables Plan A to achieve superior cost performance, even though the total daily energy demand remains essentially unchanged.

In contrast, Plan A demonstrates a more significant reduction in battery degradation costs, amounting to 21.06%. This is because the introduction of MBPs reduces the DOD of the EB battery, thereby effectively slowing the degradation of the battery. However, under Plan B, EB batteries frequently suffer deep DOD cycles or even operate at near-critical SOC levels, thereby accelerating the battery degradation rate. Although Plan A includes an additional CNY 995.61 in MBP usage costs, this expenditure remains significantly lower than the cumulative reduced costs from the aforementioned three items. In short, the application of MBPs substantially enhances the charging flexibility and resource utilization efficiency, demonstrating superior economic adaptability and feasibility.

4. Conclusions

This study proposes an urban and rural electric bus scheduling method considering MBP deployment. To minimize the average daily operating costs, a 0–1 mixed-integer programming model is formulated, incorporating coordinated optimization of the MBP deployment scheme, EB scheduling plan, and charging plan. Subsequently, a genetic algorithm based on an elite retention strategy is employed to address the model. Finally, numerical experiments are conducted using an actual urban and rural electric bus route. A comparison is made between the proposed method and the urban and rural electric bus scheduling method without MBPs. The results demonstrate that the deployment of MBPs can avoid service interruptions or vehicle substitutions caused by insufficient SOC, thereby effectively alleviating scheduling feasibility issues arising from limitations in conventional charging methods. Moreover, this strategy can appropriately moderate the DOD of battery charge and discharge cycles, thereby slowing the battery degradation rate. To sum up, the proposed method offers significant advantages in reducing the operating costs of the urban and rural electric bus routes. Specifically, compared with the baseline case without MBPs, vehicle usage costs, charging costs, and battery degradation costs decreased by 8.11%, 2.93%, and 21.06%, respectively, resulting in an overall reduction of 5.20% in average daily operating costs.

Future research could further explore integrating renewable energy into the charging process of MBPs. Additionally, incorporating real-time passenger flow fluctuations and traffic uncertainties into the model could enhance its dynamic adaptability and practical applicability.

Supporting information

S1 File.

S1 Table. Operational information for each period. S2 Table. Time-of-use tariff schedule. S3 Table. Distance between stations along the route.

https://doi.org/10.1371/journal.pone.0339387.s001

(RAR)

References

  1. 1. Cong Y, Bie Y, Liu Z, Zhu A. Collaborative vehicle-crew scheduling for multiple routes with a mixed fleet of electric and fuel buses. Energy. 2024;298:131400.
  2. 2. Tang C, Ceder A, Ge Y-E. Optimal public-transport operational strategies to reduce cost and vehicle’s emission. PLoS One. 2018;13(8):e0201138. pmid:30067806
  3. 3. An K. Battery electric bus infrastructure planning under demand uncertainty. Transp Res Part C: Emerg Technol. 2020;111:572–87.
  4. 4. He Y, Liu Z, Song Z. Integrated charging infrastructure planning and charging scheduling for battery electric bus systems. Transp Res Part D: Transp Environ. 2022;111:103437.
  5. 5. Perumal SSG, Lusby RM, Larsen J. Electric bus planning & scheduling: a review of related problems and methodologies. Eur J Oper Res. 2022;301(2):395–413.
  6. 6. Cong Y, Bie Y, Wang L, Xu N, Yang Y. Joint timetabling and vehicle formation design for autonomous modular buses under two-level route layout mode. IEEE Trans Intell Transport Syst. 2025;26(10):14690–703.
  7. 7. Porru S, Misso FE, Pani FE, Repetto C. Smart mobility and public transport: opportunities and challenges in rural and urban areas. J Traff Transp Eng (English Edition). 2020;7(1):88–97.
  8. 8. Schlüter J, Bossert A, Rössy P, Kersting M. Impact assessment of autonomous demand responsive transport as a link between urban and rural areas. Res Transp Bus Manage. 2021;39:100613.
  9. 9. Zeng Z, Qu X. Optimization of electric bus scheduling for mixed passenger and freight flow in an urban-rural transit system. IEEE Trans Intell Transport Syst. 2023;24(1):1288–98.
  10. 10. Qu X, Wang S, Niemeier D. On the urban-rural bus transit system with passenger-freight mixed flow. Commun Transp Res. 2022;2:100054.
  11. 11. He D, Ceder A (Avi), Zhang W, Guan W, Qi G. Optimization of a rural bus service integrated with e-commerce deliveries guided by a new sustainable policy in China. Transp Res Part E: Logist Transp Rev. 2023;172:103069.
  12. 12. Zhang J, Qin J, Shao J, Shen J, Lv B. Collaborative optimization of multi-modal transport solutions for urban-rural bus routes. PLoS One. 2024;19(10):e0309096. pmid:39378199
  13. 13. Ma T-Y. Two-stage battery recharge scheduling and vehicle-charger assignment policy for dynamic electric dial-a-ride services. PLoS One. 2021;16(5):e0251582. pmid:34014951
  14. 14. Yıldırım Ş, Yıldız B. Electric bus fleet composition and scheduling. Transp Res Part C: Emerg Technol. 2021;129:103197.
  15. 15. Chang A, Cong Y, Wang C, Bie Y. Optimal vehicle scheduling and charging infrastructure planning for autonomous modular transit system. Sustainability. 2024;16(8):3316.
  16. 16. Dong G, Witlox F, Bie Y. Decentralizing e-bus charging infrastructure deployment leads to economic and environmental benefits. Commun Transp Res. 2024;4:100139.
  17. 17. Wang Y, Zhang S, Liu L, Gong P, Lu W, Wu F, et al. A review of battery electric public transport timetabling and scheduling: a 10 year retrospective and new developments. Electronics. 2025;14(9):1694.
  18. 18. Bie Y, Ji J, Wang X, Qu X. Optimization of electric bus scheduling considering stochastic volatilities in trip travel time and energy consumption. Computer Aided Civil Eng. 2021;36(12):1530–48.
  19. 19. Ji J, Bie Y, Wang L. Optimal electric bus fleet scheduling for a route with charging facility sharing. Transp Res Part C: Emerg Technol. 2023;147:104010.
  20. 20. Wang J, Wang H, Wang C. Optimal charging pile configuration and charging scheduling for electric bus routes considering the impact of ambient temperature on charging power. Sustainability. 2023;15(9):7375.
  21. 21. Shams Ashkezari L, Kaleybar HJ, Brenna M. Electric bus charging infrastructures: technologies, standards, and configurations. IEEE Access. 2024;12:80505–28.
  22. 22. Jahic A, Plenz M, Eskander M, Schulz D. Route scheduling for centralized electric bus depots. IEEE Open J Intell Transp Syst. 2021;2:149–59.
  23. 23. Huang D, Wang S. A two-stage stochastic programming model of coordinated electric bus charging scheduling for a hybrid charging scheme. Multimodal Transp. 2022;1(1):100006.
  24. 24. Zhou Y, Meng Q, Ong GP. 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.
  25. 25. Jin K, Li X, Wang W, Hua X. Cost-optimal charging strategies for electric bus fleets considering battery degradation and nonlinear charging. IEEE Trans Intell Transport Syst. 2024;25(6):6212–22.
  26. 26. Bie Y, Qin W, Wu J. Optimal electric bus scheduling method under hybrid energy supply mode of photovoltaic-energy storage system-power grid. Appl Energy. 2024;372:123774.
  27. 27. Xiao J, Wang S, Xiao J, Huang GQ. Delivery routing for electric vehicles with en-route mobile battery swapping. Transp Res Part E: Logist Transp Rev. 2024;192:103838.
  28. 28. Naeimian B, Mohseni G, Barzegari V, Nourinejad M, Park PY. Public transportation fleet electrification and charger schedule optimization using a decomposition heuristic. Energy. 2025;333:137135.
  29. 29. Zhang M, Mohamed M, Foda A, Guo Y. Optimal Electric Bus Charging Scheduling with Multiple Vehicle and Charger Types Considering Compatibility. Sustainability. 2025;17(8):3294.
  30. 30. Wang Y, Huang Y, Xu J, Barclay N. Optimal recharging scheduling for urban electric buses: a case study in Davis. Transp Res Part E: Logist Transp Rev. 2017;100:115–32.
  31. 31. Liu X, Qu X, Ma X. Optimizing electric bus charging infrastructure considering power matching and seasonality. Transp Res Part D: Transp Environ. 2021;100:103057.
  32. 32. Liu X, Yeh S, Plötz P, Ma W, Li F, Ma X. Electric bus charging scheduling problem considering charging infrastructure integrated with solar photovoltaic and energy storage systems. Transp Res Part E: Logist Transp Rev. 2024;187:103572.
  33. 33. Najafi A, Gao K, Parishwad O, Tsaousoglou G, Jin S, Yi W. Integrated optimization of charging infrastructure, electric bus scheduling and energy systems. Transp Res Part D: Transp Environ. 2025;141:104664.
  34. 34. Wang Y, Liao F, Lu C. Integrated optimization of charger deployment and fleet scheduling for battery electric buses. Transp Res Part D: Transp Environ. 2022;109:103382.
  35. 35. McCabe D, Ban XJ. Optimal locations and sizes of layover charging stations for electric buses. Transp Res Part C: Emerg Technol. 2023;152:104157.
  36. 36. 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.
  37. 37. Li W, He Y, Hu S, He Z, Ratti C. Planning dynamic wireless charging infrastructure for battery electric bus systems with the joint optimization of charging scheduling. Transp Res Part C: Emerg Technol. 2024;159:104469.
  38. 38. Nath RB, Rambha T, Schiffer M. On the impact of co-optimizing station locations, trip assignment, and charging schedules for electric buses. Transp Res Part C: Emerg Technol. 2024;167:104839.
  39. 39. Behnia F, Mousavi Nejad Souq SS, Schuelke-Leech B-A, Mirhassani M. Enhancing public transportation sustainability: Insights from electric bus scheduling and charge optimization. Sustain Cities Soc. 2025;125:106298.
  40. 40. Cong Y, Wang H, Bie Y, Wu J. Double-battery configuration method for electric bus operation in cold regions. Transp Res Part E: Log Transp Rev. 2023;180:103362.
  41. 41. Lam L, Bauer P. Practical capacity fading model for li-ion battery cells in electric vehicles. IEEE Trans Power Electron. 2013;28(12):5910–8.
  42. 42. Zhang L, Wang S, Qu X. Optimal electric bus fleet scheduling considering battery degradation and non-linear charging profile. Transp Res Part E: Logist Transp Rev. 2021;154:102445.
  43. 43. Bie Y, Zhou H, Yang M. Resource configuration and daily operational scheduling for urban electric bus route under the hybrid power supply strategy. Energy. 2025;320:135097.
  44. 44. Kivekas K, Vepsalainen J, Tammi K. Stochastic driving cycle synthesis for analyzing the energy consumption of a battery electric bus. IEEE Access. 2018;6:55586–98.