This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2018-217656, filed on Nov. 20, 2018, the entire contents of which are incorporated herein by reference.
The present disclosure relates to an information processing apparatus, a method for the same, and a non-transitory computer readable medium.
For railway companies and the like, delays in service planning diagrams, which is simply called diagrams, are serious problems bringing about decreases in sales and increases in costs such as penalty payment. Accordingly, it is preferable to create a diagram that is as robust as possible to withstand delays. If a diagram can be evaluated by using as less historic data on operations as possible, such a diagram evaluation method is of great worth.
Diagram evaluation methods include a method in which a probability of delay at each station is calculated as one example. There is, for example, a method in which a probability of delay at each station is output by using the Bayesian network scheme. However, if the Bayesian network is used, big historic data, such as journal information for a certain period of time, is required to acquire information on correlations of delays between stations. There is, as another example, also a method in which Monte Carlo simulation is performed by using a diagram and past delay probability records and a frequency distribution for a delay at each station is created. However, Monte Carlo simulation generally takes a long time to convergence and therefore has a problem that a large number of repetitions are required.
According to one embodiment, an information processing apparatus includes processing circuitry. The processing circuitry reads out diagram information indicating a schedule of at least one vehicle tripping along a trip path, wherein the diagram information includes a plurality of events and the events include stop places and departure times from and/or arrival times at the stop places, and calculates a delay probability distribution for a first event of the plurality of events included in the diagram information. The processing circuitry calculates the delay probability distribution for the first event based on: event-to-event delay time information between the first event and a second event preceding the first event; and a required time interval between the first event and the second event.
Hereinafter, embodiments will be described with reference to drawings.
Generally, in generation of diagram information, a delay of a train is supposed, and a time point of an event (departure time, arrival time, or the like) is determined in many cases by adding a margin time to a minimum value of a run time between stations or a minimum value of a dwell time at a station. Moreover, a restriction related to a time interval (time interval restriction) is provided in many cases between a train line of a certain train (self train line) and a train line of another train preceding the certain train (preceding train line). If a delay time on the preceding train line exceeds a predetermined value, the delay time influence on the train of the self train line. Specifically, there are two types of delays: a delay on the self train line itself (primary delay) and a delay due to the preceding train line (secondary delay). In more detail, delays include a delay due to a preceding event on the self train line and a delay due to a preceding event on the preceding train line. The two type of a delay on the self train line and a delay from the preceding train line influences on the train of the self train line.
A rightward direction along a plane of the drawing is a time direction. The train line 12 is a train line of another train that trips along the same path as the train line 11 (a train line following the train line 11). The train line 12 includes an event 12a of departure from the A station, an event 12b-1 of arrival at the B station, an event 12b-2 of departure from the B station, an event 12c-1 of arrival at the C station, an event 12c-2 of departure from the C station, and an event 12d of arrival at the D station. It is assumed that only one track exists for each of an inbound line (from the A station toward the D station) and an outbound line (from the D station toward the A station) at each station. Here, an arrival event of the other train at the C station (event 12c-1) will be considered. A delay in the event 12c-1 is influenced on a delay in the first preceding event 12b-2 on the train line 12 (primary delay) and a delay in the event 11c-2 on the preceding train line (train line 11) at the same C station (secondary delay). The delay in the event 12c-1 may be influenced on events at the C station (event 11c-1 and the like) other than the event 11c-2. Specific examples of the primary delay include a delay in a run time from the previous B station and a delay in a dwell time of departure from (departure time at) the preceding B station. Specific examples of the secondary delay include a delay in departure from the C station on the preceding train line 11. A required time interval, which is a time interval to be left, and a margin time are provided between events. In the embodiment, a case is described in which the required time interval is a minimum required time interval which is a minimum time interval to be left. For example, the minimum required time interval or a longer time interval needs to be left between the event 11a-1 and the event 12a-1. As an example, a time interval between the event 11a-1 and the event 12a-1 in the diagram is the minimum required time interval plus the margin time. If a time period from departure of a train from the A station until departure of another train from the A station exceeds the minimum required time interval but is not longer than the minimum required time interval plus the margin time, no delay occurs between the event 11a-1 and the event 12a-1. That is, if a delay time (an excess time interval over the minimum required time interval) between the event 11a-1 and the event 12a-1 is not longer than the margin time, no delay occurs between the events.
Although the description is focused on an arrival event (event 12c-1) in
In the present embodiment, a delay probability distribution for each event is calculated, taking into consideration at least one of such two types of delays (primary delay, secondary delay) and the required time interval required between events (for example, the minimum required time interval). The delay probability distribution for each event is calculated, further taking into consideration the margin time between events. Thus, the delay probability distribution for each event can be calculated rapidly, and therefore the diagram can be evaluated rapidly. Hereinafter, the diagram evaluation apparatus 100 will be described in detail.
The diagram information input unit 110 in
The display 400 is a display device such as an LCD (liquid crystal display), a CRT (cathode ray tube), or a PDP (plasma display) that displays data or information.
The diagram information input unit 110 may be an acquirer that acquires the diagram information from an external apparatus or a storage medium. In such a case, the external apparatus is, as an example, an external server connected to the diagram evaluation apparatus 100 through a wired or wireless communication network. The storage medium is, as an example, a storage medium disposed within the diagram evaluation apparatus 100 or a storage medium externally connected. Examples of the storage medium include a memory device, a hard disk, an SSD, and an optical disk. A trigger for the acquisition of the diagram information may be an instruction from the operator (i.e., a user) of the diagram evaluation apparatus 100, or may be any other condition (for example, it becoming a predetermined time).
The diagram information is information of a diagram to be evaluated. The diagram represents a series of events such as departure, arrival, and pass in association with times and stop locations (places) with respect to a plurality of vehicles (trains, buses, or the like). The events refer to departure, arrival, pass, and the like. Examples of the stop locations (places) include stations, bus stops, detention spaces, depots, and signal stations. A series of events along a trip path including a plurality of places, with respect to a vehicle, is referred to as a train line or line information. In the following, trains will mainly be assumed as the vehicles. However, the same is true for other kinds of vehicles such as buses, by appropriately replacing words as necessary according to differences between tripping systems. For example, in the description of the specification, a station is replaced with a bus stop, and the like.
The train is operated from A station to C station. The train departs from the A station, dwells at B station, and dwells at the C station. Since the train dwells at the A station, the B station, and the C station, each respective dwell/pass item (indicating whether the train dwells or passes) is set for “dwell”. A time point of departure (hereinafter, a departure time) from the A station, a time point of arrival (hereinafter, an arrival time) and a departure time at the B station, and an arrival time at the C station are set. A run time from the A station to the B station (time of duration from the departure time at the A station until the arrival time at the B station) and a dwell time at the B station (time of duration from the arrival time at the B station until the departure time at the B station) are set. It is set that the train dwells at a first track at each station. Each of departure from the A station at 8:00, arrival at the B station at 8:10, departure from the B station at 8:12, arrival at the C station at 8:32, and the like corresponds to one event, and a series of such events corresponds to a train line (or line information).
In a train number item, a train number (here, “000001”) can be set. In a type item, it can be set whether the train is local (dwelling at each station) or express. A value (“dwell” or “pass”) in the dwell/pass item for each station may be automatically input depending on whether the train is local or express. In a regular/irregular item, it can be set whether the train is operated regularly or irregularly. As an example, in case of “regular”, the train line is applied on weekdays, and in case of “irregular”, the train line is applied on weekends.
The table in
In the train lines shown in
The diagram information in the form of a table and in the form of graphs are shown in
The event-to-event delay time information input unit 120 acquires event-to-event delay time information and stores the event-to-event delay time information in the event-to-event delay time information storage 220. As an example, the event-to-event delay time information input unit 120 is an input unit such as a keyboard, a mouse, or a touch panel operated by the operator. In such a case, the diagram evaluation apparatus 100 includes a function of providing an interface screen on which the event-to-event delay time information is input. The interface screen is displayed on the display 400. The event-to-event delay time information input unit 120 may be an acquirer that acquires the event-to-event delay time information from an external apparatus or a storage medium. In such a case, examples of the external apparatus, the storage medium, and a trigger for an acquisition timing are similar to those in the case of the diagram information input unit 110.
The event-to-event delay time information is an event-to-event delay probability distribution, which is a distribution of delay time between events, or information required to generate an event-to-event delay probability distribution. Examples of the information include parameters of a probability distribution. The parameters of a probability distribution, which has statistics such as a mean, a variance, and a median as parameters, may be used for the event-to-event delay time information. As an example, the event-to-event delay probability distribution is a normal distribution or a geometric distribution. Specific examples of the event-to-event delay probability distribution include a distribution of delay in a run time between stations, or a distribution of delay in a dwell time at a station. The run time corresponds to a time duration from a departure time (a time point of a departure event) at a station until an arrival time or a pass time (a time point of an arrival event or a time point of a pass event) at a next station. The dwell time corresponds to time duration from an arrival time (a time point of an arrival event) at a station until a departure time (a time point of a departure event) at the same station.
An example in which a geometric distribution is used will be illustrated as an example of the event-to-event delay time distribution. Expression 1 expresses a probability function for a geometric distribution, where “D(k)” is a probability of the delay time being “k”.
[Expression 1]
D(k)=(1−p)kp (k=0,1,2, . . . ) (1)
The geometric distribution has only one parameter, “p”. Accordingly, a distribution can be determined only by providing one statistical value to the parameter. As examples of statistical values,
The geometric distribution can be determined as “p=1/(x+1)” when the average value of delay time is “x”. A discrete distribution where the delay time is “k” can be calculated by Expression 1. “k” is a stochastic variable.
Note that since the stochastic variable takes all non-negative integers in an ordinary geometric distribution, the geometric distribution is represented by respective probabilities corresponding to an unlimited number of integers. Accordingly, the equation (1) may be modified so that a limited number of integers are taken by neglecting the region where values of the stochastic variable is too small.
As another example of the distribution of delay time, a negative binomial distribution or the like obtained by generalizing geometric distributions may be used. A distribution having two or more parameters, such as a normal distribution or a gamma distribution, may also be used. In such a case, a distribution is calculated not from one statistical value (an average value or the like) but from a plurality of statistical values. A histogram, which is generated from historic delay time data, can also be used for the event-to-event delay probability distribution. Different types of distributions may be used for different types of vehicles that run. Different types of distributions may also be used for different time slots (rush hours and non-rush hours, or the like).
If the information required to generate the event-to-event delay probability distribution is input into the event-to-event delay time information input unit 120, the delay probability distribution calculator 500, which will be described later, calculates the event-to-event delay probability distribution from the input information. As an example of an input other than the above-described parameter of a probability distribution, a distribution of run time or a dwell time may be input. In such a case, the delay probability distribution calculator 500, which will be described later, can obtain the event-to-event delay probability distribution by calculating differences from a minimum required time interval, which will be described later and by regarding the calculated differences as delay times.
In processing in the present embodiment, it is assumed that an average value of delay time is input as a parameter, as the information required to generate the event-to-event delay probability distribution. The delay probability distribution calculator 500, which will be described later, generates a geometric distribution (the event-to-event delay probability distribution) based on the parameter and the above-mentioned equation (1).
If a “Dwell→Pass” tab is selected, an average delay from departure from a certain station until pass through another station can be input. If a “Pass→Dwell” tab is selected, an average delay from pass through a certain station until arrival (dwell) at another station can be input. If a “Pass→Pass” tab is selected, an average delay from pass through a certain station until pass through another station can be input. An average delay time between events other than those recited in
The minimum required time interval input unit 130 acquires minimum required time interval information and stores the minimum required time interval information in the minimum required time interval storage 230. As an example, the minimum required time interval input unit 130 is an input unit such as a keyboard, a mouse, or a touch panel operated by the operator. In such a case, the diagram evaluation apparatus 100 includes a function of providing an interface screen on which the minimum required time interval information is input. The interface screen is displayed on the display 400. The minimum required time interval input unit 130 may be an acquirer that acquires the minimum required time interval information from an external apparatus or a storage medium. In such a case, examples of the external apparatus, the storage medium, and a trigger for an acquisition timing are similar to those in the case of the diagram information input unit 110.
The minimum required time interval information is information including a minimum required time interval, which is a minimum time interval to be left between events within a single train line or between events on a plurality of train lines. A restriction by the minimum required time interval will be referred to as a time interval restriction in some cases. Instead of the minimum required time interval information, required time interval information including a required time interval which is a time interval required to be left between events within a single train line or between events on a plurality train lines.
An example of the time interval restriction between events on a plurality of train lines will be illustrated. A restriction exists that is a minimum time interval to be left between an arrival time at a certain station (for example, the B station) on a preceding train line and a departure time at a first previous station (for example, the A station) on a self train line. Here, the preceding train line is a train line of a train operated, prior to the self train line, along the same path, or part thereof, as the self train line. It is assumed here that overtaking does not occur between the train operated according to the preceding train line and a train operated according to the self train line. If overtaking occurs, it may be regarded that a relationship between the preceding train line and the self train line is reversed at and after a location where the overtaking occurs or the relationship is reversed at and after a time when the overtaking occurs. The preceding train line may be an immediately preceding train line, or may refer to a plurality of train lines including a train line further preceding the preceding train line. A scope of the preceding train line may be defined arbitrarily.
Other various types of time interval can be considered. For example, if a station has a plurality of tracks, there are an arrival-arrival time interval and a departure-departure time interval between different tracks. If a turnaround is made at a station, there is a time interval related to the turnaround (if a turnaround is made, a restriction between events before and after the turnaround; for example, a time interval from arrival at the station until departure for a return trip, or the like). Different values of the time interval restriction may be provided for different types of vehicles or different time slots for tripping (rush hours and non-rush hours, or the like). For example, during rush hours, the value of the restriction may be set larger or smaller than during non-rush hours. If overtaking (a certain vehicle overtaking another vehicle) or a wait occurs, the value of the time interval restriction may be made different from a value when no overtaking or wait occurs. Time interval restrictions may also be set between an arrival time and a pass time and between a departure time and a pass time.
The minimum required time interval can be set in the margin time menu M2. In a minimum required time interval item, a minimum required time interval is set. Note that in a dwell/run item, a dwell time or a run time identified from the diagram information is set. In a margin time item, a margin time is set. In a total margin item, a total margin time is set. A difference between the dwell time or the run time and the minimum required time interval corresponds to the margin time. The margin time may be manually input by the operator. The margin time may be calculated based on the diagram information and the minimum required time interval and the calculated margin time automatically input on the screen. In the processing in the present embodiment, the margin time is calculated based on the diagram information and the minimum required time interval, which will be described later, and therefore the margin time set on the input screen is not used; however, the processing can be changed so that the margin time set on the input screen is used.
In the example shown in the diagram, the minimum required time interval at the A station is set to one minute (00:01). The minimum required time interval before a train passes through the B station is set to eight minutes (00:08). The minimum required time interval with respect to the C station is set to one minute (00:01).
The minimum required time interval input unit 130 may input information required to acquire the minimum required time interval information, not inputting the minimum required time interval information. In this case, the delay probability distribution calculator 500 calculates the minimum required time interval information based on the input information and other additional information. For example, the minimum required time interval input unit 130 inputs information on the margin time between stations or the like. The delay probability distribution calculator 500 can obtain the minimum required time interval by calculating a difference between a time difference in the diagram information (factoring in a margin time) and a margin time indicated by the input information. The minimum required time interval may also be calculated based on a distance between stations, a maximum velocity of each vehicle or an acceleration performance of each vehicle, or the like.
The delay probability distribution calculator 500 in
The delay probability distribution calculator 500 reads the diagram information from the diagram information storage 210, the average value of delay time (information to generate the event-to-event delay probability distribution) from the event-to-event delay time information storage 220, and the minimum required time interval information from the minimum required time interval storage 230, and calculates the event delay probability distribution. The event delay probability distribution is, for example, a probability distribution of delay time (delay probability distribution) with respect to the event such as arrival, departure, or pass at each station. As an example, the event delay probability distribution corresponds to a first delay probability distribution according to the present embodiment. The delay probability distribution calculator 500 stores the generated event delay probability distribution in the event delay probability distribution storage 300. The display 400 displays the event delay probability distribution stored in the storage 300.
Events 1 to 4 are events belonging to the train line 1 in
In the event 1, the probability of the delay time being 0 is 100%, with respect to departure of a vehicle of the train line 1 from the A station. That is, the probability that the vehicle of the train line 1 departs from the A station without delay is 100%.
In the event 2, probabilities larger than 0 are distributed over a range of delay times of −2 to 13, with respect to arrival of the vehicle of the train line 1 at the B station. For example, with respect to the vehicle of the train line 1, the probability of delay in arrival at the B station is 14.8% for a delay time of 0, 9.9% for a delay time of 1, and 22.2% for a delay time of −1. A delay time of −1 means one minute early arrival at the B station.
In the event 6, with respect to a vehicle of the train line 2, the probability of a delay time of 0 in the pass time at the B station is 10.0%, and the probability of a delay time of −1 is 22.2%. A delay time of −1 means one minute early pass though the B station.
In the departure-related events 1, 3, 5, 8, and 10, all probabilities for negative-valued delay times are 0%. That is, the probability of early departure, which means that a vehicle departs earlier than a departure time, is 0%. Hereinafter, early arrival, early pass, and early departure will collectively be referred to as early departure and the like in some cases.
The created graphs may be displayed on the display 400 to allow the operator to check. The operator can intuitionally evaluate the diagram information by checking the graphs. The event delay probability distributions in the form of a table (see
Hereinafter, a detailed description will be given of processing in which the delay probability distribution calculator 500 generates such event delay probability distributions.
The event information generator 510 generates event information based on the diagram information and average values of delay time, and stores the generated event information in the event information storage 240 (Step_A). As an example, the event information includes an identifier of a train line, an identifier of a vehicle, identifiers of events (departure, arrival, pass, and the like), information on times and places (stations or the like), the average delay times (the average values of delay time), minimum required time intervals, and the like.
The evaluation order determiner 515 sorts the event information in chronological order (in order from an earliest time to a latest time) (Step_B). A string of the sorted event information is referred to as an event list.
The delay probability evaluator 520 repeats processing for sequentially reading out the event information (assumed to be “N”) from a top of the event list (Step_C) and processing for calculating a delay probability distribution for the read event information N (Step_D) (NO in Step_E). When all the event information stored in the event list has been processed (YES in Step_E), the processing in the present flowchart is terminated. Thus, the delay probability distribution is generated for each event and stored in the event delay probability distribution storage 300.
In Step_A1, arrival, departure, and pass on each train line in the diagram information are set as events. Moreover, a time is set on each event based on the diagram information. The identifiers (IDs) of the events 1 to 11 and the respective times of the events are set in the table in
Each of the set events is selected in turn (in chronological order), and Steps A2 to A4 described below are repeatedly performed on the selected event as a target event. Note that although arrival at, departure from, and pass through a station are regarded as events here, an event may be set in a unit other than a station, for example, in a unit of a closed section.
In Step_A2, it is determined, depending on a type of the target event, whether or not early departure or the like (early departure, early arrival, or early pass) is permissible to the target event, and permissibility information indicating a determined result is set on the target event. As an example, “True” is set when the permissibility information is “permissible”, and “False” is set when the permissibility information is “not permissible”, but such settings are not restrictive. Early arrival means that a train arrives earlier than a time of an arrival event. Early pass means that a train passes earlier than a time of a pass event. Early departure means that a train departs earlier than a time of a departure event. In the present embodiment, it is determined that early arrival and early pass are permissible and that early departure is not permissible. It is determined here that only early departure is not permissible, but such determinations are not restrictive. When the target event is the event 1, the event 1 is a departure event, and since early departure is not permissible, “False” is set as the permissibility information.
In Step_A3, connection information of connection between the target event and an event immediately preceding the target event on the self train line (a train line to which the target event belongs) is generated. The connection information includes an ID of the event preceding the target event on the self train line (self train line preceding event ID), a margin time from the preceding event, and the average delay time of the target event. Hereinafter, generation of the connection information will be described in detail.
If the target event is a first event on the self train line (for example, in case of the event 1 in
A type (here, local/express) of the self train line is determined, and based on a result of the determination, the margin time from the immediately preceding event is calculated. For example, the margin time is calculated as follows:
Margin time=(time difference between the target event and the immediately preceding event in the diagram information)−(minimum required time interval between the target event and the immediately preceding event).
For example, for the margin time of the event 2, 2 is obtained by subtracting the minimum required time interval between the event 2 and the event 1 from a time difference between the event 2 and the event 1 in the diagram information. Although the margin time is obtained through calculation here, the margin time may be input on the above-described input screen, and the input information may be acquired. The minimum required time interval can be specified by the minimum required time interval information, depending on a type of the self train line.
Further, an average value of delay time (average delay time) between the target event and the preceding event on the self train line is set. In the example shown in the diagram, for the event 2, 2 is set as the average delay time between the event 2 and the event 1.
In Step_A4, for the target event, connection information of connection between the target event and a preceding event on the preceding train line is generated. The connection information includes an ID of the preceding event on the preceding train line (preceding train line event ID) and the margin time from the preceding event on the preceding train line.
If the target event is a departure event and if a preceding train line exists, an arrival event, a pass event, or a departure event at the same station as the station of the departure event is identified from the preceding train line, and the identified event is set as the preceding train line event ID. For example, if the target event is the event 10 on the train line 3, the event 10 is a departure event, and the preceding train line 2 exists as a train line preceding the train line 3. Accordingly, the event 6, which is a pass event at the same station as the station (B station) of the event 10, is identified from the preceding train line 2. Although the event at the same station on the preceding train line is set as the preceding event here, such a setting is not restrictive. For example, an event at a station that is passed through prior to the same station may be set as the preceding event (the same is true hereinafter).
If the target event is an arrival event and if a preceding train line exists, a departure event, a pass event, or an arrival event at the same station as the station of the arrival event is identified from the preceding train line, and the identified event is set as the preceding train line event ID. For example, if the target event is event 7 on the train line 2, the event 7 is an arrival event, and the preceding train line 1 exists as a train line preceding the train line 2. Accordingly, the event 4, which is a departure event at the same station as the station (C station) of the event 7, is identified from the preceding train line 1.
If the target event is a pass event and if a preceding train line exists, a departure event, a pass event, or an arrival event at the same station as the station of the pass event is identified from the preceding train line, and the identified event is set as the preceding train line event ID. For example, if the target event is the event 6 on the train line 2, the event 6 is a pass event, and the preceding train line 1 exists as a train line preceding the train line 2. Accordingly, the event 3, which is an arrival event at the same station as the station (B station) of the event 6, is identified from the preceding train line 1.
Note that since a train line preceding the train line 1 does not exist, all of the respective preceding train line event IDs for the events included in the train line 1 are set to a predetermined value (here, “−1”).
The preceding train line event IDs are set for departure, arrival, and pass events on a train line that has the preceding train line. However, the preceding train line event IDs may be set for only one or two of arrival, departure, and pass. For example, the preceding train line event IDs may be set only for departure events. The preceding train line may be an immediately preceding train line only, or a plurality of train lines may be specified as preceding train lines.
When a preceding train line event ID of a value other than “−1” is set for the target event, the margin time allowable between the target event and the preceding event on the preceding train line is calculated. For example, the margin time is calculated as follows:
Margin time=(time difference between the target event and the preceding event on the preceding train line in the diagram information)−(minimum required time interval between the target event and the preceding event on the preceding train line).
Thus, the event information on the target event is generated. When the processing in Step_A2 to Step_A4 is completed for each event set in Step_A1 (Step_A5), the event information on all events is generated and stored in the event information storage 240. Thus, the processing in the present flowchart is terminated.
In the processing in Step_B in
As the specific processing in Step_B, the evaluation order determiner 515 only sorts the event information in chronological order (in order of time in the table in
Note that for the probability distribution in each step described below, a discrete probability distribution whose domain is divided into a plurality of parts is assumed. The domain may include a negative-value part. Here, as an example, a discrete distribution in one-minute units with a range from −5 minutes to 15 minutes will mainly be considered. The range from −5 minutes to 15 minutes corresponds to a range of five minutes early arrival to a delay of 15 minutes.
First, an outline of the flow in
If the number of the events s (second events) preceding the event N (first event) is one, performing of Step_D3 is omitted. If the event N is permitted to take place earlier than the time of the event N, performing of Step_D4 is omitted. In the present embodiment, it is assumed that only departure events are prohibited from taking place earlier than the times thereof (that is, early departure is prohibited), and that arrival events and pass events are not prohibited from taking place earlier than the times thereof (early arrival and early pass).
Hereinafter, each step in
In Step_D1, if a delay probability distribution (event delay probability distribution) for the preceding event N1 on the self train line is X1(i), and an event-to-event delay probability distribution between the event N1 (second event) and the event N (first event) is D(k), the convolution processing on the distributions is performed through calculation using an equation provided below. Thus, a delay probability distribution V1(k) for the event N is obtained. As an example, V1(k) corresponds to a first probability distribution according to the present embodiment. As an example, X1(i) corresponds to a second event delay probability distribution according to the present embodiment. As an example, the event N corresponds to the first event according to the present embodiment. As an example, the event N1 corresponds to the second event according to the present embodiment.
X1(i) represents a probability that the delay time in the preceding event N1 is “i”. For example, X1(−1) represents a probability that the delay time in the preceding event N1 is −1, X1(0) represents a probability that the delay time in the preceding event N1 is 0, X1(1) represents a probability that the delay time in the preceding event N1 is 1, and X1(2) represents a probability that the delay time in the preceding event N1 is 2.
D(k−i) represents a probability that the delay time between the preceding event N1 and the event N is “k−i”. For example, D(0) represents a probability that the delay time between the preceding event N1 and the event N is 0, D(1) represents a probability that the delay time between the preceding event N1 and the event N is 1, and D(2) represents a probability that the delay time between the preceding event N1 and the event N is 2.
V1(k) represents a probability that the delay time in the event N is “k”. For example, V1(−1) represents a probability that the delay time in the event N is −1, V1(1) represents a probability that the delay time in the event N is 1, and V1(2) represents a probability that the delay time in the event N is 2.
It is assumed that the event-to-event delay probability distribution between the event 2 and the event 1 is the equation (1): D(k)=(1−p)kp, where p=1/(x+1). “x” is an average value of delay time between the event 2 and the event 1. The value of “x” is 2, identified from a row of “ID=2” of the table in
Note that when i=0, X1(0)=1 (100%), and otherwise, X1(i) results in 0 (see the table at the top of
Although calculation in case of “k=0, 1, 2, 3” is performed here, calculation can be similarly performed in case of “k=−5 to −1, 4 to 15”. Thus, the delay probability distribution V1(k) for the event N in case of “k=−5 to 15” is calculated. An example of the calculated delay probability distribution is shown in the middle of
In Step_D2, assuming that the margin time is “Margin” or “M”, margin shift processing for shifting the probability distribution V1(k) calculated in Step_D1 based on the margin time is performed. An equation used in the margin shift processing is shown below. Thus, a probability distribution W1(k) subjected to margin shift is obtained. As an example, the probability distribution W1(k) subjected to margin shift corresponds to the first probability distribution shifted based on the margin time according to the present embodiment. The value of “Margin” is determined depending on the preceding event (see
[Expression 4]
W
1(k)=V1(k+Margin) (3)
An example where margin shift is performed on the probability distribution V1(k) shown in the middle of
Similarly, the following are calculated: W1(0)=V1(0+2)=V1(2)=0.148 (14.8%); W1(−1)=V1(−1+2)=V1(1)=0.222 (22.2%); and W1(−2)=V1(−2+2)=V1(0)=0.333 (33.2%). A reason why margin shift is performed in such a manner is that a delay within a limit of “Margin” is allowable. The resultant probability distribution W1(k) obtained by performing the margin shift of V1(k) in
Note that Step_D3 and Step_D4 are omitted because the number of events preceding the event 2 is one (only the preceding event on the self train line) and the preceding event is an arrival event (not a departure event). Accordingly, the probability distribution W(k) shown at the bottom of
In Step_D1 in
In Step_D2, margin shift processing is performed on the probability distribution V1(k) calculated in Step_D1 according to the equation (3), whereby the probability distribution W1(k) subjected to margin shift is obtained. The value of “Margin” of the event 3 from the event 2 is 0 (see
Next in Step_D3 in
A specific example of the processing for generating the combined probability distribution in Step_D will be described using
For example, in case of an uppermost right cell of the table, the value of “k” for the preceding event 1 is 2, and the value of “k” for the preceding event 2 is −1. Accordingly, “2”, which is a larger one of 2 and −1, is stored. Moreover, the delay probability W1(2) for the preceding event 1 when the value of “k” is 2 is 10%, and the delay probability W2(−1) for the preceding event 2 when the value of “k” is −1 is 50%. Accordingly, a product of the delay probabilities is obtained as “10%×50%=5%”. Accordingly, 5% is stored in the cell. In other cells, a largest one of the values of “k” and a product are stored similarly.
The cells of the table in
If only one preceding event exists in Step_D3 in
If the number of preceding events is 0, a predetermined initial distribution may be output in Step_D3. An example of the initial distribution is a distribution indicating that no delay occurs (the delay time is 0 with a probability of 1 (100%)), as mentioned earlier.
In Step_D4, a type (departure, arrival, or pass) of the event N is determined, and it is determined, depending on the type, whether or not early departure, early arrival, or early pass is prohibited. If no prohibition is laid, the combined probability distribution W(k) for the event N calculated in Step_D3 is output as the delay probability distribution Y(k) for the event N. If prohibition is laid, round-up processing for rounding up a probability for a negative-valued delay time is performed according to an equation (4) provided below, and the combined probability distribution subjected to round-up processing is output as the delay probability distribution Y(k) for the event N. In the round-up processing, all probabilities for negative-valued delay times in the combined probability distribution are added to a probability for a delay time of 0, and the probabilities for the negative-valued delay times are changed to be 0.
Here, a specific example of performing of Step_D4 in the above-described example shown in
Through the processing as described above, a delay probability distribution for each event as shown in
Note that a description has been given of a scheme in which a delay probability distribution for each event is obtained by performing Step_C to Step_E only once for each node by propagating a probability distribution(s). However, in the processing, the probability distribution appears only as a distribution of delay time from a preceding node. If the distribution is replaced with a non-stochastic variable, the processing can be replaced with simpler processing despite time-consuming repetition processing being required.
For example, the processing in Step_D is simplified if one delay time is generated from a probability distribution by using a random number. Actually, if a delay time for each node is assumed to be a non-stochastic variable, the convolution processing in Step_D1 is modified to processing for adding a delay time generated randomly using a random number for a current node to a delay time (of a non-stochastic variable) at a preceding node. Step_D2 is modified to processing for subtracting “Margin” from the delay time obtained in Step_D1. Step_D3 is modified to processing for selecting a largest value of the delay times at the preceding nodes calculated in Step_D2. Step_D4 is modified to processing for selecting a larger one of the delay time calculated in Step_D3 and 0.
As described above, when Step_D is performed once, one delay time of a non-stochastic variable for an event under processing is determined. Accordingly, one delay time for each node is obtained by performing Step_C to Step_E once for each node. Thereafter, the node information is initialized, and Step_C to Step_E are performed once again for each node by using another random number, whereby a delay time of a different value from the previous value for each node can be obtained. Accordingly, a histogram of delay times for all events can be created as a result by repeatedly performing Step_C to Step_E. Accordingly, a delay probability distribution for each event may be created from the histogram obtained by repetitions.
In the above-described example, the targets are a plurality of trains (a plurality of train lines), that is, delay probability distributions for all the events included in the train lines are generated (see
In a station column, station names and down arrows (hereinafter, arrows) are alternately stored. A row containing an arrow corresponds to an arrival event at a station indicated by a station name in a next row. A row containing a station name corresponds to a departure event at the corresponding station.
For example, a low below the S station corresponds to an arrival event at the A station, and the delay probability distribution for the event is that the probability of a delay of −10 minutes (the delay probability for 10 minute early arrival) is 0%, the probability of a delay of −5 minutes is 1%, the probability of a delay of 0 minutes is 60%, the probability of a delay of 5 minutes is 28%, the probability of a delay of 10 minutes is 1%, the probability of a delay of 15 minutes is 0%, and so on. The 90% value for the delay probability distribution is 5 minutes, and the expected value is 2 minutes. A row of the A station corresponds to a departure event at the A station, and the delay probability distribution for the event is that the probability of a delay of −10 minutes (the delay probability for 10 minute early arrival) is 0%, the probability of a delay of −5 minutes is 0%, the probability of a delay of 0 minutes is 75%, the probability of a delay of 5 minutes is 25%, the probability of a delay of 10 minutes is 0%, the probability of a delay of 15 minutes is 0%, and so on. The 90% value for the delay probability distribution is 5 minutes, and the expected value is 2 minutes.
At the bottom of the table, an average value of the delay probabilities for the arrival events (average delay probability for run) and an average value of the delay probabilities for the departure events (average delay probability for dwell) are shown for each delay time. Calculation of such average values is performed by the delay probability evaluator 520. Moreover, a largest value of the 90% values of delay time in the arrival events and a largest value of the 90% values of delay time in the departure events are shown. An average value of the expected values for the arrival events and an average value of the expected values for the departure events are shown. Calculation of such largest values and such average values of the expected values is performed by the delay probability evaluator 520.
As described above, according to the present embodiment, the delay probability distribution for arrival at, departure from, or pass through each station can be generated from the diagram information, without using historic data other than the event-to-event delay probability distributions. Accordingly, big historic data is not required. Moreover, according to the present embodiment, creation of a frequency distribution through Monte Carlo simulation can be eliminated, and rapid evaluation of the diagram information is possible.
By giving a predetermined delay distribution to a certain train and a certain station, probabilities of delay rippled to each subsequent train and each subsequent station and expected delay times may be calculated. The calculation is performed by the delay probability evaluator 520. For the predetermined delay distribution, for example, an extreme distribution that delays due to an accident at a specific station or the like are supposed may be used.
Statistical values such as probabilities of delays of X and more minutes occurring at a terminal or midway station, an expected value of delay time, a dispersion (variance) of delay time, and an X-th percentile value of delay time may be calculated. The expected value and X-th percentile value of delay time are described in
In the embodiment described hereinabove, a delay probability distribution for each event is generated as in
Evaluation indicators for a diagram, such as punctuality, quick-deliverability, and transportation capacity of the diagram, may be created by using the expected train lines created in the modification example 2. The creation of the evaluation indicators is performed by the delay probability evaluator 520. The created evaluation indicators may be displayed on the display 400.
An example of the indicator of punctuality is a delay expected value rate. An example of calculation of the delay expected value rate is shown below.
Delay expected value rate(%)=Σ(delay expected values between corresponding nodes)/total number of nodes (5)
As shown by the equation (5), the delay expected value rate is obtained by averaging the delay expected values between nodes on an expected train line and corresponding nodes on a planned train line by all nodes. In the above-described example shown in
Another example of the indicator of punctuality is a delay limit excess probability.
Delay limit excess probability(%)=Σ(probabilities of delays of N and more minutes occurring at a current node)/total number of nodes (6)
As shown by the equation (6), the delay limit excess probability is obtained by averaging probabilities of delays of N and more minutes on an expected train line by all nodes. In the above-described example shown in
The delay limit excess probability is a significant indicator to some railway companies because a penalty is incurred if a delay of a predetermined time or longer occurs. Note that if penalty amounts for delays of N and more minutes are predetermined for a certain train or a certain station (or certain trains or certain stations), an expected value of penalty amount may be derived.
Note that in evaluation of punctuality, a mean may be calculated only for a part of midway stations or a terminal station. If statistical values on origin and destination stations of passengers (OD: Origin Destination) are known, a mean per passenger may be calculated. In the equations (5) and (6), a divisor (the total number of nodes) is an example and is not limited to the total number of nodes.
[Quick-Deliverability]
An example of the indicator of quick-deliverability is a time duration required for an expected train line (an expected trip time).
Examples of the indicator of transportation capacity include (1) a train line rate at a specific station in a specific time slot, (2) a train line rate at a specific time, and (3) an arrival and departure rate at specific stations in a specific time slot.
Train line rate at a specific station in a specific time slot=number of all train lines at the station in the time slot/t (7)
Train line rate at a specific time=number of all train lines at the specific time/d (8)
Arrival and departure rate at specific stations in a specific time slot=number of arrivals and departures at the specific stations in the specific time slot/(t×d) (9)
In
Note that in the description of the equations (7) to (9), the number of nodes shown in
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2018-217656 | Nov 2018 | JP | national |