Abstract

This paper focuses on discrete dynamic optimization on train rescheduling on single-track railway with the consideration of train punctuality and station satisfaction degree. A discrete dynamic system is firstly described to mimic train rescheduling, and a state transition function is specially designed according to the train departure event. The purpose of this function is to improve simulation efficiency by directly confirming the next discrete time. After the construction and analysis of optimization models to discrete dynamic system, a two-stage heuristic search strategy is developed, by using clustering hierarchy theory and stochastic search strategy, to obtain train departure time and arrival time before each state transition of the system. Finally, a numerical experiment is conducted to verify the proposed system, models, and the heuristic search strategy. The result shows that the discrete dynamic system, together with the state transition function and heuristic search strategy, shows better performance in simulation efficiency and solution quality.

1. Introduction

Railway transportation plays a significant role in transportation market. Due to the large scale of railway network and the high density of train operation, railway transportation is almost impossible to organize like road transportation [1]. In order to reduce workload and ensure safety, a special organization pattern is generally adopted by railway transportation companies in China; that is, stations and segments in one railway corridor are put under several different dispatching districts, and train dispatchers are appointed to organize train operation in their respective districts. A simplified organization and management of train operation is shown in Figure 1.

In normal case, train operation is well-organized by train dispatcher according to the original train timetable, in which train arrival time and departure time at each station are specially planned [2, 3]. However, original train timetable is usually violated in practice because of some unexpected factors, such as excess dwelling time [4], extended traveling time [5], and infrastructure failure [6]. If the violation is not serious, it can be eliminated without leading to extra disruption by using the buffer time reserved in original timetable. Otherwise, appointed train dispatcher will take some efficient measures to reorder the related trains to follow the original train timetable as far as possible [7]. This is the so-called train rescheduling problem (TREP).

TREP is associated with train scheduling, but obviously different. Train scheduling focuses on train preplanning with the purpose to generate an original train timetable, during which some objectives are primarily considered, such as the number of running trains [8], passenger traveling time [9], energy consumption [10], and even the flexibility of train timetable [11, 12]. However, TREP is the train real-time control, during which recovering train order and guaranteeing train punctuality within limited operating time are the primary goals [13, 14]. Essentially speaking, train departure time and train arrival time at each station are the core decision variables to TREP. The selection of reasonable station for train meet and overtake (M&O) or train meet and pass (M&P) are the critical adjustment measures in TREP [15]. For a double-track railway, as some fixed infrastructures, like rail track and signal, are used by inbound train and outbound train, respectively, M&P caused by inbound train and outbound train is unconspicuous. However, inbound train and outbound train on single-track railway share the infrastructures mutually, and only one train can be allowed to occupy one segment at the same time. Therefore, stations for train M&O or M&P on single-track are extremely difficult to confirm in TREP.

TREP has been proved to be an NP-hard problem. Tracking back to existing researches, it remains an interesting and changeling topic in operation research [16]. Thereinto, job-shop scheduling theory [17], graph theoretic approach [18], and event-activity network [19] are generally adopted to describe their problems at microscopic level or macroscopic level. The advantage of these researches is that aforementioned theories and approaches have been well-studied in computational sciences, and some existing algorithms can be directly embodied to deal with their models [20]. However, they are difficult to reflect the dynamic process of train operation. Some particular constrains, such as station capacity constrain and segment occupy constrain, have to be simplified. In order to present the problem exhaustively, some other scholars describe their problems from the perspective of time-space network [21]. In their descriptions, two kinds of nodes are used to denote train arrival points and train departure points, and the arcs connecting different nodes will be the potential train trajectories. By this way, majority of constrains can be clearly formulated according to the time that nodes are associated and the numbers that related arcs are connected [22]. However, this method may be unsuitable for TREP on single-track railway in that fixed infrastructures are shared by inbound train and outbound train mutually. Besides, technical operation of dwelling train on single-track railway is various, and they are difficult to depict by using time-space network.

