7. Queueing Systems. 8. Petri nets vs. State Automata
|
|
- Malcolm Ellis
- 5 years ago
- Views:
Transcription
1 Petri Nets 1. Finite State Automata 2. Petri net notation and definition (no dynamics) 3. Introducing State: Petri net marking 4. Petri net dynamics 5. Capacity Constrained Petri nets 6. Petri net models for... FSA Nondeterminism Data Flow Computation Communication Protocols Hans Vangheluwe Modelling and Simulation: Petri Nets 1/69
2 7. Queueing Systems 8. Petri nets vs. State Automata 9. Analysis of Petri nets Boundedness Liveness and Deadlock State Reachability State Coverability Persistence Language Recognition 10. The Coverability Tree 11. Extensions: colour, time,... Hans Vangheluwe Modelling and Simulation: Petri Nets 2/69
3 X x0 Finite State Automaton E f F E is a finite alphabet X is a finite state set f is a state transition function, f : X E X x 0 is an initial state, x 0 X F is the set of final states Dynamics (x is next state): x f x e Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 3/69
4 FSA graphical notation: State Transition Diagram 1 Init 1 End_ End_0 0 Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 4/69
5 FSA Operational Semantics Rule 1 (priority 3) Locate Initial Current State 1 1 <ANY> ::= 3 <COPIED> 2 Current State Rule 2 (priority 1) State Transition 2 <ANY> 1 Current State 3 5 Rule 3 (priority 2) 4 <ANY> / <ANY> condition: matched(4).input == input[0] <ANY> ::= action: remove(input[0]) 3 <COPIED> 1 Current State 2 4 <COPIED> COPIED> 5 <COPIED> Local State Transition 1 Current State 1 Current State 2 condition: matched(4).input == input[0] 2 4 <ANY> / <ANY> ::= 4 <COPIED> COPIED> 3 3 <ANY> action: remove(input[0]) <COPIED> Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 5/69
6 Simulation steps Hans Vangheluwe Modelling and Simulation: Petri Nets 6/69
7 1 1 Init 1 End_1 Init 1 End_1 0 input 0 0 Rule 1 Rule End_0 End_0 Current State 0 Current State Init 1 End_1 Init 1 End_1 input 1 Rule input 0 Rule End_0 End_0 Current State 0 Current State 0 end of input Final Action "Accept Input" Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 7/69
8 X X State Automaton E Γ f x0 E is a countable event set X is a countable state space Γ x x X is the set of feasible or enabled events Γ x E f is a state transition function, f : X E X, only defined for e Γ x 0 is an initial state, x 0 X x E Γ f omits x 0 and describes a class of State Automata. Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 8/69
9 State Automata for Queueing Systems Arrival Queue Physical View Cashier Departure Departure Arrival [IAT distribution] Queue Cashier [ST distribution] Abstract View Hans Vangheluwe Modelling and Simulation: Petri Nets 9/69
10 State Automata for Queueing Systems: customer centered a a a a a a d d d d d d E a d X Γ x a d x 0 Γ 0 a f x a x 1 x 0 f x d x 1 x 0 Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 10/69
11 State Automata for Queueing Systems: server centered (with breakdown) s I B r c D b Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 11/69
12 c B B D State Automata for Queueing Systems: server centered (with breakdown) E s b r Events: s denotes service starts, c denotes service completes, b denotes breakdown, r denotes repair. X I D State: I denotes idle, B denotes busy, D denotes broken down. Γ I s Γ c b Γ r f I s B f B c I f B b D f D r I Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 12/69
13 Limitiations/extensions of State Automata Adding time? Hierarchical modelling? Concurrency by means of States are represented explicitly Specifying control logic, synchronisation? Hans Vangheluwe Modelling and Simulation: Petri Nets 13/69
14 Petri nets Formalism similar to FSA Graphical notation C.A. Petri 1960s Additions to FSA: Explicitly (graphically) represent when event is enabled describe control logic Elegant notation of concurrency Express non-determinism Hans Vangheluwe Modelling and Simulation: Petri Nets 14/69
15 P T t2 Petri net notation and definition (no dynamics) P A w P p 1 p2 is a finite set of places T t 1 is a finite set of transitions A T T P is a set of arcs w : A is a weight function Note: no need for countable P and T. Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 15/69
16 Derived Entities I t j p i : pi t j A set of input places to transition t j conditions ( for transition) O t j p i : t j pi A set of output places from transition t j affected ( by transition) Transitions events similarly: input- and output-transitions for p i graphical representation: Petri net graph (multigraph) Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 16/69
17 O2 Example Petri net P H2 H 2 O T t A H2 t O2 t t H2O w H2 t 2 w O2 t 1 w t H2O 2 Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 17/69
18 Pure Petri net No self-loops: pi P t T j : pi t j A t j pi A Can convert impure to pure Petri net Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 18/69
19 Impure to Pure Petri net Hans Vangheluwe Modelling and Simulation: Petri Nets 19/69
20 T w p1 pn Introducing State: Petri net Markings Conditions met? Use tokens in places Token assignment marking x x : P A marked Petri net P A x 0 x 0 is the initial marking The state x of a marked Petri net x x x p2 x Number of tokens need not be bounded (cfr. State Automata states). Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 20/69
21 pi State Space of Marked Petri net All n-dimensional vectors of nonnegative integer markings X n Transition t T j is enabled if x w pi t j pi I t j Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 21/69
22 Example with marking, enabled Hans Vangheluwe Modelling and Simulation: Petri Nets 22/69
23 T w pi w pi Petri Net Dynamics State Transition Function f of marked Petri net P A x 0 f : n T n is defined for transition t T j if and only if x w pi t j pi I t j If f x t j is defined, set x f x t j where x x pi p i t j w t j pi State transition function f based on structure of Petri net Number of tokens need not be conserved (but can) Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 23/69
24 2 1 Example firing Use PNS tool braunl/pns/ Select Sequential Manual execution Transition: Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 24/69
25 Example order of firing not determined (due to untimed model) selfloop dead net Hans Vangheluwe Modelling and Simulation: Petri Nets 25/69
26 Conflict, choice, decision Hans Vangheluwe Modelling and Simulation: Petri Nets 26/69
27 Semantics sequential vs. parallel Handle nondeterminism: 1. User choice 2. Priorities 3. Probabilities (Monte Carlo) 4. Reachability Graph (enumerate all choices) Hans Vangheluwe Modelling and Simulation: Petri Nets 27/69
28 Application: Critical Section Hans Vangheluwe Modelling and Simulation: Petri Nets 28/69
29 Reachability Graph t1e [1,0,1,0,1] t2e t1 t2 [0,1,0,0,1] [1,0,0,1,0] Hans Vangheluwe Modelling and Simulation: Petri Nets 29/69
30 w 0 Algebraic Description of Dynamics Firing vector u: transition j firing u Incidence matrix A : a ji w t j pi p i t j State Equation x x ua Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 30/69
31 Infinite Capacity Petri net Add Capacity Constraint: K : P New transition rule Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 31/69
32 p Can transform to infinite capacity net 1. Add complimentary place p with initial marking x 0 p K 2. Between each transition t and complimentary places p add arcs w w p t p t t p w p w t t p p or t where Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 32/69
33 Capacity Constrained Petri net Hans Vangheluwe Modelling and Simulation: Petri Nets 33/69
34 Equivalence proof: use Reachability Graph [1, 0] t4 t1 t2 t1 [2, 0] t3 [0, 0] [0, 1] t1 [1, 1] t1 t2 t4 [2, 1] [p1k2, p2k1] Hans Vangheluwe Modelling and Simulation: Petri Nets 34/69
35 Petri net as State Machine Hans Vangheluwe Modelling and Simulation: Petri Nets 35/69
36 Representing a Petri net as a State Machine Construct Reachability Graph Reachability Graph is State Machine States are tuples p1 p2 pn Events correspond to t i firing May be infinite Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 36/69
37 Representing a State Machine as a Petri net 1. no output 2. with output automatic (though inefficient) transformation Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 37/69
38 FSA without output Hans Vangheluwe Modelling and Simulation: Petri Nets 38/69
39 FSA with output Hans Vangheluwe Modelling and Simulation: Petri Nets 39/69
40 Petri net models for Queueing Systems Arrival Queue Physical View Cashier Departure Departure Arrival [IAT distribution] Queue Cashier [ST distribution] Abstract View Capacity Constraints for Resource Conservation Hans Vangheluwe Modelling and Simulation: Petri Nets 40/69
41 Simple Server/Queue Model Hans Vangheluwe Modelling and Simulation: Petri Nets 41/69
42 Model departure explicitly Hans Vangheluwe Modelling and Simulation: Petri Nets 42/69
43 Model Server Breakdown Hans Vangheluwe Modelling and Simulation: Petri Nets 43/69
44 Modular Composition: Communication Protocol Build incrementally: 1. Single transmitter: FSA vs. Petri net 2. Two transmitters competing for channel Pros/Cons of Petri net models (depends on goals!): Petri net is more complex than FSA for single transmitter More insight Incremental modelling Modular modelling Intuitive modelling of concurrency Hans Vangheluwe Modelling and Simulation: Petri Nets 44/69
45 Single Transmitter FSA ack received transmit I M T arr timeout arr arr Idle Message present Transmitting Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 45/69
46 Single Transmitter Petri net Hans Vangheluwe Modelling and Simulation: Petri Nets 46/69
47 Concurrent, Non-interacting Transmitters Hans Vangheluwe Modelling and Simulation: Petri Nets 47/69
48 Concurrent, Interacting Transmitters Hans Vangheluwe Modelling and Simulation: Petri Nets 48/69
49 Analysis of Petri nets Analysis of logical or qualitative behaviour. Resource sharing fair usage of resources: Boundedness Conservation Liveness and Deadlock State Reachability State Coverability Persistence Language Recognition Hans Vangheluwe Modelling and Simulation: Petri Nets 49/69
50 Boundedness Example: upper bound on number of customers in queue. Definition: A place p P i in a Petri net with initial state x0 is k or bounded k safe if x pi k for all states in all possible sample paths. Abounded 1 place is called safe. If a place is bounded k for some k, the place is bounded. If all places are bounded, the Petri net is bounded. Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 50/69
51 Bounded vs. Unbounded Hans Vangheluwe Modelling and Simulation: Petri Nets 51/69
52 Conservation Token represents resource, process,... Sum Busy Idle tokens must be constant for all states in all sample paths Hans Vangheluwe Modelling and Simulation: Petri Nets 52/69
53 Idle Conservation, weighted sum 2 Transm trschannel constant Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 53/69
54 pi Conservation A Petri net with initial state x 0 is conservative with respect to γ γ 1 γ2 γn if Σ n i1γi x constant for all states in all possible sample paths. Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 54/69
55 Liveness and Deadlock Cyclic dependency wait indefinitely Deadlock Deadlock avoidance: avoid certain states in sample paths Hans Vangheluwe Modelling and Simulation: Petri Nets 55/69
56 Queue1 1 Deadlock in Queueing system with Rework QueueFree Rework 0 1 Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 56/69
57 Deadlock resolved Hans Vangheluwe Modelling and Simulation: Petri Nets 57/69
58 Liveness Given initial state x 0, a transition in a Petri net is: L0-live (dead): if the transition can never fire. L1-live: if there is some firing sequence from x 0 such that the transition can fire at least once. L2-live: if the transition can fire at least k times for some given positive integer k. L3-live: if there exists some infinite firing sequence in which the transition appears infinitely often. L4-live: if the transition is L1-live for every possible state reached from x 0. Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 58/69
59 Liveness example Hans Vangheluwe Modelling and Simulation: Petri Nets 59/69
60 State Reachability A state x in a Petri net is reachable from a state x 0 if there exists a sequence of transitions starting at x 0 such that the state eventually becomes x. Build/use reachability graph. Deadlock avoidance is a special case of reachability. Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 60/69
61 State Coverability In a Petri net with initial state x 0, a state y is coverable if there exists a sequence of transitions starting at x 0 such that the state eventually becomes x and x pi y pi. Related to L1-liveness: minimum number of tokens required to enable a transition. Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 61/69
62 Persistence More than one transition enabled by the same set of conditions (choice, undeterminism). If one fires, does the other remain enabled? A Petri net is persistent if, for any two enabled transitions, the firing of one cannot disable the other. Non-interruptedness (of multiple processes). Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 62/69
63 Language Recognition Language defined by Petri net set of transition sequences which can fire Hans Vangheluwe Modelling and Simulation: Petri Nets 63/69
64 Coverability Notation Root node Terminal node Duplicate node Hans Vangheluwe Modelling and Simulation: Petri Nets 64/69
65 p1 pn p1 pn pi pi pi pi pi pi n pi n Coverability Notation Node dominance x x x p2 x y y y p2 y x d y (x dominates y)if 1. x y i 1 2. x y for at least some i 1 The symbol ω represents infinity x d y For all i such that x y, replace x by ω ω k ω ω k Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 65/69
66 Coverability Tree Construction 1. Initialize x x0 (initial state) 2. Fore each new node x, evaluate the transition function f (a) if f (b) if f x x t j t j x t i for all t T j : is undefined for all t T j, then x is a terminal node. is defined for some t j create a new node x f x t j ω for some pi, set x T,. i. if x pi pi ω. ii. If there exists a node y in the path from root node x 0 (included) to x such that xd y, set x pi ω for all pi such that x pi y pi iii. Otherwise, set x f x 3. Stop if all new nodes are either terminal or duplicate t j. Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 66/69
67 Coverability Tree Example: Cashier/Queue Hans Vangheluwe Modelling and Simulation: Petri Nets 67/69
68 Coverability Tree Example: Cashier/Queue Hans Vangheluwe Modelling and Simulation: Petri Nets 68/69
69 Applications of the Coverability Tree Boundedness: ω does not appear in coverability tree Bounded Petri net reachability graph Conservation: γ i 0 for ω positions Inverse problem: what are γ and C? Coverability: inspect coverability tree Limitations: deadlock detection Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: Petri Nets 69/69
DES. 4. Petri Nets. Introduction. Different Classes of Petri Net. Petri net properties. Analysis of Petri net models
4. Petri Nets Introduction Different Classes of Petri Net Petri net properties Analysis of Petri net models 1 Petri Nets C.A Petri, TU Darmstadt, 1962 A mathematical and graphical modeling method. Describe
More informationAnalysis and Optimization of Discrete Event Systems using Petri Nets
Volume 113 No. 11 2017, 1 10 ISSN: 1311-8080 (printed version); ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu ijpam.eu Analysis and Optimization of Discrete Event Systems using Petri Nets
More informationDiscrete Event Systems Exam
Computer Engineering and Networks Laboratory TEC, NSG, DISCO HS 2016 Prof. L. Thiele, Prof. L. Vanbever, Prof. R. Wattenhofer Discrete Event Systems Exam Friday, 3 rd February 2017, 14:00 16:00. Do not
More informationThe State Explosion Problem
The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis
More informationThe Discrete EVent System specification (DEVS) formalism
The Discrete EVent System specification (DEVS) formalism Hans Vangheluwe The DEVS formalism was conceived by Zeigler [Zei84a, Zei84b] to provide a rigourous common basis for discrete-event modelling and
More informationIndustrial Automation (Automação de Processos Industriais)
Industrial Automation (Automação de Processos Industriais) Discrete Event Systems http://users.isr.ist.utl.pt/~jag/courses/api1516/api1516.html Slides 2010/2011 Prof. Paulo Jorge Oliveira Rev. 2011-2015
More informationSpecification models and their analysis Petri Nets
Specification models and their analysis Petri Nets Kai Lampka December 10, 2010 1 30 Part I Petri Nets Basics Petri Nets Introduction A Petri Net (PN) is a weighted(?), bipartite(?) digraph(?) invented
More informationEmbedded Systems 6 REVIEW. Place/transition nets. defaults: K = ω W = 1
Embedded Systems 6-1 - Place/transition nets REVIEW Def.: (P, T, F, K, W, M 0 ) is called a place/transition net (P/T net) iff 1. N=(P,T,F) is a net with places p P and transitions t T 2. K: P (N 0 {ω})
More informationTime Petri Nets. Miriam Zia School of Computer Science McGill University
Time Petri Nets Miriam Zia School of Computer Science McGill University Timing Specifications Why is time introduced in Petri nets? To model interaction between activities taking into account their start
More informationSimulation of Spiking Neural P Systems using Pnet Lab
Simulation of Spiking Neural P Systems using Pnet Lab Venkata Padmavati Metta Bhilai Institute of Technology, Durg vmetta@gmail.com Kamala Krithivasan Indian Institute of Technology, Madras kamala@iitm.ac.in
More informationRecent results on Timed Systems
Recent results on Timed Systems Time Petri Nets and Timed Automata Béatrice Bérard LAMSADE Université Paris-Dauphine & CNRS berard@lamsade.dauphine.fr Based on joint work with F. Cassez, S. Haddad, D.
More informationAutomatic Synthesis of Distributed Protocols
Automatic Synthesis of Distributed Protocols Rajeev Alur Stavros Tripakis 1 Introduction Protocols for coordination among concurrent processes are an essential component of modern multiprocessor and distributed
More informationSPECIFICATION MODELS. Chapter 3. Overview. Introducing Hierarchy. StateCharts
hapter SPEIFITION MOELS Overview Stateharts Hierarchy oncurrency Events and ctions Simulation Semantics Non-eterminism and onflicts Petri Nets Notation oncurrency Petri Net Languages ehavioral Properties
More informationEmbedded systems specification and design
Embedded systems specification and design David Kendall David Kendall Embedded systems specification and design 1 / 21 Introduction Finite state machines (FSM) FSMs and Labelled Transition Systems FSMs
More informationSFM-11:CONNECT Summer School, Bertinoro, June 2011
SFM-:CONNECT Summer School, Bertinoro, June 20 EU-FP7: CONNECT LSCITS/PSS VERIWARE Part 3 Markov decision processes Overview Lectures and 2: Introduction 2 Discrete-time Markov chains 3 Markov decision
More informationc 2011 Nisha Somnath
c 2011 Nisha Somnath HIERARCHICAL SUPERVISORY CONTROL OF COMPLEX PETRI NETS BY NISHA SOMNATH THESIS Submitted in partial fulfillment of the requirements for the degree of Master of Science in Aerospace
More informationMULTIPLE CHOICE QUESTIONS DECISION SCIENCE
MULTIPLE CHOICE QUESTIONS DECISION SCIENCE 1. Decision Science approach is a. Multi-disciplinary b. Scientific c. Intuitive 2. For analyzing a problem, decision-makers should study a. Its qualitative aspects
More informationCommunication in Petri nets
Communication in Petri nets Kamal Lodaya work in progress with Ramchandra Phawade The Institute of Mathematical Sciences, Chennai February 2010 Petri nets - introduction Mathematical model. Widely used
More informationAutomata-based Verification - III
COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata
More informationA Review of Petri Net Modeling of Dynamical Systems
A Review of Petri Net Modeling of Dynamical Systems Arundhati Lenka S.O.A University,Bhubaneswar l_arundhati@yahoo.co.in Contact-+91-9861058591 Dr.Chakradhar Das S.I.E.T College,Dhenkanal dashchakradhar@gmail.com
More informationHelsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66
Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66 Teknillisen korkeakoulun tietojenkäsittelyteorian laboratorion tutkimusraportti 66 Espoo 2000 HUT-TCS-A66
More informationGeorg Frey ANALYSIS OF PETRI NET BASED CONTROL ALGORITHMS
Georg Frey ANALYSIS OF PETRI NET BASED CONTROL ALGORITHMS Proceedings SDPS, Fifth World Conference on Integrated Design and Process Technologies, IEEE International Conference on Systems Integration, Dallas,
More informationQueuing Analysis. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall
Queuing Analysis Chapter 13 13-1 Chapter Topics Elements of Waiting Line Analysis The Single-Server Waiting Line System Undefined and Constant Service Times Finite Queue Length Finite Calling Problem The
More informationDecision, Computation and Language
Decision, Computation and Language Non-Deterministic Finite Automata (NFA) Dr. Muhammad S Khan (mskhan@liv.ac.uk) Ashton Building, Room G22 http://www.csc.liv.ac.uk/~khan/comp218 Finite State Automata
More information1. sort of tokens (e.g. indistinguishable (black), coloured, structured,...),
7. High Level Petri-Nets Definition 7.1 A Net Type is determined if the following specification is given: 1. sort of tokens (e.g. indistinguishable (black), coloured, structured,...), 2. sort of labeling
More informationA Sample State Machine
A Sample State Machine Environment Signatures An environment signature is a triple of sets of guards, actions, and messages. H = (G H, A H, M H ) Guards: formulas in some logical language, e.g. OCL. Actions
More informationLogic Model Checking
Logic Model Checking Lecture Notes 10:18 Caltech 101b.2 January-March 2004 Course Text: The Spin Model Checker: Primer and Reference Manual Addison-Wesley 2003, ISBN 0-321-22862-6, 608 pgs. the assignment
More informationTime(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA
Time(d) Petri Net Serge Haddad LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA haddad@lsv.ens-cachan.fr Petri Nets 2016, June 20th 2016 1 Time and Petri Nets 2 Time Petri Net: Syntax and Semantic
More informationCourse Notes. Discrete Event and Hybrid Systems
Course Notes Discrete Event and Hybrid Systems Version 1.2 Jörg Raisch Fachgebiet Regelungssysteme Technische Universität Berlin http://www.control.tu-berlin.de Trinity College, Dublin, 27.7. 30.7.2009
More information2. Elements of the Theory of Computation, Lewis and Papadimitrou,
Introduction Finite Automata DFA, regular languages Nondeterminism, NFA, subset construction Regular Epressions Synta, Semantics Relationship to regular languages Properties of regular languages Pumping
More informationComputer Networks More general queuing systems
Computer Networks More general queuing systems Saad Mneimneh Computer Science Hunter College of CUNY New York M/G/ Introduction We now consider a queuing system where the customer service times have a
More informationPetri Nets (for Planners)
Petri (for Planners) B. Bonet, P. Haslum... from various places... ICAPS 2011 & Motivation Petri (PNs) is formalism for modelling discrete event systems Developed by (and named after) C.A. Petri in 1960s
More informationModeling and Stability Analysis of a Communication Network System
Modeling and Stability Analysis of a Communication Network System Zvi Retchkiman Königsberg Instituto Politecnico Nacional e-mail: mzvi@cic.ipn.mx Abstract In this work, the modeling and stability problem
More informationTime and Timed Petri Nets
Time and Timed Petri Nets Serge Haddad LSV ENS Cachan & CNRS & INRIA haddad@lsv.ens-cachan.fr DISC 11, June 9th 2011 1 Time and Petri Nets 2 Timed Models 3 Expressiveness 4 Analysis 1/36 Outline 1 Time
More informationAutomata-based Verification - III
CS3172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20/22: email: howard.barringer@manchester.ac.uk March 2005 Third Topic Infinite Word Automata Motivation Büchi Automata
More informationAlan Bundy. Automated Reasoning LTL Model Checking
Automated Reasoning LTL Model Checking Alan Bundy Lecture 9, page 1 Introduction So far we have looked at theorem proving Powerful, especially where good sets of rewrite rules or decision procedures have
More informationFormal Verification Techniques. Riccardo Sisto, Politecnico di Torino
Formal Verification Techniques Riccardo Sisto, Politecnico di Torino State exploration State Exploration and Theorem Proving Exhaustive exploration => result is certain (correctness or noncorrectness proof)
More informationBounded LTL Model Checking with Stable Models
Bounded LTL Model Checking with Stable Models Keijo Heljanko and Ilkka Niemelä Helsinki University of Technology Dept. of Computer Science and Engineering Laboratory for Theoretical Computer Science P.O.
More informationAutomata-Theoretic Model Checking of Reactive Systems
Automata-Theoretic Model Checking of Reactive Systems Radu Iosif Verimag/CNRS (Grenoble, France) Thanks to Tom Henzinger (IST, Austria), Barbara Jobstmann (CNRS, Grenoble) and Doron Peled (Bar-Ilan University,
More informationProxel-Based Simulation of Stochastic Petri Nets Containing Immediate Transitions
Electronic Notes in Theoretical Computer Science Vol. 85 No. 4 (2003) URL: http://www.elsevier.nl/locate/entsc/volume85.html Proxel-Based Simulation of Stochastic Petri Nets Containing Immediate Transitions
More informationADVANCED ROBOTICS. PLAN REPRESENTATION Generalized Stochastic Petri nets and Markov Decision Processes
ADVANCED ROBOTICS PLAN REPRESENTATION Generalized Stochastic Petri nets and Markov Decision Processes Pedro U. Lima Instituto Superior Técnico/Instituto de Sistemas e Robótica September 2009 Reviewed April
More informationOn Qualitative Analysis of Fault Trees Using Structurally Persistent Nets
On Qualitative Analysis of Fault Trees Using Structurally Persistent Nets Ricardo J. Rodríguez rj.rodriguez@unileon.es Research Institute of Applied Sciences in Cybersecurity University of León, Spain
More informationMethods for the specification and verification of business processes MPB (6 cfu, 295AA)
Methods for the specification and verification of business processes MPB (6 cfu, 295AA) Roberto Bruni http://www.di.unipi.it/~bruni 08 - Petri nets basics 1 Object Formalization of the basic concepts of
More informationPetri nets. s 1 s 2. s 3 s 4. directed arcs.
Petri nets Petri nets Petri nets are a basic model of parallel and distributed systems (named after Carl Adam Petri). The basic idea is to describe state changes in a system with transitions. @ @R s 1
More informationEECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization
EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Discrete Systems Lecture: Automata, State machines, Circuits Stavros Tripakis University of California, Berkeley Stavros
More informationDecentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication
Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Stavros Tripakis Abstract We introduce problems of decentralized control with communication, where we explicitly
More informationSynchronizing sequences. on a class of unbounded systems using synchronized Petri nets
Synchronizing sequences 1 on a class of unbounded systems using synchronized Petri nets Marco Pocci, Isabel Demongodin, Norbert Giambiasi, Alessandro Giua Abstract Determining the state of a system when
More informationPart I: Definitions and Properties
Turing Machines Part I: Definitions and Properties Finite State Automata Deterministic Automata (DFSA) M = {Q, Σ, δ, q 0, F} -- Σ = Symbols -- Q = States -- q 0 = Initial State -- F = Accepting States
More informationMethods for the specification and verification of business processes MPB (6 cfu, 295AA)
Methods for the specification and verification of business processes MPB (6 cfu, 295AA) Roberto Bruni http://www.di.unipi.it/~bruni 07 - Introduction to nets 1 Object Overview of the basic concepts of
More informationNONBLOCKING CONTROL OF PETRI NETS USING UNFOLDING. Alessandro Giua Xiaolan Xie
NONBLOCKING CONTROL OF PETRI NETS USING UNFOLDING Alessandro Giua Xiaolan Xie Dip. Ing. Elettrica ed Elettronica, U. di Cagliari, Italy. Email: giua@diee.unica.it INRIA/MACSI Team, ISGMP, U. de Metz, France.
More informationMethods for the specification and verification of business processes MPB (6 cfu, 295AA)
Methods for the specification and verification of business processes MPB (6 cfu, 295AA) Roberto Bruni http://www.di.unipi.it/~bruni 17 - Diagnosis for WF nets 1 Object We study suitable diagnosis techniques
More informationComposition of product-form Generalized Stochastic Petri Nets: a modular approach
Composition of product-form Generalized Stochastic Petri Nets: a modular approach Università Ca Foscari di Venezia Dipartimento di Informatica Italy October 2009 Markov process: steady state analysis Problems
More informationBusiness Processes Modelling MPB (6 cfu, 295AA)
Business Processes Modelling MPB (6 cfu, 295AA) Roberto Bruni http://www.di.unipi.it/~bruni 07 - Introduction to nets!1 Object Overview of the basic concepts of Petri nets Free Choice Nets (book, optional
More informationElementary Siphons of Petri Nets and Deadlock Control in FMS
Journal of Computer and Communications, 2015, 3, 1-12 Published Online July 2015 in SciRes. http://www.scirp.org/journal/jcc http://dx.doi.org/10.4236/jcc.2015.37001 Elementary Siphons of Petri Nets and
More informationQueueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "
Queueing Theory I Summary Little s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K " Little s Law a(t): the process that counts the number of arrivals
More information3 Net Models of Distributed Systems and Workflows
3 Net Models of Distributed Systems and Workflows 3.1 INFORMAL INTRODUCTION TO PETRI NETS In 1962 Carl Adam Petri introduced a family of graphs, called Place-Transition (P/T), nets, to model dynamic systems
More informationFree-Choice Petri Nets without Frozen Tokens, and Bipolar Synchronization Systems. Joachim Wehler
Free-Choice Petri Nets without Frozen okens, and Bipolar Synchronization Systems Joachim Wehler Ludwig-Maximilians-Universität München, Germany joachim.wehler@gmx.net Abstract: Bipolar synchronization
More informationPetri Net Modeling of Irrigation Canal Networks
Petri Net Modeling of Irrigation Canal Networks Giorgio Corriga, Alessandro Giua, Giampaolo Usai DIEE: Dip. di Ingegneria Elettrica ed Elettronica Università di Cagliari P.zza d Armi 09123 CAGLIARI, Italy
More informationMethods for the specification and verification of business processes MPB (6 cfu, 295AA)
Methods for the specification and verification of business processes MPB (6 cfu, 295AA) Roberto Bruni http://www.di.unipi.it/~bruni 07 - Introduction to nets 1 Object Overview of the basic concepts of
More informationIntroduction: Computer Science is a cluster of related scientific and engineering disciplines concerned with the study and application of computations. These disciplines range from the pure and basic scientific
More informationSection 1.2: A Single Server Queue
Section 12: A Single Server Queue Discrete-Event Simulation: A First Course c 2006 Pearson Ed, Inc 0-13-142917-5 Discrete-Event Simulation: A First Course Section 12: A Single Server Queue 1/ 30 Section
More informationLinear Time Analysis of Properties of Conflict-Free and General Petri nets
Linear Time Analysis of Properties of Conflict-Free and General Petri nets Paola Alimonti Esteban Feuerstein Luigi Laura Umberto Nanni Technical Report n. 9, 2010 Linear Time Analysis of Properties of
More informationThe Weakest Failure Detector to Solve Mutual Exclusion
The Weakest Failure Detector to Solve Mutual Exclusion Vibhor Bhatt Nicholas Christman Prasad Jayanti Dartmouth College, Hanover, NH Dartmouth Computer Science Technical Report TR2008-618 April 17, 2008
More informationDiscrete Event Systems
DI DIPARTIMENTO DI INGEGNERIA DELL INFORMAZIONE E SCIENZE MATEMATICHE Lecture notes of Discrete Event Systems Simone Paoletti Version 0.3 October 27, 2015 Indice Notation 1 Introduction 2 1 Basics of systems
More informationFlat counter automata almost everywhere!
Flat counter automata almost everywhere! Jérôme Leroux and Grégoire Sutre Projet Vertecs, IRISA / INRIA Rennes, FRANCE Équipe MVTsi, CNRS / LABRI, FRANCE Counter-automata verification A simple counter-automata:
More informationLecture 4 Event Systems
Lecture 4 Event Systems This lecture is based on work done with Mark Bickford. Marktoberdorf Summer School, 2003 Formal Methods One of the major research challenges faced by computer science is providing
More informationThe Emptiness Problem for Valence Automata or: Another Decidable Extension of Petri Nets
The Emptiness Problem for Valence Automata or: Another Decidable Extension of Petri Nets Georg Zetzsche Technische Universität Kaiserslautern Reachability Problems 2015 Georg Zetzsche (TU KL) Emptiness
More informationFinite-state machines (FSMs)
Finite-state machines (FSMs) Dr. C. Constantinides Department of Computer Science and Software Engineering Concordia University Montreal, Canada January 10, 2017 1/19 Finite-state machines (FSMs) and state
More informationIntroduction to Stochastic Petri Nets
Introduction to Stochastic Petri Nets Gianfranco Balbo Università di Torino, Torino, Italy, Dipartimento di Informatica balbo@di.unito.it Abstract. Stochastic Petri Nets are a modelling formalism that
More informationEmbedded Systems Development
Embedded Systems Development Lecture 2 Finite Automata & SyncCharts Daniel Kästner AbsInt Angewandte Informatik GmbH kaestner@absint.com Some things I forgot to mention 2 Remember the HISPOS registration
More informationTESTING is one of the most important parts of the
IEEE TRANSACTIONS 1 Generating Complete Controllable Test Suites for Distributed Testing Robert M. Hierons, Senior Member, IEEE Abstract A test suite is m-complete for finite state machine (FSM) M if it
More informationMPRI 1-22 Introduction to Verification January 4, TD 6: Petri Nets
TD 6: Petri Nets 1 Modeling Using Petri Nets Exercise 1 (Traffic Lights). Consider again the traffic lights example from the lecture notes: r r ry y r y ry g g y g 1. How can you correct this Petri net
More informationQueuing Theory. The present section focuses on the standard vocabulary of Waiting Line Models.
Queuing Theory Introduction Waiting lines are the most frequently encountered problems in everyday life. For example, queue at a cafeteria, library, bank, etc. Common to all of these cases are the arrivals
More informationCOM364 Automata Theory Lecture Note 2 - Nondeterminism
COM364 Automata Theory Lecture Note 2 - Nondeterminism Kurtuluş Küllü March 2018 The FA we saw until now were deterministic FA (DFA) in the sense that for each state and input symbol there was exactly
More informationInformation Systems Business Process Modelling I: Models
Information Systems 2 Information Systems 2 5. Business Process Modelling I: Models Lars Schmidt-Thieme Information Systems and Machine Learning Lab (ISMLL) Institute for Business Economics and Information
More informationMethods for the specification and verification of business processes MPB (6 cfu, 295AA)
Methods for the specification and verification of business processes MPB (6 cfu, 295AA) Roberto Bruni http://www.di.unipi.it/~bruni - Invariants Object We introduce two relevant kinds of invariants for
More informationClocks in Asynchronous Systems
Clocks in Asynchronous Systems The Internet Network Time Protocol (NTP) 8 Goals provide the ability to externally synchronize clients across internet to UTC provide reliable service tolerating lengthy
More informationModels of Concurrency
Models of Concurrency GERARDO SCHNEIDER UPPSALA UNIVERSITY DEPARTMENT OF INFORMATION TECHNOLOGY UPPSALA, SWEDEN Thanks to Frank Valencia Models of Concurrency p.1/57 Concurrency is Everywhere Concurrent
More informationOn the Applicability of an Interval Time Structure for Protocol Verification
On the Applicability of an Interval Time Structure for Protocol Verification Jerzy BRZZIŃSKI, Michał SAJKOWSKI Institute of Computing Science, Poznań University of Technology Piotrowo 3a, 60-965 Poznań,
More informationClasses and conversions
Classes and conversions Regular expressions Syntax: r = ε a r r r + r r Semantics: The language L r of a regular expression r is inductively defined as follows: L =, L ε = {ε}, L a = a L r r = L r L r
More informationMODEL CHECKING - PART I - OF CONCURRENT SYSTEMS. Petrinetz model. system properties. Problem system. model properties
BTU COTTBUS, C, PHD WORKSHOP W JULY 2017 MODEL CHECKING OF CONCURRENT SYSTEMS - PART I - Monika Heiner BTU Cottbus, Computer Science Institute MODEL-BASED SYSTEM ANALYSIS Problem system system properties
More informationProcess Algebras and Concurrent Systems
Process Algebras and Concurrent Systems Rocco De Nicola Dipartimento di Sistemi ed Informatica Università di Firenze Process Algebras and Concurrent Systems August 2006 R. De Nicola (DSI-UNIFI) Process
More informationOur Problem. Model. Clock Synchronization. Global Predicate Detection and Event Ordering
Our Problem Global Predicate Detection and Event Ordering To compute predicates over the state of a distributed application Model Clock Synchronization Message passing No failures Two possible timing assumptions:
More informationColoured Petri Nets Based Diagnosis on Causal Models
Coloured Petri Nets Based Diagnosis on Causal Models Soumia Mancer and Hammadi Bennoui Computer science department, LINFI Lab. University of Biskra, Algeria mancer.soumia@gmail.com, bennoui@gmail.com Abstract.
More informationEfficient Symbolic Analysis of Bounded Petri Nets Using Interval Decision Diagrams
Efficient Symbolic Analysis of Bounded Petri Nets Using Interval Decision Diagrams Von der Fakultät für Mathematik, Naturwissenschaften und Informatik der Brandenburgischen Technischen Universität Cottbus
More informationLearning Automata Based Adaptive Petri Net and Its Application to Priority Assignment in Queuing Systems with Unknown Parameters
Learning Automata Based Adaptive Petri Net and Its Application to Priority Assignment in Queuing Systems with Unknown Parameters S. Mehdi Vahidipour, Mohammad Reza Meybodi and Mehdi Esnaashari Abstract
More informationTimo Latvala. March 7, 2004
Reactive Systems: Safety, Liveness, and Fairness Timo Latvala March 7, 2004 Reactive Systems: Safety, Liveness, and Fairness 14-1 Safety Safety properties are a very useful subclass of specifications.
More informationZhennan Fei, Knut Åkesson and Spyros Reveliotis
Symbolic Computation and Representation of Deadlock Avoidance Policies for Complex Resource Allocation Systems with Application to Multithreaded Software Zhennan Fei, Knut Åkesson and Spyros Reveliotis
More informationNondeterminism. September 7, Nondeterminism
September 7, 204 Introduction is a useful concept that has a great impact on the theory of computation Introduction is a useful concept that has a great impact on the theory of computation So far in our
More informationDirect mapping of low-latency asynchronous
School of Electrical, Electronic & Computer Engineering Direct mapping of low-latency asynchronous controllers from STGs D.Sokolov, A.Bystrov, A.Yakovlev Technical Report Series NCL-EECE-MSD-TR-2006-110
More informationModeling and Simulation NETW 707
Modeling and Simulation NETW 707 Lecture 6 ARQ Modeling: Modeling Error/Flow Control Course Instructor: Dr.-Ing. Maggie Mashaly maggie.ezzat@guc.edu.eg C3.220 1 Data Link Layer Data Link Layer provides
More informationAutomatic Generation of Polynomial Invariants for System Verification
Automatic Generation of Polynomial Invariants for System Verification Enric Rodríguez-Carbonell Technical University of Catalonia Talk at EPFL Nov. 2006 p.1/60 Plan of the Talk Introduction Need for program
More informationA REACHABLE THROUGHPUT UPPER BOUND FOR LIVE AND SAFE FREE CHOICE NETS VIA T-INVARIANTS
A REACHABLE THROUGHPUT UPPER BOUND FOR LIVE AND SAFE FREE CHOICE NETS VIA T-INVARIANTS Francesco Basile, Ciro Carbone, Pasquale Chiacchio Dipartimento di Ingegneria Elettrica e dell Informazione, Università
More informationComplexity Issues in Automated Addition of Time-Bounded Liveness Properties 1
Complexity Issues in Automated Addition of Time-Bounded Liveness Properties 1 Borzoo Bonakdarpour and Sandeep S. Kulkarni Software Engineering and Network Systems Laboratory, Department of Computer Science
More informationSynchronisation and Cancellation in Workflows based on Reset nets
Synchronisation and Cancellation in Workflows based on Reset nets Moe Thandar Wynn 1, W.M.P. van der Aalst 1,2, A.H.M. ter Hofstede 1 and David Edmond 1 Business Process Management Program Faculty of Information
More informationOutline F eria AADL behavior 1/ 78
Outline AADL behavior Annex Jean-Paul Bodeveix 2 Pierre Dissaux 3 Mamoun Filali 2 Pierre Gaufillet 1 François Vernadat 2 1 AIRBUS-FRANCE 2 FéRIA 3 ELLIDIS SAE AS2C Detroit Michigan April 2006 FéRIA AADL
More informationPart I. Principles and Techniques
Introduction to Formal Methods Part I. Principles and Techniques Lecturer: JUNBEOM YOO jbyoo@konkuk.ac.kr Introduction Text System and Software Verification : Model-Checking Techniques and Tools In this
More informationAs Soon As Probable. O. Maler, J.-F. Kempf, M. Bozga. March 15, VERIMAG Grenoble, France
As Soon As Probable O. Maler, J.-F. Kempf, M. Bozga VERIMAG Grenoble, France March 15, 2013 O. Maler, J.-F. Kempf, M. Bozga (VERIMAG Grenoble, France) As Soon As Probable March 15, 2013 1 / 42 Executive
More informationProbabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford
Probabilistic Model Checking Michaelmas Term 20 Dr. Dave Parker Department of Computer Science University of Oxford Overview PCTL for MDPs syntax, semantics, examples PCTL model checking next, bounded
More informationTemporal Logic of Actions
Advanced Topics in Distributed Computing Dominik Grewe Saarland University March 20, 2008 Outline Basic Concepts Transition Systems Temporal Operators Fairness Introduction Definitions Example TLC - A
More information