Use of Monte Carlo when estimating reliability of complex systems - - PowerPoint PPT Presentation

use of monte carlo when estimating reliability of complex
SMART_READER_LITE
LIVE PREVIEW

Use of Monte Carlo when estimating reliability of complex systems - - PowerPoint PPT Presentation

Use of Monte Carlo when estimating reliability of complex systems COMPSTAT 2010 : August 27, 2010 Jaromir Antoch, Yves Dutuit, Julie Berthon Charles University Prague, Thales Bordeaux, University Bordeaux 1 Clusters and scan statistics :


slide-1
SLIDE 1

Jaromir Antoch, Yves Dutuit, Julie Berthon

Use of Monte Carlo when estimating reliability of complex systems

COMPSTAT 2010 : August 27, 2010

Charles University Prague, Thales Bordeaux, University Bordeaux 1

slide-2
SLIDE 2

1

  • Clusters and scan statistics : simple example
  • Simulation methods

 Monte-Carlo  Petri nets

  • Markov approach

 Simplified Markov chain - one scan window  Simplified Markov chain - double scan window  Complete Markov chain

  • Simulation results and comparison
  • Conclusions

Charles University Prague, Thales Bordeaux, University Bordeaux 1

slide-3
SLIDE 3

2

Charles University Prague, Thales Bordeaux, University Bordeaux 1

Scan statistics allow to evaluate or approximer probability of occurence of such a “cluster” of events.

August 23 Flight 204 of Trans Crached approaching Amazonie

Unreliable series, isn’t it, BUT…

August 2nd Flight 358 of Air France went out of runways during landing in Toronto August 6 Flight 1153 of Tuninter landed on see close to Palermo August 14 Flight 522 of Hélios crashed into a mountain close to Athens August 16 Flight 1153 lof West Caribbean Crached in Venezuela

slide-4
SLIDE 4

3

Charles University Prague, Thales Bordeaux, University Bordeaux 1

Goal : calculate probability that we will observe a cluster of k or more events in a scanning windows of length w moving during a fixed period of length T.

  • Any window of length w can constain a cluster
  • Windows overlap

Problems

slide-5
SLIDE 5

4

