Petri Nets ee249 Fall 2000
|
|
- Charity Booth
- 5 years ago
- Views:
Transcription
1 Petri Nets ee249 Fall 2000 Marco Sgroi Most slides borrowed from Luciano Lavagno s lecture ee249 (1998) 1 Models Of Computation for reactive systems Main MOCs: Communicating Finite State Machines Dataflow Process Networks Discrete Event Codesign Finite State Machines Petri Nets Main languages: StateCharts Esterel Dataflow networks 2 1
2 Outline Petri nets Introduction Examples Properties Analysis techniques Scheduling 3 Petri Nets (PNs) Model introduced by C.A. Petri in 1962 Ph.D. Thesis: Communication with Automata Applications: distributed computing, manufacturing, control, communication networks, transportation PNs describe explicitly and graphically: sequencing/causality conflict/non-deterministic choice concurrency Asynchronous model (partial ordering) Main drawback: no hierarchy 4 2
3 Petri Net Graph Bipartite weighted directed graph: Places: circles Transitions: bars or boxes Arcs: arrows labeled with weights Tokens: black dots p1 t1 p2 2 p4 3 p3 5 Petri Net A PN (N,M0) is a Petri Net Graph N places: represent distributed state by holding tokens marking (state) M is an n-vector (m1,m2,m3 ), where mi is the nonnegative number of tokens in place pi. initial marking (M 0 ) is initial state transitions: represent actions/events enabled transition: enough tokens in predecessors firing transition: modifies marking and an initial marking M0. p1 t1 p2 2 p4 Places/Transition: conditions/events p
4 Transition firing rule A marking is changed according to the following rules: A transition is enabled if there are enough tokens in each input place An enabled transition may or may not fire The firing of a transition modifies marking by consuming tokens from the input places and producing tokens in the output places Concurrency, causality, choice t1 t5 t4 t6 8 4
5 Concurrency, causality, choice t1 Concurrency t5 t4 t6 9 Concurrency, causality, choice t1 Causality, sequencing t5 t4 t6 10 5
6 Concurrency, causality, choice t1 t5 t4 t6 Choice, conflict 11 Concurrency, causality, choice t1 t5 t4 t6 Choice, conflict 12 6
7 Confusion t1 and are concurrent but their firing order is not irrelevant for conflict resolution (not local choice) From (1,1,0,0,0): solving a conflict (t1,) (0,0,0,0,1),(0,0,1,1,0) not solving a conflict (,t1) (0,0,1,1,0) p1 t1 p3 p5 p2 p4 13 Communication Protocol Send msg Receive msg P1 P2 Send Ack Receive Ack 14 7
8 Communication Protocol Send msg Receive msg P1 P2 Send Ack Receive Ack 15 Communication Protocol Send msg Receive msg P1 P2 Send Ack Receive Ack 16 8
9 Communication Protocol Send msg Receive msg P1 P2 Send Ack Receive Ack 17 Communication Protocol Send msg Receive msg P1 P2 Send Ack Receive Ack 18 9
10 Communication Protocol Send msg Receive msg P1 P2 Send Ack Receive Ack 19 Producer-Consumer Problem Produce Buffer Consume 20 10
11 Producer-Consumer Problem Produce Buffer Consume 21 Producer-Consumer Problem Produce Buffer Consume 22 11
12 Producer-Consumer Problem Produce Buffer Consume 23 Producer-Consumer Problem Produce Buffer Consume 24 12
13 Producer-Consumer Problem Produce Buffer Consume 25 Producer-Consumer Problem Produce Buffer Consume 26 13
14 Producer-Consumer Problem Produce Buffer Consume 27 Producer-Consumer Problem Produce Buffer Consume 28 14
15 Producer-Consumer Problem Produce Buffer Consume 29 Producer-Consumer Problem Produce Buffer Consume 30 15
16 Producer-Consumer Problem Produce Buffer Consume 31 Producer-Consumer Problem Produce Buffer Consume 32 16
17 Producer-Consumer Problem Produce Buffer Consume 33 Producer-Consumer Problem Produce Buffer Consume 34 17
18 Producer-Consumer with priority Consumer B can consume only if buffer A is empty Inhibitor arcs A B 35 PN properties Behavioral: depend on the initial marking (most interesting) Reachability Boundedness Schedulability Liveness Conservation Structural: do not depend on the initial marking (often too restrictive) Consistency Structural boundedness 36 18
19 Reachability Marking M is reachable from marking M0 if there exists a sequence of firings s = M0 t1 M1 M2 M that transforms M0 to M. The reachability problem is decidable. p1 t1 p2 p4 Μ0 = (1,0,1,0) p3 M1 = (1,0,0,1) Μ0 = (1,0,1,0) M = (1,1,0,0) M = (1,1,0,0) 37 Liveness Liveness: from any marking any transition can become fireable Liveness implies deadlock freedom, not viceversa Not live 38 19
20 Liveness Liveness: from any marking any transition can become fireable Liveness implies deadlock freedom, not viceversa Not live 39 Liveness Liveness: from any marking any transition can become fireable Liveness implies deadlock freedom, not viceversa Deadlock-free 40 20
21 Liveness Liveness: from any marking any transition can become fireable Liveness implies deadlock freedom, not viceversa Deadlock-free 41 Boundedness Boundedness: the number of tokens in any place cannot grow indefinitely (1-bounded also called safe) Application: places represent buffers and registers (check there is no overflow) Unbounded 42 21
22 Boundedness Boundedness: the number of tokens in any place cannot grow indefinitely (1-bounded also called safe) Application: places represent buffers and registers (check there is no overflow) Unbounded 43 Boundedness Boundedness: the number of tokens in any place cannot grow indefinitely (1-bounded also called safe) Application: places represent buffers and registers (check there is no overflow) Unbounded 44 22
23 Boundedness Boundedness: the number of tokens in any place cannot grow indefinitely (1-bounded also called safe) Application: places represent buffers and registers (check there is no overflow) Unbounded 45 Boundedness Boundedness: the number of tokens in any place cannot grow indefinitely (1-bounded also called safe) Application: places represent buffers and registers (check there is no overflow) Unbounded 46 23
24 Conservation Conservation: the total number of tokens in the net is constant Not conservative 47 Conservation Conservation: the total number of tokens in the net is constant Not conservative 48 24
25 Conservation Conservation: the total number of tokens in the net is constant Conservative Analysis techniques Structural analysis techniques Incidence matrix T- and S- Invariants State Space Analysis techniques Coverability Tree Reachability Graph 50 25
26 Incidence Matrix p1 t1 p2 p3 t A= p1 p2 p3 Necessary condition for marking M to be reachable from initial marking M 0 : there exists firing vector v s.t.: M = M 0 + A v 51 State equations E.g. reachability of M = T from M 0 = T p1 t1 p2 p3 A= v 1 = = but also v 2 = T or any v k = 1 (k) (k+1) T 52 26
27 Necessary Condition only t1 2 2 Firing vector: (1,2,2) Deadlock!! 53 State equations and invariants Solutions of Ax = 0 (in M = M0 + Ax, M = M0) T-invariants sequences of transitions that (if fireable) bring back to original marking periodic schedule in SDF e.g. x = T p1 t1 p2 p3 A=
28 Application of T-invariants Scheduling Cyclic schedules: need to return to the initial state i *k2 + o *k1 T-invariant: (1,1,1,1,1) Schedule: i *k2 *k1 + o 55 State equations and invariants Solutions of ya = 0 S-invariants sets of places whose weighted total token count does not change after the firing of any transition (y M = y M ) e.g. y = T p1 t1 p2 p3 A T =
29 Application of S-invariants Structural Boundedness: bounded for any finite initial marking M0 Existence of a positive S-invariant is CS for structural boundedness initial marking is finite weighted token count does not change 57 Summary of algebraic methods Extremely efficient (polynomial in the size of the net) Generally provide only necessary or sufficient information Excellent for ruling out some deadlocks or otherwise dangerous conditions Can be used to infer structural boundedness 58 29
30 Coverability Tree Build a (finite) tree representation of the markings Karp-Miller algorithm Label initial marking M0 as the root of the tree and tag it as new While new markings exist do: select a new marking M if M is identical to a marking on the path from the root to M, then tag M as old and go to another new marking if no transitions are enabled at M, tag M dead-end while there exist enabled transitions at M do: obtain the marking M that results from firing t at M on the path from the root to M if there exists a marking M such that M (p)>=m (p) for each place p and M is different from M, then replace M (p) by w for each p such that M (p) >M (p) introduce M as a node, draw an arc with label t from M to M and tag M as new. 59 Boundedness is decidable with coverability tree Coverability Tree 1000 p1 t1 p2 p3 p
31 Coverability Tree Boundedness is decidable with coverability tree p1 t1 p2 p t p4 61 Coverability Tree Boundedness is decidable with coverability tree p1 t1 p2 p t p
32 Coverability Tree Boundedness is decidable with coverability tree p1 t1 p2 p3 p t Coverability Tree Boundedness is decidable with coverability tree p1 t1 p2 p3 p t w Cannot solve the reachability and liveness problems 64 32
33 Coverability Tree Boundedness is decidable with coverability tree p1 t1 p2 p3 p t w Cannot solve the reachability and liveness problems 65 Reachability graph p1 t1 p2 p3 100 For bounded nets the Coverability Tree is called Reachability Tree since it contains all possible reachable markings 66 33
34 Reachability graph p1 t1 p2 p3 100 t1 010 For bounded nets the Coverability Tree is called Reachability Tree since it contains all possible reachable markings 67 Reachability graph p1 t1 p2 p3 100 t For bounded nets the Coverability Tree is called Reachability Tree since it contains all possible reachable markings 68 34
35 Reachability graph p1 t1 p2 p3 100 t For bounded nets the Coverability Tree is called Reachability Tree since it contains all possible reachable markings 69 Subclasses of Petri nets Reachability analysis is too expensive State equations give only partial information Some properties are preserved by reduction rules e.g. for liveness and safeness Even reduction rules only work in some cases Must restrict class in order to prove stronger results 70 35
36 Subclasses of Petri nets: SMs State machine: every transition has at most 1 predecessor and 1 successor Models only causality and conflict (no concurrency, no synchronization of parallel activities) 71 Subclasses of Petri nets: MGs Marked Graph: every place has at most 1 predecessor and 1 successor Models only causality and concurrency (no conflict) Same as underlying graph of SDF 72 36
37 Subclasses of Petri nets: FC nets Free-Choice net: every transition after choice has exactly 1 predecessor 73 Free-Choice Petri Nets (FCPN) Free-Choice (FC) t1 Confusion (not-free-choice) Extended Free-Choice Free-Choice: the outcome of a choice depends on the value of a token (abstracted non-deterministically) rather than on its arrival time. Easy to analyze 74 37
38 Free-Choice nets Introduced by Hack ( 72) Extensively studied by Best ( 86) and Desel and Esparza ( 95) Can express concurrency, causality and choice without confusion Very strong structural theory necessary and sufficient conditions for liveness and safeness, based on decomposition concurrency, causality and choice relations are mutually exclusive exploits duality between MG and SM 75 MG (& SM) decomposition An Allocation is a control function that chooses which transition fires among several conflicting ones ( A: P T). Eliminate the subnet that would be inactive if we were to use the allocation... Reduction Algorithm Delete all unallocated transitions Delete all places that have all input transitions already deleted Delete all transitions that have at least one input place already deleted Obtain a Reduction (one for each allocation) that is a conflict free subnet 76 38
39 MG reduction and cover Choose one successor for each conflicting place: 77 MG reduction and cover Choose one successor for each conflicting place: 78 39
40 MG reduction and cover Choose one successor for each conflicting place: 79 MG reduction and cover Choose one successor for each conflicting place: 80 40
41 MG reduction and cover Choose one successor for each conflicting place: 81 MG reductions The set of all reductions yields a cover of MG components (T-invariants) 82 41
42 MG reductions The set of all reductions yields a cover of MG components (T-invariants) 83 SM reduction and cover Choose one predecessor for each transition: 84 42
43 SM reduction and cover Choose one predecessor for each transition: 85 SM reduction and cover Choose one predecessor for each transition: The set of all reductions yields a cover of SM components (S-invariants) 86 43
44 Hack s theorem ( 72) Let N be a Free-Choice PN: N has a live and safe initial marking (well-formed) if and only if every MG reduction is strongly connected and not empty, and the set of all reductions covers the net every SM reduction is strongly connected and not empty, and the set of all reductions covers the net 87 Hack s theorem Example of non-live (but safe) FCN 88 44
45 Hack s theorem Example of non-live (but safe) FCN 89 Hack s theorem Example of non-live (but safe) FCN 90 45
46 Hack s theorem Example of non-live (but safe) FCN 91 Hack s theorem Example of non-live (but safe) FCN 92 46
47 Hack s theorem Example of non-live (but safe) FCN 93 Hack s theorem Example of non-live (but safe) FCN 94 47
48 Hack s theorem Example of non-live (but safe) FCN 95 Hack s theorem Example of non-live (but safe) FCN 96 48
49 Hack s theorem Example of non-live (but safe) FCN 97 Hack s theorem Example of non-live (but safe) FCN 98 49
50 Hack s theorem Example of non-live (but safe) FCN 99 Hack s theorem Example of non-live (but safe) FCN
51 Hack s theorem Example of non-live (but safe) FCN 101 Hack s theorem Example of non-live (but safe) FCN
52 Hack s theorem Example of non-live (but safe) FCN Not live 103 Other results for LSFC nets Let t 1 and t 2 be two transitions of a live and safe Free- Choice net. Then t 1 and t 2 are: sequential if there exists a simple cycle to which both belong concurrent if they are not ordered, and there exists an MG component to which both belong conflicting otherwise
53 Summary of LSFC nets Largest class for which structural theory really helps Structural component analysis may be expensive (exponential number of MG and SM components in the worst case) But number of MG components is generally small FC restriction simplifies characterization of behavior 105 Petri Net extensions Add interpretation to tokens and transitions Colored nets (tokens have value) Add time Time/timed Petri Nets (deterministic delay) type (duration, delay) where (place, transition) Stochastic PNs (probabilistic delay) Generalized Stochastic PNs (timed and immediate transitions) Add hierarchy Place Charts Nets
54 Summary of Petri Nets Graphical formalism Distributed state (including buffering) Concurrency, sequencing and choice made explicit Structural and behavioral properties Analysis techniques based on linear algebra (only sufficient) structural analysis (necessary and sufficient only for FC)
Outline. Petri nets. Introduction Examples Properties Analysis techniques. 1 EE249Fall04
Outline Petri nets Introduction Examples Properties Analysis techniques 1 Petri Nets (PNs) Model introduced by C.A. Petri in 1962 Ph.D. Thesis: Communication with Automata Applications: distributed computing,
More informationEE249 Discussion Petri Nets: Properties, Analysis and Applications - T. Murata. Chang-Ching Wu 10/9/2007
EE249 Discussion Petri Nets: Properties, Analysis and Applications - T. Murata Chang-Ching Wu 10/9/2007 What are Petri Nets A graphical & modeling tool. Describe systems that are concurrent, asynchronous,
More informationWEEK 5 - APPLICATION OF PETRI NETS. 4.4 Producers-consumers problem with priority
4.4 Producers-consumers problem with priority The net shown in Fig. 27 represents a producers-consumers system with priority, i.e., consumer A has priority over consumer B in the sense that A can consume
More informationEE 249 Discussion: Synthesis of Embedded Software using Free- Choice Petri Nets
EE 249 Discussion: Synthesis of Embedded Software using Free- Choice Petri Nets By :Marco Sgroi, Luciano Lavagno, Alberto Sangiovanni-Vincentelli Shanna-Shaye Forbes Software synthesis from a concurrent
More informationIntroduction to Electronic Design Automation. Model of Computation. Model of Computation. Model of Computation
Introduction to Electronic Design Automation Model of Computation Jie-Hong Roland Jiang 江介宏 Department of Electrical Engineering National Taiwan University Spring 03 Model of Computation In system design,
More informationPetri Nets ~------~ R-ES-O---N-A-N-C-E-I--se-p-te-m--be-r Applications.
Petri Nets 2. Applications Y Narahari Y Narahari is currently an Associate Professor of Computer Science and Automation at the Indian Institute of Science, Bangalore. His research interests are broadly
More informationEmbedded Systems 7. Models of computation for embedded systems
Embedded Systems 7 - - Models of computation for embedded systems Communication/ local computations Communicating finite state machines Data flow model Computational graphs Von Neumann model Discrete event
More informationPetri Net-based Thread Composition for Improved System Level Simulation
Petri Net-based Thread Composition for Improved System Level Simulation Nick Savoiu UC Irvine savoiu@ics.uci.edu Sandeep K. Shukla Virginia Tech shukla@vt.edu Rajesh K. Gupta UC San Diego gupta@cs.ucsd.edu
More informationBy: Chaitanya Settaluri Devendra Kalia
By: Chaitanya Settaluri Devendra Kalia What is an embedded system? An embedded system Uses a controller to perform some function Is not perceived as a computer Software is used for features and flexibility
More informationEmbedded Systems 7 BF - ES - 1 -
Embedded Systems 7-1 - Production system A modelbased realtime faultdiagnosis system for technical processes Ch. Steger, R. Weiss - 2 - Sprout Counter Flow Pipeline-Processor Based on a stream of data
More informationSpecifications and Modeling
12 Specifications and Modeling Peter Marwedel TU Dortmund, Informatik 12 Springer, 2010 2012 年 10 月 17 日 These slides use Microsoft clip arts. Microsoft copyright restrictions apply. Hypothetical design
More informationDiscrete, Continuous, and Hybrid Petri Nets
Discrete, Continuous, and Hybrid Petri Nets Bearbeitet von René David, Hassane Alla 1. Auflage 2004. Buch. XXII, 570 S. Hardcover ISBN 978 3 540 22480 8 Format (B x L): 15,5 x 23,5 cm Gewicht: 2080 g Weitere
More informationCoverability Graph and Fairness
Coverability Graph and Fairness prof.dr.ir. Wil van der Aalst www.vdaalst.com Recall reachability analysis or1 x r1 rg1 g1 go1 o1 r2 rg2 g2 go2 o2 or2 Petri net standard properties Boundedness Terminating
More informationFrom Task Graphs to Petri Nets
From Task Graphs to Petri Nets Anthony Spiteri Staines Department of Computer Inf. Systems, Faculty of ICT, University of Malta Abstract This paper describes the similarities between task graphs and Petri
More informationContents Introduction Petri Net Toolbox at a First Glance... 4
Learning about Petri Ne t Toolbox For Use with MATLAB Version 2.1 Mihaela-Hanako Matcovschi Cristian Mahulea Octavian Pastravanu 2005 Contents Contents... 2 Introduction Petri Net Toolbox at a First Glance...
More informationAn Algorithm to Compute a Basis of Petri Net Invariants
An Algorithm to Compute a Basis of Petri Net Invariants S. Cayir and M. Ucer Electronics and Communication Department, Istanbul Technical University, Istanbul, Turkey cayirs@itu.edu.tr and murvet@ehb.itu.edu.tr
More informationModelling, Analysis and Scheduling with Dataflow Models
technische universiteit eindhoven Modelling, Analysis and Scheduling with Dataflow Models Marc Geilen, Bart Theelen, Twan Basten, Sander Stuijk, AmirHossein Ghamarian, Jeroen Voeten Eindhoven University
More informationPetri Nets. Robert A. McGuigan, Department of Mathematics, Westfield State
24 Petri Nets Author: College. Robert A. McGuigan, Department of Mathematics, Westfield State Prerequisites: The prerequisites for this chapter are graphs and digraphs. See Sections 9.1, 9.2, and 10.1
More informationConcurrent Systems Modeling using Petri Nets Part II
Concurrent Systems Modeling using Petri Nets Part II Marlon Dumas (Based on lecture material by Wil van der Aalst Eindhoven University of Technology, The Netherlands http://www.workflowcourse.com) PN-1
More informationTimo Latvala. January 28, 2004
Reactive Systems: Kripke Structures and Automata Timo Latvala January 28, 2004 Reactive Systems: Kripke Structures and Automata 3-1 Properties of systems invariants: the system never reaches a bad state
More informationAPETRI net (PN) (cf. [1] [3]) is said to be live if it is possible
IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL 57, NO 2, FEBRUARY 2012 435 On the Existence of Supervisory Policies That Enforce Liveness in Partially Controlled Free-Choice Petri Nets R S Sreenivas, Senior
More informationBuilding Synchronous DataFlow graphs with UML & MARTE/CCSL
Building Synchronous DataFlow graphs with UML & MARTE/CCSL F. Mallet, J. DeAntoni, C. André, R. de Simone Aoste - INRIA/I3S Université de Nice Sophia Antipolis UML & Formal methods Ambiguity and structural
More informationT Reactive Systems: Kripke Structures and Automata
Tik-79.186 Reactive Systems 1 T-79.186 Reactive Systems: Kripke Structures and Automata Spring 2005, Lecture 3 January 31, 2005 Tik-79.186 Reactive Systems 2 Properties of systems invariants: the system
More informationDiagnostic Information for Control-Flow Analysis of Workflow Graphs (aka Free-Choice Workflow Nets)
Diagnostic Information for Control-Flow Analysis of Workflow Graphs (aka Free-Choice Workflow Nets) Cédric Favre(1,2), Hagen Völzer(1), Peter Müller(2) (1) IBM Research - Zurich (2) ETH Zurich 1 Outline
More informationPetri Nets. Petri Nets. Petri Net Example. Systems are specified as a directed bipartite graph. The two kinds of nodes in the graph:
System Design&Methodologies Fö - 1 System Design&Methodologies Fö - 2 Petri Nets 1. Basic Petri Net Model 2. Properties and Analysis of Petri Nets 3. Extended Petri Net Models Petri Nets Systems are specified
More informationPetri Nets: Properties, Applications, and Variations. Matthew O'Brien University of Pittsburgh
Petri Nets: Properties, Applications, and Variations Matthew O'Brien University of Pittsburgh Introduction A Petri Net is a graphical and mathematical modeling tool used to describe and study information
More informationSpecifications Part 1
pm3 12 Specifications Part 1 Embedded System Design Kluwer Academic Publisher by Peter Marwedel TU Dortmund 2008/11/15 ine Marwedel, 2003 Graphics: Alexandra Nolte, Ges Introduction 12, 2008-2 - 1 Specification
More informationStochastic Petri nets
Stochastic Petri nets 1 Stochastic Petri nets Markov Chain grows very fast with the dimension of the system Petri nets: High-level specification formalism Markovian Stochastic Petri nets adding temporal
More informationFundamental Algorithms for System Modeling, Analysis, and Optimization
Fundamental Algorithms for System Modeling, Analysis, and Optimization Stavros Tripakis, Edward A. Lee UC Berkeley EECS 144/244 Fall 2014 Copyright 2014, E. A. Lee, J. Roydhowdhury, S. A. Seshia, S. Tripakis
More informationModeling Hybrid Systems with Petri Nets
Modeling Hybrid Systems with Petri Nets Debjyoti Bera, Kees van Hee and Henk Nijmeijer Abstract The behavior of a hybrid system is a mixture of continuous behavior and discrete event behavior. The Simulink/Stateflow
More informationCA441 BPM - Modelling Workflow with Petri Nets. Modelling Workflow with Petri Nets. Workflow Management Issues. Workflow. Process.
Modelling Workflow with Petri Nets 1 Workflow Management Issues Georgakopoulos,Hornick, Sheth Process Workflow specification Workflow Implementation =workflow application Business Process Modelling/ Workflow
More informationEmbedded Systems 7. Petri net plan coordination for robocup teams G. Kontes and M.G. Lagoudakis BF - ES BF - ES - 2 -
Embedded Systems 7-1 - Petri net plan coordination for robocup teams G. Kontes and M.G. Lagoudakis - 2-1 Passing Maneuver Teamwork Design Based on Petri Net Plan P. F. Palamara, V. A. Ziparo, L. Iocchi,
More informationConcurrent Systems Modeling using Petri Nets Part II
Concurrent Systems Modeling using Petri Nets Part II Marlon Dumas (Based on lecture material by Wil van der Aalst Eindhoven University of Technology, The Netherlands http://www.workflowcourse.com) PN-1
More informationA Schedulability-Preserving Transformation Scheme from Boolean- Controlled Dataflow Networks to Petri Nets
Schedulability-Preserving ransformation Scheme from oolean- ontrolled Dataflow Networks to Petri Nets ong Liu Edward. Lee University of alifornia at erkeley erkeley,, 94720, US {congliu,eal}@eecs. berkeley.edu
More informationSpecifications and Modeling
12 Specifications and Modeling Peter Marwedel TU Dortmund, Informatik 12 2009/10/20 Graphics: Alexandra Nolte, Gesine Marwedel, 2003 Structure of this course 2: Specification Design repository Design Application
More informationFrom synchronous models to distributed, asynchronous architectures
From synchronous models to distributed, asynchronous architectures Stavros Tripakis Joint work with Claudio Pinello, Cadence Alberto Sangiovanni-Vincentelli, UC Berkeley Albert Benveniste, IRISA (France)
More informationSDL. Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund, Informatik 年 10 月 18 日. technische universität dortmund
12 SDL Jian-Jia Chen (slides are based on Peter Marwedel) TU Dortmund, Informatik 12 2017 年 10 月 18 日 Springer, 2010 These slides use Microsoft clip arts. Microsoft copyright restrictions apply. Models
More informationAn Introduction to Modular Process Nets
An Introduction to Modular Process Nets Dietmar Wikarski 1 TR-96-019 April 1996 1. On leave from Fraunhofer Institute for Software Engineering and Systems Engineering (ISST) Berlin, Germany An Introduction
More informationFSMs & message passing: SDL
12 FSMs & message passing: SDL Peter Marwedel TU Dortmund, Informatik 12 Springer, 2010 2012 年 10 月 30 日 These slides use Microsoft clip arts. Microsoft copyright restrictions apply. Models of computation
More informationEECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization
EECS 144/244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Dataflow Lecture: SDF, Kahn Process Networks Stavros Tripakis University of California, Berkeley Stavros Tripakis: EECS
More informationPetri Nets and PNeS in Modeling and Analysis of Concurrent Systems
Petri Nets and PNeS in Modeling and Analysis of Concurrent Systems Zbigniew Suraj and Piotr Grochowalski Department of Computer Science University of Rzeszów, Rzeszów, Poland e-mail:{zbigniew.suraj,piotrg}@ur.edu.pl
More informationINF672 Protocol Safety and Verification. Karthik Bhargavan Xavier Rival Thomas Clausen
INF672 Protocol Safety and Verication Karthik Bhargavan Xavier Rival Thomas Clausen 1 Course Outline Lecture 1 [Today, Sep 15] Introduction, Motivating Examples Lectures 2-4 [Sep 22,29, Oct 6] Network
More informationDataflow Languages. Languages for Embedded Systems. Prof. Stephen A. Edwards. March Columbia University
Dataflow Languages Languages for Embedded Systems Prof. Stephen A. Edwards Columbia University March 2009 Philosophy of Dataflow Languages Drastically different way of looking at computation Von Neumann
More informationConcurrent Models of Computation
Concurrent Models of Computation Edward A. Lee Robert S. Pepper Distinguished Professor, UC Berkeley EECS 219D: Concurrent Models of Computation Fall 2011 Copyright 2011, Edward A. Lee, All rights reserved
More informationEmbedded Systems CS - ES
Embedded Systems - 1 - Synchronous dataflow REVIEW Multiple tokens consumed and produced per firing Synchronous dataflow model takes advantage of this Each edge labeled with number of tokens consumed/produced
More informationfakultät für informatik informatik 12 technische universität dortmund Specifications Peter Marwedel TU Dortmund, Informatik /11/15
12 Specifications Peter Marwedel TU Dortmund, Informatik 12 2008/11/15 Graphics: Alexandra Nolte, Gesine Marwedel, 2003 Structure of this course Application Knowledge 3: Embedded System HW 2: Specifications
More informationPETRI NET MODELLING OF CONCURRENCY CONTROL IN DISTRIBUTED DATABASE SYSTEM
PETRI NET MODELLING OF CONCURRENCY CONTROL IN DISTRIBUTED DATABASE SYSTEM Djoko Haryono, Jimmy Tirtawangsa, Bayu Erfianto Abstract- The life time of transaction is divided into two stages: executing stage
More informationRavi K. Gedela, Sol M. Shatz and Haiping Xu Concurrent Software Systems Lab The University of Illinois at Chicago Chicago, IL USA
Compositional Petri Net Models of Advanced Tasking in Ada-95 1 Ravi K. Gedela, Sol M. Shatz and Haiping Xu Concurrent Software Systems Lab The University of Illinois at Chicago Chicago, IL 60607 USA Abstract
More informationDUH! Deadlocks. Concurrency Issues. The TENEX Case. If a process requests all systems buffers, operator console tries to print an error message
1 Concurrency Issues Past lectures: Problem: Safely coordinate access to shared resource Solutions: Use semaphores, monitors, locks, condition variables Coordinate access within shared objects Deadlocks
More informationOverview of Dataflow Languages. Waheed Ahmad
Overview of Dataflow Languages Waheed Ahmad w.ahmad@utwente.nl The purpose of models is not to fit the data but to sharpen the questions. Samuel Karlins 11 th R.A Fisher Memorial Lecture Royal Society
More informationFinite Math Linear Programming 1 May / 7
Linear Programming Finite Math 1 May 2017 Finite Math Linear Programming 1 May 2017 1 / 7 General Description of Linear Programming Finite Math Linear Programming 1 May 2017 2 / 7 General Description of
More informationPerformance Testing from UML Models with Resource Descriptions *
Performance Testing from UML Models with Resource Descriptions * Flávio M. de Oliveira 1, Rômulo da S. Menna 1, Hugo V. Vieira 1, Duncan D.A. Ruiz 1 1 Faculdade de Informática Pontifícia Universidade Católica
More informationSolution: Petri nets Homework 1. Discussed on Thursday 21 st April, 2016.
Technische Universität München (I7) Summer term 2016 Prof. J. Esparza / P. Meyer Thursday 14 th April, 2016 Solution Petri nets Homework 1 Discussed on Thursday 21 st April, 2016. For questions regarding
More informationFormal Support for QVT-Relations with Coloured Petri Nets
Formal Support for QVT-Relations with Coloured Petri Nets Juan de Lara Univ. Autónoma de Madrid (Spain) MODELS 2009 Denver, Colorado, USA Esther Guerra 1 Univ. Carlos III de Madrid (Spain) Motivation Model-to-Model
More informationModular Petri Net Processor for Embedded Systems
Modular Petri Net Processor for Embedded Systems Orlando Micolini 1, Emiliano N. Daniele, Luis O. Ventre Laboratorio de Arquitectura de Computadoras (LAC) FCEFyN Universidad Nacional de Córdoba orlando.micolini@unc.edu.ar,
More informationInst: Chris Davison
ICS 153 Introduction to Computer Networks Inst: Chris Davison cbdaviso@uci.edu ICS 153 Data Link Layer Contents Simplex and Duplex Communication Frame Creation Flow Control Error Control Performance of
More informationfakultät für informatik informatik 12 technische universität dortmund Data flow models Peter Marwedel TU Dortmund, Informatik /10/08
12 Data flow models Peter Marwedel TU Dortmund, Informatik 12 2009/10/08 Graphics: Alexandra Nolte, Gesine Marwedel, 2003 Models of computation considered in this course Communication/ local computations
More informationStates Transitions Connectors Esterel Studio
Time in Differences SyncCharts differ from other implementations of : Synchronous framework Determinism Compilation into backend language Esterel No interpretation for simulations No hidden behaviour Multiple
More informationFinite Automata Theory and Formal Languages TMV027/DIT321 LP4 2016
Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2016 Lecture 15 Ana Bove May 23rd 2016 More on Turing machines; Summary of the course. Overview of today s lecture: Recap: PDA, TM Push-down
More informationIntroduction to Formal Methods
2008 Spring Software Special Development 1 Introduction to Formal Methods Part I : Formal Specification i JUNBEOM YOO jbyoo@knokuk.ac.kr Reference AS Specifier s Introduction to Formal lmethods Jeannette
More informationDISCRETE-event dynamic systems (DEDS) are dynamic
IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. 7, NO. 2, MARCH 1999 175 The Supervised Control of Discrete-Event Dynamic Systems François Charbonnier, Hassane Alla, and René David Abstract The supervisory
More informationJob-shop scheduling with limited capacity buffers
Job-shop scheduling with limited capacity buffers Peter Brucker, Silvia Heitmann University of Osnabrück, Department of Mathematics/Informatics Albrechtstr. 28, D-49069 Osnabrück, Germany {peter,sheitman}@mathematik.uni-osnabrueck.de
More informationTimed Circuit Verification Using TEL Structures
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 20, NO. 1, JANUARY 2001 129 Timed Circuit Verification Using TEL Structures Wendy Belluomini, Member, IEEE, Chris J.
More informationOn Petri Nets and Predicate-Transition Nets
On Petri Nets and Predicate-Transition Nets Andrea Röck INRIA - project CODES Roquencourt - BP 105 Le Chesnay Cedex 78153, FRANCE Ray Kresman Department of Computer Science Bowling Green State University
More informationESE532: System-on-a-Chip Architecture. Today. Process. Message FIFO. Thread. Dataflow Process Model Motivation Issues Abstraction Recommended Approach
ESE53: System-on-a-Chip Architecture Day 5: January 30, 07 Dataflow Process Model Today Dataflow Process Model Motivation Issues Abstraction Recommended Approach Message Parallelism can be natural Discipline
More informationIEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 16, NO. 8, AUGUST
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 16, NO. 8, AUGUST 1997 793 A Region-Based Theory for State Assignment in Speed-Independent Circuits Jordi Cortadella,
More informationA Brief Introduction to Coloured Petri Nets
A Brief Introduction to Coloured Petri Nets Kurt Jensen Computer Science Department, University of Aarhus NyMunkegade, Bldg. 540, DK-8000 AarhusC, Denmark E-mml: kjensen9 WWV~: http://www.daimi.aau.dk/~kjensen/
More informationEmbedded Systems 8. Identifying, modeling and documenting how data moves around an information system. Dataflow modeling examines
Embedded Systems 8 - - Dataflow modeling Identifying, modeling and documenting how data moves around an information system. Dataflow modeling examines processes (activities that transform data from one
More informationMain application of SDF: DSP hardware modeling
EE 144/244: Fundamental lgorithms for System Modeling, nalysis, and Optimization Fall 2014 Dataflow Timed SDF, Throughput nalysis Stavros Tripakis University of California, erkeley Stavros Tripakis (UC
More informationComputational Models for Concurrent Streaming Applications
2 Computational Models for Concurrent Streaming Applications The challenges of today Twan Basten Based on joint work with Marc Geilen, Sander Stuijk, and many others Department of Electrical Engineering
More informationStructured System Theory
Appendix C Structured System Theory Linear systems are often studied from an algebraic perspective, based on the rank of certain matrices. While such tests are easy to derive from the mathematical model,
More informationPETRI NET ANALYSIS OF BATCH RECIPES
Presented at FOCAPO 98, Snowbird, USA. PETRI NET ANALYSIS OF BATCH RECIPES STRUCTURED WITH GRAFCHART Charlotta Johnsson and Karl-Erik Årzén Department of Automatic Control, Lund Institute of Technology,
More informationDistributed Algorithms 6.046J, Spring, 2015 Part 2. Nancy Lynch
Distributed Algorithms 6.046J, Spring, 2015 Part 2 Nancy Lynch 1 This Week Synchronous distributed algorithms: Leader Election Maximal Independent Set Breadth-First Spanning Trees Shortest Paths Trees
More informationNONBLOCKING COMMIT PROTOCOLS
Dale Skeen NONBLOCKING COMMIT PROTOCOLS MC714 Sistemas Distribuídos Nonblocking Commit Protocols Dale Skeen From a certain point onward there is no longer any turning back. That is the point that must
More informationComposability Test of BOM based models using Petri Nets
I. Mahmood, R. Ayani, V. Vlassov and F. Moradi 7 Composability Test of BOM based models using Petri Nets Imran Mahmood 1, Rassul Ayani 1, Vladimir Vlassov 1, and Farshad Moradi 2 1 Royal Institute of Technology
More informationModels of Petri Nets
Artificial Intelligence Applications to Business and Engineering Domains 113 Models of Petri Nets MODELING AND SOLVING TECHNOLOGICAL TASKS BY LANGUAGE OF PETRI NETS Nataliya Golian, Vera Golian, Olga Kalynychenko
More informationA Quality of Service Decision Model for ATM-LAN/MAN Interconnection
A Quality of Service Decision for ATM-LAN/MAN Interconnection N. Davies, P. Francis-Cobley Department of Computer Science, University of Bristol Introduction With ATM networks now coming of age, there
More informationHierarchical Petri Net Simulator: Simulation, Design Validation, and Model Checking Tool for Hierarchical Place/Transition Petri Nets
Hierarchical Petri Net Simulator: Simulation, Design Validation, and Model Checking Tool for Hierarchical Place/Transition Petri Nets Yojiro Harie and Katsumi Wasaki Interdisciplinary Graduate School of
More information1 Linear programming relaxation
Cornell University, Fall 2010 CS 6820: Algorithms Lecture notes: Primal-dual min-cost bipartite matching August 27 30 1 Linear programming relaxation Recall that in the bipartite minimum-cost perfect matching
More informationBasics of Deadlock Theory. Deadlocks
CMSC 621, Advanced Operating Systems. Fall 2003 Basics of Deadlock Theory Dr. Kalpakis Deadlocks deadlock occurs when there is a set of processes which have outstanding requests for resources that can
More informationFeedback Control Logic for Forbidden-State Problems of Marked Graphs: Application to a Real Manufacturing System
18 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL 48, NO 1, JANUARY 2003 Feedback Control Logic for Forbidden-State Problems of Marked Graphs: Application to a Real Manufacturing System Asma Ghaffari, Nidhal
More informationMANUFACTURING SYSTEM MODELING USING PETRI NETS
International Conference on Economic Engineering and Manufacturing Systems Braşov, 26 27 November 2009 MANUFACTURING SYSTEM MODELING USING PETRI NETS Daniela COMAN, Adela IONESCU, Mihaela FLORESCU University
More informationMODERN automated manufacturing systems require. An Extended Event Graph With Negative Places and Tokens for Time Window Constraints
IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, VOL. 2, NO. 4, OCTOBER 2005 319 An Extended Event Graph With Negative Places and Tokens for Time Window Constraints Tae-Eog Lee and Seong-Ho Park
More informationAPPLICATION OF COLORED PETRI NET IN MODELING OF AN AGRICULTURAL ENTERPRISE INFORMATION MANAGEMENT SYSTEM
APPLICAION OF COLORED PERI NE IN MODELING OF AN AGRICULURAL ENERPRISE INFORMAION MANAGEMEN SYSEM Fangtian Zhang 1, Kaiyi Wang 1,2,*, Jin Sui 1, Chang Liu 1, Zhongqiang Liu 1 1 National Engineering Research
More informationIntroduction to Modeling. Lecture Overview
Lecture Overview What is a Model? Uses of Modeling The Modeling Process Pose the Question Define the Abstractions Create the Model Analyze the Data Model Representations * Queuing Models * Petri Nets *
More informationCSE101: Design and Analysis of Algorithms. Ragesh Jaiswal, CSE, UCSD
Recap. Growth rates: Arrange the following functions in ascending order of growth rate: n 2 log n n log n 2 log n n/ log n n n Introduction Algorithm: A step-by-step way of solving a problem. Design of
More informationThroughout this course, we use the terms vertex and node interchangeably.
Chapter Vertex Coloring. Introduction Vertex coloring is an infamous graph theory problem. It is also a useful toy example to see the style of this course already in the first lecture. Vertex coloring
More informationModel Checking. Automatic Verification Model Checking. Process A Process B. when not possible (not AI).
Sérgio Campos scampos@dcc.ufmg.br Why? Imagine the implementation of a complex hardware or software system: A 100K gate ASIC perhaps 100 concurrent modules; A flight control system dozens of concurrent
More informationThe alternator. Mohamed G. Gouda F. Furman Haddix
Distrib. Comput. (2007) 20:21 28 DOI 10.1007/s00446-007-0033-1 The alternator Mohamed G. Gouda F. Furman Haddix Received: 28 August 1999 / Accepted: 5 July 2000 / Published online: 12 June 2007 Springer-Verlag
More informationASYNCHRONOUS circuits promise a number of important
1108 IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL 17, NO 11, NOVEMBER 1998 Structural Methods for the Synthesis of Speed-Independent Circuits Enric Pastor, Jordi Cortadella,
More informationSOLVING DEADLOCK STATES IN MODEL OF RAILWAY STATION OPERATION USING COLOURED PETRI NETS
SOLVING DEADLOCK STATES IN MODEL OF RAILWAY STATION OPERATION USING COLOURED PETRI NETS Michal Žarnay University of Žilina, Faculty of Management Science and Informatics, Address: Univerzitná 8215/1, Žilina,
More informationJoint Entity Resolution
Joint Entity Resolution Steven Euijong Whang, Hector Garcia-Molina Computer Science Department, Stanford University 353 Serra Mall, Stanford, CA 94305, USA {swhang, hector}@cs.stanford.edu No Institute
More informationGoals of Program Optimization (1 of 2)
Goals of Program Optimization (1 of 2) Goal: Improve program performance within some constraints Ask Three Key Questions for Every Optimization 1. Is it legal? 2. Is it profitable? 3. Is it compile-time
More informationLecture 1: Examples, connectedness, paths and cycles
Lecture 1: Examples, connectedness, paths and cycles Anders Johansson 2011-10-22 lör Outline The course plan Examples and applications of graphs Relations The definition of graphs as relations Connectedness,
More informationFormal Process Modelling
Formal Process Modelling Petri Net Behaviour Net Model Event-driven Process Chains Formalisation Håvard D. Jørgensen Materiale fra: Jon Atle Gulla, NTNU Folker den Braber, SINTEF Anders Moen, Norsk Regnesentral
More informationMathematical and Algorithmic Foundations Linear Programming and Matchings
Adavnced Algorithms Lectures Mathematical and Algorithmic Foundations Linear Programming and Matchings Paul G. Spirakis Department of Computer Science University of Patras and Liverpool Paul G. Spirakis
More informationSupply Tank 1. Storage Tank 1 TE1. Supply Tank 2. Storage Tank 2 TE2
AN APPROACH BASED ON DYNAMIC UML DIAGRAMS AND ON A TOKEN PLAYER ALGORITHM FOR THE SCENARIO VERIFICATION OF REAL TIME SYSTEMS Stéphane Julia, Elis^angela Mieko Kanacilo Faculdade de Ci^encia da Computaοc~ao,
More informationMURPHY S COMPUTER LAWS
Bosch Workshop 04/08/18 Brandenburg University of Technology at Cottbus, Dep. of Computer Science MURPHY S COMPUTER LAWS (1) No program without faults. DEPENDABLE SOFTWARE - AN UNREALISTIC DREAM OR JUST
More informationFinal exam to Modellierung
Name: First name: Matr.Nr: Universität Duisburg-Essen WS 2008/09 Ingenieurwissenschaften / Informatik 4. August 2009 Professor: Prof. Dr. Barbara König Klausur Final exam to Modellierung The exam consists
More informationApplication of an Exact Transversal Hypergraph in Selection of SM-Components
Application of an Exact Transversal Hypergraph in Selection of SM-Components Łukasz Stefanowicz, Marian Adamski, and Remigiusz Wisniewski University of Zielona Góra, Institute of Computer Engineering and
More information