원시데이터 수집 시스템
선정목록으로

Integrated optimization of electric bus scheduling and charging planning incorporating flexible charging and timetable shifting strategies

관련 모빌리티 소재 · (4) 카시트 모듈

기본 정보

저자
  1. Mengyuan Duan — Key Laboratory of Transport Industry of Big Data Application Technologies for Comprehensive Transport, Ministry of Transport, Beijing Jiaotong University, Beijing 100044, China|||Urban Planning and Transportation Group, Eindhoven University of Technology, Eindhoven, the Netherlands
  2. Feixiong Liao — Urban Planning and Transportation Group, Eindhoven University of Technology, Eindhoven, the Netherlands
  3. Geqi Qi — Key Laboratory of Transport Industry of Big Data Application Technologies for Comprehensive Transport, Ministry of Transport, Beijing Jiaotong University, Beijing 100044, China
  4. Wei Guan — Key Laboratory of Transport Industry of Big Data Application Technologies for Comprehensive Transport, Ministry of Transport, Beijing Jiaotong University, Beijing 100044, China
DOI
10.1016/j.trc.2023.104175
저널
Transportation Research Part C Emerging Technologies
발행년도
2023
발행기관
Elsevier BV
피인용수
45
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.trc.2023.104175
토픽
Hybrid Renewable Energy Systems
OpenAlex ID
W4378530933

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (4) 카시트 모듈
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 카시트 모듈' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In a battery electric bus (BEB) network, buses are scheduled to perform timetabled trips while satisfying time, energy consumption, charging, and operational constraints. Increasing research efforts have been dedicated to the integrated optimization of multiple planning tasks to reduce system costs. At a high integration level, this study determines the BEB scheduling and charging planning with flexible charging and timetable shifting strategies. We first formulate an integrated arc-based model to minimize the total costs considering the power grid pressure cost and subsequently reformulate it into a two-stage model, for which we develop an effective solution method. The first stage minimizes the total operational costs including the fleet, charging, and battery degradation costs based on the column generation technique, and the second stage minimizes the peak power demand through two timetable shifting strategies. It is found through numerical experiments that the proposed integrated optimization model and solution method can achieve significant improvement in the utilization rate and reductions in the fleet size, operational costs, and peak power demand compared to the two baseline models.

본문 132,625자