Two probability models :

  • Bernoulli
  • Poisson

) λ P( ) Be( p

Example:

       day 10 in events 3 : (10,3) k) (w, mean) (on year per events 8 to correspond p

  • r

λ days 365 i.e. year,

  • ne

T

Solutions

  • Monte Carlo simulations
  • direct (implemented using a specific algorithm)
  • supported by Petri nets
  • Markov chains
slide-6
SLIDE 6

5

Charles University Prague, Thales Bordeaux, University Bordeaux 1

Direct Monte-Carlo simulation

  • Dates of accidents are generated along the considered distribuion to cover given period
  • f observation [0,T[
  • List of dates is scanned until the cluster is observed
  • Counter of clusters - Nb_Cluster – is incremented by 1

T ε ... ε ε

S 2 1

    

We estimate unknown parameter using the quantity

N Nb_Cluster

N est is number of repetitions of the simulation.

slide-7
SLIDE 7

6

Use of Petri nets stimulating Monte Carlo simulation

  • Counting processes (simple counting medium)
  • 2 places and 2 transitions
  • Initialization
  • place 1 is set to one
  • Nb_Cluster = 0
  • Variables εi (i =1,...,k) indicates dates of k consecutive

accidents

  • Index I allows to calculate continuously time elapsed

between eventsl i and (i+k-1)

  • Nb_Cluster passe à 1 when k accidents appear within a

window of lentgh w

Charles University Prague, Thales Bordeaux, University Bordeaux 1

slide-8
SLIDE 8

7

Charles University Prague, Thales Bordeaux, University Bordeaux 1

MARKOV MODELS

Scanning observation period

  • Xi… random variable denoting number of events

in interval [i-1,i[

  • N(u,w)… random variable counting number of

events in window [u,u+w[

  • p probability that an event will appear in a

subinterval of the length equal t o1

Xi N(u,w) T 1 2 3 i-1 i u u+w

Notation

Bernoulli model

     p

  • 1

q y probabilit with p y probabilit with 1

i

X

slide-9
SLIDE 9

8

Charles University Prague, Thales Bordeaux, University Bordeaux 1 Xu+w+1 Xu+1

From window N(u,w) à to window N(u+1,w)

1 w u 1 u

X X ) w , u ( N ) w , 1 u ( N

   

  

dependent independent

FIRST MARKOV MODEL

w n ) n ) w , u ( N 1 X ( P

1 u

  

w n 1 ) n ) w , u ( N X ( P

1 u

   

“Lost” of random variable Xu+1 “Arrival” of random variable Xu+w+1

slide-10
SLIDE 10

9

1

E E0 E1 E2 E3        w 1 1 p p q w q w 2q        w 2 1 p         w 1 1 q w p         w 2 1 q w 2p

1

E E0 E1 E2 E3        w 1 1 p p q w q w 2q        w 2 1 p         w 1 1 q w p         w 2 1 q w 2p

Charles University Prague, Thales Bordeaux, University Bordeaux 1 Probability of one cluster of 3 events or more in a window of size w=10

States: E0, E1, E2 : 0, 1 or 2 events in current window E3 : 3 events or more in current window Markov chain

FIRST MARKOV MODEL

slide-11
SLIDE 11

10

Charles University Prague, Thales Bordeaux, University Bordeaux 1

                      1 w 2 w q w 2p w q 2 w 1 w p w 1 w q w p w q p q M

Transition matrix Vector of initial probabilities

                 

2

  • w

2 1

  • w

w 2

  • w

2 1

  • w

w

q p pq q 1 q p pq q X

T w T w

Number of iterations

T T 1 2 3 4 T T 2 1 T T N=T-w+1 T T 1 2 3 4 T T 2 1 T T T T 1 2 3 T T 1 2 3 4 T T 2 1 1 T T N=T-w+1

FIRST MARKOV MODEL

slide-12
SLIDE 12

11

Probability to find cluster consisting of k=3 events or more in window of size w=10 scanning the period of length T=365 is given by product MNX N=356 FIRST MARKOV MODEL

slide-13
SLIDE 13

12

Problem : Model allows the “ways” which cannot be realized in practice

E0 E0 E1 E0 E1 E1 SECOND MARKOV MODEL

slide-14
SLIDE 14

13

Division of the scanning window into two sub-windows

E0 E’

1

E1 SECOND MARKOV MODEL

slide-15
SLIDE 15

14

Transition matrix is matrix of size D×D avec D=k(k-1)+1 State is: either pair (i,j) if i+j<k absorbing state if i+j=k

Transition probabilities and vector of initial probabilities are calculated analogously as before

                                                                                                                                                                                                                                                   1 w 4 1 p w 2 1 p p w 4 1 q w 2 1 w 2 q w 4 p w 2 1 w 2 1 q w 2 w 2 p w 4 q w 2 1 p w 2 q w 2 1 w 2 p w 4 1 q w 2 1 p w 4 q w 2 w 2 q w 2 1 q w 2 q w 2 1 w 2 q w 2 p w 2 1 q p w 2 q q M

 

                                                                                                        p w, 2, B 1 p , 2 w 0, b p , 2 w 2, b p , 2 w 1, b p , 2 w 1, b p , 2 w 2, b p , 2 w 0, b p , 2 w 0, b p , 2 w 1, b p , 2 w 1, b p , 2 w 0, b p , 2 w 0, b X

2

SECOND MARKOV MODEL

slide-16
SLIDE 16

15

Xi T 1 2 3 i-1 i u u+w

“Complete” model

  • State is:

either w-uplet (X1, X2,…, Xw) if X1 + X2 +…+ Xw <k Or absorbing A if X1 + X2 +…+ Xw =k

 

A

k X and 0,1 X ) X ,..., X , (X E

w 1 i i i w 2 1

        

  • Space of states is

With dimension

      1

... 1

w 1 k w 2 w 1

    

Notation: state (i1,i2,…,im) if i1=i2=…=im=1 and il=0 otherwise THIRD MARKOV MODEL

slide-17
SLIDE 17

16

Transition matrix Transition of state (i,j) to state (i-1,j-1) with probability q: i j i-1 j-1 i j Transition of state (i,j) to absorbing state with probability p: i-1 j-1

THIRD MARKOV MODEL

slide-18
SLIDE 18

17

Vector of initial probabilities

T w T w

with

           

t

p 2,10, B 1 p 2,10, b 45 1 p 2,10, b 45 1 p 1,10, b 10 1 p 1,10, b 10 1 p 0,10, b X          

i 10 i i 10 q

p C ) p , 10 , i ( b

 

i j i 10 i i 10 q

p C ) p , 10 , i ( B

and THIRD MARKOV MODEL Probability to observe a cluster of k=3 events or more in a window of size w=10 scanning the period of length T=365 is given by a product MNX with N=356

slide-19
SLIDE 19

18

Discretization Day Hour Method Bernoulli Poisson Bernoulli Poisson Monte Carlo direct

0.1250 0.1329 0.1310 0.1329

RdP, Monte Carlo

0.1225 0.1317 0.1251 0.1317

Simple Markov model

0.0991 0.1176 0.1274 0.1280

Double scanning window

0.1014 NaN 0.1296 NaN

Complete Markov model

0.1028 0.1217 NaN NaN

Results

slide-20
SLIDE 20

19

Conclusions Results obtained using Bernoulli model converge to those using Poisson models if discretization step converges to zero  As far as we know there does not exist exact method enabling to solve in « short » time the problem to estimate the probability of existence of a cluster of events.  … Our method allow to find an approximation of this probability in acceptable time.Obtained results are almost identical provided the discretization is fine enough. Proposed method are different and range from simulations and combinatorics to the use of Markov chains.

slide-21
SLIDE 21

20

Aéronautique

Assume n linearly (serially) arranged components each component is associated with a failure indicator Ii MODEL I k-within-r-out-of-n system system failed if exist window of size r (covering r objects) with at least k failed components MODEL II k-out-of-n r=n MODEL III consecutive k-out-of-n r=k

slide-22
SLIDE 22

21

Aéronautique

Unreability of consecutive k-out-of-n system

k n

K

h l n

T ,

k n

C

Unreability of k-out-of-n system Unreability of l-to-h-out-of-n system Denote It holds

i j K j

i

  , , 1   j K j

i

  • therwise

K P K Q K

j i i j i i j i

,

1 1 1    

 ) ( ) ( ,

,

    h i l T

h l i

) ( ) ( , 1

,

i h l T

h l i

   

  • therwise

T P T Q T

h l i i h l i i h l i

,

, 1 1 , 1 1 ,    

  i j C j

i

  , , 1   j C j

i

  • therwise

C P C Q C

k i i j i i j i

,

1 1 1    

i i Q

P ,

Reliability and unreability of k-th component

slide-23
SLIDE 23

22

Aéronautique

Implementation Using binary decision diagrams of Bryant, i.e. Shannon like decomposition

  • f Boolean formulas

Provided all components have the same reliability, for k-within-r-out-of-n system the complexity is O(2^h.k.n), 0<=h<=r, so that for small r (tenths) we are able to calculate exact results thousands of components on “ordinary” PC computer What can we get MODEL I k-within-r-out-of-n system system failed if exist window of size r (covering r objects) with at least k failed components