Quantitative evaluation of concurrent systems with non-markovian temporal parameters

Size: px
Start display at page:

Download "Quantitative evaluation of concurrent systems with non-markovian temporal parameters"

Transcription

1 Quantitative evaluation of concurrent systems with non-markovian temporal parameters Enrico Vicario Lab. of Software and Data Science Dept. of Information Engineering, University of Florence, Italy int. symp. on Dependable Computing and the Internet of Things - DCIT 15 Wuhan, Popular Republic of China November 17, 2015 this is about models and stochastic processes,... and non-markovian Processes a method for numerical solution of Markov Regenerative models... with some potential for Dependable Computing and the Internet of Things 1 / 53

2 Outline 1 non-markovian stochastic models and processes stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes 2 transient stochastic tree transient analysis the Oris tool - O 2 version 3 probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol 4 2 / 53

3 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes non-markovian stochastic models and processes some common ground on models, stochastic processes, the Markov condition,... and non-markovian stochastic processes 3 / 53

4 a model with concurrent stochastic durations stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes a cycle of two step failure, detection delay, repair and restart as new stochastic Time Petri Nets (stpn): a class of SPNs with generally distributed durations places encode state conditions, true if at least one token transitions encode events, enabled if all input conditions are true delay from enabling to firing is a random variable at firing, move tokens from input to output places and sample a time to fire for each newly enabled transition 4 / 53

5 a model with concurrent stochastic durations stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes compose with periodic rejuvenation to increase reliability 1 1 tweaked from: S.Garg, A.Puliafito, M.Telek, K.S.Trivedi, "Analysis of software rejuvenation using Markov regenerative stochastic Petri net," Software Reliability Engineering, / 53

6 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes quantitative models open the way to quantitative evaluation rejuvenation reduces the probability of functional failures, but it may also reduce availability quantitative evaluation is made on some underlying stochastic process 6 / 53

7 underlying stochastic process(es) of a model stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes a model identifies a probability space (Ω, F, P) an outcome ω Ω is a run of the model an event in the σ-algebra F is a set of runs the measure of probability P : F [0, 1] is induced by stochastic parameters and by the initial condition a model identifies multiple underlying stochastic processes M: "a" collection of random variables on (Ω, F, P) M = {m(t), t T } m : Ω M continuous time process: T is a continuous set (e.g. time) discrete state space process: M is a discrete set (e.g. markings) Ok,Rej Err,Rej Detected,Clock Ko,Clock Err,Clock Ok,Clock m(t) t 7 / 53

8 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes duration distributions matter - all EXP with DET clock the measure of probability in the probability space of the model depends on support and distribution of durational parameters change durations to EXP (with same mean), keeping the DET clock: (on the meaning of steady state and mixing time in a stochastic process) 8 / 53

9 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes duration distributions matter - all EXP with Erl(5) clock if also the DET clock is changed into a sequence of 5 EXP (Erlang with the same expected value), ripples are completely lost 9 / 53

10 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes about the state of a model and the state of a process in the operational semantics of a model, the state is any abstraction sufficient to get rid of the past history in a stochastic process, the state is the value of "a" random variable can be defined quite arbitrarily and may be not sufficient to be a model state the Markov condition: the process state is also a model state a special underlying stochastic process of an stpn marking process := M = {m(t), t R 0 } m(t) := marking at time t observes only the marking, which not always makes a model state with only EXP or IMM transitions, the (full) marking is also a model state (memoryless property of EXP) with GEN transitions, the model state depends also on remaining times 10 / 53

11 the Markov condition stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes Prob{m(t 1 ) m(t 0 )} = Prob{m(t 1 ) m(t 0 ), m(t 1 ),...m(t N )} N, t 1 t 0 t 1... t N the most recent observation subsumes any previous conditioning the future behavior conditional to the current state is independent from the past history the Markov condition permits the formulation of a renewal argument: decompose a set of runs across a time point where the Markov condition is satisfied ( a kind of compositionality) 11 / 53

12 Underlying stochastic marking process stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes the marking process M of an stpn may belong to different classes GSMP MRP SMP CTMC... depending on the type of distributions and on the conditions of concurrence among timed transitions 2 how GEN durations can continue or be restarted at the firing of transitions 2 GF.Ciardo, R.German, C.Lindemann, "A characterization of the stochastic process underlying a stochastic Petri net," IEEE TSE, / 53

13 Continuous Time Markov Chain (CTMC) stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes if the model includes only IMM or EXP transitions, the marking process always satisfies the marking condition KO 1-p ready start lambda ready,on start lambda idle,on repair beta idle,off repair,ok beta 1:idle,on fail alpha repair beta 2:idle,off off fail alpha repair beta on OK p idle repair beta KO 1-p OK p ready,off fail alpha start lambda start,ko lambda(1-p) 3:ready,off repair,ok beta(p) start lambda the (right-continuous) marking process is a CTMC solution through efficient and mature techniques research frontier on symbolic encoding of the state space not in the scope of this talk 13 / 53

14 Memory and regeneration stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes if the model includes GEN transitions, the marking is in general not a sufficient model state yet, at some points, the marking can be sufficient to characterize future behavior call these points regenerations S2 S1 S3 14 / 53

15 Semi-Markov Process (SMP) -1/2 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes if GEN transitions never persist through any firing the underlying stochastic process regenerates at every step (yet, memory is accumulated during sojourn) p0 t3 t1 p1 t2 t4 p2 t3 t4 S1:p0 S2:p1 S3:p2 t1 t2 Global Kernel G ij (t): the first step from i is before t and reaches j t 1 := time of the first firing G ij (t) := Prob{(t 1 < t) (m(t 1 ) = j) m(t 0 ) = i t 0 = 0} Holding time H i (t): the first step from i is after t H i (t) := Prob{t 1 > t m(t 0 ) = i t 0 = 0} solved through a set of Volterra integral equations of the 2nd type: π ij (t) = H i (t) δ ij + k t 0 dg ik (x) π kj (t x)dx dx 15 / 53

16 Semi-Markov Process (SMP) - 2/2 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes global kernel and holding time derived directly from the model p0 t3 t1 p1 t2 t4 p2 t3 t4 S1:p0 S2:p1 S3:p2 t1 t2 G(t) = t f 1 (x)dx 0 t f 3 (x)(1 F 2 (x)) + f 2 (x)(1 F 3 (x))dx 0 t f 4 (x)dx 0 t 0 f 1 (x)dx 0 t 0 t f 3 (x)(1 F 2 (x))dx 0 f 2 (x)(1 F 3 (x))dx 0 t 0 0 f 4 (x) 0dx 0 H(t) =... and Volterra equation solved by numerical integration but, no memory across subsequent locations 16 / 53