본문 펼치기
# Integrated optimization of electric bus scheduling and charging planning incorporating flexible charging and timetable shifting strategies Citation for published version (APA): Duan, M., Liao, F., Qi, G., & Guan, W. (2023). Integrated optimization of electric bus scheduling and charging planning incorporating flexible charging and timetable shifting strategies. Transportation Research. Part C: [Emerging Technologies, 152, Article 104175. https://doi.org/10.1016/j.trc.2023.104175](https://doi.org/10.1016/j.trc.2023.104175) Document license: CC BY DOI: [10.1016/j.trc.2023.104175](https://doi.org/10.1016/j.trc.2023.104175) Document status and date: Published: 01/07/2023 Document Version: Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers) Please check the document version of this publication: - A submitted manuscript is the version of the article upon submission and before peer-review. There can be important differences between the submitted version and the official published version of record. People interested in the research are advised to contact the author for the final version of the publication, or visit the DOI to the publisher's website. - The final author version and the galley proof are versions of the publication after peer review. - The final published version features the final layout of the paper including the volume, issue and page numbers. [Link to publication](https://research.tue.nl/en/publications/34f88efb-ccbd-4407-ad2c-1f23c73a3d79) General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. - Users may download and print one copy of any publication from the public portal for the purpose of private study or research. - You may not further distribute the material or use it for any profit-making activity or commercial gain - You may freely distribute the URL identifying the publication in the public portal. If the publication is distributed under the terms of Article 25fa of the Dutch Copyright Act, indicated by the “Taverne” license above, please follow below link for the End User Agreement: www.tue.nl/taverne Take down policy If you believe that this document breaches copyright please contact us at: openaccess@tue.nl providing details and we will investigate your claim. Download date: 18 Oct 2026 p ( ) Contents lists available at ScienceDirect ## Transportation Research Part C [journal homepage: www.elsevier.com/locate/trc](https://www.elsevier.com/locate/trc) ### Integrated optimization of electric bus scheduling and charging planning incorporating flexible charging and timetable shifting strategies Mengyuan Duan <sup>a,</sup> <sup>b</sup>, Feixiong Liao <sup>b,</sup> <sup>*</sup>, Geqi Qi <sup>a</sup>, Wei Guan <sup>a,</sup> <sup>*</sup> a _Key Laboratory of Transport Industry of Big Data Application Technologies for Comprehensive Transport, Ministry of Transport, Beijing Jiaotong_ _University, Beijing 100044, China_ b _Urban Planning and Transportation Group, Eindhoven University of Technology, Eindhoven, the Netherlands_ A R T I C L E I N F O _Keywords:_ Bus scheduling Charging planning Timetable shifting Peak power demand Battery degradation 1. Introduction A B S T R A C T In a battery electric bus (BEB) network, buses are scheduled to perform timetabled trips while satisfying time, energy consumption, charging, and operational constraints. Increasing research efforts have been dedicated to the integrated optimization of multiple planning tasks to reduce system costs. At a high integration level, this study determines the BEB scheduling and charging planning with flexible charging and timetable shifting strategies. We first formulate an integrated arc-based model to minimize the total costs considering the power grid pressure cost and sub­ sequently reformulate it into a two-stage model, for which we develop an effective solution method. The first stage minimizes the total operational costs including the fleet, charging, and battery degradation costs based on the column generation technique, and the second stage minimizes the peak power demand through two timetable shifting strategies. It is found through numerical experiments that the proposed integrated optimization model and solution method can achieve significant improvement in the utilization rate and reductions in the fleet size, opera­ <u>tional costs, and peak power demand compared to the two baseline models.</u> It has been reported that the transportation sector accounts for about one-quarter of the global carbon dioxide emissions due to the wide use of carbon-fueled vehicles (IEA, 2019), which is one of the main causes of climate change. This proportion is even higher in developed economies, for example, one-third in the European Union (IEA, 2022). Therefore, it is necessary to find substitute mobility options to reduce emissions and secure a more sustainable environment. Electric mobility has proven to be instrumental in decar­ bonizing the transportation sector (Qu et al., 2022; Razeghi and Samuelsen, 2016). Amongst, electric public bus systems are considered an important pillar that offers affordable and environmentally friendly mobility. Local governments in many countries implement a series of policies, such as financial incentives, customer subsidies, and taxation on petroleum, to promote the deployment of battery electric buses (BEBs) (Nie et al., 2016). Despite the advantages of BEBs, they still face challenges in large-scale adoption (Ji et al., 2022; Zhang et al., 2021a). The high capital investment, including the costs of embedded battery packs and auxiliary charging facilities, makes BEBs less appealing than traditional diesel buses. The battery capacity of the BEBs gradually decreases during the charging and - Corresponding authors. _E-mail addresses:_ [f.liao@tue.nl (F. Liao), weig@bjtu.edu.cn (W. Guan).](mailto:f.liao@tue.nl) [https://doi.org/10.1016/j.trc.2023.104175](https://doi.org/10.1016/j.trc.2023.104175) Received 10 December 2022; Received in revised form 19 March 2023; Accepted 15 May 2023 Available online 27 May 2023 0968-090X/© 2023 The Author(s). Published by Elsevier Ltd. This is an open access article under the CC BY license [(http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/) _p_ _(_ _)_ discharging cycles, resulting in the degradation of battery performance (Schoch et al., 2018; Zhang et al., 2019). Furthermore, due to the complex planning processes for a BEB system, inefficient charging strategies and fleet schedules are usually adopted by BEB op­ erators (Yao et al., 2020; Zhang et al., 2021b). _1.1._ _Literature review_ In general, the planning tasks of bus systems include line designing, timetabling, bus scheduling, crew rostering, and charging planning (if the buses are BEBs). In the existing studies of bus systems, timetabling and bus scheduling are two primary research subjects. Timetabling is to determine the departure and arrival times of each trip in a bus network constrained by the given frequency and level of service of each line. Bus scheduling is to assign buses to serve the timetabled trips on the condition that each trip is covered by one bus. Because of the limited travel range of BEBs, the timetable needs reconstructions and more idle time for the charging process, where charging planning makes decisions on when, how long, and how much electricity the bus is charged. As reviewed below, these planning tasks have often been handled separately due to the high model complexity. Typically, a timetable is determined based on the line characteristics and the passenger demands between origins and destinations. With an emphasis on passenger services, the common objective of timetabling is to minimize passenger travel or transfer times (Wu et al., 2016), while ignoring the subsequent planning tasks. For the BEB scheduling problem, route duration, route distance, and the duration for replenishing energy at the charging points should be constrained due to the limitation of the driving range per charge. Some studies assigned the BEBs to meet the condition that each timetabled trip is covered once, aiming to yield the least operational costs. For example, given fixed charging duration, Tang et al. (2019) proposed robust scheduling strategies for BEBs under stochastic traffic conditions, and Rinaldi et al. (2020) focused on the optimal scheduling of a mixed BEB fleet. These studies did not show any charging flexibility since the charging duration or volume is fixed. Specifically, each charging operation starts immediately upon arrival at the charging station and has a determined charging duration or volume according to the “first-in-first-out” principle. Such an inflexible charging strategy cannot fully coordinate the demand of BEBs and the availability of charging resources. Assuming predetermined fleet schedules, some studies were dedicated to the orderly and flexible charging strategy. For example, Wang et al. (2017) arranged the charging demand of BEBs to ensure recharging without any delays. He et al. (2020) optimized charging schedules for a fast-charging system and determined when to charge a BEB. The obtained charging strategies are called “semi-flexible charging”, which indicates that the buses are charged to a pre-given electricity level while optimizing the sequence of charging operations. Unlike their studies, Abdelwahed et al. (2020) optimized the charging schedules and determined where, when, and how long each BEB should be charged while considering the time-dependent electricity prices in time-of-use (TOU) plans. This charging strategy is called “fullflexible charging”, as all the charging-related components need to be determined endogenously, such as the charging start time, duration, and volume. However, the studies mentioned above adopted separated optimization for single planning tasks, which tends to cause inefficient BEB planning outcomes (Schmid and Ehmke, 2015). Therefore, it is desirable to optimize these planning tasks integratively to exploit the system’s capacity to the greatest extent and maximize its productivity and efficiency (Ceder, 2001; Liu and Ceder, 2018). Integrated optimization has recently been a hotspot topic in the study of timetabling, bus scheduling, and charging planning. Commonly, two interdependent planning tasks are addressed simultaneously, such as integrating timetabling with bus scheduling or integrating bus scheduling with charging planning. The integrated optimization of timetabling and bus scheduling is only targeted at conventional buses. For instance, Ibarra-Rojas et al. (2014) combined two integer linear programming models of timetabling and vehicle scheduling to form a bi-objective integrated model. One objective is to maximize the number of passengers benefiting from well-coordinated transfers, and the other is to minimize the operational costs related to fleet management. Schmid and Ehmke (2015) aimed to minimize operational costs by balancing consecutive departures on a line according to predefined departure time intervals. In addition to the cost-efficiency objective, they also considered the quality of a timetable from a passenger’s point of view. Liu and Ceder (2018) developed a bi-level integer programming model to attain the optimality of timetable synchronization with vehicle scheduling. The integration of three or more planning tasks is even more desirable but seems infeasible for most practical problems (Teng et al., 2020). Increasing research has integrated charging planning for BEBs into the aforementioned integrated optimization models developed for non-BEBs. For instance, considering the limited driving range and charging requirement constraints, Liu and Ceder (2020) pro­ posed two formulations to minimize the total number of BEBs and chargers. One is based on the deficit function theory, and the other is an equivalent bi-objective integer programming model. Under travel range uncertainty, Li et al. (2021) addressed the multi-depot vehicle location-routing-scheduling problem with two-stage stochastic programming. Some realistic operational conditions, such as battery degradation, nonlinear charging profile, and peak power demand, were incorporated in different studies. To be specific, the capacity and power of batteries in BEBs gradually fade due to the chemical and mechanical processes, and this degradation mechanism always occurs owing to cyclic charging and discharging (Barr´e et al., 2013; Pelletier et al., 2018); the nonlinear charging profile implies varying charging efficiency responding to different charging conditions (Liu et al., 2022; Zhang et al., 2021a); peak power demand has a massive impact on the existing power system (Chen et al., 2018; Lopes et al., 2011; Vicini et al., 2012), which is triggered by a onetime occurrence of charging demand and usually measured as the highest average power over a time interval (e.g., varying from 15 to 60 min) (He et al., 2020; Hledik, 2014; Qin et al., 2016). Pelletier et al. (2018) developed a comprehensive mathematical model that incorporates a realistic charging process, time-dependent energy costs, battery degradation, grid restrictions, and facility-related demand charges. They pointed out that optimizing the charging schedule contributes to keeping the facility-related charging de­ mand low at the expense of spreading out the charging activities throughout the day. Zhang et al. (2021) determined the BEB charging strategies to minimize the total operational costs of a transit system. These studies reported that the incorporation of these charging _p_ _(_ _)_ conditions enhances realism and accounts for feasible fleet size reductions and charging strategies. The integrated optimization problems of any two of the above planning tasks have been demonstrated to be NP-hard (Ibarra-Rojas et al., 2014; Rinaldi et al., 2020). The integrated optimization of bus scheduling, charging planning, and timetabling with the consideration of realistic charging con­ ditions would be even more challenging. _1.2._ _Focus of this study_ As stated above, to the best of our knowledge, no study has investigated the bus scheduling and charging planning with timetable shifting problem while considering the battery degradation, non-linear charging profile, and TOU plans. For comparative convenience, we summarize the detailed characteristics of the relevant studies on the operational planning of BEBs in Table 1. As seen, the literature is evolving to take into account realistic operational conditions such as battery degradation, non-linear charging profile, and TOU plans. However, three notable literature gaps can be identified. First, the integrated optimization models of bus scheduling and charging planning have not considered timetabling. As such, the existing studies fall short of investigating the influence of charging strategies and moderating the peak power demand by timetabling-related strategies, such as timetable shifting. Second, most existing studies on bus scheduling and charging planning are based on fixed or semi-flexible charging strategies to obtain the sequence of service trips. This treatment of charging simplifies the modeling complexity but cannot capture the real operational conditions. Abdelwahed et al. (2020) was the only one that considered full-flexible charging, but their model focused on this single planning task. Third, existing approaches for solving the scheduling problem focused on heuristics, branch-and-price, and optimization solver. Although their problems can be solved well by these methods, they cannot solve the proposed integrated optimization problem well. To fill these gaps, this study aims to coordinate bus scheduling, charging planning, and timetabling with full-flexible charging as well as incorporate realistic operational conditions in a BEB system. Therefore, the main contributions of this study are presented as follows. First of all, we investigate an integrated optimization model for timetable modifications and joint bus and charging scheduling. This study thus far has the highest model integrity in the literature. Second, with the consideration of full-flexible charging, battery degradation, nonlinear charging profile and TOU plan, the model aims to generate a joint fleet and charging schedule to minimize the total costs, considering the power grid pressure cost. These considerations can capture the real operational conditions. Third, we reformulate the arc-based model and develop a two-stage so­ lution method. This treatment separates the integrated objective into the operational costs and the peak power demand, which simplify the complexity of the solution method. The remainder of this paper is organized as follows. Section 2 presents the problem description. In Section 3, an optimization model is proposed to characterize the integrated timetabling, BEB scheduling, and charging planning problem. Section 4 discusses the twostage solution method based on an arc-based model reformulation. Numerical experiments are conducted in Section 5 to verify the effectiveness and computational efficiency of the proposed model and solution method. Finally, Section 6 concludes the main con­ tributions and provides potential extensions for future work. 2. Problem description In this section, we first describe the setting of the research problem and then introduce the timetable shifting strategies in detail. Table 1 <u>Comparison of related references.</u> Reference Integrated <u>approach</u> Timetabling Battery <u>degradation</u> Nonlinear charging <u>profile</u> TOU <u>plans</u> Charging <u>flexibility</u> Solution <u>algorithm</u> Li (2014) Y N N N N S B&P Qin et al. (2016) N N N N Y S SIMULATION Wang et al. (2017) N N N N N N CPLEX Pelletier et al. (2018) Y N Y Y Y S CPLEX Xu and Meng (2019) Y N N Y N S B&P, HA Tang et al. (2019) N N N N N N B&P Yao et al. (2020) Y N N N N S GA Abdelwahed et al. N N N N Y F CPLEX (2020) N N N N Y F CPLEX He et al. (2020) N N N N Y S GAMS, CPLEX Liu and Ceder (2020) Y N Y Y N N DFT, LM, AMFM Li et al. (2021) Y N N N N S HA Liu et al. (2021) N N N N Y N B&P, HA Zhang et al. (2021a) Y N Y Y N S B&P, LCM _<u>This study</u>_ <u>Y</u> <u>Y</u> <u>Y</u> <u>Y</u> <u>Y</u> <u>F</u> <u>Two-stage, CG</u> TT = Timetabling; Y = Yes; N = No; S = Semi-flexible charging; F = Full-flexible charging; B&P = branch-and-price; HA = heuristic algorithm; DFT = deficit function theory; LM = lexicographic method; AMFM = adjusted max-flow method; GA = genetic algorithm; LCM = label correcting method. _p_ _(_ _)_ _2.1._ _Research problem_ The research problem focuses on BEB scheduling and charging planning with timetable shifting. The studied transit network can be illustrated in Fig. 1, which is composed of a single depot where all buses are housed at night, one central charging station with a limited number of candidate chargers located in the depot, several transit lines served by BEBs, and bus stops. The central depot charging requires that a BEB returns to the depot to replenish their electricity during the idle time between two service trips. According to the practice of BEB operations, the BEBs run round trips along the lines, and the start and end locations of the bus line, i.e., the bus stops of departure and arrival, are called terminals. For example, Line1 is composed of a sequence of stops; once a daily operation begins, a BEB departs from the depot and then performs the round trip based on terminal A. Due to the limited space capacity, a depot is usually located in a different location from the terminals. Therefore, there is certain distance between the depot and the terminals. To ensure that BEBs have enough electricity to perform the tasks in chronological order, they are not allowed to return to the depot except for replenishing their electricity. This network structure with one central depot and multiple neighboring terminals applies broadly to small-sized and medium-sized cities (Perumal et al., 2021) and has been widely used in the BEB literature. The planning horizon _T_ is discretized into equal time intervals as _T_ = {0 _,_ 1 _,_ 2 _,_ ⋯ _,_ | _T_ |}, where | • | gives the cardinality of a set. The sets of terminals and directed lines are denoted by _S_ and _L_, respectively. Each line _l_ ∈ _L_ has its original timetable T <sup>_l_</sup> sets of terminals and directed lines are denoted by _S_ and _L_, respectively. Each line _l_ ∈ _L_ has its original timetable T <sup>_l_</sup> 0 <sup>, and the set of</sup> timetabled trips is represented as _Il_ = {1 _, ...,_ | _Il_ |} in ascending order by their departure times. Thus, we have _I_ = ∪ _l_ ∈ _LIl_ and _Il_ ∩ _Il_ <sup>′</sup> = ∅, _l,_ _l_ ′ ∈ _L, l_ ∕= _l_ ′ . Trip _i_ is associated with a line _li_ ∈ _L_, terminal _si_ ∈ _S_, departure time _di_ ∈ T _l_ _l_ _l_ ′ ∈ _L, l_ ∕= _l_ ′ . Trip _i_ is associated with a line _li_ ∈ _L_, terminal _si_ ∈ _S_, departure time _di_ ∈ T _l_ 0 <sup>, travel time</sup> <sup>_tti_</sup> <sup>, and electricity</sup> <sup>_ei_</sup> <sup>(in per­</sup> centage) consumed by the trip. For consistency, the volume of electricity replenished at the charging station is also expressed in percentage. The objective is to minimize the total costs, considering the power grid pressure cost. The three key components, including modified timetable, fleet schedule, and the corresponding charging schedule are elaborated below. _2.2._ _Timetable shifting strategy_ The limited number of chargers at the central depot often leads to a high peak power demand (Liu and Ceder, 2018; Lin et al., 2019). We adopt the timetable shifting strategy, which has been applied for timetable synchronization in public transport (Fonseca et al., 2018), to adjust the start charging time to moderate the peak power demand. Large deviations from the original timetable would not only perturb the regular timetabled services but also confuse passengers with accustomed trip plans. More importantly, they would cause massive adjustments to the following scheduling tasks. To coordinate with the fleet and charging schedules, the original timetable should only be shifted within an acceptable range. We consider two types of shifting strategies, including block shifting and differentiated shifting. Block shifting indicates that the timetabled trips of a line are shifted equally while differentiated shifting means that the departure time of each timetabled trip makes a small shift within a time window. Essentially, block shifting is a special case of differentiated shifting. In a mathematical way, a generic form is proposed to represent the shifting strategy. Specifically, let _di_ denote the original departure time of trip _i_ and Δ _i_ denote the shift of trip _i_ . Note that Δ _i_ may be positive or negative, where a positive value indicates the time is moved backward and a negative value indicates the time is moved forward. Shift Δ _i_ should be constrainted by a time window, that is Δ _i_ ∈{ _di_ - - _di, di_ + − _di_ }, where _d_ - _i_ <sup>and</sup> <sup>_d_</sup> <sup>+</sup> _i_ <sup>denote the earliest and latest departure times at the terminal,</sup> time window, that is Δ _i_ ∈{ _di_ - - _di, di_ + − _di_ }, where _d_ - _i_ <sup>and</sup> <sup>_d_</sup> <sup>+</sup> _i_ <sup>denote the earliest and latest departure times at the terminal,</sup> respectively. When all trips in the timetable of one line are shifted equally, it indicates a block shifting strategy. To distinguish it from - - _di, di_ + − _di_ }, where _d_ - _i_ <sup>and</sup> <sup>_d_</sup> <sup>+</sup> _i_ differentiated shifting, Δ _l_ is introduced to denote the block shift of line _l_, where Δ _i_ = Δ _j_ = Δ _l,_ ∀ _i,j_ ∈ T <sup>_l_</sup> ~~+~~ _l_ <sup>}, where</sup> <sup>_~~d~~_</sup> differentiated shifting, Δ _l_ is introduced to denote the block shift of line _l_, where Δ _i_ = Δ _j_ = Δ _l,_ ∀ _i,j_ ∈ T <sup>_l_</sup> 0 <sup>_,l_</sup> <sup>∈</sup> <sup>_L_</sup> <sup>,</sup> <sup>Δ</sup> <sup>_l_</sup> <sup>∈{</sup> <sup>_~~d~~_</sup> ~~−~~ _l_ <sup>_,_</sup> <sup>_~~d~~_</sup> ~~+~~ _l_ <sup>}, where</sup> <sup>_~~d~~_</sup> ~~−~~ _l_ and _~~d~~_ ~~+~~ _l_ <sup>represent the pre-determined minimum and maximum time shifts of line</sup> <sup>_l_</sup> <sup>, respectively.</sup> ~~+~~ _l_ <sup>represent the pre-determined minimum and maximum time shifts of line</sup> <sup>_l_</sup> <sup>, respectively.</sup> <sup>_l_</sup> 0 <sup>_,l_</sup> <sup>∈</sup> <sup>_L_</sup> <sup>,</sup> <sup>Δ</sup> <sup>_l_</sup> <sup>∈{</sup> <sup>_~~d~~_</sup> ~~−~~ _l_ <sup>_,_</sup> <sup>_~~d~~_</sup> After timetable shifting, the actual departure time of trip _i_ is represented as _di_ + Δ _l_ + Δ _i,_ ∀ _i_ ∈ T <sup>_l_</sup> After timetable shifting, the actual departure time of trip _i_ is represented as _di_ + Δ _l_ + Δ _i,_ ∀ _i_ ∈ T <sup>_l_</sup> 0 <sup>_,l_</sup> <sup>∈</sup> <sup>_L_</sup> <sup>. Note that the departures of</sup> the trips in the same line can never overtake each other, meaning that the sequence of departures remains. Similar to the formulations in Fonseca et al.(2018), the shift window { _d_ <sup>−</sup> _i_ <sup>_, d_</sup> <sup>+</sup> _i_ } for trip _i_ can be created based on the original timetables as { _d_ <sup>−</sup> _i_ <sup>−</sup> _i_ <sup>_, d_</sup> <sup>+</sup> _i_ for trip _i_ can be created based on the original timetables as <sup>+</sup> _i_ } _,_ ∀ _i, i_ - 1 ∈ _Il, l_ ∈ _L_ (1a) Fig. 1. An illustration of the BEB transit network. _di_ <sup>−</sup> <sup>=</sup> <sup>_di_</sup> <sup>−</sup> ⌊ _<u>di</u>_ - _<u>di</u>_ - <u>1</u> - <u>1⌋</u> ⌊ _<u>di</u>_ - _<u>di</u>_ - <u>1</u> - <u>1</u> 2 _p_ _(_ _)_ _,_ ∀ _i, i_ + 1 ∈ _Il, l_ ∈ _L_ (1b) ⌋ _di_ <sup>+</sup> <sup>=</sup> <sup>_di_</sup> <sup>+</sup> _di_ <sup>+</sup> ⌊ _<u>di</u>_ +1 - _<u>di</u>_ 2 if _i_ refers to the first or the last trip of a line, we set _d_ <sup>−</sup> _i_ if _i_ refers to the first or the last trip of a line, we set _d_ <sup>−</sup> _i_ = _d_ <sup>+</sup> _i_ <sup>.</sup> For illustration purposes, Fig. 2 shows the two timetable shifting strategies given the original timetable. Fig. 2(a) presents the block shift Δ _l_ _<_ 0 for line _l_, indicating that all the timetabled trips of line _l_ are moved forward |Δ _l_ |; Fig. 2(b) presents the shift time windows { _d_ <sup>−</sup> _i_ <sup>_, d_</sup> <sup>+</sup> _i_ <sup>}</sup> <sup>and</sup> <sup>{</sup> <sup>_d_</sup> _i_ <sup>−</sup> +1 <sup>_, d_</sup> <sup>+</sup> _i_ +1 <sup>}</sup> <sup>for trips</sup> <sup>_i_</sup> <sup>and</sup> <sup>_i_</sup> <sup>+1 (</sup> <sup>_d_</sup> _i_ <sup>−</sup> +1 <sup>=</sup> <sup>_d_</sup> <sup>+</sup> _i_ <sup>+</sup> <sup>1), indicating that the departure times can be shifted within the time</sup> <sup>−</sup> _i_ = _d_ <sup>+</sup> _i_ { _d_ <sup>−</sup> _i_ <sup>_, d_</sup> <sup>+</sup> _i_ <sup>}</sup> <sup>and</sup> <sup>{</sup> <sup>_d_</sup> _i_ <sup>−</sup> +1 <sup>_, d_</sup> <sup>+</sup> _i_ +1 <sup>}</sup> <sup>for trips</sup> <sup>_i_</sup> <sup>and</sup> <sup>_i_</sup> <sup>+1 (</sup> <sup>_d_</sup> _i_ <sup>−</sup> +1 <sup>=</sup> <sup>_d_</sup> <sup>+</sup> _i_ <sup>+</sup> <sup>1), indicating that the departure times can be shifted within the time</sup> windows. 3. Model formulation This section presents the formulations of the research problem. First, we show the primary assumptions and notations of this study. Second, the network structure and components used to model the problem are presented. Next, we discuss the constraints concerning the flow conservation of BEBs, time window, energy consumption and replenishment, timetable shifting, and charging station ca­ pacity. Finally, we consider three parts of the operational costs and the peak power demand in the objective function. The total operational costs include the fleet cost, the charging cost, and the cost incurred by battery degradation. _3.1._ _Notations and assumptions_ The primary notations used in the formulations are listed in Table 2, and the assumptions used throughout this paper are sum­ marized as follows. Assumption 1 . _BEBs are homogeneous in terms of battery size and capacity_ . _Each bus can only serve one line on an operation day_, _and the_ _battery capacity is sufficient to cover at least one service trip_ . Assumption 2 . _There is only one charging station located in the depot where the physical distances between the chargers are neglected_ . _A_ _charging operation of a BEB can only occur at the charging station and is carried out with one of the chargers_ . Assumption 3 . _A BEB can be charged only after finishing a round trip at the terminal_ . Assumption 4 . _The routes of the buses for all the origin_ - _destination pairs are known and fixed_ . _Stochasticity in the road network is not_ _considered_, _and the running times of BEBs between any two consecutive stops remain the same as those in the original timetable_ . Assumption 5 . _A BEB with an initial level of battery electricity leaves the depot and begins its service_, _and the electricity of buses running on_ _lines should always fall within the feasible range_ . Assumptions 1 and 5 are consistent with the common practices of bus systems (He et al., 2019; An, 2020). Assumptions 2, 3 and 4 are adopted to simplify the problem, which are widely adopted in the literature related to the planning and operation of BEBs (Pelletier et al., 2018; Chen et al., 2018; Liu et al., 2021; Uslu and Kaya, 2021; Zhang et al., 2021a). Although the fast-charging method occurs at terminals in many studies (He et al., 2019; Wang et al., 2017), we make an assumption that the charging operations occur at the charging station since they can be transformed in the same formulations by the method of reduction (i.e., setting the distances between the depot and the terminals to 0). In addition, the consideration of time and energy consumption stochasticity is beyond the scope in this paper. _3.2._ _Network of fleet schedule and charging strategy_ To address the research problem rigorously, we follow Li (2014) to construct a network graph denoted by _G_ = ( _V,A_ ), where _V_ and _A_ Fig. 2. (a) Block shifting strategy; (b) Differentiated shifting strategy. <sup>−</sup> _i_ <sup>_, d_</sup> <sup>+</sup> _i_ <sup>+</sup> _i_ <sup>}</sup> <sup>and</sup> <sup>{</sup> <sup>_d_</sup> _i_ <sup>−</sup> _i_ <sup>−</sup> +1 <sup>_, d_</sup> <sup>+</sup> _i_ + <sup>+</sup> _i_ +1 <sup>}</sup> <sup>for trips</sup> <sup>_i_</sup> <sup>and</sup> <sup>_i_</sup> <sup>+1 (</sup> <sup>_d_</sup> _i_ <sup>−</sup> _i_ <sup>−</sup> +1 <sup>=</sup> <sup>_d_</sup> <sup>+</sup> _i_ _p_ _(_ _)_ Table 2 <u>The primary notations.</u> _<u>Sets</u>_ _<u>T</u>_ <u>set of timesteps, |</u> _<u>T</u>_ | <u>indicates the number of time intervals</u> _Q_ set of power demand periods _S_ set of terminals _L_ set of lines in the BEB network _I_ set of timetabled trips _Il_ set of timetabled trips of line _l_ _V_ set of all nodes, _V_ = _I_ ∪{ _O_ <sup>_o_</sup> _,_ _O_ <sup>_d_</sup> _,_ _c_ } _Vo,_ _Vd_ set of trip nodes with the source or sink depot node, _Vo_ = _I_ ∪{ _O_ <sup>_o_</sup> } _, Vd_ = _I_ ∪{ _O_ <sup>_d_</sup> } _A,_ _A_ <sup>_I_</sup> set of all arcs or service trip arcs _A_ <sup>_o_</sup> _,_ _A_ <sup>_d_</sup> set of pull-out arcs or pull-in arcs _BEB system setup_ _O,_ _c_ depot and the charging station _<u>O</u>_ <sup>_o_</sup> _,_ _O_ <sup>_d_</sup> source and sink of the depot _~~R~~_ feasible fleet schedule T <sup>_l_</sup> _Il_ <sup>1</sup> first trip of line _l_ _Il_ <sup>1</sup> <sup>_l_</sup> 0 original timetable of line _l_ _li_ line of trip _i_ _tti_ travel time of trip _i_ [min] _si_ terminal of trip _i_ _di_ scheduled departure time of trip _i_ _ei_ proportion of electricity consumed by trip _i_ [%] _h_ <sup>−</sup> _i_ <sup>_,_</sup> <sup>_h_</sup> <sup>+</sup> _i_ minimum and maximum headways [min] <sup>−</sup> _i_ <sup>_,_</sup> <sup>_h_</sup> <sup>+</sup> _i_ _i_ - _,_ _<u>di</u>_ _l_ - _,_ _~~d~~_ _l_ _<u>di</u>_ _~~d~~_ _l_ <sup>+</sup> _i_ minimum and maximum headways [min] + lower and upper bounds of shift time window of trip _i_ [min] + minimum and maximum times of block shifts of line _l_ [min] _ρ_ turnaround time [min] H <sup>init</sup> initial SOC of a BEB at the beginning of daily operation [%] H <sup>lo</sup> _,_ H <sup>max</sup> minimum and maximum electricity of a BEB [%] _E_ battery electricity of a BEB [kWh] _f_ ( _χ_ ) _,_ _f_ <sup>−</sup> <sup>1</sup> implicit function of SOC for duration _χ_ and the inverse function of _f_ ( _χ_ ) _ξ_ ( H 0 _,_ H _k_ ) function of battery capacity fading rate corresponding to the SOC from H 0 to H _k_ _d_ ( H 0 _,_ H _k_ ) cost function incurred by battery degradation changing from H 0 to H _k_ _τ_ ( _h,_ _m_ ) deadhead travel time between locations _h_ and _m_ [min] _e_ ( _h,_ _m_ ) proportion of energy consumption for deadhead travel from location _h_ to _m_ [%] _τ_ <sup>min</sup> minimum charging duration [min] _c_ <sup>_e_</sup> _t_ electricity price at timestep _t_ [$/kWh] _c_ <sup>_e_</sup> _t_ electricity price at timestep _t_ [$/kWh] _c_ <sup>_b_</sup> fixed cost of a BEB [$] _κ_ number of chargers _q_ power demand period, _q_ ∈ _Q_ _tq_ <sup>1</sup> <sup>_,_</sup> <sup>_t_</sup> _q_ <sup>2</sup> start and end time of period _q_ <sup>2</sup> start and end time of period _q_ _tq_ <sup>1</sup> <sup>_,_</sup> <sup>_t_</sup> _q_ <sup>2</sup> _Intermediate variables_ H _i_ remaining SOC after completing trip _i_ H <sup>_c_</sup> _i_ remaining SOC after completing trip _i_ H <sup>_c_</sup> _i_ remaining SOC after completing trip _i_ after arriving at the charging station before the charging starts _τ_ <sup>_a_</sup> _i_ actual arrival time of trip _i_ _τ_ <sup>_a_</sup> _i_ actual arrival time of trip _i_ _<u>cit</u>_ binary variable: 1 if the bus is charging at timestep _t_ after trip _i_ ; 0, otherwise Δ _l,_ Δ _i_ block shift of line _l_ and differentiated shift of trip _i_ _ϑij_ binary variable: 1 if charging consecutively occurs after trips _i_ and _j_ by the same bus; 0, otherwise. _pt_ unit power of the charging station at timestep _t_ [kW] _wit_ charging electricity at timestep _t_ after trip _i_ [%] _θq_ average power demand during demand period _q_ [kW] _θ_ peak power demand of the charging station [kW] _τ_ ( _i_ ) charging duration when a BEB is charged after trip _i_ [min] _w_ ( _i_ ) proportion of electricity replenished when a BEB is charged after trip _i_ [%] _Decision variables_ _μi_ binary variable: 1 if a charging operation happens after trip _i_ ; 0, otherwise _ait_ binary variable: 1 if the BEB is charged after trip _i_ at timestep _t_ ; 0, otherwise _bit_ binary variable: 1 if the BEB has finished charging after trip _i_ at _t_ ; 0, otherwise _xij_ binary variable: 1 if trips _i_ and _j_ are successively served by one bus; 0, otherwise _τ_ <sup>_d_</sup> _<u>i</u>_ <u>departure time of trip</u> _<u>i</u>_ _τ_ <sup>_d_</sup> _<u>i</u>_ <u>departure time of trip</u> _<u>i</u>_ are the node set and arc set, respectively. Node set _V_ is partitioned as _V_ = _I_ ∪{ _O_ <sup>_o_</sup> _,O_ <sup>_d_</sup> _,c_ }. In the network, single depot _O_ is extended as the source depot _O_ <sup>_o_</sup> where BEBs start daily operations, the sink depot _O_ <sup>_d_</sup> where BEBs finish the daily operation, and the charging station _c_ where BEBs replenish their electricity, respectively. Node set _I_ includes all timetabled trips, each of which refers to a period in time, not a typical spatial point. Besides, we use _Vo_ = _I_ ∪{ _O_ <sup>_o_</sup> } and _Vd_ = _I_ ∪{ _O_ <sup>_d_</sup> } to define the arcs. The set of arcs _A_ is partitioned as _A_ = _A_ <sup>_o_</sup> ∪ _A_ <sup>_d_</sup> ∪ _A_ <sup>_I_</sup>, in which each arc ( _i, j_ ) ∈ _A_ describes the movement from node _i_ ∈ _Vo_ to another node _j_ ∈ _Vd_ . The set of arcs _A_ should _p_ _(_ _)_ also include deadhead trips without transporting passengers. The arc set _A_ <sup>_o_</sup> = {( _i, j_ )| _i_ ∈ _O_ <sup>_o_</sup> _, j_ ∈ _I_ } denotes the bus moving from the depot to the departure terminal of trip _j_ when its daily operation starts, called a pull-out arc shown in Fig. 3. Arc set _A_ <sup>_d_</sup> = {( _i,j_ )⃒⃒ _i_ ∈ _I,_ _j_ ∈ _O_ <sup>_d_</sup> }, called pull-in arc, denotes the bus moving from the arrival terminal of trip _i_ to the depot when its daily operation ends. Arc set _A_ <sup>_I_</sup> = {( _i, j_ )| _i, j_ ∈ _I, i_ ∕= _j_ } denotes the bus moving from the arrival terminal of trip _i_ to the departure terminal of trip _j_, called a service arc for connecting two trips. Suppose the remaining energy is not sufficient for the next trip. In that case, the bus needs to replenish its electricity at the charging station and then perform the next trip, which can be represented as {( _i, c_ )→( _c, j_ )| _i, j_ ∈ _I, i_ ∕= _j_ } and included in the service arcs. The trip chain indicates that a BEB starts from the depot, then performs several timetabled trips, replenishes its electricity between the idle time of trips if the battery electricity is insufficient for the next service trip, and finally ends at the depot. The fleet schedule refers to the generation of trip chains, subject to the constraint that each timetabled trip is only performed once by one bus. One trip chain consists of some nodes and arcs, and the trips are in ascending order regarding their departure times, satisfying energy con­ sumption and charging time constraints. We illustrate the feasible fleet and charging schedules in Fig. 3(a). The time interval Fig. 3. An illustrative example of the BEB trips: (a) network graph; (b) power demand comparation. _p_ _(_ _)_ associated with each node represents the period of the corresponding nodes, such as the trip node with the scheduled departure and arrival times, the charging node with the start and end charging times, the state of charge (SOC) range before and after charging. This feasible fleet schedule _~~R~~_ ⊆ _R_ contains three trip chains, denoted as _~~R~~_ = { _r_ 1 _, r_ 2 _,_ _r_ 3}, namely, _r_ 1 = _O_ <sup>_o_</sup> - _i_ 1 − _i_ 3 − _c_ - _i_ 6 − _O_ <sup>_d_</sup>, _r_ 2 = _O_ <sup>_o_</sup> - _i_ 5− _c_ - _i_ 8 − _O_ <sup>_d_</sup>, and _r_ 3 = _O_ <sup>_o_</sup> - _i_ 2 − _i_ 4 − _c_ - _i_ 7 − _O_ <sup>_d_</sup>, where _c_ denotes charging. As for the charging schedule in Fig. 3(a), it includes ̃ _cj, ctj, etj,_ [ _soco, soct_ ] ) | _j_ = 1 _,_ ⋯ _,_ | _I_ | three charging operations expressed by a tuple _C_ ̃ = {( three charging operations expressed by a tuple _C_ ̃ = {( _cj, ctj, etj,_ [ _soco, soct_ ])| _j_ = 1 _,_ ⋯ _,_ | _I_ | }, where _cj_ is an indicator variable equal to 1 if a charging operation happens after trip _j_ and 0 otherwise, _ctj_ denotes the start charging time, _etj_ denotes the end charging time, [ _soco,soct_ ] indicates the SOC range before and after charging (%). This representation also implies the charging duration and volume of the charging operation. The original charging schedule requires 2 chargers; by timetable shifting, the charging demand can be replenished by 1 charger; the adjusted timetable and the optimized charging time are represented below nodes in Fig. 3(a). In addition, Fig. 3(b) indicates the power demand comparison between without and with timetable shifting for the illustrative example. Setting 15 min as a time interval, the peak power demand is 106.6 kW without shifting and 74.6 kW with shifting; the difference is 30% in this example, which indicates an advantage of the timetable shifting strategy. To guarantee the physical turnaround of the bus, we consider an average turnaround time _ρ_ . Related to the charging schedule, the charging volume needs to be determined, which is impacted by the charging duration and other factors such as the TOU plans and the nonlinear charging profile. Let _c_ <sup>_e_</sup> _t_ <sup>denote the electricity price in $/kWh associated with</sup> } other factors such as the TOU plans and the nonlinear charging profile. Let _c_ <sup>_e_</sup> _t_ <sup>denote the electricity price in $/kWh associated with</sup> timestep _t_ ∈ _T_ . As for the nonlinear charging profile, we use a constant current-constant voltage (CC-CV) scheme shown in Fig. 4(a), commonly adopted by electric vehicles (Lam and Bauer, 2013; Schoch et al., 2018; Xu and Meng, 2019). During the constant current (CC) phase, the charging current is held constant, and the battery’s terminal voltage increases until it reaches a certain maximum value, which is specified by the manufacturer. The constant voltage (CV) phase starts subsequently, and the terminal voltage must be maintained at the maximum value to avoid overcharging the battery. This scheme indicates that the variation of the battery’s SOC cannot be assumed linear with the charging time (Pelletier et al., 2016). Similar to Montoya et al. (2017), we make a piecewise linear function to formulate the variation of SOC and the charging duration. Let _f_ ( _χ_ ) be the charging function when _soc_ 0 = 0 and the battery is charged for _χ_ time intervals. As shown in Fig. 4(b), _soc_ 1 _,_ _soc_ 2 _,_ and _soc_ 3 represent the switch points of SOC in each piecewise part. Based on _soc_ 0, we have _χ_ 0 = _f_ <sup>−</sup> <sup>1</sup> ( _soc_ 0) and know in which piecewise part _χ_ 0 +Δ _χ_ is located. To put it simply, _soc_ 0 and Δ _χ_ are the input parameters of the piecewise function to obtain _socχ_ . Therefore, the final SOC can be calculated given the piecewise function of a charging profile, the SOC before visiting the charging station, and the charging duration. _3.3._ _Constraints_ _3.3.1._ _Flow conservation constraints_ A fleet schedule consists of several trip chains, and each trip chain performed by one bus is connected by the arcs from the pull-out arc, then to the service arcs, and finally to the pull-in arc as illustrated in Fig. 3(a). To capture the relationship, _xij_ is introduced as a binary decision variable, where _xij_ = 1 means trips _i_ and _j_ are successively served by one bus and _xij_ = 0 otherwise. To reduce the search space for the trip chain, infeasible or incompatible service arcs need to be removed from _A_ <sup>_I_</sup> beforehand. For service trip arc ( _i,j_ ), let _di_ and _dj_ denote the scheduled departure time, respectively, where _i,_ _j_ ∈ T <sup>_l_</sup> <sup>_l_</sup> 0 <sup>_,l_</sup> <sup>∈</sup> <sup>_L_</sup> <sup>,</sup> <sup>_d_</sup> <sup>−</sup> _i_ <sup>and</sup> <sup>_d_</sup> <sup>+</sup> _i_ [ <sup>−</sup> _i_ <sup>_,_</sup> <sup>_d_</sup> <sup>+</sup> _i_ <sup>_l_</sup> 0 <sup>_,_</sup> <sup>_l_</sup> <sup>∈</sup> <sup>_L_</sup> <sup>. Considering the shifting strategy, the departure</sup> time of trips will be modified possibly and shifted in a window _d_ <sup>−</sup> _i_ <sup>+</sup> _i_ time of trips will be modified possibly and shifted in a window [ _d_ <sup>−</sup> _i_ <sup>_,_</sup> <sup>_d_</sup> <sup>+</sup> _i_ ], where _i_ ∈ T <sup>_l_</sup> 0 <sup>_,l_</sup> <sup>∈</sup> <sup>_L_</sup> <sup>,</sup> <sup>_d_</sup> <sup>−</sup> _i_ <sup>and</sup> <sup>_d_</sup> <sup>+</sup> _i_ <sup>denote the earliest departure</sup> time of trip _i_ and the latest departure time of trip _j_, which are calculated by Eqs. (1a) and (1b). If the earliest arrival time at the terminal ] , where _i_ ∈ T <sup>_l_</sup> 0 Fig. 4. Nonlinear charging profile of constant current-constant voltage (CC-CV). _p_ _(_ _)_ _sj_ is greater than the latest departure time from the same terminal, service arc ( _i, j_ ) should be eliminated. This condition indicates that trip _j_ can never be performed on time even if trip _i_ arrives at the earliest, that is, _d_ <sup>−</sup> _i_ <sup>+</sup> <sup>_tti_</sup> <sup>+</sup> <sup>_ρ > d_</sup> <sup>+</sup> _j_ <sup>, where</sup> <sup>_d_</sup> _i_ <sup>−</sup> <sup>+</sup> <sup>_tti_</sup> <sup>denotes the earliest</sup> arrival time of trip _i_, _d_ <sup>+</sup> _j_ <sup>−</sup> _i_ <sup>+</sup> <sup>_tti_</sup> <sup>+</sup> <sup>_ρ > d_</sup> <sup>+</sup> _j_ <sup>+</sup> _j_ <sup>, where</sup> <sup>_d_</sup> _i_ <sup>−</sup> <sup>+</sup> _j_ <sup>denotes the latest departure time of trip</sup> <sup>_j_</sup> <sup>, and</sup> <sup>_ρ_</sup> <sup>is the bus turnaround time.</sup> _i_ <sup>−</sup> <sup>+</sup> <sup>_tti_</sup> <sup>denotes the earliest</sup> In practice, each timetabled trip is exactly included once in the fleet schedule, as formulated in Eq. (2). To guarantee the continuity of a trip chain, flow conservation between the connecting arcs needs to be satisfied as Eq. (3). ∑ _j_ :( _i,j_ )∈ _A_ \ _A_ <sup>_o_</sup> ∑ ∑ _xij_ = 1 _,_ ∀ _i_ ∈ _I_ (2) _xji_ = 0 _,_ ∀ _j_ ∈ _I_ (3) _xij_ _i_ :( _i,j_ )∈ _Al_ \ _A_ <sup>_d_</sup> _l_ _i_ :( _j,i_ )∈ _Al_ \ _A_ <sup>_o_</sup> _l_ _3.3.2._ _Time window constraints_ As stated above, this study considers flexible charging with varying start charging time and duration. With minor shifts from the scheduled departure time, we use _τ_ <sup>_d_</sup> _i_ <sup>and</sup> <sup>_τa_</sup> _i_ <sup>as non-negative integer variables to denote the actual departure and arrival times of trip</sup> <sup>_i_</sup> <sup>_d_</sup> _i_ <sup>and</sup> <sup>_τa_</sup> _i_ scheduled departure time, we use _τ_ <sup>_d_</sup> _i_ <sup>and</sup> <sup>_τa_</sup> _i_ <sup>as non-negative integer variables to denote the actual departure and arrival times of trip</sup> <sup>_i_</sup> respectively, which are limited by a shift time window of the original timetable. If the charging operation happens in the trip chain, the continuity should also be guaranteed. We define binary decision variable _μi_ as a charging indicator, where _μi_ = 1 if a charging operation happens after trip _i_ and _μi_ = 0 otherwise. In addition, given the flexible charging and TOU plans, the charging schedule is related to two binary cumulative time decision variables. If the bus is charged at a timestep _t_ <sup>*</sup> after trip _i_, _ait_ = 1 at _t_ ≥ _t_ <sup>*</sup> and _ait_ = 0 at other timesteps. Similarly, if the bus finishes charging at the timestep during _t_ <sup>*</sup> +Δ _t_ after trip _i_, _bit_ = 1 at _t_ ≥ _t_ <sup>*</sup> +Δ _t_ and _bit_ = 0 at other timesteps. Fig. 5 illustrates the relationship between _ait_ and _bit_ . For service arc ( _i,j_ ), _τ_ <sup>_a_</sup> _i_ <sup>_a_</sup> _i_ <sup>is affected by the timetable shifts and the turnaround time</sup> <sup>_ρ_</sup> <sup>, and thus should be equal to or earlier than</sup> <sup>_τd_</sup> _j_ <sup>_d_</sup> _j_ <sup>, as</sup> formulated in Eq. (4). The start and end charging times are constrained by Eqs. (5a) and (5b), where _τ_ ( _si, O_ <sup>_c_</sup> ) denotes the deadhead travel time from the terminal to the charging station, and _τ_ ( _O_ <sup>_c_</sup> _, sj_ ) denotes the deadhead travel time from the charging station to the departure terminal of trip _j_ . ) 1 − _xij_ _,_ ∀( _i, j_ ) ∈ _A_ <sup>_I_</sup> (4) _τ_ <sup>_a_</sup> _i_ <sup>_a_</sup> _i_ <sup>+</sup> <sup>_ρ_</sup> <sup>≤</sup> <sup>_τd_</sup> _j_ <sup>_d_</sup> _j_ <sup>+</sup> <sup>_M_</sup> ( _,_ ∀ _i_ ∈ _I_ (5a) _τ_ <sup>_a_</sup> _i_ <sup>+</sup> <sup>_τ_</sup> <sup>(</sup> <sup>_si, Oc_</sup> <sup>) −</sup> <sup>_M_</sup> <sup>(1 −</sup> <sup>_μ_</sup> _i_ <sup>) ≤</sup> ∑ ( _t_ _t_ ∈ _T_ ( _ait_ - _ai,t_ - 1 ) ∑ ( _t_ _t_ ∈ _T_ + _τ_ ) _μi_ ≤ _τdj_ <sup>_,_</sup> <sup>∀(</sup> <sup>_i, j_</sup> <sup>) ∈</sup> <sup>_AI_</sup> (5b) ( _O_ <sup>_c_</sup> _, sj_ _bit_ - _bi,t_ - 1 ) where _M_ indicates a large positive number. The charging duration is bounded by the minimum and maximum charging durations (Wang et al., 2022). The minimum charging duration is determined due to economic efficiency, while the maximum charging duration is constrained by the battery capacity of the BEB. Let _τ_ ( _i_ ) be the charging duration immediately after trip _i_, which can be calculated by _ait_ and _bit_ in Eq. (6a). The first term on the right side of the equation represents the end charging timestep, and the second term represents the start charging timestep. Furthermore, let _τ_ <sup>min</sup> denote the minimum charging duration and the actual charging duration is constrained by Eq. (6b), indicating that _τ_ ( _i_ ) is positive if the charging operation happens after trip _i_, and _τ_ ( _i_ ) = 0 otherwise. Given the maximum charging duration | _T_ |, the upper charging duration is limited by the latter constraint. _τ_ ( _i_ ) = ∑ ( _ait_ - _bit_ ) _,_ ∀ _i_ ∈ _I_ (6a) _t_ ∈ _T_ _τ_ <sup>min</sup> _μi_ ≤ _τ_ ( _i_ ) ≤| _T_ | _μi,_ ∀ _i_ ∈ _I_ (6b) Finally, _ait_ and _bit_ delimit the flexible charging duration as Eqs. (7a)-(7c). The coupling constraints between the charging operation and the start and end charging times are shown in Eqs. (8a) and (8b). _ait_ ≥ _ai,t_ - 1 _,_ ∀ _i_ ∈ _I, t_ ∈ _T_ \1 (7a) Fig. 5. Illustration of two indicator variables. _p_ _(_ _)_ _bit_ ≥ _bi,t_ - 1 _,_ ∀ _i_ ∈ _I, t_ ∈ _T_ \1 (7b) _ait_ ≥ _bit,_ ∀ _i_ ∈ _I, t_ ∈ _T_ (7c) _μi_ ≤ _μi_ ≤ ∑ _ait_ ≤| _T_ | _μi,_ ∀ _i_ ∈ _I_ (8a) _t_ ∈ _T_ ∑ _bit_ ≤| _T_ | _μi,_ ∀ _i_ ∈ _I_ (8b) _t_ ∈ _T_ _3.3.3._ _Energy consumption and replenishment constraints_ The energy consumption constraints are used to guarantee the continuity of the trip chain. If the remaining electricity of a BEB does not satisfy the next trip _j_, the bus needs to replenish energy at the charging station and then perform trip _j_ . Eq. (9a) captures the discharging dynamics between trips _i_ and _j_, where H _i_ denotes the remaining SOC after completing trip _i_ and H <sup>_c_</sup> _i_ <sup>denotes the remaining</sup> discharging dynamics between trips _i_ and _j_, where H _i_ denotes the remaining SOC after completing trip _i_ and H <sup>_c_</sup> _i_ <sup>denotes the remaining</sup> SOC of the bus after trip _i_ but before charging happens. Similarly, if a charging operation happens after trip _i_, the energy consumption and the replenishment should be considered. As described above, the charging electricity increases nonlinearly with the charging duration and the initial electricity. Let _w_ ( _i_ ) be the proportion of charging electricity, which is determined by ( _τ_ ( _i_ ) and H <sup>_c_</sup> _i_ <sup>. The pro­</sup> H <sup>_c_</sup> _i_ - H <sup>_c_</sup> _i_ <sup>_c_</sup> _i_ <sup>. The energy consumption and replenishment are con­</sup> ) <sup>)</sup> <sup>_c_</sup> _i_ <sup>_c_</sup> _i_ <sup>. The pro­</sup> portion of charging electricity is calculated as _w_ ( _i_ ) = _f_ ( _τ_ ( _i_ ) + _f_ <sup>−</sup> <sup>1(</sup> strained by Eqs. (9b) and (9c), where _e_ ( _si, O_ <sup>_c_</sup> ) denotes the proportion of deadhead energy consumption from the terminal to the charging station, and _e_ ( _O_ <sup>_c_</sup> _, sj_ ) denotes the energy consumption from the charging station to the arrival terminal. Noted that if a charging operation immediately happens after trip _i_, H <sup>_c_</sup> _i_ <sup>=</sup> <sup>H</sup> <sup>_i_</sup> <sup>−</sup> <sup>_e_</sup> <sup>(</sup> <sup>_si, Oc_</sup> <sup>).</sup> ( - _M_ ) 1 − _xij_ - _Mμi_ ≤ H _i_ - _ej_ - H _j_ ≤ _M_ + _Mμi,_ ∀( _i, j_ ) ∈ _A_ <sup>_I_</sup> (9a) <sup>_c_</sup> _i_ <sup>=</sup> <sup>H</sup> <sup>_i_</sup> <sup>−</sup> <sup>_e_</sup> <sup>(</sup> <sup>_si, Oc_</sup> <sup>).</sup> ( ) 1 − _xij_ - _M_ (1 − _μi_ ) ≤ H _i_ - _e_ ( _si, O_ <sup>_c_</sup> ) − H <sup>_c_</sup> _i_ <sup>≤</sup> <sup>_M_</sup> <sup>(1 −</sup> <sup>_μ_</sup> _i_ <sup>)</sup> <sup>_,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> (9b) - _ej_ - H _j_ ≤ _M_ (1 − _μi_ ) _,_ ∀( _i, j_ ) ∈ _A_ <sup>_I_</sup> (9c) ) - _M_ (1 − _μi_ ) ≤ H <sup>_c_</sup> _i_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>) −</sup> <sup>_e_</sup> - _M_ (1 − _μi_ ) ≤ H <sup>_c_</sup> _i_ ( _O_ <sup>_c_</sup> _, sj_ Let H <sup>min</sup> and H <sup>max</sup> be the pre-defined minimum and maximum electricity and H <sup>init</sup> be the initial SOC of a BEB at the beginning of the daily operations. To mitigate the range anxiety of the driver, the remaining electricity after trip _i_ should be constrained as Eq. (10a) following the natural process. Also, to avoid a BEB to visit the charging station frequently, the minimum level of electricity after charging is constrained by Eq. (10b), indicating that the sum of H <sup>_c_</sup> _i_ <sup>and</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>is non-negative if and only if the charging operation</sup> charging is constrained by Eq. (10b), indicating that the sum of H <sup>_c_</sup> _i_ <sup>and</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>is non-negative if and only if the charging operation</sup> happens; H <sup>_c_</sup> _i_ <sup>= 0, otherwise.</sup> <sup>_c_</sup> _i_ <sup>= 0, otherwise.</sup> H <sup>min</sup> ≤ H _i_ ≤ H <sup>max</sup> _,_ ∀ _i_ ∈ _I_ (10a) _μi_ H <sup>min</sup> ≤ H <sup>_c_</sup> _i_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>) ≤</sup> <sup>_μ_</sup> _i_ <sup>H</sup> <sup>max</sup> <sup>_,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> (10b) Finally, to ensure the integrity of the energy consumption of each bus when a daily operation starts or ends, the following con­ straints should be met. Specifically, Eq. (11a) indicates that each bus departs with battery electricity H <sup>init</sup> from the depot, and Eq. (11b) indicates that when the bus finishes its operation, the remaining SOC should be larger than the minimum value. - _M_ (1 − _xoi_ ) ≤ H <sup>init</sup> - _e_ ( _O_ <sup>_o_</sup> _, si_ ) − _ei_ - H _i_ ≤ _M_ (1 − _xoi_ ) _,_ ∀( _o, i_ ) ∈ _A_ <sup>_o_</sup> (11a) + _M_ (1 − _xid_ ) ≥ H <sup>min</sup> _,_ ∀( _i, d_ ) ∈ _A_ <sup>_d_</sup> (11b) ( H _i_ - _e_ _si, O_ <sup>_d_</sup> <sup>)</sup> _3.3.4._ _Timetable shifting constraints_ Based on the original timetable, the timetable shifting strategies adjust slightly departure times of the trips for better synchroni­ zation. The block shift Δ _l_ of timetable T <sup>_l_</sup> 0 zation. The block shift Δ _l_ of timetable T <sup>_l_</sup> 0 <sup>for line</sup> <sup>_l_</sup> <sup>is constrained by Eq. (12a), and the adjusted departure time should fall within the</sup> bounds defined by the lower and upper time shifts, formulated as Eq. (12b). According to Section 2.2, the actual departure time after adjustment is formulated as Eq. (13). ~~−~~ _l_ <sup>≤</sup> <sup>Δ</sup> <sup>_l_</sup> <sup>≤</sup> <sup>_d_</sup> _l_ _dl_ ~~+~~ _l_ <sup>_,_</sup> <sup>∀</sup> <sup>_l_</sup> <sup>∈</sup> <sup>_L_</sup> (12a) _di_ <sup>−</sup> _i_ <sup>−</sup> <sup>≤</sup> <sup>Δ</sup> <sup>_i_</sup> <sup>+</sup> <sup>_di_</sup> <sup>≤</sup> <sup>_d_</sup> _i_ <sup>+</sup> _i_ <sup>+</sup> <sup>_,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> (12b) _τ_ <sup>_d_</sup> _i_ <sup>=</sup> <sup>_di_</sup> <sup>+ Δ</sup> <sup>_l_</sup> <sup>+ Δ</sup> <sup>_i,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_Il, l_</sup> <sup>∈</sup> <sup>_L_</sup> (13) In addition, the adjusted timetable should meet the headway constraints. The minimum headway is determined by the operator for safety consideration and the maximum headway is usually related to the service level. The headway between sequenced trips _i_ and _i_ +1 is constrained by Eq. (14), where _h_ <sup>−</sup> _i_ <sup>and</sup> <sup>_h_</sup> _i_ <sup>+</sup> <sup>represent the minimum and maximum headways, respectively.</sup> <sup>−</sup> _i_ <sup>and</sup> <sup>_h_</sup> _i_ <sup>+</sup> _i_ <sup>+</sup> <sup>represent the minimum and maximum headways, respectively.</sup> <sup>_d_</sup> _i_ - 1 <sup>≤</sup> <sup>_hi_</sup> _hi_ - ≤ _τdi_ _di_ <sup>−</sup> <sup>_τd_</sup> _i_ _p_ _(_ _)_ + _,_ ∀ _i_ ∈ _Il_ \ _Il_ 1 <sup>_, l_</sup> <sup>∈</sup> <sup>_L_</sup> (14) _3.3.5._ _Capacity constraints_ The number of chargers is limited by the available space at the charging location (Abdelwahed et al., 2020). The number of buses charged at any timestep should not exceed the number of chargers at the charging station. As shown in Fig. 5, _ait_ - _bit_ indicates whether the bus is charging at timestep _t_ . _μi_ ( _ait_ - _bit_ ) = 1 denotes that a charging operation occurs for trip _i_ at timestep _t_ . Each bus can serve a maximum of one trip at any timestep, and a trip can only be served by one bus. Thus, the constraint of charging station capacity is formulated as Eq. (15), where _κ_ denotes the number of chargers at the depot. ∑ _μi_ ( _ait_ - _bit_ ) ≤ _κ,_ ∀ _t_ ∈ _T_ (15) _i_ ∈ _I_ _3.4._ _Objective function_ _3.4.1._ _Fleet cost_ Fleet cost is dependent on the number of used BEBs. In general, it is related to the amortized cost, the depreciation cost, the cost of insurance and maintenance, etc. (Zhang et al., 2021a). In the BEB network, the number of buses corresponds to the number of trip chains in the fleet schedule. With the definition of the pull-out arc indicator _xoi_, the fleet cost associated with the number of buses can be calculated by _FC_ = ∑ _c_ <sup>_b_</sup> _xoi_ (16) _i_ ∈ _I_ where _c_ <sup>_b_</sup> is the fixed cost of one BEB. _3.4.2._ _Charging cost_ The charging cost is dependent on the charging time, charging volume, and unit electricity price. As formulated above, the charging ( H <sup>_c_</sup> _i_ - H <sup>_c_</sup> _i_ <sup>_c_</sup> _i_ <sup>. To calculate the charging cost,</sup> <sup>_wit_</sup> <sup>is introduced as the charging electricity at</sup> ) <sup>)</sup> <sup>_c_</sup> _i_ volume is represented as _w_ ( _i_ ) = _f_ ( _τ_ ( _i_ ) + _f_ <sup>−</sup> <sup>1(</sup> timestep ( _t_ after trip _i_ . If a charging operation happens after trip _i_, the proportion of charging electricity is formulated as _wit_ = H _i,t_ - 1 _f_ ( Δ _t_ + _f_ <sup>−</sup> <sup>1(</sup> ) <sup>)</sup> - H _i,t_ - 1, where Δ _t_ denotes the unit time interval, _t_ indicates the charging timestep, and H _i,t_ - 1 denotes the electricity level at timestep _t_ - 1. Because of the implement of TOU plans, _c_ <sup>_e_</sup> _t_ <sup>denotes the unit electricity price at timestep</sup> <sup>_t_</sup> <sup>. And the</sup> charging cost can be calculated as Eq. (17), where _E_ denotes the battery capacity of a BEB. ∑ _c_ <sup>_e_</sup> _t_ ∑ <sup>_e_</sup> _t_ <sup>_witE_</sup> (17) _CC_ = _i_ ∈ _I_ _t_ ∈ _T_ _3.4.3._ _Battery degradation cost_ The battery degradation cost is incurred by each cyclic discharging and charging process of the battery (Lam and Bauer, 2013). Let ∇ _ϑ_ = {( _i, j_ )| _i, j_ ∈ _I_ } be the set of consecutively charging operations, which can be obtained from the charging schedule along the trip chain. Let _ϑij_ be a consecutively charging operation indicator, where _ϑij_ = 1 means two consecutively charging operations happen after trips _i_ and _j_ served by the same bus, and _ϑij_ = 0 otherwise. According to Zhang et al. (2021), we show the discharging and charging of electricity between the consecutively charging operations in Fig. 6. If _ϑij_ = 1, the SOC changes of one cyclic discharging and charging Fig. 6. Illustration of discharging and charging cycle. _p_ _(_ _)_ <sup>_c_</sup> _j_ <sup>_,_</sup> <sup>H</sup> <sup>_c_</sup> _j_ { <sup>_c_</sup> _i_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>H</sup> <sup>_c_</sup> _j_ _j_ } and { H <sup>_c_</sup> _j_ <sup>_c_</sup> _j_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_j_</sup> <sup>)}, where</sup> <sup>H</sup> <sup>_c_</sup> _i_ <sup>_c_</sup> _i_ <sup>and</sup> <sup>H</sup> <sup>_c_</sup> _j_ <sup>_c_</sup> _j_ <sup>denote the remaining SOC at the charging</sup> process are represented as station before charging, H <sup>_c_</sup> _i_ H <sup>_c_</sup> _i_ <sup>_c_</sup> _j_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_j_</sup> <sup>) denote the SOC after charging, respectively.</sup> <sup>_c_</sup> _i_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>) and</sup> <sup>H</sup> <sup>_c_</sup> _j_ Let _d_ (*) denote the charging or discharging degradation cost corresponding with the SOC changes, which is calculated by an empirical model (Lam and Bauer, 2013) developed to describe the aging of batteries over each charge and discharge cycle. We provide detailed calculations in the supplementary document. The total battery degradation cost is formulated as Eq. (18), where _d_ ( H <sup>_c_</sup> _i_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>H</sup> <sup>_c_</sup> _j_ <sup>)</sup> <sup>and</sup> <sup>_d_</sup> <sup>(</sup> <sup>H</sup> <sup>_c_</sup> _j_ <sup>_,_</sup> <sup>H</sup> <sup>_c_</sup> _j_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_j_</sup> <sup>))</sup> <sup>represent the degradation costs corresponding with the SOC changes of battery discharging</sup> <sup>_c_</sup> _i_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>H</sup> <sup>_c_</sup> _j_ <sup>_c_</sup> _j_ <sup>and charging from</sup> <sup>H</sup> <sup>_c_</sup> _j_ <sup>_c_</sup> _j_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_j_</sup> <sup>))</sup> <sup>represent the degradation costs corresponding with the SOC changes of battery discharging</sup> <sup>_c_</sup> _j_ <sup>to</sup> <sup>H</sup> <sup>_c_</sup> _j_ from H <sup>_c_</sup> _i_ <sup>_c_</sup> _i_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>to</sup> <sup>H</sup> <sup>_c_</sup> _j_ <sup>_c_</sup> _j_ <sup>)</sup> <sup>and</sup> <sup>_d_</sup> <sup>(</sup> <sup>H</sup> <sup>_c_</sup> _j_ <sup>_,_</sup> <sup>_c_</sup> _j_ <sup>_,_</sup> <sup>H</sup> <sup>_c_</sup> _j_ <sup>_c_</sup> _j_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_j_</sup> <sup>), respectively.</sup> ( H <sup>_c_</sup> _i_ <sup>_c_</sup> _i_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>H</sup> _j_ <sup>_c_</sup> ( <sup>_c_</sup> _j_ <sup>_,_</sup> <sup>H</sup> <sup>_c_</sup> _j_ (18) ∑ _DC_ = _ϑij_ ( _i,j_ )∈∇ _ϑ_ ( _d_ ) _j_ <sup>_c_</sup> _j_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_j_</sup> <sup>)</sup> )) H <sup>_c_</sup> _j_ + _d_ _3.4.4._ _Peak power demand_ The peak power demand reflects the stress of the power grid, which is a prescribed measurement over time intervals during the billing period (Perumal et al., 2021). Let _pt_ denote the unit power of the charging station at timestep _t_, represented as _pt_ = <sup>∑</sup> _i_ ∈ _I_ <sup>_witE,_</sup> billing period (Perumal et al., 2021). Let _pt_ denote the unit power of the charging station at timestep _t_, represented as _pt_ = <sup>∑</sup> _i_ ∈ _I_ <sup>_witE,_</sup> ∀ _t_ ∈ _T_ . Let _α_ denote the length (in the unit of h) of a time interval for calculating the peak power demand; thus, a day (24 h) is divided into 24 _/α_ demand periods. The set of demand periods is denoted by _Q_ = {1 _,_ 2 _,...,_ 24 _/α_ }. For a demand period indexed by _q_ ∈ _Q_, _tq_ <sup>1</sup> <sup>and</sup> _tq_ <sup>2</sup> _q_ <sup>1</sup> <sup>and</sup> _tq_ <sup>2</sup> <sup>denote the start and end times, respectively. The average power demand</sup> <sup>_θq_</sup> <sup>of</sup> <sup>_q_</sup> <sup>is calculated as Eq. (19a) and the peak power</sup> demand _θ_ is defined as Eq. (19b). ∑ _t_ ∈[ _tq_ <sup>1</sup> _,tq_ <sup>2</sup> ] _θq_ = <sup><u>1</u></sup> _α_ _θq_ = <sup><u>1</u></sup> _pt,_ ∀ _q_ ∈ _Q_ (19a) _θ_ = max _θq_ ∀ _q_ ∈ _Q_ (19b) Taken together, the objective function includes costs related to the fleet, charging, battery degradation, and peak power demand. Because of the different units, _σ_ is introduced as a positive weight factor for _θ_ by converting the pressure of the power grid to the economic consequence. The BEB scheduling and charging planning problem can be formulated as an integrated optimization model as Eq. (20). In fact, _σ_ is a critical parameter indicating how the pressure of the power grid is integrated into the model. In a relevant study with a similar objective function, He et. al (2020) set the value of _σ_ fixed as 12.765 $/kW. However, since it is hard to calibrate the value for applications, we do not set a fixed value of _σ_ but develop an efficient method to solve it in the next section. min _C_ = _FC_ + _CC_ + _DC_ + _σθ_ (20a) s.t. Eqs. (2)-(19) _xij, μi, ait, bit_ ∈{0 _,_ 1} _,_ ∀ _i, j_ ∈ _I, t_ ∈ _T, τ_ <sup>_d_</sup> _i_ <sup>∈</sup> <sup>_Z,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> (20b) Remark 1 . _Eq_ . (20) _represents the common arc_ - _based model including the planning task of the BEB schedule_, _whose variants can be found in_, _for example_, Li (2014), He et al. (2020), Rinaldi et al (2020), _Zhang et al_ . (2021) _and_ Zhou et al (2022). _It should be pointed out that our_ _model is an extension of Zhang et al_ . (2021) _and the primary differences are that the full_ - _flexible charging and timetable shifting strategies as_ _well as the objective to reduce peak power demand are considered in our study_ . _These features undoubtedly add up to model complexity_ . _Given_ _the high model complexity_, _an efficient solution method is needed to address a sizable BEB network_ . 4. Solution algorithm To solve the above-formulated problem, we design a two-stage solution method, which is commonly adopted in the literature (Carosi et al., 2019; Huang et al., 2021; Li et al., 2021). The objective function of the arc-based model is decomposed to separate the operational costs and the peak power demand. This is done by assuming that for transit companies, minimizing the operational costs is the primary goal and reducing the peak power demand is the secondary goal.Section 4.1 describes the solution method of the first stage, minimizing the total operational costs based on the column generation (CG) technique. Section 4.2 describes the timetable shifting strategies for minimizing the peak power demand. _4.1._ _First-stage method based on CG_ The problem of BEB scheduling and charging planning in the first stage is NP-hard as the number of variables and constraints in the formulation increases exponentially with the network size. We reconstruct a path-based formulation and use the CG technique to solve the first-stage problem. The CG technique has been demonstrated as effective in solving large-scale optimization problems (Steiner and Irnich, 2018; Xu and Meng, 2019; Liu et al., 2021). The CG starts with a restricted master problem (RMP) with a subset of variables and _p_ _(_ _)_ associated columns. After optimally solving the RMP, the dual solutions are used to find the non-basic variables with the minimum reduced costs implicitly, referred to as a pricing problem, which can be solved by a labeling method (Gao et al., 2022). If the reduced minimum cost is negative, the variable and column corresponding to the reduced minimum cost are added to the RMP, and the next iteration is triggered; otherwise, the optimal solution for this stage is claimed to be found in the current iteration. We use a larger timestep in the first-stage problem, while a smaller one in the second-stage problem ensures computational efficiency without lossing solution fidelity. The reasons are as follows. First, the size of the timestep affects the number of labels in the pricing problem, and as the step size increases, the labels will grow exponentially (Xu and Meng, 2019; Lin et al., 2020). Second, the purpose of the first stage is to obtain the fleet schedule and the charging volume, for which the step size has less effect on the objective value, as demonstrated in Section 5.1. _4.1.1._ _Path-based formulation_ We define a binary variable _λr_, which equals 1 if path _r_ is selected, and 0 otherwise. The path-based model can be formulated as ∑ min _C_ = _Crλr_ (21a) _r_ ∈ _R_ s.t. ∑ _i_ <sup>_rλr_</sup> <sup>= 1</sup> <sup>_,_</sup> <sup>∀</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> (21b) _Ki_ <sup>_r_</sup> _r_ ∈ _R_ ∑ _t_ <sup>_rλr_</sup> <sup>≤</sup> <sup>_κ,_</sup> <sup>∀</sup> <sup>_t_</sup> <sup>∈</sup> <sup>_T_</sup> (21c) _Ut_ <sup>_r_</sup> _r_ ∈ _R_ _λr_ ∈{0 _,_ 1} _,_ ∀ _r_ ∈ _R_ (21d) where _~~C~~_ and _Cr_ denote the total operational costs of path _r_, respectively; incidence variable _K_ <sup>_r_</sup> _i_ <sup>equals 1 if trip</sup> <sup>_i_</sup> <sup>is covered by path</sup> <sup>_r_</sup> <sup>,</sup> and 0 otherwise; incidence variable _Ut_ <sup>_r_</sup> <sup>equals 1 if the BEB is charged at timestep</sup> <sup>_t_</sup> <sup>in path</sup> <sup>_r_</sup> <sup>, and 0 otherwise.</sup> where _~~C~~_ and _Cr_ denote the total operational costs of path _r_, respectively; incidence variable _K_ <sup>_r_</sup> _i_ _t_ <sup>_r_</sup> <sup>equals 1 if the BEB is charged at timestep</sup> <sup>_t_</sup> <sup>in path</sup> <sup>_r_</sup> <sup>, and 0 otherwise.</sup> _Cr_ = _FCr_ + _CCr_ + _DCr_ ( H <sup>_c_</sup> _i_ <sup>_c_</sup> _i_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_,_</sup> <sup>H</sup> _j_ <sup>_c_</sup> ( <sup>_c_</sup> _j_ <sup>_,_</sup> <sup>H</sup> <sup>_c_</sup> _j_ (21e) _c_ <sup>_e_</sup> _t_ = _c_ <sup>_b_</sup> + ∑ ∑ _c_ <sup>_e_</sup> _t_ <sup>_witE_</sup> <sup>+</sup> ) _j_ <sup>_c_</sup> _j_ <sup>+</sup> <sup>_w_</sup> <sup>(</sup> <sup>_j_</sup> <sup>)</sup> )) H <sup>_c_</sup> _j_ ∑ ( _i,j_ )∈∇ _ϑr_ _ϑij_ ( _d_ + _d_ _i_ ∈ _r_ _t_ ∈ _T_ where path _r_ is associated with one BEB; _FCr_ denotes the cost of the BEB; _CCr_ denotes the charging cost for the BEB; _DCr_ denotes the battery degradation cost, and ∇ _ϑr_ denotes the set of consecutively charging operations along path _r_ . For notational convenience, _δ_ = { _δi_ | _i_ ∈ _I_ } and _β_ = { _βt_ | _t_ ∈ _T_ } are used as the dual variables associated with Eqs. (21b) and (21c). By relaxing Eq. (21d), we can use the CG technique to tackle the RMP and pricing problem iteratively. The CG technique starts with an initial feasible solution _~~R~~_ to solve the RMP and determine the dual variables. Next, we construct and minimize the reduced cost Θ( _λr_ ) to solve the pricing problem. If Θ( _λr_ ) ≥ 0, no column can be added to _~~R~~_ and the RMP has been solved with a proven optimal solution in this stage; otherwise, variable _λr_ obtained from the pricing problem is added to _~~R~~_ for future iterations. The reduced cost function of variables _λr_ is expressed as ∑ _t_ <sup>_rβ_</sup> _t_ (22) ∑ Θ( _λr_ ) = _Cr_ _Ki_ <sup>_r_</sup> _i_ <sup>_rδi_</sup> <sup>−</sup> _Ut_ <sup>_r_</sup> _i_ ∈ _I_ _t_ ∈ _T_ As the CG technique starts with an initial solution, we introduce a simple heuristic method to construct a feasible path set, which is usually adopted by operators (Abdelwahed et al., 2020; Liu et al., 2021). In the beginning, the departure time _τ_ <sup>_d_</sup> _i_ <sup>is fixed to the original</sup> timetable T <sup>_l_</sup> <sup>_d_</sup> _i_ <sup>is fixed to the original</sup> timetable T <sup>_l_</sup> 0 <sup>for all</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_Il,l_</sup> <sup>∈</sup> <sup>_L_</sup> <sup>, and the initial SOC of a BEB is equal to</sup> <sup>H</sup> <sup>init</sup> <sup>when departing from depot</sup> <sup>_O_</sup> <sup>. At the outset, a BEB serves</sup> the trip with the earliest departure time. After this trip is completed, we check if the BEB can still serve another trip satisfying the minimal battery level constraint. If so, we choose the trip with the earliest departure time from the remaining trip set; otherwise, we choose available timesteps for charging the bus until the battery electricity reaches to H <sup>init</sup> . If no trip can be served anymore, we direct the current trip to the depot, and the constructed trip chain constitutes an initial feasible RMP solution. This heuristic method is repeated until all trips in the trip set _I_ are served. As a consequence, a feasible solution is generated. _4.1.2._ _Pricing problem_ It can be seen from Eq. (22) that checking Θ( _λr_ ) ≤ 0 corresponds to the problem of finding the minimum-cost paths in the network _G_ ( _V, A_ ). The pricing problem aims to find a minimum-cost path from source node _O_ <sup>_o_</sup> to destination node _O_ <sup>_d_</sup> subject to time and electricity constraints. Essentially, the constraints of the pricing problem are similar to the original arc-based model. The pricing problem is to find a feasible trip chain with a negative reduced cost, while the original arc-based model is to find the optimal fleet schedules composed of several trip chains. The pricing problem can be formulated as _p_ _(_ _)_ _i_ <sup>_rδi_</sup> <sup>−</sup> ∑ ) ∑ _Cr_ = min _r_ ∈ _R_ min _r_ ∈ _R_ <sup>Θ(</sup> <sup>_λr_</sup> <sup>) = min</sup> _r_ ∈ _R_ _r_ ∈ _R_ _Ut_ <sup>_r_</sup> _t_ <sup>_rβ_</sup> _t_ (23a) ( _Cr_ _i_ ∈ _I_ _Ki_ <sup>_r_</sup> _t_ ∈ _T_ s.t. ∑ ( _i,j_ )∈ _A_ <sup>_o_</sup> ∑ ( _i,j_ )∈ _A_ <sup>_d_</sup> _xij_ = 1 (23b) _xij_ = 1 (23c) Eqs. (3)-(11). where Eq. (23a) minimizes the reduced cost of path _r_ ; the pull-in and pull-out from the depot are constrained by Eqs. (23b) and (23c). The pricing problem is an extension of the resource-constrained shortest path problem (Li, 2014) by allowing replenishment along a path, for which the label correcting method is suitable for solving the problem. To implement the labeling method, each node _i_ ∈ _I_ is assumed to be associated with multiple labels representing partial paths. The label extension at each node is due to the different charging strategies, including whether a charging operation happens after this node, the start charging times, and the charging duration. According to Liao (2016, 2019), we initially construct a three-dimensional matrix of 2 × | _T_ | × | _T_ | units for each node, where each unit represents the potential label of this node. _G_ is reconstructed as a space–time network with acyclic paths. Let _i_ → _j_ be a link of _G_ ( _i, j_ ∈ _I_ ), and we code any label _k_ at node _i_ as _lk_ ( _i_ ) = [ _~~c~~_ _<u>k, wk, sk,</u>_ <sup>→</sup> _t_ _k_ <sup>_,_</sup> <sup>_~~t~~_</sup> _k_ <sup>], where</sup> <sup>_~~c~~_</sup> _<u>k</u>_ <sup>and</sup> <sup>_w_</sup> _k_ <sup>are the cost and current SOC of the corre­</sup> sponding path, _sk_ denotes the charging state with a value of 0 or 1, <sup>→</sup> _t_ sponding path, _sk_ denotes the charging state with a value of 0 or 1, <sup>→</sup> _t_ _k_ <sup>and</sup> <sup>_~~t~~_</sup> _k_ <sup>are the start charging time and charging duration,</sup> respectively. Also, _pk_, _spk_, and _csk_ are used to record the current path, the SOC change at each node of the path, and the corresponding charging strategies of this partial path, respectively. All these labels at node _i_ are grouped into a set denoted by _L_ ( _i_ ). Taking arc ( _i, j_ ) for example to illustrate the label correcting process, suppose we have label _k_ at node _i_ represented by _lk_ ( _i_ ) = [ _~~c~~_ _<u>k,wk,sk,</u>_ <sup>→</sup> _t_ <u>denoted by</u> _lu_ ( _i_ ) = [ _~~c~~_ _<u>u, wu, su,</u>_ <sup>→</sup> _t_ _k_ <sup>_,_</sup> <sup>_~~t~~_</sup> _k_ <sup>]; then, a label</sup> <u>denoted by</u> _lu_ ( _i_ ) = [ _~~c~~_ _<u>u, wu, su,</u>_ <sup>→</sup> _t_ _u_ <sup>_,_</sup> <sup>_~~t~~_</sup> _u_ <sup>]</sup> <sup>at node</sup> <sup>_j_</sup> <sup>is generated if the feasibility and dominance checks are performed for link</sup> <sup>_i_</sup> <sup>→</sup> <sup>_j_</sup> <sup>, where</sup> _~~c~~_ _<u>u</u>_ = _~~c~~_ _<u>k</u>_ + _cj_ + _cij_, _wu_ = _wk_ + H _ij_ + _w_ ( _i_ ), _cij_ and H _ij_ denote the arc cost and energy consumption respectively, _su_ = 1 or 0 is determined by the electricity feasibility check, the values of <sup>→</sup> _t_ by the electricity feasibility check, the values of <sup>→</sup> _t_ _u_ <sup>and</sup> <sup>_~~t~~_</sup> _u_ <sup>are determined by the time feasibility check. The dominance check is to</sup> discard the labels at node _j_ that are dominated by any other labels in terms of the cost and SOC. The CG-based method is typically incurred with the tailing-off effect, indicating that the method reaches a plateau and becomes slow to approach the optimum (Wang et al., 2018). To overcome this problem, we use the following stabilization technique (Addis et al., 2012; L. Zhang et al., 2021) to speed up the convergence. Let Φ = { _δ_ _,_ _β_ } denote the vector of a dual solution of the RMP and Φ represent the update of Φ. Initially, we set Φ as vector 0, and a modified dual vector Φ ̃ can be computed by Φ̃ = _ε_ 1 • Φ +(1 − _ε_ 1)Φ in the iterative process, where _ε_ 1 ∈[0 _,_ 1] is a weighting parameter. Given _ε_ 1, the CG procedure is executed until no columns can be added to the RMP or the objective function reduction of RMP is no greater than a priori defined threshold _ε_ 2 after a pre-defined number of iterations. Then, we update Φ as ̃Φ and increase _ε_ 1 gradually for a new iteration of the above process. The CG procedure terminates when _ε_ 1 = 1 and no columns can be added. _4.2._ _Second-stage method of timetable shifting_ Timetable shifting affects the charging schedule but has little impact on the trip sequences served by the buses. As described in Section 2.2, two timetable shifting strategies are applied. The second stage aims to minimize the peak power demand while controlling the cost increase of the first stage and modifications to the timetable. The outputs of this stage include the adjusted departure times and the start and end charging times. We formulate the model of this stage as ∑ _i_ ∈ _I_ minΦ = _θ_ + _ω_ 1 s.t. _τ_ <sup>_d_</sup> _i_ <sup>−</sup> <sup>_di_</sup> (24) _τ_ <sup>_d_</sup> _i_ <sup>−</sup> <sup>_di_</sup> (24) ∑ _c_ <sup>_e_</sup> _t_ ∑ <sup>_e_</sup> _t_ <sup>_witE_</sup> <sup>≤</sup> <sup>_ω_</sup> <sup>2</sup> <sup>_C_</sup> (25) _FC_ + _DC_ + _i_ ∈ _r_ _t_ ∈ _T_ Eqs. (4)-(6a), (12)-(15). Different time shifts may induce the same peak power demand, and modifications to the timetable are also presented in the objective function. The first term of Eq. (24) denotes the weighted peak power demand and the second term denotes the weighted value of time shifts, where _ω_ 1 is a weight factor. Eq. (25) indicates that the total operational costs increase influenced by the shifting strategy should be within a certain range, where _ω_ 2 is the controlling factor. In addition, it should be noted that the fleet and battery degra­ dation costs do not change as the fleet schedule and the SOC changes are determined in the first stage. Therefore, _FC_ and _DC_ in Eq. (25) can be neglected. In other words, the timetable shifting strategy simply changes the charging cost _CC_ . _p_ _(_ _)_ In this stage, a smaller timestep size (e.g., 1 min) is adopted because a larger timestep makes no sense for the timetable modifi­ cations. Nevertheless, a small timestep size significantly increases the solution space, and it is difficult to solve directly by a solver (e.g., CPLEX, GUROBI). We design an iterative timetable shifting algorithm involving two shifting strategies, in which block shifting is first applied for all trips, followed by the differentiated shifting implemented many times for the subset trips with minor modifications. In other words, once the set of shifts in the blocking shifting is determined, the differentiated shifting strategy is implemented several times until the peak power demand does not decrease in an acceptable time; then the next iteration of block shifting begins. The timetable shifting algorithm involves a restricted model of Eq. (24), where variable Δ _l_ is pre-determined and variable _τ_ <sup>_d_</sup> _i_ <sup>for the subset</sup> timetable shifting algorithm involves a restricted model of Eq. (24), where variable Δ _l_ is pre-determined and variable _τ_ <sup>_d_</sup> _i_ <sup>for the subset</sup> trips are fixed. With this variable fixed strategy, the restricted model could be directly solved by a solver. As for the selection of the subset of timetabled trips, based on Fonseca et al. (2018), we designed a random selection strategy, denoted as Z( _u_ ), where _u_ denotes the size of the selected trip set. We assume that any trip _i_ ∈ _I_ has an equal probability of being selected. We set the selected size _u_ as 0 _._ 3| _I_ |. In each iteration of the second stage, the selected trips are denoted as subset _I_ ′ . For each selected. We set the selected size _u_ as 0 _._ 3| _I_ |. In each iteration of the second stage, the selected trips are denoted as subset _I_ ′ . For each _i_ ∈ _I_ ′, the differentiated shifts Δ _i_ are set as 0, i.e., the departure time _τdi_ <sup>is fixed as</sup> <sup>_di_</sup> <sup>+ Δ</sup> <sup>_l_</sup> <sup>. For unselected trip</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> <sup>\</sup> <sup>_I_</sup> ′, Δ _i_ is the decision _I_ ′, the differentiated shifts Δ _i_ are set as 0, i.e., the departure time _τdi_ _i_ ∈ _I_ ′, the differentiated shifts Δ _i_ are set as 0, i.e., the departure time _τdi_ <sup>is fixed as</sup> <sup>_di_</sup> <sup>+ Δ</sup> <sup>_l_</sup> <sup>. For unselected trip</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> <sup>\</sup> <sup>_I_</sup> ′, Δ _i_ is the decision variable and need to be solved in the second stage. Note that the selecting strategy are applied multiple times until the objective value of the second stage remains the same comparing with the last selection. Obviously, _u_ is related to the solution precision of the second stage and this value is associated with the solution efficiency. The pseudo-code of the timetable shifting algorithm is described as follows. The input consists of a set of trips _I_, the original timetable T 0, fleet schedule _~~R~~_, and charging strategy _~~C~~_ <sup><u>1</u></sup> _~~R~~_ <sup>with specified charging durations, two stopping criteria (</sup> <sup>_stopCriterion_</sup> <sup>1 and</sup> _stopCriterion_ 2), and a selection strategy Z( _u_ ). Both the two stopping criteria are based on the gaps between the solutions obtained in two adjacent iterations. Specifically, given Φ1 and Φ2 as the solution values of two adjacent iterations and gap threshold _~~ε~~_ ~~,~~ if (Φ2 − Φ1) _/_ Φ1 ≤ _~~ε~~_ ~~,~~ the iterative process ends and otherwise continues. The algorithm starts with solving Eq. (24) without timetable modifications; thus, departure time _τ_ <sup>_d_</sup> _i_ <sup>is fixed to</sup> <sup>T</sup> <sup>0</sup> <sup>for all</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> <sup>. An initial solution</sup> <sup>S</sup> <sup>0</sup> <sup>is generated composed of the initial timetable</sup> _di_ <sup>is fixed as</sup> <sup>_di_</sup> <sup>+ Δ</sup> <sup>_l_</sup> <sup>. For unselected trip</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> <sup>\</sup> <sup>_I_</sup> <sup><u>1</u></sup> _~~R~~_ <sup>with specified charging durations, two stopping criteria (</sup> <sup>_stopCriterion_</sup> <sup>1 and</sup> modifications; thus, departure time _τ_ <sup>_d_</sup> _i_ <sup>is fixed to</sup> <sup>T</sup> <sup>0</sup> <sup>for all</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> <sup>. An initial solution</sup> <sup>S</sup> <sup>0</sup> <sup>is generated composed of the initial timetable</sup> T 0 and charging strategy _C_ <sup><u>2</u></sup> _~~R~~_ <sup>including all start charging times. The iterative procedure is described in Lines 3–10, which runs until the</sup> _stopCriterion_ 2 is met. <sup><u>2</u></sup> _~~R~~_ <sup>including all start charging times. The iterative procedure is described in Lines 3–10, which runs until the</sup> The iteration of block shifting starts in Line 4 by random selecting Δ _l_ satisfying Eq. (12a) and a new timetable T _η_ 1 is generated, where _η_ <sup>1</sup> records the number of iterations. The iteration of differentiated shifting starts in Line 6 by applying trip selection strategy Z( _u_ ) _._ A new solution is calculated in Line 7 by solving Eq. (24), with _τ_ <sup>_d_</sup> _i_ <sup>fixed to</sup> <sup>T</sup> <sup>_η_</sup> <sup>1</sup> <sup>for all</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> ′ . The obtained solution is at least as good as the current best solution due to the stopping criteria. S <sup>*</sup> is constantly updated as the best-found solution and returned once the _stopCriterion_ 2 is met. <sup>_d_</sup> _i_ <sup>fixed to</sup> <sup>T</sup> <sup>_η_</sup> <sup>1</sup> <sup>for all</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> ′ . The obtained solution is at least as good as <u>Iterative Timetable Shifting Algorithm</u> Input : _I_, T 0, _~~R~~_, _C_ <sup><u>1</u></sup> _~~R~~_ <sup>,</sup> <sup>_stopCriterion_</sup> <sup>1,</sup> <sup>_stopCriterion2_</sup> <sup>,</sup> <sup>Z</sup> 1: <u>Initialization:</u> S 0 = { _C_ <sup><u>2</u></sup> _~~R~~_ <sup>_,_</sup> <sup>T</sup> <sup>0</sup> { <sup><u>2</u></sup> _~~R~~_ <sup>_,_</sup> <sup>T</sup> <sup>0</sup> _C_ <sup><u>2</u></sup> _~~R~~_ } _,_ Φ0← solve Eq. (24) by a solver with Δ _l_ = 0 for all _l_ ∈ _L_, _τ_ <sup>_d_</sup> _i_ 2: _η_ <sup>1</sup> = 1 3: While _stopCriterion_ 1 not satisfied do 4: T _η_ 1 ← random selected Δ _l_ for all ∀ _l_ ∈ _L_ satisfying Eq. (12a) 5: While _stopCriterion_ 2 not satisfied do 6: _I_ ′ ← selecting trips with strategy Z <sup>_d_</sup> _i_ <sup>fixed to</sup> <sup>T</sup> <sup>0</sup> <sup>for all</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> 6: _I_ ′ ← selecting trips with strategy Z 7: S _η_ 1 = { _~~C~~_ <sup><u>2</u></sup> _~~R~~_ <sup>_,_</sup> <sup>T</sup> ′ _η_ <sup>1</sup> } _,_ Φ _η_ 1 ← solve Eq. <sup>_d_</sup> _i_ <sup>fixed to</sup> <sup>T</sup> <sup>_η_</sup> <sup>1</sup> <sup>for all</sup> <sup>_i_</sup> <sup>∈</sup> <sup>_I_</sup> ′ _,_ Φ _η_ 1 ← solve Eq. (24) by a solver with _τ_ <sup>_d_</sup> _i_ ′ { _~~C~~_ <sup><u>2</u></sup> _~~R~~_ <sup><u>2</u></sup> _~~R~~_ <sup>_,_</sup> <sup>T</sup> ′ _η_ <sup>1</sup> } 8: end while 9: _η_ <sup>1</sup> = _η_ <sup>1</sup> + 1 10: end while 11: return S _η_ 1, Φ _η_ 1 The pseudo-code of the two-stage solution method is outlined below, and the flowchart is depicted in Fig. 7. First, the method starts by obtaining the initial solution with simple heuristic method. Subsequently, the two stages including CG technique and timetable shifting <u>′</u> - _~~C~~_ ) _/_ _~~C~~_ _< ε_, where _~~C~~_ performs until the _stopCriterion0 is met._ The _stopCriterion0_ of the whole algorithm is set as ( _~~C~~_ <u>′</u> performs until the _stopCriterion0 is met._ The _stopCriterion0_ of the whole algorithm is set as ( _~~C~~_ <u>′</u> - _~~C~~_ ) _/_ _~~C~~_ _< ε_, where _~~C~~_ <u>′</u> and _~~C~~_ are the total operational costs of two adjacent iterations in the CG procedure, and _ε_ is the relative gap threshold. Remark 2 . _Note that the solutions obtained by the CG technique may not be optimal due to the lack of an optimality procedure_ ( _e_ . _g_ ., _branch_ _and bound_ ) (Xu and Meng, 2019). _However_, _this is acceptable because the result of the first stage is further optimized in the second stage_ _through an iterative process_ . _As the possible combinations of time shifts constitute a sizeable set_, _it is difficult to solve Eq_ . (24) _directly by a_ _solver_ . _The iterative timetable shifting algorithm and trip selection strategy ensure that a better solution is obtained within a limited computation_ _time_ . _It should be also noted that the resolutions of time discretization in the two stages play a key role_ . _Sensitivity tests are usually conducted to_ <u>′</u> _p_ _(_ _)_ Fig. 7. The flowchart of the two-stage solution method. _determine the suitable resolutions for balancing computation efficiency and solution quality_ . <u>Two-Stage Solution Method</u> <u>1:</u> Fix timetable T 0 and generate the initial solution _F_ 0 = { _~~R~~_ 0 _, C_ _~~R~~_ 0 } by the simple heuristic method, then obtain the total operational costs _~~C~~_ 0 and peak power demand _θ_ 0, presented in Section 4.1.1; 2: Set iteration counter _η_ <sup>2</sup> = <u>1</u> 3: Obtain _F_ 1 = { _~~R~~_ 1 _, C_ _~~R~~_ 1 } and _~~C~~_ 1 using the CG procedure with input _F_ 0, presented in Section 4.1.1; 4: While _stopCriterion0_ { not satisfied ′ } do 5: Obtain S _η_ 2 = _~~C~~_ <sup><u>2</u></sup> _~~R~~_ _η_ 2 <sup>_,_</sup> <sup>T</sup> _η_ <sup>2</sup> and _θη_ 2 and _θη_ 2 using the iterative method of timetable shifting, presented in Section 4.2; { _~~C~~_ <sup><u>2</u></sup> _~~R~~_ } <sup><u>2</u></sup> _~~R~~_ _η_ 2 <sup>_,_</sup> <sup>T</sup> ′ _η_ <sup>2</sup> 6: _η_ <sup>2</sup> = _η_ <sup>2</sup> + 1; 7: Obtain _Fη_ 2 = { _~~R~~_ _η_ 2 _,_ _~~CR~~_ _η_ 2 } and _~~C~~_ _η_ 2 using the CG procedure with inputs _~~R~~_ 0, _~~CR~~_ _η_ 2 − 1 and _C_ <sup><u>2</u></sup> _~~R~~_ 8: end while return _Fη_ 2, _~~C~~_ _η_ 2 <sup><u>2</u></sup> _~~R~~_ _η_ 2 <sup>, presented in Section 4.1.1;</sup> Remark 3 . _We present the complexity analyses for the proposed arc_ - _based model and the two_ - _stage solution method_ . _In general_, _the_ _complexity of the models is closely related to the number of independent variables_, _such as the number of service trips_, _lines_, _and power demand_ _periods as well as the number of timesteps_ . _The arc based_ - _model is a MIP optimization problem_, _which is a NP_ - _hard problem per se_ . _The order of_ _magnitude is dictated by variables a_, _b_, _θq and x whose sizes are respectively_ | _I_ | • | _T_ |, | _Q_ |, _and_ | _I_ | <sup>2</sup>, _and by constraints_ (4), (5b), (7), (9a), (9c), _and_ (19a) _whose sizes are_ | _I_ | <sup>2</sup>, | _I_ | • | _T_ | _and_ | _Q_ |. _To optimize the operational costs and reduce the peak power demand_, _we reduce the_ _computational complexity by reformulating the arc_ - _based model into two_ - _stage model_ . _The first stage model involves the column generation_ Table 3 <u>Setup of instances.</u> <u>Instance batch</u> <u>Headway (min)</u> <u>No. of trips</u> IB1 20 16 IB2 15 21 IB3 12 26 IB4 10 31 IB5 8 38 <u>IB6</u> <u>5</u> <u>61</u> _p_ _(_ _)_ _technique_, _resulting in a runtime complexity of O_ ( ⃒ ⃒ _L_ ⃒ ⃒ - | _Il_ | <sup>2</sup> •⃒⃒⃒ _T_ ⃒ ⃒ ) _by the recursive formulation in each iteration_ ; _the second stage model with the_ _timetable shifting strategy has a heavily reduced scale of variables_, _which is an integral programming problem and can be easily solved by the_ _heuristic rules and an optimization solver_ . 5. Numerical experiments In this section, small instances are first generated to evaluate the performance of the proposed two-stage solution method. To further assess the effectiveness, a real-life case study with a similar setting in Zhang et al. (2021) is conducted. We explore the impact of flexible charging and timetable shifting strategies on optimal solutions to highlight their roles in reducing the total operational costs and moderating peak power demand. All computations are performed on a PC with i7-9850U @ 2.60 GHz CPU and 8 GB RAM. The programming language is Python. _5.1._ _Small instances_ We generate a set of illustrative small-sized instances in a planning time horizon from 6:00 to 12:00 according to Zhou et al (2022). These instances have different headways ranging from 5 to 20 min to assess the efficiency of the proposed solution method as shown in Table 3. We set the number of chargers to 1 for the convince of studying the utilization rate in such small cases. Supposed that the energy consumption is 1.35 kWh/km (Gao et al., 2017) per round trip of 20 km in length. A BEB has a battery capacity of 120 kWh, with which a full charge can empower around three trips. The timestep is set as 10 min, meaning that the start charging time and charging duration should be an integer multiple of the timestep. Considering the battery discharges when not in use after a full charge overnight, each BEB is assumed to have a SOC of 0.95 when it starts daily operations. The minimum charging duration is 10 min (Duan et al., 2021); the minimum headway between any two timetabled trips is 5 min. We use the time-dependent electricity prices (Wang et al., 2021) shown in Table 4. For safety concerns, the SOC of the BEB battery should be within the range [ H <sup>min</sup> = 0 _._ 2 _,_ H <sup>max</sup> = 0 _._ 95]. The fixed cost of employing one BEB is 16.5 $/day, a linear charging profile is adopted for slowing charging at night, and the pa­ rameters for the battery degradation are adopted from Zhang et al. (2021). The peak power demand is in two or three order of magnitude while the sum of time shifts is in one order of magnitude. Thus, we set _ω_ 1 to 0.001, with the aim of optimizing the peak power demand while choosing the solution with the smallest time shifts. As shown in Fig. 4, the nonlinear charging profile in CV phase is approximated by a piecewise linear function under fast charging for daily operations. _ω_ 2 is the controlling factor, and set as 1.05. Thus, we adopt the charging profile of fast charging, which is expressed as Eq. (26), indicating that the full charging time for a depleted battery is 1.5 h. 0 _._ 8 _χ,_ _χ_ ∈[0 _,_ 1) 0 _._ 8 + 0 _._ 5( _χ_ - 1) _,_ _χ_ ∈[1 _,_ 1 _._ 1) 0 _._ 85 + 0 _._ 375( _χ_ - 1 _._ 1) _,_ _χ_ ∈[1 _._ 1 _,_ 1 _._ 5] _f_ ( _χ_ ) = ⎧ ⎨ ⎩ (26) where _χ_ is the charging duration (h) and _f_ ( _χ_ ) denotes the charging SOC. We implement the simple heuristic method (Section 4.1.1) as the first baseline to compare the optimal schedule obtained by the two-stage method. According to the battery level, the simple heuristic method always chooses to replenish energy or serve the trip with the earliest departure time. To further validate the effectiveness of our model and method, the model suggested by Zhang et al. (2021) is also solved by the CG technique for comparison as the second baseline. In their model, the charging strategy is semi-flexible. Once a bus visits the charging station, it will be charged to a pre-given electricity level while optimizing the sequence of charging operations at the depot. For the sake of convenience, we denote these three methods respectively as P1 (simple heuristic method and fixed charging strategy), P2 (CG method with semi-flexible charging strategy), and P3 (our model and two-stage method). For the charging in P1, the start charging time is not flexible and the batteries are charged to a specified electricity level; for P2, the start charging time is flexible and the charging duration is fixed given the remaining electricity volume; and for P3, both the start charging time and charging duration (related to electricity volume) are flexible. The comparations of the results are presented in Fig. 8. The figure shows that the total operational costs and the cost components including fleet, charging, and battery degradation costs increase as the number of trips increases, as expected. The average utilization rate of BEBs fluctuates with the number of trips, where the average utilization rate is derived by the service time of transporting passengers divided by the total operational time. In addition, this figure shows the result of the peak power demand, which is determined by the use of the single charger with an upper bound value of 96 kW. Compared with the results of P1 and P2, P3 obtains additional total operational costs savings by 17–21% and 7–14% for the six Table 4 <u>Price of the electricity of the day.</u> <u>Electricity price ($/kWh)</u> <u>Time of the day</u> 0.049 22 pm – 7 am 0.121 7 pm – 9 am, 11 am – 13 pm, 16 pm – 18 pm, 20 pm – 22 pm 0.172 18 pm – 20 pm <u>0.173</u> <u>9 am −</u> <u>11 am, 13 pm – 16 pm</u> 900 800 700 600 500 400 300 200 100 0 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 250 200 150 100 50 0 INB1 INB2 INB3 INB4 INB5 INB6 _p_ _(_ _)_ INB1 INB2 INB3 INB4 INB5 INB6 (b) Fixed fleet cost INB1 INB2 INB3 INB4 INB5 INB6 INB1 INB2 INB3 INB4 INB5 INB6 (a) Total operational costs 600 500 400 300 200 100 0 120 100 80 60 40 20 0 INB1 INB2 INB3 INB4 INB5 INB6 (c) Utilization rate (d) Charging cost INB1 INB2 INB3 INB4 INB5 INB6 120 100 80 60 40 20 0 (e) Battery degradation cost (f) Peak power demand P1 P2 P3 Fig. 8. Comparison of the results between P1, P2, and P3. instances (Fig. 8(a)), respectively, indicating that the proposed model and solution method can produce better fleet and charging schedules. Compared to the fleet cost obtained by P1 and P2, the costs of P3 are reduced by approximately 31% and 16% respectively (Fig. 8(b)), implying a more compact fleet schedule. This result is corroborated by a 45% and 20% increase in the utilization rate of BEBs (Fig. 8(c)), respectively. Nevertheless, the charging cost associated with P3 is higher than the results of P1 and P2 (Fig. 8(d)). The results can be explained by the reduction in fleet size but increases in the number of service trips per BEB and electricity consumption for the operations. As for battery degradation, we know that larger SOC variations cause faster battery degradations (L. Zhang et al., 2021; Zhou et al., 2022). As expected, the battery degradation cost from P3 is less than those of P1 and P2 (Fig. 8(e)) because the fullflexible charging strategy in P3 avoids larger SOC variations. Similar to the charging cost, we notice that the battery degradation costs are approximately the same for IB5 and IB6 for the three methods because of the setting of only one charger. Finally, in Fig. 8(f), we see that P1 has the highest peak power demands in the six instances, whereas the peak power demands of P3 are not always lower than those of P2. To demonstrate that the number of used chargers impacts on peak power demand, we further investigate a large case study in Section 5.2. To evaluate the effects of the length of the timestep, we test the computation time and the efficiency using the six instances. The results are presented in Table 5. Columns 1 and 2 present the problem instance; columns 3 and 4 show the computational results of the two-stage solution method, including the total operational costs and the peak power demand; columns 5 and 6 are the running times to obtain the optimal solution (T_CPU Time) and spending on solving the pricing problem (PP_CPU Time), respectively. With different timesteps for the same instance, the optimal costs appear approximately stable, indicating that the optimal costs are to a small extent influenced by timesteps in these cases. According to the CPU times, we observe that the computation efficiency is largely and nega­ tively affected by the number of trips and positively affected by the timesteps. In other words, longer computation times are associated _p_ _(_ _)_ Table 5 <u>Comparison of cost and runtimes in experiments of different timesteps.</u> <u>Batch</u> <u>Timestep (min)</u> <u>Total operational costs ($)</u> <u>Peak power demand (kW)</u> <u>T_CPU Time (s)</u> <u>PP_CPU Time (s)</u> INB1 2 156.13 89.6 365 16 5 156.44 89.6 233 7 10 154.88 89.6 250 7 15 158.41 96 197 7 INB2 2 202.72 76.8 926 31 5 205.9 83.2 365 10 10 204.68 83.2 342 9 15 206.95 64 381 8 INB3 2 260.52 96 1232 37 5 261.31 89.6 455 13 10 262.83 83.2 480 11 15 258.69 96 439 11 INB4 2 307.86 96 2111 57 5 306.4 96 744 15 10 306.32 96 713 13 15 306.43 96 631 13 INB5 2 387.22 96 3935 79 5 391.34 83.2 1212 22 10 394.1 96 845 17 15 396.84 96 845 16 INB6 2 662.82 89.6 14,924 229 5 663.28 89.6 3658 50 10 658.67 76.8 2362 33 <u>15</u> <u>660.46</u> <u>96</u> <u>1727</u> <u>31</u> with more trips and shorter timesteps. In addition, it is found that the size of the timestep also has a significant impact on the peak power demand in the instances. When the timestep is larger, it means more bias in the peak power demand. Summarily, when the timestep is 10, there is no significant difference in the accuracy from a smaller timestep, but the computation time is significantly less. To balance computation efficiency and accuracy, the timestep of 10 min is adopted in the large case study below. _5.2._ _Real BEB network_ In this subsection, we further demonstrate the effectiveness of the proposed model and solution method with a real-world BEB network from Zhang et al. (2021), of which the original timetable has 210 trips as listed in the supplementary document (Table S1). The network has one depot, two terminals, and six lines (numbered from 1 to 6), as depicted in Fig. 9. The lengths of the six lines are 10 km, 12.5 km, 30 km, 17.5 km, 20 km, and 22.5 km, respectively. Lines 1, 2, 4, 5 and 6 are unidirectional, while line 3 is circular. We consider the round trip travel times (terminal to terminal) are 69 min, 86 min, 103 min, 120 min, 138 min, and 155 min, respectively. That is to say, for lines 1, 2, 4, 5 and 6, the travel time of a trip doubles the one-way travel time; for line 3, the travel time of a trip is equal to the one-way travel time. The BEBs are medium-duty buses equipped with 162 kWh batteries and the planning time horizon is set for the whole day including daily operations, electricity replenishment, and overnight charging. The number of fast chargers for electricity replenishment is 15, and a sufficient number of slow chargers with a charging power of 50 kW is provided for overnight charging. Other parameters are consistent with those for the small instances. Fig. 9. Geographical distribution of selected BEB lines. _p_ _(_ _)_ Table 6 <u>Fleet schedule and the charging operations of the six lines.</u> <u>Line NO.</u> <u>BEB NO.</u> <u>Trip chains</u> <u>Line NO.</u> <u>BEB NO.</u> <u>Trip chains</u> 1 1 1–6-11- _c_ -18–26- _c_ -32- _c_ -38 4 23 124–129- _c_ -135- _c_ -140- _c_ -146 1 2 2–7-12–16- _c_ -20- _c_ -27- _c_ -34 4 24 125–130- _c_ -136- _c_ -141- _c_ -147 1 3 3–8-13- _c_ -17–23- _c_ -28–33 4 25 126–131- _c_ -137- _c_ -142- _c_ -148 1 4 4–9-14- _c_ -22–25- _c_ -30- _c_ -35 4 26 127–132- _c_ -143- _c_ -149 1 5 5–10-15- _c_ -19–24- _c_ -29- _c_ -35 4 27 128–134- _c_ -139- _c_ -145 1 6 21–31-37 4 28 133–138- _c_ -144 2 7 39–44-51- _c_ -60- _c_ -66- _c_ -72 5 30 151- _c_ -157- _c_ -163- _c_ -169 2 8 40–47- _c_ -53–62- _c_ -68 5 29 154- _c_ -160- _c_ -166- _c_ -172 2 9 41–46- _c_ -54–57- _c_ -64- _c_ -70 5 31 155- _c_ -161- _c_ -167 2 10 42- _c_ -49–52- _c_ -56–59- _c_ -65- _c_ -71 5 32 152- _c_ -158- _c_ -164- _c_ -170 2 11 43–48- _c_ -55–61- _c_ -67 5 33 153- _c_ -159- _c_ -165- _c_ -171 2 12 45–50- _c_ -58- _c_ -63- _c_ -69 5 34 150- _c_ -156- _c_ -162- _c_ -168 3 13 73- _c_ -83–90- _c_ -99- _c_ -108- _c_ -117 6 35 173- _c_ -182- _c_ -192- _c_ -202- _c_ -210 3 14 74–101-116 6 36 174- _c_ -189- _c_ -201 3 15 75–82- _c_ -92- _c_ -110 6 37 175- _c_ -185- _c_ -194- _c_ -204 3 16 76–84- _c_ -93- _c_ -106- _c_ -119 6 38 176- _c_ -186- _c_ -195- _c_ -207 3 17 77–87-96–103-112–121 6 39 177- _c_ -187- _c_ -196- _c_ -206 3 18 78–85- _c_ -94- _c_ -102- _c_ -111- _c_ -120 6 40 178- _c_ -188- _c_ -198- _c_ -208 3 19 79–86- _c_ -95- _c_ -105- _c_ -115 6 41 179- _c_ -197 3 20 80- _c_ -89–100- _c_ -109- _c_ -118 6 42 180- _c_ -190- _c_ -200- _c_ -209 3 21 81–88- _c_ -97- _c_ -104- _c_ -113- _c_ -122 6 43 181- _c_ -191- _c_ -205 3 22 91–98- _c_ -107–114- _c_ -123 6 44 183- _c_ -193- _c_ -203 <u>6</u> <u>45</u> <u>184-</u> _<u>c</u>_ <u>-199</u> Notes: _c_ indicates a charging operation. The optimal solution can be obtained by the two-stage solution method within 5 h, 2.5 h for each stage. As this is a deterministic and planning problem that does not require real-time responses, we consider it feasible. The optimized fleet schedule and charging op­ erations are shown in Table 6, which includes 45 BEBs and 104 charging operations. The charging details including the start charging time, end charging time and charging volume, and the optimized timetable is shown in the supplementary document (Table S2). The total operational costs are $2207.09, including a fleet cost of $726, a charging cost of $979.28, and a battery degradation cost of $501.81. The optimized peak power demand is 855.36 kW, and the utilization rate is 0.571. The block shifts are [-5, − 5, 1, 5, 2, 1] in minutes for lines 1 to 6, where a negative and a positive number represent moving forward and backward for the whole line, respectively. Also, some differentiated shifts in the timetable are made for 17 trips, as shown in the supplementary document (Table S3). We compare the results of P3 with those obtained from P1 and P2, as reported in Fig. 10. Compared to P1, P3 has a 22% reduction in the total operational costs, 20% reduction in fleet cost, 1% savings in charging cost, and 45% savings in the battery degradation cost. Thus, it can be concluded that our model and solution method have significant advantages over P1, which is usually adopted by the BEB operators. Compared to P2, it is worth noting that P3 has a 7.1% of total operationals cost savings but a 17% increase in the battery degradation cost. The result indicates that the full-flexible charging strategy involves less total operational costs, while it accelerates the battery aging process and results in higher costs for battery capacity fading. Further, we can see in Fig. 11 that the peak power demand is reduced by 17% and the used number of chargers is reduced by 2. This makes sense because more buses being charged at the Fig. 10. Comparison of the cost components between solution methods of P1, P2, and P3. _p_ _(_ _)_ Fig. 11. Comparison of the peak power demand and the number of used chargers by P1, P2, and P3. Fig. 12. Comparison of the total operational costs and cost components for the three charging strategies. Fig. 13. Comparison of the peak power demand and number of used chargers for the three charging strategies. _p_ _(_ _)_ same time create a higher peak power demand; in other words, reducing the peak power demand is associated with decreasing the number of used chargers. These results in Figs. 10 and 11 confirm that the integrated optimization model and the two-stage solution method together lead to a more efficient fleet and charging schedules, and also have a significant advantage in further reducing the peak power demand and decreasing the number of chargers. The following analysis further illustrates the advantages of the full-flexible charging strategy. Fig. 12 shows the comparison derived from the proposed two-stage solution method with the three charging strategies. As expected, the full-flexible charging strategy results in the lowest total operational costs, the lowest fleet size, and the highest utilization rate of BEBs. A flexible charging strategy increases the charging opportunity, allows for more trips to be performed, and requires fewer BEBs to finish the trip service, thereby resulting in lower total operational costs and an increased utilization rate. In addition, Fig. 13 shows that the flexible charging strategy uses fewer chargers as well as a smaller peak power demand. The disadvantage is that the full-flexible charging strategy results in a greater battery degradation cost compared to the semi-flexible charging strategy because the higher SOC variation or average SOC causes faster battery capacity degradation (Zhang et al., 2019). For illustration purposes, the SOC curves of the three charging strategies of line 2 are presented in Fig. 14, where we set the initial and maximum battery electricity as 95%. Fig. 14(a) shows that the BEBs visit the charging station if the remaining electricity level is too low for the next trip. Obviously, the fixed charging strategy leads to high SOC between 30 and 95% and hence more battery degradations compared with the other two charging strategies. Thus, it is an inferior charging strategy because it does not only occupy more vehicles but also has a serious impact on battery life. Fig. 14(b) and (c) show the SOC curves for the semi-flexible charging strategy and the full-flexible charging strategy, respectively. They both take into account the number of available chargers, TOU plans, the current electricity level, and the power load on the grid. Comparing these two figures, we can see that the semi-flexible charging strategy maintains high SOCs between 70 and 95% in most cases, while the full-flexible charging strategy keeps the SOC between 20 and 65%. Based on the finding that a higher average SOC level results in a faster battery capacity degradation (Zhang et al., 2019), the full-flexible charging strategy with an average of 42.5% SOC seems to outperform the semi-flexible counterpart with 82.5% average SOC. However, it is not true in terms of the higher battery degradation cost associated with the full-flexible charging strategy. It is because, with the full-flexible charging strategy, the battery SOC varies considerably, including an initial discharge approximately from 95% to 30% or a final charging from 30% to 100% at the end of the operation as seen in Fig. 14(c). Finally, it can also be seen that because of the limited resources (e.g., chargers and power grid) or the search for better charging timing due to the TOU plans, BEBs in the full-flexible charging strategy are enabled to wait for a short time before starting to charge and choose an appropriate charging duration. Overall, the full-flexible charging strategy leads to the more efficient fleet and charging schedules. To examine the effects of the timetable shifting strategy, we set up a scenario without the consideration of timetable shifting for comparison. As seen in Table 7, regardless of the solution method, the timetable shifting strategy leads to a 17–26% decrease in peak power demand and a reduction in the number of chargers, although the total operational costs increase slightly by 0.3–0.7%. The increase in the total operational costs is mainly due to the increase in charging costs as a result of the TOU plans, while the charging volumes remain the same. To exclude the influence of the TOU plans on the total operational costs, we set a fixed electricity price of 0.15$/kWh in the test. It is found that the total operational costs remain unchanged after applying the timetable shifting strategy but the peak power demand decreased considerably by 26% compared with not applying the strategy. Using the full-flexible charging strategy and keeping other setups the same, Fig. 15 shows the daily power demand for central depot charging before and after applying the strategy, demonstrating that the timetable shifting strategy has a significant impact on reducing the grid load. Through the above numerical analyses, we conclude that the proposed model and two-stage solution method perform well in generating the fleet and charging schedules. The results show that the full-flexible charging and timetable shifting strategies signif­ icantly influence the total operational costs and the peak power demand. For the operators of BEB networks, the design of the timetable, the fleet schedule, and the charging strategy are not only crucial for reductions in the fleet size and number of chargers but also important for the relief of the power grid pressure. We recommend that the operators should apply the flexible charging strategy and adopt the timetable shifting strategies including block shifting and differentiated shifting strategies. In this way, the total oper­ ational costs can be saved considerably and the power grid pressure can be relieved, associated with a decrease in number of used chargers. 6. Conclusions and future work This paper investigates the optimal fleet and charging schedules with the consideration of timetable shifting, battery degradation, nonlinear charging profile, and TOU plans. We propose an integrated optimization model with high complexity and reformulate the arc-based model into a two-stage model. We further develop a two-stage solution method involving the CG technique and iterative adjustments of timetable shifts to find optimal solutions. Numerical experiments considering small instances and a real-world case are performed to demonstrate the efficiency and effectiveness of the model and solution method. The results show that the proposed model and method can achieve significant reductions in the total operational costs and peak power demand compared to two baselines. To highlight the influence of the full-flexible charging and timetable shifting strategies, sensitivity analyses are conducted. The results show that the strategies contribute to the peak power demand reduction and the increased utilization rate of BEBs. These results confirm the outperformances of the proposed fleet schedule and charging planning model that incorporates the two useful strategies. In future work, we would make more efforts to improve our work. First, we will further investigate the conjecture that using a larger capacity battery could reduce the battery degradation cost caused by the full-flexible charging strategy. Second, the influence of timetable shifting on passenger demand and preferences (Liao et al., 2013, 2020) should be considered because timetable shifts may lead to a change in waiting time for passengers and further decrease their travel accessibility (Qin and Liao, 2021, 2022). Third, some _p_ _(_ _)_ Fig. 14. SOC curves of the three charging strategies. _p_ _(_ _)_ Table 7 <u>Results without and with the timetable shifting strategy.</u> <u>Without timetable shifting strategy</u> <u>With timetable shifting strategy</u> _<u>C</u>_ _<u>CC</u>_ _θ_ _<u>C</u>_ _<u>CC</u>_ _θ_ P1 2816.46 983.12 1233.63 ↑ 0.3% ↑ 0.8% ↓ 17% P2 2358.74 1121.42 1328.94 ↑ 0.7% ↑ 1.6% ↓ 23% <u>P3</u> <u>2196.85</u> <u>969.05</u> <u>1149.12</u> ↑ 0.5% ↑ 1% ↓ 26% Notes: _C_ = total operational costs; _CC_ = charging cost; _θ_ = peak power demand; ↑ = increase; ↓ = decrease. Fig. 15. Comparison of the power demand with and without the timetable shifting strategy. realistic conditions, such as the more bus types, variable charging power, wireless charging strategy, and multiple depots in the BEB network should be considerd. Fourth, the coefficients weighing the importance of different components in the objective functions should be calibrated before real-world applications. CRediT authorship contribution statement Mengyuan Duan: Conceptualization, Methodology, Validation, Writing - original draft. Feixiong Liao: Conceptualization, Methodology, Supervision, Writing – review & editing. Geqi Qi: Conceptualization, Supervision. Wei Guan: Conceptualization, Re­ sources, Supervision. Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Data availability No data was used for the research described in the article. Acknowledgements This work is jointly supported by the Fundamental Research Funds for the Central Universities (No. 2019JBZ003), the National Natural Science Foundation of China (No.72288101, No.72271127, No.71801134), and the Dutch Research Council. The first author is grateful for the financial support from the China Scholarship Council (CSC). Appendix A. Supplementary material [Supplementary data to this article can be found online at https://doi.org/10.1016/j.trc.2023.104175.](https://doi.org/10.1016/j.trc.2023.104175) _p_ _(_ _)_ References Abdelwahed, A., van den Berg, P.L., Brandt, T., Collins, J., Ketter, W., 2020. Evaluating and optimizing opportunity fast-charging schedules in transit battery electric [bus networks. Transp. Sci. 54, 1601–1615. https://doi.org/10.1287/trsc.2020.0982.](https://doi.org/10.1287/trsc.2020.0982) [Addis, B., Carello, G., Ceselli, A., 2012. Exactly solving a two-level location problem with modular node capacities. Networks 59, 161–180. https://doi.org/10.1002/](https://doi.org/10.1002/net.20486) [net.20486.](https://doi.org/10.1002/net.20486) [An, K., 2020. Battery electric bus infrastructure planning under demand uncertainty. Transp. Res. Part C Emerg. Technol. 111, 572–587. https://doi.org/10.1016/j.](https://doi.org/10.1016/j.trc.2020.01.009) [trc.2020.01.009.](https://doi.org/10.1016/j.trc.2020.01.009) Barr´e, A., Deguilhem, B., Grolleau, S., G´erard, M., Suard, F., Riu, D., 2013. A review on lithium-ion battery ageing mechanisms and estimations for automotive [applications. J. Power Sources 241, 680–689. https://doi.org/10.1016/j.jpowsour.2013.05.040.](https://doi.org/10.1016/j.jpowsour.2013.05.040) Carosi, S., Frangioni, A., Galli, L., Girardi, L., Vallese, G., 2019. A matheuristic for integrated timetabling and vehicle scheduling. Transp. Res. Part B Methodol. 127, [99–124. https://doi.org/10.1016/j.trb.2019.07.004.](https://doi.org/10.1016/j.trb.2019.07.004) [Ceder, A., 2001. Efficient Timetabling and Vehicle Scheduling for Public Transport. Comput. Sched. Public Transp. 37–52 https://doi.org/10.1007/978-3-642-56423-](https://doi.org/10.1007/978-3-642-56423-9_3) [9_3.](https://doi.org/10.1007/978-3-642-56423-9_3) Chen, H., Hu, Z., Zhang, H., Luo, H., 2018. Coordinated charging and discharging strategies for plug-in electric bus fast charging station with energy storage system. [IET Gener. Transm. Distrib. 12, 2019–2028. https://doi.org/10.1049/iet-gtd.2017.0636.](https://doi.org/10.1049/iet-gtd.2017.0636) Duan, M., Qi, G., Guan, W., Lu, C., Gong, C., 2021. Reforming mixed operation schedule for electric buses and traditional fuel buses by an optimal framework. IET [Intell. Transp. Syst. 15, 1287–1303. https://doi.org/10.1049/itr2.12098.](https://doi.org/10.1049/itr2.12098) Fonseca, J.P., van der Hurk, E., Roberti, R., Larsen, A., 2018. A matheuristic for transfer synchronization through integrated timetabling and vehicle scheduling. [Transp. Res. Part B Methodol. 109, 128–149. https://doi.org/10.1016/j.trb.2018.01.012.](https://doi.org/10.1016/j.trb.2018.01.012) Gao, Z., Lin, Z., LaClair, T.J., Liu, C., Li, J.M., Birky, A.K., Ward, J., 2017. Battery capacity and recharging needs for electric buses in city transit service. Energy 122, [588–600. https://doi.org/10.1016/j.energy.2017.01.101.](https://doi.org/10.1016/j.energy.2017.01.101) [Gao, Y., Xia, J., D’Ariano, A., Yang, L., 2022. Weekly rolling stock planning in Chinese high-speed rail networks. Transp. Res. Part B Methodol. 158, 295–322. https://](https://doi.org/10.1016/j.trb.2022.02.005) [doi.org/10.1016/j.trb.2022.02.005.](https://doi.org/10.1016/j.trb.2022.02.005) He, Y., Song, Z., Liu, Z., 2019. Fast-charging station deployment for battery electric bus systems considering electricity demand charges. Sustain. Cities Soc. 48 [https://doi.org/10.1016/j.scs.2019.101530.](https://doi.org/10.1016/j.scs.2019.101530) He, Y., Liu, Z., Song, Z., 2020. Optimal charging scheduling and management for a fast-charging battery electric bus system. Transp. Res. Part E Logist. Transp. Rev. [142 https://doi.org/10.1016/j.tre.2020.102056.](https://doi.org/10.1016/j.tre.2020.102056) [Hledik, R., 2014. Rediscovering Residential Demand Charges. Electr. J. 27, 82–96. https://doi.org/10.1016/j.tej.2014.07.003.](https://doi.org/10.1016/j.tej.2014.07.003) Huang, K., Liao, F., Gao, Z., 2021. An integrated model of energy-efficient timetabling of the urban rail transit system with multiple interconnected lines. Transp. Res. [Part C Emerg. Technol. 129 https://doi.org/10.1016/j.trc.2021.103171.](https://doi.org/10.1016/j.trc.2021.103171) Ibarra-Rojas, O.J., Giesen, R., Rios-Solis, Y.A., 2014. An integrated approach for timetabling and vehicle scheduling problems to analyze the trade-off between level of [service and operating costs of transit networks. Transp. Res. Part B Methodol. 70, 35–46. https://doi.org/10.1016/J.TRB.2014.08.010.](https://doi.org/10.1016/J.TRB.2014.08.010) IEA, 2019. Global EV outlook 2019: Scaling up the transition to electric mobility. IEA, 2022. Global Energy Review: CO2 Emissions in 2021 Global emissions rebound sharply to highest ever level. Iea 1–14. [Ji, J., Bie, Y., Zeng, Z., Wang, L., 2022. Trip energy consumption estimation for electric buses. Commun. Transp. Res. 2, 100069 https://doi.org/10.1016/J.](https://doi.org/10.1016/J.COMMTR.2022.100069) [COMMTR.2022.100069.](https://doi.org/10.1016/J.COMMTR.2022.100069) [Lam, L., Bauer, P., 2013. Practical capacity fading model for Li-ion battery cells in electric vehicles. IEEE Trans. Power Electron. 28, 5910–5918. https://doi.org/](https://doi.org/10.1109/TPEL.2012.2235083) [10.1109/TPEL.2012.2235083.](https://doi.org/10.1109/TPEL.2012.2235083) [Li, J.Q., 2014. Transit bus scheduling with limited energy. Transp. Sci. 48, 521–539. https://doi.org/10.1287/trsc.2013.0468.](https://doi.org/10.1287/trsc.2013.0468) [Li, L., Lo, H.K., Huang, W., Xiao, F., 2021. Mixed bus fleet location-routing-scheduling under range uncertainty. Transp. Res. Part B Methodol. 146, 155–179. https://](https://doi.org/10.1016/j.trb.2021.02.005) [doi.org/10.1016/j.trb.2021.02.005.](https://doi.org/10.1016/j.trb.2021.02.005) Liao, F., 2016. Modeling duration choice in space–time multi-state supernetworks for individual activity-travel scheduling. Transp. Res. Part C Emerg. Technol. 69, [16–35. https://doi.org/10.1016/j.trc.2016.05.011.](https://doi.org/10.1016/j.trc.2016.05.011) [Liao, F., 2019. Joint travel problem in space–time multi-state supernetworks. Transportation (Amst). 46, 1319–1343. https://doi.org/10.1007/s11116-017-9835-6.](https://doi.org/10.1007/s11116-017-9835-6) Liao, F., Arentze, T., Timmermans, H., 2013. Incorporating space–time constraints and activity-travel time profiles in a multi-state supernetwork approach to [individual activity-travel scheduling. Transp. Res. Part B Methodol. 55, 41–58. https://doi.org/10.1016/j.trb.2013.05.002.](https://doi.org/10.1016/j.trb.2013.05.002) Liao, F., Tian, Q., Arentze, T., Huang, H.J., Timmermans, H., 2020. Travel preferences of multimodal transport systems in emerging markets: The case of Beijing. [Transp. Res. Part A Policy Pract. 138, 250–266. https://doi.org/10.1016/j.tra.2020.05.026.](https://doi.org/10.1016/j.tra.2020.05.026) Lin, D.Y., Juan, C.J., Chang, C.C., 2020. A Branch-and-Price-and-Cut Algorithm for the Integrated Scheduling and Rostering Problem of Bus Drivers. J. Adv. Transp. [2020 https://doi.org/10.1155/2020/3153201.](https://doi.org/10.1155/2020/3153201) Lin, Y., Zhang, K., Shen, Z.J.M., Ye, B., Miao, L., 2019. Multistage large-scale charging station planning for electric buses considering transportation network and [power grid. Transp. Res. Part C Emerg. Technol. 107, 423–443. https://doi.org/10.1016/j.trc.2019.08.009.](https://doi.org/10.1016/j.trc.2019.08.009) Liu, T., Ceder, A., 2018. Integrated public transport timetable synchronization and vehicle scheduling with demand assignment: A bi-objective bi-level model using [deficit function approach. Transp. Res. Part B Methodol. 117, 935–955. https://doi.org/10.1016/j.trb.2017.08.024.](https://doi.org/10.1016/j.trb.2017.08.024) Liu, T., Ceder, A., 2020. Battery-electric transit vehicle scheduling with optimal number of stationary chargers. Transp. Res. Part C Emerg. Technol. 114, 118–139. [https://doi.org/10.1016/j.trc.2020.02.009.](https://doi.org/10.1016/j.trc.2020.02.009) Liu, K., Gao, H., Liang, Z., Zhao, M., Li, C., 2021. Optimal charging strategy for large-scale electric buses considering resource constraints. Transp. Res. Part D Transp. [Environ. 99, 103009 https://doi.org/10.1016/j.trd.2021.103009.](https://doi.org/10.1016/j.trd.2021.103009) [Liu, Y., Wang, L., Zeng, Z., Bie, Y., 2022. Optimal charging plan for electric bus considering time-of-day electricity tariff. J. Intell. Connect. Veh. 5, 123–137. https://](https://doi.org/10.1108/JICV-04-2022-0008) [doi.org/10.1108/JICV-04-2022-0008.](https://doi.org/10.1108/JICV-04-2022-0008) [Lopes, J.A.P., Soares, F.J., Almeida, P.M.R., 2011. Integration of electric vehicles in the electric power system. Proc. IEEE 99, 168–183. https://doi.org/10.1109/](https://doi.org/10.1109/JPROC.2010.2066250) [JPROC.2010.2066250.](https://doi.org/10.1109/JPROC.2010.2066250) Montoya, A., Gu´eret, C., Mendoza, J.E., Villegas, J.G., 2017. The electric vehicle routing problem with nonlinear charging function. Transp. Res. Part B Methodol. 103, [87–110. https://doi.org/10.1016/j.trb.2017.02.004.](https://doi.org/10.1016/j.trb.2017.02.004) [Nie, Y., Ghamami, M., Zockaie, A., Xiao, F., 2016. Optimization of incentive polices for plug-in electric vehicles. Transp. Res. Part B Methodol. 84, 103–123. https://](https://doi.org/10.1016/j.trb.2015.12.011) [doi.org/10.1016/j.trb.2015.12.011.](https://doi.org/10.1016/j.trb.2015.12.011) [Pelletier, S., Jabali, O., Laporte, G., 2016. Goods distribution with electric vehicles: Review and research perspectives. Transp. Sci. 50, 3–22. https://doi.org/10.1287/](https://doi.org/10.1287/trsc.2015.0646) [trsc.2015.0646.](https://doi.org/10.1287/trsc.2015.0646) [Pelletier, S., Jabali, O., Laporte, G., 2018. Charge scheduling for electric freight vehicles. Transp. Res. Part B Methodol. 115, 246–269. https://doi.org/10.1016/j.](https://doi.org/10.1016/j.trb.2018.07.010) [trb.2018.07.010.](https://doi.org/10.1016/j.trb.2018.07.010) Perumal, S.S.G., Lusby, R.M., Larsen, J., 2021. Electric bus planning & scheduling: A review of related problems and methodologies. Eur. J. Oper. Res. 301, 395–413. [https://doi.org/10.1016/j.ejor.2021.10.058.](https://doi.org/10.1016/j.ejor.2021.10.058) Qin, N., Gusrialdi, A., Paul Brooker, R., T-Raissi, A.,, 2016. Numerical analysis of electric bus fast charging strategies for demand charge reduction. Transp. Res. Part A [Policy Pract. 94, 386–396. https://doi.org/10.1016/j.tra.2016.09.014.](https://doi.org/10.1016/j.tra.2016.09.014) [Qin, J., Liao, F., 2021. Space–time prism in multimodal supernetwork-Part 1: Methodology. Commun. Transp. Res. 1, 100016 https://doi.org/10.1016/j.](https://doi.org/10.1016/j.commtr.2021.100016) [commtr.2021.100016.](https://doi.org/10.1016/j.commtr.2021.100016) Qin, J., Liao, F., 2022. Space–time prisms in multimodal supernetwork-Part 2: Application for analyses of accessibility and equality. Commun. Transp. Res. 2, 100063 [https://doi.org/10.1016/j.commtr.2022.100063.](https://doi.org/10.1016/j.commtr.2022.100063) _p_ _(_ _)_ [Qu, X., Zhong, L., Zeng, Z., Tu, H., Li, X., 2022. Automation and connectivity of electric vehicles: Energy boon or bane? Cell Reports Phys. Sci. 3, 101002 https://doi.](https://doi.org/10.1016/J.XCRP.2022.101002) [org/10.1016/J.XCRP.2022.101002.](https://doi.org/10.1016/J.XCRP.2022.101002) [Razeghi, G., Samuelsen, S., 2016. Impacts of plug-in electric vehicles in a balancing area. Appl. Energy 183, 1142–1156. https://doi.org/10.1016/J.](https://doi.org/10.1016/J.APENERGY.2016.09.063) [APENERGY.2016.09.063.](https://doi.org/10.1016/J.APENERGY.2016.09.063) Rinaldi, M., Picarelli, E., D’Ariano, A., Viti, F., 2020. Mixed-fleet single-terminal bus scheduling problem: Modelling, solution scheme and potential applications. [Omega 96, 102070. https://doi.org/10.1016/j.omega.2019.05.006.](https://doi.org/10.1016/j.omega.2019.05.006) [Schmid, V., Ehmke, J.F., 2015. Integrated timetabling and vehicle scheduling with balanced departure times. OR Spectr. 37, 903–928. https://doi.org/10.1007/](https://doi.org/10.1007/s00291-015-0398-7) [s00291-015-0398-7.](https://doi.org/10.1007/s00291-015-0398-7) Schoch, J., Gaerttner, J., Schuller, A., Setzer, T., 2018. Enhancing electric vehicle sustainability through battery life optimal charging. Transp. Res. Part B Methodol. [112, 1–18. https://doi.org/10.1016/j.trb.2018.03.016.](https://doi.org/10.1016/j.trb.2018.03.016) [Steiner, K., Irnich, S., 2018. Schedule-based integrated intercity bus line planning via branch-and-cut. Transp. Sci. 52, 882–897. https://doi.org/10.1287/](https://doi.org/10.1287/trsc.2017.0763) [trsc.2017.0763.](https://doi.org/10.1287/trsc.2017.0763) Tang, X., Lin, X., He, F., 2019. Robust scheduling strategies of electric buses under stochastic traffic conditions. Transp. Res. Part C Emerg. Technol. 105, 163–182. [https://doi.org/10.1016/J.TRC.2019.05.032.](https://doi.org/10.1016/J.TRC.2019.05.032) Teng, J., Chen, T., Fan, W., “David”,, 2020. Integrated Approach to Vehicle Scheduling and Bus Timetabling for an Electric Bus Line. J. Transp. Eng. Part A Syst. 146, [04019073. https://doi.org/10.1061/jtepbs.0000306.](https://doi.org/10.1061/jtepbs.0000306) Uslu, T., Kaya, O., 2021. Location and capacity decisions for electric bus charging stations considering waiting times. Transp. Res. Part D Transp. Environ. 90, 102645 [https://doi.org/10.1016/J.TRD.2020.102645.](https://doi.org/10.1016/J.TRD.2020.102645) [Vicini, R., Micheloud, O., Kumar, H., Kwasinski, A., 2012. Transformer and home energy management systems to lessen electrical vehicle impact on the grid. IET](http://refhub.elsevier.com/S0968-090X%0x2823%0x2900164-X/h0255) [Gener. Transm. Distrib. 6, 1202–1208.](http://refhub.elsevier.com/S0968-090X%0x2823%0x2900164-X/h0255) Wang, G., Fang, Z., Xie, X., Wang, S., Sun, H., Zhang, F., Liu, Y., Zhang, D., 2021. Pricing-aware Real-time Charging Scheduling and Charging Station Expansion for [Large-scale Electric Buses. ACM Trans. Intell. Syst. Technol. 12, 1–26. https://doi.org/10.1145/3428080.](https://doi.org/10.1145/3428080) Wang, Y., Huang, Y., Xu, J., Barclay, N., 2017. Optimal recharging scheduling for urban electric buses: A case study in Davis. Transp. Res. Part E Logist. Transp. Rev. [100, 115–132. https://doi.org/10.1016/j.tre.2017.01.001.](https://doi.org/10.1016/j.tre.2017.01.001) Wang, Y., Liao, F., Lu, C., 2022. Integrated optimization of charger deployment and fleet scheduling for battery electric buses. Transp. Res. Part D Transp. Environ. [109, 103382 https://doi.org/10.1016/J.TRD.2022.103382.](https://doi.org/10.1016/J.TRD.2022.103382) Wang, K., Zhen, L., Wang, S., Laporte, G., 2018. Column generation for the integrated berth allocation, quay crane assignment, and yard assignment problem. Transp. [Sci. 52, 812–834. https://doi.org/10.1287/trsc.2018.0822.](https://doi.org/10.1287/trsc.2018.0822) Wu, Y., Yang, H., Tang, J., Yu, Y., 2016. Multi-objective re-synchronizing of bus timetable: Model, complexity and solution. Transp. Res. Part C Emerg. Technol. 67, [149–168. https://doi.org/10.1016/j.trc.2016.02.007.](https://doi.org/10.1016/j.trc.2016.02.007) Xu, M., Meng, Q., 2019. Fleet sizing for one-way electric carsharing services considering dynamic vehicle relocation and nonlinear charging profile. Transp. Res. Part [B Methodol. 128, 23–49. https://doi.org/10.1016/j.trb.2019.07.016.](https://doi.org/10.1016/j.trb.2019.07.016) Yao, E., Liu, T., Lu, T., Yang, Y., 2020. Optimization of electric vehicle scheduling with multiple vehicle types in public transport. Sustain. Cities Soc. 52, 101862 [https://doi.org/10.1016/j.scs.2019.101862.](https://doi.org/10.1016/j.scs.2019.101862) Zhang, L., Wang, S., Qu, X., 2021a. Optimal electric bus fleet scheduling considering battery degradation and non-linear charging profile. Transp. Res. Part E Logist. [Transp. Rev. 154, 102445 https://doi.org/10.1016/J.TRE.2021.102445.](https://doi.org/10.1016/J.TRE.2021.102445) Zhang, Y., Xiong, R., He, H., Qu, X., Pecht, M., 2019. State of charge-dependent aging mechanisms in graphite/Li(NiCoAl)O2 cells: Capacity loss modeling and [remaining useful life prediction. Appl. Energy 255, 113818. https://doi.org/10.1016/J.APENERGY.2019.113818.](https://doi.org/10.1016/J.APENERGY.2019.113818) [Zhang, W., Zhao, H., Xu, M., 2021b. Optimal operating strategy of short turning lines for the battery electric bus system. Commun. Transp. Res. 1, 100023 https://doi.](https://doi.org/10.1016/J.COMMTR.2021.100023) [org/10.1016/J.COMMTR.2021.100023.](https://doi.org/10.1016/J.COMMTR.2021.100023) Zhou, Y., Meng, Q., Ong, G.P., 2022. Electric bus charging scheduling for a single public transport route considering nonlinear charging profile and battery [degradation effect. Transp. Res. Part B Methodol. 159, 49–75. https://doi.org/10.1016/j.trb.2022.03.002.](https://doi.org/10.1016/j.trb.2022.03.002)