System simulation is another efficient method to deal with train scheduling or TREP. For the problem of periodic train scheduling, Goverde et al. [23] construct a linear recursion system by using max-plus linear theory. Thereinto, the state of recursion system is driven by a train arrival event and a train departure event. Similarly, a discrete event dynamic system (DEDS) driven by state transition function is also proposed in [24, 25]. However, the difference is that the designed state transition function is based on a train arrival event in that it is associated with the majority of potential collisions. In the DEDS, the precondition of the motivation of state transition function is that a train arrival event occurs without any potential collision. With this reason, train advance strategy (TAS) is specially provided to repeatedly check the status of all trains and stations before the determination of a departure event. Whereafter, once the arrival event is motivated, the discrete time of next arrival event needs to be confirmed by using the state transition function, during which the state of all trains that are running at a segment needs to be checked secondly (for more details, see [24, 25]). In fact, a train arrival event and train departure event depend on each other, and it is indeed the fact in simulation technic and actual train organization [26]. Therefore, some repeated checks during the period that train is running at segment can be saved if we simultaneously confirm train departure time and next arrival time with no potential collisions. In addition, technical operation at a station requires adequate stopping time for dwelling train, during which the train cannot be departed. Therefore, the checks during this period can also be saved. In short, the fewer the times of the checks are, the higher the simulation efficiency of DEDS will be. Regretfully, it is not sufficiently considered in existing research.

TAS is the core check algorithm in DEDS. Just as mentioned, the task of TAS is to confirm a reasonable departure time before each state transition. As the first version of TAS is designed for single-track railway, it is extended by Dorfman and Medanic [25] for collision checking on railway networks. In the subsequent research studies, it is further improved by Xu et al. [27] and Li et al. [28] in terms of collision release and track allocation. Compared with some calculation methods in existing research studies [2931], TAS has the advantage in solving efficiency and solution adaptation in that it is based on the simulation of train operation in real time. During the simulation, the train with the worst time delay will be selected by TAS to occupy the free segment if there are several potential trains. This mechanism is similar to greedy strategy [32] and neighborhood search strategy [18]. However, it may increase additional burden on related stations, especially the station for M&P or M&O, in that the selected train usually decreases or lengthens train dwelling time and incurs more delayed trains. Hence, how to balance train punctuality and station burden is necessary to TREP. Unfortunately, related research studies seldomly take this problem into consideration. Essentially speaking, TAS is a local optimization strategy or search strategy, and the result obtained by this strategy is factually a local optimum solution. Therefore, designing an efficient search strategy with certain global optimization ability is also important to TREP.

Based on the aforementioned analysis, our research focuses on discrete optimization on train rescheduling on sing-track railway. Thereinto, a DEDS, together with a state transition function, is previously designed. Slightly different, DEDS in this paper is presented in the form of mathematical formulation by using cumulative flow variables. By this way, potential collisions and constrains can be conveniently presented. Especially, our state transition function majorly focuses on each train departure event because the particular period that train is running at segment and dwelling at station for necessary technical operation can be saved if train departure time and next arrival time are predetermined without potential collisions. With this reason, simulation efficiency of DEDS may be improved. The purpose of our DEDS is to obtain a new train timetable that can balance train punctuality and station satisfaction degree (namely, the station burden). In order to realize this purpose, a two-stage heuristic search strategy is also provided to simultaneously determine train departure time and arrival time before each state transition of DEDS. Thereinto, the first stage is based on clustering hierarchy, in which all the trains will be divided into several reasonable hierarchies according to train priority. After that, train in different hierarchies will preempt the time windows with different qualities and collisions. The second stage focuses on stochastic search strategy for trains in each hierarchy, during which departure train will be decided among potential trains to occupy segment before state transition of DEDS. Overall speaking, our DEDS is similar to the real-time train adjustment system in [33] and we are also eager that it can be suitable for TREP with different train priorities or multiclasses train rescheduling.

