PN-1 - PowerPoint PPT Presentation

About This Presentation
Title:

PN-1

Description:

Title: PowerPoint Presentation Author: alireza Last modified by: alireza Created Date: 1/1/1601 12:00:00 AM Document presentation format: On-screen Show (4:3) – PowerPoint PPT presentation

Number of Views:26
Avg rating:3.0/5.0
Slides: 30
Provided by: Alir154
Category:
Tags: brand | extensions

less

Transcript and Presenter's Notes

Title: PN-1


1
Petri netsrefresher
  • Prof.dr.ir. Wil van der Aalst
  • Eindhoven University of Technology, Faculty of
    Technology Management,
  • Department of Information and Technology, P.O.Box
    513, NL-5600 MB,
  • Eindhoven, The Netherlands.

2
Elements
3
Modeling problem
4
Modeling problem (1) Zero testing
  • Transition t should fire if place p is empty.

?
t
p
5
Solution
  • Only works if place is N-bounded

t
Initially there are N tokens
N input and output arcs
p
p
6
Modeling problem (2) Priority
  • Transition t1 has priority over t2

t1
?
t2
Hint similar to Zero testing!
7
(No Transcript)
8
A bit of theory
  • Extensions have been proposed to tackle these
    problems, e.g., inhibitor arcs.
  • These extensions extend the modeling power
    (Turing completeness).
  • Without such an extension not Turing complete.
  • Still certain questions are difficult/expensive
    to answer or even undecidable (e.g., equivalence
    of two nets).
  • Turing completeness corresponds to the ability
    to execute any computation.

9
High level Petri netsExtending classical Petri
nets with color, time and hierarchy (informal
introduction)
10
Limitations of classical Petri nets
  • Inability to test for zero tokens in a place.
  • Models tend to become large.
  • Models cannot reflect temporal aspects
  • No support for structuring large models, cf.
    top-down and bottom-up design

11
Inability to test for zero tokens in a place
?
t
p
Tricks only work if p is bounded
12
Models tend to become (too) large
Size linear in the number of products.
13
Models tend to become (too) large (2)
Size linear in the number of tracks.
14
Models cannot reflect temporal aspects
Duration of each phase is highly relevant.
15
No support for structuring large models
16
High-level Petri nets
  • To tackle the problems identified.
  • Petri nets extended with
  • Color (i.e., data)
  • Time
  • Hierarchy
  • For the time being be do not choose a concrete
    language but focus on the main concepts.
  • Later we focus on a concrete language CPN.
  • These concepts are supported by many variants of
    CPN including ExSpect, CPN AMI, etc.

17
Running example Making punch cards
free desk employees
waiting patients
served patients
patient/ employees
18
(No Transcript)
19
(No Transcript)
20
(No Transcript)
21
(No Transcript)
22
Extension with color (1)
  • Tokens have a color (i.e., a data value)

23
Extension with color (2)
  • Places are typed (also referred to as color set).

record Brandstring RegistrationNostring
Yearint Colorstring Ownerstring
24
Extension with color (3)
  • The relation between production and consumption
    needs to be specified, i.e., the value of a
    produced token needs to be related to the values
    of consumed tokens.

The value of the token produced for place sum is
the sum of the values of the consumed tokens.
25
Running example Tokens are colored
26
Running example Places are typed
27
Running example Initial state
start is enabled
28
Running example Transition start fired
New value is created by simply merging the two
records.
stop is enabled
29
Running example Transition stop fired
New values are created by simply spliting the
record into two parts.
Write a Comment
User Comments (0)
About PowerShow.com