17 Markov Regenerative Process (MRP) - 1/2 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes always, wp1, the process eventually reaches a regeneration (possibly through infinite steps or in unbounded time) p0 p1 t2 t3 [0,1] t0 [0,1] p2 t1 [0,1] p3 t0 P0P1t0 t2 t1 t2 P2P1t2 t1 P2P1t1 Global Kernel G ij (t): the first regeneration from i is j and before t t 1 := time of the first firing G ij (t) := Prob{(t 1 < t) (m(t 1 ) = j) m(t 0 ) = i t 0 = 0} Local Kernel L ij (t): from i, at t no regeneration yet and state j L ij (t) := Prob{(t 1 > t) (m(t) = j) m(t 0 ) = i t 0 = 0} the numerical problem is still Volterra equations of the 2nd type π ij (t) = L ij (t) + t dg ik (x) π kj (t x)dx k 0 dx... but, how to get the kernels? t1 t3 t0 P2P3t3 t3 P0P1 t1 P2P3t2 t2 t2 t0 P0P3t3 t0 P0P3t0 t0 t3 t3 t1 P0P1t1 17 / 53

18 Markov Regenerative Processes (MRP) - 2/2 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes the special case of the enabling restriction: at most one GEN enabled in any tangible marking and thus, GEN transitions never persist to each other S1:P0P1 t0 t2 p0 p1 t2 t3 t0 t4 t1 p2 p3 t1 t0 S2:P0P3 t3 t1 t4 S4:P2P3 t4 t1 S3:P0P1 t2 S5:P2P1 t3 t0 S6:P0P3 t3 t0 the process subordinated to the activity period of a GEN is a CTMC, and kernels can thus be evaluated by uniformization... but, bad news for expressivity: no concurrent overlapping GEN timers 3 GF.Ciardo, R.German, C.Lindemann, "A characterization of the stochastic process underlying a stochastic Petri net," IEEE TSE, A.Bobbio, M.Telek, "Markov regenerative SPN with non-overlapping activity cycles,"ipds95. 5 H.Choi, V.G.Kulkarni, K.S.Trivedi, "Markov Regenerative stochastic Petri Nets," PEVA / 53

19 Generalized Semi Markov Process (GSMP) stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes if GEN transitions overlap their activity cycles, the underlying process may become a Generalized Semi Markov Process (GSMP) (e.g. parallel composition of two or more Semi-Markov Processes) t2 [0,1] p0 p1 t3 [0,1] t0 [0,1] t1 [0,1] p2 p3 t0 P0P1 t1 P2P1t2 P0P3t3 t1 t2 t3 t0 t1 t0 t1 t1 P2P3t3 P2P3t2 t0 P0P1t0 t2 t0 P0P1t1 t3 t2 P2P1t1 t3 t2 P0P3t0 t3 the real complex case is when 2 GEN persist: persistent times-to-fire become dependent variables supported over Difference Bounds Matrix (DBM) domains tb t2 t3 f pa [1,2] ta [1,2] pb p0 [1,2] [1,2] p2 p1 t0 t1 [1,2] [1,2] p3 tau0 tau1 no analytical formulation 19 / 53

20 on the frontier between MRP and GSMP stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes the class of MRP is much wider than the enabling restriction CTMC SMP MRP enabling restriction GSMP a basic example: GG122 preemptive queue: wp1, eventually p 1 p 3 ; at the firing of t 5 the process regenerates 20 / 53

21 stochastic models stochastic processes on the Markov condition classes of non-markovian stochastic processes consolidated approaches to analytic solution (continuous time) Markovian Petri Nets: only IMM or EXP (with unbounded support) Enabling restriction: no concurrently enabled GEN transitions Supplementary variable(s) 6 7 : not viable beyond enabling restriction Deterministic (and) Stochastic Petri Nets 8 9 : only EXP,IMM,DET Phase type approach 10 : Markovian approximation of the model, trade-off between accuracy and complexity, [0, ] supports. 6 R.German, C.Lindemann, "Analysis of stochastic Petri nets by the method of supplementary variables," PEva R.German, M.Telek, "Formal Relation of Markov Renewal Theory and Supplementary Variables in the Analysis of Stochastic Petri Nets," PNPM C.Lindemann, G.S.Schedler, "Numerical analysis of Deterministic and Stochastic Petri Nets with concurrent deterministic transitions," PEva, C.Lindemann, A.Thuemmler, "Transient analysis of Deterministic and Stochastic Petri Nets with concurrent deterministic transitions," PEva, A. Horváth and M. Telek. "Phfit: A general phase-type fitting tool," Performance TOOLS / 53

22 one "recent" approach transient stochastic tree transient analysis the Oris tool - O 2 version the method of stochastic state classes 11 more recent, less consolidated and less known multiple concurrent GEN, possibly over bounded supports hurdled by the number of transitions between regenerations three main concepts compute probabilities over DBM zones that represent continuous sets of reachable states add an age clock to track the correlation between times to fire and absolute time so as to enable transient analysis use transient analysis within regeneration epochs to evaluate local and global kernels, and then resort to Markov Renewal Theory 11 Qest06, TSE09, TSE09b, PEVA12, TSE16 22 / 53

23 transient stochastic tree transient analysis the Oris tool - O 2 version characterize the process after each execution sequence let ρ := t ρ(1) t ρ(2)... tρ(n) be a finite sequence of transitions ρ can be executed with a continuous multivariate set of timings also known as cylinder set, symbolic run,... call state class S ρ the set of states that can be reached through ρ a common marking, but a set of different vectors of remaining times the set has the shape of a Difference Bounds Matrix (DBM) Zone 12 efficient (polynomial) symbolic encoding and manipulation Si Rin Rik Rij Sn Sk Sj stochastic state class evaluate the joint probability density function of the vector of times to fire of states in a DBM zone e.g. Dill, Berthomieu, Vicario, Uppaal 13 TSE09b 23 / 53

24 calculus of stochastic classes - 1/3 transient stochastic tree transient analysis the Oris tool - O 2 version assume that initially all GEN transitions are newly enabled p0 t0 [0,0] p1 p2 p3 t1 [0,10] t2 [5,15] t3 [12,22] ft1(x1) ft2(x2) ft3(x3) remaining times of transitions are distributed independently, in product form, according to their static density function x1 x2 x3 t3 t1 t0 t2 t2 t3 t1 t2 t3 22 tau2 22 tau2 10 tau tau tau tau3 24 / 53

25 calculus of stochastic classes - 2/3 transient stochastic tree transient analysis the Oris tool - O 2 version starting from a product form over a hyper-rectangle tau2 22 tau2 10 tau tau tau tau3... the assumption that t 1 fires first restricts the support and uniformly conditions probabilities 22 tau tau1... at the firing of t 1 a random time has elapsed remaining times to fire of persistent transitions t 2 and t 3 become dependent, and supported over a Difference Bounds Matrix (DBM) zone 22 tau2 12 tau tau tau3 25 / 53