The remainders of this paper are organized as follows. Section 2 focuses on the description of DEDS. Section 3 and Section 4 are the models and two-stage heuristic search strategy for DEDS, respectively. Section 5 is the analysis based on a numerical experiment, and some conclusions are summarized in Section 6.

2. Discrete Event Dynamic System of TREP

2.1. Preliminary

Before the description of discrete event dynamic system (DEDS), some necessary assumptions are made as follows.

Assumption 1. Our research only focuses on a dispatching district on single-track railway with semiautomatic block. There are no branch tracks in dispatching district.

Assumption 2. Train running time at segment is uniform but may be different, and it will be assigned according to time delay, collision checks, and departure time.

Assumption 3. The time for signal arrangement and train acceleration or deceleration is integrated as a uniformed and fixed one for all trains and stations.

Assumption 4. All the arrival-departure lines in each station hold ordinary technical operations, such as M&P, M&O, passenger boarding and alighting, and train temporary stopping. For other special operations, each station has an appointed yard to deal with.
Based on the assumptions, let be a DEDS to TREP, where is the discourse domain, is the collection of events, and and are the collections of states and constraints, respectively. Specially, is the state transition function of DEDS.

2.2. Domains, Events, and States of DEDS
2.2.1. Discourse Domain of DEDS

Discourse domain of DEDS includes object, time, and space. The object domain is train . Here, we refer to train running with outbound direction as and refer to train running with inbound direction as . Time domain is the train rescheduling horizon with discrete step , and is the clock of DEDS. Space domain mainly denotes station set and segment set . The relationship between segments and stations is shown as follows:where is the segment index and and are the indexes of departure station and arrival station for train , respectively. They can be expressed aswhere is a 0-1 variable to denote the train running direction,

that is,.

Formulae (1) and (2) will be always holding in our following research, excepting the special case declared separately.

2.2.2. Event Description of DEDS

Events in DEDS include departure event and arrival event . Therein, is a 0-1 decision variable denoting a departure event, that is

Based on the decision variable , departure time can be confirmed aswhere is a bigger integer, which is also the initial value of . is the minimal time for signal arrangement and train departure.

Then, arrival time of train at station can be formulated as where is the decision variable to denote running time of train at segment . Specially,where and are the minimal and maximal running time of train at segment , respectively.

2.2.3. State Description of DEDS

The state of DEDS is associated with train departure event and train arrival event. According to departure time and arrival time in original train timetable, DEDS is under the state of time delay if or for .

Let be an accumulative 0-1 state variable to record the state that whether train has been departed at station when system clock is , that is, .

Similarly, let record whether train has arrived at station when system clock is .

Based on the aforementioned definition, an illustration to accumulative state variables is shown in Figure 2.

2.3. Constraint Description in DEDS
2.3.1. Train Departure Constraints

Let denote the types of technical operation. Herein, denotes train passes through a station or stops at a station for M&P and M&O, denotes passenger train stops at a station for passenger boarding and alighting, and denotes train stops at a station for other technical operations. Then, 0-1 variable can be defined as .

There is only one type of technical operation that train at station belongs; hence,

To satisfy the necessary dwelling time for different technical operations, the following formula cannot be violated:where is the minimal stopping time required by technical operation of train at station .

Passenger train appointed at station for passenger boarding and alighting cannot be dispatched until the clock meets or overtakes the original departure time. That is, where is the departure time of train at station regulated in the original train timetable.

2.3.2. Departure Interval Constraint

Departure interval constraint mainly refers to the minimal time interval required by a departure station for signal arrangement and train departure. We here make an assumption that train is under the departure decision at station and train is the former arrival or departure one at the same station. Then, four scenarios are shown in Figure 3.

According to four scenarios in Figure 3, the minimal time interval required by station can be formulated by the following formulae:where is the minimal time required by station for signal arrangement and train departure.

2.3.3. Segment Running Constraint

For a single-track railway with semiautomatic block, M&P and M&O only occur at station. Hence, scenarios in Figure 4 will be strictly forbidden.