섹션 본문 109문단 · 71,807자

Introduction

2It has been reported that the transportation sector accounts for about one-quarter of the global carbon dioxide emissions due to the wide use of carbon-fueled vehicles (IEA, 2019), which is one of the main causes of climate change. This proportion is even higher in developed economies, for example, one-third in the European Union (IEA, 2022). Therefore, it is necessary to find substitute mobility options to reduce emissions and secure a more sustainable environment. Electric mobility has proven to be instrumental in decarbonizing the transportation sector (Qu et al., 2022;Razeghi and Samuelsen, 2016). Amongst, electric public bus systems are considered an important pillar that offers affordable and environmentally friendly mobility. Local governments in many countries implement a series of policies, such as financial incentives, customer subsidies, and taxation on petroleum, to promote the deployment of battery electric buses (BEBs) (Nie et al., 2016). Despite the advantages of BEBs, they still face challenges in large-scale adoption (Ji et al., 2022;Zhang et al., 2021a). The high capital investment, including the costs of embedded battery packs and auxiliary charging facilities, makes BEBs less appealing than traditional diesel buses. The battery capacity of the BEBs gradually decreases during the charging and discharging cycles, resulting in the degradation of battery performance (Schoch et al., 2018;Zhang et al., 2019). Furthermore, due to the complex planning processes for a BEB system, inefficient charging strategies and fleet schedules are usually adopted by BEB operators (Yao et al., 2020;Zhang et al., 2021b).

