L-2 Modeling With PN
L-2 Modeling With PN
www.cucse.org/NC.htm
Outline
Introduction
Generalized Petri Nets (GPN)
Modeling & Analysis using GPN
Matrix Representation of PN
Limitations of GPN and evolution of HLN
Applications
22 August 2025 2
1
8/22/2025
Outline
Introduction
Generalized Petri Nets (GPN)
Modeling & Analysis using GPN
Matrix Representation of PN
Limitations of GPN and evolution of HLN
Applications
22 August 2025 3
Petri Net
22 August 2025
http://www.scholarpedia.org/article/Petri_net 4
2
8/22/2025
Petri Net
3
8/22/2025
Making of Sandwich
Making of Sandwich
4
8/22/2025
Making of Sandwich
A PetriofNet
Firing Transitions
p1 p2
t4
Places
t1 p3
t3 Transitions
p4
μ = (1, 0, 1, 1, 0)
p5 t2
22 August 2025 10
10
5
8/22/2025
Representation of PN
22 August 2025 11
11
A PetriofNet
Firing Transitions
p1 p2
t4
t1 p3
t3
p4
μ = (1, 0, 1, 1, 0)
p5 t2
22 August 2025 12
12
6
8/22/2025
Representation of PN
13
22 August 2025 14
14
7
8/22/2025
Alternate Representation of PN
22 August 2025 15
15
16
8
8/22/2025
A
Firing
Petriof
Net with Tokens
p1 p2
t4
Places
t1 p3
t3 Transitions
p4
μ = (1, 0, 1, 1, 0)
Tokens
p5 t2
17
18
9
8/22/2025
Firing ofTransitions
Firing of Event in a Petri Net
p1 p2
t4
t1 p3
t3
p4
μ = (1, 0, 1, 1, 0)
p5 t2
22 August 2025 19
19
Firing ofTransitions
Firing of Event in a Petri Net
p1 p2
t4
t1 p3
t3 t2 t1
p4
μ = [1, 1, 1, 0, 1]
μ = (1, 0, 1, 1, 0)
μ = [0, 0, 0, 1, 1]
p5 t2
20
10
8/22/2025
21
22
11
8/22/2025
In our example,
•p1={t4}; •p2={t2}; •p3=ϕ,
•p4={t1} and •p5={t2,t3}
Similarly,
p1•={t1}; p2•={t1}; p3•={t1}, p4•={t2} and
p5•= ϕ
I(p) is equivalent to •p
O(p) is equivalent to p• 23
22 August 2025
23
Operations on PN
24
12
8/22/2025
Outline
Introduction
Generalized Petri Nets (GPN)
Modeling & Analysis using GPN
Matrix Representation of PN
Limitations of GPN and evolution of HLN
Applications
22 August 2025 25
25
26
13
8/22/2025
Firing of Transitions
27
28
14
8/22/2025
29
p1
t1 t3
p2 p4
t2 t4
p3 p5
30
30
15
8/22/2025
Outline
Introduction
Generalized Petri Nets (GPN)
Modeling & Analysis using GPN
Matrix Representation of PN
Limitations of GPN and evolution of HLN
Applications
22 August 2025 31
31
Reachability
32
16
8/22/2025
Reachability
33
34
17
8/22/2025
Bounded or unbounded?
22 August 2025 35
35
Bounded or unbounded?
36
18
8/22/2025
Reachability Tree
37
38
19
8/22/2025
Let M = {μ0}
Select a pair (μ, t), for μ M
and t T, that has not been
considered earlier, such that μ
enables t. Stop if no such pair
exists.
39
40
20
8/22/2025
Coverability Graph
41
Deadlock free PN
42
21
8/22/2025
Deadlock free PN
43
Dead or live?
t5
22 August 2025 44
44
22
8/22/2025
Outline
Introduction
Generalized Petri Nets (GPN)
Modeling & Analysis using GPN
Matrix Representation of PN
Limitations of GPN and evolution of HLN
Applications
22 August 2025 45
45
22 August 2025 46
46
23
8/22/2025
47
48
24
8/22/2025
input output
22 August 2025 49
49
50
25
8/22/2025
22 August 2025 51
51
52
26
8/22/2025
22 August 2025 53
53
54
27
8/22/2025
Outline
Introduction
Generalized Petri Nets (GPN)
Modeling & Analysis using GPN
Matrix Representation of PN
Limitations of GPN and evolution of HLN
Applications
22 August 2025 55
55
Timing Constraints
56
28
8/22/2025
Timing Constraints
57
Timing Constraints
22 August 2025 58
58
29
8/22/2025
59
22 August 2025 60
60
30
8/22/2025
61
22 August 2025
61
62
22 August 2025
62
31
8/22/2025
63
22 August 2025
63
64
22 August 2025
64
32
8/22/2025
65
22 August 2025 66
66
33
8/22/2025
67
68
34
8/22/2025
22 August 2025 69
69
70
35
8/22/2025
71
References
72
36
8/22/2025
Questions??
73
37