26 calculus of stochastic classes - 3/3 transient stochastic tree transient analysis the Oris tool - O 2 version when subsequent transitions occur, supports remain in the shape of a Difference Bounds Matrix (DBM) zone density functions are continuous piecewise multivariate functions over a partition in DBM sub-zones, continuous across internal borders closed form symbolic derivation for models with EXP, IMM, DET, and ExPol transitions (with possibly bounded support) 14 f s t (x) = K c k x α k e λ k x k for x [EFT s t, LFT s t, ] implementation amounts to joint symbolic enumeration of DBM domains and analytical form of multi-variate joint density functions intertwining due to zone difference constraints (linear, slope 1) 14 L.Carnevali, L.Grassi, E.Vicario, "State-density functions over DBM domains in the analysis of non-markovian models," TSE / 53

27 measures on stochastic state classes transient stochastic tree transient analysis the Oris tool - O 2 version the probability that t 0 fires first (transition probability) is the integral over a subset of the DBM zone Prob{t o} = f τ (x)dx D x 0 x n n t0 t0<tn tn.6 1. the probability to reach a class is the product of transition probabilities on the path from the root 27 / 53

28 transient stochastic tree transient analysis the Oris tool - O 2 version... a measure of probability over the set of runs the tree of stochastic state classes provides an explicit representation for the measure of probability over sets of runs discrete probability to reach a class continuous probability measure over any subset of remaining times when the class is reached characterizes the process at the time when a class is entered... but not with respect to the absolute time when this happens 28 / 53

29 transient stochastic state classes transient stochastic tree transient analysis the Oris tool - O 2 version supplement classes with a global age variable, representing the absolute time when the class is reached 15 technical subtlety: τ age encodes the opposite of the age regard τ age as a special timer, initially set equal to 0, never reset, decreased (to negative values) as time passes t0 t0 tn age 15 A.Horváth, M.Paolieri, L.Ridi, E.Vicario, "Transient analysis of non-markovian models using stochastic state classes," PEva, / 53

30 transient stochastic tree transient analysis the Oris tool - O 2 version measures on transient stochastic state classes probability that class S is reached within time t: π S f τage,τ (x age, x)dx agedx D x age t probability that S is the last entered class at time t S is reached within u t the sojourn time is not lower than t u π S (t) = π S f τage,τ (x age, x)dx agedx D(t) D(t) = D ( x age t) ( x age + Min n{x n} t) t0 t0 -t age -t age 30 / 53

31 transient stochastic tree transient analysis the Oris tool - O 2 version transient analysis straight through the probability measure a straight approach to transient analysis: enumerate classes until the time horizon is overcome not only for MRP, also for GSMP t0 t0 -t age age fairly general termination conditions exact analysis terminates iff the non-deterministic SCG does not reach within time T any possibly immediate cycle analysis with safe approximation ɛ > 0 terminates iff the non-deterministc SCG does not reach within time T any necessarily immediate cycle (time block) yet, the transient stochastic tree grows exponentially with the number of transition firings within the scope of transient analysis 31 / 53

32 transient stochastic tree transient analysis the Oris tool - O 2 version combine stochastic state classes with Markov renewal theory restrain transient analysis within the first epoch use it to evaluate local and global kernels, and then resort to Markov Renewal Theory for MRPs derive kernels through measures on enumerated classes local kernel: starting from i, at time t the marking is j and no regeneration has occurred L ij (t) := Prob (t 1 > t m(t) = j m(t 0 ) = i t 0 = 0) global kernel: starting from i, the first regeneration is before t and leads to j G ij (t) := Prob (t t 1 m(t 1 ) = j m(t 0 ) = i t 0 = 0) get transient probabilities through generalized Markov renewal equations π ij (t) := Prob{m(t) = j m(0) = i} π ij (t) = L ij (t) + t dg ik k x=0 dx (x)π kj(t x)dx 32 / 53

33 transient analysis in the Oris tool transient stochastic tree transient analysis the Oris tool - O 2 version full Java implementation in the Oris tool 16 rich extension of stpn approximation allowed rewards various analysis techniques underlying implementation also available, with many more functions Sirio: symbolic calculus of PDF over DBM PetriNetLib: syntax and semantics of Petri Nets, easily open to extensions abstracteditor: a customizable framework for the production of graph-based formalisms / 53

34 probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol a further aim: extend transient analysis to probabilistic model checking while still using regenerations to break complexity 34 / 53

35 On properties of states and runs probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol transient analysis is about the probability of a state: measure of the set of runs that are in some state i at time t according to the measure of the probability space of the model, induced by initial probabilities and stochastic parameters can be generalized to the probability of a behaviour measure of the set of runs that satisfy some property restricting the sequencing of events and their quantitative timing probabilistic bounded until: Prob{φ 1 Unt [α,β] φ 2 } measure of the set of runs that are in some φ 2 -state at some time t [α, β] after having visited only φ 1 -states TBD drawing of a path satisfying the bounded until property 35 / 53

36 a standard efficient solution for Markovian models probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol if the model is a CTMC 17 evaluate the transient probability π φ 1 i (α) of any state x i that can be reached without visiting any φ 1 -state from each x i evaluate the probability π φ 2 i (β α) that a φ 2 state is reached within β α, without visiting any φ 1 state basically, a renewal argument at time α compose the measure of runs through φ 1 states in time [0, alpha] with the measure of runs through φ 1 states to φ 2 states in [0, β alpha] a CTMC always satisfies the Markov condition, in particular, at time α can be efficiently extended to nested temporal operators, e.g. Prob >0.7 {φ 1 Unt [α,β] Prob >0.3 {φ 2 Unt [γ,δ] φ 3 }} TBD uno schema che illustra l albero con i KO e gli OK 17 C.Baier, B.Haverkort, H.Hermanns, J.P.Katoen, "Model-checking algorithms for continuous-time Markov chains," TSE / 53

37 another suggestive solution for Markovian models probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol express the property as a Deterministic Timed Automaton (DTA) with a single clock distinguishing states in [0, α] and in [α, β] compose the CTMC of the model with the DTA of the property the result is a Markov Regenerative Process under enabling restriction the problem can be reduced to transient analysis less efficient, but open to expressive extension TBD picture of the DTA and the CTMC (based on stpns) suggestion: memory is carried both by the model and by the property the automaton keeps memory from 0 to α, and then from α to β 18 S.Donatelli, S.Haddad, J.Sproston, "Model checking Timed and Stochastic Properties with CSL TA," TSE T.Chen, T.Han, J.P.Katoen, A.Mereacre, "Quantitative model checking of continuous-time Markov chains against timed automata specifications," LICS / 53

38 probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol probabilistic model checking over non-markovian models? remark: in a CTMC, any feasible behavior can occur with non-null probability in any time in (0, ) when we evaluate/decide a time bounded probabilistic until over a CTMC we are evaluating how many behaviors of a model without firm constraints do satisfy a firmly time-constrained property yet, if we are interested in a property with firm time constraints we may be also interested in checking these property on a model that can capture firm time bounds a much hurdled aim, combining the complexities of non Markovian Processes and probabilistic model checking 38 / 53

39 first main concept probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol exploit the measure of probability over the set of runs made explicit by the transient stochastic tree 39 / 53

