Modeling with ordinary Petri Nets Events: Actions that take place in the system The occurrence of these events is controlled by the state of the system.

Slides:



Advertisements
Similar presentations
1 Petri Nets I Paul Fishwick author From
Advertisements

Techniques to analyze workflows (design-time)
An Introduction to Petri Nets
Principles of Engineering System Design Dr T Asokan
Introduction to Petri Nets Hugo Andrés López
1 Analysis of workflows : Verification, validation, and performance analysis. Wil van der Aalst Eindhoven University of Technology Faculty of Technology.
Petri Nets Section 2 Roohollah Abdipur.
Based on: Petri Nets and Industrial Applications: A Tutorial
Chapter 3 Petri nets Learning objectives : Introduce Petri nets
IE 469 Manufacturing Systems
Discrete Interaction Design Specification Prof. Dr. Matthias Rauterberg Faculty Industrial Design Technical University of Eindhoven
Lei Bu Petri Nets 11 Dining Philosphier 4 States , 5 transitions.
Petri net modeling of biological networks Claudine Chaouiya.
Synthesis of Embedded Software Using Free-Choice Petri Nets.
10. Petri Nets Prof. O. Nierstrasz. Roadmap  Definition: —places, transitions, inputs, outputs —firing enabled transitions  Modelling: —concurrency.
Petri Nets Overview 1 Definition of Petri Net C = ( P, T, I, O) Places P = { p 1, p 2, p 3, …, p n } Transitions T = { t 1, t 2, t 3, …, t n } Input.
Ordering and Consistent Cuts Presented By Biswanath Panda.
CP — Concurrent Programming 12. Petri Nets Prof. O. Nierstrasz Wintersemester 2005 / 2006.
Lecture 6 & 7 System Models.
1 Petri Nets Marco Sgroi EE249 - Fall 2001 Most slides borrowed from Luciano Lavagno’s lecture ee249 (1998)
Mata kuliah :K0362/ Matematika Diskrit Tahun :2008
Petri Nets An Overview IE 680 Presentation April 30, 2007 Renata Kopach- Konrad.
PETRINETS Nipun Devlekar Zauja Lahtau. PETRINETS DEFINITION : DEFINITION :  PETRINET (place/ transition net): a formal, graphical, executable technique.
1 A Petri Net Siphon Based Solution to Protocol-level Service Composition Mismatches Pengcheng Xiong 1, Mengchu Zhou 2 and Calton Pu 1 1 College of Computing,
System Models Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn Lecture 6 & 7.
Requirements Definition and Specification. Outline Definition and specification Natural language Semi-formal techniques –Program description languages.
CY2003 Computer Systems Lecture 7 Petri net. © LJMU, 2004CY2003- Week 72 Overview Petri net –concepts –Petri net representation –Firing a transition –Marks.
F.L. Lewis, Assoc. Director for Research Moncrief-O’Donnell Endowed Chair Head, Controls, Sensors, MEMS Group Automation & Robotics Research Institute.
Kurt Jensen Lars M. Kristensen 1 Coloured Petri Nets Department of Computer Science Coloured Petri Nets Modelling and Validation of Concurrent Systems.
Petri Nets: Their Development and Use in Production Planning Jeffrey E. Short, P.E. December 6, 2000.
CS 367: Model-Based Reasoning Lecture 5 (01/29/2002) Gautam Biswas.
Hardware Design and The Petri Net Abhijit K. Deb SAM, LECS, IMIT, KTH Kista, Stockholm.
Petri Nets Lecturer: Roohollah Abdipour. Agenda Introduction Petri Net Modelling with Petri Net Analysis of Petri net 2.
Petri Nets Invented by Carl Adam Petri in 1962 Concurrent systems with timing problems  Synchronization, race problem, deadlock A petri net consists of.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Modelling by Petri nets
Ch5: Software Specification. 1 Petri Nets  Introduced by C. Adams Petri in  Widely used in the modeling and analysis of computer systems.  Basic.
1 Copyright  2001 Pao-Ann Hsiung SW HW Module Outline l Introduction l Unified HW/SW Representations l HW/SW Partitioning Techniques l Integrated HW/SW.
CSCI1600: Embedded and Real Time Software Lecture 11: Modeling IV: Concurrency Steven Reiss, Fall 2015.
School of Computer Science & Software Engineering
CAP 4800/CAP 5805: Computer Simulation Concepts
1 Petri Nets Ina Koch and Monika Heiner. 2 Petri Nets(1962) Carl Adam Petri.
Ordering of Events in Distributed Systems UNIVERSITY of WISCONSIN-MADISON Computer Sciences Department CS 739 Distributed Systems Andrea C. Arpaci-Dusseau.
Review n System dynamics : A sequence of state transition n model : A set of rules for state transition System S X Y Discrete event system FSM (Automata)
High Performance Embedded Computing © 2007 Elsevier Lecture 4: Models of Computation Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte.
1 Chapter 11 Global Properties (Distributed Termination)
Turing Machine Model Are there computations that no “reasonable” computing machine can perform? –the machine should not store the answer to all possible.
Week 8 Computational Level
Requirements Techniques, cont.
Advantages of FSM Their simplicity make it easy for inexperienced developers to implement with little to no extra knowledge (low entry level)
Concurrent Systems Modeling using Petri Nets
CSS 496 Business Process Re-engineering for BS(CS)
Dr. Eng Amr T. Abdel-Hamid
2. Specification and Modeling
Clockless Computing COMP
Parallel and Distributed Simulation Techniques
Week 8 Computational Level
Stochastic Activity Networks
Concurrent Systems Modeling using Petri Nets – Part II
Computation of Minimal Siphons for a Class of Generalized Petri Nets
CAP 4800/CAP 5805: Computer Simulation Concepts
CAP 4800/CAP 5805: Computer Simulation Concepts
بسمه‌تعالي فصل چهاردهم شبکه‌هاي پتري.
CSCI1600: Embedded and Real Time Software
Introduction to Petri Nets (PNs)
Coloured Petri Nets Modelling and Validation of Concurrent Systems
CAP 4800/CAP 5805: Computer Simulation Concepts
Petri Net :Abstract formal model of information flow Major use:
CSCI1600: Embedded and Real Time Software
Presentation transcript:

