Search
2023 Volume 2
Article Contents
ARTICLE   Open Access    

Bus frequency optimization in a large-scale multi-modal transportation system: integrating 3D-MFD and dynamic traffic assignment

More Information
  • A properly designed public transport system is expected to improve traffic efficiency. A high-frequency bus service would decrease the waiting time for passengers, but the interaction between buses and cars might result in more serious congestion. On the other hand, a low-frequency bus service would increase the waiting time for passengers and would not reduce the use of private cars. It is important to strike a balance between high and low frequencies in order to minimize the total delays for all road users. It is critical to formulate the impacts of bus frequency on congestion dynamics and mode choices. However, as far as the authors know, most proposed bus frequency optimization formulations are based on static demand and the Bureau of Public Roads function, and do not properly consider the congestion dynamics and their impacts on mode choices. To fill this gap, this paper proposes a bi-level optimization model. A three-dimensional Macroscopic Fundamental Diagram based modeling approach is developed to capture the bi-modal congestion dynamics. A variational inequality model for the user equilibrium in mode choices is presented and solved using a double projection algorithm. A surrogate model-based algorithm is used to solve the bi-level programming problem.
  • 加载中
  • [1]

    Wardman M. 2001. A review of British evidence on time and service quality valuations. Transportation Research Part E: Logistics and Transportation Review 37:107−28

    doi: 10.1016/S1366-5545(00)00012-0

    CrossRef   Google Scholar

    [2]

    Hsu SC. 2010. Determinants of passenger transfer waiting time at multi-modal connecting stations. Transportation Research Part E: Logistics and Transportation Review 46:404−13

    doi: 10.1016/j.tre.2009.12.002

    CrossRef   Google Scholar

    [3]

    Furth PG, Wilson NHM. 1981. Setting frequencies on bus routes: Theory and practice. Transportation Research Record: Journal of the Transportation Research Board 818:1−7

    Google Scholar

    [4]

    Hadas Y, Shnaiderman M. 2012. Public-transit frequency setting using minimum-cost approach with stochastic demand and travel time. Transportation Research Part B: Methodological 46:1068−84

    doi: 10.1016/j.trb.2012.02.010

    CrossRef   Google Scholar

    [5]

    Li Y, Xu W, He S. 2013. Expected value model for optimizing the multiple bus headways. Applied Mathematics and Computation 219:5849−61

    doi: 10.1016/j.amc.2012.11.098

    CrossRef   Google Scholar

    [6]

    Liu X, Qu X, Ma X. 2021. Improving flex-route transit services with modular autonomous vehicles. Transportation Research Part E: Logistics and Transportation Review 149:102331

    doi: 10.1016/j.tre.2021.102331

    CrossRef   Google Scholar

    [7]

    Dakic I, Leclercq L, Menendez M. 2021. On the optimization of the bus network design: An analytical approach based on the three-dimensional macroscopic fundamental diagram. Transportation Research Part B: Methodological 149:393−417

    doi: 10.1016/j.trb.2021.04.012

    CrossRef   Google Scholar

    [8]

    Dakic I, Yang K, Menendez M, Chow JYJ. 2021. On the design of an optimal flexible bus dispatching system with modular bus units: Using the three-dimensional macroscopic fundamental diagram. Transportation Research Part B: Methodological 148:38−59

    doi: 10.1016/j.trb.2021.04.005

    CrossRef   Google Scholar

    [9]

    Ibarra-Rojas OJ, Delgado F, Giesen R, Muñoz JC. 2015. Planning, operation, and control of bus transport systems: A literature review. Transportation Research Part B: Methodological 77:38−75

    doi: 10.1016/j.trb.2015.03.002

    CrossRef   Google Scholar

    [10]

    Constantin I, Florian M. 1995. Optimizing frequencies in a transit network: a nonlinear bi-level programming approach. International Transactions in Operational Research 2:149−64

    doi: 10.1111/j.1475-3995.1995.tb00011.x

    CrossRef   Google Scholar

    [11]

    Gao Z, Sun H, Shan LL. 2004. A continuous equilibrium network design model and algorithm for transit systems. Transportation Research Part B: Methodological 38:235−50

    doi: 10.1016/S0191-2615(03)00011-0

    CrossRef   Google Scholar

    [12]

    Huang Z, Ren G, Liu H. 2013. Optimizing bus frequencies under uncertain demand: case study of the transit network in a developing city. Mathematical Problems in Engineering 2013:375084

    doi: 10.1155/2013/375084

    CrossRef   Google Scholar

    [13]

    Yoo GS, Kim DK, Chon KS. 2010. Frequency design in urban transit networks with variable demand: Model and algorithm. Ksce Journal of Civil Engineering 14:403−11

    doi: 10.1007/s12205-010-0403-2

    CrossRef   Google Scholar

    [14]

    Chiou SW. 2005. Bilevel programming for the continuous transport network design problem. Transportation Research Part B: Methodological 39:361−83

    doi: 10.1016/S0191-2615(04)00085-2

    CrossRef   Google Scholar

    [15]

    Martínez H, Mauttone A, Urquhart ME. 2014. Frequency optimization in public transportation systems: Formulation and metaheuristic approach. European Journal of Operational Research 236:27−36

    doi: 10.1016/j.ejor.2013.11.007

    CrossRef   Google Scholar

    [16]

    Sivakumaran K, Li Y, Cassidy MJ, Madanat S. 2012. Cost-saving properties of schedule coordination in a simple trunk-and-feeder transit system. Transportation Research Part A: Policy and Practice 46:131−39

    doi: 10.1016/j.tra.2011.09.013

    CrossRef   Google Scholar

    [17]

    Huang D, Liu Z, Liu P, Chen J. 2016. Optimal transit fare and service frequency of a nonlinear origin-destination based fare structure. Transportation Research Part E: Logistics and Transportation Review 96:1−19

    doi: 10.1016/j.tre.2016.10.004

    CrossRef   Google Scholar

    [18]

    LeBlanc LJ. 1988. Transit system network design. Transportation Research Part B: Methodological 22:383−90

    doi: 10.1016/0191-2615(88)90042-2

    CrossRef   Google Scholar

    [19]

    Ukkusuri S, Doan K, Aziz HMA. 2013. A bi-level formulation for the combined dynamic equilibrium based traffic signal control. Procedia - Social and Behavioral Sciences 80:729−52

    doi: 10.1016/j.sbspro.2013.05.039

    CrossRef   Google Scholar

    [20]

    Londono G, Lozano A. 2014. A bi-level optimization program with equilibrium constraints for an urban network dependent on time. Transportation Research Procedia 3:905−14

    doi: 10.1016/j.trpro.2014.10.070

    CrossRef   Google Scholar

    [21]

    Han K, Sun Y, Liu H, Friesz TL, Yao T. 2015. A bi-level model of dynamic traffic signal control with continuum approximation. Transportation Research Part C: Emerging Technologies 55:409−31

    doi: 10.1016/j.trc.2015.03.037

    CrossRef   Google Scholar

    [22]

    Ambühl L, Loder A, Zheng N, Axhausen KW, Menendez M. 2019. Approximative network partitioning for MFDs from stationary sensor data. Transportation Research Record 2673:94−103

    doi: 10.1177/0361198119843264

    CrossRef   Google Scholar

    [23]

    Knoop VL, van Lint H, Hoogendoorn SP. 2015. Traffic dynamics: Its impact on the Macroscopic Fundamental Diagram. Physica A: Statistical Mechanics and its Applications 438:236−50

    doi: 10.1016/j.physa.2015.06.016

    CrossRef   Google Scholar

    [24]

    Loder A, Ambühl L, Menendez M, Axhausen KW. 2017. Empirics of multi-modal traffic networks – Using the 3D macroscopic fundamental diagram. Transportation Research Part C: Emerging Technologies 82:88−101

    doi: 10.1016/j.trc.2017.06.009

    CrossRef   Google Scholar

    [25]

    Geroliminis N, Zheng N, Ampountolas K. 2014. A three-dimensional macroscopic fundamental diagram for mixed bi-modal urban networks. Transportation Research Part C: Emerging Technologies 42:168−81

    doi: 10.1016/j.trc.2014.03.004

    CrossRef   Google Scholar

    [26]

    Dakic I, Menendez M. 2018. On the use of Lagrangian observations from public transport and probe vehicles to estimate car space-mean speeds in bi-modal urban networks. Transportation Research Part C: Emerging Technologies 91:317−34

    doi: 10.1016/j.trc.2018.04.004

    CrossRef   Google Scholar

    [27]

    Paipuri M, Leclercq L. 2020. Bi-modal macroscopic traffic dynamics in a single region. Transportation Research Part B: Methodological 133:257−90

    doi: 10.1016/j.trb.2020.01.007

    CrossRef   Google Scholar

    [28]

    Yperman I. 2007. The link transmission model for dynamic network loading. Ph.D. Thesis. Katholieke Universiteit Leuven, Netherlands

    [29]

    Long J, Chen J, Szeto WY, Shi Q. 2018. Link-based system optimum dynamic traffic assignment problems with environmental objectives. Transportation Research Part D: Transport and Environment 60:56−75

    doi: 10.1016/j.trd.2016.06.003

    CrossRef   Google Scholar

    [30]

    Hoogendoorn SP, Bovy PHL. 2004. Dynamic user-optimal assignment in continuous time and space. Transportation Research Part B: Methodological 38:571−92

    doi: 10.1016/j.trb.2002.12.001

    CrossRef   Google Scholar

    [31]

    Du J, Wong SC, Shu CW, Xiong T, Zhang M, et al. 2013. Revisiting Jiang's dynamic continuum model for urban cities. Transportation Research Part B: Methodological 56:96−119

    doi: 10.1016/j.trb.2013.07.001

    CrossRef   Google Scholar

    [32]

    Jiang Y, Wong SC, Ho HW, Zhang P, Liu R, et al. 2011. A dynamic traffic assignment model for a continuum transportation system. Transportation Research Part B: Methodological 45:343−63

    doi: 10.1016/j.trb.2010.07.003

    CrossRef   Google Scholar

    [33]

    Daganzo CF, Geroliminis N. 2008. An analytical approximation for the macroscopic fundamental diagram of urban traffic. Transportation Research Part B: Methodological 42:771−81

    doi: 10.1016/j.trb.2008.06.008

    CrossRef   Google Scholar

    [34]

    Yildirimoglu M, Geroliminis N. 2014. Approximating dynamic equilibrium conditions with macroscopic fundamental diagrams. Transportation Research Part B: Methodological 70:186−200

    doi: 10.1016/j.trb.2014.09.002

    CrossRef   Google Scholar

    [35]

    Mariotte G, Leclercq L, Batista SFA, Krug J, Paipuri M. 2020. Calibration and validation of multi-reservoir MFD models: A case study in Lyon. Transportation Research Part B: Methodological 136:62−86

    doi: 10.1016/j.trb.2020.03.006

    CrossRef   Google Scholar

    [36]

    Bao Y, Verhoef ET, Koster P. 2021. Leaving the tub: The nature and dynamics of hypercongestion in a bathtub model with a restricted downstream exit. Transportation Research Part E: Logistics and Transportation Review 152:102389

    doi: 10.1016/j.tre.2021.102389

    CrossRef   Google Scholar

    [37]

    Aghamohammadi R, Laval J. 2019. A continuum model for cities based on the macroscopic fundamental diagram: A semi-lagrangian solution method. Transportation Research Procedia 38:380−400

    doi: 10.1016/j.trpro.2019.05.021

    CrossRef   Google Scholar

    [38]

    Aghamohammadi R, Laval JA. 2020. Dynamic traffic assignment using the macroscopic fundamental diagram: A Review of vehicular and pedestrian flow models. Transportation Research Part B: Methodological 137:99−118

    doi: 10.1016/j.trb.2018.10.017

    CrossRef   Google Scholar

    [39]

    Ampountolas K, Zheng N, Geroliminis N. 2017. Macroscopic modelling and robust control of bi-modal multi-region urban road networks. Transportation Research Part B: Methodological 104:616−37

    doi: 10.1016/j.trb.2017.05.007

    CrossRef   Google Scholar

    [40]

    Arnott R. 2013. A bathtub model of downtown traffic congestion. Journal of Urban Economics 76:110−21

    doi: 10.1016/j.jue.2013.01.001

    CrossRef   Google Scholar

    [41]

    Leclercq L, Sénécat A, Mariotte G. 2017. Dynamic macroscopic simulation of on-street parking search: A trip-based approach. Transportation Research Part B: Methodological 101:268−82

    doi: 10.1016/j.trb.2017.04.004

    CrossRef   Google Scholar

    [42]

    Mariotte G, Leclercq L. 2019. Flow exchanges in multi-reservoir systems with spillbacks. Transportation Research Part B: Methodological 122:327−49

    doi: 10.1016/j.trb.2019.02.014

    CrossRef   Google Scholar

    [43]

    Li M, Lin X, Chen X. 2017. A surrogate-based optimization algorithm for network design problems. Frontiers of Information Technology & Electronic Engineering 18:1693−704

    doi: 10.1631/FITEE.1601403

    CrossRef   Google Scholar

    [44]

    Liu H, Szeto WY, Long J. 2019. Bike network design problem with a path-size logit-based equilibrium constraint: Formulation, global optimization, and matheuristic. Transportation Research Part E: Logistics and Transportation Review 127:284−307

    doi: 10.1016/j.tre.2019.05.010

    CrossRef   Google Scholar

    [45]

    Panicucci B, Pappalardo M, Passacantando M. 2007. A path-based double projection method for solving the asymmetric traffic network equilibrium problem. Optimization Letters 1:171−85

    doi: 10.1007/s11590-006-0002-9

    CrossRef   Google Scholar

    [46]

    Batista SFA, Leclercq L, Geroliminis N. 2019. Estimation of regional trip length distributions for the calibration of the aggregated network traffic models. Transportation Research Part B: Methodological 122:192−217

    doi: 10.1016/j.trb.2019.02.009

    CrossRef   Google Scholar

    [47]

    Geroliminis N, Daganzo CF. 2008. Existence of urban-scale macroscopic fundamental diagrams: Some experimental findings. Transportation Research Part B: Methodological 42:759−70

    doi: 10.1016/j.trb.2008.02.002

    CrossRef   Google Scholar

    [48]

    Little JDC. 1961. A proof for the queuing formula: L = λW. Operations Research 9:383−87

    doi: 10.1287/opre.9.3.383

    CrossRef   Google Scholar

    [49]

    Leclercq L, Becarie C. 2012. Meso lighthill-whitham and richards model designed for network applications. Transportation Research Borad 91st Annual Meeting. Washington D.C., United States.

    [50]

    Liu H, Wang DZW. 2017. Locating multiple types of charging facilities for battery electric vehicles. Transportation Research Part B: Methodological 103:30−55

    doi: 10.1016/j.trb.2017.01.005

    CrossRef   Google Scholar

    [51]

    Regis RG. 2011. Stochastic radial basis function algorithms for large-scale optimization involving expensive black-box objective and constraint functions. Computers & Operations Research 38:837−53

    doi: 10.1016/j.cor.2010.09.013

    CrossRef   Google Scholar

  • Cite this article

    Yuan K, Cui D, Long J. 2023. Bus frequency optimization in a large-scale multi-modal transportation system: integrating 3D-MFD and dynamic traffic assignment. Digital Transportation and Safety 2(4):241−252 doi: 10.48130/DTS-2023-0020
    Yuan K, Cui D, Long J. 2023. Bus frequency optimization in a large-scale multi-modal transportation system: integrating 3D-MFD and dynamic traffic assignment. Digital Transportation and Safety 2(4):241−252 doi: 10.48130/DTS-2023-0020