Based on the scenarios in Figure 4, segment running constraint can be denoted as

2.3.4. Arrival Station Constraints

In order to avoid collisions and deadlocks in DEDS, arrival station constraints will be predicted and guaranteed by departure station before train is departed. With this reason, train departure time and train arrival time will be determined simultaneously during the simulation:(1)Arrival interval constraintJust as departure station constrain, the minimal time interval required by the arrival station for signal arrangement and train arrival can be denoted as follows, respectively:where is the time interval required by arrival station for signal arrangement and train arrival.(2)Station space constraintArrival station should at least have one unoccupied arrival-departure track for the approaching train. Hence, station space constraint can be guaranteed by the following formula:where is the total number of arrival-departure tracks in station .

2.4. State Transition Function of DEDS

Train departure and train arrival are the two kinds of events that denote the dynamic of DEDS during the simulation of TREP. As having analyzed, train arrival time at the next station will be determined simultaneously with the determination of departure time at one station if we previously make sure there are no potential collisions. With this reason, the state of our DEDS will primarily focus on train departure event. The advantage of this decision is a particular period that train is traveling at segment or dwelling at a station for necessary technical operation that can be saved, just as the analysis in Section 1. Based on the aforementioned analysis and accumulative state variable in DEDS, we formulate the state transition function of DEDS as follows:where is the discrete time step between departure event and . is the state check function, and it is formulated as follows:where is the minimal stopping time required by technical operation of train at station , is the train that will be selected to occupy segment , and segment and station satisfy formula (1).

In order to analyze the principle and reasonability of state transition function, an example with three stations and one train is provided as Figure 5.

As shown in Figure 5(a), is a discrete time point for DEDS in that train is departed at station . After that, a satisfactory value of discrete time step can be confirmed as 16 according to formulae (16) and (17), and then, the next potential departure time point, namely, , can be confirmed according to formula (15). In Figure 5(b), train departs at station when and will arrive at station when because we suppose there are no collisions during this period. If the assumption fails, subsequent potential departure time points will be successively taken to confirm the corresponding arrival time with no potential collision until the reasonable departure time and arrival time pairs is obtained. This process will be further and illustrated in detail in Section 4. What is noteworthy is that there in only one segment in example. For a dispatching district with several segments, formulae (16) and (17) will be executed for each segment, but the next departure time point is still confirmed by formula (15).

3. Optimization Model for TREP-Based DEDS

3.1. Objective Function
3.1.1. Objective Function of Train Punctuality

The primary objective of DEDS is to guarantee the punctuality that a train is handed over to the next dispatching district or time horizon; that is, where is the last arrival station of train in dispatching district or time horizon is the weight that denotes the priority of train .

With respect to the value of weight , some empowerment methods have been developed, such as fuzzy theory [34], group decision-making [35], and rough set theory [36]. In this paper, the entropy weight method is strongly recommended in that this method can effectively avoid decision errors caused by incomplete information [37, 38]. Let be an attribute matrix; herein, is the number of rescheduled trains, and is the number of attributes, such as train type, the importance of train path, and the number of interface stations. If attribute is positive, can be converted as by formula (19). Otherwise, it can be converted as by formula (20):

Then, can be normalized as as follows:

Based on the normalized index , can be obtained according to the following formulae:

3.1.2. Objective Function of Station Satisfaction Degree

The pivotal task of TREP is to select a reasonable departure train to occupy segment with no collisions. However, it usually decreases or lengthens dwelling time on other trains, which may further lead to additional burdens on related stations. Hence, we employ station satisfaction degree, which can be mapped as a fuzzy value [39], to express the reasonability of rescheduled dwelling time.

According to fuzzy theory [31, 40], let be a membership function depicting the membership degree of element from a universal set to interval . Then, station satisfaction degree can be designed as formula (24) according to the different types of technical operation :where and are membership functions and defined as follows, respectively:where are the reference points to argument .

Based on the aforementioned description, the objective function of station satisfaction degree can be formulated as follows:where is a weight to characterize station priority.

