Principles of Engineering System Design Dr T Asokan

Slides:



Advertisements
Similar presentations
The Coin Game. SUPPLY CHAIN BASICS Key Learning Points: The dynamics of a supply chain The benefits to be gained from Supply Chain Visibility Demand/Supply.
Advertisements

Modeling Software Systems Lecture 2 Book: Chapter 4.
School of Computer Science & Software Engineering
Chapter 6 Concurrency: Deadlock and Starvation Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community.
Virtual Time Virtual Time and Global States of Distributed Systems Friedmann Mattern, 1989 The Model: An asynchronous distributed system = a set of processes.
1 Petri Nets I Paul Fishwick author From
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
Shortest Violation Traces in Model Checking Based on Petri Net Unfoldings and SAT Victor Khomenko University of Newcastle upon Tyne Supported by IST project.
IPC (Interprocess Communication)
Distributed Snapshots: Determining Global States of Distributed Systems - K. Mani Chandy and Leslie Lamport.
Global States.
On 1-soundness and Soundness of Workflow Nets Lu Ping, Hu Hao and Lü Jian Department of Computer Science Nanjing University
Synchronization.
1 SE-561 Formal Methods in Software Petri Nets - I.
Course: Software Engineering II academic year: Course Web-site: [ Lecturer: Catia Trubiani.
An Introduction to Petri Nets
Principles of Engineering System Design Dr T Asokan
Introduction to Petri Nets Hugo Andrés López
Petri Nets Section 2 Roohollah Abdipur.
Based on: Petri Nets and Industrial Applications: A Tutorial
1 Modeling based on Petri-nets. Lecture 8. 2 High-level Petri nets The classical Petri net was invented by Carl Adam Petri in A lot of research.
IE 469 Manufacturing Systems
Lei Bu Petri Nets 11 Dining Philosphier 4 States , 5 transitions.
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.
CP — Concurrent Programming 12. Petri Nets Prof. O. Nierstrasz Wintersemester 2005 / 2006.
1 Gas Station and Cruise Control Specifications Ronnie Apcar Edwin Chiu Hasmik Jerejian November 2, 2000 CSCI 599 Formal Methods November 2, 2000 Concurrency.
1 Petri Nets H Plan: –Introduce basics of Petri Net models –Define notation and terminology used –Show examples of Petri Net models u Calaway Park model.
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.
Principles of Engineering System Design Dr T Asokan
An Introduction to Petri Nets Marjan Sirjani Formal Methods Laboratory University of Tehran.
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.
Introduction to Operations Research
Petri Nets Copyright, 2003 © Jerzy R. Nawrocki Models and Analysis of Software Lecture.
CY2003 Computer Systems Lecture 7 Petri net. © LJMU, 2004CY2003- Week 72 Overview Petri net –concepts –Petri net representation –Firing a transition –Marks.
1 Petri Nets III Wednesday, October 26, Review -Timed Petri Net  Time can be associate with places, arcs, or transitions. There are real life.
MAT 1235 Calculus II Section 8.5 Probability
COMP155 Computer Simulation September 8, States and Events  A state is a condition of a system at some point in time  An event is something that.
Generalized stochastic Petri nets (GSPN)
Petri Nets Lecturer: Roohollah Abdipour. Agenda Introduction Petri Net Modelling with Petri Net Analysis of Petri net 2.
CAP 4800/CAP 5805: Computer Simulation Concepts
Modelling by Petri nets
MW Tech IS 8040 Data Comm and Networking Dr. Hoganson Middleware Technology Communication Mechanisms Synchronous – process on client side must stop and.
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
Petri-Nets and Other Models
MAT 1235 Calculus II Section 8.5 Probability
2008/10E-Enterprise Integration - eEI1 Lecture 6 Petri Net Techniques for Modeling Workflows and Their Support of Reuse.
Week 8 Computational Level
composition of workflows
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
Dr. Eng Amr T. Abdel-Hamid
Clockless Computing COMP
Theory Of Petri Nets Under the guidance of: Dr. K.S Raju By:
Week 8 Computational Level
Stochastic Activity Networks
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)
Modeling based on Petri-nets.
An Introduction to Petri Nets
CAP 4800/CAP 5805: Computer Simulation Concepts
CSCI1600: Embedded and Real Time Software
Presentation transcript:

Principles of Engineering System Design Dr T Asokan

Principles of Engineering System Design Dr T Asokan GRAPHICAL MODELLING TECHNIQUES

Asokan T ED 309 Behavioural Properties Reachability Can we reach one particular state from another? Boundedness Will a storage place overflow? Liveness Will the system die in a particular state?

Asokan T ED 309 Multiple Local States In the real world, events happen at the same time. A system may have many local states to form a global state. There is a need to model concurrency and synchronization.

Asokan T ED 309 Example: In a Restaurant (A Petri Net) Waiter free Customer 1 Customer 2 Take order Take order Order taken Tell kitchen wait Serve food eating

Asokan T ED 309 Example: In a Restaurant (Two Scenarios) Scenario 1: – Waiter takes order from customer 1; serves customer 1; takes order from customer 2; serves customer 2. Scenario 2: – Waiter takes order from customer 1; takes order from customer 2; serves customer 2; serves customer 1.

Asokan T ED 309 Example: In a Restaurant (Scenario 1) Waiter free Customer 1 Customer 2 Take order Take order Order taken Tell kitchen wait Serve food eating

Asokan T ED 309 Example: In a Restaurant (Scenario 2) Waiter free Customer 1 Customer 2 Take order Take order Order taken Tell kitchen wait Serve food eating

Asokan T ED 309 Net Structures A sequence of events/actions: Concurrent executions: e1 e2e3 e1 e2 e3 e4 e5

Asokan T ED 309 Net Structures Non-deterministic events - conflict, choice or decision: A choice of either e1, e2 … or e3, e4... e1e2 e3e4

Asokan T ED 309 Net Structures Synchronization e1

Asokan T ED 309 Net Structures Synchronization and Concurrency e1

Asokan T ED 309 Another Example A producer-consumer system, consist of one producer, two consumers and one storage buffer with the following conditions: The storage buffer may contain at most 5 items; The producer sends 3 items in each production; At most one consumer is able to access the storage buffer at one time; Each consumer removes two items when accessing the storage buffer

Asokan T ED 309 A Producer-Consumer System ready p1 t1 produce idle send p2 t2 k=1 k=5 Storage p3 32 t3t4 p4 p5 k=2 accept accepted consume ready ProducerConsumers

Asokan T ED 309 A Producer-Consumer Example In this Petri net, every place has a capacity and every arc has a weight. This allows multiple tokens to reside in a place to model more complex behaviour.

Asokan T ED 309 Behavioural Properties Reachability Can we reach one particular state from another? Boundedness Will a storage place overflow? Liveness Will the system die in a particular state?

Asokan T ED 309 Other Types of Petri Nets High-level Petri nets Tokens have colours, holding complex information. Timed Petri nets Time delays associated with transitions and/or places. Fixed delays or interval delays. Stochastic Petri nets: exponentially distributed random variables as delays.

Petri Net References Murata, T. (1989, April). Petri nets: properties, analysis and applications. Proceedings of the IEEE, 77(4), Peterson, J.L. (1981). Petri Net Theory and the Modeling of Systems. Prentice-Hall. Reisig, W and G. Rozenberg (eds) (1998). Lectures on Petri Nets 1: Basic Models. Springer-Verlag. The World of Petri nets: daimi.au.dk/PetriNets/