Real-Time Track Reallocation for Emergency Incidents at Large Railway Stations

After track capacity breakdowns at a railway station, train dispatchers need to generate appropriate track reallocation plans to recover the impacted train schedule andminimize the expected total train delay time under stochastic scenarios.This paper focuses on the real-time track reallocation problem when tracks break down at large railway stations. To represent these cases, virtual trains are introduced and activated to occupy the accident tracks. Amathematical programmingmodel is developed, which aims at minimizing the total occupation time of station bottleneck sections to avoid train delays. In addition, a hybrid algorithm between the genetic algorithm and the simulated annealing algorithm is designed. The case study from the Baoji railway station in China verifies the efficiency of the proposed model and the algorithm. Numerical results indicate that, during a daily and shift transport plan from 8:00 to 8:30, if five tracks break down simultaneously, this will disturb train schedules (result in train arrival and departure delays).


Introduction
To solve the track allocation problem in a railway station, a conflict-free route must be found for each arrival/departure train.This optimization problem, known as the train routing problem or the train platform problem, is one of the basic scheduling problems for railway companies.In terms of complexity, this problem is NP-hard [1].Nevertheless, it can be modeled and solved using operation research techniques.Due to the signal problem, frequent use, or other reasons, available tracks at a railway station may break down (may be unavailable).In addition, track incidents are generally uncertain and often disturb train schedules such that trains will be delayed if station tracks are not effectively reallocated.In this paper, we consider the problem of real-time reallocation of trains to available tracks (except accidental tracks) at a large railway station, given one daily and shift transport timetable and the structural and operational constraints.
There are many existing studies that solve the track allocation problem.Zwaneveld et al. [2] proposed a node packing formulation, and infrastructure capacity requirements were developed to evaluate future demand for rail transportation.
To improve the solution method, Zwaneveld et al. [3] conducted an extension of [2].Zwaneveld et al. assumed that trains prefer certain paths to others and this problem was formulated as a weighted node packing problem.A branchand-cut solution approach was adopted to solve this NP-hard problem.
Cardillo and Mione [4], Billionnet [5], and Carey and Carville [6] studied a version of the problem termed train platform problem (TPP).Cardillo and Mione [4] proposed a heuristic algorithm with a backtracking method.The work of [5] demonstrated how the TPP models could be strengthened through the addition of clique inequalities.Carey and Carville [6] studied the problem at busy complex stations and developed scheduling heuristics analogous to train operators using the manual method.
TPP is affected by the structure of stations and yards, the bottleneck section structure, station operations, train timetables, train punctuality, and many other factors among which the train working diagram (TWD) plays an important role because it determines the start and end times of tracks utilized at railway stations [7].Barber et al. [8] presented a set of heuristics for a constraint-based TWD tool and formulated TWD as a constraint optimization problem.According to TWD and train routing in stations, Kang et al. [7] combined TPP with the station bottleneck carrying capacity.A case study that focused on bottleneck section optimization in passenger stations illustrated that TPP affects not only bottleneck capacity but also station capacity.D' Ariano et al. [9] introduced a new concept aimed at less planning on the timetable and solving more intertrain conflicts to improve punctuality without decreasing line capacity.A detailed model for conflict resolution was illustrated, and different algorithms based on the alternative graph formulation were analyzed in their work.Heydar et al. [10] investigated the capacity of a single track, bidirectional rail line that adheres to a cyclic timetable.
When probabilities for unexpected events are estimated, efficiency is a major concern and can be addressed through multilevel splitting or staged simulation [11].After major service disruption in the railway operational system, dispatchers need to generate a series of train meet-pass plans at different decision times of the rescheduling stage to recover the impacted train schedule from current and future disturbances and minimize the expected additional delay under different forecasted operational conditions.Thus, railway controllers play a pivotal role in the service recovery of normal rail system operations when accidents occur.Cheng and Tsai [12] adopted Taiwan's railway system to diagnose railwaycontroller-perceived competence when facing diverse tasks during incidents and accidents that were derived from a proposed conceptual model.Belmonte et al. [13] presented an application of functional resonance accident models (FRAM) for the safety analysis of complex sociotechnological systems, that is, systems with not only technological components but also human and organizational components.The examples illustrated the principal advantages of FRAM in comparison to classical safety analysis models, which allowed true multidisciplinary cooperation between specialists from the different domains involved.
Operationally robust solutions are usually synonymous with compact, nonoverlapping routes with little or no intraroute crossover [14].Railway companies are also interested in schedule reliability (assessed by means of cancelling the number of operating trains) and robustness (the ability to resist schedule perturbations).Intuitively, a more robust track allocation schedule is less likely to propagate delays to the following trains.Clearly, an efficient use of the railway infrastructure and the prospects of recovery cause TPP to become a more complex optimization problem in engineering theory and practice.
The aforementioned studies mainly focus on the track allocation optimization problem.After the track capacity breakdown(s) at a railway station, train dispatchers need to generate appropriate track reallocation plans to recover the impacted train schedule and minimize the expected total train delay time under stochastic scenarios.As a result, reallocating tracks in railway stations for emergency incidents to ensure service remains a significant issue.A model that can be exactly solvable by a global optimization method is also desired.
On the basis of station track incidents, a model considering the minimum average use time of bottleneck sections is proposed to reduce technical process time and improve the antijamming capacity.The bottleneck and station carrying capacity can be improved simultaneously by tapping the potential and more effective occupation of normal tracks and bottleneck equipment.The contributions of this paper are listed as follows: (1) A mathematical programming model is proposed to describe TPP after track incidents, which fully considers the tight capacity of station bottlenecks when some tracks break down.
(2) Virtual trains are introduced to represent track incidents.The novelty of this formulation is the use of virtual trains to occupy these unavailable tracks.In the Baoji passenger station, an incident in which five tracks break down simultaneously will lead to the delay of trains' arrival/departure.
(3) Genetic simulated annealing (GSA) focused on TPP is adopted.In addition, a genuine case in China is studied, and the station track allocation plan is given.The carrying capacity of the left side bottleneck is approximately 1.29 times more than the right side bottleneck.
This paper will be organized as follows.First, the model formulation section draws the TPP model out.In addition, the GSA of TPP is developed in the solution algorithm section.Furthermore, a real case from China is illustrated in Case Study.Finally, the Conclusions summarize this paper and discuss the future study.Variables
: the total time cost of GTs by train .
: the total time cost of GTs in the left bottleneck (detailed illustration of the left bottleneck can be found in Figure 1),   = ∑  ∑    .
: the total time cost of GTs in the right bottleneck (detailed illustration of the right bottleneck can be found in Figure 1),   = ∑  ∑    .

