A Structured Solution Approach for Markov Regenerative Processes Elvio G. Amparore 1, Peter Buchholz 2, Susanna Donatelli 1 1 Dipartimento di Informatica,

Slides:



Advertisements
Similar presentations
Statistical perturbation theory for spectral clustering Harrachov, 2007 A. Spence and Z. Stoyanov.
Advertisements

1 An Adaptive GA for Multi Objective Flexible Manufacturing Systems A. Younes, H. Ghenniwa, S. Areibi uoguelph.ca.
1 A class of Generalized Stochastic Petri Nets for the performance Evaluation of Mulitprocessor Systems By M. Almone, G. Conte Presented by Yinglei Song.
1 Chapter 5 Continuous time Markov Chains Learning objectives : Introduce continuous time Markov Chain Model manufacturing systems using Markov Chain Able.
CS 795 – Spring  “Software Systems are increasingly Situated in dynamic, mission critical settings ◦ Operational profile is dynamic, and depends.
Solving Linear Systems (Numerical Recipes, Chap 2)
Probability and Statistics with Reliability, Queuing and Computer Science Applications: Chapter 8 on Continuous-Time Markov Chains Kishor Trivedi.
Matrices, Digraphs, Markov Chains & Their Use. Introduction to Matrices  A matrix is a rectangular array of numbers  Matrices are used to solve systems.
Lecture 13 – Continuous-Time Markov Chains
Rational Trigonometry Applied to Robotics
CSE 3504: Probabilistic Analysis of Computer Systems Topics covered: Continuous time Markov chains (Sec )
A. BobbioBertinoro, March 10-14, Dependability Theory and Methods 5. Markov Models Andrea Bobbio Dipartimento di Informatica Università del Piemonte.
Avoiding Communication in Sparse Iterative Solvers Erin Carson Nick Knight CS294, Fall 2011.
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.
Special Matrices and Gauss-Siedel
Department of Computer Science Undergraduate Events More
Dimitrios Konstantas, Evangelos Grigoroudis, Vassilis S. Kouikoglou and Stratos Ioannidis Department of Production Engineering and Management Technical.
Introduction to Stochastic Models GSLM 54100
Planning and Verification for Stochastic Processes with Asynchronous Events Håkan L. S. Younes Carnegie Mellon University.
Algorithms for a large sparse nonlinear eigenvalue problem Yusaku Yamamoto Dept. of Computational Science & Engineering Nagoya University.
Optimal Degree Distribution for LT Codes with Small Message Length Esa Hyytiä, Tuomas Tirronen, Jorma Virtamo IEEE INFOCOM mini-symposium
FDA- A scalable evolutionary algorithm for the optimization of ADFs By Hossein Momeni.
A. BobbioBertinoro, March 10-14, Dependability Theory and Methods 2. Reliability Block Diagrams Andrea Bobbio Dipartimento di Informatica Università.
Fast Low-Frequency Impedance Extraction using a Volumetric 3D Integral Formulation A.MAFFUCCI, A. TAMBURRINO, S. VENTRE, F. VILLONE EURATOM/ENEA/CREATE.
ACPN2010, Rostock, September 22nd Advanced solution methods for Stochastic Petri Nets Prof.ssa Susanna Donatelli Universita’ di Torino, Italy
Planning and Execution with Phase Transitions Håkan L. S. Younes Carnegie Mellon University Follow-up paper to Younes & Simmons’ “Solving Generalized Semi-Markov.
Pisa, 11/25/2002Susanna Donatelli1 Modelling process and heterogeneous model construction Susanna Donatelli Modelling and evaluation groups.
New Modeling Techniques for the Global Routing Problem Anthony Vannelli Department of Electrical and Computer Engineering University of Waterloo Waterloo,
Analysis of M/M/c/N Queuing System With Balking, Reneging and Synchronous Vacations Dequan Yue Department of Statistics, College of Sciences Yanshan University,
Efficient Integration of Large Stiff Systems of ODEs Using Exponential Integrators M. Tokman, M. Tokman, University of California, Merced 2 hrs 1.5 hrs.
Pisa, 11/25/2002Susanna Donatelli1 Heterogeneous model construction Susanna Donatelli Modelling and evaluation groups of the Dipartimento.
Haley: A Hierarchical Framework for Logical Composition of Web Services Haibo Zhao, Prashant Doshi LSDIS Lab, Dept. of Computer Science, University of.
The swiss-carpet preconditioner: a simple parallel preconditioner of Dirichlet-Neumann type A. Quarteroni (Lausanne and Milan) M. Sala (Lausanne) A. Valli.
On the Use of Sparse Direct Solver in a Projection Method for Generalized Eigenvalue Problems Using Numerical Integration Takamitsu Watanabe and Yusaku.
Carnegie Mellon University
Chapter 61 Continuous Time Markov Chains Birth and Death Processes,Transition Probability Function, Kolmogorov Equations, Limiting Probabilities, Uniformization.
Generalized stochastic Petri nets (GSPN)
WWV Analyzing a Proxy Cache Server Performance Model with the Probabilistic Model Checker PRISM Tamás Bérczes 1, Gábor Guta.
Decision-Theoretic Planning with Asynchronous Events Håkan L. S. Younes Carnegie Mellon University.
Chapter 01 Probability and Stochastic Processes References: Wolff, Stochastic Modeling and the Theory of Queues, Chapter 1 Altiok, Performance Analysis.
Theory of Computations III CS-6800 |SPRING
Optimal Component Analysis Optimal Linear Representations of Images for Object Recognition X. Liu, A. Srivastava, and Kyle Gallivan, “Optimal linear representations.
Chapter 01 Probability and Stochastic Processes References: Wolff, Stochastic Modeling and the Theory of Queues, Chapter 1 Altiok, Performance Analysis.
Department of Computer Science Undergraduate Events More
By: Jesse Ehlert Dustin Wells Li Zhang Iterative Aggregation/Disaggregation(IAD)
A new GreatSPN GUI for GSPN editing and CSL TA model checking Tool presentation Elvio G. Amparore UNIVERSITÀ DEGLI STUDI DI TORINO.
STA347 - week 91 Random Vectors and Matrices A random vector is a vector whose elements are random variables. The collective behavior of a p x 1 random.
WORKSHOP ERCIM Global convergence for iterative aggregation – disaggregation method Ivana Pultarova Czech Technical University in Prague, Czech Republic.
Meaning of Markov Chain Markov Chain is a stochastic model describing a sequence of possible events in which the probability of each event depends only.
Monte Carlo Linear Algebra Techniques and Their Parallelization Ashok Srinivasan Computer Science Florida State University
Grid-enabled Probabilistic Model Checking with PRISM Yi Zhang, David Parker, Marta Kwiatkowska University of Birmingham.
Instructor: Spyros Reveliotis IE7201: Production & Service Systems Engineering Fall 2009 Closure.
ILAS Threshold partitioning for iterative aggregation – disaggregation method Ivana Pultarova Czech Technical University in Prague, Czech Republic.
DEPENDABILITY ANALYSIS (towards Networked Information Systems) Ester Ciancamerla, Michele Minichino ENEA {ciancamerlae, In.
1 Chapter 5 Continuous time Markov Chains Learning objectives : Introduce continuous time Markov Chain Model manufacturing systems using Markov Chain Able.
Reliability Engineering
Monte Carlo Linear Algebra Techniques and Their Parallelization Ashok Srinivasan Computer Science Florida State University
Week 8 Computational Level
Universidade Federal de Pernambuco
Discrete Time Markov Chains (A Brief Overview)
Discrete-time Markov chain (DTMC) State space distribution
Compressive Coded Aperture Video Reconstruction
Industrial Engineering Dep
Boundary Element Analysis of Systems Using Interval Methods
Solving Systems of Linear Equations: Iterative Methods
Numerical Analysis Lecture 16.
Reinforcement Learning in MDPs by Lease-Square Policy Iteration
Linköping University, IDA, ESLAB
Comparison of CFEM and DG methods
CS 416 Artificial Intelligence
Presentation transcript:

A Structured Solution Approach for Markov Regenerative Processes Elvio G. Amparore 1, Peter Buchholz 2, Susanna Donatelli 1 1 Dipartimento di Informatica, Università degli Studi di Torino, Italy 2 Department of Computer Science, TU Dortmund, Germany UNIVERSITÀ DEGLI STUDI DI TORINO

Research Objective Efficient representation and solution of MRP models (as whose underlying a DSPN) Line of Research Combine: advances in structured (Kronecker) solution of (G)SPN and alike with recent advances in “matrix-free” solution techniques of MRP

Context MRP ( Markov Regenerative Process ) with CTMCs as subordinated processes (at most one general event enabled at a time) MRP generated from GSPN ( Generalized Stochastic Petri Nets ). Kronecker representation of the state space.

Straightforward approach CTMC representation requires Q MRP representation requires: – : rates of exponential transitions that do not affect the enabling of general transitions; – : rates of exponential transitions whose firing disables a general transitions; – : effect of firing a general transitions.

Straightforward approach GSPN = {GSPN (j), }DSPN = {DSPN (j), } Does not work!

Why? Firing of t contributes to Q. Enabling of g depends only on the local state.

Why? Firing of t contributes to. Enabling of g is affected by t. Firing of t contributes to Q, since g is not enabled.

More difficulties… Assume we can express in Kronecker form… Steady-state MRP solution requires the computation of the embedded DTMC P, which: is typically dense; might not be easily expressible as a Kronecker expression.

Talk Outline 1.A successful structuring of the state space and of the generators 2.Matrix-free solution of the “structured” MRP 3.Results 4.Future work

Talk Outline 1.A successful structuring of the state space and of the generators 2.Matrix-free solution of the “structured” MRP 3.Results 4.Future work

State space structuring for GSPN Two components: set of transitions, rate of. Component 1 Component 2

State space structuring for GSPN Each component state space is partitioned into subsets: Component 1 Component 2

State space structuring for GSPN Component 1 Component 2 State space is made by 2 macro-states:

State space structuring for GSPN Component 1 Component 2 For each transition, each component we have a block matrix with the rates from subset k to subset l.

State space structuring for CTMC Basic structuring* is: Two local states s,s’ are in the same subset iff: * [P. Buchholz. Hierarchical structuring of superposed GSPNs. IEEE TSE, 1999.]

State space structuring for MRP With t 14 general, subset is split in two: Component 1 Component 2 State space has 3 macro-states:

State space structuring for MRP Partitioning has to be refined according to enabling (or not) of general transitions: Therefore, the states in each component subset has the same enabling of general transitions.

Structuring of the MRP generators Rates of the exponential transitions that do not affect the enabling of general transitions: and we obtain: Only contributions that do not locally disable g (be sure there is no premption and immediate re-enabling of g )

Structuring of the MRP generators where the diagonal is: with:

Structuring of the MRP generators Rates of the exponential transitions that disable the currently enabled general transition: and we obtain:

Structuring of the MRP generators Transition probability of the general transitions: and we obtain: We have the Kronecker form of the generator matrices of a structured MRP.

Talk Outline 1.A successful structuring of the state space and of the generators 2.Matrix-free solution of the “structured” MRP 3.Results 4.Future work

Problem formulation The matrix of the embedded Markov chain is: Exponential states Firing of general transitions Preemption of general transitions Uniformized SMC. are the k -th α -factors of g. Problem : sum of matrix powers will be dense.

Fill-in of matrix P P is dense due to matrix exponentials. – Space occupation: O ( N 2 ) – Very slow to compute. Solution* : do not construct matrix P. * [R. German, Iterative analysis of Markov regenerative models, 2001]

Matrix-free solution In short: solve a linear equation system without having the system matrix, only its expression. Numerical solution: Power method. Expand the expression for P Expand the expression for P [K. Trivedi, A. Reibman, Transient Analysis of Markov and Markov Reward Models, 1987]

Matrix-free Kronecker Form (1) Matrices in Kronecker form only. Derive a Kronecker form for and. uv w u is simple (with ):

Matrix-free Kronecker Form (2) Terms and are the instantaneous and cumulative Uniformization in Kronecker form: The sequence: has Kronecker form:

Matrix-free Kronecker Form (3) Let: Sequence of iterative y l α-factors so we can write:

Matrix-free Kronecker solution All the terms of the x = xP product are in Kronecker form. Does not require the construction of. Computes one uniformization per xP product. Suitable for Power method and Krylov methods. uv w [E. G. Amparore, S. Donatelli, Revisiting the matrix-free solution of Markov regenerative processes, NSMC11, 2011]

Talk Outline 1.A successful structuring of the state space and of the generators 2.Matrix-free solution of the “structured” MRP 3.Results 4.Future work

Test with two tools Kronecker structure Implements the newly proposed MRP solution. No Kronecker structure Sparse matrix. Matrix-free / explicit solution. nsolve structured Kronecker solution any general transition nsolve structured Kronecker solution any general transition DSPN-tool non-structured MRP deterministic transition DSPN-tool non-structured MRP deterministic transition Parallel tests to check the correctness of the results.

Test 1/3: Flexible Manufacturing System Four parallel machines Maintenance system

FMS: structured vs. non-structured states, 865 macrostates Kronecker (nsolve): BiCG-Stab takes sec. with 74 iterations. Needs ~3.2×10 5 matrix entries. Non-structured (DSPN-tool): BiCG-Stab takes 88.6 sec. with 73 iterations. Needs ~3×10 6 matrix entries.

Test 2/3: Moving Server System Four client stations with m requests. Moving Server

Structured MRP vs. phase-type Compare MRP with general transitions against CTMC with phase-type transitions. MRP with general: – Deterministic – Erlang-3 CTMC with phase-type expansion: – Simple exponential – Erlang-2 – Erlang-3 nsolve

Structured MRP vs. phase-type Compare MRP with general transitions against CTMC with phase-type transitions. MRP with general: – Deterministic – Erlang-3 CTMC with phase-type expansion: – Simple exponential – Erlang-2 – Erlang-3 DSPN-tool

Structured MRP vs. phase-type Kronecker (nsolve): MRP:7.3 M states,1240 nnz. Exp:7.3 M states,1224 nnz. Erlang-2:11 M states, 3484 nnz. Erlang-3:15 M states, 5056 nnz. Non-structured : MRP: 7.3 M states. 35M nnz. State space comparison:

Structured MRP vs. phase-type Kronecker (nsolve): MRP/det:341 seconds. MRP/Erlang-3:369 seconds. Exp:151 seconds. Ph-type/Erlang-2:331 seconds. Ph-type/Erlang-3:613 seconds. Non-structured : 4048 seconds. Steady-state solution performance:

Test 3/3: Multi-threaded program Three parallel threads Sequential part

Large state space Kronecker (nsolve): 12 macrostates, 8969 nnz 3306 second. Non-structured (DSPN-tool): 49M nnz seconds. ~ 7M states

Conclusions General Kronecker structuring of MRP. Efficient matrix-free steady-state solution. Future Works MRP from symmetric nets (SWN) exploiting the symmetric structure ( lumped embedded process ). Model checking with one-clock automata (like CSL TA logic) with Kronecker structure. More efficient computation when subnets are separated by general transitions. Approximate solution based on decomposition. In this case, several general transitions can be enabled simultaneously in separated subnets.