40 probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol a "straight" approach based on stochastic state classes evaluate φ 1 Unt [α,β] φ 2 during the construction of the stochastic transient tree 20 on-the-fly: restrain state space traversal to φ 1 states, and make (timely) φ 2 states absorbing many pros applicable also to GSMP, beyond the limit of MRP extremely general termination conditions witnesses made explicit as absorbing nodes in the tree open to approximation and heuristics... yet, complexity exponential in the number of transitions fired before β can complexity be broken by composing behaviors at regenerations? 20 A.Horváth, M.Paolieri, L.Ridi, E.Vicario, "Probabilistic Model Checking of non-markovian Models with Concurrent Generally Distributed Timers," QEST / 53

41 a subtle hurdle probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol (as previously mentioned) in probabilistic model checking memory in the model is combined with that in the property even if the model finds a regeneration some memory must be carried about the absolute time so as to determine whether the run is in the time interval [α, β] TBD un disegno che illustra l until che soddisfa la proprieta prima e dopo alpha in principle, this can break every regeneration until α and thus let complexity explode 41 / 53

42 second main concept probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol compose behaviours across regenerations using an extension of generalized Markov renewal equations, that fits the structure of the until operator 42 / 53

43 probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol a solution based on kernels fitting the structure of until bivariate 3-kernels extension of Generalized Markov renewal equations based on Local Kernel L φ 1,φ 2 i (α, β), Global Kernel G φ 1 ik (x), and Conditional Global Kernel H φ 1,φ 2 ik (α, x) π i (α, β) := measure of runs from state i that satisfy π i (α, β) = L φ 1,φ 2 i (α, β) + dg φ 1 ik (x) π k(α x, β x) + k x [0,α] dh φ 1,φ 2 ik (α, x) π k (0, β x) k x [α,β] i, k set of regeneration points the 3 terms account for three classes of successful runs / 53

44 a partition of the set of successful runs probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol L φ 1,φ 2 i (α, β) measures the set of successful runs that reach a φ 2 state in [α, β] before any regeneration k x [0,α] dgφ 1 ik (x) π k(α x, β x) measures successful runs that reach the first regeneration before α and before any φ 2 -state k x [α,β] dhφ 1,φ 2 ik (α, x) π k (0, β x) measures successful runs that reach the first regeneration after α without any φ 2 -state after α 44 / 53

45 third main concept probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol derive the 3 kernels in renewal equations through state space analysis restrained within the first regeneration 45 / 53

46 derivation of kernels through stochastic classes probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol the three kernels can be derived from measures taken on the classes reached within the first regeneration dependence between H φ 1,φ 2 ik (α, x) and L φ 1,φ 2 i (α, β) π i (α, β) = L φ 1,φ 2 i (α, β)+ dg φ 1 ik (x) π k(α x, β x)+ k x [0,α] dh φ 1,φ 2 ik (α, x) π k (0, β x) k x [α,β] i, k set of regeneration points... broken through a diagonal order in the evaluation 46 / 53

47 example: Fischer mutual exclusion protocol probabilistic model checking for Markovian models measure the probability of sets of runs through stochastic classes example: Fischer mutual exclusion protocol / 53

48 key concepts of the approach a method of numerical solution for non-markovian models, with multiple concurrent GEN durations, possibly distributed over firmly bounded supports with a bounded number of steps between regenerations supporting transient analysis, (steady state analysis), and probabilistic model Checking based on combine symbolic state space analysis based on DBM zones with symbolic derivation of multivariate probability distributions use the resulting abstraction to derive kernels of Markov Regenerative Processes resort to numerical integration of generalized Markov renewal equations 48 / 53

49 current direction: from methods to applications move along the chain of reality, stylized facts, models, theory the other way around: identify classes of problems, or cases, where the extended expressivity can be successfully applied joint aim on validating methods and providing concrete results two patterns performance/dependability evaluation of protocols/applications/systems on-line implementation within smart components of protocols/applications/systems both have potential for Dependable Computing and the Internet of Things 49 / 53

50 current direction: from solution methods to modeling cases - 1/2 availability in railways signalling, signalling ETCS-RTCS-level3 21 : impact of communication (un)availability in headway control for a chasing train in the level-3 signalling standard a transient problem, with multiple concurrent GEN durations previous works on steady state, and under enabling restriction 22 Fischer mutual exclusion protocol 23 validation of a distributed synchronization protocol that inherently combines stochastic behavior and firm time bounds a kind of stylized reality case 21 epew Zimmermann 23 TSE16 50 / 53

51 current direction: from solution methods to modeling cases - 2/2 recoverability and quality of service in gas distribution networks 24 : compose the physical behavior of a gas distribution network, with stochastic durations in a maintenance procedure evaluate the distribution of un-served demand due to one/more contingency/planned network sections a kind of cyber-physical problem, for planning or operation engaged with a real industrial development program 25 extension to manage water distribution networks tank levels comprise a continuous element of memory and cast the problem in the context of stochastic-hybrid systems collaboration being established with the water distribution utility of central Tuscany 24 Pasm14, SafeComp14, TII-Submitted / 53

52 current direction: on-line transient analysis - 1/2 maintain an on-line stochastic model observations received from some sensing or metering infrastructure on-line transient analysis rejuvenated at each new observation aims: diagnosis, prediction, and scheduling compare predicted probabilities against actual observations, to get a likelihood for the classification of the current state predict evolution from plausible current states, weighed by likelihood, to get the hitting time distribution of some critical condition use predicted hitting times, to schedule the time point of some typed action 52 / 53

53 current direction: on-line transient analysis - 2/2 a kind of application tailored for a method able to precisely keep the information of transient behavior... (as mentioned) on the meaning of steady state in a stochastic process applicable to a variety of scenarios first results in Activity Recognition for Ambient Assisted Living Qest15 53 / 53

2. Stochastic Time Petri Nets

2. Stochastic Time Petri Nets 316 A. Horváth et al. / Performance Evaluation 69 (2012) 315 335 kernels can be expressed in closed-form in terms of the exponential of the matrix describing the subordinated CTMC [8] and evaluated numerically

More information

A framework for simulation and symbolic state space analysis of non-markovian models

A framework for simulation and symbolic state space analysis of non-markovian models A framework for simulation and symbolic state space analysis of non-markovian models Laura Carnevali, Lorenzo Ridi, Enrico Vicario SW Technologies Lab (STLab) - Dip. Sistemi e Informatica (DSI) - Univ.

More information

Performance Evaluation. Transient analysis of non-markovian models using stochastic state classes

Performance Evaluation. Transient analysis of non-markovian models using stochastic state classes Performance Evaluation ( ) Contents lists available at SciVerse ScienceDirect Performance Evaluation journal homepage: www.elsevier.com/locate/peva Transient analysis of non-markovian models using stochastic

More information

Exploiting non-deterministic analysis in the integration of transient solution techniques for Markov Regenerative Processes