Literature review

3In general, the planning tasks of bus systems include line designing, timetabling, bus scheduling, crew rostering, and charging planning (if the buses are BEBs). In the existing studies of bus systems, timetabling and bus scheduling are two primary research subjects. Timetabling is to determine the departure and arrival times of each trip in a bus network constrained by the given frequency and level of service of each line. Bus scheduling is to assign buses to serve the timetabled trips on the condition that each trip is covered by one bus. Because of the limited travel range of BEBs, the timetable needs reconstructions and more idle time for the charging process, where charging planning makes decisions on when, how long, and how much electricity the bus is charged. As reviewed below, these planning tasks have often been handled separately due to the high model complexity.

4Typically, a timetable is determined based on the line characteristics and the passenger demands between origins and destinations. With an emphasis on passenger services, the common objective of timetabling is to minimize passenger travel or transfer times (Wu et al., 2016), while ignoring the subsequent planning tasks. For the BEB scheduling problem, route duration, route distance, and the duration for replenishing energy at the charging points should be constrained due to the limitation of the driving range per charge. Some studies assigned the BEBs to meet the condition that each timetabled trip is covered once, aiming to yield the least operational costs. For example, given fixed charging duration, Tang et al. (2019) proposed robust scheduling strategies for BEBs under stochastic traffic conditions, and Rinaldi et al. (2020) focused on the optimal scheduling of a mixed BEB fleet. These studies did not show any charging flexibility since the charging duration or volume is fixed. Specifically, each charging operation starts immediately upon arrival at the charging station and has a determined charging duration or volume according to the "first-in-first-out" principle. Such an inflexible charging strategy cannot fully coordinate the demand of BEBs and the availability of charging resources. Assuming predetermined fleet schedules, some studies were dedicated to the orderly and flexible charging strategy. For example, Wang et al. (2017) arranged the charging demand of BEBs to ensure recharging without any delays. He et al. (2020) optimized charging schedules for a fast-charging system and determined when to charge a BEB. The obtained charging strategies are called "semi-flexible charging", which indicates that the buses are charged to a pre-given electricity level while optimizing the sequence of charging operations. Unlike their studies, Abdelwahed et al. (2020) optimized the charging schedules and determined where, when, and how long each BEB should be charged while considering the time-dependent electricity prices in time-of-use (TOU) plans. This charging strategy is called "fullflexible charging", as all the charging-related components need to be determined endogenously, such as the charging start time, duration, and volume. However, the studies mentioned above adopted separated optimization for single planning tasks, which tends to cause inefficient BEB planning outcomes (Schmid and Ehmke, 2015). Therefore, it is desirable to optimize these planning tasks integratively to exploit the system's capacity to the greatest extent and maximize its productivity and efficiency (Ceder, 2001;Liu and Ceder, 2018).

