Principles of Engineering System Design Dr T Asokan

Slides:



Advertisements
Similar presentations
School of Computer Science & Software Engineering
Advertisements

Principles of Engineering System Design Dr T Asokan
State Diagram 1. State diagram: Shows the behavior of one object. They describe all of the possible states that a particular object can get into and how.
Workflow Management Systems © Dr. Rafael A. Calvo – Edited by Mark Aufflick (pumptheory.com) School of Electrical and Information Eng, University of Sydney.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
1 Petri Nets I Paul Fishwick author From
1 SE-561 Formal Methods in Software Petri Nets - I.
An Introduction to Petri Nets
Introduction to Petri Nets Hugo Andrés López
Based on: Petri Nets and Industrial Applications: A Tutorial
UML (Sequence Diagrams, Collaboration and State Chart Diagrams) Presentation By - SANDEEP REDDY CHEEDEPUDI (Student No: ) - VISHNU CHANDRADAS (Student.
Discrete Interaction Design Specification Prof. Dr. Matthias Rauterberg Faculty Industrial Design Technical University of Eindhoven
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.
A Schedulability-Preserving Transformation of BDF to Petri Nets Cong Liu EECS 290n Class Project December 10, 2004.
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.
Data and Knowledge Representation Lecture 6 Qing Zeng, Ph.D.
Lecture 6 & 7 System Models.
Modeling State-Dependent Objects Using Colored Petri Nets
Mata kuliah :K0362/ Matematika Diskrit Tahun :2008
Chapter 3 : Software Process and Other Models Juthawut Chantharamalee Curriculum of Computer Science Faculty of Science and Technology, Suan Dusit University.
1 Lab Beginning Analysis and Design 4 Completion of first version of use case diagram initiates the processes of analysis and design. 4 UML provides.
PETRINETS Nipun Devlekar Zauja Lahtau. PETRINETS DEFINITION : DEFINITION :  PETRINET (place/ transition net): a formal, graphical, executable technique.
Principles of Engineering System Design Dr T Asokan
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
CS 325: Software Engineering March 3, 2015 Activity Modeling for Transformational Systems Trtansformational Systems UML Activity Diagrams.
程建群 博士(Dr. Jason Cheng) 年03月
System Models Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn Lecture 6 & 7.
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
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.
CY2003 Computer Systems Lecture 7 Petri net. © LJMU, 2004CY2003- Week 72 Overview Petri net –concepts –Petri net representation –Firing a transition –Marks.
Virtual Storytelling Adam Abonyi Daniel Balaš. Agenda 1.Introduction to virtual storytelling 2.Petri Nets 3.Our improvements in Petri Nets 4.Example.
Stochastic Activity Networks ( SAN ) Sharif University of Technology,Computer Engineer Department, Winter 2013 Verification of Reactive Systems Mohammad.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
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.
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.
CS212: Object Oriented Analysis and Design Lecture 34: UML Activity and Collaboration diagram.
Week 7 - Systems Engineering and Analysis
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.
Systems Analysis and Design in a Changing World, Fourth Edition
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
Principles of Engineering System Design Dr T Asokan
/faculteit technologie management PN-1 Petri nets refresher Prof.dr.ir. Wil van der Aalst Eindhoven University of Technology, Faculty of Technology Management,
Capturing Requirements. Questions to Ask about Requirements 1)Are the requirements correct? 2)Consistent? 3)Unambiguous? 4)Complete? 5)Feasible? 6)Relevant?
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Procedural Activity Patrick Bailey Keith Vander Linden Calvin College.
Petri-Nets and Other Models
2008/10E-Enterprise Integration - eEI1 Lecture 6 Petri Net Techniques for Modeling Workflows and Their Support of Reuse.
Week 8 Computational Level
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
2. Specification and Modeling
Clockless Computing COMP
Theory Of Petri Nets Under the guidance of: Dr. K.S Raju By:
Week 8 Computational Level
Chapter 8: Modelling Interactions and Behaviour UML Activity Diagram
Workflow Management Systems
CAP 4800/CAP 5805: Computer Simulation Concepts
CAP 4800/CAP 5805: Computer Simulation Concepts
Dynamic Modeling Lecture # 37.
An Introduction to Petri Nets
CAP 4800/CAP 5805: Computer Simulation Concepts
Petri Net :Abstract formal model of information flow Major use:
Petri Nets Laurie Frazier.
Presentation transcript:

Principles of Engineering System Design Dr T Asokan

Principles of Engineering System Design Dr T Asokan GRAPHICAL MODELLING TECHNIQUES

BEHAVIOR MODELING Method used for exploring the dynamics of the system. Address the discrete-event behavior, which is behavior that is triggered by the occurrence of specific events. Control, activation, and termination of system functions Ex: FFBD ( Functional Flow Block Diagrams), Behavior diagrams, Petrinets

FFBDs provide a hierarchical decomposition of the systems function and show a control structure that dictates the order in which the function can be executed at each level of the decomposition. Series, Concurrent, selection, and multiple exit

Asokan T ED 309

FUNCTION FLOW BLOCK DIAGRAM

Asokan T ED 309

Petri Nets First introduced by Carl Adam Petri in A diagrammatic tool to model concurrency and synchronization in distributed systems. Used as a visual communication aid to model the system behaviour. Based on strong mathematical foundation. Captures precedence relations and structural interactions of potentially concurrent and asynchronous events.

Asokan T ED 309 A Petri Net Specification... consists of three types of components: places (circles), transitions (rectangles) and arcs (arrows): – Places represent possible states of the system (P= p1,p2,….) – Transitions are events or actions which cause the change of state (T=t1,t2…); And – Every arc simply connects a place with a transition or a transition with a place. t1 p1 p2 The state of PN is defined by the marking.

Asokan T ED 309 A Change of State … is denoted by a movement of token(s) (black dots) from place(s) to place(s); and is caused by the firing of a transition. The firing represents an occurrence of the event or an action taken. The firing is subject to the input conditions, denoted by token availability. t1

Asokan T ED 309 A Change of State A transition is firable or enabled when there are sufficient tokens in its input places. After firing, tokens will be transferred from the input places (old state) to the output places, denoting the new state.

Asokan T ED 309 Example: EFTPOS System (A Petri net) Initial 1 digit d1d2d3 d4 OK pressed approve approved OK Reject Rejected! (EFTPOS= Electronic Fund Transfer Point of Sale)

Asokan T ED 309 EFTPOS System Scenario 1: Normal – Enters all 4 digits and press OK. Scenario 2: Exceptional – Enters only 3 digits and press OK.

Asokan T ED 309 Example: EFTPOS System (Token Games) Initial 1 digit d1d2d3 d4 OK pressed approve approved OK Reject Rejected!

Asokan T ED 309 Example: Vending Machine The machine dispenses two kinds of snack bars – Rs 20 and Rs 15. Only two types of coins can be used – Rs 10 coins and Rs 5 coins. The machine does not return any change.

Asokan T ED 309 Example: Vending Machine (A Petri net) 5 Take Rs 15 bar Deposit 5 0 Deposit 10 Deposit 5 10 Deposit 10 Deposit 5c Deposit Deposit 5 15 Take Rs 20 bar

Asokan T ED 309 Example: Vending Machine (3 Scenarios) Scenario 1: – Deposit 5, deposit 5, deposit 5, deposit 5, take Rs 20 snack bar. Scenario 2: – Deposit 10, deposit 5, take Rs15 snack bar. Scenario 3: – Deposit 5, deposit 10, deposit 5, take Rs20 snack bar.

Asokan T ED 309 Example: Vending Machine (Token Games) 5 Take Rs 15 bar Deposit 5c 0c Deposit 10 Deposit 5 10 Deposit 10 Deposit 5 Deposit Deposit 5 15 Take Rs 20 bar