Professional Documents
Culture Documents
Abstract
Modern train traffic systems have to fulfill high requirements on service reliability and availability. This becomes especially
important with competitive transport markets. Train operators can only meet these requirements by quickly developing an efficient
action in case of traffic disturbances. This paper describes a dispatching support system for use in railway operation control systems.
It also contains expert knowledge in fuzzy rules of the IF-THEN type. Various methods have been proposed for the
representation of this kind of knowledge and for reasoning on this base. Expert systems can gain significant success by incorporating
fuzzy knowledge and a graphical means of description. The paper describes a Fuzzy Petri Net notion that combines the graphical
power of Petri Nets and the capabilities of Fuzzy Sets to model rule-based expert knowledge in a decision support system. Using this
approach, a knowledge base is easy to design, analyze, test, enhance, and maintain. An assistant system for train traffic control is
presented, and the advantages of this Fuzzy Petri Net notion are shown in the context of application in train traffic control decision
support. # 2001 Elsevier Science Ltd. All rights reserved.
Keywords: Expert systems; Knowledge representation; Fuzzy rule bases; Petri Nets; Railway applications
High transport capacity should be obtained and 1. planning mistakes (like poorly calculated headways
maintained, and still the transport system has to be or service times),
attractive for passengers. Irregular services } and 2. technical reasons (engine breakdowns, signaling fail-
especially train delays or cancelations } are severe ures, track closures, and the like),
obstacles in achieving these aims. The challenge of 3. organizational problems (late or absent staff mem-
increasing train speeds, tight time schedules and higher bers, extra trains for urgent transportation demands).
traveller demands force train operators to improve the
punctuality and reliability of their train services. Train These disturbances can cause traffic conflicts like:
operators can only meet these requirements by quickly
1. connection conflicts for passengers,
E-mail address: alexander.fay@de.abb.com (A. Fay). 2. resource conflicts for trains and personnel,
0952-1976/00/$ - see front matter # 2001 Elsevier Science Ltd. All rights reserved.
PII: S 0 9 5 2 - 1 9 7 6 ( 0 0 ) 0 0 0 2 7 - 0
720 A. Fay / Engineering Applications of Artificial Intelligence 13 (2000) 719729
3. availability conflicts for track sections, and ter-aided development of conflict resolution propo-
4. delays (usually in combination with one of the sals offer valuable support for this purpose.
above).
The numerous approaches in international research and
In general, traffic conflicts result in situations where not application to tackle train traffic planning and control
all of the technical and operational requirements can be can be divided into two main branches:
met. A conflict can be resolved by relaxing some of the
requirements. Only operational requirements, such as 1. algorithmic optimization approaches, which stem
arrival times or predefined platforms, can be relaxed, from mathematics, classical computer science and
whereas technical requirements, such as maximum speed operations research and can find the global optimum
restrictions, can not be changed. with respect to the goal function chosen,
Possible dispatching actions might include 2. heuristic approaches, which try to find good (not
necessarily optimal) solutions fast by employing AI
1. prolonged or additional stops at stations, methods and expert knowledge.
2. crossing and overtaking,
These approaches are not necessarily mutually exclusive
3. shifts and detours,
but can be combined in a useful manner.
4. canceled or added trains.
Examples of algorithmic optimization approaches for
real-time tasks are
To ensure an optimal dispatching process in an
environment of crowded tracks and reduced personnel, 1. a decision support system for routing trains through
the dispatcher has to be supported by improved tools railway stations (Zwaneveld et al., 1996),
which focus on the most important conflicts, and 2. train scheduling on a single-track railway (Nachtigall,
present all the necessary information, and offer effective 1996),
solutions. 3. optimal regulation for metro lines (Fernandez et al.,
1996).
1.2. Algorithmic and heuristic approaches Most optimization approaches stemming from opera-
tions research show NP-complexity and therefore
Regarding the development of train traffic control, cannot be used for practical applications. They can be
two main trends can be observed: transformed to algorithms with polynomial time com-
plexity, but only by making severe simplifications of the
1. To optimize train traffic systems in the sense of an real problem. With increasing computer power, this
optimal use of resources, more and more sophisti- problem will be relaxed. However, within the next few
cated methods and algorithms are used in traffic years, it will still not be possible to treat these NP-
planning. Railway planning and control have a complex problems within the time frame of about 15 s
similar problem structure (as explained in Fay and allowed for online optimization. Hence, the search space
Schnieder (1997)), so there is desire to make use of has to be reduced significantly to achieve implementable
them also for short-term problems such as traffic results. This reduction can be performed with sophisti-
control. The difficulty in transferring the effective cated search strategies or heuristics. Heuristics, which
planning methods results from the shorter calculation include knowledge of dispatching experts, can lead to
time available: most algorithms developed for plan- straight-forward dispatching decisions. Examples em-
ning tasks are too time-consuming to yield immediate ploying heuristics for dispatching support are
answers to traffic control problems. Therefore,
heuristics have to be found and employed, not to 1. ESTRAC-III, an expert system for train traffic
replace the algorithms, but to adapt them to reduce control (Komaya and Fukuda, 1989),
the solution space significantly. These heuristics can 2. PETRUS, an underground railway traffic expert
be deduced explicitly from the human dispatchers system (Moirano et al., 1989),
knowledge (see Section 2). 3. an expert system for public transport control
2. To further improve traffic safety, quality and profit- (Adamski, 1993),
ability, most functions on the level of train, track and 4. an expert system for real-time train dispatching
signaling control have already been automated. This (Schafer and Pferdmenges, 1994).
development is to be repeated in the area of traffic
operation and control for the same reasons. This is The system developed by the authors (described in
much more difficult because the technical and Section 2) is also based on heuristics in the form of
organizational processes are less formalized on this expert rules. The rules derived from expert knowledge
level. Computer-assisted traffic analysis and compu- are of paramount importance.
A. Fay / Engineering Applications of Artificial Intelligence 13 (2000) 719729 721
Yet heuristics alone will not necessarily always yield 1.3. Decision support systems based on fuzzy knowledge
satisfactory solutions: the knowledge base is always
limited, and not all situations can be covered in advance The ever increasing complexity of large-scale technical
by appropriate rules. On the other hand, dispatching systems (such as manufacturing sites, power plants or
actions can have large impacts on traffic behavior and traffic systems) makes new approaches for their effective
service quality. Therefore, it is desirable to estimate and efficient operation and control inevitable. Control }
these effects in advance before implementing a dispatch- in a wide sense } denotes an appropriate reaction in the
ing strategy. For this purpose, simulation plays an case of a malfunction or failure to regain a regular
important role. Though it is difficult to build an process flow. For this kind of conflict management,
appropriate model of the traffic system, the most the usage of available expert knowledge about the
important features can be captured in simulation process and its problems is of utmost importance. The
models, which then offer inexpensive and riskless means key to a successful conflict management is to support
for evaluating dispatching alternatives. the human decision-maker with modern information
Algorithmic and heuristic approaches are not mu- systems which do not only provide information but also
tually exclusive: they both have their merits for utilize previously gained knowledge. Decision support
particular problems. Therefore, it is most beneficial to systems (DSS) yield an enormous potential as they
combine them. While the complete problem formulation develop } on the basis of appropriately stored problem
for an algorithmic optimization is not suitable (as solution knowledge } solutions specially adapted for
described above), specific algorithms exist for the the current conflict situations. These solutions form a
solution of specific sub-problems. For example, the proposal for the human operator, who } in contrast to
system developed by Zwaneveld et al. (1996) can be used fully automated systems } is still in charge of deciding
for calculating the optimal path for a train through a whether to follow this advice or not.
railway station, and by means of the algorithm For most technical systems, much problem solution
described by Nachtigall (1996), optimal crossing points knowledge exists. Usually, this knowledge is not
for trains on a single track can be determined. explicitly available, but exists as the experience of
Therefore, it seems most suitable to determine the experts who have dealt with these problems for a long
overall dispatching decision by means of heuristics (e.g.: time. By the use of sophisticated knowledge acquisition
In case of a signal failure, should the trains (a) be and knowledge representation techniques, this valuable
canceled, (b) take a detour, (c) wait for the problem to know-how can be gathered and utilized.
be solved?). The overall decision is then to be refined by The core of the DSS is the rule base. It contains the
algorithms (e.g., in case (b): Where should the trains relevant dispatching expert knowledge. Preliminary
cross each other on the remaining track? or in case (c): investigations on the basis of related existing research
At which platform should the trains wait to minimize (Komaya and Fukuda, 1989) and on dispatching field
the disturbance to the remaining traffic?). studies resulted in the insight that the dispatching
Thus, algorithms have their role in railway dispatch- knowledge is mainly coded in rules, with a few special
ing where they can contribute to system improvement. situations added as case-based knowledge. A rule-based
In the system developed by the author, they can be implementation in a computer system can consequently
employed in the way described above: to optimize the represent most of the knowledge in a manner very
solution of sub-problems. In Fig. 1, their input is taken close to the original (Puppe, 1993). This is a crucial
into account together with the hard constraints for prerequisite for the latter system to produce results
the selection of feasible actions (see Fig. 1). which are traceable and understandable by the
dispatchers, and this is essential for the acceptance of The complexity of the problems to be dealt with in
the system. real-time traffic control makes the employment of
Both the description of a conflict situation and the sophisticated expert knowledge indispensable to guide
formulation of expert knowledge regarding appropriate the search for appropriate dispatching actions. There-
actions for this conflict are frequently vague. Hence, the fore, dispatching experts knowledge has been acquired,
success of knowledge-based systems is mainly dependent and a rule base has been derived from this knowledge
on how this knowledge could be modeled, explicitly which can be used for the automatic development of
taking into consideration these types of vagueness. dispatching possibilities.
Fuzzy concepts have emerged as a suitable means to On this basis, the expert system tries to develop a
be applied here (Zimmermann, 1993). The fuzziness is solution for the actual traffic conflict (Fig. 1). The
due to two sources: knowledge base is scanned for rules which are suitable
for tackling or solving the actual conflict with regard to
1. The conditions which have to be fulfilled for the overall traffic objectives and strategies. By application of
application of a certain rule can only be specified the appropriate rules to the conflict situation, a set of
imprecisely by the experts. Typical examples are promising dispatching actions is derived. They are
When the train is much delayed, . . . or When the checked for fulfilling the hard constraints (e.g., for
connection is important for many passengers, . . .. overtaking, the parallel track has to be long enough).
These formulations elude an exact fixation. Precise Only the measures that fulfill all hard constraints are
limits or intervals cannot be given, nor are they further considered.
necessary for the dispatchers everyday work. To predict the probable effects of each measure, they
2. The conditions which have to be fulfilled for the are applied to the actual traffic situation in parallel
application of a certain rule are not available simulation runs. The emerging scenarios are evaluated
precisely. Instead, rough numbers are given. So } automatically with regard to different quality criteria,
to stay with the example used above } the number of taking into account the various desires of all persons
passengers who want to catch a certain train is not and organizations involved in the traffic process. These
recorded exactly but estimated by the conductor. criteria might be operational ones like punctuality or
smoothness of traffic flow, or economical criteria like
Both kinds of fuzziness have to be taken into account
minimization of costs and optimal use of resources or
during knowledge modeling. Artificial boundaries or
maximal customer satisfaction.
exactness must not be introduced, but the fuzziness has
If the measures seem to be inadequate to solve the
to be modeled explicitly to make the best possible use of
conflict, or if additional conflicts arise during simula-
the expert knowledge.
tion, the selection and assessment of dispatching
measures is repeated iteratively for further improve-
2. The train traffic control assistant ment.
The dispatching measures which result in the best
2.1. System structure and functioning
conflict solutions are proposed to the dispatcher,
together with explanations of how they were achieved,
In this section, a dispatching support system is
to what degree they contribute to the solution of the
described which has been developed at the authors
problem and the general traffic optimization, and what
institute (Fay and Schnieder, 1997). The system is
other solutions may exist. The dispatcher can either
considered for use in railway operation control centers
follow the advice and accept the proposal, modify it or
and comprises of a knowledge-based decision support
try out his own solutions. In any case, the dispatcher has
system, a simulation tool and a graphical user interface.
still the final say over the executed dispatching measures.
The assistance provided by the system consists of
To enhance the clarity of the rule base, the rules are Regarding question 1: As described in Section 2.2.1, the
represented in a Fuzzy Petri Net (Looney, 1988). In a knowledge acquisition could be completed within about
Fuzzy Petri Nets representation, each transition of the 10 h of the experts time. The separation of the knowl-
Petri Net equals one rule of the rule base. Fig. 3 shows edge from the technical constraints proved to be
the FPN representation of rule Rx before (Fig. 3a) and advantageous: while the constraints (e.g., the track
after (Fig. 3b) the reasoning process took place. parameters) differ between the experts locations and
Fuzzy Petri Nets offer both a graphical representation work areas, the knowledge is very generic. This allows to
and a sound mathematical background, based on combine the experiences of several experienced experts
within the rule base. The knowledge is universal and can
be applied to every dispatching domain within German
Railways (and most probably to other high-density
mixed-mode railway systems as well). The constraints
have to be adapted for each workspace. However, this
has to be done only once since the constraints change
little over time. Thus, the separation of knowledge and
constraints eases maintenance and improves the power
Fig. 3. FPN of rule no. x before (a) and after (b) the reasoning process. of the knowledge base.
A. Fay / Engineering Applications of Artificial Intelligence 13 (2000) 719729 725
Regarding question 2: As described in Section 2.2.3, For this purpose, typical scenarios have been consid-
the Fuzzy Petri Net approach proved to ease both ered, and the decisions of the rule base have been
establishing and testing (off-line) and evaluating and compared with simulations of all possible dispatching
maintaining (on-line) of the rule base. Because commer- actions. The latter have been rated according to a utility
cial Petri Net tools are not able to cover Fuzzy Petri function. This utility function takes into account:
Nets appropriately, a special tool has been developed
(based on Visual Basic, the necessary effort amounted to * the delay of all affected trains, weighed according to
one person/month only) that allows to edit and execute the rank of the train,
Fuzzy Petri Nets. The experiments described in Sections * the summed delay for all passengers,
3.2 and 3.3 are carried out on the basis of this tool. * the costs of additional resources involved, such as
Regarding question 3: Commercial railway simulation additional trains, staff, and track fees.
tools utilize a fine-grained model of the railway network
under consideration and usually employ a fixed time-step In more than 90% of the scenarios, the rule base opted
simulation. These tools have response times of several for the best possible dispatching action. Taking into
minutes to calculate the journey of one train, which has account that the scenarios chosen were not trivial but
orders of magnitude slower than needed. Therefore, a rather border-line cases, it can be stated that the rule
simulation tool has been developed and implemented base finds the best dispatching action in more than 9 out
which is based on object-oriented technology. This of 10 cases.
simulation tool employs pre-calculated acceleration and In Sections 3.2 and 3.3, one of the tested scenarios is
braking curves wherever possible, thus reducing the presented as an example.
simulation time significantly with only minor deviations
from the exact solution. Details on the simulation tool 3.2. Application example
can be found in Fay and Schnieder (1997).
Regarding question 4: An extensive evaluation of the In this section, an example of the system function-
decisions given by the rule base has been carried out. ing in a typical scenario is given: in a certain station, a
long-distance train (no. 2) waits for another long- 2. A high number of transfer passengers are in favor of
distance train (no. 1) to arrive to allow passengers to letting train 2 wait.
transfer from train 1 to train 2. In case of train 1 being 3. The longer the further trip of train 2, the more effects
late, a decision has to be made whether train 2 should has a delay of train 2 on other trains.
wait or rather depart. The concerns of the transfer 4. The shorter the time interval, the less the transfer
passengers of train 1 have to be balanced against those passengers have to wait for another train.
of the passengers of train 2 (and the interests of 5. If transfer passengers do not reach their desti-
passengers who intend to board train 2 during the rest nation on this day, additional costs have to be
of its trip), and an optimum has to be found regarding covered for customer care } a reason to let train 2
the divergent aims mentioned above. wait for train 1.
The decision is influenced by the following conditions:
These aspects are covered in eight rules, which are
shown in Figs. 4 and 5. (The display of the rule base is
1. the length of the delay of train 1,
split into two figures for screenshot resolution purposes
2. the number of transfer passengers,
only. The user of the tool can zoom in to watch details
3. the length of the further trip of train 2,
and zoom out to get an overview of the rule base.) The
4. the time interval of trains in the direction of train 2,
number within a rule (transition, shown as a square)
5. and whether train 2 is the last train in this direction
denotes the credibility factor of the rule. The number
on this day (and, thus, the last chance for transfer
within a condition/action (place, shown as a circle)
passengers to reach their destination on this day).
denotes the degree of fulfillment (of a condition) or the
The main aspects (as stated by dispatching experts) are: degree of support (for an action), respectively. The black
token on the last (rightmost) places show that the
1. The longer the delay, the stronger is the argument for evaluation (execution) of the rules has been completed
letting train 2 depart according to schedule. up to the very end.
A. Fay / Engineering Applications of Artificial Intelligence 13 (2000) 719729 727
Table 1
Results of the rule base evaluation for the connection conflict
Scenario Delay Transfer Headway Further trip Total costs Total costs depart Rule base
(min) passengers (min) length (km) wait (min) (min) proposal
improvement in traffic performance, reliability, and Computer-Aided Scheduling in Public Transport Springer, Berlin,
customer satisfaction. pp. 278295.
Chen, S., Ke, J., Chang, J., 1990. Knowledge representation using
The approach described in this paper has recently
Fuzzy Petri Nets. IEEE Trans. Knowl. and Data Eng. 2 (3), 311
been awarded the Forschungspreis der Deutschen 319.
Bahn 1998 (German Railway Research Award 1998) Chun, M., Bien, Z., 1993. Fuzzy Petri Net representation and
for its contribution to the optimization of railway traffic reasoning methods for rule-based decision making systems. IEICE
and its practical relevance. Trans. Fundamentals E76-A (6), 974982.
Fay, A., Schnieder, E., 1997. Knowledge-based decision support
system for real-time train traffic control. In: CASPT97, Preprints of
the 7th International Workshop on Computer-Aided Scheduling of
Acknowledgements Public Transport, 68 August. Boston, MA, pp. 109125.
Fay, A., Schnieder, E., 1999. Fuzzy Petri Nets for knowledge
The system described in this paper has been developed modelling in expert systems. In: Cardoso, J., Camargo, H. (Eds.),
during the authors stay at the Institute of Automation Fuzziness in Petri Nets, Studies in Fuzziness and Soft Computing,
vol. 22. Springer, Berlin.
and Control at the Technical University of Braunsch- Fernandez, A., de Cuadra, F., Garcia, A., 1996. SIRO } an optimal
weig. The author would like to thank the head of that regulation system in an integrated control centre for metro lines. In:
institute, Eckehard Schnieder, for having provided the Proceedings of the COMPRAIL96 in Berlin, Computational
financial support for this work and for his comments. Mechanics Publication, Southampton, UK, pp. 299308.
Komaya, K., Fukuda, T., 1989. ESTRAC-III } An expert system for
train traffic control in disturbed situations. In: IFAC Conf. Control,
Computers, Communications in Transportation, Paris, pp. 147153.
Looney, C., 1988. Fuzzy Petri Nets for rule-based decisionmaking.
References IEEE Trans. Systems, Man and Cybernetics 18 (1), 178183.
Moirano, M., Rossi, C., Sassi, C., Sissa, G., 1989. An underground
Adamski, A., 1992. Real-time computer aided adaptive control in railway traffic expert system. In: Proceedings of the International
public transport from the point of view of schedule reliability. In: Conference on Artificial Intelligence in Industry and Government,
Proceedings of the CASPT93 in Lisbon, 6th Workshop on Hyderabad, India, pp. 330335.
A. Fay / Engineering Applications of Artificial Intelligence 13 (2000) 719729 729
Nachtigall, K., 1996. Train scheduling on a single-track railway. In: Zimmermann, H.J., 1993. Fuzzy Set Theory } and its Applications.
Proceedings of the SOR Symposium on Operations Research, Kluwer, Boston.
DGOR/IFIP, Braunschweig, Germany. Zwaneveld, P.J., Kroon, L.G., Ambergen, H.W., 1996. A decision
Puppe, F., 1993. Systematic Introduction to Expert Systems } support system for routing trains through railway stations. In:
Knowledge Representations and Problem-Solving Methods. Proceedings of the COMPRAIL96 in Berlin Computational
Springer, Berlin. Mechanics Publication, Southampton, pp. 219226.
Schafer, H., Pferdmenges, S., 1994. An expert system for real-time
train dispatching. In: Proceedings of the COMPRAIL94 in Madrid Alexander Fay obtained a Diploma degree and a Ph.D in Electrical
Computational Mechanics Publication, Southampton, pp. 2734. Engineering from Technical University of Braunschweig in 1995 and
Tano, S., Arnauld, T., Kato, Y., Miyoshi, T., 1995. Fuzziness 1999, respectively. He is currently with the Corporate Research Center
reduction method for a combination function. In: Bien, Z., Min, of Asea Brown Boveri in Heidelberg. His main research interests are
K.C. (Eds.), Fuzzy Logic and its Applications in Inf. Sciences and automation and control of complex systems, especially with the use of
Intelligent Systems. Kluwer, MA, pp. 1524. knowledge-based systems.