Exploiting non-deterministic analysis in the integration of transient solution techniques for Markov Regenerative Processes Exploiting non-deterministic analysis in the integration of transient solution techniques for Markov Regenerative Processes Marco Biagi 1, Laura Carnevali 1, Marco Paolieri, 2 Tommaso Papini 1, and Enrico

More information

A stochastic model-based approach to online event prediction and response scheduling

A stochastic model-based approach to online event prediction and response scheduling A stochastic model-based approach to online event prediction and response scheduling M. Biagi, L. Carnevali, M. Paolieri, F. Patara, E. Vicario Department of Information Engineering, University of Florence,

More information

Probabilistic Model Checking of non-markovian Models with Concurrent Generally Distributed Timers

Probabilistic Model Checking of non-markovian Models with Concurrent Generally Distributed Timers Probabilistic Model Checking of non-markovian Models with Concurrent Generally Distributed Timers András Horváth, Marco Paolieri, Lorenzo Ridi, Enrico Vicario Università di Torino - horvath@di.unito.it

More information

Probabilistic Deadline Miss Analysis of Real-Time Systems Using Regenerative Transient Analysis

Probabilistic Deadline Miss Analysis of Real-Time Systems Using Regenerative Transient Analysis Probabilistic Deadline Miss Analysis of Real-Time Systems Using Regenerative Transient Analysis L. Carnevali 1, A. Melani 2, L. Santinelli 3, G. Lipari 4 1 Department of Information Engineering, University

More information

Proxel-Based Simulation of Stochastic Petri Nets Containing Immediate Transitions

Proxel-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 information

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA

Time(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 information

From Stochastic Processes to Stochastic Petri Nets

From Stochastic Processes to Stochastic Petri Nets From Stochastic Processes to Stochastic Petri Nets Serge Haddad LSV CNRS & ENS Cachan & INRIA Saclay Advanced Course on Petri Nets, the 16th September 2010, Rostock 1 Stochastic Processes and Markov Chains

More information

Stochastic Petri Net. Ben, Yue (Cindy) 2013/05/08

Stochastic Petri Net. Ben, Yue (Cindy) 2013/05/08 Stochastic Petri Net 2013/05/08 2 To study a formal model (personal view) Definition (and maybe history) Brief family tree: the branches and extensions Advantages and disadvantages for each Applications

More information

An inspection-based compositional approach to the quantitative evaluation of assembly lines

An inspection-based compositional approach to the quantitative evaluation of assembly lines An inspection-based compositional approach to the quantitative evaluation of assembly lines Marco Biagi 1 Laura Carnevali 1 Tommaso Papini 1 Kumiko Tadano 2 Enrico Vicario 1 1 Department of Information

More information

Time and Timed Petri Nets

Time 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 information

Non-Markovian analysis for model-driven engineering of real-time software

Non-Markovian analysis for model-driven engineering of real-time software Non-Markovian analysis for model-driven engineering of real-time software Laura Carnevali, Marco Paolieri, Alessandro Santoni, Enrico Vicario Dipartimento di Ingegneria dell Informazione Università di

More information

Stochastic Petri Nets. Jonatan Lindén. Modelling SPN GSPN. Performance measures. Almost none of the theory. December 8, 2010

Stochastic Petri Nets. Jonatan Lindén. Modelling SPN GSPN. Performance measures. Almost none of the theory. December 8, 2010 Stochastic Almost none of the theory December 8, 2010 Outline 1 2 Introduction A Petri net (PN) is something like a generalized automata. A Stochastic Petri Net () a stochastic extension to Petri nets,

More information

Markovian techniques for performance analysis of computer and communication systems

Markovian techniques for performance analysis of computer and communication systems Markovian techniques for performance analysis of computer and communication systems Miklós Telek C.Sc./Ph.D. of technical science Dissertation Department of Telecommunications Technical University of Budapest

More information

Stochastic Petri Net

Stochastic Petri Net Stochastic Petri Net Serge Haddad LSV ENS Cachan & CNRS & INRIA haddad@lsv.ens-cachan.fr Petri Nets 2013, June 24th 2013 1 Stochastic Petri Net 2 Markov Chain 3 Markovian Stochastic Petri Net 4 Generalized

More information

Recent results on Timed Systems

Recent 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 information

Models for Efficient Timed Verification

Models for Efficient Timed Verification Models for Efficient Timed Verification François Laroussinie LSV / ENS de Cachan CNRS UMR 8643 Monterey Workshop - Composition of embedded systems Model checking System Properties Formalizing step? ϕ Model

More information

AN INTRODUCTION TO DISCRETE-EVENT SIMULATION

AN INTRODUCTION TO DISCRETE-EVENT SIMULATION AN INTRODUCTION TO DISCRETE-EVENT SIMULATION Peter W. Glynn 1 Peter J. Haas 2 1 Dept. of Management Science and Engineering Stanford University 2 IBM Almaden Research Center San Jose, CA CAVEAT: WE ARE

More information

Time Petri Nets. Miriam Zia School of Computer Science McGill University

Time 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 information

Transient Analysis of Networks of Stochastic Timed Automata Using Stochastic State Classes

Transient Analysis of Networks of Stochastic Timed Automata Using Stochastic State Classes Transient Analysis of Networks of Stochastic Timed Automata Using Stochastic State Classes Paolo Ballarini 1, Nathalie Bertrand 2, András Horváth 3, Marco Paolieri 4, and Enrico Vicario 4 1 École Centrale

More information

CASPA - A Tool for Symbolic Performance Evaluation and Stochastic Model Checking

CASPA - A Tool for Symbolic Performance Evaluation and Stochastic Model Checking CASPA - A Tool for Symbolic Performance Evaluation and Stochastic Model Checking Boudewijn R. Haverkort 1, Matthias Kuntz 1, Martin Riedl 2, Johann Schuster 2, Markus Siegle 2 1 : Universiteit Twente 2

More information

7. Queueing Systems. 8. Petri nets vs. State Automata

7. Queueing Systems. 8. Petri nets vs. State Automata 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

More information

Probabilistic Model Checking and Strategy Synthesis for Robot Navigation

Probabilistic Model Checking and Strategy Synthesis for Robot Navigation Probabilistic Model Checking and Strategy Synthesis for Robot Navigation Dave Parker University of Birmingham (joint work with Bruno Lacerda, Nick Hawes) AIMS CDT, Oxford, May 2015 Overview Probabilistic

More information

Analysis and Optimization of Discrete Event Systems using Petri Nets

Analysis 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 information

Specification models and their analysis Petri Nets

Specification 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 information

STOCHASTIC MODELS FOR RELIABILITY, AVAILABILITY, AND MAINTAINABILITY

STOCHASTIC MODELS FOR RELIABILITY, AVAILABILITY, AND MAINTAINABILITY STOCHASTIC MODELS FOR RELIABILITY, AVAILABILITY, AND MAINTAINABILITY Ph.D. Assistant Professor Industrial and Systems Engineering Auburn University RAM IX Summit November 2 nd 2016 Outline Introduction

More information

Description Framework for Proxel-Based Simulation of a General Class of Stochastic Models

Description Framework for Proxel-Based Simulation of a General Class of Stochastic Models Description Framework for Proxel-Based Simulation of a General Class of Stochastic Models Sanja Lazarova-Molnar, Graham Horton Institute for Simulation and Graphics University of Magdeburg Universitaetsplatz

More information

The State Explosion Problem

The 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 information

Availability. M(t) = 1 - e -mt

Availability. M(t) = 1 - e -mt Availability Availability - A(t) the probability that the system is operating correctly and is available to perform its functions at the instant of time t More general concept than reliability: failure

More information

Chapter 2 SOME ANALYTICAL TOOLS USED IN THE THESIS

Chapter 2 SOME ANALYTICAL TOOLS USED IN THE THESIS Chapter 2 SOME ANALYTICAL TOOLS USED IN THE THESIS 63 2.1 Introduction In this chapter we describe the analytical tools used in this thesis. They are Markov Decision Processes(MDP), Markov Renewal process

More information

Timed Automata VINO 2011

Timed Automata VINO 2011 Timed Automata VINO 2011 VeriDis Group - LORIA July 18, 2011 Content 1 Introduction 2 Timed Automata 3 Networks of timed automata Motivation Formalism for modeling and verification of real-time systems.

More information

EE 445 / 850: Final Examination

EE 445 / 850: Final Examination EE 445 / 850: Final Examination Date and Time: 3 Dec 0, PM Room: HLTH B6 Exam Duration: 3 hours One formula sheet permitted. - Covers chapters - 5 problems each carrying 0 marks - Must show all calculations

More information

Methods 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) 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 information