Modeling with ordinary Petri Nets Events: Actions that take place in the system The occurrence of these events is controlled by the state of the system. The state of the system is described as a set of conditions. A condition: a predicate or logical description of the state of the system. Events may occur. Occurrence of an event may require some conditions to hold (preconditions). Occurrence of events may cause some preconditions to cease and may cause other conditions (postconditions) to become true.

Modeling - machine shop example (1) Conditions aThe machine shop is waiting. bAn order is arrived and is waiting. cThe machine shop is working on the order. dThe order is complete. Events 1An order arrives. 2The machine shop starts on the order. 3The machine shop finishes the order. 4The order is sent for delivery.

Modeling - machine shop example (2)

Feedback control - Assembly cell (1)

Feedback control - Assembly cell (2) Constraints: Each robot shall perform a task at a time: m 2 + m 3  1 m 4 + m 5 + m 6 + m 7  1 M-1 robot does not interrupt S-380 robot: m 1 + m 2 + m 3 + m 5 + m 6 + m 7  1 >>: A piston rod shall be ready at P3 : m 3  1 A pulling tool is required in P4 and P5 : m 4 + m 5  1 A cap is required in P6: m 6  1 Two nuts are required in P7: m 7  1

Feedback control - Assembly cell (3) Uncontrollability conditions: Operation of M-1 robot not be interrupted from the point that it pulls the piston rod into the engine block until it has completed fastening the cap on the piston rod.  T 6, T 7, T 8 uncontrollable. 1- Check L.W uc 2- Find R 1 and R 2 so that R 1. W uc + R 2 L. W uc  0 L´= R 1 + R 2 L. R 2 = I, find R 1 by row operation.

Feedback control - Assembly cell (4) Uncontrollability conditions

Feedback control - Assembly cell (5) Vision system used in M-1 robot has been obscured: Starting and completing the task can be observed, but tracking the robot’s performance in between is not possible  T 5, T 6, T 7 unobservable. 1- Check L´.W uc 2- Find R 1 and R 2 so that R 1. W uo + R 2 L”. W uo  0 L”= R 1 + R 2 L’. R 2 = I, find R 1 by row operation.

Feedback control - Assembly cell (6) Uncontrollable and unobservable conditions

Concepts in Petri Net (1) Autonomous PN: Neither time nor external synchronization are involved in the model. Boundedness: For every reachable marking, the number of tokens in every place is bounded. Safeness:The marking of every place is either 0 or 1 (Boolean marking). Liveness:Regardless of the evolution, no transition will become unfireable on a permanent basis. Invariants:P-invariants and T-invariants. Concurrency:Firing of transitions are causally independent (I.e. concurrent, they may occur in any order). Synchronization:….

Concepts in Petri Net (2) Source transition:without input place. Sink transition:without output place. Deadlock:no transition is enabled. Conflict:between transitions. Conservation:A PN is conservative if it does not lose or gain tokens but merely moves them around.

Petri net classes (1)

Petri net classes (2) Three main classes: Ordinary PNs:All arcs have weight 1, one kind of tokens, infinite capacity for places, no time involved. Abbreviations:Simplified representations (useful graphical representations), can be mapped to an ordinary PN. Extensions:Some functioning rules are added, to enrich the initial model.

Applications Modeling: - Communication protocols in computer systems; (concurrency, synchronization, and resource sharing). - Manufacturing systems; concurrency (two machines working independently) synchronization (a machine is free and a part is ready to be processed by it). Resource sharing (a robot is assigned to handle parts in two machines but not at the same time). - Hybrid Systems (continuous + discrete parts); ex. batch production processes in biotechnological industry, manufacturing systems.

Analysis PNs exhibit how a system work. Analysis of a PN consists of seeking properties of the constructed model such as liveness, boundedness, deadlock, …. (they show whether the specifications are fulfilled). Main categories of methods for seeking these properties: Drawing the graph of marking and coverability tree. Using linear algebra. Reducing the PNs.