Figures(8)  /  Tables(7)

Article Metrics

Article views(2694) PDF downloads(340)

Other Articles By Authors

ARTICLE   Open Access    

Bus frequency optimization in a large-scale multi-modal transportation system: integrating 3D-MFD and dynamic traffic assignment

Digital Transportation and Safety  2 2023, 2(4): 241−252  |  Cite this article

Abstract: A properly designed public transport system is expected to improve traffic efficiency. A high-frequency bus service would decrease the waiting time for passengers, but the interaction between buses and cars might result in more serious congestion. On the other hand, a low-frequency bus service would increase the waiting time for passengers and would not reduce the use of private cars. It is important to strike a balance between high and low frequencies in order to minimize the total delays for all road users. It is critical to formulate the impacts of bus frequency on congestion dynamics and mode choices. However, as far as the authors know, most proposed bus frequency optimization formulations are based on static demand and the Bureau of Public Roads function, and do not properly consider the congestion dynamics and their impacts on mode choices. To fill this gap, this paper proposes a bi-level optimization model. A three-dimensional Macroscopic Fundamental Diagram based modeling approach is developed to capture the bi-modal congestion dynamics. A variational inequality model for the user equilibrium in mode choices is presented and solved using a double projection algorithm. A surrogate model-based algorithm is used to solve the bi-level programming problem.

    • Public transport is a key component of a sustainable transport system. In many cities, public transport is considered as a promising solution to urban traffic congestion. A properly designed public transport system is expected to improve traffic efficiency by minimizing the total delays of citizens. In a multi-modal system, buses can take more passengers, while moving slower than private cars. A high-frequency bus service would decrease the average traffic speed and hence increase traffic delays, while a low-frequency bus service would increase the waiting time of passengers at bus stops. As argued in literature, the waiting time at bus stops is a key element in a passenger's assessment of bus service quality[1,2]. The bus service quality could affect the demand for each transport mode, e.g., buses and cars. Hence, the bus frequency can be optimized to minimize the total delays of the transport system, including the time spent by both bus passengers and car users. To optimize bus frequency, it is necessary to integrate the congestion dynamics and its impacts on the mode choices in the optimization formulation.

      Optimizing bus frequency will help improve the bus service and alleviate traffic congestion, because a good bus service could reduce car demand. However, in most of the literature on bus frequency optimization, the demand is static[36]. The static demand ignores the interactions between buses and cars, and its impacts on travelers' mode choices. The static demand assumption rules out impacts of bus service on the demand elasticity.

      The interaction between cars and buses would determine the travel speed and delays of each mode, which will finally shape the demand for each mode. To predict the mode choice, it is necessary to model the multi-modal congestion dynamics. However, the congestion dynamics in bus frequency optimization is frequently modeled by a Bureau of Public Roads (BPR) function. The BPR function is too simple to describe the multi-modal congestion dynamics. Some attempts[7,8] have considered multi-modal congestion dynamic when optimizing the public transport system. The interaction between cars and buses is described by a 3D-MFD based model. But the demand including a car demand and a public transport passenger demand, is given exogenously. That is, the impacts of traffic congestion and the bus system performance (e.g., the waiting time at bus stops) on travelers' mode choices are ignored. More details about bus frequency optimization approach can be referred to in Ibarra-Rojas et al.[9].

      To the best of the authors' knowledge, a bus frequency optimization model that can describe impacts of bus frequency on traffic network performance - in terms of mode choices and traffic delays - is still missing. In this paper, we aim to fill the gap by providing a bi-level programming model that integrates the multi-modal traffic dynamics and its impacts on mode choices.

      A bi-level programming approach is often used to solve the bus frequency optimization problem[1013]. The bi-level optimization model consists of an upper and a lower-level model. The upper-level model finds a bus frequency to accomplish an objective which is often referred to as minimizing the total passenger travel time, total passenger waiting time, transfer time, fare function, bus operation cost, or a combination of all of them[12,1417]. In this work, the upper-level objective consists of the bus operation cost and the total time spent of all travelers. The lower level includes a dynamic traffic assignment (DTA) and a dynamic network loading (DNL) model[11,1821]. The network loading model often gives travel time, based on which the vehicles are distributed over time and routes.

      Consider a megacity, which is partitioned into several reservoirs. The reservoir partitioning algorithm can be referred to in Ambühl et al.[22]. The traffic dynamics in reservoirs is governed by a three-dimensional macroscopic fundamental diagram (3D-MFD). The 3D-MFD relates the accumulation of cars and buses to the mean flow (total production) at a regional level[23,24]. Previous works[2527] use the 3D-MFD to model the multi-modal network traffic dynamics. Some may argue the link-based models, such as the link-transmission model(LTM), are often taken to load a traffic network in literature[28,29]. In a megacity which has hundreds and thousands of links and nodes, the link-bPlease check Ambuhl et al in the references as Ambuhl has an umlaut in the text but not in the reference listased DNL models might be inappropriate due to its high computational complexity. The macroscopic model can be classified into continuum-space[3032] and discrete-space models[3336]. In the existing literature, the continuum-space model is mostly studied in a network with only a few destinations. At the same time, in order to solve the continuum model numerically, the mesh size of the numerical grid is small so the computational complexity might be too high[37,38]. In this paper, we develop a 3D-MFD based model in the discrete-space modeling framework.

      When modeling the dynamics, it is necessary to distinguish the bus and the car. First, the bus path is fixed, while the private car users might choose the shortest path. Second, in terms of the free-flow speed, buses are slower than cars. Third, the waiting time at bus stops would determine the mode choice. Hence, in this paper the 3D-MFD based model consists of two models: the accumulation-based model[34,35,39] and the trip-based model[4042]. The accumulation model is used to model the car traffic dynamics, while the trip-based model is to model the bus dynamics. The accumulation of buses determines an MFD which relates the outflow to the accumulation of cars. The bus speed is given as a function of the accumulation of cars and buses.

      The bi-level model is solved by a surrogate model-based algorithm, which approximates the complex simulation of the primal problem, to greatly reduce the complexity and improve efficiency[43,44]. The double projection algorithm is taken to solve the lower-level multi-modal DUE problem[45]. For each OD pair, the dynamic traffic flow on the network is in DUE state when the travel time experienced by travelers departing at the same time is equal and minimal, and no one can reduce the travel time by choosing an alternative route. All regional paths and the total demand profiles between different OD pairs is given.

      The contributions of this research are as follows:

      First, we develop a 3D-based modeling framework for the large-scale multi-model traffic dynamics. To distinguish the car and the bus, the accumulation-based model and the trip-based model are used to model the congestion dynamics of cars and buses, respectively. Second, we establish DUE conditions considering the travelers' behaviors, and propose a region-based path choice model based on the 3D-MFD modeling. The time-dependent demand of travelers for the bus line is affected by the mode and path choice. A variational inequality model for multi-mode is present, solved by a double projection algorithm. Third, we propose a bi-level programming model where the upper-level model minimizes a cost function for the road users and the operating company, and the lower-level includes a Mode Choice-dynamic traffic assignment (DTA) model and takes into account the interactions between cars and buses using a 3D-MFD based model. The surrogate model-based algorithm is embedded to solve the bi-level programming problem.

      The remainder of this paper is organized as follows: The problem description is given in the next section, which is followed by a section that introduces the 3D-MFD based models to describe the traffic dynamics at the regional level. Then we introduce the bi-level programming model considering the bus frequency and the solution algorithms. The Numerical study section gives numerical examples. Finally, concluding and our future research directions are given in the last section.

    • Consider a transport network consisting of cars and buses, respectively. The city network is partitioned into $N$ reservoirs. To optimize the bus frequency, we formulate the problem based on Assumptions 1−3.

      Assumption 1: Each reservoir is governed by a well-defined 3D-MFD, see Fig. 1. The 3D-MFD describes the production as a function of the car accumulation and the bus accumulation, see Fig. 1b.

      Figure 1. 

      A multi-reservoir network. (a) Network partitioning and characteristics. (b) 3D-MFD surface which the formula refers to Paipuri & Leclercq[27].

      Assumption 2: Buses' free flow speed is lower than cars. The bus would travel at free-flow speed if the car speed is not lower than the bus speed. This assumption means the bus and the cars share the urban road space. The 3D-MFD shows the impacts of bus flow on the private cars. The bus speed would not be influenced by cars unless the car speed is lower than the bus free-flow speed.

      Assumption 3: Travelers' behaviors follow a DUE rule. This assumption indicates that the travelers make decisions on modal and routing choices based on network performances.

      A regional path (macroscopic path) $p$ is defined as a succession of reservoirs from the origin reservoir to the destination reservoir. The path represents the route of cars or the bus line. Fig. 1a shows two regional paths, for illustration, i.e., [1 6 5 4 3] and [1 6 4 3] between the OD pair (1−3). The average trip length in reservoir $r$ along path $p$ is denoted as ${L_{{\text{p,r}}}}$. $R$ is the set of path section along the path $p$, the total trip length along path $p$ is denoted as $ {L_{\text{p}}} = \sum\nolimits_{{\text{r}} \in {\text{R}}} {{L_{{\text{p,r}}}}} $. Vehicles leave the reservoir when they finish their trip distance in that reservoir. For illustration, Fig. 1a displays the ${L_{{\text{p,r}}}}$ in each reservoir which is compose of the path [1 6 4 3], and the total average trip length ${L_{\left[ {1643} \right]}}$ is the sum of $L_{[1643]}^1$, $L_{[1643]}^6$, $L_{[1643]}^4$, and $L_{[1643]}^6$. More details about trip length distribution can refer to Batista et al.[46]. We discretize the time period $T$ into a set of time intervals $K = \left\{ {k = 1,2, \ldots ,\underset{\raise0.3em\hbox{$\smash{\scriptscriptstyle-}$}}{K} } \right\}$, and let $\delta t$ be the time interval length, such as $ \delta t\underset{\raise0.3em\hbox{$\smash{\scriptscriptstyle-}$}}{K} = T $.

    • In this section, we present a macroscopic methodological framework considering two different travel modes. To simulate the traffic dynamics, the accumulation-based model is used for cars, the trip-based model is used for buses. The accumulation of buses in one reservoir determines the MFD for cars. The bus speed is determined by the accumulation of buses and cars.

      For each reservoir, traffic dynamics are described by the evolution of accumulation along different paths for each mode $m \in \left\{ {bus,car} \right\}$ is expressed as:

      $ {\eta }_{\text{p,r}}^{\text{m}}\left(t+\delta t\right)={\eta }_{\text{p,r}}^{\text{m}}\left(t\right)+\Delta {\eta }_{\text{p,r}}^{\text{m}}\left(t\right),\quad r\in \left\{1,\dots ,N\right\},\;\;\forall p\in {P}_{\text{r}}^{\text{m}},\;\; m $ (1)

      where $\delta t$ is the time step, $\eta _{{\text{p,r}}}^{\text{m}}\left( t \right)$ denotes the accumulation for each mode $m \in \left\{ {bus,car} \right\}$ traveling on path $p$ in the reservoir $r$ at time $t$. $\Delta \eta _{{\text{p,r}}}^{\text{m}}\left( t \right)$ represents the variety of the accumulation along path $p$ in reservoir $r$ at time $t$. $P_{\text{r}}^{\text{m}}$ is defined as the set of paths passing through the reservoir r by different mode.

    • The multi-reservoir accumulation-based model is introduced by Mariotte et al.[35], which is an extension of Yildirimoglu & Geroliminis's work[34]. For cars, $\Delta \eta _{{\text{p,r}}}^{\text{m}}\left( t \right)$ in Eq. (1) is expressed as:

      $ \Delta {\eta }_{\text{p,r}}^{\text{car}}\left(t\right)=\delta t\cdot \left({q}_{\text{p,r,in}}^{\text{car}}\left(t\right)-{q}_{\text{p,r,out}}^{\text{car}}\left(t\right)\right),\text{ }\forall r\in \left\{1,\dots ,N\right\},\;\;\forall p\in {P}_{\text{r}}^{\text{car}} $ (2)

      Where $q_{{\text{p,r,in}}}^{{\text{car}}}(t)$ and $q_{{\text{p,r,out}}}^{{\text{car}}}(t)$ represent the effective inflow and outflow along path p in reservoir r at time t, respectively. Depending on whether the origin or destination is inside the reservoir, the evolution of accumulation of path p in Eq. (1) can be divided into four types:

      (i) If r is the origin reservoir but not the destination, we assume the demand generated inside the reservoir without any restrictions. The effective inflow of path $p$ is defined as $q_{{\text{p,r,in}}}^{{\text{car}}}\left( t \right) = \lambda _{\text{p}}^{{\text{w,car}}}\left( t \right){\text{ }}$, $\lambda _{\text{p}}^{{\text{w,car}}}\left( t \right)$ is the path demand for OD pair $w$ by car. Let $q_{{\text{p,r,out}}}^{{\text{car}}}\left( t \right)$ represent the transfer flow from reservoir r to ${p^ + }\left( r \right)$, which is the next reservoir in the reservoir sequence of path p. The effective outflow is calculated as $q_{{\text{p,r,out}}}^{{\text{car}}}\left( t \right) = \eta _{{\text{p,r}}}^{{\text{car}}}\left( t \right)L_{{\text{k,r}}}^{{\text{car}}}/\eta _{{\text{k,r}}}^{{\text{car}}}\left( t \right)L_{{\text{p,r}}}^{{\text{car}}}\min \left( {\mu _{{\text{k,r}}}^{{\text{car}}}\left( t \right),O_{{\text{k,r}}}^{{\text{car}}}\left( t \right)} \right)$ referring to Mariotte et al.[35] and Mariotte & Leclercq[42], where $O_{{\text{k,r}}}^{{\text{car}}}\left( t \right)$, $\mu _{{\text{k,r}}}^{{\text{car}}}\left( t \right)$ are the outflow demand (trip completion rate) and the restriction supply for path $k$ in reservoir $r$ of cars respectively. $k$ is the most constrained path: $k = \arg \mathop {\min }\limits_{p \in {P^{\text{r}}}} \mu _{{\text{p,r}}}^{{\text{car}}}\left( t \right){\text{/}}O_{{\text{p,r}}}^{{\text{car}}}\left( t \right)$.

      (ii) If r is the destination reservoir but not the origin, the outflow of path $p$ is not limited. Hence, $\mu _{{\text{p,r}}}^{{\text{car}}}\left( t \right) = + \infty $. For effective inflow, $q_{{\text{p,r,in}}}^{{\text{car}}}\left( t \right) = q_{{\text{p,}}{{\text{p}}^{{-}}}\left( {\text{r}} \right){\text{,out}}}^{{\text{car}}}\left( t \right)$, ${p^ - }\left( r \right)$ is the previous reservoir of the reservoir r on path p.

      (iii) If r is neither the origin reservoir nor the destination reservoir, the calculation of effective outflow and effective inflow are referred to (i) and (ii) respectively.

      (iv) If r is both origin reservoir and destination reservoir, the calculation of effective inflow and effective outflow are referred to (i) and (ii) respectively.

      Now we focus on the effective inflow and effective outflow of transfer flow which passes through the boundary entering the reservoir or leaving the reservoir.

      As defined by Geroliminis & Daganzo[47], the trip completion rate is proportional to the total production in each reservoir, defined as $O = P/L$. P is the total production and L is the total network length. The outflow demand is allocated according to the proportion of the accumulation along each path in the reservoir to the total accumulation in the reservoir.

      The outflow demand $O_{{\text{p,r}}}^{{\text{car}}}\left( t \right)$ can be derived as:

      $ O_{{\text{p,r}}}^{{\text{car}}}\left( t \right) = \left\{ {\begin{array}{*{20}{l}} {\text{ }}\dfrac{{\eta _{{\text{p,r}}}^{{\text{car}}}\left( t \right)}}{{\eta _{\text{r}}^{{\text{car}}}\left( t \right)}}\dfrac{{{{\text{P}}_{\text{r}}}\left( {\eta _{\text{r}}^{{\text{car}}}\left( t \right),\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right)}}{{L_{{\text{p,r}}}^{{\text{car}}}}}{\text{ }}\;if\\\quad \eta _{\text{r}}^{{\text{car}}}\left( t \right) \lt \eta _{\text{r}}^{{\text{crit}}}\left( {\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right) \\ {\dfrac{{\eta _{{\text{p,r}}}^{{\text{car}}}\left( t \right)}}{{\eta _{\text{r}}^{{\text{car}}}\left( t \right)}}\dfrac{{{\text{P}}_{\text{r}}^{{\text{crit}}}\left( {\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right)}}{{L_{{\text{p,r}}}^{{\text{car}}}}}\;\;{\text{ otherwise}}} \end{array}} \right.{\text{ }}\forall p \in P_{\text{r}}^{{\text{car}}} $ (3)

      where $L_{{\text{p,r}}}^{{\text{car}}}$ is the average trip length in reservoir $r$ along path $p$ by car. $\eta _{\text{r}}^{{\text{car}}}\left( t \right)$ and $\eta _{\text{r}}^{{\text{bus}}}\left( t \right)$ are the total accumulation of cars and buses in reservoir r at time t, ${\text{P}}_{\text{r}}^{{\text{crit}}}\left( {\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right)$ and $\eta _{\text{r}}^{{\text{crit}}}\left( {\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right)$ are the critical accumulation of cars and maximum production which are related to the bus accumulation in the reservoir. That means, bus accumulation over time influence the shape of the MFD profile due to the different bus frequency.

      The restriction outflow supply $\mu _{{\text{p,r}}}^{{\text{car}}}\left( t \right)$ corresponds to the inflow supply $I_{{\text{p,}}{{\text{p}}^{{ + }}}\left( {\text{r}} \right)}^{{\text{car}}}\left( t \right)$ of the next reservoir in the path p by car at time t. The existing literature has proposed different entry supply functions with higher critical value than MFD maximum capacity, and compared their performances[42]. To simplify the process, we use the reservoir entry supply function mentioned in Paipuri & Leclercq[27]. ${{\text{P}}_{{\text{S,r}}}}$ represents the entry supply production in reservoir $r$.

      $ {{\text{P}}_{{\text{S,r}}}}\left( {\eta _{\text{r}}^{{\text{car}}}\left( t \right),\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right) = \left\{ {\begin{array}{*{20}{lc}} {{\text{P}}_{\text{r}}^{{\text{crit}}}\left( {\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right){\text{ }}\;\;if\;\;{\text{ }}\eta _{\text{r}}^{{\text{car}}}\left( t \right) \lt \eta _{\text{r}}^{{\text{crit}}}\left( {\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right)} \\ {{\text{ }}{{\text{P}}_{\text{r}}}\left( {\eta _{\text{r}}^{{\text{car}}}\left( t \right),\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right)\;\;{\text{ otherwise }}} \end{array}} \right. $ (4)

      For transfer flow, the available entry supply production in reservoir $r$ is ${{\text{P}}_{{\text{S,r}}}} - \displaystyle\sum\nolimits_{p \in P_{{\text{int}}}^{\text{r}}} {L_{{\text{p,r}}}^{{\text{car}}}\lambda _{\text{p}}^{{\text{w,car}}}} $, the average trip length for transfer flow is $ \displaystyle\sum\nolimits_{p \in P_{\text{r}}^{{\text{ext}}}} {\eta _{{\text{p,r}}}^{{\text{car}}}\left( t \right)} {\text{/}}\displaystyle\sum\nolimits_{p \in P_r^{ext}} {\eta _{{\text{p,r}}}^{{\text{car}}}\left( t \right)/L_{{\text{p,r}}}^{{\text{car}}}} $ defined by Little's formula[48]. The reservoir total inflow supply ${I^{\text{r}}}$ is the ratio of the two values.

      At the same time, considering the capacity constraints of the reservoir and the nodes at the boundary, we use the sequence of macroscopic nodes corresponding to the reservoir successions of path $p$. The finite number of nodes on the reservoir boundary is denoted as set $N_{\text{r}}^{{\text{bd}}}$, each node is written as $n$. The path through node $n$ to enter the reservoir is recorded as $P_{{\text{r,n}}}^{{\text{car}}}$. A detailed definition of macroscopic nodes has been given in Mariotte et al.[35]. We use a two-layer merging function also proposed in this paper to calculate restriction inflow supply for transfer flow.

      $\begin{array}{c} {\left\{ {I_{\text{p}}^{{\text{r*}}}} \right\}_{p \in P_{{\text{r,n}}}^{{\text{car}}}}} = {\text{Merge}}\left( {{{\left\{ {\lambda _{{\text{p,r}}}^{{\text{car}}}} \right\}}_{p \in P_{{\text{r,n}}}^{{\text{car}}}}},{{\left\{ {\dfrac{{\alpha _{\text{p}}^{\text{r}}}}{{\displaystyle\sum\nolimits_{k \in P_{{\text{r,n}}}^{{\text{car}}}} {\alpha _{\text{k}}^{\text{r}}} }}} \right\}}_{p \in P_{{\text{r,n}}}^{{\text{car}}}}},{D_{\text{n}}}} \right),\\\;\;{\text{ }}\forall r,\;\;\forall n \in N_{\text{r}}^{{\text{bd}}}\end{array} $ (5)

      where ${\text{Merge}}\left( \cdot \right)$ function is the inflow merge function mentioned in Leclercq & Becarie[49]. The available supply or capacity is shared among the paths according to their merge coefficients and ensures the available supply or capacity can be used effectively. Where ${D_{\text{n}}}$ is the capacity of the macroscopic node $n$ on the boundary, which can be expressed as the aggregation of the capacity of all links connected with the node $n$. $\lambda _{{\text{p,r}}}^{{\text{car}}}$ is the inflow demand of path $p$ in reservoir $r$ by car. For transfer flow, the value is equal to outflow demand $O_{{\text{p,}}{{\text{p}}^{{- }}}\left( {\text{r}} \right)}^{{\text{car}}}$ from the previous reservoir. The merge parameter $\alpha _{\text{p}}^{\text{r}}$ is calculated as $\lambda _{\text{p}}^{\text{r}}/\sum\nolimits_{p \in P_{{\text{r,m}}}^{{\text{car}}}} {\lambda _{\text{k}}^{\text{r}}} $. The second-layer merging function is described as follow:

      $ {\left\{ {I_{\text{p}}^{\text{r}}} \right\}_{p \in P_{{\text{r,bd}}}^{{\text{car}}}}} = {\text{Merge}}\left( {{{\left\{ {I_{\text{p}}^{{\text{r*}}}} \right\}}_{p \in P_{{\text{r,bd}}}^{{\text{car}}}}},{{\left\{ {\alpha _{\text{p}}^{\text{r}}} \right\}}_{p \in P_{{\text{r,bd}}}^{{\text{car}}}}},{I^{\text{r}}}} \right),{\text{ }}\forall r $ (6)

      where $P_{{\text{r,bd}}}^{{\text{car}}}$ is the path crossing the boundary into the reservoir $r$ by car. The main difference between the first layer and the second layer merging function is that one considers the capacity constraint of the node on the boundary and the other considers the reservoir supply restriction. $I_{{\text{p,r}}}^{{\text{car}}}\left( t \right)$ is the inflow supply of path p in reservoir r by car at time t.

      Then the evolution of car accumulation is calculated by Eq. (1). At the same time, the cumulative count curves of each path in reservoir $r$ can be described by Eq. (7). $U_{{\text{p,in}}}^{{\text{car,o}}}\left( t \right)$ and $V_{{\text{p,out}}}^{{\text{car}}{\text{.d}}}\left( t \right)$ represent the entering cumulative curve and the exiting cumulative curve of path $p$ at time $t$ by car, respectively. ${\tau _{{\text{p,car}}}}\left( t \right)$ represents the experienced travel time when passengers leave at time $t$ and choose path $p$ by car.

      $ \begin{gathered} U_{{\text{p,r,in}}}^{{\text{car}}}\left( t \right) = \int_0^t {q_{{\text{p,r,in}}}^{{\text{car}}}\left( t \right)} dt + \eta _{{\text{p,r}}}^{{\text{car}}}\left( 0 \right)\quad\forall r \in \left\{ {1, \ldots ,N} \right\},p \in P_{\text{r}}^{{\text{car}}} \\ V_{{\text{p,r,out}}}^{{\text{car}}}\left( t \right) = \int_0^t {q_{{\text{p,r,out}}}^{{\text{car}}}\left( t \right)} dt \\ \end{gathered} $ (7)

      The relationship between travel time and cumulative flow is:

      $ U_{{\text{p,r,in}}}^{{\text{car}}}\left( {t - {\tau _{{\text{p,car}}}}\left( t \right)} \right) = V_{{\text{p,r,out}}}^{{\text{car}}}\left( t \right) $ (8)

      If $U_{\rm p,in}^{\rm car,o}\left( t \right)$ and $V_{{\text{p,out}}}^{{\text{car,d}}}\left( t \right)$ are strictly monotone functions with respect to time $t$, the dynamic experience travel time is calculated as:

      $ {\tau _{{\text{p,car}}}}\left( t \right) = t - U{_{{\text{p,in}}}^{{\rm{car,o{\text -}1}}}}\left( {V_{{\text{p,out}}}^{{\text{car,d}}}\left( t \right)} \right) $ (9)

      where ${U_{{\rm{p,in}}}^{{\rm{car,o{\text -}1}}}}\left( \cdot \right)$ is the inverse function of $U_{{\rm{p,in}}}^{{\rm{car,o}}}\left( \cdot \right)$.

      Here, the travel time of each path $p$ between OD pairs is the experienced travel time ${\tau _{{\text{p,car}}}}\left( t \right)$ when passengers choose the path.

    • All buses are traveling at the same speed $v_{\text{r}}^{{\text{bus}}}\left( {\eta _{\text{r}}^{{\text{car}}}\left( t \right),\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right)$ in reservoir $r$ at time $t$. The trip distance of bus on path $p$ in each reservoir $r$ is expressed as:

      $ L_{{\text{p,r}}}^{{\text{bus}}} = \int_{t - T\left( t \right)}^t {v_{\text{r}}^{{\text{bus}}}\left( {\eta _{\text{r}}^{{\text{car}}}\left( t \right),\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right)dt} $ (10)

      where $L_{{\text{p,r}}}^{{\text{bus}}}$ is the average trip length in reservoir $r$ along path $p$ by bus. The bus enters the reservoir at time $t - T\left( t \right)$ and leaves at time $t$. The bus speed $v_{\text{r}}^{{\text{bus}}}\left( {\eta _{\text{r}}^{{\text{car}}}\left( t \right),\eta _{\text{r}}^{{\text{bus}}}\left( t \right)} \right)$ at each time $t$ depends on the accumulation of cars and buses in the reservoir by 3D-MFD. We used the functional form $v_{\text{r}}^{{\text{bus}}}$ proposed in Paipuri & Leclercq[27]:

      $ v_{\text{r}}^{{\text{bus}}}\left( {\eta _{\text{r}}^{{\text{car}}},\eta _{\text{r}}^{{\text{bus}}}} \right) = {\beta _{{\text{b,0}}}} + {\beta _{{\text{c,b}}}}\eta _{\text{r}}^{{\text{car}}}\left( t \right) + {\beta _{{\text{b,b}}}}\eta _{\text{r}}^{{\text{bus}}}\left( t \right) $ (11)

      Constants ${\beta _{{\text{c,b}}}}$ and ${\beta _{{\text{b,b}}}}$ represent the marginal effect of cars and buses on bus mean speed which can be estimated with real data, These parameters can be seen specifically in Loder et al.[24].

      We track the bus trip distance until the total trip length $L_{\text{p}}^{{\text{bus}}} = \displaystyle\sum\limits_{r \in R} {L_{{\text{p,r}}}^{{\text{bus}}}} $ is completed, record the experienced travel time ${\tau _{{\text{p,bus,travel}}}}$. At the same time. The accumulation of cars and buses in each reservoir can be obtained by conservation Eq. (1). For buses, $\Delta \eta _{{\text{p,r}}}^{\text{m}}\left( t \right)$ is expressed as:

      $ \Delta {\eta }_{\text{p,r}}^{\text{bus}}\left(t\right)={\eta }_{\text{p,r,in}}^{\text{bus}}\left(t\right)-{\eta }_{\text{p,r,out}}^{\text{bus}}\left(t\right),\quad\forall r\in \left\{1,\dots ,N\right\},\;\;\forall p\in {P}_{\text{r}}^{\text{bus}} $ (12)

      Where $\eta _{{\text{p,r,in}}}^{{\text{bus}}}\left( t \right)$ and $\eta _{{\text{p,r,out}}}^{{\text{bus}}}\left( t \right)$ respectively represent the number of buses entering and leaving the reservoir $r$ along path $p$ at time $t$. We also assume the demand generated inside the reservoir without any restrictions and the outflow is not limited in the destination reservoir. For the transfer flow, the number of buses entering reservoir ${p^+}\left( r \right)$ is $\eta _{{\text{p,}}{{\text{p}}^ + }\left( {\text{r}} \right){\text{,in}}}^{{\text{bus}}}\left( t \right) = \eta _{{\text{p,r,in}}}^{{\text{bus}}}\left( {t - T\left( t \right)} \right)$, the number of buses leaving reservoir $r$ is $\eta _{{\text{p,r,out}}}^{{\text{bus}}}\left( t \right) = \eta _{{\text{p,}}{{\text{p}}^ + }\left( {\text{r}} \right){\text{,in}}}^{{\text{bus}}}\left( {t - T\left( t \right)} \right)$. Combined with Eq. (1), we can get the accumulation of cars and buses at any time. According to Eq. (11), we can get the bus mean speed at the next time. The trip-based solver algorithm for buses is described in Algorithm 1.

      Table 1.  Trip-based solver algorithm.

      Input: Reservoir initial bus accumulation $\eta _{{\text{p,r}}}^{{\text{bus}}}\left( {{t_0}} \right)$ of each path, car accumulation $\eta _{{\text{p,r}}}^{{\text{car}}}\left( {{t_0}} \right)$ of each path, initial trip distance $L_{{\text{p,r,t}}}^{{\text{bus}}}\left( {{t_{\text{0}}}} \right){\text{ = 0}}$, the subscript $t$ represents the bus departing at time $t$, traffic demand profile $\lambda _{\text{p}}^{{\text{w,bus}}}\left( t \right)$, simulation duration $T$ and time step $\delta t$.
      1: for $t = {t_0}$ to ${t_0} + T$ by $\delta t$ do
      2: According to the bus and car accumulation which is calculated by Eq. (1), combined with reservoir 3D-MFD, the bus speed $v_{\text{r}}^{{\text{bus}}}\left( t \right)$ is determined by Eq. (11)
      3: for $r = 1$ to $N$ do
      4: Inflow: if $r = o$ then $\eta _{{\text{p,r,in}}}^{{\text{bus}}}\left( t \right) = \lambda _{\text{p}}^{{\text{w,bus}}}\left( t \right) \cdot \delta t$ else $\eta _{{\text{p,r,in}}}^{{\text{bus}}}\left( t \right) = \eta _{{\text{p,}}{{\text{p}}^{\text{ - }}}\left( {\text{r}} \right){\text{,out}}}^{{\text{bus}}}\left( t \right)$
      5: Outflow: track the trip distance $L_{{\text{p,r,t}}}^{{\text{bus}}}\left( {t{\text{ + }}\delta t} \right) = L_{{\text{p,r,t}}}^{{\text{bus}}}\left( t \right) + v_{\text{r}}^{{\text{bus}}}\left( t \right) \cdot \delta t$
      6: if $L_{{\text{p,r,t}}}^{{\text{bus}}}\left( {t{\text{ + }}\delta t} \right) > L_{{\text{p,r}}}^{{\text{bus}}}$
      7: if $r = d$ then $ {\tau _{{\text{p,bus,travel}}}}\left( t \right) = {\tau _{{\text{p,bus,travel}}}}\left( t \right) + {t_{\text{s}}} $, $\eta _{{\text{p,r,out}}}^{{\text{bus}}}\left( t \right) = \eta _{{\text{p,r,in}}}^{{\text{bus}}}\left( {t{\text{ - }}{\tau _{{\text{p,bus,travel}}}}\left( t \right)} \right)$
      where ${t_{\text{s}}}$ is the traveling time in reservoir $r$.
      8: else ${\tau _{{\text{p,bus,travel}}}}\left( t \right) = {\tau _{{\text{p,bus,travel}}}}\left( t \right) + \delta t$, $\eta _{{\text{p,r,out}}}^{{\text{bus}}}\left( t \right) = \eta _{{\text{p,r,in}}}^{{\text{bus}}}\left( {t{\text{ - }}{\tau _{{\text{p,bus,travel}}}}\left( t \right)} \right)$
      9: else ${\tau _{{\text{p,bus,travel}}}}\left( t \right) = {\tau _{{\text{p,bus,travel}}}}\left( t \right) + \delta t$, $\eta _{{\text{p,r,out}}}^{{\text{bus}}}\left( t \right) = 0$
      10: Bus accumulation update: $\eta _{{\text{p,r}}}^{{\text{bus}}}\left( {t + \delta t} \right) = \eta _{{\text{p,r}}}^{{\text{bus}}}\left( t \right) + \eta _{{\text{p,r,in}}}^{{\text{bus}}}\left( t \right) - \eta _{{\text{p,r,out}}}^{{\text{bus}}}\left( t \right)$
      11: end for
      12: end for
      Output: reservoir bus accumulation $\eta _{{\text{p,r}}}^{{\text{bus}}}\left( t \right)$, the experienced travel time ${\tau _{{\text{p,bus,travel}}}}\left( t \right)$

      In this paper, the travel time along path $p$, $p \in P_{{\text{bus}}}^{\text{w}}$ includes the in-vehicle travel time ${\tau _{{\text{p,bus,travel}}}}\left( t \right)$ and the waiting time $\tau _{{\rm{p,bus,\omega ait}}}^{\text{w}}$ of passengers at the bus stop. The waiting time is described below.

    • First we establish a bi-level optimization framework. The upper-level problem minimizes the total time spent of all road users and bus operation cost. The lower-level problem is a region-based dynamic traffic assignment model.

    • The bus optimization problem in a large-scale transportation network is formulated in a bi-level programming framework. The upper-level determines the optimal frequencies, while the lower level determines traffic behaviour decisions, which is formulated as a multi-modal DUE model with a 3D-MFD based network loading model.

    • We consider the total time spent of all road users and the bus operation cost in the upper-level model. The upper-level model is expressed as follows:

      $ \min Z\left( {\mathbf{F}} \right) = \alpha \beta {T_{{\text{system}}}} + \left( {{\text{1 - }}\alpha } \right){C_{{\text{operation}}}} $ (13)
      $ {\text{s}}{\text{.t}}{\text{. }}\sum\limits_{w \in W} {\sum\limits_{p \in P_{{\text{bus}}}^{\text{w}}} {N_{\text{p}}^{\text{w}}\left( {{\text{F}}_{\text{p}}^{\text{w}}} \right) \cdot G_{\text{p}}^{\text{w}}} \leqslant B} {\text{ }} $ (14)
      $ {\text{ F}}_{\text{p}}^{\text{w}} \in {F_{\text{p}}},{\text{ }}{F_{\text{p}}} = \left\{ {{\text{F}}_{\text{p}}^{\text{1}},{\text{F}}_{\text{p}}^{\text{2}}, \ldots ,{\text{F}}_{\text{p}}^{\text{n}}} \right\} $ (15)

      where $Z\left( {\mathbf{F}} \right)$ is the objective function, ${\mathbf{F}}$ denotes the bus frequency vector between all OD pairs ${\mathbf{F}} = \left\{ {{{\mathbf{F}}^{\text{w}}},w \in W} \right\}$. ${T_{{\text{system}}}}$ and ${C_{{\text{operation}}}}$ represent the total time spent of passengers $\left( {{\text{person}} \cdot \min } \right)$ and the operating cost $\left( {\$} \right)$ respectively. $\alpha $ and $1 - \alpha $ represent the weight coefficients of the total time spent and the operation cost, respectively. In order to unify the units, we define a time value coefficient $\beta $ (e.g., $\beta = 1.0{\$} /{\text{person}} \cdot \min $). The detailed explanations are as follows:

      (1) Total time spent of passengers ${T_{{\text{system}}}}$

      The total time spent is the product of the passenger flow and the corresponding path travel time of all paths. It is used to evaluate the bus frequency improvement on the network performance.

      $ {T_{{\text{system}}}} = \sum\limits_{t \in T} {\sum\limits_{w \in W} {\sum\limits_{p \in {P^{\text{w}}}} {f_{\text{p}}^{\text{w}}\left( {{\mathbf{F}},t} \right) \cdot \tau _{\text{p}}^{\text{w}}\left( {f_{\text{p}}^{\text{w}}\left( {{\mathbf{F}},t} \right),t} \right)} } } $ (16)

      The passenger flow $f_{\text{p}}^{\text{w}}\left( {{\mathbf{F}},t} \right)$ and the travel time $\tau _{\text{p}}^{\text{w}}\left( {f_{\text{p}}^{\text{w}}\left( {{\mathbf{F}},t} \right),t} \right)$ refer to the above sections.

      (2) Operating cost of buses ${C_{{\text{operation}}}}$

      Energy consumption, vehicle depreciation, personnel wages and so on should be considered in the operation cost. This paper assumes that the average single trip operation cost $G_{\text{p}}^{\text{w}}$ in different periods is known. Therefore, the formula of the operating cost of all buses is constructed:

      $ {C_{{\text{operation}}}} = \sum\limits_{w \in W} {\sum\limits_{p \in P_{{\text{bus}}}^{\text{w}}} {N_{\text{p}}^{\text{w}}\left( {{\text{F}}_{\text{p}}^{\text{w}}} \right) \cdot G_{\text{p}}^{\text{w}}} } $ (17)

      where $N_{\text{p}}^{\text{w}}$ is the total number of buses on path $p$, $p \in P_{{\text{bus}}}^{\text{w}}$.

      (3) Constraint condition

      Due to the limited number of buses by bus operations, the constraint condition is Eq. (15), and the operating cost cannot exceed the budget $B$. There are many bus lines in the actual bus transport network, so the combination of bus line frequency is huge. Therefore, we give a discrete selection of bus frequency $\left\{ {{\text{F}}_{\text{p}}^{\text{1}},{\text{F}}_{\text{p}}^{\text{2}}, \ldots ,{\text{F}}_{\text{p}}^{\text{n}}} \right\}$ to improve the search efficiency of the algorithm. ${\text{f}}_{\text{p}}^{\text{w}}$ is the frequency of the bus line $p \in P_{{\text{bus}}}^{\text{w}}$, ${\text{F}}_{\text{p}}^{\text{w}} \in {F_{\text{p}}},{F_{\text{p}}} = \left\{ {{\text{F}}_{\text{p}}^{\text{1}},{\text{F}}_{\text{p}}^{\text{2}}, \ldots ,{\text{F}}_{\text{p}}^{\text{n}}} \right\}$ is the alternative frequency set.

    • In this paper, the bus lines and car routes are considered as paths. Travelers choose ones' travel mode and path following the DUE rule. The travel time of bus passengers include in-vehicle time and the waiting time at bus stops. In this model, the OD demand is time-dependent. Considering the time discretization, the DUE condition of the whole network is established as follows:

      $ \begin{gathered} \tau _{{\text{p,m}}}^{\text{w}}\left( k \right) - \mu _{\text{m}}^{\text{w}}\left( k \right) = 0{\text{ if }}\forall p \in P_{\text{m}}^{\text{w}},k \in K,{\text{ }}f_{{\text{p,m}}}^{\text{w}}\left( k \right) \gt 0 \\ \tau _{{\text{p,m}}}^{\text{w}}\left( k \right) - \mu _{\text{m}}^{\text{w}}\left( k \right) \geqslant 0{\text{ if }}\forall p \in P_{\text{m}}^{\text{w}},k \in K,{\text{ }}f_{{\text{p,m}}}^{\text{w}}\left( k \right) = 0 \\ \end{gathered} $ (18)

      where $ \mu _{\text{m}}^{\text{w}}\left( k \right) $ is the minimum travel time of travel mode $ m \in \left\{ {bus,car} \right\} $ between OD pair $w$ during the time interval $k$, $ f_{{\text{p,m}}}^{\text{w}}\left( k \right) $ is the flow of path $ p $ in mode $ m $ between OD pair $w$ during the time interval $k$, $ m $ represents bus or car. The total passenger flow between OD pair $w$ is $ {\lambda ^{\text{w}}}\left( k \right) = \displaystyle\sum\limits_{m \in \left\{ {bus,car} \right\}} {\displaystyle\sum\limits_{p \in P_{\text{m}}^{\text{w}}} {f_{{\text{p,m}}}^{\text{w}}\left( k \right)} } $. The sum of any path flow between OD pair $w$ should be equal to demand ${\lambda ^{\text{w}}}\left( k \right)$, and limit all path flows to be nonnegative. $\tau _{{\text{p,m}}}^{\text{w}}\left( k \right)$ and $f_{{\text{p,m}}}^{\text{w}}\left( k \right)$ indicate that travel time and path flow are determined by the bus frequency.

      The DUE condition can be formulated as a variational inequality model. The variables are the path flows, which can be described as Eq. (17). Let ${\mathbf{f}}$ be the vector of all path flows.

      $ \sum\limits_{k \in K} {\sum\limits_{w \in W} {\sum\limits_{p \in {P_w}} {\tau {{_{\text{p}}^{\text{w}}}^ * }\left( k \right)\left[ {f_{\text{p}}^{\text{w}}\left( k \right) - f{{_{\text{p}}^{\text{w}}}^ * }\left( k \right)} \right] \geqslant 0} ,\;{\text{ }}\forall {\mathbf{f}} \in \Omega } } $ (19)

      Among which $\Omega = \left\{ {{\mathbf{f}} \geqslant 0\left| {\displaystyle\sum\nolimits_{p \in {P_{\text{w}}}} {f_{\text{p}}^{\text{w}}\left( k \right) = {\lambda ^{\text{w}}}\left( k \right)} ,{\text{ }}\forall w \in W, \; k \in K} \right.} \right\}$ is a set of feasible dynamic path flows. The travel time $\tau _{\text{p}}^{\text{w}}$ is divided into the travel time $\tau _{{\text{p,car}}}^{\text{w}}$ and the travel time $\tau _{{\text{p,bus}}}^{\text{w}}$ between OD pair $w$ considering different mode. The travel time of the passengers who choose the path $p$ by car is the experienced travel time $\tau _{{\text{p,car}}}^{\text{w}}$. For those who take buses, the travel time consists of the in-vehicle travel time and the waiting time before boarding. The mathematical expression is as follows:

      $\begin{array}{c} \tau _{{\text{p,bus}}}^{\text{w}}\left( {f_{{\text{p,bus}}}^{\text{w}}\left( {{\mathbf{F}},k} \right),k} \right) = \tau _{{\text{p,bus,travel}}}^{\text{w}}\left( {{\mathbf{F}},k} \right) + \tau _{{\rm{p,bus,\omega ait}}}^{\text{w}}\left( {{\mathbf{F}},k} \right),\\\forall p \in P_{{\text{bus}}}^{\text{w}},\;\;k \in K,\;\;w \in W \end{array}$ (20)

      where $\tau _{{\text{p,bus,travel}}}^{\text{w}}\left( {{\mathbf{F}},k} \right)$ is the in-vehicle travel time of bus which chooses $p \in P_{{\text{bus}}}^{\text{w}}$ when bus frequency ${\mathbf{F}}$ is determined. $\tau _{{\rm{p,bus,\omega ait}}}^{\text{w}}\left( {{\mathbf{F}},k} \right)$ is the average waiting time (min) of passengers who choose the path by bus. Bus frequency directly influences the waiting time of passengers. The waiting time of passengers on each path $p$ is expressed as follows:

      $ \tau _{{\rm{p,bus,\omega ait}}}^{\text{w}}\left( {{\mathbf{F}},k} \right) = \frac{{\displaystyle\sum\limits_{a = 1}^{f_{{\text{p,bus}}}^{\text{w}}\left( t \right)} {{\tau _{\text{p}}}\left( a \right)} }}{{f_{{\text{p,bus}}}^{\text{w}}\left( k \right)}},\;\;\forall p \in P_{{\text{bus}}}^{\text{w}},\;\;k \in K,\;\;w \in W $ (21)

      where ${\tau _{\text{p}}}\left( a \right)$ is the waiting time of the $a{\text{ th}}$ bus passenger on path $p \in P_{{\text{bus}}}^{\text{w}}$. We can also consider the fuel cost of cars and the ticket price of buses as the basis of mode and routing choice by assuming the passenger cost per unit time.

    • In this section, we use a double projection algorithm approach to solve the lower-level problem which is formulated as a variational inequality. The surrogate model algorithm is designed to solve the proposed bus frequency optimization problem.

    • The double projection algorithm is used to solve the dynamic traffic assignment problem in our proposed model, see Algorithm 2. The double projection algorithm is a modified method to solve large-scale VI problems. This method avoids the drawback of slow convergence due to consistently small iteration step size. The reinitialization of the step size ${\rho ^{\text{γ }}}$ is described in Algorithm 2. The applicability to solve large-scale equilibrium problems has been demonstrated. $\text{pro}{\text{j}}_{\Omega}$ (·) is an Euclidean projection map onto $\Omega $. ${{\mathbf{f}}^{\text{γ }}}(k)$ and ${\mathbf{\tau }}({{\mathbf{f}}^{\text{γ }}}(k))$ represent the path flow vector and the travel time vector at iteration $\gamma $ during the time interval $k$, respectively.

      Table 2.  Double projection algorithm.

      Input: projection step $\bar \rho $, accuracy $\varepsilon > 0$, select parameters $\beta $, $ \xi \in \left(\text{0},\text{1}\right) $, path set ${P^{\text{w}}}$
      1:Initial path demand ${{\mathbf{f}}^0}\left( k \right) = {\lambda ^{\text{w}}}\left( k \right)/\varsigma $, $\varsigma $ is the sum of path between OD pair $w$, the dynamic travel
      time ${\mathbf{\tau }}$ of all path is obtained in section "Lower-level problem". Set ${\rho ^0} = \bar \rho $, iteration $\gamma = 0$.
      2:while $G({{\mathbf{f}}^{\text{γ }}}) > \varepsilon $
      3: Compute ${{\mathbf{\bar f}}^{\text{γ }}}(k) = {\text{pro}}{{\text{j}}_\Omega }({{\mathbf{f}}^{\text{γ }}}(k) - {\rho ^{\text{γ }}}{\mathbf{\tau }}({{\mathbf{f}}^{\text{γ }}}(k)))$
      4: while ${\rho ^{\text{γ }}} > \beta \frac{{\left\| {{{\mathbf{f}}^{\text{γ }}}(k) - {{{\mathbf{\bar f}}}^{\text{γ }}}(k)} \right\|}}{{\left\| {{\mathbf{\tau }}({{\mathbf{f}}^{\text{γ }}}(k)) - {\mathbf{\tau }}({{{\mathbf{\bar f}}}^{\text{γ }}}(k))} \right\|}}$ do
      5: ${\rho ^{\text{γ }}} = \min \left\{ {\xi {\rho ^{\text{γ }}},\beta \frac{{\left\| {{{\mathbf{f}}^{\text{γ }}}(k) - {{{\mathbf{\bar f}}}^{\text{γ }}}(k)} \right\|}}{{\left\| {{\mathbf{\tau }}({{\mathbf{f}}^{\text{γ }}}(k)) - {\mathbf{\tau }}({{{\mathbf{\bar f}}}^{\text{γ }}}(k))} \right\|}}} \right\}$
      6: Compute ${{\mathbf{\bar f}}^{\text{γ }}}(k) = {\text{pro}}{{\text{j}}_\Omega }({{\mathbf{f}}^{\text{γ }}}(k) - {\rho ^{\text{γ }}}{\mathbf{\tau }}({{\mathbf{f}}^{\text{γ }}}(k)))$
      7: end while
      8: Compute ${{\mathbf{f}}^{{\text{γ + 1}}}}(k) = {\text{pro}}{{\text{j}}_\Omega }({{\mathbf{f}}^{\text{γ }}}(k) - {\rho ^{\text{γ }}}{\mathbf{\tau }}({{\mathbf{\bar f}}^{\text{γ }}}(k)))$
      9: Update travel time vector ${\mathbf{\tau }}({{\mathbf{f}}^{\gamma + 1}}(k))$ by the dynamic network loading models in previous section. Set $\gamma = \gamma + 1$
      10:end while
      Output: flow vector ${{\mathbf{f}}^{\text{γ }}}(k)$

      To evaluate the accuracy of solutions in each iteration in the double projection algorithm, a gap function is required, see Eq. (23).

      $ G\left( {\mathbf{f}} \right) = 1 - \frac{{\displaystyle\sum\limits_{k \in K} {\displaystyle\sum\limits_{w \in W} {{\lambda ^{\text{w}}}\left( k \right){u^{\text{w}}}\left( k \right)} } }}{{\displaystyle\sum\limits_{k \in K} {\sum\limits_{w \in W} {\displaystyle\sum\limits_{p \in {P^{\text{w}}}} {f_{\text{p}}^{\text{w}}\left( k \right)\tau _{\text{p}}^{\text{w}}\left( k \right)} } } }} $ (22)

      Where $ {u^{\text{w}}}(k) $ is the minimum travel time between OD pair $w$ during time interval $k$ . Convergence is declared if $ G({\mathbf{f}}) \leqslant \varepsilon $, where $\varepsilon $ is a given convergence threshold value. More details of the double projection algorithm can be found in Panicucci et al.[45].

    • Consider M bus lines in the network and N alternative bus frequencies. We can generate ${N^{\text{M}}}$ candidate plans for all bus lines. Enumerating all candidate plans to find the optimal solution is unfeasible due to the high computational complexity. The traditional heuristic algorithms for solving the bi-level model is not applicable for the large-scale network optimization problem in this paper. A surrogate-based optimization algorithm is used to solve the bi-level programming model, in which the radial basis function (RBF) is updated to approximate the total time spent of all road users in Eq. (17).

      The solution of bus optimization problem is expressed as vector ${\mathbf{y}}$. The objective function value ${\mathbf{Z}}$ can be calculated using Eq. (14). We use a predictive value scoring criterion and a distance scoring criterion based on RBF to predict the best candidate point. The weight coefficient of the distance scores is defined as $w_n^s$. The algorithm ends when the maximum number of iteration ${\gamma _{\max }}$ is reached. Otherwise, we update the RBF in next iteration. The detailed procedure of the surrogate-based optimization algorithm is shown in Algorithm 3. More details of surrogate model-based algorithm can refer to Liu & Wang[50] and Regis[51].

      Table 3.  Surrogate model-based algorithm.

      Input: the maximum iterations ${\gamma _{\max }}$, the maximum consecutive successes $ C_{{\text{success}}}^{{\text{max}}} $, the maximum consecutive failures $ C_{{\text{fail}}}^{{\text{max}}} $, the initial disturbance probability $ p_{{\text{slct}}}^{{\text{init}}} $.
      1:Initialization
      1.1 initial evaluation points set. ${I_0} = \left\{ {{{\mathbf{y}}_1},{{\mathbf{y}}_2}, \ldots ,{{\mathbf{y}}_{{{\text{n}}_{\text{0}}}}}} \right\}$, the number of evaluation points is ${n_0}$, the real objective function value vector ${\mathbf{Z}} = \left[ {Z\left( {{{\mathbf{y}}_{\text{i}}}} \right),{{\mathbf{y}}_{\text{i}}} \in {I_0}} \right]$ corresponding to each evaluation point ${{\mathbf{y}}_{\text{i}}} = \left\{ {{{\left\{ {{f_1},{f_2}, \ldots ,{f_{{{\text{n}}_{\text{0}}}}}} \right\}}^{\text{i}}}} \right\}$ (evaluation point is the bus frequency planning of each line) is calculated, and the best feasible solution with the minimum objective value $Z\left( {{{\mathbf{y}}_{\text{i}}}} \right)$ as the current optimal solution ${{\mathbf{y}}_{{\text{best}}}}$, set the iterate number $\gamma = 0$.
      1.2 initialization parameters. Initialize the counters of consecutive successes ${C_{{\text{sucess}}}} = 0$, the counters of consecutive failures ${C_{{\text{fail}}}} = 0$, the maximum number of consecutive updating success and failure of the optimal solution are $C_{{\text{success}}}^{\max }$ and $C_{{\text{fail}}}^{{\text{max}}}$, set the disturbance probability $p_{{\text{slct}}}^{\text{0}} = p_{{\text{slct}}}^{{\text{init}}}$.
      2:Repeat
      3:Update surrogate model.
      Use the evaluation point set ${I_{\text{n}}}$ and Eq. (14) to calculate the corresponding objective function value ${\prod _{\text{n}}} = \left\{ {\left( {{{\mathbf{y}}_{\text{i}}},Z\left( {{{\mathbf{y}}_{\text{i}}}} \right)} \right),{{\mathbf{y}}_{\text{i}}} \in {I_{\text{n}}}} \right\}$, and update the surrogate model ${S_{\text{n}}}\left( {\mathbf{y}} \right)$ refer to Liu[50].
      4:Candidate points set generation.
      Based on the perturbation probability $ {p_{{\text{slc}}t}} $, the candidate points set ${E_{\text{n}}}$ is generated by perturbing the value of any variable in the current optimal solution ${{\mathbf{y}}_{{\text{best}}}}$. When generating candidate points, ensure that each candidate point meets the investment constraint Eq. (15).
      5:Select the evaluation point.
      Each candidate point is scored. Set ${{\mathbf{y}}_{{\text{n+1}}}}$ as the best candidate and calculate $Z({{\mathbf{y}}_{{\text{n+1}}}})$.
      7:Update the optimal solution.
      If $Z({{\mathbf{y}}_{{\text{n+1}}}}) < Z({{\mathbf{y}}_{{\text{best}}}})$, then update the optimal solution ${{\mathbf{y}}_{{\text{best}}}} = {{\mathbf{y}}_{{\text{n+1}}}}$ and $Z({{\mathbf{y}}_{{\text{best}}}}){\text{ = }}Z({{\mathbf{y}}_{{\text{n+1}}}})$, continuous success iteration ${C_{{\text{success}}}} = {C_{{\text{success}}}} + 1$ and continuous failure iteration ${C_{{\text{fail}}}} = 0$; otherwise, let ${C_{{\text{fail}}}} = {C_{{\text{fail}}}} + 1$ and ${C_{{\text{success}}}} = 0$.
      8:Adjust disturbance probability.
      If $ {C_{{\text{success}}}} > C_{{\text{success}}}^{{\text{max}}} $, then $ p_{{\text{slct}}}^{{\text{n+1}}} = \min \{ 2p_{{\text{slct}}}^{\text{n}},p_{{\text{slct}}}^{{\text{max}}}\} $, $ {C_{{\text{success}}}} = 0 $.
      If $ {C_{{\text{fail}}}} > C_{{\text{fail}}}^{{\text{max}}} $, set $ p_{{\text{slct}}}^{{\text{n+1}}} = \max \{ p_{{\text{slct}}}^{\text{n}}/2,p_{{\text{slct}}}^{{\text{min}}}\} $ and $ {C_{{\text{fail}}}} = 0 $. Set $\gamma = \gamma + 1$.
      9:Update the evaluation points set.
      ${I_{{\text{n+1}}}} = {I_{\text{n}}} \cup \{ {{\mathbf{y}}_{{\text{n+1}}}}\} $
      10:Until $\gamma \geqslant {\gamma _{\max }}$
      Output: ${{\mathbf{y}}_{{\text{best}}}}$
    • In this section, we conduct numerical case studies to test the performance of the proposed large-scale bus frequency optimization framework. The studied network and simulation scenarios are described in the Network structure section. The simulation results are given in the Results section. We firstly display the convergence of double projection algorithm, the result of dynamic traffic assignment, and the network traffic dynamics. Then we display the convergence process of surrogate model-based algorithm. Furthermore, we compare the optimal results in four scenarios and show the effect of our proposed model considering 3D-MFD and dynamic user equilibrium. All experiments are run on a computer with an Intel(R) Core (TM) i7 3.60 GHz and 16.0 GB RAM.

    • The case study network consists of six reservoirs, including two regional OD pairs (1-6, 2-5) and eight paths (four car routes and four bus lines), as shown in Fig. 2. Each reservoir has a well-defined 3D-MFD. The 3D-MFD used in this paper as shown in Fig. 1b. The macroscopic paths sequence are as follows: four car routes $\left[ {{R_1}{\text{ }}{R_2}{\text{ }}{R_3}{\text{ }}{R_6}} \right]$, $\left[ {{R_1}{\text{ }}{R_4}{\text{ }}{R_5}{\text{ }}{R_6}} \right]$, $\left[ {{R_2}{\text{ }}{R_5}} \right]$, $\left[ {{R_2}{\text{ }}{R_3}{\text{ }}{R_6}{\text{ }}{R_5}} \right]$ and four bus lines $\left[ {{R_1}{\text{ }}{R_2}{\text{ }}{R_3}{\text{ }}{R_6}} \right]$, $\left[ {{R_1}{\text{ }}{R_4}{\text{ }}{R_5}{\text{ }}{R_6}} \right]$, $\left[ {{R_2}{\text{ }}{R_1}{\text{ }}{R_4}{\text{ }}{R_5}} \right]$, $\left[ {{R_2}{\text{ }}{R_3}{\text{ }}{R_6}{\text{ }}{R_5}} \right]$, corresponding to route 1, 2, 3, 4 and line 1, 2, 3, 4 in the table respectively. The red dotted lines represent the bus lines, and the black solid lines represent the car routes. The study period T = 300 min, time step is $\delta t$ = 60 s. The demand profile is presented in Fig. 3. Assuming that the average passenger of the car is 1.5 persons/veh, and that of the bus is 20 persons/veh.

      Figure 2. 

      Reservoir system configuration. (a) The regional OD pair (1−6). (b) The regional OD pair (2−5).

      Figure 3. 

      OD demand profile.

      The trip lengths in each reservoir by different paths are referred to in Mariotte & Leclercq[42]. For the method of estimating the trip length, we refer to Batista et al.[46] and Mariotte et al.[35]. The reservoir characteristics $L_{\text{p}}^{\text{m}}$ are presented in Table 1.

      Table 1.  Reservoir characteristics, where $L_{\text{1}}^{{\text{car}}}$, $L_{\text{2}}^{{\text{car}}}$, $L_3^{{\text{car}}}$, $L_{\text{4}}^{{\text{car}}}$ refer to the trip length of route 1, 2, 3, 4 and $L_{\text{1}}^{{\text{bus}}}$, $L_{\text{2}}^{{\text{bus}}}$, $L_{\text{3}}^{{\text{bus}}}$, $L_{\text{4}}^{{\text{bus}}}$ refer to the trip length of bus line 1, 2, 3, 4.

      Characteristics[units]${R_1}$${R_2}$${R_3}$${R_4}$${R_5}$${R_6}$
      Trip length $L_{\text{1}}^{{\text{car}}}$[m]2500500050002500
      Trip length $L_{\text{2}}^{{\text{car}}}$[m]2500500050002500
      Trip length $L_3^{{\text{car}}}$[m]25002500
      Trip length $L_{\text{4}}^{{\text{car}}}$[m]2500500025005000
      Bus line $L_{\text{1}}^{{\text{bus}}}$[m]2500500050002500
      Bus line $L_{\text{2}}^{{\text{bus}}}$[m]2500500050003500
      Bus line $L_{\text{3}}^{{\text{bus}}}$[m]5000250050002500
      Bus line $L_{\text{4}}^{{\text{bus}}}$[m]2500500025005000

      In the numerical study, the trip operation cost $G_{\text{p}}^{\text{w}} = 300{\$} /{\rm {veh}}$ for each bus line $p$, bus budget $B = 100000{\$} $, time value coefficient $\beta = 1.0{\$} /{\text{veh}} \cdot \min $. Parameters of surrogate model: disturbance probability ${p_{{\text{slct}}}} = 0.8$, the weight coefficient $w_{\text{n}}^{\text{S}} = 0.6$, the iteration number ${\gamma _{\max }} = 100$.

      In particular, we analyze the simulation results when $\alpha = 0.5$. In order to obtain the optimal solution of the model, the optimization model is solved 20 times repeatedly, and the plan with the minimum objective value is selected as the result.

      We compare the optimal solution and results in four scenarios:

      Scenario 1: Considering 2D-MFD based model and non-equilibrium condition.

      Scenario 2: Considering 2D-MFD based model and equilibrium condition.

      Scenario 3: Considering 3D-MFD based model and non-equilibrium condition.

      Scenario 4: Considering 3D-MFD based model and equilibrium condition.

      We optimize the 2D-MFD for each reservoir based on the results obtained by fitting (parabolic fitting) which match the production-MFD well[35]. The data points are based on the relationship between the production and the accumulation of vehicles in each reservoir obtained by 3D-MFD simulation. The correlation coefficient is expressed as ${R^2}$. When using different 2D-MFD, we also use Algorithm 1 for buses, and the bus speed is still related to the accumulation of cars and buses in the reservoir.

    • The convergence process of the double projection algorithm to solve the DTA problem is shown in Fig. 4. A stationary Gap value has been reached in 400 iterations.

      Figure 4. 

      Results using double projection algorithm. (a) Convergence of double projection algorithm. (b) Route choice parameters for an OD pair.

      Using the double projection algorithm, the mode and route choices of all users at each time can be obtained in Fig. 4b, the proportion of demand between origin 1 and destination 6 that chooses different routes are given. The proportion of demand between OD that choose the route $p$, denoted as $\theta _{{\text{od}}}^{\text{p}}$. For example, the proportion of the demand that chooses the particular regional path 1 and proportion choosing bus line 1 is denoted as $\theta _{{\text{16}}}^{{\text{route1}}}$ and $\theta _{{\text{16}}}^{{\text{line1}}}$, respectively.

    • Figure 5a shows the evolution of accumulation in Reservoir 1 resulting from the traffic assignment and the 3D-MFD based model with the optimal bus frequency. In order to observe the traffic flow evolution in more detail, we select the first 50 min to observe the changes of the accumulation and outflow of cars in Reservoir 1. When $t = 7$, the accumulation of cars in the reservoir exceeds the critical value, and the outflow demand of the reservoir has been rising. It can be seen from Fig. 5b that the outflow of the reservoir is inconsistent with the principle that is the minimum between its outflow demand and an exogenous restriction. This is the result of the interaction between different paths. Figure 5b shows that when calculating the effective outflow, the interaction relationship between different paths in the same reservoir should be analyzed and compared.

      Figure 5. 

      Traffic dynamics. (a) Evolution of car accumulation in Reservoir 1. (b) Evolution of outflow in Reservoir 1. (c) Evolution of inflow in Reservoir 2. (d) Evolution of inflow in Reservoir 4.

      Figure 5c & d display the inflow evolution in Reservoir 2 and Reservoir 4. The black, red and blue curves correspond to the effective inflow, inflow demand and inflow supply respectively. Note that we do not take into account the queue at the reservoir entrance. Because of the generation of travel demand in Reservoir 2 without any constraints, in Fig. 5c we can observe that there is an inflow greater than inflow supply. Since only transfer flow exists in Reservoir 4, inflow will not be greater than that of inflow supply. When the congestion disappears, its inflow supply will gradually increase, which will give more space for cars to enter this reservoir.

      Based on the 3D-MFD, the bus speed in different reservoirs can be obtained under the condition that the accumulation of cars and buses are known. We can observe the bus speed evolution in Fig. 6a.

      Figure 6. 

      Results on the (a) bus speed evolution and (b) convergence of the surrogate model based algorithm.

      We display the dynamic path and mode choices of passengers, and the traffic flow evolution model of multi-reservoir can reproduce the traffic dynamics. It can be seen from Yildirimoglu & Geroliminis[34] that the evolution of congestion predicted by the MFD-based model is consistent with the micro-simulation results, Therefore, the model can predict the effect of route guidance strategy and congestion propagation in a large urban network.

    • We use the surrogate model-based algorithm to solve the bi-level model, the algorithm can reach convergence when iterating to the 10th generation (see Fig. 6b).

    • We compared different simulation results using 2D-MFD and 3D-MFD (Scenario 2 and Scenario 4). The total time spent of passenger and operating cost using 2D-MFD and 3D-MFD respectively are shown in Table 2.

      Table 2.  Total travel time of passengers and operation cost using 3D-MFD and 2D-MFD respectively.

      Simulation3D-MFD2D-MFD
      The optimal frequency (min){3.0, 4.0, 4.0, 3.0}{4.0, 0.2, 2.0, 1.0}
      Total time spent (veh·min)106088.7593111.93
      Operation cost (${\$}$)1170044400
      The objective value (${\$}$)58894.3868755.96

      As shown in Table 2, without considering the complex interactions between buses and cars, the optimal frequency of buses is $ \left\{\text{4}\text{.0},\text{0}\text{.2},\text{2}\text{.0},\text{1}\text{.0}\right\}\mathrm{min} $, and the optimized objective value is ${\$} $68755.96. It can be seen that although the total time spent is reduced slightly, the increase of frequency of buses leads to the decrease of waiting time of passengers choosing bus lines, but at the same time, the operating cost of buses will increase significantly, on the whole, the value of the optimized objective value increases greatly.

      Then we analyze the results of equilibrium and non-equilibrium conditions using 3D-MFD based model (Scenario 3 and Scenario 4). That is to say, the path demand is known, and the influence of bus frequency optimization on travelers' path choices is not considered. We assume a simple case, that is, all the demands are distributed on each path. First, we analyze the difference optimal solution and objective value between the equilibrium type and non-equilibrium type of assignment models. The simulation results are shown in Table 3. The impact of bus frequency optimization on dynamic traffic assignment will be discussed later. Assuming that the optimal frequency is $ \left\{\text{3}\text{.0},\;\text{4}\text{.0},\;\text{4}\text{.0},\;\text{3}\text{.0}\right\}\mathrm{min} $, the optimal value under the equilibrium condition is ${\$} $58,894.38, and the optimal value under the non-equilibrium condition is ${\$} $106,334.73, which is quite different from the result under the equilibrium state.

      Table 3.  The optimal solution under equilibrium and non-equilibrium type.

      SimulationEquilibriumNon-equilibrium
      Total time spent (veh·min)106088.75177269.47
      Operation cost (min)1170035400
      The objective value $\left( {\$} \right)$58894.38106334.73

      Under non-equilibrium conditions, the total travel time of the whole network system is obviously larger than the total time spent with scenario 2.

      We also analyze the impact of varying the weight of total time spent on the studied system. In Fig. 7, we demonstrate how the weight of total time spent affects the delays and bus operation cost. As the weight (α) increases, , the total time spent decreases while the bus operation cost increases. Figure 8 depicts that the number of people opting for bus transportation increases as the weight (α) of total time spent increases. This suggests that we can encourage a shift towards bus travel by increasing the weight (α).

      Figure 7. 

      Changes in the total time spent and bus operation cost for different weight values (α).

      Figure 8. 

      The influence of the total time spent on the demand for bus travel.

      Furthermore, we summarize the results of the optimal solution in 4 scenarios: 2D-MFD and 3D-MFD based models are considered under equilibrium and non-equilibrium conditions respectively. We denote ${Z_{\text{i}}}$ as the error in the optimal objective value in scenario $i$ compared to scenario 4. That is, $\Delta {Z_{\text{i}}} = \left[ {{Z_{\text{i}}} - {Z_{\text{4}}}} \right]/{Z_{\text{4}}}$. The results of this comparison are shown in Table 4.

      Table 4.  Comparison of the results of the optimal solution in 4 scenarios.

      SimulationThe optimal
      frequency (min)
      The objective value ($ {\$} $)$\Delta {Z_{\text{i} } }$ (%)
      Scenario 1
      (2D-MFD non-equilibrium)
      {1.0, 0.5, 0.5, 0.5}68,544.69816.39
      Scenario 2
      (2D-MFD equilibrium)
      {4.0, 0.2, 2.0, 1.0}68,755.96416.74
      Scenario 3
      (3D-MFD non-equilibrium)
      {1.0, 0.5, 1.0, 1.0}65,623.04311.42
      Scenario 4
      (3D-MFD equilibrium)
      {3.0, 4.0, 4.0, 3.0}58,894.376

      In this paper, the dynamic traffic assignment model based on the 3D-MFD framework is used in the bi-level programming model to find the optimal bus frequency, that is, the bus departure interval is longer than other scenarios, seeing in Table 4, which will increase the waiting time of bus passengers, but in general, the upper level cost is smaller. The proposed bus frequency model integrating 3D-MFD and dynamic traffic assignment can achieve the best optimization results. The results reveal the value of the proposed model. And this new understanding of urban traffic network capacity is very important for formulating new strategies to improve traffic. In the future, we can integrate real-time traffic information or change the bus frequency to significantly improve the network performance.

    • We propose a bus frequency optimization framework, which considers impacts of traffic dynamics and travel mode choices. We formulate the bus frequency optimization problem as a bi-level programming problem. The upper-level problem minimizes the total time spent of passengers and bus operation cost. To achieve this, we incorporate a region-based dynamic traffic assignment model and a 3D-MFD based dynamics network loading model as the lower-level problem. Travelers determine their mode choices based on travel time, which is calculated using the network loading model. For bus travelers, the travel time comprises the time spent on roads and waiting at bus stops.

      In the 3D-MFD based model, we utilize an accumulation-based model to represent car traffic dynamics, while a trip-based model is used for bus dynamics. The accumulation of buses determines an MFD, which relates the average car speed (and the outflow) to the accumulation of cars. The bus speed is dependent on the accumulation of both buses and cars. Whenever a trip distance is completed within a reservoir, the bus exits that reservoir.

      To optimize computation time, we employ a double projection algorithm for solving the lower-level multi-modal DUE problem. Additionally, we have developed a surrogate model-based algorithm to solve the proposed bi-level programming problem.

      By incorporating these techniques, our framework offers a novel approach to bus frequency optimization that considers traffic dynamics and travel mode choices. Numerical results display the convergence result of two algorithms and the evolution of speed and accumulation in the reservoirs. We also study the bus frequency setting problem in case of multi-modal traffic networks and analyze the influence of the optimal frequency when the weight of passenger total time spent and that of bus operator's cost are changed. Then, we analyze the different optimization results between the 2D-MFD and 3D-MFD based models and equilibrium type and non-equilibrium type of assignment models. Finally, we compare the results of the optimal solution in four scenarios: 2D-MFD and 3D-MFD based model are considered under equilibrium and non-equilibrium conditions respectively. The results reveal the value of considering multimodal interactions and dynamic user equilibrium. This optimization framework ensures that determined bus frequency actually leads to efficient bus service in the transit network.

      Promoting modal shift towards public transport, particularly buses, while minimizing the total delays of all travelers, remains a significant research question in practical implementation. To encourage modal shift towards public transport, we propose a bus frequency optimization framework that focuses on improving bus operations. Our model incorporates Dynamic Traffic Assignment (DTA) to analyze modal choices, enabling us to assess the impact of bus operations on the demand distribution between buses and cars. A model without DTA would underestimate the impacts of bus operation on the modal shift and its impacts on the road traffic system.

      The proposed framework can be extended to a transportation system with a subway. The extension with a subway is in a straightforward way because it only affects the mode choices. To handle the large-scale problem, this work treats the studied city as a multi-reservoir system. To implement this aggregation approach in real life, we still need to address many other research questions, which would be the future research direction. We propose three research directions: (i) In each reservoir, several bus stops are aggregated as one virtual bus stop. An optimization approach to aggregate these bus stops is required. (ii) We assume the regional average trip length for cars is constant. But regional trip lengths vary over time[34]. We will further study the impact of heterogeneity of trip length on optimal bus frequency. (iii) The calibration and verification of the model and the algorithms would also need more effort.

    • The authors confirm contribution to the paper as follows: study conception and design: Long J; analysis and interpretation of results: Cui D, Long J, and Yuan K; draft manuscript preparation: Yuan K, Cui D, and Long J. All authors reviewed the results and approved the final version of the manuscript.

    • Data sharing not applicable to this article as no datasets were generated or analyzed during the current study.

      • This work is jointly supported by the National Natural Science Foundation of China (Grant No. 72201088, 71871077, 71925001), the Fundamental Research Funds for the Central Universities of China (Grant No. PA2022GDSK0040, JZ2023YQTD0073), which are gratefully acknowledged.

      • The authors declare that they have no conflict of interest. Jiancheng Long is the Editorial Board member of Digital Transportation and Safety. He was blinded from reviewing or making decisions on the manuscript. The article was subject to the journal’s standard procedures, with peer-review handled independently of this Editorial Board member and the research groups.

      • Copyright: © 2023 by the author(s). Published by Maximum Academic Press, Fayetteville, GA. This article is an open access article distributed under Creative Commons Attribution License (CC BY 4.0), visit https://creativecommons.org/licenses/by/4.0/.
    Figure (8)  Table (7) References (51)
  • About this article
    Cite this article
    Yuan K, Cui D, Long J. 2023. Bus frequency optimization in a large-scale multi-modal transportation system: integrating 3D-MFD and dynamic traffic assignment. Digital Transportation and Safety 2(4):241−252 doi: 10.48130/DTS-2023-0020
    Yuan K, Cui D, Long J. 2023. Bus frequency optimization in a large-scale multi-modal transportation system: integrating 3D-MFD and dynamic traffic assignment. Digital Transportation and Safety 2(4):241−252 doi: 10.48130/DTS-2023-0020

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return