14 Random Variables and Simulation

14 Random Variables and Simulation 14 Random Variables and Simulation In this lecture note we consider the relationship between random variables and simulation models. Random variables play two important roles in simulation models. We assume

More information

Stochastic Petri Net

Stochastic Petri Net Stochastic Petri Net Serge Haddad LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA haddad@lsv.ens-cachan.fr Petri Nets 2016, June 20th 2016 1 Stochastic Petri Net 2 Markov Chain 3 Markovian Stochastic

More information

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford Probabilistic Model Checking Michaelmas Term 2011 Dr. Dave Parker Department of Computer Science University of Oxford Overview CSL model checking basic algorithm untimed properties time-bounded until the

More information

SFM-11:CONNECT Summer School, Bertinoro, June 2011

SFM-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 information

Stochastic Simulation.

Stochastic Simulation. Stochastic Simulation. (and Gillespie s algorithm) Alberto Policriti Dipartimento di Matematica e Informatica Istituto di Genomica Applicata A. Policriti Stochastic Simulation 1/20 Quote of the day D.T.

More information

Transient behaviour in highly dependable Markovian systems: new regimes, many paths.

Transient behaviour in highly dependable Markovian systems: new regimes, many paths. Transient behaviour in highly dependable Markovian systems: new regimes, many paths. Daniël Reijsbergen Pieter-Tjerk de Boer Werner Scheinhardt University of Twente RESIM, June 22nd, 2010 Outline Problem

More information

Polynomial-Time Verification of PCTL Properties of MDPs with Convex Uncertainties and its Application to Cyber-Physical Systems

Polynomial-Time Verification of PCTL Properties of MDPs with Convex Uncertainties and its Application to Cyber-Physical Systems Polynomial-Time Verification of PCTL Properties of MDPs with Convex Uncertainties and its Application to Cyber-Physical Systems Alberto Puggelli DREAM Seminar - November 26, 2013 Collaborators and PIs:

More information

Modelling M/G/1 queueing systems with server vacations using stochastic Petri nets

Modelling M/G/1 queueing systems with server vacations using stochastic Petri nets Volume 22 (2), pp. 131 154 http://www.orssa.org.za ORiON ISSN 529-191-X c 26 Modelling M/G/1 queueing systems with server vacations using stochastic Petri nets K Ramanath P Lakshmi Received: 12 November

More information

DES. 4. Petri Nets. Introduction. Different Classes of Petri Net. Petri net properties. Analysis of Petri net models

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 information

A Symbolic Approach to the Analysis of Multi-Formalism Markov Reward Models

A Symbolic Approach to the Analysis of Multi-Formalism Markov Reward Models A Symbolic Approach to the Analysis of Multi-Formalism Markov Reward Models Kai Lampka, Markus Siegle IT Department Uppsala University, Sweden Bundeswehr University Munich, Germany Version of March 14,

More information

for System Modeling, Analysis, and Optimization

for System Modeling, Analysis, and Optimization Fundamental Algorithms for System Modeling, Analysis, and Optimization Stavros Tripakis UC Berkeley EECS 144/244 Fall 2013 Copyright 2013, E. A. Lee, J. Roydhowdhury, S. A. Seshia, S. Tripakis All rights

More information

Markov Reliability and Availability Analysis. Markov Processes

Markov Reliability and Availability Analysis. Markov Processes Markov Reliability and Availability Analysis Firma convenzione Politecnico Part II: Continuous di Milano e Time Veneranda Discrete Fabbrica State del Duomo di Milano Markov Processes Aula Magna Rettorato

More information

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks Recap Probability, stochastic processes, Markov chains ELEC-C7210 Modeling and analysis of communication networks 1 Recap: Probability theory important distributions Discrete distributions Geometric distribution

More information

Composition of product-form Generalized Stochastic Petri Nets: a modular approach

Composition 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 information

As 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. 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 information

Stochastic process. X, a series of random variables indexed by t

Stochastic process. X, a series of random variables indexed by t Stochastic process X, a series of random variables indexed by t X={X(t), t 0} is a continuous time stochastic process X={X(t), t=0,1, } is a discrete time stochastic process X(t) is the state at time t,

More information

DISTINGUING NON-DETERMINISTIC TIMED FINITE STATE MACHINES

DISTINGUING NON-DETERMINISTIC TIMED FINITE STATE MACHINES DISTINGUING NON-DETERMINISTIC TIMED FINITE STATE MACHINES Maxim Gromov 1, Khaled El-Fakih 2, Natalia Shabaldina 1, Nina Yevtushenko 1 1 Tomsk State University, 36 Lenin Str.. Tomsk, 634050, Russia gromov@sibmail.com,

More information

TPN are devoted to specify and verify properties of systems where timing is a critical parameter that may affect the behavior of the system. In this l

TPN are devoted to specify and verify properties of systems where timing is a critical parameter that may affect the behavior of the system. In this l URL: http://www.elsevier.nl/locate/entcs/volume52.html 8 pages Petri Nets with Discrete Phase Type Timing: A Bridge Between Stochastic and Functional Analysis Andrea Bobbio DISTA, Universit a del Piemonte

More information

Stochastic Models: Markov Chains and their Generalizations