5Integrated optimization has recently been a hotspot topic in the study of timetabling, bus scheduling, and charging planning. Commonly, two interdependent planning tasks are addressed simultaneously, such as integrating timetabling with bus scheduling or integrating bus scheduling with charging planning. The integrated optimization of timetabling and bus scheduling is only targeted at conventional buses. For instance, Ibarra-Rojas et al. (2014) combined two integer linear programming models of timetabling and vehicle scheduling to form a bi-objective integrated model. One objective is to maximize the number of passengers benefiting from well-coordinated transfers, and the other is to minimize the operational costs related to fleet management. Schmid and Ehmke (2015) aimed to minimize operational costs by balancing consecutive departures on a line according to predefined departure time intervals. In addition to the cost-efficiency objective, they also considered the quality of a timetable from a passenger's point of view. Liu and Ceder (2018) developed a bi-level integer programming model to attain the optimality of timetable synchronization with vehicle scheduling. The integration of three or more planning tasks is even more desirable but seems infeasible for most practical problems (Teng et al., 2020).

6Increasing research has integrated charging planning for BEBs into the aforementioned integrated optimization models developed for non-BEBs. For instance, considering the limited driving range and charging requirement constraints, Liu and Ceder (2020) proposed two formulations to minimize the total number of BEBs and chargers. One is based on the deficit function theory, and the other is an equivalent bi-objective integer programming model. Under travel range uncertainty, addressed the multi-depot vehicle location-routing-scheduling problem with two-stage stochastic programming. Some realistic operational conditions, such as battery degradation, nonlinear charging profile, and peak power demand, were incorporated in different studies. To be specific, the capacity and power of batteries in BEBs gradually fade due to the chemical and mechanical processes, and this degradation mechanism always occurs owing to cyclic charging and discharging (Barré et al., 2013;Pelletier et al., 2018); the nonlinear charging profile implies varying charging efficiency responding to different charging conditions (Liu et al., 2022;Zhang et al., 2021a); peak power demand has a massive impact on the existing power system (Chen et al., 2018;Lopes et al., 2011;Vicini et al., 2012), which is triggered by a onetime occurrence of charging demand and usually measured as the highest average power over a time interval (e.g., varying from 15 to 60 min) (He et al., 2020;Hledik, 2014;Qin et al., 2016). Pelletier et al. (2018) developed a comprehensive mathematical model that incorporates a realistic charging process, time-dependent energy costs, battery degradation, grid restrictions, and facility-related demand charges. They pointed out that optimizing the charging schedule contributes to keeping the facility-related charging demand low at the expense of spreading out the charging activities throughout the day. Zhang et al. (2021) determined the BEB charging strategies to minimize the total operational costs of a transit system. These studies reported that the incorporation of these charging conditions enhances realism and accounts for feasible fleet size reductions and charging strategies. The integrated optimization problems of any two of the above planning tasks have been demonstrated to be NP-hard (Ibarra-Rojas et al., 2014;Rinaldi et al., 2020). The integrated optimization of bus scheduling, charging planning, and timetabling with the consideration of realistic charging conditions would be even more challenging.