Basic Assumptions.
To solve and optimize TPP, several assumptions are used throughout this paper to simplify practical cases: (1) Train arrival/departure times at/from the station are collected according to the existing timetable and cannot be changed.That is, there is no train shifting from the original timetable.In this case, the track reallocation plan is ordered by train arrival-departure times.
(2) Different trains traverse the same GT with equal time.This assumption eliminates the complexity of considering train types (e.g., train formation, train ranks).Thus, the total occupation time of a certain route composed of GTs can be accumulated.
(3) The security interval time (  ) is assumed as a constant.Generally, there are different ranks of trains passing through stations, for example, passenger trains and freight trains.Obviously,   varies between different ranks of trains for their unique braking performance.This assumption can help substantially reduce the complexity of the model.

Model Formulations.
To better explain the model formulations, a sample station is illustrated in Figure 1.There are four tracks and twelve GTs numbered from 1 to 4 and from 1 to 12, respectively, in the sample station.In Figure 1, the left bottleneck section contains six GTs, which are marked with odd numbers.On the contrary, the right bottleneck section consists of six even numbered GTs.

Constraints of TPP and Track Accidents.
Operational constraints in a passenger station set limits on the track allocations of trains.To fulfill the service requirements and enable safety, the following constraints should be satisfied. One Obviously, if a train pulls in from the left bottleneck and stays on track 1 in Figure 1, it will traverse GTs [2,3,5,[8][9][10].At the same time, if another train also pulls in from the left bottleneck, it cannot stay on track 2 because GTs [2,3,5,[8][9][10] have been occupied.However, this train can sit on track 3 or track 4 because GTs [1,4,6,7,11,12] are free at that moment.
One Time, One Track, and One Train.  is a binary variable.  = 1 means track  breaks down, and   = 0 means track  can receive trains.Constraint (2) indicates that, during the period of [   ,    ], track  is reserved for train .Apart from this period, track  is released.Thus, constraint (2) examines the track state and limits the unique utilization of station tracks as well: When   is equal to one, we have ∑  =1   ≤ (1 −   ) = 0.This track breaks down and is occupied by one virtual train.On the contrary, when   is equal to zero, the right hand side One Track, Two Trains, and Two Conflicts.A two-train conflict or greater can be decomposed by two trains.There are two types of conflicts on a track that must be avoided: complete conflict and partial conflict as referred to in Figures 2 and 3, respectively.To fulfill the requirements, there is a minimum security interval time, denoted by   , for two trains pulling on the same track.Figure 4 shows how two trains can stay on one identical track successively.According to Figure 4, a conflict avoidance constraint can be built as (4); that is, one train cannot pull on to track  until the preceding train has departed from track  for at least   min.Hence, ∀ ∈ ,   ∈ , and  ∈ ,

Objective Function of TPP.
Many other urgent problems may be induced under sudden incidents on station reception-departure tracks, such as a delay in the train's arrival and departure and decreasing the carrying capacity of station bottleneck sections.These problems are brought about directly from one phenomenon: decreasing the number of available station tracks.In this case, station operators must repair tracks as quickly as possible and reallocate tracks effectively with a limited number of available tracks. Figure 5 illustrates the flow of track reallocation after station track incidents.First, if the tracks have incidents, then the station capacity will definitely decrease.In this situation, the station bottleneck capacity also decreases because some tracks and GTs are frozen.Then, the predetermined routes (consisting of GTs) are changed and a new track reallocation plan is formulated.
The occupation time of each route to each track can be accumulated by GTs.For any train , the traversing time of GTs is calculated in (5).In addition, different routes consist of different GTs.The average occupation time of each GT is used to express the cost of the route.Clearly, the less average occupation time a GT has, the better the route we choose.Therefore, (6) evaluates the average occupation time of GTs in a route.Therefore, As we know, if some tracks are in incidents, the carrying capacity of the tracks will decrease immediately.In addition, the capacity of the bottleneck sections is also reduced.Therefore, the objective function of our model should pursue the minimum average use time of GTs in bottleneck sections that constitute different routes and lead to normal and abnormal station tracks.For all  ∈ ,  ∈ ,   ∈ , and  ∈ ,

Solution Algorithm and Sample Test
Artificial intelligence algorithms have been widely adopted to solve NP-hard problems.Gandibleux et al. [15] proposed Ant Colony Optimization heuristics to solve the track allocation problem.As evolution of [15], the algorithm described in [16] improved the local search heuristic and stopping criterion.The node packing formulation used in [17] found robust routing for the train routing problem.In addition, [17] adopted the fixed-point iteration heuristic to exploit the clique structure.The improved research by [18] used the same fixed-point heuristic to consider both deterministic and probabilistic robust problem.Similarly, [7,19] studied the track allocation problem at railway stations using the simulated annealing (SA) algorithm.
Studies [20,21] designed a stochastic search scheme based on SA and the genetic algorithm (GA).For a nonconvex optimization system, GA may suffer from premature convergence on a local optimum.Escaping from local optima is accomplished with an SA search scheme, which is a stochastic process.Intervention in the SA is accomplished with a GA search scheme that provides promising search locations or directions when an SA search slows down or "freezes."Considering the nice compatibility of both GA and SA algorithms, a genetic simulated annealing (GSA) algorithm approach is created.Herein, the GSA algorithm will be briefly reviewed.

Genetic Simulated
Annealing.SA starts from an initial solution at a high temperature and makes a series of changes according to an annealing schedule.For each change, an objective value  new ( new becomes  old after an iteration) is obtained.The difference between the objective values (Δ =  new − old ) is calculated after each iteration.If Δ ≤ 0, the new solution is accepted with probability  = 1.On the contrary, it is accepted with a small probability , which can be tracked as  = exp(−Δ/), where  is the current temperature parameter.Thus, SA avoids being trapped in a local optimum [22].Moreover, at each temperature, the above process will repeat  times, where  represents the Markov length.The temperature  is gradually decreased by cooling coefficient , where  is defined as  =  ×  (0 <  < 1).SA terminates either when the optimum solution is obtained or when the initial temperature decreases to the given value [7].
A matrix [ 11 ,  21 , . . .,  1 , . . .,  1 ;  12 ,  22 , . . .,  2 , . . .,  2 ; . . .;  1 ,  2 , . . .,   , . . .,   ; . ..;  1 ,  2 , . . .,   , . . .,   ] forms the genes of a chromosome in the algorithm.Here, from  = 1 : ,  = 1 : , each gene   = 1 represents the notion that train  stays on track .The matrix above is a unit matrix and ensures that each coming train has a track.A common operator used in GA is crossover, which generates chromosomes [23].A replacing method is adopted in the crossover operation.Taking the sample station as an example (four tracks), the track for a certain train is replaced by the track for the same train in another chromosome (see Figure 6), where the -axis represents trains and the -axis represents the timeline.The mutation operation changes the track for one train randomly.If the generated chromosome is unavailable, then it will be deleted.
The following GSA searches solutions for the track reallocation problem in railway stations.The detailed algorithmic steps are described as follows.
(1.2) Read the timetables for the arrival-departure trains.
(2.7) Use the mutation operation to population POP1().Check the generated solutions with constraints in (7) and accept them if they are available.Otherwise, delete them.
(2.8) Find the best solution in POP1() by comparing objective values.Train n  Step 3 (stop or do not stop).3.1 If temperature   ≤ , stop; otherwise,   =   ⋅ .Return to Step 2.

Sample Test.
A sample station in Figure 1 is used to verify the feasibility of the proposed model.Table 1 shows the different components for the routes and the corresponding occupation time of the GTs.For example, GTs (3, 5, 9/10, 8, 2) consist of the path to reception-departure track 1.The corresponding occupation times of the above GTs are (2, 2, 2/2, 2, 2) seconds.Table 2 gives the arrival and departure times of trains that should be dispatched in this station.There are six trains from 8:00 to 8:25 among which three trains pull in from the right bottleneck section and three pull in from the left bottleneck section.Figure 7 depicts the timetable intuitively.As observed, T2, T4, T5, and T6 arrive/depart at/from the station simultaneously.In other words, these four trains will occupy the station bottlenecks at 8:15, which means this station stays in the thick of the bottleneck capacity at this time.
Experiments are tested on a personal computer with an Intel Pentium 4 2.80 GHz CPU and 2 GB RAM.The track allocation optimizing results are given in Table 3, when ∑ ∈   / ∑ ∈   of tracks 1 and 2 are smaller than those of tracks 3 and 4. Thus, tracks 1 and 2 have been occupied twice, while tracks 3 and 4 are only used once.
We also simulate the track accidental experiment (track 1 is randomly selected by the programming).Computing results are shown in Table 4.When we simulate two track incidents simultaneously, a feasible reallocation plan could not be returned because the bottleneck capacity is not large enough to receive all trains.The computer simulation indicates that if there are two or more tracks that are not ready for service, trains cannot stay on the tracks according to the existing timetable.The track capacity decreases and some trains are delayed for arrival.

Case Study
This section illustrates the quality of the proposed model for a real case in China.Figure 8 shows the structure of the Baoji railway station in China.There are two bottleneck sections in this station: the left bottleneck section and the right bottleneck section.The left bottleneck is made up of 13 GTs that are marked with odd Arabic numbers, and the right bottleneck is made of 14 even GTs.Eleven receptiondeparture tracks, numbered from 1 to 11, are in the middle of the station.Here, the data sources for the computation come from the Xi'an Railway Administration, and the detailed TWD is given in Table 5.
As seen from Table 5, there are 30 trains that are scheduled in this daily and shift transport plan (from approximately 8:00 to 10:00).For example, train T22 arrives at 8:09 and departs at 8:22.The Direction column indicates that train T22  pulls in from the right bottleneck section and pulls out from the opposite bottleneck.
In Table 6, each row gives the component GTs of a station route from track 1 to track 11.The occupation time of each route is calculated according to Table 7, which shows the occupation time of each GT.Here, safety interval times have been taken into consideration [24].
4.1.Unavailable Tracks Simulation.Some virtual trains are introduced to solve the simulation work.It is undoubted that if a certain track is unavailable because of incidents, this track cannot be occupied until it recovers.According to different accident degrees, different repairing times are required.Therefore, the track repairing time is represented by the track occupation time of a virtual train.Actually, each track has a hidden virtual train, which will be activated as long as the track remains unavailable.Figure 9 illustrates how virtual trains simulate the unavailable tracks.TWD is transformed into a track occupation timeline.The dotted lines represent virtual trains, and the solid lines are real trains with train running directions.Train numbers are marked above the lines with the tracks in brackets.One virtual train will occupy a track when this track breaks down.The virtual train will evacuate when the track recovers.

Optimization Results
. Four accidental tracks are randomly selected by the computer, that is, tracks 2, 3, 8, and 10.Track 3 and track 8 are unavailable from 8:00 to 9:00, while track 1 and track 10 are unavailable from 9:00 to 10:00.In this case, the optimization results are shown in Table 8.Clearly, no train should stay on tracks 3 and 8 between 8:00 and 9:00.Additionally, tracks 1 and 10 are not occupied between 9:00 and 10:00.Figure 10 shows the track occupation frequency and route occupation time (cost) in a line chart, where "cost" means the necessary occupation time (min) of GTs with respect to a certain track.Compared with the original allocation results, the total cost of the optimal results is reduced from 64.3 to 62.2 in 30 min (Table 9).
It is easy to find that the higher the route costs, the smaller the occupation frequency of the corresponding track is.For example, tracks 10, 5, 9, and 7 have been occupied four times, while tracks 8 and 11 are occupied only once because track 8 is unavailable from 8:00 to 9:00 and because its time cost reaches up to 2.3.For instance, track 10 has been occupied four times in one hour.This is mainly because its time cost is only 1.833, which is the least among all station tracks.2800).  and   are calculated each time.It is found that the carrying capacity of the left bottleneck is approximately 1.29 times more than the right bottleneck.Thus, the limited carrying capacity is the right bottleneck section in this railway station.

Track Unavailable
Analysis.From 8:00 to 8:30, the capacity of the station tracks is excessive if there is no track accident.What if the station tracks have a larger area of failures?If the number of unavailable tracks exceeds a certain figure, this will lead to a delay in a train's arrival/departure.Thus, the maximum antijamming capacity in this station is tested.We performed a track unavailable experiment.The results indicate that the maximum number of unavailable tracks at the Baoji station is five from 8:00 to 8:30.Table 11 shows the experimental results.Table 10 shows that the Baoji station tolerates five unavailable tracks at most.Therefore, we observe the relationships for the number of unavailable tracks, lasting time, and station capacity in Figure 11.There are two parameters related to the size of dispatching trains that have been tested here.It is clear that, with a smaller number of unavailable tracks and shorter lasting time, a larger number of trains tend to be received.As shown in Figure 11, the number of unavailable tracks changes from 6 to 11, the lasting time changes from 5 to 30 min, and the different number of trains that can stay in the station is obtained.

Convergence Test.
To further illustrate the efficiency of the GSA algorithm, a convergence test is given in this case study as shown in Figure 12.The program stops after approximately 30 min with 1000 generations.The result indicates that the algorithm can converge to a steady state.For the real-time usage, operators can set a smaller value of generation or a limited running time.In addition, as the convergence curve indicates, solutions are acceptable when iterations reach onefourth of the total iterations.

Conclusions
This paper is motivated by the need to formulate and solve a track reallocation problem in large railway stations.We first explain the key features of using virtual trains to formulate track incidents.A mathematical programming model is developed, which aims at minimizing the total occupation   time of station bottleneck sections to avoid train delays.In addition, a hybrid algorithm between the genetic algorithm and the simulated annealing algorithm is designed.The case study for the Baoji railway station in China verifies the efficiency of the proposed model and the algorithm.
Our future study will focus on (1) developing different optimization or reformulation methods that can reduce the CPU time, improving the solution efficiency, and (2) modeling different scenarios for station incidents, for example, signal problems and switching problems, to address problems in railway station operations.
0 1 0] Crossover: two different chromosomes generate two new chromosomes Mutation: one chromosome generates a new chromosome Chromosome A  Chromosome B  Chromosome B