3.2. Optimization Models and Analysis

Holding the purpose to obtain a new timetable with the better punctuality, the optimization model can be constructed as M.1.Objective function: formula (18).Subject to constraints: formulae (1)–(14), (19)–(23).

To obtain a new timetable with the higher station satisfaction degree, the optimization model can be constructed as M.2.Objective function: formula (27).Subject to constraints: formulae (1)–(14), (24)–(26).

M.1 and M.2 share the decision variable and commonly. In detail, and are generally accordant and cooperative to M.1. However, they may be more complexity to M.2 because of the cooperativity or anticooperativity caused by recurse property and potential collisions. When train deviation is serious, M.1 will lead to the poorer performance to M.2 by reducing or lengthening dwelling time. In order to obtain a timetable that can balance train punctuality and station satisfaction degree simultaneously, a multiobjective optimization model (M.3) is constructed as follows:Objective function 1: formula (18).Objective function 2: formula (27).Subject to constraints: (1)–(14), (19)–(26).

M.1, M.2, and M.3 are integer programming models, and all the objective functions are nonlinear ones. Thereinto, M.1 can be easily solved by commercial software because formula (18) can be linearized. However, M.2 is extremely difficult to be solved in that formula (24) is scarcely linearized. With respect to M.3, the solution procedure will be much more difficult because it requires coordination and equilibrium between M.1 and M.2. Generally speaking, aforementioned models are derived from DEDS. In order to obtain the adequate solution within reasonable computational time, a heuristic search strategy will be designed for our proposed DEDS.

4. Two-Stage Heuristic Search Strategy for DEDS

Heuristic search strategy is designed as two sequential stages in this section. In the first stage, as train punctuality is the primary objective to our problem, and all the trains will be divided into several hierarchies according to train priority. After that, trains in different hierarchies will preempt time windows with different qualities and collisions. Thereinto, the divided hierarchies can be regarded as several subsidiary DEDS. For each DEDS, it has respective system clock and state transition function, but system constrains of each DEDS are shared mutually. The second stage focuses on departure event and constrain inspection at each discrete time in subsidiary DEDS. Herein, the evaluation of each potential departure train will be firstly provided according to different objective functions. Then, a reasonable departure train, together with its departure and next arrival time, will be heuristically determined from potential trains to occupy each free segment. Without doubt, once the departure event is motivated at this discrete time point, the next discrete point will be confirmed according to our designed state transition function.

4.1. First-Stage Strategy Based on Clustering Hierarchy

In order to meet an adequate solution as far as possible, an intuitive rescheduling strategy is that trains should be arranged one-by-one according to train priority from high to low, just like the strategy in [41, 42]. However, we concern that it may incur expensive loss in train punctuality and station satisfaction degree because of the interruption for the trains with a lower weight. Therefore, all the trains can be divided into several reasonable hierarchies according to train priority. After that, trains in same hierarchies should be rescheduled simultaneously to preempt time windows with proportionable quality. By this way, the concern may be relieved or even eliminated.

In order to obtain a reasonable train hierarchy, clustering analysis theory is particularly introduced in that it has the advantage in maximizing element homogeneity in the same hierarchy and element heterogeneity among different hierarchies [43].

According to the train priority , let be a matrix, where is the relative distance between and , which can be formulated as

Obviously, is a fuzzy similar matrix, and there exists a minimal transfer number for fuzzy similar matrix to satisfy where is the transitive closure for , is the fuzzy equivalent matrix for , and .

According to the fuzzy equivalent matrix , all the trains will be divided into hierarchies for each given threshold . Then, statistical magnitude can be formulated as follows:where is the total centroid of   and is the centroid of hierarchy.

For each threshold , a satisfactory threshold can be obtained aswhere denotes is an element in matrix .

Based on the satisfactory threshold , all the trains will be divided into hierarchies, namely, , where . Then, trains in each hierarchy will be rescheduled simultaneously.