Focus of this study

7As stated above, to the best of our knowledge, no study has investigated the bus scheduling and charging planning with timetable shifting problem while considering the battery degradation, non-linear charging profile, and TOU plans. For comparative convenience, we summarize the detailed characteristics of the relevant studies on the operational planning of BEBs in Table 1. As seen, the literature is evolving to take into account realistic operational conditions such as battery degradation, non-linear charging profile, and TOU plans. However, three notable literature gaps can be identified. First, the integrated optimization models of bus scheduling and charging planning have not considered timetabling. As such, the existing studies fall short of investigating the influence of charging strategies and moderating the peak power demand by timetabling-related strategies, such as timetable shifting. Second, most existing studies on bus scheduling and charging planning are based on fixed or semi-flexible charging strategies to obtain the sequence of service trips. This treatment of charging simplifies the modeling complexity but cannot capture the real operational conditions. Abdelwahed et al. (2020) was the only one that considered full-flexible charging, but their model focused on this single planning task. Third, existing approaches for solving the scheduling problem focused on heuristics, branch-and-price, and optimization solver. Although their problems can be solved well by these methods, they cannot solve the proposed integrated optimization problem well. To fill these gaps, this study aims to coordinate bus scheduling, charging planning, and timetabling with full-flexible charging as well as incorporate realistic operational conditions in a BEB system. Therefore, the main contributions of this study are presented as follows. First of all, we investigate an integrated optimization model for timetable modifications and joint bus and charging scheduling. This study thus far has the highest model integrity in the literature. Second, with the consideration of full-flexible charging, battery degradation, nonlinear charging profile and TOU plan, the model aims to generate a joint fleet and charging schedule to minimize the total costs, considering the power grid pressure cost. These considerations can capture the real operational conditions. Third, we reformulate the arc-based model and develop a two-stage solution method. This treatment separates the integrated objective into the operational costs and the peak power demand, which simplify the complexity of the solution method.

8The remainder of this paper is organized as follows. Section 2 presents the problem description. In Section 3, an optimization model is proposed to characterize the integrated timetabling, BEB scheduling, and charging planning problem. Section 4 discusses the twostage solution method based on an arc-based model reformulation. Numerical experiments are conducted in Section 5 to verify the effectiveness and computational efficiency of the proposed model and solution method. Finally, Section 6 concludes the main contributions and provides potential extensions for future work.

Problem description

9In this section, we first describe the setting of the research problem and then introduce the timetable shifting strategies in detail. Liu et al. (2021) N

Research problem

10The research problem focuses on BEB scheduling and charging planning with timetable shifting. The studied transit network can be illustrated in Fig. 1, which is composed of a single depot where all buses are housed at night, one central charging station with a limited number of candidate chargers located in the depot, several transit lines served by BEBs, and bus stops. The central depot charging requires that a BEB returns to the depot to replenish their electricity during the idle time between two service trips. According to the practice of BEB operations, the BEBs run round trips along the lines, and the start and end locations of the bus line, i.e., the bus stops of departure and arrival, are called terminals. For example, Line1 is composed of a sequence of stops; once a daily operation begins, a BEB departs from the depot and then performs the round trip based on terminal A. Due to the limited space capacity, a depot is usually located in a different location from the terminals. Therefore, there is certain distance between the depot and the terminals. To ensure that BEBs have enough electricity to perform the tasks in chronological order, they are not allowed to return to the depot except for replenishing their electricity. This network structure with one central depot and multiple neighboring terminals applies broadly to small-sized and medium-sized cities (Perumal et al., 2021) and has been widely used in the BEB literature.

11The planning horizon T is discretized into equal time intervals as T = {0,1,2,⋯,|T|}, where | • | gives the cardinality of a set. The sets of terminals and directed lines are denoted by S and L, respectively. Each line l ∈ L has its original timetable T l 0 , and the set of timetabled trips is represented as I l = {1, ..., |I l |} in ascending order by their departure times. Thus, we have I = ∪ l∈L I l and I l ∩ I l ′ = ∅, l, l ′ ∈ L, l ∕ = l ′ . Trip i is associated with a line l i ∈ L, terminal s i ∈ S, departure time d i ∈ T l 0 , travel time tt i , and electricity e i (in percentage) consumed by the trip. For consistency, the volume of electricity replenished at the charging station is also expressed in percentage. The objective is to minimize the total costs, considering the power grid pressure cost. The three key components, including modified timetable, fleet schedule, and the corresponding charging schedule are elaborated below.

Timetable shifting strategy

12The limited number of chargers at the central depot often leads to a high peak power demand (Liu and Ceder, 2018;Lin et al., 2019). We adopt the timetable shifting strategy, which has been applied for timetable synchronization in public transport (Fonseca et al., 2018), to adjust the start charging time to moderate the peak power demand. Large deviations from the original timetable would not only perturb the regular timetabled services but also confuse passengers with accustomed trip plans. More importantly, they would cause massive adjustments to the following scheduling tasks. To coordinate with the fleet and charging schedules, the original timetable should only be shifted within an acceptable range. We consider two types of shifting strategies, including block shifting and differentiated shifting. Block shifting indicates that the timetabled trips of a line are shifted equally while differentiated shifting means that the departure time of each timetabled trip makes a small shift within a time window. Essentially, block shifting is a special case of differentiated shifting. In a mathematical way, a generic form is proposed to represent the shifting strategy. Specifically, let d i denote the original departure time of trip i and Δ i denote the shift of trip i. Note that Δ i may be positive or negative, where a positive value indicates the time is moved backward and a negative value indicates the time is moved forward. Shift Δ i should be constrainted by a time window, that is

13where d − i and d + i denote the earliest and latest departure times at the terminal, respectively. When all trips in the timetable of one line are shifted equally, it indicates a block shifting strategy. To distinguish it from differentiated shifting, Δ l is introduced to denote the block shift of line l,

14and d + l represent the pre-determined minimum and maximum time shifts of line l, respectively. After timetable shifting, the actual departure time of trip i is represented as d i + Δ l + Δ i ,∀i ∈ T l 0 ,l ∈ L. Note that the departures of the trips in the same line can never overtake each other, meaning that the sequence of departures remains. Similar to the formulations in Fonseca et al.(2018), the shift window

15for trip i can be created based on the original timetables as

16if i refers to the first or the last trip of a line, we set d − i = d + i . For illustration purposes, Fig. 2 shows the two timetable shifting strategies given the original timetable. Fig. 2(a) presents the block shift Δ l < 0 for line l, indicating that all the timetabled trips of line l are moved forward |Δ l |; Fig. 2(b) presents the shift time windows

17, indicating that the departure times can be shifted within the time windows.

Model formulation

18This section presents the formulations of the research problem. First, we show the primary assumptions and notations of this study. Second, the network structure and components used to model the problem are presented. Next, we discuss the constraints concerning the flow conservation of BEBs, time window, energy consumption and replenishment, timetable shifting, and charging station capacity. Finally, we consider three parts of the operational costs and the peak power demand in the objective function. The total operational costs include the fleet cost, the charging cost, and the cost incurred by battery degradation.

Notations and assumptions

19The primary notations used in the formulations are listed in Table 2, and the assumptions used throughout this paper are summarized as follows.

20Assumption 1. BEBs are homogeneous in terms of battery size and capacity. Each bus can only serve one line on an operation day, and the battery capacity is sufficient to cover at least one service trip.

Assumption 2.

21There is only one charging station located in the depot where the physical distances between the chargers are neglected. A charging operation of a BEB can only occur at the charging station and is carried out with one of the chargers.

Assumption 3. A BEB can be charged only after finishing a round trip at the terminal.

22Assumption 4. The routes of the buses for all the origin-destination pairs are known and fixed. Stochasticity in the road network is not considered, and the running times of BEBs between any two consecutive stops remain the same as those in the original timetable.

23Assumption 5. A BEB with an initial level of battery electricity leaves the depot and begins its service, and the electricity of buses running on lines should always fall within the feasible range.

24Assumptions 1 and 5 are consistent with the common practices of bus systems An, 2020). Assumptions 2, 3 and 4 are adopted to simplify the problem, which are widely adopted in the literature related to the planning and operation of BEBs (Pelletier et al., 2018;Chen et al., 2018;Liu et al., 2021;Uslu and Kaya, 2021;Zhang et al., 2021a). Although the fast-charging method occurs at terminals in many studies Wang et al., 2017), we make an assumption that the charging operations occur at the charging station since they can be transformed in the same formulations by the method of reduction (i.e., setting the distances between the depot and the terminals to 0). In addition, the consideration of time and energy consumption stochasticity is beyond the scope in this paper.

Network of fleet schedule and charging strategy

25To address the research problem rigorously, we follow Li (2014) also include deadhead trips without transporting passengers. The arc set A o = {(i, j)|i ∈ O o , j ∈ I} denotes the bus moving from the depot to the departure terminal of trip j when its daily operation starts, called a pull-out arc shown in Fig. 3.

