Next Article in Journal
Role of Microalgae in Global CO2 Sequestration: Physiological Mechanism, Recent Development, Challenges, and Future Prospective
Next Article in Special Issue
Ride-Hailing Service Adoption and Local Context in Motorcycle-Based Societies: Case Study in Hanoi, Vietnam
Previous Article in Journal
Perception and Prioritization of Ecosystem Services from Bamboo Forest in Lao PDR: Case Study of Sangthong District
Previous Article in Special Issue
Land Consumption of Delivery Robots and Bicycle Couriers for On-Demand Meal Delivery Using GPS Data and Simulations Based on the Time-Area Concept
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Integrated Optimization of Line Planning, Timetabling and Rolling Stock Allocation for Urban Railway Lines

School of Traffic and Transportation, Central South University, Changsha 410075, China
*
Author to whom correspondence should be addressed.
Sustainability 2021, 13(23), 13059; https://doi.org/10.3390/su132313059
Submission received: 11 October 2021 / Revised: 13 November 2021 / Accepted: 17 November 2021 / Published: 25 November 2021
(This article belongs to the Collection Sustainability in Urban Transportation Planning)

Abstract

:
In order to improve train operation planning from the two perspectives of enterprise operating costs and passengers’ travel time, this paper proposes an integrated optimization model of three sub-problems, namely line planning, timetabling and rolling stock allocation for urban railway transit lines based on passengers’ travelling demands and the constraints of the urban rail line. The model features dwelling time at stations, turnaround operations at terminal stations, entering/exiting depot operations and an assignment for passengers’ travelling flow. We propose a solution method based on a metaheuristic method that simulates annealing to generate an optimal solution for the overall problem using MATLAB. Finally, we use the example of Xi’an metro line one to demonstrate the performance of the model.

1. Introduction

Urban railway systems are safe and energy efficient types of transport, and they have an important role in the public transportation of big cities due to their advantages of having high transportation capacity and high efficiency. The International Association of Public Transport points out that urban rail infrastructures had an average of 168 million passengers per day worldwide from 2000 to 2017. Moreover, this number will keep increasing as 70% of the current infrastructure was put into service since 2017. To provide passengers with more convenience and improve the operational efficiency of urban rail, more attention must be paid to the train operational organization at present and in the future. One of the most important things regarding train operational organization is to optimize an operation plan based on the time–space distribution of passenger demands and the capacities of rail infrastructures in the plan stage. An operation plan specifies the number of trips and the operation details of each trip, such as the path, arrival and departure times at stations, as well as the servicing rolling stock. Its quality has a great effect on passengers’ service level and rail enterprises’ operating costs, and it is the basis for operating rolling stock in order on the rail network in the operation stage.
Generally, the train operation plan of an urban rail system is optimized through three phases in order for it to solve problems. The first of these is the line-planning phase, which aims to fix trips’ travel paths, stop patterns, and the frequency of each type of trip service to satisfy passenger demand and infrastructure capacity constraints. Then, taking the output of the line planning problem as the input, the second phase, known as the timetabling problem, focuses on optimizing trip departure and arrival times at visited stations on the railway line. Once a timetable is generated, both the rolling stock scheduling and crew scheduling problems of the third phase are put on the agenda, which can then be solved respectively. Rolling stock and at least one driver are assigned separately for each operating rolling stock.
Although this can improve the solving efficiency by dividing the train operation planning problem into the above three sub-problems and optimizing them separately. These three sub-problems are related to each other, and it is therefore potentially easy to arrive at non-optimal solutions as the generation of a solution for one sub-problem restricts the potential solutions for the next one in the process of their staged optimization. Moreover, the exact calculations of both passengers’ travel cost and rail enterprises’ operating costs usually rely on the solutions of more than one sub-problem, rather than only one of them. Specifically, passengers’ travel costs consist of waiting time at origin stations, rolling stock time and so on. The former generally depends on the operation frequency of trips obtained in the line-planning sub-problem, while the latter rests with the timetable obtained by solving the timetabling sub-problem. Similarly, rail enterprises’ operating costs are related to not only the number of trips determined by the line-planning sub-problem, but also the serviced relations of rolling stock, which is decided by the rolling stock allocation sub-problem. In short, from the point of view of improving passenger service levels and reducing rail enterprises’ operating costs, it is necessary to make the three sub-problems of line planning, timetabling and rolling stock allocation an inter-connected whole, and achieve their integrated optimization.
Fortunately, with the great improvement of computing power and the introduction of some integrated optimization models, simultaneous line planning, timetabling and rolling stock scheduling has become possible. Michaelis, Schöbel [1] an integrated model is proposed that includes all trip routes, lines and timetables for a bus network in a particular public transportation system. Wang, Tang, Ning, Meng [2] optimized both timetabling and rolling stock circulation plans for an urban rail corridor. Wang, D’Ariano, Yin, Meng, Tang, Ning [3] studied the integration of timetabling and rolling stock circulation planning under time-varying passenger demand by proposing three solutions to a mixed-integer nonlinear model. Shi, Zhao, Zhou, Wang, Bell [4] optimized a train operational plan for an urban rail corridor considering two sub-problems, namely trip departure profile optimization and rolling stock circulation optimization. This approach is based on maximizing the headway time without considering travel passenger demand.
Our research focuses on solving the simultaneous optimizing problem of line planning, timetabling and rolling stock scheduling for an urban rail line that has only one depot for rolling stock. To be more specific, it aims to obtain an overall solution specifying not only the number of trips operating in different operation time-periods, but also their arrival and departure times at visited stations, as well as their serviced rolling stock based on a given rail line and its time–space distribution of passenger demands. One of the greatest challenges for us is to design a succinct model integrating the three sub-problems of line planning, timetabling and rolling stock allocation from the view of improving passenger service levels and reducing rail enterprises’ operating costs. A succinct model and an efficient solving algorithm will inevitably contribute to the achievement of their integrated optimization.
This research attempts to provide the following contributions to research work related to the problem of train operation planning for urban rail systems;
(1)
The formulation of a succinct integrated model to achieve the simultaneous optimization of line planning, timetabling and rolling stock allocation based on a prior set of candidate trips. It has the simplified decisions of selecting some candidate trips for operation, and further assigning their arrival/departure times and service rolling stock.
(2)
The proposal of a solution approach based on a metaheuristic-type solver namely a simulated annealing algorithm to solve the integrated model then a test of the performance of the formulated model using the data of Xian metro line 1.
The remainder of this paper is organized as follows. Section 2 focuses on literature reviews of line planning, timetabling, rolling stock allocation and their integrated optimization. The methods and materials are then presented in detail in Section 3. The three sub-problems of line planning, timetabling and rolling stock scheduling are then analyzed followed by an assignment of each trip’s service passengers with a method of determining the numbers of boarding and alighting passengers, the mathematical model is then developed, and finally the solution approach is covered. In Section 4, a case study is presented for testing the performances of our proposed method from different perspectives. This is followed by a discussion of the methods carried out and the results obtained in Section 5. Finally, the conclusion is drawn with the proposition of future works in Section 6.

2. Literature Review