4.2. Second-Stage Strategy-Based Stochastic Heuristic Search

The stochastic heuristic search in this stage focuses on train departure and constrain inspection at each discrete time point in each hierarchy . The core of the strategy is to decide which train should be selected to occupy segment if there are several potential trains. Herein, the potential train means its arrival time has been recorded by accumulative variable and will or can be arranged to occupy segment . For convenience, potential train is denoted as for each segment . Especially, means segment is inefficient. For each potential train , train evaluation can be firstly proposed as follows when the model is M.1:where is the minimal time at which train can be departed.

If the optimization model is M.2, train evaluation can be proposed as

If the optimization model is M.3, train evaluation can be proposed as

In formulae (32)–(34), is derived from a time pair , which means that train can pass through the constraint inspection with departure time and the running time . According to this time pair, train departure time and next arrival time pair with no potential collision can also be confirmed. Generally, each departure train will additionally increase the evaluation of other potential trains. However, does not take this influence into consideration. In order to make up this disadvantage, we assume that if train is selected as a departure train, then train can be dispatched until , where can be obtained as

Hence, train evaluation can be reconstructed as

If there are several effective segments at current discrete time points, the decision sequence of those segments may lead to different solutions for TREP because of the station space constraint. Hence, segment evaluation can be formulated as follows:

Based on train evaluation and segment evaluation , a random heuristic search will be adopted to determine segment sequence and departure train. The heuristic strategy is that the segment with higher value of will be primely determined with the higher probability, and then, a train will be selected from the potential trains to occupy this segment in the similar heuristic strategy. As segment sequence and departure train may lead secondary collisions, the constraints and collisions must be secondly inspected. If the selected train does not pass though the inspection, it will not be allowed to depart. Otherwise, it be assigned to occupy the corresponding segment by recording train departure time and next arrival time. After that, next discrete point will be confirmed, according to state transition function, to realize state transition of DEDS.

4.3. Deadlock Analysis and Strategy Terminal Criterion

In our two-stage heuristic search strategy, deadlock of DEDS is prevented in that train departure time and arrival time are simultaneously determined with no potential collisions. Although our strategy may incur a little waste of effectiveness of arrival-departure line, the potential unsafety that train may be blocked at segment is shunned at least. A unique deadlock may be that all the arrival-departure lines in each station are occupied, which is like the deadlock in a closed system [44]. However, this extreme phenomenon cannot occur in our DEDS in that it is a half-open system at least.

In order to obtain adequate train timetable within reasonable computational time, two criteria can be referenced as the terminal to heuristic search strategy. One criterion is the total number of solving cycle , which is similar to the maximum cycle in genetic algorithm [45]. Another one is the maximum cycle times in that the obtained solution has not been surpassed by subsequent solutions. With these two criterions, the simulation flowchart of train rescheduling based on DEDS is shown as Figure 6.

5. Numerical Experiment

5.1. Experimental Setup

Our experiment is based on a real case with 10 stations in a dispatching district. Within the time horizon 6 hours, 24 trains are involved. Table 1 gives the related information about each station. Table 2 is the related information about each train.

In order to guarantee security and timeliness, and , where is the running time regulated in original timetable. The minimal interval required for signal arrangement is min. The arrival time and departure time in original timetable are shown as Figure 7.

In the objective function of station satisfaction degree, reference points are , , , , , and . The optimal criterial are and .

5.2. Results Analysis and Discussion
5.2.1. Adequate Solution Generation and Analysis

According to the train attributes in Table 2 and entropy weight method, the weight of each train can be obtained, as shown in Table 3.

According to the weight of each train, fuzzy equivalent matrix can be obtained when transfer number is . Then, all the trains can be divided into different hierarchies according to corresponding threshold . Train hierarchies based on different threshold are shown as Figure 8. The statistical magnitude based on different threshold is shown as Table 4.

From Table 4, we can obtain the satisfactory threshold in that the maximum . Then, all the trains are divided into hierarchies, as shown in Figure 8.