Stochastic Models: Markov Chains and their Generalizations Scuola di Dottorato in Scienza ed Alta Tecnologia Dottorato in Informatica Universita di Torino Stochastic Models: Markov Chains and their Generalizations Gianfranco Balbo e Andras Horvath Outline Introduction

More information

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford

Probabilistic 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 information

Causality in Concurrent Systems

Causality in Concurrent Systems Causality in Concurrent Systems F. Russo Vrije Universiteit Brussel Belgium S.Crafa Università di Padova Italy HaPoC 31 October 2013, Paris Causality in Concurrent Systems software, hardware or even physical

More information

MODELLING DYNAMIC RELIABILITY VIA FLUID PETRI NETS

MODELLING DYNAMIC RELIABILITY VIA FLUID PETRI NETS MODELLING DYNAMIC RELIABILITY VIA FLUID PETRI NETS Daniele Codetta-Raiteri, Dipartimento di Informatica, Università di Torino, Italy Andrea Bobbio, Dipartimento di Informatica, Università del Piemonte

More information

Discrete Event Systems Exam

Discrete 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 information

Safety and Reliability of Embedded Systems. (Sicherheit und Zuverlässigkeit eingebetteter Systeme) Fault Tree Analysis Obscurities and Open Issues

Safety and Reliability of Embedded Systems. (Sicherheit und Zuverlässigkeit eingebetteter Systeme) Fault Tree Analysis Obscurities and Open Issues (Sicherheit und Zuverlässigkeit eingebetteter Systeme) Fault Tree Analysis Obscurities and Open Issues Content What are Events? Examples for Problematic Event Semantics Inhibit, Enabler / Conditioning

More information

The Verification of Real Time Systems using the TINA Tool

The Verification of Real Time Systems using the TINA Tool Proceedings of the 17th World Congress The International Federation of Automatic Control The Verification of Real Time Systems using the TINA Tool Pedro M. Gonzalez del Foyo Jose Reinaldo Silva Dept. Of

More information

A comment on Boucherie product-form results

A comment on Boucherie product-form results A comment on Boucherie product-form results Andrea Marin Dipartimento di Informatica Università Ca Foscari di Venezia Via Torino 155, 30172 Venezia Mestre, Italy {balsamo,marin}@dsi.unive.it Abstract.

More information

Lecture Notes 7 Random Processes. Markov Processes Markov Chains. Random Processes

Lecture Notes 7 Random Processes. Markov Processes Markov Chains. Random Processes Lecture Notes 7 Random Processes Definition IID Processes Bernoulli Process Binomial Counting Process Interarrival Time Process Markov Processes Markov Chains Classification of States Steady State Probabilities

More information

A General Testability Theory: Classes, properties, complexity, and testing reductions

A General Testability Theory: Classes, properties, complexity, and testing reductions A General Testability Theory: Classes, properties, complexity, and testing reductions presenting joint work with Luis Llana and Pablo Rabanal Universidad Complutense de Madrid PROMETIDOS-CM WINTER SCHOOL

More information

Markov Model. Model representing the different resident states of a system, and the transitions between the different states

Markov Model. Model representing the different resident states of a system, and the transitions between the different states Markov Model Model representing the different resident states of a system, and the transitions between the different states (applicable to repairable, as well as non-repairable systems) System behavior

More information

THEORY OF SYSTEMS MODELING AND ANALYSIS. Henny Sipma Stanford University. Master class Washington University at St Louis November 16, 2006

THEORY OF SYSTEMS MODELING AND ANALYSIS. Henny Sipma Stanford University. Master class Washington University at St Louis November 16, 2006 THEORY OF SYSTEMS MODELING AND ANALYSIS Henny Sipma Stanford University Master class Washington University at St Louis November 16, 2006 1 1 COURSE OUTLINE 8:37-10:00 Introduction -- Computational model

More information

Modeling & Control of Hybrid Systems. Chapter 7 Model Checking and Timed Automata

Modeling & Control of Hybrid Systems. Chapter 7 Model Checking and Timed Automata Modeling & Control of Hybrid Systems Chapter 7 Model Checking and Timed Automata Overview 1. Introduction 2. Transition systems 3. Bisimulation 4. Timed automata hs check.1 1. Introduction Model checking

More information

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for?

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for? Computer Engineering and Networks Overview Discrete Event Systems Verification of Finite Automata Lothar Thiele Introduction Binary Decision Diagrams Representation of Boolean Functions Comparing two circuits

More information

Lecture 4 The stochastic ingredient

Lecture 4 The stochastic ingredient Lecture 4 The stochastic ingredient Luca Bortolussi 1 Alberto Policriti 2 1 Dipartimento di Matematica ed Informatica Università degli studi di Trieste Via Valerio 12/a, 34100 Trieste. luca@dmi.units.it

More information

Multi-State Availability Modeling in Practice