The objective of line planning is to pull optimal frequencies of service to meet passenger demand while taking into account the capacity of rolling stock and the length of the operation period. In this subject, Schöbel [5] introduced the basics of line planning models, their characteristics, mathematical approaches, and algorithms. Bussieck, Kreuzer, Zimmermann [6] focused on finding an optimal choice of rail lines with periodic schedules. The research presented a mixed integer linear programming model and proposed an optimal solution to the line optimization problem by maximizing the number of direct travelers. On the other hand, a different approach to optimize the line planning assignment can be considered by minimizing the operating cost, as Claessens, van Dijk, Zwaneveld [7] focused on allocating an optimal railway line taking into account the operating costs while meeting the requirements fixed by constraints and system capacity. This model optimizes the lines, line types, routes, frequencies and rolling stock formations. However, a more generally realistic approach for line planning is a multi-objective model minimizing both passenger travel time and operating cost. This was demonstrated in ref. Borndörfer, Grötschel, Pfetsch [8], in which is proposed a multi-objective and multi-commodity flow model for the line planning problem featuring the flexible routing of passenger paths and dynamic line generation. Shi, Deng and Huo [9] presented a bi-level programming model combining a passenger train operation plan with a passenger transfer plan while considering the flow assignment on the railway passenger transfer network as lower level. This model is multi-objective, balancing between the interests of the railway corporation and the demands of passengers. Deng, Zeng, Gao, Zhou [10] proposed a multi-objective model that featured the rolling stock formation in the optimization of the train plan for urban rail transit. The proposed model optimizes all of the rolling stock’ formation length, the operational period, and trip counts together by designing a three-phase solution method. Urban transit lines can include different route modes depending on passenger demand. Each route connection type differs in its flow distribution, thus, Deng, Zeng, Gao, Bin [11] presented a model for train operation plan optimization based on passengers’ general travel expenses and operators’ benefits featuring passenger choice behavior under a multi-trip-routing mode.
The model we propose in this research aims to optimize the train operation plan for urban transit. Generally, the scheduling type for urban railway lines is regular scheduling, also known as periodic scheduling. Regular timetables feature fixed headway times between trip services during a single time period. For instance, a timetable has 3 min of time difference between two adjacent trip services during rush hours and 5 min of headway time during all operation periods outside rush hours. There are many papers that consider regular timetables, such as Nachtigall, Voget [12], which researched the compilation of timetables for a periodic serving railway network and modelled the calculation of timetables with minimal waiting time for passengers changing rolling stock. Kwan, Chang [13] applied multi-objective evolutionary algorithms to optimize a medium size mass rapid transit system with the objectives of minimizing operating costs and passenger dissatisfaction. Liebchen [14] presented a periodic-type scheduling model based on a periodic event scheduling problem. Albrecht [15] proposes a multilevel optimization algorithm to solve a demand-oriented automatic timetable for suburban railways. Su, Li, Tang, Gao [16] proposed an integrated timetable including speed profiles in the scheduling assignment. The approach is to determine the optimal speed with fixed trip time for each section then distribute the total trip time among different sections. Sun, Jin, Lee, Axhausen, Erath [17] put forward three demand-driven timetable design models for urban railway lines by demonstrating train operation using equivalent time. Wang, Tang, Ning, Boom, De Schutter [18] introduced an event-driven model based on three types of events: departure, arrival and transfer events. The model includes routing choice of passengers at transfer station and passenger travel behavior.
The rolling stock allocation assignment determines the connections between the trip services and the circulation of rolling stock between terminal station(s) and yard(s). In order to reduce operation costs, the number of rolling stock allocated should be minimized. This objective can be achieved by connecting trip services as much as possible. In this subject, Abbink, Berg, Kroon, Salomon [19] puts forward a model with an objective to find the most effective allocation of rolling stock types, sub types, and units of rolling stock to the train series with the main objective of transporting seated passengers. Fioole, Kroon, Maroti, Schrijver [20] addressed a rolling stock circulation problem by assigning rolling stock to the timetable problem by considering multi-objective operating costs and service quality. This model achieves this by combining and splitting rolling stock units’ tasks. Alfieri, Groot, Kroon, Schrijver [21] focused on determining the appropriate number, type, and circulation of rolling stock units on a railway line taking into account the shunting possibilities at the stations and the order of rolling stock units in the trains. Withall, Hinde, Jackson, Phillips, Brown, Watson [22] covered rolling stock allocation and platform allocation problems by presenting an automated approach aiming to speed up the traditional process. The research presented a detailed description about the basics of the two assignments.
Integrated optimization models for train operation plans have been developed in some papers. In fact, a mathematical model can feature multi-phase decision variables from line planning and timetabling assignments. Blanco, Conde, Hinojosa, Puerto [23] considers a generic model for line planning and timetabling on urban rail networks, with the goal of optimizing both passenger travel costs and operating expenses while taking short-turning trips into account. A metaheuristic technique is used to solve the mixed integer linear programming model. Michaelis, Schöbel [1] proposed an integrated model including all trip routes, lines and timetables in public transportation (bus network). Their approach is based on the idea that operating costs and passenger satisfaction can be computed if trip routes and schedules are known. Zhou, Shi, Chen, Deng [24] optimized the train operation plan for a network of dedicated passenger lines; the model is multi-objective, aiming to improve the quality of passenger transfer and ensure the operational benefit of the railway enterprise. This model uses a simulated annealing-based algorithm to achieve its objectives. Zhou, Tian, Deng, Qin [25] proposed an integrated optimization model of trip planning and scheduling to minimize both passenger travel costs and enterprise operating costs using a model that employed a simulated annealing algorithm. Burggraeve, Bull, Vansteenwegen, Lusby [26] describes a heuristic technique for creating a line plan from the ground up, resulting in a realistic and reliable schedule. Their approach iterates interactively, switching between line planning and timetabling to improve the robustness of the pre-generated line plan. The optimization concept optimizes the weighted summation of passenger costs and operator costs for the line planning sub-problem, while improving minimum buffer durations between line pairs for the timetabling sub-problem.
Other integrated models featured rolling stock allocation and circulation assignment. Wang, Tang, Ning, Meng [2], [Shen, Xie, Li [27] optimize both train timetabling and rolling stock circulation plans simultaneously using the same model. Wang, Tang, Ning, Meng [2] takes into account the operations of trip services, turnaround operations, entering/exiting depot operations and the number of available rolling stock. Wang, D’Ariano, Yin, Meng, Tang, Ning [3] proposes an optimization model by considering rolling stock capacity, number of available rolling stock, and entering and exiting depot operations. The model solves an integrated model of timetabling and rolling stock circulation under time- varying passenger flow demand. Optimizing the train operation plan for an urban rail corridor; Shi, Zhao, Zhou, Wang, Bell [4] uses a different approach by splitting the train operation plan problem to two sub problems. The first model optimizes the train departure profile featuring a maximum headway time function that ensures the required service for the train operation plan. Then, based on the generated timetable, the second proposed model minimizes the number of rolling stock and their circulation to and from the yard. Petersen, Larsen, Madsen, Petersen, Ropke [28] solved the integrated model of timetabling and rolling stock allocation using a large neighborhood search metaheuristic taking into consideration the waiting time of transferring passengers and the operating costs.
In Table 1, we compared published studies that aimed at optimizing train operating-planning for urban rail based on four criteria; the sub-problems included in the proposed models, the factors considered, the objectives targeted and the methodology used. In general, most studies solved the operating plan problem by integrating line planning and timetabling sub-problems to target an optimal solution. In addition, the studies considered rolling stock capacity constraints to increase the accuracy of the formulated model along with its complexity. Those problems often lead to mixed integer non-linear programming models that are solved either by transforming the model to mixed integer linear programming alternative models or by using direct approaches such as linear computing and iterative nonlinear programming.
Nevertheless, we propose in our study to integrate line planning, timetabling and rolling stock allocation sub-problems to solve the train operating planning problem. We include a passenger flow assignment where the boarding capacity of rolling stock is not a fixed value but a variable calculated at each station, which allows us to calculate more accurately passenger waiting times at stations and rolling stock dwelling time. In addition, the assignment brings into consideration the penalty associated with those passengers who are unable to board the rolling stock as an improvement to total travel costs. Due to the complexity of the model, we introduce a metaheuristic method to the solving algorithm, which allows us to keep the computation time within an acceptable range.

3. Methods and Materials

3.1. Problem Description

An urban rail line with a set of stations, denoted by k = 1 , 2 , , K is considered in this research. It has only one depot, connected to station   1 , for rolling stock staying, checking and repairing, as shown in Figure 1. Both endpoint stations have one turn-round track for rolling stock turnaround and two main tracks for up-direction and down-direction trips respectively. However, all intermediate stations have only two main tracks, and only one rolling stock of the same direction can enter a station at a time.
Note that with only one turn-round track at each terminal station, only one rolling stock can turnaround at a time. In a way, this limitation in turnaround operations leads to using more rolling stock in general, thus increasing the total enterprise’s costs to operate the rail line. However, in this study we do not take into account the total number of rolling stock operated but we consider their total operating time.
The service time range of one day is delimited by the earliest time   T s and the latest time   T e , and is expressed by   T s , T e . It is divided into a set of time periods, expressed by   T = t 1 , t 2 , , t L . Each time period, for example time-period   t l , has start time t l s and end time t l e . Moreover, the start time of the first time period t 1 satisfies   t 1 s = T s , the end time of the last time period t L satisfies   t L e = T e , and the end time of one time period must be equal to the start time of the next period, namely   t l e = t l + 1 s . The length of a single time period t l can be adjusted according to passenger demand variations i.e., a more fluctuating demand requires shorter time periods.
We consider only two types of paths for operation trips. One path is from endpoint station 1 to endpoint station   K , which we call the up-direction path. The other path is from endpoint station K to endpoint station   1 , which is called the down-direction path. Moreover, trips of each path stop at each visited station. Many candidate trips of both paths are initially generated according to a given minimum operation headway from the earliest time T s to the latest time   T e . As shown in Figure 2, the set of upstream-direction candidate trips traveling from station 1 to station   K is denoted by F u p = i | i Z + , while those of downstream-direction candidate trips travelling from station K to station 1 is denoted by F d n = j | j Z + . Each candidate trip has specified its travel path, stops and initial timetable, of which the last one may be rescheduled in our proposed method. Note that candidate trips in these two sets are ordered by their departure times at origin station. Thus, candidate trip i or j operates earlier than trip i + 1 or   j + 1 .
For every time period t l , the initial frequency of service f i n i is provided by a set of candidate trips. Providing a maximum travelling capacity, the initial set of candidate trips are generated with a minimum headway time h m i n between two consecutive trips. Each upstream trip   i or downstream trip j must stop at every station k in its path for a specific dwelling time τ i , k , allowing the boarding and alighting of passengers.
Obviously, the pre-initialized candidate trips are the maximum number of possible provided trips under the rail capacity limitation. If the passenger demand in each time-period is enough to operate all candidate trips with minimum headway, then all candidate trips must be chosen to operate. However, in most cases, there are some time periods that do not have enough passenger demand, and thus some candidate trips should not be chosen to operate.
To summarize, our integrated problem aims to choose some candidate trips from two sets to operate according to the demands of time periods, and further reschedule them and optimize their rolling stock service. For a better understanding, in the next section we will first describe line planning, timetabling and rolling stock scheduling sub-problems based on given set of two candidate trips, and then declare our studied integrated problem considering them together.
Traditionally, the line planning sub-problem is to determine the origin, destination, itinerary and frequency of services. However, in this study we consider a layout that allows one single itinerary for each trip direction. Moreover, we only consider full-length services, therefore the origin and destination of each same-direction trip is the same as they begin from one terminal station and end at the other terminal station at the end of the service trip. Thus, we aim to solve this sub-problem by selecting some candidate trips from a generated set of candidate trips to provide sufficient frequency for each time period based on its passenger demand. For this matter, we introduce two binary variables:
θ i = 1 i f   t h e   u p d i r e c t i o n   c a n d i d a t e   t r i p   i   i s   s e l e c t e d   f o r   o p e r a t i o n 0 o t h e r w i s e
θ j = 1 i f   t h e   d n d i r e c t i o n   c a n d i d a t e   t r i p   j   i s   s e l e c t e d   f o r   o p e r a t i o n 0 o t h e r w i s e
As we know, the number of provided trip services cannot exceed the maximum, which depends on the minimum headway in each time period. As we initialize candidate trips based on the minimum headway, even when all candidate trips of one time period are chosen to operate, this requirement is still satisfied.
i F l u p θ i t l / h m a x                   l
j F l d n θ j t l / h m a x                   l
where t l is the length of time period   t l , and h m a x   is the maximum headway between two consecutive trips to maintain quality of service.
After we get the provided trip services, we also have to determine their arrival times and departure times at each visited station, which is regarded as the timetabling sub-problem. Thus, we introduce four decision variables for upstream and downstream direction trip services, respectively.
d i , k :   departure   time   of   upstream   trip   service   i   from   station   k
d j , k :   departure   time   of   downstream   trip   service   j   from   station   k
a i , k :   arrival   time   of   upstream   trip   service   i   to   station   k
a j , k :   arrival   time   of   downstream   trip   service   j   to   station   k
Timetabling must make trip arrival and departure times satisfy many operation requirements, such as the minimum headway, travel time in each rail section and required dwell times at stations.
All trips must depart from stations after the earliest operation time T s , and also must arrive at stations before the latest operation time T e in one day. Thus, the departure and arrival times of trip services must fall between an operation time range   T s , T e , namely,
T s · θ i d i , k T e · θ i T s · θ i a i , k T e · θ i   i F u p , k
T s · θ j d j , k T e · θ j T s · θ j a j , k T e · θ j j F d n , k
Equation (3) ensures that if an up-direction trip service is selected, i.e.,   θ i = 1 , then its departure times and arrival times must fall between the start and end time of the operational day, namely   T s d i , k T e and   T s a i , k T e . Otherwise, its departure times and arrival times must be equal to 0. Similarly, Equation (4) makes sure each down-direction trip service satisfies this requirement.
The minimum travel time of a trip between two adjacent stations depend on the section’s mileage, rolling stock speed and whether it stops at stations. As we assume that all trips stop at each visited station, the trip’s minimum travel time in a section can be viewed as a fixed value. Thus, the time difference from entering into the section to its leaving from there cannot be lower than this minimum fixed travel time.
a i , k + 1 d i , k θ i · r i , k i F u p , k
a j , k d j , k + 1 θ j · r j , k   j F d n , k
Note that as Equations (3) and (4) ensure that if a trip service has not been selected, then its arrival and departure times are 0, so for a non-chosen trip, Equations (5) and (6) automatically set its section travel time to 0.
For passengers having enough time boarding and alighting a rolling stock, a required minimum dwell time of a rolling stock at a given station is needed and it can be described as a function of the number of boarding and alighting passengers at a station,
τ i , k = t A , B · A i , k + B i , k + t r i F u p ,   k
τ j , k = t A , B · A j , k + B j , k + t r j F d n , k
where t A , B is the average time required for the boarding and alighting of a passenger, t r is the average reaction time of passengers to boarding and alighting operation, A i , k and A j , k are the number of passengers alighting from trip services i and j respectively to station k , and B i , k and B j , k are the number of passengers boarding to trip services i and j respectively from station k .
Thus, the trip’s actual dwell time, namely, the time difference between the departure time and arrival time of all trip services at a given station should be no less than the minimum required dwell time,
d i , k a i , k θ i · τ i , k i F u p , k
d j , k a j , k θ j · τ j , k j F d n , k
Equations (9) and (10) make sure the operation trips’ dwell times are no less than the minimum required values and the non-chosen trips’ dwell times are 0 under the action of Equations (7) and (8).
As only one same-direction trip can stay at the middle station on the rail line at most, when a trip departs from a station, only then may another same-direction trip be allowed to arrive at the station. Therefore, the following two Equations must be satisfied,
d i , k a i , k + 2 θ i θ i · M h m i n 2 θ i θ i · M i < i F u p , k = 2 , 3 , , K 1
d j , k a j , k + 2 θ j θ j · M h m i n 2 θ j θ j · M j < j F d n , k = 2 , 3 , , K 1
The time difference between two consecutive trips is set to guarantee the safety of the operation. The departure and arrival times of two consecutive service trips must satisfy the safety conditions:
a i , k a i , k + 2 θ i θ i · M h m i n 2 θ i θ i · M i < i F u p , k , l
a j , k a j , k + 2 θ j θ j · M h m i n 2 θ j θ j · M j < j F d n , k ,   l
d i , k d i , k + 2 θ i θ i · M h m i n 2 θ i θ i · M i < i F u p , k ,   l
d j , k d j , k + 2 θ j θ j · M h m i n 2 θ j θ j · M j < j F d n , k ,   l .  
where M is a sufficiently large number.
Equations (13) and (14) consider upstream trip services; if two consecutive trip services are selected i.e., θ i = θ i = 1 , then the headway time condition must be satisfied:   a i , k a i , k h l . Otherwise, if one trip service is not selected then the Equation is automatically verified. For instance, if   θ i = 0 , then   a i , k 0 . However, if none of the trip services are selected, then the Equation is obviously verified when the departure and arrival times are non-existing.
Similarly, Equations (15) and (16) make sure each down-direction trip service satisfies this requirement.
To ensure that all selected trips can be provided, we still have to assign a rolling stock to each trip. Of course, we have to consider the use-cost of rolling stock in this process. For example, assigning the same rolling stock to multiple trips. This problem is called the rolling stock allocation problem.
When an upstream direction trip i reaches terminal station K , the rolling stock must turnaround to provide the next trip j as there is no depot at this station. However, we must choose one from many upcoming trips. Thus, we introduce a binary variable for trip connections at station K :
δ i , j = 1 a   r o l l i n g   s t o c k   c o n t i n u e s   t o   s e r v i c e   t r i p j   a f t e r   s e r v i c i n g   i   a t   s t a t i o n   K 0 o t h e r w i s e
As for station   1 , when a downstream trip service   j   arrives, the rolling stock can either enter into the depot or turnaround to provide an upcoming trip service   i . In this case, we have to firstly decide whether it enters into depot or turnaround for servicing another trip. If the latter is chosen, we still must decide which trip should be serviced after servicing trip   j . Thus, we introduce two decision variables for the circulation of rolling stock to the depot.
δ j , p = 1 t h e   r o l l i n g   s t o c k   s e r v i c i n g   t r i p   j   e n t e r s   t h e   d e p o t 0 e l s e
δ j , i = 1 t r a i n   s e r v i c e s   i   a n d   j   p r o v i d e d   b y   t h e   s a m e   r o l l i n g   s t o c k 0 t r a i n   s e r v i c e s   i   a n d   j   p r o v i d e d   b y d i f f e r e n t   r o l l i n g   s t o c k s
Obviously, if   δ j , p = 1 , then δ j , i must be 0 for any trip   i ; and if   δ j , p = 0 , then there must be one trip i satisfying   δ j , i = 1 .
For a rolling stock, before servicing an up-direction trip   i , it can either stay at the depot or service one down-direction trip   j . However, before servicing a down-direction trip   j , it has only serviced one up-direction trip i as the start station K of a down-direction trip j doesn’t connect to the depot. Thus, we have to introduce the following binary variable to describe whether a rolling stock comes from the depot before servicing an up-direction trip   i .
δ p , i = 1 t h e   r o l l i n g   s t o c k   s e r v i c i n g   t r i p   i   e x i t s   t h e   d e p o t 0 e l s e
Note that the decision of which down-direction (upstream direction) trip is serviced by a rolling stock before it services an upstream direction (downstream direction) can be described by variables δ j , i and   δ i , j .
Similarly, if   δ p , i = 1 , then δ j , i must be 0 for any trip   i ; and if   δ p , i = 0 , then there must be one trip i satisfying   δ j , i = 1 .
Figure 3 illustrates all possible operations at terminal stations. At first, the connection of trip services i and j at station terminal K with turnaround operation namely   δ i , j = 1 . Then, when trip j arrives to station 1 , as there is no connection to up-direction trip   δ j , i + 1 = 0 ; the rolling stock goes back to the depot   δ j , p = 1 . This also implies that the next upstream trip i + 1 must come out from the depot   δ p , i = 1 .
Contrary to the previous connection at end station   K , when trip i + 1 arrives to the station, it does not connect with the next downstream trip j namely   δ i + 1 , j = 1 . In this situation, the rolling stock servicing trip i + 1 stays at the station from an upcoming connection. Finally, when the downstream trip j arrives to station   1 , it does connect with trip i namely   δ j , i = 0 .
For an upstream candidate trip service   i , it must be serviced by a rolling stock only when it is selected for operation, thus it satisfies the following requirements,
δ p , i + j δ j , i = θ i i F u p
j δ i j = θ i i F u p
Equation (17) ensures that if an upstream candidate trip i is not selected, namely   θ i = 0 , then there is no rolling stock coming from depot to service it   δ p , i = 0 , and no rolling stock after servicing a downstream direction trip to service it, that is   j δ j , i = 0 . Otherwise, there must be a rolling stock, which either comes from depot or finishes servicing a downstream direction trip, to service trip   i .
Equation (18) further makes sure that if upstream candidate trip i is not selected, namely θ i = 0 , then there is no rolling stock after servicing trip i to service trip j , that is j δ i j = 0 ; otherwise, there must be rolling stock which services trip i to service trip j assuring   j δ i j = 1 .
Similarly, for a downstream candidate trip j , only when it is selected for operation, then it must be serviced by rolling stock, which must service an upstream trip   i before servicing trip j , and can either enter the depot or turnaround at the station to provide the next trip service   i when finishing servicing trip j and arriving at terminal station 1.
i δ i j = θ j j F d n
i δ j , i + δ j , p = θ j   j F d n
As detailed in the timetabling sub-problem, at each intermediate station, it is allowed that only one rolling stock at most stays in there at a time for each direction, as generally there is only one track for rolling stock dwelling for each direction. However, at the terminal station, the rolling stock has to turnaround and we must consider the rolling stock of both directions, and make the number of upstream direction or downstream direction rolling stock no more than the two-dwell tracks for the two directions of rolling stock. For example, when a trip i arrives at station   K , and then turns around to continue trip   j , obviously in the time range from a i , K to   d j , K , this rolling stock will stay at station K and occupy one track, and then only one more rolling stock can be allowed to arrive there in the time range, as shown in Figure 4.
Denote F u p t 1 , t 2 = { i t 2 > a i , K > t 1 } as the set of upstream direction trips arriving at station K in time range   t 1 ,   t 2 , and F u p t 1 , t 2 is the number of trips in set   F u p t 1 , t 2 .
M · θ i 1 F u p a i , K , j δ i , j · d j , K 1 + M · 1 θ i i F u p , j F d n
Specifically, for the rolling stock servicing an upstream direction trip i which means θ i = 1 , the departure time of its next servicing downstream direction trip can be determined by j δ i , j · d j , K , then the number of upstream direction trips arriving at station K from a i , K to j δ i , j · d j , K is equal to 0 or 1 ; otherwise, if trip i   has not been selected for operation, then this Equation does not work.
Similarly, at station 1 , there are only two rolling stock at most dwelling there at the same time. However, compared with the station K where the rolling stock must turnaround, rolling stock at station 1 can either turnaround or enter the depot after servicing one downstream direction trip. Denote F d n t 1 ,   t 2 = { i t 2 > a i , K > t 1 } as the set of upstream direction trips arriving at station 1 in time range   t 1 , t 2 , and F d n t 1 ,   t 2 is the number of trips in set   F d n t 1 ,   t 2 . Specifically, for each downstream direction trip j selected for operation, when the rolling stock servicing it arrives at station 1, if it continues to service an upstream direction trip, namely   i δ j , i = 1 , then its departure time can be determined as   i δ j , i · d i , 1 , and the number of trips arriving at time range a j , 1 , i δ j , i · d i , 1 should be 0 or 1. Thus, the following constrain should be satisfied.
M · θ j + i δ j , i 2 F d n a j , 1 , i δ j , i · d i , 1 1 + M · 2 θ j + i δ j , i   j F d n
When two upstream and downstream trip services i and j are connected by the same rolling stock, a minimum turnaround time is required to allow preparation of the rolling stock. The minimum value of turnaround time is based on parameters such as cleaning time, the signaling system, the characteristics of the rolling stock etc. The following Equation fixes the minimum turnaround requirement at terminal station   K :
d j , K a i , K t m i n t u r n M · 1 δ i , j             i F u p ,   j F d n j F d n
where t m i n t u r n is minimum turnaround operation time at terminal stations.
Similarly, the minimum turnaround requirement at terminal station 1 is covered by the following Equation:
d i , 1 a j , 1 t m i n t u r n M · 1 δ j , i i F u p ,   j F d n
Although the above three sub-problems have different decision variables, they are all related. This research is devoted to optimizing them together to achieve a better train operation plan consisting of line planning, timetabling and rolling stock planning. As the details have been discussed above, here we simply list the decision variables of our studied integrated optimizing problem, presented in Table 2.
Meanwhile, we summarize and list all parameters considered in the integrated problem in Table 3.
All assumptions in our studied integrated problem are summarized as follows.
1.
Only one rolling stock can enter a station at a time,
We based the first assumptions on the fact that many urban rail systems operate with the principle of first-in first-out across all stations as the platform receives one direction trip at a time.
2.
Only full-length services are taken into account i.e., each servicing trip travels from one terminal station all the way to the other terminal station,
In some specific urban transit systems where the passenger flow is unbalanced between sections of the railway line, the railway line is designed accordingly with the possibility of short turning operations at intermediate stations in addition to full-length services allowing the increase of trips at busiest sections of the railway line. However, this is not the case in the majority of urban transit railway lines, as full-length servicing trips travelling from two endpoints of the railway line are sufficient to transport all passengers accordingly.
3.
Overtaking operations are not considered i.e., each service trip stops at each station on its path,
In some busy urban railway lines, scheduling express service trips in the timetable allows the transportation of passengers more efficiently. This type of operation allows an express trip to overtake a normal trip stopping at a given station. However, this way of operating the railway line is implemented in the most crowded urban rail systems, but is not necessary for the majority of normal urban transit systems.
4.
There are no limits for parking rolling stock in the depot,
Real-time management of the railway line includes the operation of rolling stock within the depot. Usually, it is planned once the timetable and rolling stock allocation are fixed. However, management of rolling stock inside the yard falls outside the focus of this study therefore we do not take into account the limit of rolling stock to park within the depot.
5.
The formation and capacity of rolling stock are considered fixed forming a carrying capacity   C ,
In urban rail transit lines, the composition includes rolling stock connected to locomotives. This composition can be changed depending on passenger flow requirements allowing the reduction of operating costs. However, for most systems the composition used during the whole day is fixed for the sake of simplicity, which results in a fixed carrying capacity for all rolling stock.

3.2. The Assignment of a Trip’s Service Passengers Based on Queuing Theory

The aim for this assignment is to calculate the numbers of boarding and alighting commuters from those provided trips to each station. We introduce a parameter λ k , k t to describe passenger demand, i.e., rate of passengers at time t arriving to station k willing to travel to station k . All parameters and variables included in this assignment are listed in Table 4 and Table 5 respectively.
In regards to minimizing the travel cost of passengers, the most contributing factor is the minimization of their waiting time. With the congestion of passengers in stations during peak hours, passengers will not be able to get in a rolling stock as soon they arrive to the station and thus, their waiting time may differ depending on how fast they can board the rolling stock. In addition to that, the consistency of servicing trips passing by the station is another influence on their waiting time.
When a rolling stock departs from station k , some passengers may queue at station k , and they have different destinations. As passengers of various destinations have the same priority to board the arriving rolling stock based on the first-in, first-out rule.
We define   ω i , k u p , ω j , k d n as the dividing time; while trip i or j departs from station k , passengers entering into station k before time ω i , k u p / ω j , k d n can board the rolling stock servicing trip i or j or its previous rolling stock to travel, but those passengers arriving later than time ω i , k u p cannot board them. For instance, passengers arriving at the station at a time when the rolling stock has not departed yet but already reached its maximum capacity i.e., they have arrived after ω i , k u p / ω j , k d n , those passengers cannot get in the rolling stock and have to wait for the next one.
For any dwelling rolling stock at station k , its dividing time can be determined by,
ω i , k u p = m i n d i , k , t * i F u p , k
ω j , k d n = m i n d j , k , t * j F d n , k
where t * is the end time for making passengers entering into station k reach rolling stock available capacity   C k . We determine t * differently depending on the train number.
For the 1 st trip, it can be decided by,
k = k + 1 , k + 2 , T s t λ k , k t d t = C i , k i < i F u p , k , k
k = k 1 , k 2 , T s t λ k , k t d t = C j , k j < j F d n , k , k
For the i t h trip, time   t * can be decided by,
k = k + 1 , k + 2 , ω i , k u p t λ k , k t d t = C i , k i < i F u p , k
k = k 1 , k 2 , ω j , k d n t λ k , k t d t = C j , k j < j F d n , k
C i , k and C j , k are the available capacities of rolling stock servicing trips i and j respectively when arriving at a given station k . When the rolling stock arrives to terminal stations 1 or   K , the available capacities are determined as follow,
C i , k = θ i , k · C i F u p , k
C j , k = θ j , k · C j F d n , k
Otherwise, when the rolling stock arrives to an intermediate station, its available boarding capacity is calculated based on max rolling stock capacity C and the accumulated numbers of boarding and alighting passengers at previous stations as follows,
C i , k = C k = 1 k 1 B i , k + k = 1 k A i , k i F u p , k , k
C j , k = C k = K k + 1 B j , k + k = K k A j , k j F d n , k , k
For rolling stock departing from station   k , the number of passengers travelling from station k to station k is calculated as follows,
B i k , k = t ω i , k u p λ k , k t d t i F u p , k , k
B j k , k = t ω j , k d n λ k , k t d t j F d n , k , k
where t = T s   f o r   f i r s t   s c h e d u l e d   t r a i n s ω i 1 , k u p / ω j 1 , k u p   f o r   i t h   a n d   j t h   t r a i n s .
Based on B i k , k and   B j k , k , we calculate the numbers of passengers to enter and exit the rolling stock. As the number of passengers alighting from the rolling stock at station k can be determined based on passengers boarding before station   k ,
A i , k = k = 1 k 1 B i k , k i F u p , k , k
A j , k = k = K k + 1 B j k , k j F d n , k , k
Similarly, the total number of passengers boarding the rolling stock at station k is,
B i , k = k = k + 1 , k + 2 , B i k , k i F u p , k , k
B j , k = k = k 1 , k 2 , B j k , k j F d n , k , k
Based on boarding and alighting passengers at station k , we determine the number of passengers inside the rolling stock travelling within section k , k + 1 by,
G i , k = G i , k 1 + B i , k A i , k i F u p , k
G j , k = G j , k 1 + B j , k A j , k j F d n , k
During the service day, some passengers are unable to travel using the rolling stock due to their late arrival at the station either after the last rolling stock reaches its max capacity or after its departure, the numbers of those passengers can be determined by
G k , l a t e u p = ω i * , k u p T e λ k , k t d t i * F u p , k , k
G k , l a t e d n = ω j * , k d n T e λ k , k t d t j * F d n , k , k
where i * and j * are last scheduled trips during the day.

3.3. Model Formulation

All decision variables of the integrated model are listed in Table 1 while the variables related to the assignment for a trip’s service passengers are listed in Table 3. In this section, we introduce the objective function with a list of Constraints related to decision variables. A better train operation plan can not only provide passengers with less travel cost, but also should have less operating cost from the point of view of the rail enterprise.
An improvement in passengers’ service satisfaction requires reducing the overall travel time. In this study, we consider all travelling passengers and those unable to travel due to their late arrival at the end of service. For the first part, we take into account some events that commuters go through including riding time during the trip, waiting time at the station and fare cost. With these, we introduce an average time value of passengers   β to estimate the total travel cost.
First, we consider the time that passengers spend during their ride in the rolling stock. This is described as the accumulated time required for rolling stock to cross those included sections in passengers’ trip plus the dwell time of the rolling stock at stations. Hence, we formulate passengers’ ride time as follows,
R = k = 1 K 1 i F u p G i , k · θ i · a i , k + 1 d i , k + τ i , k + k = K 2 j F d n G j , k · θ j · a j , k 1 d j , k + τ j , k
Second, before commuters can board the rolling stock they wait at the platform for a given time. We determine that based on the instant at which the passenger enters the station and the departure time of the boarded rolling stock,
W = i k = 1 K 1 t = t ω i , k u p d i , k t · B i , k + j k = K 2 t = t ω j , k d n d j , k t · B j , k
where t = T s   f o r   f i r s t   t r a i n s ω i 1 , k u p / ω j 1 , k u p   f o r   i t h   a n d   j t h   t r a i n s For most urban rail transit systems, the travel fare costs are not accumulated based on the sections travelled i.e., when a passenger travels from station k to station k + 3 , the fare cost is not necessarily equal to the summation of all fare costs of the travelled sections namely: k , k + 1 , k + 1 , k + 2 and k + 2 , k + 3 , and they might even be equal in cost although the difference between the distances travelled are very important. In fact, the travel fare cost is logically proportional to the trip length. In this regard, introducing a passenger fare rate and based on the mileage of the trip, we formulate the accumulated fare cost of passengers as follows,
P = p · l k k i F l u p θ i · B i k , k · w k , k + k k j F l d n θ j · B j k , k · w k , k
where p is the fare rate per p e r s o n . k m and w k , k is the mileage of section originating from station k to station   k .
To summarize, we include a parameter to estimate the average time value of passengers for the minimization function related to passengers’ travel cost. The first function is formulated as follow,
Z 1 = β · W + R + p · P
where β is average time value of passengers, W is waiting time of passengers, R is passengers riding time inside the rolling stock and P is travel fare cost.
To consider late-arriving passengers unable to travel during the service day, we introduce a penalty cost   P n ,
Z 2 = P n · k G k , l a t e u p + G k , l a t e d n
Generally, we can choose to reduce the number of used rolling stock or minimize their total service time as an optimization objective. For example, Wang, Tang, Ning, Meng [2] proposes three objectives including minimizing the number of rolling stock and headway time variations. In a different way, Su, Tao, Hu [29] reduces train operational costs by considering engine time of rolling stock. This research chooses the latter as another objective, namely the cost related to travel time of service trips.
Basically, the accumulated travel time of a service trip includes the running time between stations i.e., counting the time difference between the departure time from the previous station and the arrival time to the next station, the time required to achieve turnaround operations at terminal stations in case two consecutive trips are serviced by the same rolling stock and finally the time spent by rolling stock entering and exiting the depot when circulations to and from the depot are required. Hence, to formulate the total costs of servicing time, we introduce a cost per time unit of service and two parameters to represent the time required for rolling stock to enter and exit the depot   t e n t e r , t e x i t :
Z 3 = c · ( l i F u p k θ i · a i , k + 1 d i , k + l j F d n k θ j · a j , k 1 d j , k + t m i n t u r n · δ i , j + t m i n t u r n · δ j , i + t e n t e r · j F d n δ j , p + t e x i t · i F u p δ p , i )
where c is the cost per time unit of service, r i , k and r j , k are the minimum running time of rolling stock servicing i and j from station k to the next station, t m i n t u r n is the minimum value of turnaround time at terminal stations, t e n t e r and t e x i t are the times required for rolling stock to enter the depot and exit the depot.
Finally, the objective function includes all three objectives featuring a weight factor α to allow emphasizing on either minimizing passengers’ travel costs or enterprise’s operating costs according to the needs, namely:
min Z = α · Z 3 + 1 α · Z 1 + Z 2
where α is a weight factor.
The Constraints of the multi-objective integrated model include conditions related to: selection of servicing trips (1) and (2), headway time (11), (16), rolling stock running time (5), (6), dwell time at stations (7)–(10), rolling stock circulation plan (17)–(20) and turnaround at terminal stations (21)–(24).

3.4. Solution Approach

The multi-objective function presented in Equation (51) is a mixed integer nonlinear type problem. It is difficult to study the complexity of the model; however, tackling the problem from the primal side allows one to find a feasible and optimal solution quickly. To take a primal-side approach is to resort to meta-heuristic algorithms such as Tabu search, SA or genetic algorithms.
We propose to solve the model by applying a simulated annealing-inspired algorithm. Introducing an influence T and a parameter related to the difference between function values when moving from a current solution to the next one   394; Z . The algorithm approach is based on two cycles, the outer cycle is based on the value changes of parameter T , when the value of parameter T is high; the algorithm has the tendency to allow the exploration of a higher number of solutions by considering non-optimal moves as the machine explores as many solutions as possible. However, when the value of T is low; the algorithm tends to work as a hill climbing where the algorithm most likely moves to a solution that has a better function value. To decide whether the machine moves from the current solution to the next one, a probability function is introduced P = e T / Δ Z .
For the initialization of the algorithm, we set an initial influence value T i n i , the inner cycle iteration index is   x = 1 and the optimal solution   Z * = 0 . To generate the first feasible solution, we mainly decide it based on a probability function for non-peak hours; the conditions set by Equations (1) and (2) must be verified each time in order to satisfy the minimum requirement for transportation service. In the following, we consider the total number of commuters to travel during the time period to decide about the selection of the next trip. In case both previous possibilities are covered and verified, we rely on random function to generate a real number, where it is compared with 0.5 ; if the condition r a n d < 0.5 is verified then the trip is provided as we set θ i = θ j = 1 otherwise   θ i = θ j = 0 . At the end of each time period, we calculate the headway time   h l = t l / i F l u p θ i . Considering the important passenger demand during peak hours, we select all possible trips during a single time period as we set θ i = θ j = 1 for all trips and we set the headway time to be equal to its minimum requirement h l = h m i n . Algorithm 1 is designed as follows,
Algorithm 1. Randomized solution search.
Initialization
Set y = 1 ;   T = T i n i ;  
x = 1 ; l = 1 ;
Randomized search
i = l 1 · t l h m i n + 1 ; j = l 1 · t l h m i n + 1 ;
Check   if   l corresponds to peak hours:
Then set h l = h m i n ; θ i = θ j = 1 ;
Otherwise check if Equations (1)/(2) are verified
Then check if i F l u p θ i t l s t l e k k λ k , k t / j F l d n θ i t l s t l e k k λ k , k t
Then verify whether r a n d < α and set θ i = 1 ; θ j = θ i ;
Otherwise set θ i = 0 ; θ j = θ i ;
Otherwise check whether i F l u p θ i > t l / h m i n and set θ i = 1 ; θ j = θ i ;
Otherwise set θ i = 0 ; θ j = θ i ;
Otherwise set θ i = θ j = 1 ;
Calculate h l
The search for the next solution search is based on the current one i.e., the initial state of provided trips for the new solution is copied from the current solution. At this point, a single change in the main variables θ i and θ j is considered a move to a neighbor solution. In this context, for a given solution two possible moves are allowed: adding a trip or reducing one. For this matter, we introduce a new move variable as binary one to decide which move to take   m = 0 , 1 . This decision variable is influenced by a parameter ε relying on the condition   r a n d > ε ; if the condition is verified, we set   m = 0 and we add a trip for service to a specific time period, otherwise we set   m = 1 and we reduce a trip from service as shown in Figure 5. A close value of ε = 1 will have higher probability to reduce trips as the algorithm emphasis is on reducing enterprise operating costs. On the contrary, a close value to ε = 0 will most likely schedule a higher number of trips in order to emphasize improving passengers’ comfort.
Once the moves nature is decided, the next assignment is to find the most suitable time period. Here we base this decision on the number of available empty seats in rolling stock during a single time period   C m a x . For instance, when   m = 1 the priority is to reduce a trip from the least crowded rolling stock i.e., rolling stock with highest available empty seats. On the contrary, when   m = 0 the priority is to provide more transportation capacity to most crowded time periods as shown in Figure 6 which translates to the least available empty seats   C m i n . We finalize this process by calculating the headway time   h l . The Algorithm 2 for this neighbor solution search is designed as follows,
Algorithm 2. Neighbor solution search.
Set θ i c u r r e n t = θ i p r e v i o u s ; θ j c u r r e n t = θ j p r e v i o u s ;
Check if r a n d > ε
Then set   m = 1 ;
Find C m a x and set l as the prioritized time period
Find the last provided trip in the time period and set   θ i = θ j = 0 ;
Otherwise set   m = 0 ;
Find C m i n and set l as the prioritized time period
Find the first none provided trip in the time period and set θ i = θ j = 1 ;
Calculate h l
At this point, all trips of a single time period are generated and the next steps will allow scheduling their departure and arrival times at each station. Firstly, we calculate the departure time of the trip d i , k / d j , k from a specific station based on headway time h l which must verify Equations (3) and (4) if not the trip is not provided in the first place which sets d i , k = 0 / d j , k = 0 . Then, rolling stock carrying capacity C i , k / C j , k are calculated based on Equations (31)/(32) if k = 1 / k = K , otherwise the calculation is based on Equations (33)/(34). The time limit for passengers to board the rolling stock is a function of the carrying capacity, which is calculated based on Equations (29) and (30) at terminal stations k = 1 / k = K   and based on Equations (27) and (28) at intermediate stations. The process progresses in a linear form with the calculation of passengers travelling in section k , k inside the rolling stock servicing trip i and j   B i k k / B j k k based on Equations (35) and (36). Similarly, the number of boarding passengers to rolling stock servicing trips i and j at station k   B i , k · / B j , k are calculated based on Equations (39) and (40), and the number of alighting passengers from trips i and j at station k   A i , k / A j , k based on Equations (37) and (38). The numbers of commuters to travel with trips i and j from station k to   k + 1 / k 1   are calculated based on Equations (41) and (42) and the dwelling time of rolling stock at stations   τ i , k / τ j , k based on Equations (7) and (8). With the new values of dwelling time at stations, we readjust the values of trips departure times from stations based on Equations (9) and (10) which is followed by arrival time of trips to stations a i , k + 1 / a j , k 1 based on Equations (5) and (6). Finally, Equations (3) and (4) are verified again to make sure all variables satisfy the total operating time starting from   T s until   T e . The Algorithm 3 for passenger flow assignment is designed as follows,
Algorithm 3. Passenger flow assignment and timetabling.
Calculate d i , k / d j , k based on h l
Check if Equations (3) and (4) is verified:
Keep d i , k / d j , k value
Otherwise set:   d i , k = 0 ;/ d i , k = 0 ;
Calculate C i , k / C j , k :
Based on Equations (31) and (32) if   k = 1 / k = K
Based on Equations (33) and (34) otherwise
Calculate t * :
Based on Equations (29) and (30) if k = 1 / k = K
Based on Equations (27) and (28) otherwise
Calculate B i k , k / B j k , k based on Equations (35) and (36)
Calculate B i , k / B j , k based on Equations (39) and (40)
Calculate A i , k / A j , k based on Equations (37) and (38)
Calculate G i , k / G j , k based on Equations (41) and (42)
Calculate τ i , k / τ j , k based on Equations (7) and (8)
Recalculate d i , k / d j , k based on Equations (9) and (10) using τ i , k / τ j , k
Calculate a i , k + 1 / a j , k 1 based on Equations (5) and (6)
Check if Equations (3) and (4) is verified:
Keep d i , k / d j , k value
Otherwise set:   d i , k = 0 ;/ d j , k = 0 ;
Our priority at this stage is to connect as many trips as possible at terminal stations by providing the same rolling stock to service two consecutive trips of different directions. At station 1 , we initialize the variables   δ j , i = 1 , δ j , p = 0 amd δ p , i = 0 . As we consider that the downstream trip does not enter the depot after arriving at the station and the departing upstream trip does not come out for the depot i.e., the same rolling stock is used for both the trips. Then, we proceed to verify if Equation (24) to decide whether to maintain or recalculate the departure time of upstream trip from the current station   d i , k . We proceed to verify if Equation (22) is satisfied; if it is not verified then the departing upstream trip cannot be connected to a downstream trip and a rolling stock coming out of the depot must provide it. Therefore, we set   δ j , i = 0 and   δ p , i = 1 . Next Equations (17) and (20) are checked; if both are satisfied, we maintain the connection of the two trips otherwise neither of the two trips can be connected thus we set   δ j , i = 0 , δ j , p = 1 and   δ p , i = 1 .
At station   K , we firstly verify if Equation (21) is satisfied; if it is not, the connection is not possible and we set   δ i , j = 0 . If the Equation is satisfied, we set a possible connection between the arriving upstream trip and departing downstream trip   δ i , j = 1 . Next, we check if Equation (23) is verified; if it is, we maintain the departure time of downstream trip from the station d j , k   , otherwise we recalculate its value to satisfy the requirement set by the Equation. Finally, Equations (18) and (19) must be verified to maintain the connection otherwise the two trips cannot be connected and thus we set   δ i , j = 0 .
At intermediate stations, we check if Equations (11)–(14) are verified by the variables related to arrival time of the rolling stock to the specific station a i , k + 1 / a j , k 1 . If so, we maintain the values calculated previously; otherwise, the variables are recalculated based on the requirements of the Equations. Finally, the diving time ω i , k u p / ω j , k d n is calculated based on Equations (25) and (26). The Algorithm 4 for rolling stock allocation is written as follows,
Algorithm 4. Rolling stock allocation.
If k = 1 :
Check if (22) is verified:
Set:   δ j , i = 1 ; δ j , p = 0 ; δ p , i = 0 ;
Check if (24) is verified:
Keep d i , k value
Otherwise: calculate d i , k based on Equation (24)
Otherwise, if (22) is not verified:   δ j , i = 0 ;   δ p , i = 1 ;
Check if (20), (17) are verified:
Keep   δ j , i = 1 ;
Otherwise set: δ j , i = 0 ; δ j , p = 1 ; δ p , i = 1 ;
If k = K :
Check if Equation (21) is verified
Set   δ i , j = 1 ;
Check if Equation (23) is verified:
Maintain d j , k   value
Otherwise calculate d j , k based on Equation (23)
Otherwise set   δ i , j = 0 ;
Check if (18), (19) are verified:
Keep   δ i , j = 1 ;
Otherwise set: δ i , j = 0 ;
If k 1   &   k K :
Check if Equations (11)–(14) are verified
Keep values of a i , k + 1 / a j , k 1
Otherwise recalculate a i , k + 1 / a j , k 1 based on the Equations
Calculate ω i , k u p / ω j , k d n based on Equations (25) and (26)
At the end of each time period, we calculate all riding time in the rolling stock R , waiting time at stations W and travel fare cost for travelling passengers P based on Equations (45)–(47). Following, we calculate numbers of passengers unable to board the rolling stock   G k , l a t e u p / G k , l a t e d n based on Equations (43) and (44). Finally, we calculate the objective function using Equations (48)–(51).
Once all time periods are calculated, the new objective function value is compared with the current one. In case the new solution offers a better function value, the move is automatically made. However, in case the new solution is not optimal, we use the probability function to decide whether we maintain the current solution state or move to the new solution. Based on the difference between the two solution objective values   Δ Z and the current value of influence parameter   T y the probability function value is compared to a randomly generated number. If a function’s value satisfies the equation   e T / Δ Z > r a n d , the new solution is set as new optimal otherwise the optimal solution remains unchanged. In such a situation, the choice made for the previous move is kept in memory using a new variable ‘bad move’ in order to avoid the same non-optimal move being chosen again. If the previous move aimed to decrease a trip i.e., m = 1 , we set b a d m o v e = l m a x . However, if the previous move aimed to increase a trip i.e., m = 0 , we set b a d m o v e = l m i n and the inner cycle moves one iteration x = x + 1 . At the end of the inner cycle x = X , the current degree of influence T y is compared with its minimum value; if T y > T m i n is verified the outer cycle moves one iteration y = y + 1 otherwise Algorithm 5 is terminated. The ending algorithm is written as follows,
Algorithm 5. Calculation of the objective function and termination of inner and outer cycles.
Calculating the objective function
Calculate R based on Equation (45)
Calculate W based on Equation (46)
Calculate P based on Equation (47)
Calculate G k , l a t e u p / G k , l a t e d n based on Equations (43) and (44)
Calculate Z based on Equations (48)–(51)
Algorithm termination
Determining optimal solution
Check if Z o p t i m a l > Z n e w :
Then set Z o p t i m a l = Z n e w
Otherwise check if e T / Δ Z > r a n d then set   Z o p t i m a l = Z n e w ;
Otherwise check if m o v e = 0 :
Then set b a d m o v e = l m a x
Otherwise set b a d m o v e = l m i n
Termination of inner-cycle
Check if x = X :
Then go to termination of outer-cycle
Otherwise set x = x + 1 and go to Algorithm 2
Termination of outer-cycle
Check if T y > T m i n :
Then set y = y + 1 ;   x = 1 ; go to Algorithm 2
Otherwise terminate algorithm and display Z o p t i m a l

4. Research Results

In this section we put forward a numerical example to validate the integrated model. In order to optimize the results, we experiment with different parameter configurations, firstly we test a different range of values for the decision parameter ε to find the optimal setting for this example. We do so by comparing the converging performance between multiple executions with different parameter values, inspecting the moves taken by the machine and analyzing their effect on the objective function. Then, we calibrate the weight factor α parameter to fix the balance point at which the objective functions are mostly optimized. Finally, we present the results of the optimal solution featuring the total waiting time, the number of trips organized, the number of circulations to the depot, numbers of connections at terminal stations and the values of the three objectives.
We run the performance tests for the integrated model based on the data of Xi’an metro line 1 . Opened to service on 15 th of September 2013 , the railway line is 24 , 806   km long and has 19 stations where upstream direction rolling stock travel from Houwei Zhai station to Fangzhi Cheng station. For this case study, the chosen urban rail line’s features meet the specificities of the problem considered in this study. First, the problem considers only one depot connected to a terminal station. Thus, the rolling stock allocation sub-problem must deal with the circulations and connections to only one depot. In addition, the daily travelling demand for Xi’an metro line 1 fits the train operation planning with only full-length trips travelling from one terminal station to the other and stopping at every station. Similarly for this study, all trips must travel from one terminal station to the other eliminating any possibility of short-turnings at an intermediate station. Moreover, all trips must dwell at every station without any skipping or overtaking operations.
For this case, a minimum turnaround time of 2   min is required for the connection of two consecutive trips. Meanwhile, the circulation of rolling stock to enter and exit the depot are set to a minimum of 3   min . In this numerical example, we consider a single weekday day operation starting from 5 : 00 until midnight. Based on passenger demand analysis, morning peak hour is from 8 : 00 to 9 : 00 and evening peak hour is from 18 : 00 to 19 : 00 . Using MATLAB, the test is performed on Intel Core i5-4460 CPU @3.20 GHZ with Windows 10 operating system running with 8 GB RAM.
The algorithm starting point sets the influence parameter at T i n i = 7600 . With 20 influencing levels, the parameter’s value decreases with 5 % at each iteration of the outer cycle until reaching its minimum value T m i n = 9400 . These values are set with the goal of providing relatively higher chances for non-optimal moves to occur at early cycles and then decrease those chances significantly at ending cycles. All code execution parameters are listed in Table 6.
Aiming at finding the best setting to minimize the total function value, we look for an optimal value of parameter ε by fixing the weight factor parameter at α = 0.5 and running multiple tests with the move parameter values ranging from ε = 0.1 to ε = 0.9 . Note that an average value of α = 0.5 does not emphasize either passenger comfort or enterprise operating costs. It is an average value set to provide equal importance to both objectives. The number of inner cycles is set at X = 10 which sets a maximum of 200 moves per execution.
In Figure 7, we analyze the convergence performance regarding the general objective value between different settings of parameter ε . The fastest convergence was noticed at executions with ε = 0.7 , ε = 0.8 and ε = 0.9 at the 1st, 2 nd and the 3 rd iterations providing close values to the general function at Z = 6.662 · 10 5   $ , Z = 6.704 · 10 5   $ and Z = 6.781 · 10 5   $ respectively. This was predictable considering the orientation of the two executions towards reducing the operating costs and thus the algorithm managed to find optimal solutions much faster. On the other hand the slowest convergence is found with a parameter value of ε = 0.3 at the 78 th iteration but the algorithm obtained a better solution with a value of Z = 6.544 · 10 5   $ . At a value of ε = 0.6 , we obtain the best solution of all executions at the 14th iteration with a value of Z = 6.480 · 10 5   $ .
As opposed to parameter α , the move parameter ε directly influences the move nature from one solution to another. In Figure 8, we analyze the moves obtained by the algorithm throughout the 9 executions. Notice the linear relationship between parameter ε and the number of added trips equivalent to m = 1 and its reverse linear relationship with the number of reduced trips translated to m = 0 . At ε = 0.1 we obtained the highest number of reduced trips with 180 moves and the lowest number of added trips with 19 moves, thus showing the emphasis on reducing total operating costs. On the other hand, when the algorithm is oriented towards improving passenger comfort at ε = 0.9 we obtained 177 added trips and 22 reduced trips. Notice that with values of ε = 0.6 , there was a noticeable balance with 89 added and 110 reduced trips, thus providing the best solution in all executions. However, it is important to note that these measured moves also include less optimal neighbor solutions which leads the algorithm to choose whether to make the move or to preserve the current optimal solution.
In Table 7, we proceed to a direct comparison between the optimal solutions obtained from the 9 executions. Notice that the optimality gap increases with extreme values of parameter ε i.e., when the algorithm focuses on one of the two objectives separately. Nonetheless, the ideal value of parameter ε depends on the priority of the enterprise and thus a relatively higher total function value can be acceptable if its objectives are met.
At this point, we consider ε = 0.6 to be an optimal setting to balance both objectives. Based on which, we proceed to calibrate weight factor parameter α by running multiple executions with different values of α and fixing the move parameter at ε = 0.6 .
Firstly, we compare the execution time considering the complexity of the model throughout the executions as shown in Figure 9. Considering that lower values of α lead to an emphasis on reducing operating costs i.e., minimizing the number of scheduled trips, therefore less calculations are required at each execution. At a value of α = 0.1 , we get the fastest computation time with 490   s . On the other hand, higher values of α require additional calculations with each added trip and thus we obtain the higher computation time of 649   s with α = 0.9 . Although the difference is not too important especially for weight factor values between α = 0.2 and α = 0.5 , a high demand railway line may lead to a bigger difference between executions.
The most influential variable on the travelling costs Z 1 is the waiting time at platforms W compared with riding time R and travel fare P costs. In Figure 10, we plot the accumulated wait of passengers on platforms as a function of the weight factor. We obtain the highest accumulated waiting time value of W = 7.19 · 10 5   min at α = 0.1 when the algorithm focuses on minimizing operating costs. Then, as the emphasis shifts towards reducing passenger travel costs by the increase of parameter α , there is a noticeable decrease of the accumulated waiting time reaching a minimum of W = 4.24 · 10 5   min at α = 0.9 .
Similarly, choosing to prioritize the improvement of passenger comfort should lead to a reduction in the number of passengers willing to travel but who fail to do so due to over-crowdedness and arriving at the station after the end of service. In Figure 11 we plot objectives Z 2 and Z 3 as a function of the weight factor, obviously the parameter α impacts the operations costs at each different level providing a minimum of Z 3 = 5.168 · 10 5   $ at a value of α = 0.1 and a maximum function value of Z 3 = 8.400 · 10 5   $ at a value of α = 0.9 . Nevertheless, the influence of the weight factor on objective Z 2 is not linear as shown in the graph. Indeed, for values ranging from α = 0.1 to α = 0.4 , we obtained the same objective value of Z 2 = 2.816 · 10 5   $ when the priority is to reduce the operating costs. Then, we notice a significant improvement in the function value starting from α = 0.5 to α = 0.9 with a value of Z 2 = 2.816 · 10 5   $ when the focus shifts towards minimizing the travel costs.
In Table 8, we compare the solutions obtained from the 9 values of α regarding the scheduled trips, rolling stock circulations to the depot, trip connections at terminal stations and the total objective function. Notice the ratio of trip connections to scheduled trips, at a value of α = 0.1 , we obtained 341 trip connections from 382 trips. While at a value of α = 0.9 , we obtained 595 trip connections to 624 total trips.
Our purpose in this example analysis is to balance both objectives to obtain the minimal total objective function. In this case, the minimum function value overall is obtained Z = 6.472 · 10 5   $   at a weight factor value of α = 0.4 with a total of 478 scheduled trips in both directions, 441 total trip connections and 74 rolling stock circulations to and from the depot. In Figure 12, the timetable obtained from the optimal solution is plotted.
Finally, in Figure 13 we present the headway time obtained from the optimal solution related to a weight factor value α = 0.4 . Notice that the headway is maintained at minimum value during peak demand time periods namely from 8 : 00 to 9 : 00 and from 18 : 00 to 19 : 00 . While outside peak hours, the time difference is relatively higher especially during early and late time periods where travel demand is much lower.
It is clear that the complexity of a model that integrates three phases simultaneously requires the use of heuristics-solving methods considering the large time required to converge to an optimum. However, the proposed model manages to reach an optimum based on the selection of services without hindering the assignment for timetabling which is automatically optimized by the proposed formulas and maintained within a range of feasible and acceptable solutions.
In fact, the algorithm converged to the optimal solution within 490   s which is relatively fast considering the three sub-problems considered in the model in addition to the passenger travelling assignment. Indeed, the computing time is very acceptable taking into account the complexity of the model.
In addition, the connections of trips are set as priority in order to minimize the use of rolling stock as much as possible. The integration of the problem of assigning trip service passengers based on queuing theory brought an improvement in timetabling with the calculation of dwelling time at stations. Moreover, it allowed the more realistic calculation of passenger waiting time. Finally, it is important to state that the model opens the possibility to emphasize either one of the two objectives, namely minimizing enterprise operating costs or passenger satisfaction which requires calibrating both parameters α and ε in order to optimize the results.

5. Discussion

This study puts forward an optimization model integrating line planning, timetabling and rolling stock allocation. It proposes a bi-objective function minimizing both the travel costs for passengers, and the operating costs for the enterprise. Comparably, other integrated optimization models for urban rail transit systems such as Heidari, Hosseini-Motlagh, Nikoo [30], Yue, Han, Wang, Liu [31], Ibarra-Rojas, Giesen, Rios-Solis [32], proposing a bi-objective optimization models integrating timetabling and rolling stock allocation sub-problems simultaneously. Ibarra-Rojas, Giesen, Rios-Solis [32] aims to maximize the number of passengers who profit from well-timed transfers in the timetable problem, while it looks to minimize operational expenses in the rolling stock allocation problem. However, we approach the bi-objective optimization differently. First, we find that the two objectives are controvert each other when it comes to the timetabling sub-problem. For low values of weight factor α , the proposed algorithm provided less regular service during the day negatively impacting the travel costs of passengers, while minimizing the operating costs. On the other hand, for high values of the weight factor providing more regularity to the service, the algorithm significantly minimized the travel costs of passengers. This approach allows the operator to decide how to calibrate the weight factor to meet the requirements. Meanwhile, the goal we set when solving the rolling stock allocation is no different from the other studies such as Shen, Xie, Li [27] considering the costs of available rolling stock in service. The sub-problem is solved by setting the priority to trip connections in order to schedule as many trips as possible to the same rolling stock. Despite this, we only consider the total servicing time of rolling stock in the objective, the minimization of used rolling stock is set as priority when formulating the model.
The minimization of passenger travel costs was set as one of the two objectives to aim for when solving the problem in this research. Including the waiting time of passengers at stations, the travelling fare costs and the riding time. Although our goal by introducing all three factors is to estimate more realistically the travelling costs, it was noticed that the most impactful factor on overall travelling costs is the waiting time at platforms. In this subject, another study [Li, Yan, Li, Yang [33] aimed to estimate the walking and waiting time of passengers in urban rail transit stations judging them as significant metrics for assessing the degree of service of an urban rail station. The study concluded that the headway time and passenger volume have a strong influence on the overall waiting time at origin stations. More crucially, the findings indicated that when passenger volumes are low, the headway can have a considerable impact on waiting times. When the passenger volume crosses a particular threshold, however, it becomes a key influence in the rise in waiting time.
On the other hand, this paper does not exclusively focus on the waiting time of passengers in stations. Nonetheless, the findings of the example analysis in Section 4 suggests that when the algorithm sets the minimization of operating costs as priority, the optimal solution provided 382 trips in total compared with 624 trips with a weight factor prioritizing the minimization of travelling costs for passengers. The difference in consistency of service leading to a huge gap between the accumulated waiting time values registered for the two cases affirm the conclusion of Li, Yan, Li, Yang [33] regarding the significant impact of service consistency on the overall waiting time at boarding stations. Moreover, the reverse relationship found between the accumulated waiting time and weight factor α presented in Figure 10 hardened this finding.
In regards to the passenger flow assignment, some papers envisaged it in their optimization models. Particularly Zhang, Dong, Zhu [34] which developed a timetable model featuring a dwelling time function based on the volumes of boarding and alighting at each station. The proposed simulation claims its efficiency for meeting the passenger demands. Our proposed function for minimum dwelling time at stations is not similarly formulated but has the same concept of considering the volume of passengers getting-in and getting-out of the rolling stock. Moreover, this consideration helps develop the timetable more efficiently with the minimization of dwelling-during-low-traffic periods.
The planning process for large urban rail transit networks often operates the rolling stock of each line separately i.e., the train operation plan of each line is optimized independently. Firstly, the number of transferring passengers from one line to another is considered as transferring flow when assigning the traffic demand on all lines of the network. Then, based on travel demand, the train operation plan is optimized independently for each line. In this process, our integrated algorithm can quickly produce an optimal solution by generating an efficient timetable for an urban rail line and making the most of rolling stock usage, thus making it relevant for difficult real-world applications. When this strategy is used in the real world, it can assist urban rail operators in making quick and accurate decisions.

6. Conclusions

In this paper we have formulated a model aiming at the optimization of train operation planning for an urban transit railway line based on passenger travel demand by integrating three sub-problems, namely line planning, timetabling and rolling stock allocation. We introduced two binary variables to provide service trips during all time periods for a service day. We considered rolling stock circulations to the depot, turnaround operations, dwelling time of trips at stations, and time difference between service trips and we formulated a passenger flow assignment that introduced the boarding capacity of rolling stock and other variables to calculate the number of passengers that did, or did not, manage to travel in rolling stock. Then, we tested the performance and the efficiency of the integrated model by applying a simulated annealing-based algorithm to the data from Xi’an metro line 1 . The algorithm was computed on MATLAB and showed good results overall for minimizing the travel costs of passengers and the operating costs of the enterprise.
The integrated model featured only full-length service trips and one depot available for parking rolling stock with no limit. However, the current model could be expanded by introducing multiple depots with limited parking capacity. Another possibility to improve the travelling costs of passengers is the consideration of short-turning services for overly demanding railway sections and overtaking operations for express service trips. Finally, we have chosen to solve the overall problem by applying meta-heuristic method which showed good convergence choices to minimize the function’s value. Nonetheless, with the integrations of other factors into the problem, solving it would require more specific heuristics to optimize the results.

Author Contributions

Conceptualization, W.Z. and M.O.; methodology, W.Z. and M.O.; software, W.Z. and M.O.; validation, W.Z. and M.O.; formal analysis, W.Z. and M.O.; investigation, W.Z. and M.O.; resources, W.Z. and M.O.; data curation, W.Z. and M.O.; writing—original draft preparation, W.Z. and M.O.; writing—review and editing, W.Z. and M.O.; visualization, W.Z. and O.M; supervision, W.Z. and M.O.; project administration, W.Z. and M.O.; funding acquisition, W.Z. and M.O. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the NATIONAL NATURAL SCIENCE FOUNDATION OF CHINA, Grant number U1934216, 71871226, U1834209, and the NATURAL SCIENCE FOUNDATION OF HUNAN PROVINCE, CHINA, Grant number 2018JJ3698.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

The assistance provided by Guangming Xu and was greatly appreciated.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Michaelis, M.; Schöbel, A. Integrating Line Planning, Timetabling, and Vehicle Scheduling: A Customer-Oriented Heuristic. Public Transp. 2009, 1, 211–232. [Google Scholar] [CrossRef] [Green Version]
  2. Wang, Y.; Tang, T.; Ning, B.; Meng, L. Integrated optimization of regular train schedule and train circulation plan for urban rail transit lines. Transp. Res. Part E Logist. Transp. Rev. 2017, 105, 83–104. [Google Scholar] [CrossRef]
  3. Wang, Y.; D’Ariano, A.; Yin, J.; Meng, L.; Tang, T.; Ning, B. Passenger demand oriented train scheduling and rolling stock circulation planning for an urban rail transit line. Transp. Res. Part B Methodol. 2018, 118, 193–227. [Google Scholar] [CrossRef]
  4. Shi, F.; Zhao, S.; Zhou, Z.; Wang, P.; Bell, M. Optimizing train operational plan in an urban rail corridor based on the maximum headway function. Transp. Res. Part C Emerg. Technol. 2017, 74, 51–80. [Google Scholar] [CrossRef]
  5. Schöbel, A. Line planning in public transportation: Models and methods. OR Spectr. 2012, 34, 491–510. [Google Scholar] [CrossRef] [Green Version]
  6. Bussieck, M.R.; Kreuzer, P.; Zimmermann, U.T. Optimal lines for railway systems. Eur. J. Oper. Res. 1997, 96, 54–63. [Google Scholar] [CrossRef]
  7. Claessens, M.; van Dijk, N.; Zwaneveld, P. Cost optimal allocation of rail passenger lines. Eur. J. Oper. Res. 1998, 110, 474–489. [Google Scholar] [CrossRef]
  8. Borndörfer, R.; Grötschel, M.; Pfetsch, M. A Column-Generation Approach to Line Planning in Public Transport. Transp. Sci. 2007, 41, 123–132. [Google Scholar] [CrossRef] [Green Version]
  9. Shi, F.; Deng, L.; Huo, L. Bi-level programming model and algorithm of passenger train operation plan. China Railw. Sci. 2007, 28, 110–116. [Google Scholar]
  10. Deng, L.; Zeng, Q.; Gao, W.; Zhou, Z. Optimization Method for Train Plan of Urban Rail Transit. In Proceedings of the 11th International Conference of Chinese Transportation Professionals, Nanjing, China, 14–17 August 2011; American Society of Civil Engineers (ASCE): Beijing, China, 2012. [Google Scholar]
  11. Deng, L.; Zeng, Q.; Gao, W.; Bin, S. Optimization of train plan for urban rail transit in the multi-routing mode. J. Mod. Transp. 2011, 19, 233–239. [Google Scholar] [CrossRef] [Green Version]
  12. Nachtigall, K.; Voget, S. A genetic algorithm approach to periodic railway synchronization. Comput. Oper. Res. 1996, 23, 453–463. [Google Scholar] [CrossRef]
  13. Kwan, C.; Chang, C. Application of Evolutionary Algorithm on a Transportation Scheduling Problem-The Mass Rapid Transit. In Proceedings of the IEEE Congress on Evolutionary Computation, Edinburgh, UK, 2–5 September 2005. [Google Scholar]
  14. Liebchen, C. Periodic Timetable Optimization in Public Transport. In Operations Research Proceedings; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
  15. Albrecht, T. Automated timetable design for demand-oriented service on suburban railways. Public Transp. 2008, 1, 5–20. [Google Scholar] [CrossRef]
  16. Su, S.; Li, X.; Tang, T.; Gao, Z. A Subway Train Timetable Optimization Approach Based on Energy-Efficient Operation Strategy. IEEE Trans. Intell. Transp. Syst. 2013, 14, 883–893. [Google Scholar] [CrossRef]
  17. Sun, L.; Jin, J.G.; Lee, D.-H.; Axhausen, K.W.; Erath, A. Demand-driven timetable design for metro services. Transp. Res. Part C Emerg. Technol. 2014, 46, 284–299. [Google Scholar] [CrossRef]
  18. Wang, Y.; Tang, T.; Ning, B.; Boom, T.J.V.D.; De Schutter, B. Passenger-demands-oriented train scheduling for an urban rail transit network. Transp. Res. Part C Emerg. Technol. 2015, 60, 1–23. [Google Scholar] [CrossRef]
  19. Abbink, E.; Berg, B.V.D.; Kroon, L.; Salomon, M. Allocation of Railway Rolling Stock for Passenger Trains. Transp. Sci. 2004, 38, 33–41. [Google Scholar] [CrossRef] [Green Version]
  20. Fioole, P.-J.; Kroon, L.; Maroti, G.; Schrijver, A. A rolling stock circulation model for combining and splitting of passenger trains. Eur. J. Oper. Res. 2006, 174, 1281–1297. [Google Scholar] [CrossRef] [Green Version]
  21. Alfieri, A.; Groot, R.; Kroon, L.; Schrijver, A. Efficient Circulation of Railway Rolling Stock. Transp. Sci. 2006, 40, 378–391. [Google Scholar] [CrossRef] [Green Version]
  22. Withall, M.S.; Hinde, C.; Jackson, T.; Phillips, I.; Brown, S.; Watson, R. Automating Rolling Stock Diagramming and Platform Allocation. In Proceedings of the 9th World Congress on Railway Research, World Congress on Railway Research (WCRR) © SNCF, Lille, France, 22–26 May 2011. [Google Scholar]
  23. Blanco, V.; Conde, E.; Hinojosa, Y.; Puerto, J. An optimization model for line planning and timetabling in automated urban metro subway networks. A case study. Omega 2019, 92, 102165. [Google Scholar] [CrossRef]
  24. Zhou, W.; Shi, F.; Chen, Y.; Deng, L. Method of integrated optimization of train operation plan and diagram for network of dedicated passenger lines. J. China Railw. Soc. 2011, 1–7. [Google Scholar]
  25. Zhou, W.; Tian, J.; Deng, L.; Qin, J. Integrated Optimization of Service-Oriented Train Plan and Schedule on Intercity Rail Network with Varying Demand. Discret. Dyn. Nat. Soc. 2015, 2015, 1–9. [Google Scholar] [CrossRef]
  26. Burggraeve, S.; Bull, S.H.; Vansteenwegen, P.; Lusby, R.M. Integrating robust timetabling in line plan optimization for railway systems. Transp. Res. Part C Emerg. Technol. 2017, 77, 134–160. [Google Scholar] [CrossRef] [Green Version]
  27. Shen, Y.; Xie, W.; Li, J. A MultiObjective Optimization Approach for Integrated Timetabling and Vehicle Scheduling with Uncertainty. J. Adv. Transp. 2021, 2021, 1–16. [Google Scholar] [CrossRef]
  28. Petersen, H.L.; Larsen, A.; Madsen, O.B.G.; Petersen, B.; Ropke, S. The Simultaneous Vehicle Scheduling and Passenger Service Problem. Transp. Sci. 2013, 47, 603–616. [Google Scholar] [CrossRef] [Green Version]
  29. Su, H.; Tao, W.; Hu, X. A Line Planning Approach for High-Speed Rail Networks with Time-Dependent Demand and Capacity Constraints. Math. Probl. Eng. 2019, 2019, 1–18. [Google Scholar] [CrossRef]
  30. Heidari, M.; Hosseini-Motlagh, S.M.; Nikoo, N. A subway planning bi-objective multi-period optimization model integrating timetabling and vehicle scheduling: A case study of Tehran. Transportation 2020, 47, 417–443. [Google Scholar] [CrossRef]
  31. Yue, Y.; Han, J.; Wang, S.; Liu, X. Integrated Train Timetabling and Rolling Stock Scheduling Model Based on Time-Dependent Demand for Urban Rail Transit. Comput. Civ. Infrastruct. Eng. 2017, 32, 856–873. [Google Scholar] [CrossRef]
  32. Ibarra-Rojas, O.J.; Giesen, R.; Rios-Solis, Y. 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. 2014, 70, 35–46. [Google Scholar] [CrossRef]
  33. Li, W.; Yan, X.; Li, X.; Yang, J. Estimate Passengers’ Walking and Waiting Time in Metro Station Using Smart Card Data (SCD). IEEE Access 2020, 8, 11074–11083. [Google Scholar] [CrossRef]
  34. Zhang, S.; Dong, H.; Zhu, H. Optimal Train Schedule With Headway And passenger Flow Dynamic Models. In Proceedings of the IEEE International Conference on Intelligent Rail Transportation (ICIRT), Beijing, China, 30 August 2013. [Google Scholar]
Figure 1. Layout of the considered urban rail line.
Figure 1. Layout of the considered urban rail line.
Sustainability 13 13059 g001
Figure 2. Set of candidate trips during time period.
Figure 2. Set of candidate trips during time period.
Sustainability 13 13059 g002
Figure 3. Layout of turnaround operations and rolling stock circulations to/from the depot.
Figure 3. Layout of turnaround operations and rolling stock circulations to/from the depot.
Sustainability 13 13059 g003
Figure 4. Trip i entering station K before turnaround operation between trips i and j .
Figure 4. Trip i entering station K before turnaround operation between trips i and j .
Sustainability 13 13059 g004
Figure 5. Neighbor solution move.
Figure 5. Neighbor solution move.
Sustainability 13 13059 g005
Figure 6. Example of time period priority choice.
Figure 6. Example of time period priority choice.
Sustainability 13 13059 g006
Figure 7. Analyzing the converging performance of the model.
Figure 7. Analyzing the converging performance of the model.
Sustainability 13 13059 g007
Figure 8. Moves generated by the algorithm.
Figure 8. Moves generated by the algorithm.
Sustainability 13 13059 g008
Figure 9. Comparing the computational time based on weight factor α .
Figure 9. Comparing the computational time based on weight factor α .
Sustainability 13 13059 g009
Figure 10. The relationship between weight factor α and the accumulated waiting time W .
Figure 10. The relationship between weight factor α and the accumulated waiting time W .
Sustainability 13 13059 g010
Figure 11. The influence of weight factor α on objectives Z 2 and Z 3 .
Figure 11. The influence of weight factor α on objectives Z 2 and Z 3 .
Sustainability 13 13059 g011
Figure 12. Timetable generated with parameters α = 0.4 and ε = 0.6 .
Figure 12. Timetable generated with parameters α = 0.4 and ε = 0.6 .
Sustainability 13 13059 g012
Figure 13. Headway time between consecutive trips.
Figure 13. Headway time between consecutive trips.
Sustainability 13 13059 g013
Table 1. Comparison of studies aiming at optimizing train operation planning for urban railway lines.
Table 1. Comparison of studies aiming at optimizing train operation planning for urban railway lines.
StudySub-
Problems
Factors
Considered
ObjectivesSolution Method
[15]T 2H 4, RSC 5Minimizing enterprise operating costsBranch-and-bound and genetic algorithm
[4]LP 1, T 2, RSA 3PC 6Maximum headway function, Minimization of depot circulations and number of rolling stock usedLinear computation
[4]LP 1TC 5Minimizing enterprise operating cost & passengers travel costThree phase solving algorithm
[11]LP 1RSC 5, PBC 8 Minimizing enterprise operating cost & passengers travel costThree phase solving algorithm
[2]T 2, RSA 3 NRS 7, CD 9, TO 10Minimize headway variation, minimize number of rolling stock, minimize passengers waiting timeTransforming the model to MILP 13 problem and solving with CPLEX
[3]T 2, RSA 3RSC 5, NRS 7, CD 9 Passenger oriented multi-objective functionIterative nonlinear programming. Accurate/approximated MILP 13
[17]T 2RSC 5Minimizing waiting timeCPLEX solver
(This study)LP 1, T 2, RSA 3PFA 12, DW 11, H 4Minimizing enterprise operation costs and passenger travelling costsSimulated annealing-based algorithm
LP 1: line planning, T 2: timetabling, RSA 3: rolling stock allocation, H 4: headway time, RSC 5: rolling stock capacity, PC 6: parking capacity, NRS 7: number of rolling stock, PBC 8: passenger behavior choice, CD 9: number of depot circulations, TO 10: turnaround operations, DW 11: dwelling time, PFA 12: passenger flow assignment, MILP 13: mixed integer linear program.
Table 2. Definitions of decision variables for the integrated optimizing problem.
Table 2. Definitions of decision variables for the integrated optimizing problem.
VariablesDefinitions
θ i 0–1 binary decision variable, it shows whether or not candidate trip i is chosen for up-direction operation, if yes, then θ i = 1 , otherwise, θ i = 0 .
θ j 0–1 binary decision variable, it indicates whether or not candidate trip   j of down-direction is chosen to operate, if yes, then θ j = 1 , otherwise, θ j = 0 .
d i , k Departure time of up-direction trip i from station k
a i , k Arrival time of up-direction trip i to station k
d j , k Departure time of down-direction trip j from station k
a j , k Arrival time of down-direction trip j to station k
δ p , i 0–1 binary decision variable, it shows whether or not the rolling stock allocated for service i comes from the depot, if yes, then δ p , i = 1 , otherwise, δ p , i = 0 .
δ j , p 0–1 binary decision variable, it shows whether or not the rolling stock enters the depot after servicing trip j , if yes, then δ j , p = 1 , otherwise, δ j , p = 0 .
δ j , i 0–1 binary decision variable, it shows whether or not a rolling stock continues to service trip j after servicing trip i at station 1, if yes, then δ j , i = 1 , otherwise, δ j , i = 0 .
δ i , j 0–1 binary decision variable, it shows whether or not a rolling stock continues to service trip j after servicing i at station K , if yes, then δ i , j = 1 , otherwise, δ i , j = 0 .
Table 3. Definitions of input and parameters for the integrated optimizing problem.
Table 3. Definitions of input and parameters for the integrated optimizing problem.
NotationsDefinitions
T s , T e The start and end of the day operation
t l s , t l e The start and end of operation period t l
i , j Indexes for trip services
F u p Sets of upstream trip services
F l u p Set of upstream trip services during operation period t l
F d n Sets of downstream trip services
F l d n Set of downstream trip services during operation period t l
k ,   K Indexes used for stations
t l ,   t L Index for time periods
f i n i Initial service frequency based on minimum headway
t Arriving time of the passenger to the station
C Total capacity of the rolling stock
p Fare rate
α Weight factor
β Average time value of passengers
c Cost per time unit of service
P n Penalty related to late arriving passengers
r i , k Minimum running time of trip service i from station k to the next station
r j , k Minimum running time of trip service j from station k to the next station
t m i n t u r n Minimum time required for a turnaround operation at terminal stations
t e n t e r Time required for rolling stock to enter the depot
t e x i t Time required for rolling stock to exit the depot
h l Headway time representing the time difference between two consecutive servicing trips
h m i n Minimum headway time value
h m a x Maximum headway time value
  τ i , k Minimum dwell time of servicing trip i at station k
  τ j , k Minimum dwell time of servicing trip j at station k
t A , B Average time required for the boarding and alighting of a passenger
t r Reaction time of a passenger to boarding and alighting operation
Table 4. Definitions of variables for the assignment of a trip’s service passengers.
Table 4. Definitions of variables for the assignment of a trip’s service passengers.
NotationsDefinitions
t * Time limit for passengers to board the rolling stock before it reaches its max capacity
ω i , k u p / ω j , k d n Dividing time deciding whether passengers arrive in time to board the rolling stock
C i , k Boarding capacity of the rolling stock servicing trip i when arriving to station k
C j , k Boarding capacity of the rolling stock servicing trip j when arriving to station k
B i k . k Number of passengers boarding the rolling stock servicing trip i travelling to station k
B j k . k Number of passengers boarding the rolling stock servicing trip j travelling to station k
B i , k Number of passengers boarding the rolling stock servicing up-direction trip i at station k
B j , k Number of passengers boarding the rolling stock servicing down-direction trip j at station k
A i , k Number of passengers alighting from the rolling stock servicing up-direction trip i at station k
A j , k Number of passengers alighting from the rolling stock servicing down-direction trip j at station k
Table 5. Definitions of input and parameters for the assignment of a trip’s service passengers.
Table 5. Definitions of input and parameters for the assignment of a trip’s service passengers.
NotationsDefinitions
λ k , k t Passengers’ arrival rate at station k travelling to station k at time t
Table 6. Values attributed to the parameters of the model.
Table 6. Values attributed to the parameters of the model.
ParametersValuesParametersValues
β 0.32   $ / m i n P n 160   $ / p
c 64   $ / m i n t e n t e r 3   m i n
C 300   p / v t e x i t 3   m i n
h m a x 10   m i n t m i n t u r n 2   m i n
h m i n 3   m i n T i n i 7600
K 19 T m i n 3000
L 19 t A , B 0.001   s
M 1 , 000 , 000 t r 0.15   s
p 0.45 X 10
m i n : m i n u t e s , s : s e c o n d s , p : p a s s e n g e r s , v : v e h i c l e β : a v e r a g e   t i m e   v a l u e   o f   p a s s e n g e r s , c : c o s t   p e r   t i m e   u n i t   o f   s e r v i c e , C :   t o t a l   c a p a c i t y   o f   t h e   r o l l i n g   s t o c k , h m a x : m a x i m u m   h e a d w a y   t i m e   v a l u e , h m i n : m i n i m u m   h e a d w a y   t i m e   v a l u e , K : n u m b e r   o f   s t a t i o n s , L : n u m b e r   o f   t i m e   p e r i o d s , M :   s u f f i c i e n t l y   l a r g e   n u m b e r , p : f a r e   r a t e , P n : p e n a l t y   r e l a t e d   t o   l a t e   a r r i v i n g   p a s s e n g e r s , t e n t e r : t i m e   r e q u i r e d   f o r   r o l l i n g   s t o c k   t o   e n t e r   t h e   d e p o t , t e x i t : t i m e   r e q u i r e d   f o r   r o l l i n g   s t o c k   t o   e x i t   t h e   d e p o t , t m i n t u r n : m i n i m u m   t i m e   r e q u i r e d   f o r   a   t u r n a r o u n d   o p e r a t i o n   a t   t e r m i n a l   s t a t i o n s , T i n i : i n i t i a l   v a l u e   o f   i n f l u e n c e   p a r a m e t e r , T m i n : m i n i m u m   v a l u e   o f   i n f l u e n c e   p a r a m e t e r , t A , B : a v e r a g e   t i m e   r e q u i r e d   f o r   t h e   b o a r d i n g   a n d   a l i g h t i n g   o f   a   p a s s e n g e r , t r : r e a c t i o n   t i m e   o f   a   p a s s e n g e r   t o   b o a r d i n g   a n d   a l i g h t i n g   o p e r a t i o n , X : n u m b e r   o f   i t e r a t i o n s   f o r   t h e   i n n e r   c y c l e .
Table 7. Comparing the optimal solutions obtained.
Table 7. Comparing the optimal solutions obtained.
Travel   Cos ts   10 5 $ Operating   Cos ts   10 5 $ Total   Function   Value   10 5 $ Optimality   Gap   Z Z o p t / Z
ε = 0.1 3.357 3.376 6.731 3.7 %
ε = 0.2 3.291 3.426 6.717 3.5 %
ε = 0.3 3.259 3.285 6.544 1.0 %
ε = 0.4 3.243 3.293 6.534 0.8 %
ε = 0.5 3.362 3.152 6.512 0.5 %
ε = 0.6 3.202 3.280 6.480 0.0 %
ε = 0.7 3.290 3.371 6.934 6.5 %
ε = 0.8 3.267 3.437 6.704 3.3 %
ε = 0.9 3.323 3.458 6.781 4.4 %
Table 8. Comparing the obtained solutions.
Table 8. Comparing the obtained solutions.
Scheduled Trips Connections   at   Station   K Connections   at   Station   1 Circulation to/from the Depot Total   Function   Value   10 5 $
α = 0.1 382 191 150 82 6.762  
α = 0.2 446 223 182 82 6.555  
α = 0.3 460 230 195 70 6.480
α = 0.4 478 239 202 74 6.472  
α = 0.5 498 249 214 70 6.610  
α = 0.6 530 265 230 70 6.854  
α = 0.7 562 281 243 76 7.256  
α = 0.8 578 289 250 78 7.491
α = 0.9 624 312 283 58 8.202  
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhou, W.; Oldache, M. Integrated Optimization of Line Planning, Timetabling and Rolling Stock Allocation for Urban Railway Lines. Sustainability 2021, 13, 13059. https://doi.org/10.3390/su132313059

AMA Style

Zhou W, Oldache M. Integrated Optimization of Line Planning, Timetabling and Rolling Stock Allocation for Urban Railway Lines. Sustainability. 2021; 13(23):13059. https://doi.org/10.3390/su132313059

Chicago/Turabian Style

Zhou, Wenliang, and Mehdi Oldache. 2021. "Integrated Optimization of Line Planning, Timetabling and Rolling Stock Allocation for Urban Railway Lines" Sustainability 13, no. 23: 13059. https://doi.org/10.3390/su132313059

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

Article Metrics

Back to TopTop