Based on the aforementioned preparation, our test is realized by Python 3.6.5 on Windows 10 X64 professional platform. The results show that an adequate solution can be found when the iteration is 83, nearly 40 seconds. The convergence graph of M.3 is shown as Figure 9.

In order to illustrate the effectiveness of heuristic search strategy, the results generated by nonrandom search strategy are also presented in Figure 9. Obviously, the advantage of our strategy is remarkable both in train punctuality and station satisfaction degree. In addition, the feasible solution can be obtained within 0.4772 seconds, which shows our strategy has the better performance on simulation efficiency than other optimizing strategy, such as TAS in [24] and branch-and-bound strategy in [28]. In order to further analyze the obtained solution, adequate train timetable of M.3 and original train timetable in Figure 7 are contrastively shown in Figure 10.

In adequate train timetable, train 16, train 17, and train 18 are rescheduled under second hierarchy according to train hierarchies in Figure 8. With this reason, the delay of train 16 is extended and the departure of train 18 is even failed at station a. Notably, as the adequate timetable has loaded the initial time delay (see Table 2), departure stations and departure time of some trains in adequate timetable are slightly different from those in original timetable, such as train 2, train 3, and train 5. As the reason of initial time delay, some dwelling stations for train M&P or M&O are also changed after train rescheduling, such as train 2 and train 5 at station f for M&P and train 21 and train 23 at station d for M&O. Generally, nearly 70% trains can be handed over to next dispatching district or next time horizon with the less time delay, which is higher than 30% trains before the rescheduling. In order to further analyze the interaction influence of train punctuality and station satisfaction degree, the convergence graph of M.1 and M.2 compared with the M.3 is shown in Figures 11 and 12.

Figures 11 and 12 show that station satisfaction degree is inversely proportional to time delay, but not strictly. For the results of M.1, when optimal time delay meets 160.6451 mins, the station satisfaction degree is 384.8928. However, for the results of M.2, when the optimal satisfaction is 414.6910, total time delay increases as much as 185.8713 min. Compared with M.1 and M.2, time delay of M.3 is 175.4344 mins and station satisfaction degree of M.3 is 409.7517. Hence, M.3 has the better advantage in the balance of train punctuality and station satisfaction degree. In order to further analyze the difference caused by train time delay and station satisfaction degree, the adequate train timetables of M.1 and M.2 are provided in Figure 13.

Compared with (a) and (b) in Figure 13, the obvious differences between two train timetables are caused by train 19 for M&P with related trains, such as the oval tags marked S2, S3, and S4. In addition, train 8 for M&P with train 7, train 9, and train 10 is also the important difference, such as the oval tag marked S1. Generally speaking, the results in Figure 13 imply that M.1 requires train to have suitable station for M&P or M&O. However, it may be slightly different in M.2, which requires the reasonable train dwelling time.

5.2.2. Clustering Hierarchy Analysis

Clustering hierarchy in the first stage of our heuristic search strategy has an influence on adequate solution and simulation efficiency. In order to further to analyze, M.1 and M.2 are employed to exhibit the adequate solutions under each clustering hierarchy. The adequate solutions of M.1 and M.2 under each clustering hierarchy are shown as Figures 14 and 15, respectively.

From Figures 14 and 15, we can find that the adequate solutions of M.1 and M.2 are different under each clustering hierarchy. Specially, train punctuality and station satisfaction degree are too bad to accept when threshold . The adequate solutions under each threshold are shown in Table 5.

In Table 5, the adequate solutions are generally better when . Specially, when , the solutions of M.2 are nearly equal. However, the solutions of M.1 are slightly different. Table 5 gives a suggestion that reasonable thresholds are and , that is, and . In fact, this suggestion is also supported by the following analysis. When , namely, , adequate solution is not prominent because of the interruption caused by the trains with the lower weight. However, when , namely, , heuristic search strategy becomes less obvious because of the decrease in potential trains in each train hierarchy.