Figure 6 :
Figure 6: Samples of crossover and mutation operations.

Figure 11 :
Figure 11: Relationships for the number of unavailable tracks, lasting time, and station capacity.
Time, One GT, and One Train.For each GT  ∈  and  ∈ , constraints (1) set the uniqueness occupation of each GT in a certain period of time punctually, where   is a binary variable representing whether train  occupies GT .A fixed GT cannot be traversed by other trains until it is released by the preceding train.Thus, during the periods of [   −   ,    ] and [   ,    +   ], where    and    represent the starting and ending times of train  occupying track , constraints (1) should be satisfied: Complete conflict.Train  occupies track  from time    to time    , and train   occupies track  from time     to time     , where    ≤     ≤     ≤    .One Time, One Train, and One Track.Clearly, each coming train should be allocated with only one track.In the period of [   ,    ], train  will stay on track .Hence, 1 and track  is ready for allocation.With the binary variable   so defined, track incidents are described accurately.
Partial conflict.Train  occupies track  from    to    , and train   occupies track  from     to     , where    ≤     ≤    ≤     .Figure 4: Conflict avoidance.Train  occupies track  from    to    , and train   occupies track  from     to     , where    ≤    ≤     −   ≤     −   .

Table 1 :
Component GTs of each track in Figure1.

Table 3 :
Track allocation results of sample station.

Table 8 ,
different track allocation plans are given by discrete algorithm parameters.Table 10 lists the specific values of the left and right bottlenecks after analyzing two bottleneck capacities under each given plan.As seen, the program has been run by separate iterations (from 60 to

Table 7 :
Occupation time of each GT (min).

Table 9 :
Comparison of optimization results.

Table 11 :
Test of the number of unavailable tracks.