Stochastic Activity Networks ( SAN ) Sharif University of Technology,Computer Engineer Department, Winter 2013 Verification of Reactive Systems Mohammad.

Slides:



Advertisements
Similar presentations
1 Petri Nets I Paul Fishwick author From
Advertisements

Concurrent Operational Semantics of Safe Time Petri Nets Claude Jard European University of Brittany, ENS Cachan Bretagne, IRISA Campus de Ker-Lann,
1 SE-561 Formal Methods in Software Petri Nets - I.
An Introduction to Petri Nets
Principles of Engineering System Design Dr T Asokan
Based on: Petri Nets and Industrial Applications: A Tutorial
Formal Modelling of Reactive Agents as an aggregation of Simple Behaviours P.Kefalas Dept. of Computer Science 13 Tsimiski Str Thessaloniki Greece.
IE 469 Manufacturing Systems
Discrete Interaction Design Specification Prof. Dr. Matthias Rauterberg Faculty Industrial Design Technical University of Eindhoven
Simulation of Spiking Neural P Systems Using Pnet Lab Authors Padmavati Metta Kamala Krithivasan Deepak Garg.
Activity Diagrams [Arlow and Neustadt, 2005] CS 425 / 625 Seminar on Software Engineering University of Nevada, Reno Department of Computer Science & Engineering.
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.
CS447/ECE453/SE465 Prof. Alencar University of Waterloo 1 CS447/ECE453/SE465 Software Testing Tutorial Winter 2008 Based on the tutorials by Prof. Kontogiannis,
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.
FunState – An Internal Design Representation for Codesign A model that enables representations of different types of system components. Mixture of functional.
12/07/2007Jiacun Wang1 SE-561 Math Foundations Petri Nets - II Dr. Jiacun Wang Department of Software Engineering Monmouth University.
Temporal Logic of Actions (TLA) Leslie Lamport
Lesson 6. Refinement of the Operator Model This page describes formally how we refine Figure 2.5 into a more detailed model so that we can connect it.
Mata kuliah :K0362/ Matematika Diskrit Tahun :2008
PETRINETS Nipun Devlekar Zauja Lahtau. PETRINETS DEFINITION : DEFINITION :  PETRINET (place/ transition net): a formal, graphical, executable technique.
A Novel Method for Formally Detecting RFID Event Using Petri Nets SEKE 2011.
From requirements to specification Specification is a refinement of requirements Can be included together as Software Requirements Specifications (SRS)
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.
1 ECE-517: Reinforcement Learning in Artificial Intelligence Lecture 6: Optimality Criterion in MDPs Dr. Itamar Arel College of Engineering Department.
Petri Nets Copyright, 2003 © Jerzy R. Nawrocki Models and Analysis of Software Lecture.
CY2003 Computer Systems Lecture 7 Petri net. © LJMU, 2004CY2003- Week 72 Overview Petri net –concepts –Petri net representation –Firing a transition –Marks.
Kurt Jensen Lars M. Kristensen 1 Coloured Petri Nets Department of Computer Science Coloured Petri Nets Modelling and Validation of Concurrent Systems.
Petri Nets: Their Development and Use in Production Planning Jeffrey E. Short, P.E. December 6, 2000.
C. André, J. Boucaron, A. Coadou, J. DeAntoni,
Integrating UML and Petri Nets Problem with Current Software Engineering Methodology Stochastic Petri nets and their useful properties Translating UML.
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Universität Dortmund Chapter 6A: Validation Simulation and test pattern generation (TPG) EECE **** Embedded System Design.
Generalized stochastic Petri nets (GSPN)
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Petri Nets Lecturer: Roohollah Abdipour. Agenda Introduction Petri Net Modelling with Petri Net Analysis of Petri net 2.
CAP 4800/CAP 5805: Computer Simulation Concepts
Modelling by Petri nets
Modeling Mobile-Agent-based Collaborative Processing in Sensor Networks Using Generalized Stochastic Petri Nets Hongtao Du, Hairong Qi, Gregory Peterson.
State Modeling. Introduction A state model describes the sequences of operations that occur in response to external stimuli. As opposed to what the operations.
School of Computer Science, The University of Adelaide© The University of Adelaide, Control Data Flow Graphs An experiment using Design/CPN Sue Tyerman.
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.
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
Chapter 14: Activity Diagrams November 2015 [Arlow and Neustadt, 2005] CS 425/625 Senior Projects University of Nevada, Reno Department of Computer Science.
Programming Languages and Design Lecture 2 Syntax Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Review n System dynamics : A sequence of state transition n model : A set of rules for state transition System S X Y Discrete event system FSM (Automata)
Petri-Nets and Other Models
Slide 1 Stochastic Activity Network Concepts, in Mobius: Modeling, Analyzing, and Simulating Large-Scale Systems, Instructor William H. Sanders. ©2006.
State Modeling. Introduction A state model describes the sequences of operations that occur in response to external stimuli. As opposed to what the operations.
Week 8 Computational Level
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini VIII. Specifications (II)
Advantages of FSM Their simplicity make it easy for inexperienced developers to implement with little to no extra knowledge (low entry level)
Dr. Eng Amr T. Abdel-Hamid
2. Specification and Modeling
Week 8 Computational Level
Module 4: Stochastic Activity Networks
Stochastic Activity Networks
UML Activity Diagrams & State Charts
Program Control using Java - Theory
Workflow Management Systems
CAP 4800/CAP 5805: Computer Simulation Concepts
CAP 4800/CAP 5805: Computer Simulation Concepts
Event-Based Architecture Definition Language
Chapter 14: Activity Diagrams
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:

Stochastic Activity Networks ( SAN ) Sharif University of Technology,Computer Engineer Department, Winter 2013 Verification of Reactive Systems Mohammad Esmail Esmaili Prof. Movaghar

Introduction Stochastic activity networks have been used since the mid-1980s for performance, dependability, and performability evaluation. Stochastic Activity Networks (SANs) are a stochastic generalization of Petri nets which have been defined for the modeling and analysis of distributed real-time systems.

Activity networks Activity networks are the non-probabilistic model on which SANs are built, just as in a similar fashion, (un- timed) Petri nets provide the foundation for stochastic Petri nets. Activity networks are nondeterministic models which have been developed for representing concurrent systems. The transitions in Petri nets are replaced by the primitives called "activities."

Definitions Activities: which are of two kinds: timed activities and instantaneous activities. Each activity has a non-zero integral number of cases (possible actions). Timed activities represent the activities of the modeled system whose durations impact the system's ability to perform. Instantaneous activities, represent system activities that, relative to the performance variable in question, are completed in a negligible amount of time.

Definitions places : as in Petri nets. input gates : each of which has a finite set of inputs and one output. Associated with each input gate are an n-ary computable predicate and an n-ary computable partial function over the set of natural numbers. output gates, each of which has a finite set of outputs and one input. Associated with each output gate is an n-ary computable function on the set of natural numbers, called the output function.

Definitions

Graphical Representation To aid in the modeling process, a graphical representation for activity networks is typically employed. In fact, for all but the smallest networks, speciation via the tuple formulation presented in the definition is extremely cumbersome. Not only is the graphical representation more compact, but it also provides greater insight into the behavior of the network.

Graphical Representation Here places are represented by circles (A, B, and C), as in Petri nets. Timed activities (T1 and T 2) are represented as hollow ovals. Instantaneous activities (I1) are represented by solid bars. Cases associated with an activity are represented by small circles on one side of the activity (as on T 1). An activity with only one case is represented with no circles on the output side (as on T 2). Gates are represented by triangles.

Activity Network Behavior An input gate has two components: enabling function (state) → Boolean; also called the enabling predicate input function(state) → state; rule for changing the state of the model An activity is enabled if for every connected input gate, the enabling predicate is true, and for each input arc, the number of tokens in the connected place ≥ number of arcs. We use the notation MARK(P) to denote the number of tokens in place P.

Enabling Rule

Cases Cases represent a probabilistic choice of an action to take when an activity completes.

Output Gates When an activity completes, an output gate allows for a more general change in the state of the system. This output gate function is usually expressed using seudo- C code.

Completion Rules When an activity completes, the following events take place (in the order listed), possibly changing the marking of the network: If the activity has cases, a case is (probabilistically) chosen. The functions of all the connected input gates are executed (in an unspecified order). Tokens are removed from places connected by input arcs. The functions of all the output gates connected to the chosen case are executed (in an unspecified order). Tokens are added to places connected by output arcs connected to the chosen case.

Definition of a Stochastic Activity Network Given an activity network that is stabilizing in some specified initial marking, a stochastic activity network is formed by adjoining functions C, F, and G, where C species the probability distribution of case selections, F represents the probability distribution functions of activity delay times, and G describes the sets of “reactivation markings" for each possible marking.

Definition of a Stochastic Activity Network

SAN Terms activation - time at which an activity begins. completion - time at which activity completes. abort - time, after activation but before completion, when activity is no longer enabled. active - the time after an activity has been activated but before it completes or aborts.

Illustration of SAN Terms

References [1] Stochastic Activity Networks: Formal Definitions and Concepts, William H. Sanders and John F. Meyer, Lecture Notes in Computer Science, Volume 2090, 2001, pp [2] Stochastic Activity Networks: A New Definition and Some Properties, A. Movaghar, Scientia Iranica, Vol. 8, No. 4, pp , October [3] users.crhc.illinois.edu/nicol/ece541/slides.