As having mentioned, and are both the reasonable thresholds. Merely, is adopted in our study because of the max (see Table 4). In order to analyze the interaction influence between clustering hierarchy and train multiattributes, the results of clustering hierarchy with different train attributes are shown in Table 6.

In Table 6, trains attributes are corresponding to Table 2. Additionally, train initial delay, namely, , is also considered as a train attribute. The results in Table 6 show that is always hold although train attributes are taken differently. Hence, clustering hierarchy can be used to confirm train hierarchy. However, how to confirm the optimal train hierarchy in other cases needs to be further explored in that statistical magnitude is just one of the methods in clustering hierarchy theory. In addition, a set of reasonable train attributes are also extremely important to train hierarchy.

5.2.3. Timeliness Analysis of DEDS and Strategy

The simulation time of DEDS depends on the state transition function and heuristic search strategy. As the purpose of state transition function is to obtain a reasonable discrete time step , computational time with can be provided as a comparison to analyze the timeliness of DEDS. The simulation time of DEDS with different discrete time steps under each train hierarchy is listed in Table 7.

The results show that clustering hierarchy in heuristic search strategy cannot obviously produce additional simulation time. Compared with simulation time with , nearly 40.44 percent of simulation time can be saved by using state transition function . The main reason is that stochastic search strategy in a particular period that train is traveling at segment or dwelling at a station for necessary technical operation is saved by transition function . In order to demonstrate this preconception, the change in time step obtained by transition function is shown as Figure 16. Herein, the results are based on the conditions that and .

As shown in Figure 16, the discrete steps are changed obviously, which means that strategy in a particular period is saved by transition function during the simulation. With this reason, the discrete feature of DEDS is more prominent and the efficiency of DEDS is also improved.

6. Conclusions and Future Research

This paper presents a simulation method for TREP on single-track railway. It can be regarded as an extended version of the research in [24]. In this paper, the proposed DEDS is based on train departure event and arrival event, but the state of DEDS is driven by departure event. With this reason, state transition function can jump over some repeated constrain checks to improve the efficiency of DEDS. Our heuristic search strategy is derived from TAS proposed by Dorfman and Medanic [25]. However, it has certain global search capacity not only in time window preemption of different train hierarchies but also in segment occupation for each potential train. The proposed mathematical optimization models can be referred as further analysis to DEDS and TREP. Herein, the multiobjective optimization framework, namely, M.3, is our primary focus in that it can balance train punctuality and station satisfaction. However, it may be unsuitable for TREP with track allocation because the problem of track allocation for each dwelling train is simplified as Assumption 4 in Section 2.1.

Generally speaking, supreme pursue of train punctuality usually leads to additional loss of station satisfaction degree. However, numerical experiment shows that nearly 15.81 percent of train punctuality and 17.47 percent of station satisfactory degree are improved by heuristic search strategy. Besides, state transition function can save the simulation time nearly 40.44 percent. These conclusions present that our DEDS, together with state transition function and heuristic search strategy, has better performance in solution quality and simulation efficiency. The numerical experiment also shows that hierarchical strategy is efficient to quickly obtain adequate solution. Series of simulation with different train attributes imply that reasonable train hierarchies should not be beyond three. However, this conclusion may do not apply to other cases because it is based on only one experiment. As having mentioned, a set of reasonable train attributes are critical to hierarchical strategy; hence, how to confirm the optimal train hierarchy needs further exploration.

In future, a more efficient search strategy is worthy developing both in time window preemption based on train hierarchy and segment occupation for potential train, by using some machine learning theories and prediction techniques. Besides, our research just focuses on train rescheduling on dispatching district, and extending our research on railway network is also the future work.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (Grant no. 71961016), Planning Fund for the Humanities and Social Sciences of the Ministry of Education (Grant no. 18YJAZH148), and Natural Science Foundation of Gansu Province (Grant no. 18JR3RA125). The authors also thank Jinping Hu, who is a train dispatcher in China Railway Lanzhou Group Co., Ltd., for his suggestions from the perspective in practice.