Escolar Documentos
Profissional Documentos
Cultura Documentos
p1
t1
p2
p1
t1
p2
PROPERTIES
Reachability Boundedness Liveness
Reversibility Coverability
a PN is live if, no matter what marking has been reached, it is possible to fire any transition with an appropriate firing sequence
Persistence
a marking is coverable if exists M reachable from M0 for any two enabled transitions, the firing of one of them will not disable the other
Sequential Execution
t1
p1 t1
p2 t2
p3
Concurrency
t1 t2
Merging
t2
t1
t2
Take order
Take order
wait
Order taken
wait
eating
Scenario 2:
Waiter takes order from customer 1; takes order from customer 2; serves customer 2; serves customer 1.
Take order
Take order
wait
Order taken
wait
eating
Take order
Take order
wait
Order taken
wait
eating
5c
Deposit 5c Deposit
15c
0c
5c
Deposit 5c
Deposit 5c
Deposit 10c
10c
Deposit 10c
20c
Scenario 1:
Deposit 5c, deposit 5c, deposit 5c, deposit 5c, take 20c snack bar.
Scenario 2:
Deposit 10c, deposit 5c, take 15c snack bar.
Scenario 3:
Deposit 5c, deposit 10c, deposit 5c, take 20c snack bar.
13
5c
Deposit 5c Deposit
15c
0c
5c
Deposit 5c
Deposit 5c
Deposit 10c
10c
Deposit 10c
20c
concurrency A B
synchronisation A B
communication A B
conflict/choice
multiplicity/resources
individuality/data
1.Marked Graph: A marked graph is a Petri-net in which each place have one i/p and one o/p transitions. |.p|=|p.|=1 :for all p P
t2
t1
t4
t3
Marked Graph
p2 t2 p4 t4 P6
p1
p1
t1
p7
p3 t3
p5
p2
t2
p4
t4
P6
p1
p1
t1
p7
p3
t3
p5
2.State machines:
A State machine is a Petri-net in which each transition 5 Has exactly one input and one output place. |.t|=|t.|=1:for all t T
vend 15 candy 10
5 5
10
10
vend 20 candy
p1
t1
p2
t2
p3
t3
p1
t4 p4 t5
t6 p5
t7 P6 p7
t8
p1
3.Free-Choice Nets:
This model provide a mechanism for conflict resolution. The below net is example for free-choice net. This class of nets allowed controlled conflict.
t1 p2
p1
p3 t2
or pi={tj}
The diagram is not a Free-choice Net In this example presence in token p1,p2 involved in the choice of t1,t2.
p1 p3
p2
t2
t1
p5
p4
t3
t4
4.Extended free-choice
If two places have some common output transition, then they have all their output transitions in common
Def: Simple nets with no isolated elements meeting some additional restrictions are called condition/event nets (C/E nets).
SM
MG