26called pull-in arc, denotes the bus moving from the arrival terminal of trip i to the depot when its daily operation ends. Arc set A I = {(i, j)|i, j ∈ I, i ∕ = j} denotes the bus moving from the arrival terminal of trip i to the departure terminal of trip j, called a service arc for connecting two trips. Suppose the remaining energy is not sufficient for the next trip. In that case, the bus needs to replenish its electricity at the charging station and then perform the next trip, which can be represented as {(i, c)→(c, j)|i, j ∈ I, i ∕ = j} and included in the service arcs. The trip chain indicates that a BEB starts from the depot, then performs several timetabled trips, replenishes its electricity between the idle time of trips if the battery electricity is insufficient for the next service trip, and finally ends at the depot. The fleet schedule refers to the generation of trip chains, subject to the constraint that each timetabled trip is only performed once by one bus. One trip chain consists of some nodes and arcs, and the trips are in ascending order regarding their departure times, satisfying energy consumption and charging time constraints. We illustrate the feasible fleet and charging schedules in Fig. 3(a). The time interval associated with each node represents the period of the corresponding nodes, such as the trip node with the scheduled departure and arrival times, the charging node with the start and end charging times, the state of charge (SOC) range before and after charging. This feasible fleet schedule R ⊆ R contains three trip chains, denoted as R = {r 1 , r 2 , r 3 }, namely,

27where c denotes charging. As for the charging schedule in Fig. 3

(a), it includes three charging operations expressed by a tuple

28where c j is an indicator variable equal to 1 if a charging operation happens after trip j and 0 otherwise, ct j denotes the start charging time, et j denotes the end charging time, [soc o ,soc t ] indicates the SOC range before and after charging (%). This representation also implies the charging duration and volume of the charging operation. The original charging schedule requires 2 chargers; by timetable shifting, the charging demand can be replenished by 1 charger; the adjusted timetable and the optimized charging time are represented below nodes in Fig. 3(a). In addition, Fig. 3

29indicates the power demand comparison between without and with timetable shifting for the illustrative example. Setting 15 min as a time interval, the peak power demand is 106.6 kW without shifting and 74.6 kW with shifting; the difference is 30% in this example, which indicates an advantage of the timetable shifting strategy. To guarantee the physical turnaround of the bus, we consider an average turnaround time ρ.

30Related to the charging schedule, the charging volume needs to be determined, which is impacted by the charging duration and other factors such as the TOU plans and the nonlinear charging profile. Let c e t denote the electricity price in $/kWh associated with timestep t ∈ T. As for the nonlinear charging profile, we use a constant current-constant voltage (CC-CV) scheme shown in Fig. 4(a), commonly adopted by electric vehicles (Lam and Bauer, 2013;Schoch et al., 2018;Xu and Meng, 2019). During the constant current (CC) phase, the charging current is held constant, and the battery's terminal voltage increases until it reaches a certain maximum value, which is specified by the manufacturer. The constant voltage (CV) phase starts subsequently, and the terminal voltage must be maintained at the maximum value to avoid overcharging the battery. This scheme indicates that the variation of the battery's SOC cannot be assumed linear with the charging time (Pelletier et al., 2016). Similar to Montoya et al. (2017), we make a piecewise linear function to formulate the variation of SOC and the charging duration. Let f(χ) be the charging function when soc 0 = 0 and the battery is charged for χ time intervals. As shown in Fig. 4(b), soc 1 , soc 2 , and soc 3 represent the switch points of SOC in each piecewise part. Based on soc 0 , we have χ 0 = f − 1 (soc 0 ) and know in which piecewise part χ 0 +Δχ is located. To put it simply, soc 0 and Δχ are the input parameters of the piecewise function to obtain soc χ . Therefore, the final SOC can be calculated given the piecewise function of a charging profile, the SOC before visiting the charging station, and the charging duration.

Flow conservation constraints

31A fleet schedule consists of several trip chains, and each trip chain performed by one bus is connected by the arcs from the pull-out arc, then to the service arcs, and finally to the pull-in arc as illustrated in Fig. 3(a). To capture the relationship, x ij is introduced as a binary decision variable, where x ij = 1 means trips i and j are successively served by one bus and x ij = 0 otherwise. To reduce the search space for the trip chain, infeasible or incompatible service arcs need to be removed from A I beforehand. For service trip arc (i,j), let d i and d j denote the scheduled departure time, respectively, where i, j ∈ T l 0 , l ∈ L. Considering the shifting strategy, the departure time of trips will be modified possibly and shifted in a window s j is greater than the latest departure time from the same terminal, service arc (i, j) should be eliminated. This condition indicates that trip j can never be performed on time even if trip i arrives at the earliest, that is,

32i +tt i denotes the earliest arrival time of trip i, d + j denotes the latest departure time of trip j, and ρ is the bus turnaround time.

33In practice, each timetabled trip is exactly included once in the fleet schedule, as formulated in Eq. (2). To guarantee the continuity of a trip chain, flow conservation between the connecting arcs needs to be satisfied as Eq.

Time window constraints

34As stated above, this study considers flexible charging with varying start charging time and duration. With minor shifts from the scheduled departure time, we use τ d i and τ a i as non-negative integer variables to denote the actual departure and arrival times of trip i respectively, which are limited by a shift time window of the original timetable. If the charging operation happens in the trip chain, the continuity should also be guaranteed. We define binary decision variable μ i as a charging indicator, where μ i = 1 if a charging operation happens after trip i and μ i = 0 otherwise. In addition, given the flexible charging and TOU plans, the charging schedule is related to two binary cumulative time decision variables. If the bus is charged at a timestep t * after trip i, a it = 1 at t ≥ t * and a it = 0 at other timesteps. Similarly, if the bus finishes charging at the timestep during t * +Δ t after trip i, b it = 1 at t ≥ t * +Δ t and b it = 0 at other timesteps. Fig. 5 illustrates the relationship between a it and b it .

35For service arc (i,j), τ a i is affected by the timetable shifts and the turnaround time ρ, and thus should be equal to or earlier than τ d j , as formulated in Eq. (4). The start and end charging times are constrained by Eqs. (5a) and (5b)

36where M indicates a large positive number. The charging duration is bounded by the minimum and maximum charging durations . The minimum charging duration is determined due to economic efficiency, while the maximum charging duration is constrained by the battery capacity of the BEB. Let τ(i) be the charging duration immediately after trip i, which can be calculated by a it and b it in Eq. (6a). The first term on the right side of the equation represents the end charging timestep, and the second term represents the start charging timestep.

37Furthermore, let τ min denote the minimum charging duration and the actual charging duration is constrained by Eq. (6b), indicating that τ(i) is positive if the charging operation happens after trip i, and τ(i) = 0 otherwise. Given the maximum charging duration |T|, the upper charging duration is limited by the latter constraint.

38Finally, a it and b it delimit the flexible charging duration as Eqs. (7a)-(7c). The coupling constraints between the charging operation and the start and end charging times are shown in Eqs. (8a) and (8b).

Energy consumption and replenishment constraints

39The energy consumption constraints are used to guarantee the continuity of the trip chain. If the remaining electricity of a BEB does not satisfy the next trip j, the bus needs to replenish energy at the charging station and then perform trip j. Eq. (9a) captures the discharging dynamics between trips i and j, where H i denotes the remaining SOC after completing trip i and H c i denotes the remaining SOC of the bus after trip i but before charging happens. Similarly, if a charging operation happens after trip i, the energy consumption and the replenishment should be considered. As described above, the charging electricity increases nonlinearly with the charging duration and the initial electricity. Let w(i) be the proportion of charging electricity, which is determined by τ(i) and H c i . The proportion of charging electricity is calculated as w

40− H c i . The energy consumption and replenishment are constrained by Eqs. (9b) and (9c), where e(s i , O c ) denotes the proportion of deadhead energy consumption from the terminal to the charging station, and e(O c , s j ) denotes the energy consumption from the charging station to the arrival terminal. Noted that if a charging operation immediately happens after trip i,

41Let H min and H max be the pre-defined minimum and maximum electricity and H init be the initial SOC of a BEB at the beginning of the daily operations. To mitigate the range anxiety of the driver, the remaining electricity after trip i should be constrained as Eq. (10a) following the natural process. Also, to avoid a BEB to visit the charging station frequently, the minimum level of electricity after charging is constrained by Eq. (10b), indicating that the sum of H c i and w(i) is non-negative if and only if the charging operation happens; H c i = 0, otherwise.

42Finally, to ensure the integrity of the energy consumption of each bus when a daily operation starts or ends, the following constraints should be met. Specifically, Eq. (11a) indicates that each bus departs with battery electricity H init from the depot, and Eq. (11b) indicates that when the bus finishes its operation, the remaining SOC should be larger than the minimum value.

Timetable shifting constraints

43Based on the original timetable, the timetable shifting strategies adjust slightly departure times of the trips for better synchronization. The block shift Δ l of timetable T l 0 for line l is constrained by Eq. (12a), and the adjusted departure time should fall within the bounds defined by the lower and upper time shifts, formulated as Eq. (12b). According to Section 2.2, the actual departure time after adjustment is formulated as Eq. (13).

44In addition, the adjusted timetable should meet the headway constraints. The minimum headway is determined by the operator for safety consideration and the maximum headway is usually related to the service level. The headway between sequenced trips i and i +1 is constrained by Eq. (14), where h − i and h + i represent the minimum and maximum headways, respectively.

Capacity constraints

45The number of chargers is limited by the available space at the charging location (Abdelwahed et al., 2020). The number of buses charged at any timestep should not exceed the number of chargers at the charging station. As shown in Fig. 5, a it − b it indicates whether the bus is charging at timestep t. μ i (a it − b it ) = 1 denotes that a charging operation occurs for trip i at timestep t. Each bus can serve a maximum of one trip at any timestep, and a trip can only be served by one bus. Thus, the constraint of charging station capacity is formulated as Eq. (15), where κ denotes the number of chargers at the depot.

Fleet cost

46Fleet cost is dependent on the number of used BEBs. In general, it is related to the amortized cost, the depreciation cost, the cost of insurance and maintenance, etc. (Zhang et al., 2021a). In the BEB network, the number of buses corresponds to the number of trip chains in the fleet schedule. With the definition of the pull-out arc indicator x oi , the fleet cost associated with the number of buses can be calculated by

47where c b is the fixed cost of one BEB.

Charging cost

48The charging cost is dependent on the charging time, charging volume, and unit electricity price. As formulated above, the charging volume is represented as

49To calculate the charging cost, w it is introduced as the charging electricity at timestep t after trip i. If a charging operation happens after trip i, the proportion of charging electricity is formulated as

50where Δt denotes the unit time interval, t indicates the charging timestep, and H i,t− 1 denotes the electricity level at timestep t − 1. Because of the implement of TOU plans, c e t denotes the unit electricity price at timestep t. And the charging cost can be calculated as Eq. (17), where E denotes the battery capacity of a BEB.

Battery degradation cost

51The battery degradation cost is incurred by each cyclic discharging and charging process of the battery (Lam and Bauer, 2013). Let ∇ϑ = {(i, j)|i, j ∈ I} be the set of consecutively charging operations, which can be obtained from the charging schedule along the trip chain. Let ϑ ij be a consecutively charging operation indicator, where ϑ ij = 1 means two consecutively charging operations happen after trips i and j served by the same bus, and ϑ ij = 0 otherwise. According to Zhang et al. (2021), we show the discharging and charging of electricity between the consecutively charging operations in Fig. 6. If ϑ ij = 1, the SOC changes of one cyclic discharging and charging Fig. 6. Illustration of discharging and charging cycle. process are represented as

52where H c i and H c j denote the remaining SOC at the charging station before charging, H c i +w(i) and H c j +w(j) denote the SOC after charging, respectively. Let d(*) denote the charging or discharging degradation cost corresponding with the SOC changes, which is calculated by an empirical model (Lam and Bauer, 2013) developed to describe the aging of batteries over each charge and discharge cycle. We provide detailed calculations in the supplementary document. The total battery degradation cost is formulated as Eq. (18)

Peak power demand

53The peak power demand reflects the stress of the power grid, which is a prescribed measurement over time intervals during the billing period (Perumal et al., 2021). Let p t denote the unit power of the charging station at timestep t, represented as p t = ∑ i∈I w it E, ∀t ∈ T. Let α denote the length (in the unit of h) of a time interval for calculating the peak power demand; thus, a day (24 h) is divided into 24/α demand periods. The set of demand periods is denoted by Q = {1,2,...,24/α}. For a demand period indexed by q ∈ Q, t 1 q and t 2 q denote the start and end times, respectively. The average power demand θ q of q is calculated as Eq. (19a) and the peak power demand θ is defined as Eq. (19b).

54Taken together, the objective function includes costs related to the fleet, charging, battery degradation, and peak power demand.

55Because of the different units, σ is introduced as a positive weight factor for θ by converting the pressure of the power grid to the economic consequence. The BEB scheduling and charging planning problem can be formulated as an integrated optimization model as Eq. (20). In fact, σ is a critical parameter indicating how the pressure of the power grid is integrated into the model. In a relevant study with a similar objective function, He et. al (2020) set the value of σ fixed as 12.765 $/kW. However, since it is hard to calibrate the value for applications, we do not set a fixed value of σ but develop an efficient method to solve it in the next section. (2022). It should be pointed out that our model is an extension of Zhang et al. (2021) and the primary differences are that the full-flexible charging and timetable shifting strategies as well as the objective to reduce peak power demand are considered in our study. These features undoubtedly add up to model complexity. Given the high model complexity, an efficient solution method is needed to address a sizable BEB network.

Solution algorithm