Multi-State Availability Modeling in Practice Multi-State Availability Modeling in Practice Kishor S. Trivedi, Dong Seong Kim, Xiaoyan Yin Depart ment of Electrical and Computer Engineering, Duke University, Durham, NC 27708 USA kst@ee.duke.edu, {dk76,

More information

On Model Checking Techniques for Randomized Distributed Systems. Christel Baier Technische Universität Dresden

On Model Checking Techniques for Randomized Distributed Systems. Christel Baier Technische Universität Dresden On Model Checking Techniques for Randomized Distributed Systems Christel Baier Technische Universität Dresden joint work with Nathalie Bertrand Frank Ciesinski Marcus Größer / 6 biological systems, resilient

More information

Automata-based Verification - III

Automata-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 information

Non-Markovian performability evaluation of ERTMS/ETCS Level 3

Non-Markovian performability evaluation of ERTMS/ETCS Level 3 Non-Markovian performability evaluation of ERTMS/ETCS Level 3 Laura Carnevali 1, Francesco Flammini 2, Marco Paolieri 1, and Enrico Vicario 1 1 Department of Information Engineering, University of Florence,

More information

Probability, Random Processes and Inference

Probability, Random Processes and Inference INSTITUTO POLITÉCNICO NACIONAL CENTRO DE INVESTIGACION EN COMPUTACION Laboratorio de Ciberseguridad Probability, Random Processes and Inference Dr. Ponciano Jorge Escamilla Ambrosio pescamilla@cic.ipn.mx

More information

CSL model checking of biochemical networks with Interval Decision Diagrams

CSL model checking of biochemical networks with Interval Decision Diagrams CSL model checking of biochemical networks with Interval Decision Diagrams Brandenburg University of Technology Cottbus Computer Science Department http://www-dssz.informatik.tu-cottbus.de/software/mc.html

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning March May, 2013 Schedule Update Introduction 03/13/2015 (10:15-12:15) Sala conferenze MDPs 03/18/2015 (10:15-12:15) Sala conferenze Solving MDPs 03/20/2015 (10:15-12:15) Aula Alpha

More information

What is Temporal Logic? The Basic Paradigm. The Idea of Temporal Logic. Formulas

What is Temporal Logic? The Basic Paradigm. The Idea of Temporal Logic. Formulas What is Temporal Logic? A logical formalism to describe sequences of any kind. We use it to describe state sequences. An automaton describes the actions of a system, a temporal logic formula describes

More information

STOCHASTIC PROCESSES Basic notions

STOCHASTIC PROCESSES Basic notions J. Virtamo 38.3143 Queueing Theory / Stochastic processes 1 STOCHASTIC PROCESSES Basic notions Often the systems we consider evolve in time and we are interested in their dynamic behaviour, usually involving

More information

1 IEOR 4701: Continuous-Time Markov Chains

1 IEOR 4701: Continuous-Time Markov Chains Copyright c 2006 by Karl Sigman 1 IEOR 4701: Continuous-Time Markov Chains A Markov chain in discrete time, {X n : n 0}, remains in any state for exactly one unit of time before making a transition (change

More information

ADVANCED ROBOTICS. PLAN REPRESENTATION Generalized Stochastic Petri nets and Markov Decision Processes

ADVANCED 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 information

The Underlying Semantics of Transition Systems

The Underlying Semantics of Transition Systems The Underlying Semantics of Transition Systems J. M. Crawford D. M. Goldschlag Technical Report 17 December 1987 Computational Logic Inc. 1717 W. 6th St. Suite 290 Austin, Texas 78703 (512) 322-9951 1

More information

Stochastic models in product form: the (E)RCAT methodology

Stochastic models in product form: the (E)RCAT methodology Stochastic models in product form: the (E)RCAT methodology 1 Maria Grazia Vigliotti 2 1 Dipartimento di Informatica Università Ca Foscari di Venezia 2 Department of Computing Imperial College London Second

More information

Recognizing Safety and Liveness by Alpern and Schneider

Recognizing Safety and Liveness by Alpern and Schneider Recognizing Safety and Liveness by Alpern and Schneider Calvin Deutschbein 17 Jan 2017 1 Intro 1.1 Safety What is safety? Bad things do not happen For example, consider the following safe program in C:

More information

A Brief Introduction to Model Checking

A Brief Introduction to Model Checking A Brief Introduction to Model Checking Jan. 18, LIX Page 1 Model Checking A technique for verifying finite state concurrent systems; a benefit on this restriction: largely automatic; a problem to fight:

More information

Control Synthesis of Discrete Manufacturing Systems using Timed Finite Automata

Control Synthesis of Discrete Manufacturing Systems using Timed Finite Automata Control Synthesis of Discrete Manufacturing Systems using Timed Finite utomata JROSLV FOGEL Institute of Informatics Slovak cademy of Sciences ratislav Dúbravská 9, SLOVK REPULIC bstract: - n application

More information

Probabilistic Model Checking Michaelmas Term Dr. Dave Parker. Department of Computer Science University of Oxford

Probabilistic 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 Next few lectures Today: Discrete-time Markov chains (continued) Mon 2pm: Probabilistic

More information

57:022 Principles of Design II Final Exam Solutions - Spring 1997

57:022 Principles of Design II Final Exam Solutions - Spring 1997 57:022 Principles of Design II Final Exam Solutions - Spring 1997 Part: I II III IV V VI Total Possible Pts: 52 10 12 16 13 12 115 PART ONE Indicate "+" if True and "o" if False: + a. If a component's

More information

Automata-based Verification - III

Automata-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 information

Computer-Aided Program Design

Computer-Aided Program Design Computer-Aided Program Design Spring 2015, Rice University Unit 3 Swarat Chaudhuri February 5, 2015 Temporal logic Propositional logic is a good language for describing properties of program states. However,

More information

CHAPTER 3 MATHEMATICAL AND SIMULATION TOOLS FOR MANET ANALYSIS

CHAPTER 3 MATHEMATICAL AND SIMULATION TOOLS FOR MANET ANALYSIS 44 CHAPTER 3 MATHEMATICAL AND SIMULATION TOOLS FOR MANET ANALYSIS 3.1 INTRODUCTION MANET analysis is a multidimensional affair. Many tools of mathematics are used in the analysis. Among them, the prime

More information

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1 Queueing systems Renato Lo Cigno Simulation and Performance Evaluation 2014-15 Queueing systems - Renato Lo Cigno 1 Queues A Birth-Death process is well modeled by a queue Indeed queues can be used to

More information

A Markov model for estimating the remaining life of electrical insulation in distribution transformer

A Markov model for estimating the remaining life of electrical insulation in distribution transformer AMERICAN JOURNAL OF SCIENTIFIC AND INDUSTRIAL RESEARCH 2010, Science Huβ, http://www.scihub.org/ajsir ISSN: 2153-649X doi:10.5251/ajsir.2010.1.3.539.548 A Markov model for estimating the remaining life

More information

models, languages, dynamics Eugene Asarin PIMS/EQINOCS Workshop on Automata Theory and Symbolic Dynamics LIAFA - University Paris Diderot and CNRS

models, languages, dynamics Eugene Asarin PIMS/EQINOCS Workshop on Automata Theory and Symbolic Dynamics LIAFA - University Paris Diderot and CNRS models, s, LIAFA - University Paris Diderot and CNRS PIMS/EQINOCS Workshop on Automata Theory and Symbolic Dynamics Context A model for verification of real-time systems Invented by Alur and Dill in early

More information

Chapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

Chapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Chapter 2. Poisson Processes Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan Outline Introduction to Poisson Processes Definition of arrival process Definition

More information

Learning 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 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 information

Varieties of Stochastic Calculi

Varieties of Stochastic Calculi Research is what I'm doing when I don't know what I'm doing. Wernher Von Braun. Artificial Biochemistry Varieties of Stochastic Calculi Microsoft Research Trento, 26-5-22..26 www.luca.demon.co.uk/artificialbiochemistry.htm

More information

On Finding Optimal Policies for Markovian Decision Processes Using Simulation

On Finding Optimal Policies for Markovian Decision Processes Using Simulation On Finding Optimal Policies for Markovian Decision Processes Using Simulation Apostolos N. Burnetas Case Western Reserve University Michael N. Katehakis Rutgers University February 1995 Abstract A simulation

More information

MQNA - Markovian Queueing Networks Analyser

MQNA - Markovian Queueing Networks Analyser MQNA - Markovian Queueing Networks Analyser Leonardo Brenner Paulo Fernandes Afonso Sales PUCRS, Brazil PUCRS, Brazil PUCRS, Brazil lbrenner@inf.pucrs.br paulof@inf.pucrs.br asales@inf.pucrs.br Abstract

More information

A 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 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 information

Simulation of Spiking Neural P Systems using Pnet Lab

Simulation 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 information

Stochastic Games with Time The value Min strategies Max strategies Determinacy Finite-state games Cont.-time Markov chains

Stochastic Games with Time The value Min strategies Max strategies Determinacy Finite-state games Cont.-time Markov chains Games with Time Finite-state Masaryk University Brno GASICS 00 /39 Outline Finite-state stochastic processes. Games over event-driven stochastic processes. Strategies,, determinacy. Existing results for

More information