^{1}

^{1}

^{1}

^{*}

As the main tool for students and professors to come and go to different districts in-campus, the school bus is of great importance. In order to improve its efficiency and convenient students and professors, a rational schedule of departure is badly needed. A model is established to predict the peak time of people taking school bus based on martingale process, and it is solved according to stopping time of martingale. Then it is applied to Wuhan University of Technology. A large amount of data is collected and the peak time for each day is predicted combined with the actual situation of the college. In doing so, suggestions are given for those who are in charge of the school buses.

There are more and more districts being constructed to provide students with comfortable environment to study and live in [

According to literatures, problems of the optimization of distributions of the bus stations, dispatches and routes of the buses have already been discussed for many times [

The phenomenon of being crowded and short of buses in a time when there are a large amount of people arriving at the station continuously in adjacent period of time is of a high possibility to happen in-campus according to some literatures [_{i} people arriving at the station continuously in adjacent L unit of time. Where i is the ith workday, a_{i} is a threshold that stands the number of people taking the school bus in adjacent L continuous unit of time on the ith workday, which is related to real situations.

In order to establish our model, several variables are assumed as follows (

As it is inferred in 3.1 that a peak time is a period of time when there are more than a_{i} people arriving at the station continuously in adjacent L unit of time, it can be concluded that the total number of people taking the school bus in adjacent L unit of time should be L a i ( i = 1 , ⋯ , 5 ) when it comes to peak time. That is:

N i = inf { n i : ∑ j = n i − L i + 1 n X i n = L a i } (1)

Hence, the peak time prediction model on the ith workday can be expressed as:

E [ N ] = E [ inf { n i : ∑ j = n i − L i + 1 n X i n = L a i } ] (2)

The stopping time theory of martingale process is applied to solve the model.

At first, a stochastic process L: Z n i ( 1 ) , ⋯ , Z n i ( l ) is defined, where

Variable | Definition |
---|---|

The number of people taking the bus on the nth time unit of the ith workday. | |

The exact time of a peak time. | |

Z n i ( l ) = { z n i ( l ) , n ≥ l } , l = 1 , ⋯ , L ; i = 1 , ⋯ , 5 .

In a meanwhile, it can be concluded that:

Z n i ( l ) = 1 − p − 1 I ( ∑ j = n i − L i + 1 n X i n = L a i ) (3)

It is obvious that E [ z n i ( l ) ] = 0 .

Then a martingale process can be stablished:

Y n i = ∑ j = L n z j i ( L ) + ∑ l = 1 L − 1 z n i ( l ) , n ≥ L , i = 1 , ⋯ , 5 (4)

At first, it is known that:

E [ z n + 1 i ( l ) | X 1 i , ⋯ , X n i ] = z n i ( l − 1 ) , l = 1 , ⋯ , L , n ≥ l − 1 , i = 1 , ⋯ , 5 (5)

According to literature [

Then it can be proved that Y n i ( i = 1 , ⋯ , 5 ) is a martingale process, that is to prove

E [ Y n + 1 i | X 1 i , ⋯ , X n i ] = Y n i , n ≥ L , i = 1 , ⋯ , 5 (6)

However,

E [ Y n + 1 i | X 1 i , ⋯ , X n i ] = E [ ∑ j = L n + 1 z j i ( L ) + ∑ l = 1 L − 1 z n + 1 i ( l ) | X 1 i , ⋯ , X n i ] = E [ ∑ j = L n z j i ( L ) | X 1 i , ⋯ , X n i ] + E [ z n + 1 i ( L ) | X 1 i , ⋯ , X n i ] + E [ ∑ l = 1 L − 1 z n + 1 i ( l ) | X 1 i , ⋯ , X n i ] = E [ ∑ j = L n z j i ( L ) | X 1 i , ⋯ , X n i ] + E [ ∑ l = 1 L z n + 1 i ( l ) | X 1 i , ⋯ , X n i ]

According to (5), it is clear that:

E [ ∑ j = L n z j n ( L ) | X 1 i , ⋯ , X n i ] = ∑ j = L n z j n ( L ) (7)

while it is known that:

E [ z n + 1 i ( l ) | X 1 i , ⋯ , X n i ] = z n i ( l − 1 ) (8)

Hence, it can be concluded that:

E [ Y n + 1 i | X 1 i , ⋯ , X n i ] = ∑ j = L n z j i ( L ) + ∑ l = 1 L z n i ( l − 1 ) (9)

As z n i ( 0 ) = 0 , it is clear that:

E [ Y n + 1 i | X 1 i , ⋯ , X n i ] = ∑ j = L n z j i ( L ) + ∑ l = 1 L z n i ( l − 1 ) = ∑ j = L n z j i ( L ) + ∑ l = 2 L z n i ( l − 1 ) = ∑ j = L n z j i ( L ) + ∑ l = 2 L − 1 z n i ( l ) = Y n i

From what have been discussed above, Y n i ( i = 1 , ⋯ , 5 ) is proved to be a mar-

tingale process and E [ Y L i ] = E [ ∑ l = 1 L z L i ( l ) ] = ∑ l = 1 L E [ z L i ( l ) ] = 0 .

The demonstration can be founded in literature [

At first, proof of Y N i i = N i + 1 − p i − L 1 − p i is needed.

According to (4), it can be concluded that:

Y N i i = ∑ n i = L N i z n ( L ) + ∑ l = 1 L − 1 z N ( l ) (10)

1) For z n ( L ) , n = L , L + 1 , ⋯ , N i

As ∑ j = n − L + 1 n X j i = L a i means there are continuously L units of a_{i}, N_{i} is the first

time of a day that have continuously L units of a_{i} on the ith day of a week. Therefore, only when n = N i , it can concluded that ∑ j = n − L + 1 n X j i = L a i .

As for z n ( L ) , n = L , L + 1 , ⋯ , N i − 1 , as ∑ j = n − L + 1 n X j i ≠ L a i , it is clear that:

z n ( L ) = { 1 − p i − L n = N i 1 L ≤ n ≤ N i − 1 (11)

which means:

∑ n = L N i z n ( L ) = N i − L + 1 − p i − L (12)

2) For z N i ( l ) , l = 1 , ⋯ , L − 1

According to definition of z N i ( l ) , l = 1 , ⋯ , L − 1 and N i , it is obvious that z N i ( l ) = 1 − p i − l , l = 1 , ⋯ , L − 1 , i = 1 , ⋯ , 5 . Thus, it is clear that:

∑ l = 1 L − 1 z N i ( l ) = ∑ l = 1 L − 1 ( 1 − p i − l ) = L − 1 − p i − 1 ( 1 − p i − ( L − 1 ) ) 1 − p i − 1 = L − 1 + 1 + p i 1 − L 1 − p i (13)

According to what have been discussed above, it is known that:

Y N i i = N i − L + 1 − p i − L + L − 1 + 1 − p i 1 − L 1 − p i = N i + 1 − p i − L 1 − p i (14)

As N i is a stopping time of { X n i , n ≥ L , i = 1 , ⋯ , 5 } and suits what stopping time theory require, it is obvious that:

E [ Y N i i ] = E [ Y L i ] (15)

That is:

E [ N i ] = p i − L − 1 1 − p i , i = 1 , ⋯ , 5 (16)

Taking Wuhan University of Technology for example, it has 4 districts in Ma Fangshan district, which are Nan Hu district, Jian Hu district, Dong Yuan district and Xi Yuan district, and it also contains an accommodation area for students outside of the campus named Shengsheng. It can be clearly seen from the distribution of the school that the need for students to take the school bus is very urgent as there are 5 districts. Therefore, a good dispatch of the school bus is of a great importance.

To collect data, the number of people those take the school bus in every 3 minutes, from Monday to Friday, 7:30 a.m. to 9:00 a.m. is recorded. By using martingale process to predict peak time for each day, the schedule of the departure time can be optimized.

The data was collected in Nan Hu district, as it is the biggest district of the 5 ones and holds the largest population. There are 14 school buses in Wuhan University of Technology. According to our research, the average traffic for each day can be obtained. After studying on the data, it appears to relate to the total number of courses of the whole school, which makes sense.

Analyzing the data, a_{i} is related to the real situations. Therefore, the values of a_{i} combine with the real situations are determined.

As the number of courses is of a large amount in Monday, the traffic should be largest of the weak. Thus, a peak time for Monday is a period of time when there are more than 9 people arriving at the station continuously in adjacent L unit of time.

As the number of courses is not very crowded in Tuesday and Wednesday, a peak time for Tuesday and Wednesday is a period of time when there are more than 7 people arriving at the station continuously in adjacent L unit of time.

As most professors have their meetings on Thursday, the number of courses is not very large. Thus, a peak time for Thursday is a period of time when there are more than 5 people arriving at the station continuously in adjacent L unit of time.

As there are usually have practical courses on Friday, traffic is a little larger than Thursday. Thus, a peak time for Friday is a period of time when there are more than 6 people arriving at the station continuously in adjacent L unit of time.

That is

The value of a_{i} has been determined by the feature of the data in section 3.2 while the value of L is not. According to what have been observed in each school bus station in Wuhan University of Technology, it will significantly be crowded when there are a_{i} person arriving at the station to wait for the bus continuously in adjacent 3 unit of time. Thus L is determined as:

L = 3 . (17)

Applying the model in section 2, the peak time for each day is predicted as shown in the

It can be seen from the table that the peak time for Monday is around 12:05 and 17:25. T the peak time for Tuesday is around 10:33, the peak time for Wednesday is around 14:33, the peak time for Thursday is around 17:25 and the peak time for Friday is around 11:23. According to our research, it is corresponded to the real situation.

As for the occurrence of 2 peak times on Monday, according to the collected data, there are usually more people taking the bus on Monday in Wuhan University of Technology, thus there are 2 peak times that 9 person arrives at the station continuously in adjacent 3 unit of time in the original data. In this way, there are 2 peak times predicted by the model.

A peak time prediction model based on martingale process is established and solved with the stopping time theory. Taking Wuhan University of Technology for example, the peak time for each day is predicted by applying the model.

The suggestion is to reduce the time for departure to increase the trips when it comes to peak times. In this way, the efficiency of the school bus will increase and the cost will decrease at the same time. It will also provide a lot of convenience for students and professors. Besides, it is also suggested that students should prevent these time to take the school bus as far as possible.

The paper is financially supported by Students innovation and entrepreneurship

1 | 2 | 3 | 4 | 5 | |
---|---|---|---|---|---|

9 | 7 | 7 | 5 | 6 |

Monday | Tuesday | Wednesday | Thursday | Friday | |
---|---|---|---|---|---|

1/5 | 2/15 | 7/30 | 1/5 | 1/6 | |

155 | 20.9 | 101 | 155 | 39 | |

Peak time | 12:05 and 17:25 | 10:33 | 14:33 | 17:25 | 11:23 |

training program, Wuhan University of Technology, China (No.166814007).

Zhou, Y.X., Liu, S.J. and Gui, Y.F. (2017) The Prediction of the Peak Time of People Taking School Bus Based on Martingale Process. Applied Mathematics, 8, 630-636. https://doi.org/10.4236/am.2017.85049