1 / 17

Principles of Engineering System Design

Principles of Engineering System Design. Dr T Asokan asok@iitm.ac.in. Principles of Engineering System Design. GRAPHICAL MODELLING TECHNIQUES. Dr T Asokan asok@iitm.ac.in. Behavioural Properties. Reachability “Can we reach one particular state from another?” Boundedness

prue
Télécharger la présentation

Principles of Engineering System Design

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Principles of Engineering System Design Dr T Asokan asok@iitm.ac.in

  2. Principles of Engineering System Design GRAPHICAL MODELLING TECHNIQUES Dr T Asokan asok@iitm.ac.in

  3. 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

  4. 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

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

  6. 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

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

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

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

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

  11. e1 Net Structures • Synchronization Asokan T ED 309

  12. e1 Net Structures • Synchronization and Concurrency Asokan T ED 309

  13. 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

  14. A Producer-Consumer System k=2 k=1 accepted ready p1 p4 Storage p3 produce accept 3 2 t2 t1 t3 t4 consume send k=5 p2 p5 idle ready k=1 k=2 Producer Consumers Asokan T ED 309

  15. 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

  16. 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. Asokan T ED 309

  17. Petri Net References • Murata, T. (1989, April). Petri nets: properties, analysis and applications. Proceedings of the IEEE, 77(4), 541-80. • 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:http://www.daimi.au.dk/PetriNets/

More Related