56To solve the above-formulated problem, we design a two-stage solution method, which is commonly adopted in the literature (Carosi et al., 2019;Huang et al., 2021;. The objective function of the arc-based model is decomposed to separate the operational costs and the peak power demand. This is done by assuming that for transit companies, minimizing the operational costs is the primary goal and reducing the peak power demand is the secondary goal.Section 4.1 describes the solution method of the first stage, minimizing the total operational costs based on the column generation (CG) technique. Section 4.2 describes the timetable shifting strategies for minimizing the peak power demand.

First-stage method based on CG

57The problem of BEB scheduling and charging planning in the first stage is NP-hard as the number of variables and constraints in the formulation increases exponentially with the network size. We reconstruct a path-based formulation and use the CG technique to solve the first-stage problem. The CG technique has been demonstrated as effective in solving large-scale optimization problems (Steiner and Irnich, 2018;Xu and Meng, 2019;Liu et al., 2021). The CG starts with a restricted master problem (RMP) with a subset of variables and associated columns. After optimally solving the RMP, the dual solutions are used to find the non-basic variables with the minimum reduced costs implicitly, referred to as a pricing problem, which can be solved by a labeling method (Gao et al., 2022). If the reduced minimum cost is negative, the variable and column corresponding to the reduced minimum cost are added to the RMP, and the next iteration is triggered; otherwise, the optimal solution for this stage is claimed to be found in the current iteration. We use a larger timestep in the first-stage problem, while a smaller one in the second-stage problem ensures computational efficiency without lossing solution fidelity. The reasons are as follows. First, the size of the timestep affects the number of labels in the pricing problem, and as the step size increases, the labels will grow exponentially (Xu and Meng, 2019;Lin et al., 2020). Second, the purpose of the first stage is to obtain the fleet schedule and the charging volume, for which the step size has less effect on the objective value, as demonstrated in Section 5.1.

Path-based formulation

58We define a binary variable λ r , which equals 1 if path r is selected, and 0 otherwise. The path-based model can be formulated as

59where C and C r denote the total operational costs of path r, respectively; incidence variable K r i equals 1 if trip i is covered by path r, and 0 otherwise; incidence variable U r t equals 1 if the BEB is charged at timestep t in path r, and 0 otherwise.

60where path r is associated with one BEB; FC r denotes the cost of the BEB; CC r denotes the charging cost for the BEB; DC r denotes the battery degradation cost, and ∇ϑ r denotes the set of consecutively charging operations along path r.

61For notational convenience, δ = {δ i |i ∈ I} and β = {β t |t ∈ T} are used as the dual variables associated with Eqs. (21b) and (21c). By relaxing Eq. (21d), we can use the CG technique to tackle the RMP and pricing problem iteratively. The CG technique starts with an initial feasible solution R to solve the RMP and determine the dual variables. Next, we construct and minimize the reduced cost Θ(λ r ) to solve the pricing problem. If Θ(λ r ) ≥ 0, no column can be added to R and the RMP has been solved with a proven optimal solution in this stage; otherwise, variable λ r obtained from the pricing problem is added to R for future iterations. The reduced cost function of variables λ r is expressed as

62As the CG technique starts with an initial solution, we introduce a simple heuristic method to construct a feasible path set, which is usually adopted by operators (Abdelwahed et al., 2020;Liu et al., 2021). In the beginning, the departure time τ d i is fixed to the original timetable T l 0 for all i ∈ I l ,l ∈ L, and the initial SOC of a BEB is equal to H init when departing from depot O. At the outset, a BEB serves the trip with the earliest departure time. After this trip is completed, we check if the BEB can still serve another trip satisfying the minimal battery level constraint. If so, we choose the trip with the earliest departure time from the remaining trip set; otherwise, we choose available timesteps for charging the bus until the battery electricity reaches to H init . If no trip can be served anymore, we direct the current trip to the depot, and the constructed trip chain constitutes an initial feasible RMP solution. This heuristic method is repeated until all trips in the trip set I are served. As a consequence, a feasible solution is generated.

Pricing problem

63It can be seen from Eq. (22) that checking Θ(λ r ) ≤ 0 corresponds to the problem of finding the minimum-cost paths in the network G (V, A). The pricing problem aims to find a minimum-cost path from source node O o to destination node O d subject to time and electricity constraints. Essentially, the constraints of the pricing problem are similar to the original arc-based model. The pricing problem is to find a feasible trip chain with a negative reduced cost, while the original arc-based model is to find the optimal fleet schedules composed of several trip chains. The pricing problem can be formulated as

64where Eq. (23a) minimizes the reduced cost of path r; the pull-in and pull-out from the depot are constrained by Eqs. (23b) and (23c).

65The pricing problem is an extension of the resource-constrained shortest path problem (Li, 2014) by allowing replenishment along a path, for which the label correcting method is suitable for solving the problem. To implement the labeling method, each node i ∈ I is assumed to be associated with multiple labels representing partial paths. The label extension at each node is due to the different charging strategies, including whether a charging operation happens after this node, the start charging times, and the charging duration. According to Liao (2016Liao ( , 2019, we initially construct a three-dimensional matrix of 2 × |T| × |T| units for each node, where each unit represents the potential label of this node. G is reconstructed as a space-time network with acyclic paths. Let i→j be a link of G(i, j ∈ I), and we code any label k at node i as l k

66where c k and w k are the cost and current SOC of the corresponding path, s k denotes the charging state with a value of 0 or 1, t → k and t k are the start charging time and charging duration, respectively. Also, p k , sp k , and cs k are used to record the current path, the SOC change at each node of the path, and the corresponding charging strategies of this partial path, respectively. All these labels at node i are grouped into a set denoted by L(i). Taking arc (i, j) for example to illustrate the label correcting process, suppose we have label k at node i represented by l k

67at node j is generated if the feasibility and dominance checks are performed for link i→j, where c u = c k + c j + c ij , w u = w k + H ij + w(i), c ij and H ij denote the arc cost and energy consumption respectively, s u = 1 or 0 is determined by the electricity feasibility check, the values of t → u and t u are determined by the time feasibility check. The dominance check is to discard the labels at node j that are dominated by any other labels in terms of the cost and SOC.

68The CG-based method is typically incurred with the tailing-off effect, indicating that the method reaches a plateau and becomes slow to approach the optimum (Wang et al., 2018). To overcome this problem, we use the following stabilization technique (Addis et al., 2012;L. Zhang et al., 2021) to speed up the convergence. Let Φ = {δ, β} denote the vector of a dual solution of the RMP and Φ represent the update of Φ. Initially, we set Φ as vector 0, and a modified dual vector Φ can be computed by Φ = ε 1 • Φ +(1 − ε 1 )Φ in the iterative process, where ε 1 ∈ [0, 1] is a weighting parameter. Given ε 1 , the CG procedure is executed until no columns can be added to the RMP or the objective function reduction of RMP is no greater than a priori defined threshold ε 2 after a pre-defined number of iterations. Then, we update Φ as Φ and increase ε 1 gradually for a new iteration of the above process. The CG procedure terminates when ε 1 = 1 and no columns can be added.

Second-stage method of timetable shifting

69Timetable shifting affects the charging schedule but has little impact on the trip sequences served by the buses. As described in Section 2.2, two timetable shifting strategies are applied. The second stage aims to minimize the peak power demand while controlling the cost increase of the first stage and modifications to the timetable. The outputs of this stage include the adjusted departure times and the start and end charging times. We formulate the model of this stage as

70Eqs. (4)-(6a), (12)-(15). Different time shifts may induce the same peak power demand, and modifications to the timetable are also presented in the objective function. The first term of Eq. (24) denotes the weighted peak power demand and the second term denotes the weighted value of time shifts, where ω 1 is a weight factor. Eq. (25) indicates that the total operational costs increase influenced by the shifting strategy should be within a certain range, where ω 2 is the controlling factor. In addition, it should be noted that the fleet and battery degradation costs do not change as the fleet schedule and the SOC changes are determined in the first stage. Therefore,FC and DC in Eq. (25) can be neglected. In other words, the timetable shifting strategy simply changes the charging cost CC.

71In this stage, a smaller timestep size (e.g., 1 min) is adopted because a larger timestep makes no sense for the timetable modifications. Nevertheless, a small timestep size significantly increases the solution space, and it is difficult to solve directly by a solver (e.g., CPLEX, GUROBI). We design an iterative timetable shifting algorithm involving two shifting strategies, in which block shifting is first applied for all trips, followed by the differentiated shifting implemented many times for the subset trips with minor modifications. In other words, once the set of shifts in the blocking shifting is determined, the differentiated shifting strategy is implemented several times until the peak power demand does not decrease in an acceptable time; then the next iteration of block shifting begins. The timetable shifting algorithm involves a restricted model of Eq. (24), where variable Δ l is pre-determined and variable τ d i for the subset trips are fixed. With this variable fixed strategy, the restricted model could be directly solved by a solver.

72As for the selection of the subset of timetabled trips, based on Fonseca et al. (2018), we designed a random selection strategy, denoted as Z(u), where u denotes the size of the selected trip set. We assume that any trip i ∈ I has an equal probability of being selected. We set the selected size u as 0.3|I|. In each iteration of the second stage, the selected trips are denoted as subset I ′ . For each i ∈ I ′ , the differentiated shifts Δ i are set as 0, i.e., the departure time τ d i is fixed as d i + Δ l . For unselected trip i ∈ I\I ′ , Δ i is the decision variable and need to be solved in the second stage. Note that the selecting strategy are applied multiple times until the objective value of the second stage remains the same comparing with the last selection. Obviously, u is related to the solution precision of the second stage and this value is associated with the solution efficiency.

73The pseudo-code of the timetable shifting algorithm is described as follows. The input consists of a set of trips I, the original timetable T 0 , fleet schedule R, and charging strategy C 1 R with specified charging durations, two stopping criteria (stopCriterion1 and stopCriterion2), and a selection strategy Z(u). Both the two stopping criteria are based on the gaps between the solutions obtained in two adjacent iterations. Specifically, given Φ 1 and Φ 2 as the solution values of two adjacent iterations and gap threshold ε, if (Φ 2 − Φ 1 )/Φ 1 ≤ ε, the iterative process ends and otherwise continues. The algorithm starts with solving Eq. (24) without timetable modifications; thus, departure time τ d i is fixed to T 0 for all i ∈ I. An initial solution S 0 is generated composed of the initial timetable T 0 and charging strategy C 2 R including all start charging times. The iterative procedure is described in Lines 3-10, which runs until the stopCriterion2 is met.

74The iteration of block shifting starts in Line 4 by random selecting Δ l satisfying Eq. (12a) and a new timetable T η 1 is generated,

75where η 1 records the number of iterations. The iteration of differentiated shifting starts in Line 6 by applying trip selection strategy Z(u)

76. A new solution is calculated in Line 7 by solving Eq. (24), with τ d i fixed to T η 1 for all i ∈ I ′ . The obtained solution is at least as good as the current best solution due to the stopping criteria. S * is constantly updated as the best-found solution and returned once the stopCriterion2 is met.

77Iterative Timetable Shifting Algorithm Input: I, T 0 , R, C 1 R , stopCriterion1, stopCriterion2, Z Initialization: 1:

78solve Eq. (24) by a solver with Δ l = 0 for all l ∈ L, τ d i fixed to T 0 for all i ∈ I 2:

79While stopCriterion1 not satisfied do 4:

80T η 1 ← random selected Δ l for all ∀l ∈ L satisfying Eq. (12a) 5:

81While stopCriterion2 not satisfied do 6: I ′ ← selecting trips with strategy Z 7:

82(24) by a solver with τ d i fixed to T η 1 for all i ∈ I ′ 8: end while 9:

83The pseudo-code of the two-stage solution method is outlined below, and the flowchart is depicted in Fig. 7. First, the method starts by obtaining the initial solution with simple heuristic method. Subsequently, the two stages including CG technique and timetable shifting performs until the stopCriterion0 is met. The stopCriterion0 of the whole algorithm is set as (C ′ − C)/C < ε, where C ′ and C are the total operational costs of two adjacent iterations in the CG procedure, and ε is the relative gap threshold.

84Remark 2. Note that the solutions obtained by the CG technique may not be optimal due to the lack of an optimality procedure (e.g., branch and bound) (Xu and Meng, 2019). However, this is acceptable because the result of the first stage is further optimized in the second stage through an iterative process. As the possible combinations of time shifts constitute a sizeable set, it is difficult to solve Eq. Obtain F1 = {R1, C R1 } and C1 using the CG procedure with input F0, presented in Section 4.1.1;

4:

85While stopCriterion0 not satisfied do 5:

86and θ η 2 using the iterative method of timetable shifting, presented in Section 4.2;

876: η 2 = η 2 + 1;

7:

88Obtain F η 2 = {R η 2 , C R η2 } and C η 2 using the CG procedure with inputs R0, C R η2 − 1 and C 2 R η2 , presented in Section 4.1.1; 8: end while return F η 2 , C η 2 Remark 3. We present the complexity analyses for the proposed arc-based model and the two-stage solution method. In general, the complexity of the models is closely related to the number of independent variables, such as the number of service trips, lines, and power demand periods as well as the number of timesteps. The arc based-model is a MIP optimization problem, which is a NP-hard problem per se. The order of magnitude is dictated by variables a, b, θ q and x whose sizes are respectively |I| • |T|, |Q|, and |I| 2 , and by constraints (4), (5b), (7), (9a), (9c), and (19a) whose sizes are |I| 2 , |I| • |T| and |Q|. To optimize the operational costs and reduce the peak power demand, we reduce the computational complexity by reformulating the arc-based model into two-stage model. The first stage model involves the column generation technique, resulting in a runtime complexity of O(

89by the recursive formulation in each iteration; the second stage model with the timetable shifting strategy has a heavily reduced scale of variables, which is an integral programming problem and can be easily solved by the heuristic rules and an optimization solver.

Numerical experiments

90In this section, small instances are first generated to evaluate the performance of the proposed two-stage solution method. To further assess the effectiveness, a real-life case study with a similar setting in Zhang et al. (2021) is conducted. We explore the impact of flexible charging and timetable shifting strategies on optimal solutions to highlight their roles in reducing the total operational costs and moderating peak power demand. All computations are performed on a PC with i7-9850U @ 2.60 GHz CPU and 8 GB RAM. The programming language is Python.

Small instances

91We generate a set of illustrative small-sized instances in a planning time horizon from 6:00 to 12:00 according to Zhou et al (2022). These instances have different headways ranging from 5 to 20 min to assess the efficiency of the proposed solution method as shown in Table 3. We set the number of chargers to 1 for the convince of studying the utilization rate in such small cases. Supposed that the energy consumption is 1.35 kWh/km (Gao et al., 2017) per round trip of 20 km in length. A BEB has a battery capacity of 120 kWh, with which a full charge can empower around three trips. The timestep is set as 10 min, meaning that the start charging time and charging duration should be an integer multiple of the timestep. Considering the battery discharges when not in use after a full charge overnight, each BEB is assumed to have a SOC of 0.95 when it starts daily operations. The minimum charging duration is 10 min (Duan et al., 2021); the minimum headway between any two timetabled trips is 5 min. We use the time-dependent electricity prices (Wang et al., 2021) shown in Table 4. For safety concerns, the SOC of the BEB battery should be within the range [H min = 0.2,H max = 0.95]. The fixed cost of employing one BEB is 16.5 $/day, a linear charging profile is adopted for slowing charging at night, and the parameters for the battery degradation are adopted from Zhang et al. (2021). The peak power demand is in two or three order of magnitude while the sum of time shifts is in one order of magnitude. Thus, we set ω 1 to 0.001, with the aim of optimizing the peak power demand while choosing the solution with the smallest time shifts. As shown in Fig. 4, the nonlinear charging profile in CV phase is approximated by a piecewise linear function under fast charging for daily operations. ω 2 is the controlling factor, and set as 1.05.

92Thus, we adopt the charging profile of fast charging, which is expressed as Eq. (26)

93where χ is the charging duration (h) and f(χ) denotes the charging SOC.

94We implement the simple heuristic method (Section 4.1.1) as the first baseline to compare the optimal schedule obtained by the two-stage method. According to the battery level, the simple heuristic method always chooses to replenish energy or serve the trip with the earliest departure time. To further validate the effectiveness of our model and method, the model suggested by Zhang et al. (2021) is also solved by the CG technique for comparison as the second baseline. In their model, the charging strategy is semi-flexible. Once a bus visits the charging station, it will be charged to a pre-given electricity level while optimizing the sequence of charging operations at the depot.

95For the sake of convenience, we denote these three methods respectively as P1 (simple heuristic method and fixed charging strategy), P2 (CG method with semi-flexible charging strategy), and P3 (our model and two-stage method). For the charging in P1, the start charging time is not flexible and the batteries are charged to a specified electricity level; for P2, the start charging time is flexible and the charging duration is fixed given the remaining electricity volume; and for P3, both the start charging time and charging duration (related to electricity volume) are flexible. The comparations of the results are presented in Fig. 8. The figure shows that the total operational costs and the cost components including fleet, charging, and battery degradation costs increase as the number of trips increases, as expected. The average utilization rate of BEBs fluctuates with the number of trips, where the average utilization rate is derived by the service time of transporting passengers divided by the total operational time. In addition, this figure shows the result of the peak power demand, which is determined by the use of the single charger with an upper bound value of 96 kW.

96Compared with the results of P1 and P2, P3 obtains additional total operational costs savings by 17-21% and 7-14% for the six Table 4 Price of the electricity of the day.

97Electricity price ($/kWh) Time of the day 0.049 22 pm -7 am 0.121 7 pm -9 am, 11 am -13 pm, 16 pm -18 pm, 20 pm -22 pm 0.172 18 pm -20 pm 0.173 9 am − 11 am, 13 pm -16 pm instances ( Fig. 8(a)), respectively, indicating that the proposed model and solution method can produce better fleet and charging schedules. Compared to the fleet cost obtained by P1 and P2, the costs of P3 are reduced by approximately 31% and 16% respectively ( Fig. 8(b)), implying a more compact fleet schedule. This result is corroborated by a 45% and 20% increase in the utilization rate of BEBs (Fig. 8(c)), respectively. Nevertheless, the charging cost associated with P3 is higher than the results of P1 and P2 (Fig. 8(d)). The results can be explained by the reduction in fleet size but increases in the number of service trips per BEB and electricity consumption for the operations. As for battery degradation, we know that larger SOC variations cause faster battery degradations (L. Zhang et al., 2021;Zhou et al., 2022). As expected, the battery degradation cost from P3 is less than those of P1 and P2 (Fig. 8(e)) because the fullflexible charging strategy in P3 avoids larger SOC variations. Similar to the charging cost, we notice that the battery degradation costs are approximately the same for IB5 and IB6 for the three methods because of the setting of only one charger. Finally, in Fig. 8(f), we see that P1 has the highest peak power demands in the six instances, whereas the peak power demands of P3 are not always lower than those of P2. To demonstrate that the number of used chargers impacts on peak power demand, we further investigate a large case study in Section 5.2.

98To evaluate the effects of the length of the timestep, we test the computation time and the efficiency using the six instances. The results are presented in Table 5. Columns 1 and 2 present the problem instance; columns 3 and 4 show the computational results of the two-stage solution method, including the total operational costs and the peak power demand; columns 5 and 6 are the running times to obtain the optimal solution (T_CPU Time) and spending on solving the pricing problem (PP_CPU Time), respectively. With different timesteps for the same instance, the optimal costs appear approximately stable, indicating that the optimal costs are to a small extent influenced by timesteps in these cases. According to the CPU times, we observe that the computation efficiency is largely and negatively affected by the number of trips and positively affected by the timesteps. In other words, longer computation times are associated with more trips and shorter timesteps. In addition, it is found that the size of the timestep also has a significant impact on the peak power demand in the instances. When the timestep is larger, it means more bias in the peak power demand. Summarily, when the timestep is 10, there is no significant difference in the accuracy from a smaller timestep, but the computation time is significantly less.

99To balance computation efficiency and accuracy, the timestep of 10 min is adopted in the large case study below.

Real BEB network

100In this subsection, we further demonstrate the effectiveness of the proposed model and solution method with a real-world BEB network from Zhang et al. (2021), of which the original timetable has 210 trips as listed in the supplementary document (Table S1). The network has one depot, two terminals, and six lines (numbered from 1 to 6), as depicted in Fig. 9. The lengths of the six lines are 10 km, 12.5 km, 30 km, 17.5 km, 20 km, and 22.5 km, respectively. Lines 1, 2, 4, 5 and 6 are unidirectional, while line 3 is circular. We consider the round trip travel times (terminal to terminal) are 69 min, 86 min, 103 min, 120 min, 138 min, and 155 min, respectively. That is to say, for lines 1, 2, 4, 5 and 6, the travel time of a trip doubles the one-way travel time; for line 3, the travel time of a trip is equal to the one-way travel time. The BEBs are medium-duty buses equipped with 162 kWh batteries and the planning time horizon is set for the whole day including daily operations, electricity replenishment, and overnight charging. The number of fast chargers for electricity replenishment is 15, and a sufficient number of slow chargers with a charging power of 50 kW is provided for overnight charging. Other parameters are consistent with those for the small instances. Fig. 9. Geographical distribution of selected BEB lines.

101The optimal solution can be obtained by the two-stage solution method within 5 h, 2.5 h for each stage. As this is a deterministic and planning problem that does not require real-time responses, we consider it feasible. The optimized fleet schedule and charging operations are shown in Table 6, which includes 45 BEBs and 104 charging operations. The charging details including the start charging time, end charging time and charging volume, and the optimized timetable is shown in the supplementary document (Table S2). The total operational costs are $2207.09, including a fleet cost of $726, a charging cost of $979.28, and a battery degradation cost of $501.81. The optimized peak power demand is 855.36 kW, and the utilization rate is 0.571. The block shifts are [-5, − 5, 1, 5, 2, 1] in minutes for lines 1 to 6, where a negative and a positive number represent moving forward and backward for the whole line, respectively. Also, some differentiated shifts in the timetable are made for 17 trips, as shown in the supplementary document (Table S3).

102We compare the results of P3 with those obtained from P1 and P2, as reported in Fig. 10. Compared to P1, P3 has a 22% reduction in the total operational costs, 20% reduction in fleet cost, 1% savings in charging cost, and 45% savings in the battery degradation cost. Thus, it can be concluded that our model and solution method have significant advantages over P1, which is usually adopted by the BEB operators. Compared to P2, it is worth noting that P3 has a 7.1% of total operationals cost savings but a 17% increase in the battery degradation cost. The result indicates that the full-flexible charging strategy involves less total operational costs, while it accelerates the battery aging process and results in higher costs for battery capacity fading. Further, we can see in Fig. 11 that the peak power demand is reduced by 17% and the used number of chargers is reduced by 2. This makes sense because more buses being charged at the Table 6 Fleet schedule and the charging operations of the six lines. Fig. 13. Comparison of the peak power demand and number of used chargers for the three charging strategies. same time create a higher peak power demand; in other words, reducing the peak power demand is associated with decreasing the number of used chargers. These results in Figs. 10 and 11 confirm that the integrated optimization model and the two-stage solution method together lead to a more efficient fleet and charging schedules, and also have a significant advantage in further reducing the peak power demand and decreasing the number of chargers.

103The following analysis further illustrates the advantages of the full-flexible charging strategy. Fig. 12 shows the comparison derived from the proposed two-stage solution method with the three charging strategies. As expected, the full-flexible charging strategy results in the lowest total operational costs, the lowest fleet size, and the highest utilization rate of BEBs. A flexible charging strategy increases the charging opportunity, allows for more trips to be performed, and requires fewer BEBs to finish the trip service, thereby resulting in lower total operational costs and an increased utilization rate. In addition, Fig. 13 shows that the flexible charging strategy uses fewer chargers as well as a smaller peak power demand. The disadvantage is that the full-flexible charging strategy results in a greater battery degradation cost compared to the semi-flexible charging strategy because the higher SOC variation or average SOC causes faster battery capacity degradation .

104For illustration purposes, the SOC curves of the three charging strategies of line 2 are presented in Fig. 14, where we set the initial and maximum battery electricity as 95%. Fig. 14(a) shows that the BEBs visit the charging station if the remaining electricity level is too low for the next trip. Obviously, the fixed charging strategy leads to high SOC between 30 and 95% and hence more battery degradations compared with the other two charging strategies. Thus, it is an inferior charging strategy because it does not only occupy more vehicles but also has a serious impact on battery life. Fig. 14(b) and (c) show the SOC curves for the semi-flexible charging strategy and the full-flexible charging strategy, respectively. They both take into account the number of available chargers, TOU plans, the current electricity level, and the power load on the grid. Comparing these two figures, we can see that the semi-flexible charging strategy maintains high SOCs between 70 and 95% in most cases, while the full-flexible charging strategy keeps the SOC between 20 and 65%. Based on the finding that a higher average SOC level results in a faster battery capacity degradation , the full-flexible charging strategy with an average of 42.5% SOC seems to outperform the semi-flexible counterpart with 82.5% average SOC. However, it is not true in terms of the higher battery degradation cost associated with the full-flexible charging strategy. It is because, with the full-flexible charging strategy, the battery SOC varies considerably, including an initial discharge approximately from 95% to 30% or a final charging from 30% to 100% at the end of the operation as seen in Fig. 14(c). Finally, it can also be seen that because of the limited resources (e.g., chargers and power grid) or the search for better charging timing due to the TOU plans, BEBs in the full-flexible charging strategy are enabled to wait for a short time before starting to charge and choose an appropriate charging duration. Overall, the full-flexible charging strategy leads to the more efficient fleet and charging schedules.

105To examine the effects of the timetable shifting strategy, we set up a scenario without the consideration of timetable shifting for comparison. As seen in Table 7, regardless of the solution method, the timetable shifting strategy leads to a 17-26% decrease in peak power demand and a reduction in the number of chargers, although the total operational costs increase slightly by 0.3-0.7%. The increase in the total operational costs is mainly due to the increase in charging costs as a result of the TOU plans, while the charging volumes remain the same. To exclude the influence of the TOU plans on the total operational costs, we set a fixed electricity price of 0.15$/kWh in the test. It is found that the total operational costs remain unchanged after applying the timetable shifting strategy but the peak power demand decreased considerably by 26% compared with not applying the strategy. Using the full-flexible charging strategy and keeping other setups the same, Fig. 15 shows the daily power demand for central depot charging before and after applying the strategy, demonstrating that the timetable shifting strategy has a significant impact on reducing the grid load.

106Through the above numerical analyses, we conclude that the proposed model and two-stage solution method perform well in generating the fleet and charging schedules. The results show that the full-flexible charging and timetable shifting strategies significantly influence the total operational costs and the peak power demand. For the operators of BEB networks, the design of the timetable, the fleet schedule, and the charging strategy are not only crucial for reductions in the fleet size and number of chargers but also important for the relief of the power grid pressure. We recommend that the operators should apply the flexible charging strategy and adopt the timetable shifting strategies including block shifting and differentiated shifting strategies. In this way, the total operational costs can be saved considerably and the power grid pressure can be relieved, associated with a decrease in number of used chargers.

Conclusions and future work

107This paper investigates the optimal fleet and charging schedules with the consideration of timetable shifting, battery degradation, nonlinear charging profile, and TOU plans. We propose an integrated optimization model with high complexity and reformulate the arc-based model into a two-stage model. We further develop a two-stage solution method involving the CG technique and iterative adjustments of timetable shifts to find optimal solutions. Numerical experiments considering small instances and a real-world case are performed to demonstrate the efficiency and effectiveness of the model and solution method. The results show that the proposed model and method can achieve significant reductions in the total operational costs and peak power demand compared to two baselines. To highlight the influence of the full-flexible charging and timetable shifting strategies, sensitivity analyses are conducted. The results show that the strategies contribute to the peak power demand reduction and the increased utilization rate of BEBs. These results confirm the outperformances of the proposed fleet schedule and charging planning model that incorporates the two useful strategies.

108In future work, we would make more efforts to improve our work. First, we will further investigate the conjecture that using a larger capacity battery could reduce the battery degradation cost caused by the full-flexible charging strategy. Second, the influence of timetable shifting on passenger demand and preferences (Liao et al., 2013(Liao et al., , 2020 should be considered because timetable shifts may lead to a change in waiting time for passengers and further decrease their travel accessibility Liao, 2021, 2022). Third, some M. Duan et al. realistic conditions, such as the more bus types, variable charging power, wireless charging strategy, and multiple depots in the BEB network should be considerd. Fourth, the coefficients weighing the importance of different components in the objective functions should be calibrated before real-world applications.

Declaration of Competing Interest

109The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Data availability

110No data was used for the research described in the article. Notes: C = total operational costs; CC = charging cost; θ = peak power demand; ↑ = increase; ↓ = decrease. Fig. 15. Comparison of the power demand with and without the timetable shifting strategy.

참고문헌 60건

  1. Efficient Timetabling and Vehicle Scheduling for Public Transport Lecture notes in economics and mathematical systems · Springer Science+Business Media · 2001 10.1007/978-3-642-56423-9_3
  2. An integrated approach for timetabling and vehicle scheduling problems to analyze the trade-off between level of service and operating costs of transit networks Transportation Research Part B Methodological · Elsevier BV · 2014 10.1016/j.trb.2014.08.010
  3. Incorporating space–time constraints and activity-travel time profiles in a multi-state supernetwork approach to individual activity-travel scheduling Transportation Research Part B Methodological · Elsevier BV · 2013 10.1016/j.trb.2013.05.002
  4. Exactly solving a two-level location problem with modular node capacities Networks · Wiley · 2011 10.1002/net.20486
  5. A review on lithium-ion battery ageing mechanisms and estimations for automotive applications Journal of Power Sources · Elsevier BV · 2013 10.1016/j.jpowsour.2013.05.040
  6. Integrated timetabling and vehicle scheduling with balanced departure times OR Spectrum · Springer Science+Business Media · 2015 10.1007/s00291-015-0398-7
  7. Rediscovering Residential Demand Charges The Electricity Journal · Elsevier BV · 2014 10.1016/j.tej.2014.07.003
  8. Practical Capacity Fading Model for Li-Ion Battery Cells in Electric Vehicles IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2013 10.1109/tpel.2012.2235083
  9. Transformer and home energy management systems to lessen electrical vehicle impact on the grid IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2012 10.1049/iet-gtd.2012.0286
  10. Integration of Electric Vehicles in the Electric Power System Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2010 10.1109/jproc.2010.2066250
  11. Transit Bus Scheduling with Limited Energy Transportation Science · Institute for Operations Research and the Management Sciences · 2013 10.1287/trsc.2013.0468
  12. Optimization of incentive polices for plug-in electric vehicles Transportation Research Part B Methodological · Elsevier BV · 2016 10.1016/j.trb.2015.12.011
  13. 50th Anniversary Invited Article—Goods Distribution with Electric Vehicles: Review and Research Perspectives Transportation Science · Institute for Operations Research and the Management Sciences · 2016 10.1287/trsc.2015.0646
  14. Multi-objective re-synchronizing of bus timetable: Model, complexity and solution Transportation Research Part C Emerging Technologies · Elsevier BV · 2016 10.1016/j.trc.2016.02.007
  15. Schedule-Based Integrated Intercity Bus Line Planning via Branch-and-Cut Transportation Science · Institute for Operations Research and the Management Sciences · 2018 10.1287/trsc.2017.0763
  16. Modeling duration choice in space–time multi-state supernetworks for individual activity-travel scheduling Transportation Research Part C Emerging Technologies · Elsevier BV · 2016 10.1016/j.trc.2016.05.011
  17. Impacts of plug-in electric vehicles in a balancing area Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.09.063
  18. Numerical analysis of electric bus fast charging strategies for demand charge reduction Transportation Research Part A Policy and Practice · Elsevier BV · 2016 10.1016/j.tra.2016.09.014
  19. Battery capacity and recharging needs for electric buses in city transit service Energy · Elsevier BV · 2017 10.1016/j.energy.2017.01.101
  20. Optimal recharging scheduling for urban electric buses: A case study in Davis Transportation Research Part E Logistics and Transportation Review · Elsevier BV · 2017 10.1016/j.tre.2017.01.001
  21. The electric vehicle routing problem with nonlinear charging function Transportation Research Part B Methodological · Elsevier BV · 2017 10.1016/j.trb.2017.02.004
  22. Joint travel problem in space–time multi-state supernetworks Transportation · Springer Science+Business Media · 2017 10.1007/s11116-017-9835-6
  23. A matheuristic for transfer synchronization through integrated timetabling and vehicle scheduling Transportation Research Part B Methodological · Elsevier BV · 2018 10.1016/j.trb.2018.01.012
  24. Enhancing electric vehicle sustainability through battery life optimal charging Transportation Research Part B Methodological · Elsevier BV · 2018 10.1016/j.trb.2018.03.016
  25. Column Generation for the Integrated Berth Allocation, Quay Crane Assignment, and Yard Assignment Problem Transportation Science · Institute for Operations Research and the Management Sciences · 2018 10.1287/trsc.2018.0822
  26. Charge scheduling for electric freight vehicles Transportation Research Part B Methodological · Elsevier BV · 2018 10.1016/j.trb.2018.07.010
  27. A matheuristic for integrated timetabling and vehicle scheduling Transportation Research Part B Methodological · Elsevier BV · 2019 10.1016/j.trb.2019.07.004
  28. Travel preferences of multimodal transport systems in emerging markets: The case of Beijing Transportation Research Part A Policy and Practice · Elsevier BV · 2020 10.1016/j.tra.2020.05.026
  29. Fast-charging station deployment for battery electric bus systems considering electricity demand charges Sustainable Cities and Society · Elsevier BV · 2019 10.1016/j.scs.2019.101530
  30. Mixed-fleet single-terminal bus scheduling problem: Modelling, solution scheme and potential applications Omega · Elsevier BV · 2019 10.1016/j.omega.2019.05.006
  31. Robust scheduling strategies of electric buses under stochastic traffic conditions Transportation Research Part C Emerging Technologies · Elsevier BV · 2019 10.1016/j.trc.2019.05.032
  32. Coordinated charging and discharging strategies for plug‐in electric bus fast charging station with energy storage system IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2018 10.1049/iet-gtd.2017.0636
  33. Fleet sizing for one-way electric carsharing services considering dynamic vehicle relocation and nonlinear charging profile Transportation Research Part B Methodological · Elsevier BV · 2019 10.1016/j.trb.2019.07.016
  34. Multistage large-scale charging station planning for electric buses considering transportation network and power grid Transportation Research Part C Emerging Technologies · Elsevier BV · 2019 10.1016/j.trc.2019.08.009
  35. State of charge-dependent aging mechanisms in graphite/Li(NiCoAl)O2 cells: Capacity loss modeling and remaining useful life prediction Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.113818
  36. Optimization of electric vehicle scheduling with multiple vehicle types in public transport Sustainable Cities and Society · Elsevier BV · 2019 10.1016/j.scs.2019.101862
  37. Integrated Approach to Vehicle Scheduling and Bus Timetabling for an Electric Bus Line Journal of Transportation Engineering Part A Systems · American Society of Civil Engineers · 2019 10.1061/jtepbs.0000306
  38. Battery electric bus infrastructure planning under demand uncertainty Transportation Research Part C Emerging Technologies · Elsevier BV · 2020 10.1016/j.trc.2020.01.009
  39. Evaluating and Optimizing Opportunity Fast-Charging Schedules in Transit Battery Electric Bus Networks Transportation Science · Institute for Operations Research and the Management Sciences · 2020 10.1287/trsc.2020.0982
  40. A Branch-and-Price-and-Cut Algorithm for the Integrated Scheduling and Rostering Problem of Bus Drivers Journal of Advanced Transportation · Hindawi Publishing Corporation · 2020 10.1155/2020/3153201
  41. Battery-electric transit vehicle scheduling with optimal number of stationary chargers Transportation Research Part C Emerging Technologies · Elsevier BV · 2020 10.1016/j.trc.2020.02.009
  42. Optimal charging scheduling and management for a fast-charging battery electric bus system Transportation Research Part E Logistics and Transportation Review · Elsevier BV · 2020 10.1016/j.tre.2020.102056
  43. Pricing-aware Real-time Charging Scheduling and Charging Station Expansion for Large-scale Electric Buses ACM Transactions on Intelligent Systems and Technology · Association for Computing Machinery · 2020 10.1145/3428080
  44. Location and capacity decisions for electric bus charging stations considering waiting times Transportation Research Part D Transport and Environment · Elsevier BV · 2020 10.1016/j.trd.2020.102645
  45. Mixed bus fleet location-routing-scheduling under range uncertainty Transportation Research Part B Methodological · Elsevier BV · 2021 10.1016/j.trb.2021.02.005
  46. An integrated model of energy-efficient timetabling of the urban rail transit system with multiple interconnected lines Transportation Research Part C Emerging Technologies · Elsevier BV · 2021 10.1016/j.trc.2021.103171
  47. Reforming mixed operation schedule for electric buses and traditional fuel buses by an optimal framework IET Intelligent Transport Systems · Institution of Engineering and Technology · 2021 10.1049/itr2.12098
  48. Optimal charging strategy for large-scale electric buses considering resource constraints Transportation Research Part D Transport and Environment · Elsevier BV · 2021 10.1016/j.trd.2021.103009
  49. Optimal electric bus fleet scheduling considering battery degradation and non-linear charging profile Transportation Research Part E Logistics and Transportation Review · Elsevier BV · 2021 10.1016/j.tre.2021.102445
  50. Electric bus planning &amp; scheduling: A review of related problems and methodologies European Journal of Operational Research · Elsevier BV · 2021 10.1016/j.ejor.2021.10.058
  51. Optimal operating strategy of short turning lines for the battery electric bus system Communications in Transportation Research · Elsevier BV · 2021 10.1016/j.commtr.2021.100023
  52. Space–time prism in multimodal supernetwork - Part 1: Methodology Communications in Transportation Research · Elsevier BV · 2021 10.1016/j.commtr.2021.100016
  53. Weekly rolling stock planning in Chinese high-speed rail networks Transportation Research Part B Methodological · Elsevier BV · 2022 10.1016/j.trb.2022.02.005
  54. Space–time prisms in multimodal supernetwork - Part 2: Application for analyses of accessibility and equality Communications in Transportation Research · Elsevier BV · 2022 10.1016/j.commtr.2022.100063
  55. Electric Bus Charging Scheduling for a Single Public Transport Route Considering Nonlinear Charging Profile and Battery Degradation Effect Transportation Research Part B Methodological · Elsevier BV · 2022 10.1016/j.trb.2022.03.002
  56. Optimal charging plan for electric bus considering time-of-day electricity tariff Journal of Intelligent and Connected Vehicles · Emerald Publishing Limited · 2022 10.1108/jicv-04-2022-0008
  57. Integrated public transport timetable synchronization and vehicle scheduling with demand assignment: A bi-objective bi-level model using deficit function approach Transportation Research Part B Methodological · Elsevier BV · 2017 10.1016/j.trb.2017.08.024
  58. Trip energy consumption estimation for electric buses Communications in Transportation Research · Elsevier BV · 2022 10.1016/j.commtr.2022.100069
  59. Integrated optimization of charger deployment and fleet scheduling for battery electric buses Transportation Research Part D Transport and Environment · Elsevier BV · 2022 10.1016/j.trd.2022.103382
  60. Automation and connectivity of electric vehicles: Energy boon or bane? Cell Reports Physical Science · Elsevier BV · 2022 10.1016/j.xcrp.2022.101002