Professional Documents
Culture Documents
W: F— { 1 , 2 , 3 , …. } is a weight function,
denoted by N.
A firing of an enabled tractions t removes w (p,t) tokens from each input place p of
t, and adds w (t,p) tokens to each output place p of t, where w (t,p) is the weight of
A transition without any input place is called a source transition, and one without
any place is called a sink transition. Note that a source transition is unconditionally,
and that firing of a sink transition consumes tokens, but does not produce any.
A pair of place p and transition t is called self loop if p is both an input and output
place of t. A Petri net is said to be pure if it has no self loop. A Petri Net is said to
For the above rule of transition enabling, it is assumed that each place can
infinite capacity net. For modeling any physical systems, it is natural to consider an
upper limit to the number of tokens than each place can hold. Such a Petri Net is
For a finite capacity K(p), the maximum number of tokens that p at hold at any
time. For finite capacity nets, for a transition t to be enabled, there is an additional
condition that the number of tokens in each output place p of t cant exceed its
the rule without the capacity constraint is called the (weak) transition rule. Given a
finite capacity net (N,M0) , it is possible to apply either the strict transition rule to
the given net (N,M0), or equivalent to net (N1,M1),the net oriented from (N,M0) y
pure.
Step 2: between each transition t and some complementary places p1 draw new
arcs (t,p1) of (p1,t) where w(t, p1) = w(p) and w(p1,t) =w (t,p),
So that the sum of token in place p and its complementary place p1 equals its
capacity k(p) for each place p, before and after firing the transition t.
BEHAVIORAL PROPERTIES
After modeling systems with Petri nets, an obvious question is “what can we do
with the models?” A major strength of Petri nets is their support for analysis of
many properties and problems associated with concurrent systems. Two types of
properties can be studied with a Petri-net model: those which depend on the initial
marketing. The former type of properties is referred to as marketing-dependent
properties, whereas the latter type of properties is called structural properties.
A. Reachability
Now, the reachability problem for Petri nets is the problem of finding if [ ]
for a given Marketing Mn in a net (N,Mo).In some applications, one may be
interested in the marketing’s of a subset of places and not care about the rest
of places in a net. This leads to a sum marketing reachability problem which
is the problem of finding if[ ] where[ ] is any marketing whose restriction
to a given subset of places agrees with that of a given marketing Mn.
B. Bounded ness
Likeness is an ideal property for many systems. Thus we relax the likeness
condition
And define different levels of live ness as follows in[8],[178].A transition t
in a Petri net(N,Mo) is said to be:
E. Cover ability
A marketing M in Petri net is said to be coverable if there exists a marking
M in R(Mo) is said to be coverable if there exists a marking M[ ] in R(Mo)
such that [ ] for each Pi in the net. Cover ability is closely rek-lated to
liveness . Lwt M be the minimum marking needed to enable a transition t.
Then t is dead if and only if M is not cover able. That is t is L1-live if and
only if Mm is coverable.
F. Persistence
A Petri net(N,Mo) is said to be persistent if, for any two enabled transitions,
the firing of one transition will not disable the other. A transition in a
persistent net, once it is enabled, will stay enabled until it fires. All marked
graphs are persistent, but not all persistent nets are marked graphs.
G. Synchronic Distance
H. Fairness
METHODOLOGY
A. Basic concepts
Web service: Web services are defined as the accessible programs and
devices distributed on the web. It can be invoked and employed by agents
or other application programs.
Web service-based system: A web service-based system is defined as the
system of which web services are served as components.
Information flow: An information flow expresses the relationship
between a web service and a resource. if a service has the right to use a
resource, there exists information flow between them. Note that there is
no information flow between services or resources A resource expresses
the input/output state or pre-condition/post-condition of web services.
Information flow: An information flow expresses the relationship
between a web service and a resource. if a service has the right to use a
resource, there exists information flow between them. Note that there is
no information flow between services or resources
B. Notation
In the process of modeling, we use a rectangle, a circle and an arrow to indicate a
web service, a resource and an information flow respectively. We also use a black
dot put in the circle to represent the resource is ready to be processed. If there is
no black dot in the circle, the resource is not ready to be utilized. In addition, if
there are other preconditions of executing a web service, these preconditions are
expressed besides the arrow linking the web service and the resource.
C. Composition operations
The invoking operation: The invoking operation can be used to
construct the basic service flow of the web service. An arrow from a
indicates the new resource will be produced or output when the web
t31, t32 and t33 t34 are composed through the concurrent operation. It
may take long or short time to execute them, but all of them must
The choice operation: The choice operation can select one service to be
Fig.below t31, t32 and t33 are composed together via the choice
operation.
the services t11 and t12 are executed repeatedly under certain condition.
can be used to compose basic service flows, partial service flows and the service
flow of overall application system recursively. There are two modes for modeling
web service-based systems. One is the upper to lower mode and the other is the
lower to upper mode. Usually, both of them are used simultaneously in the process
The upper to lower mode: This mode shown in Fig. 6 needs to analyze
the business process firstly, then to map the top business process to the
service flow of the top level. The next step is to decompose the top
service flow to identify the partial service flows of the lower levels
The lower to upper mode: This mode shown in Fig. 7 also needs to
analyze the business process firstly. After that, it needs to identify the
identify the larger scale service flows by composing the basic service
flows. Recursively, it will be put to an end until the service flow of the
There have been numerous research achievements about the modeling method
based on Petri net. These achievements have been applied to a wide fields such as
The choice operation in the model maps the sharing composition operation under
the restriction the number of the sharing resource should not be larger than one. In
fact, the repeating operation in the model maps a composite operation by the
composition operation of the Petri Net. Due to the mapping relationship between
the model and the Petri Net system defined above. Therefore we can use many
powerful analysis technique of Petri Net to analyze the model constructed by the
method we propose.
Application
Identification of a business process of Hospital emergency management
System
processes. They are Preparing for emergency (T1), Responding to Emergency (T2),
Restoring the Emergency (T3). The business process of Preparing for emergency
scheme(T13), Create any emergency events and prepare for that(T14), Train maintainer
for any emergency events (T15), Involve good emergency event analyzer to prevent the
processes, they are Deciding on the emergency Action (T21), Dispatching the
Monitoring the Emergency events consists of some processes, they are There can be an
exhaustive fire in the hospital(T111), A terrorist attack can happen in the Hospital(T112),
There can be flood in the area of the hospital(T113), There can be storage in the
power supply in the hospital(T115). The business process of dispatching the resource
consists of some processes, they are Dispatching the patients in a safe place(T221),
Dispatching the Medical equipments in a safe place(T222).The business process of
preparing for the emergency scheme also consists of some processes, they are
medicine (T132). The business process of compensating the victim is divided into some
processes, they are Compensating the victim by medical checkup (T311), Compensating
the poor victims by financial support (T312).The business process of Evaluating the
events is divided into some processes, they are Evaluating the events which is the main
cause of creating the events (T331), It has to be analyzed that whether any event put not
According to the logical relationship, we can place the upper services by the corresponding
lower service flow respectively. Recursively, the logical model of the hospital based emergency
management system is constructed, as order to the model provided the original logical
relationship must be maintained correctly. The simplified model is shows in the fig.
Service Flow:
The RMG of the Model
REFERENCES
[1] Tadao Murata ― Petri Nets: Properties, Analysis and Application‖, Proceedings
[3] Yuan Chongzhi - Principle and Application of Petrinet [M]. Beijing: Publishing
[4] Petri Net Model of Session Initiation Protocol and Its Verification‖ - Yang Peng;
[6] Alessandro Giua, Carla Seatzu, “Modeling and Supervisory Control of Railway