Introduction to Reliability Calculations

advertisement

INTRODUCTION TO RELIABILITY

CALCULATION METHODS

CHANAN SINGH

DEPARTMENT OF ELECTRICAL & COMPUTER

ENGINEERING

TEXAS A&M UNIVERSITY

COLLEGE STATION, TX

May, 2006

1

INTRODUCTION TO QUANTITATIVE

RELIABILITY

RELIABILITY RELATES TO THE ABILITY OF A

SYSTEM TO PERFORM ITS INTENDED FUNCTION

IN A QUALITATIVE SENSE, PLANNERS AND

DESIGNERS ARE ALWAYS CONCERNED WITH

RELIABILITY

WHEN QUANTITATIVELY DEFINED, RELIABILITY

BECOMES A PARAMETER THAT CAN BE TRADED

OFF WITH OTHER PARAMETERS LIKE COST

NECESSITY OF QUANTITATIVE RELIABILITY:

-EVER INCREASING COMPLEXITY OF SYSTEMS

-EVALUATION OF ALTERNATE DESIGNS

-COST COMPETITVENESS AND COST-BENEFIT

TRADE OFF

2

MEASURES OF RELIABILITY

BASIC INDICES

PROBAILITY OF FAILURE –

LONG RUN

FRACTION OF TIME SYSTEM IS FAILED

FREQUENCY OF FAILURE –

EXPECTED OR

AVERAGE NUMBER OF TIMES PER UNIT TIME

MEAN DURATION OF FAILURE –

MEAN

DURATION OF A SINGLE FAILURE

OTHER INDICES CAN BE OBTAINED AS

FUNCTIONS OF THESE BASIC INDICES

3

COST VS RELIABILITY

Total Cost

R

OPT

Optimum

Investment Cost

Failure Cost

To Customer

4

SEQUENCE OF PRESENTATION

DESCRIBE AN EXAMPLE THAT WILL BE USED TO

ILLUSTRATE CONCEPTS

INTRODUCE ANALYTICAL METHODS OF

RELIABILITY EVALUATION

INTRODUCE MONTE CARLO SIMULATION

METHODS OF RELIABILITY EVALUATION

5

EXAMPLE SYSTEM

Generators Transmission Load

B1 B2

B0

B3 B4

Figure 1: System diagram

Data__________________________________________________________________

Generators:

Each generator either has full capacity of 50 MW or 0 MW when failed.

Failure rate of each generator is 0.1/day and mean-repair-time is 12 hours.

Transmission Lines:

The failure rate of each transmission line is assumed to be 10 f/y during the normal weather and 100 f/y during the adverse weather. The mean down time is 8 hours. Capacity of each line is 100 MW.

Weather:

The weather fluctuates between normal and adverse state with mean duration of normal state 200 hours and that of adverse state 6 hours.

Breakers:

Breakers are assumed perfectly reliable except that the pair B1&B2 or

B3&B4 may not open on fault on the transmission line with probability 0.1.

Load:

Load fluctuates between two states, 140 MW and 50 MW with mean duration in each state of 8hr and 16hr respectively.

6

FOR THE DESCRIBED SYSTEM,

HOW CAN YOU CALCULATE THE FOLLOWING BASIC

RELIABILITY INDICES ?

1. Loss of load probability

2. Frequency of loss of load

3.

Mean duration of loss of load

7

METHODS OF QUANTITATIVE RELIABILITY

ANALYSIS

ANALYTICAL METHODS

- STATE SPACE USING MARKOV PROCESSES

- MIN CUT SETS

- NETWORK REDUCTION

MONTE CARLO SIMULATION

- RANDOM SAMPLING

- TIME SEQUENTIAL

8

Markov Processes

Using

Frequency Balance Approach

9

Concept of Transition Rate

Consider two system states i and j.

Transition rate from state i to j is the mean number of transitions from state i to j per unit of time in state i.

If the system is observed for T hours and T i hours are spent in state i, then the transition rate from state i to j is given by

 ij

= n ij

/ T i where

n ij

= number of transitions from state i to j during the

period of observation



1 2











3 4



Fig. 1 Four state model



10

Example 1 : A 2- state component

1

2

UP DN

Fig. 2 A 2-state model

Let UP state be #1 and Down state be #2.

Transition rate from up to down state = failure rate

= n

12

/ T

1

= 1 / ( T

1

/ n

12

)

= 1/ MUT where

MUT= mean up time

Also

Transition rate from down to up state = repair rate

= n

21

/ T

2

= 1/( T

2

/ n

21

)

=1 / MDT where

MDT = mean down time of the component

11

Concept of Frequency

Frequency of encountering state j from state i is the expected (mean) number of transitions from state i to state j per unit time.

Fr(i

 j) = steady state or average frequency of transition from state i to j

= n ij

/ T

= ( T i

/ T) (n ij

/ T i

)

= p i

 ij where

p i

= long term fraction of time spent in state i

= steady state probability of system state i

12

State transition diagram

10MW

 

0 MW

UP DN

< 10MW

2 State Model for a 10MW Generator

1D

2 2 u

20MW 3U

1D

5 2D

10MW 3U

1u

1 2u

30 MW 3u



1u

3 2D



20 MW 3u

1u

7 2D

10 MW 3 D

1 D

8 2D

0 MW 3 D

Fig 5 Model for three 2-state units

1 u

4 2 u

20MW 3D

1D

6 2 u

10MW 3D

13

Concept of Frequency Balance

In steady state or average behavior,

Frequency of encountering a state (or a subset of states) equals the frequency of exiting from the state (or the subset of states).

Example 2:

Consider the state transition diagram for three 2-state units.

Equation for state 2 can be written as, p

1

1

+p

5

2

+ p

6

3

= p

2

(

1

+

2

+

3

)

Calculation of state probabilities:

If components are independent, system state probabilities can be found by the product of unit state probabilities.

If components are not independent then

- write an equation for each of n system states using frequency balance.

- any n-1 equations together with

 i n

1 p i

1

can be solved to find state probabilities.

14

EQUATIONS ARRANGED IN MATRIX FORM :

THE STATE PROBABILITIES CAN BE OBTAINED BY

SOLVING

BP = C

WHERE

B : MATRIX OBTAINED FROM THE TRANSPOSE OF

TRANSITION RATE MATRIX R BY REPLACING THE

ELEMENTS OF AN ARBITRARILY SELECTED ROW k BY

1s

R : MATRIX OF TRANSITION RATES SUCH THAT ITS

ELEMENT ri j = λi j

λij : CONSTANT TRANSITION RATE FROM STATE i TO j

P : COLUMN VECTOR WHOSE iTH TERM pi IS THE

STEADYSTATE PROBABILITY OF THE SYSTEM BEING

IN STATE i

C COLUMN VECTOR WITH kTH ELEMENT EQUAL

TO ONE AND OTHER ELEMENTS SET TO ZERO.

15

Other indices:

Mean cycle time of an event (MCT) = 1 / frequency of the event

Mean duration of the event = MCT x Prob. of the event

Thus

Mean cycle time between failures = 1/ freq of failure

Mean down time (MDT) = prob of failure / freq of failure

Mean up time = MCT - MDT

= prob of system up / freq of failure

16

Frequency of a Set of States

X i

Y j i

Disjoint Subsets

Y

X

Fig 4 Concept of set frequency

Frequency of encountering subset Y from subset X,

Fr(X

Y) =

p i

i

X j

Y

 ij

Therefore freq of encountering subset X,

Fr(X) =

p i

i

(S-X) j

X

 ij

17 j

S

S

To find the frequency of a subset of states:

1. Draw boundary around the subset of states.

2. Find the expected transition rate into the boundary or out of the boundary.

Example:

For the case of three 2-state units,

Fr(capacity

10) = p

2

(

2

+

3

) + p

3

(

1

+

3

) + p

4

(

1

+

2

)

=p

5

(

1

+

2

) +p

7

(

2

+

3

) + p

6

(

1

+

3

)

This frequency is typically called cumulative frequency.

18

Equivalent Transition Rate

The equivalent transition rate from X to Y in Fig 4 is given by

XY

= Fr(X

Y) / Prob(X)

19

Solving Example Problem using Markov Approach

1

1. System State Description & Equivalents

The first task is to obtain probabilities for the generators, transmission lines and loads, which are independent parts of the system.

1. 1. Generators

Up State

50 MW

Down

State

0 MW

Figure 2: Each Generator has two possible states

 

0 .

1 / day

36 .

5 / year

 

1

12

730 / year (1)

8760

Figure 3: State Transition Diagram – Generator System

1 Calculations provided by Maja Knezev

20

Merging Identical Capacity States

State 1

All UP -150MW

21

12

State 2

Two UP, one DN

100MW

32

23

State 3

One UP, two DN

50MW

43

34

State 4

All DN - 0MW

Figure 4: Equivalent State Transition Diagram – Generator System

Equivalent transition rates:

12 G

21 G

23 G

32 G

34 G

43 G

P

1

 

P

1

 

P

1

P

2

P

1

P

2

P

3

P

3

P

4

P

4

3

2 P

2

P

2

2 P

3

P

3

P

4

2 P

4

2 P

5

P

5

2 P

6

P

6

P

7

2 P

7

P

5

P

5

P

6

P

6

P

7

P

7

P

8

 

P

8

 

P

8

P

8

3

2

2

(2)

Transition rate matrix is:

R

G

 

3

0

0

(

3

2

0

2

)

(

2

0

2

3

 

)

0

0

3

(3)

If we substitute values for

and

obtained in (1) into the matrix (3), transition rate matrix for the generator system is:

R

G

109 .

5

730

0

0

109

.

5

803

1460

0

0

73

1496 .

5

2190

0

0

36 .

5

2190

(4)

21

1. 2. Transmission Lines

Up State

100 MW

Down

State

0 MW

Figure 5: Each Transmission line has two possible states

During the normal weather

During the adverse weather

 

10 /

100 year

/

, year

 

1

8

1095 / year (5)

8760

If all the breakers are perfectly reliable, for the two-transmission-line system, there will be

4 states.

State 2

1D 2U

 100 MW 

State 1 State 4

1U 2U

200 MW

1D 2D

0 MW

State 3

1U 2D

100 MW

Figure 6: Four State Transition Diagram – Transmission System

22

If breakers may not open on command:

State 5

1D 2U

0.1λ

0 MW

State 1

1U 2U

State 6

200 MW

1U 2D

0 MW 0.1λ

0.9λ

0.9λ

State 2

1D 2U

100 MW

State 3

1U 2D

100 MW

Figure 7: Six State Transition Diagram – Transmission System

Merging of states:

State 4

1D 2D

0 MW

State 1 one UP one DN

0MW

21

12

State 2 two UP

200MW

32

23

State 3 one UP one DN

100MW

43

34

State 4 two DN

0MW

Figure 8: Equivalent Four State Transition Diagram – Transmission System

23

Equivalent transition rates :

12

P

5

P

5

P

6

P

6

 

21

P

1

( 0 .

1

 

0 .

1

)

P

1

0 .

2

23

P

1

( 0 .

9

 

0 .

9

)

P

1

1 .

8

32

P

2

P

2

P

3

P

3

 

34

P

2

P

2

P

3

P

3

 

43

P

4

(

P

4

 

)

1.2.1 Weather

State 4

1 UP, 1

DOWN

0 MW

S

State 8

1 UP, 1

DOWN

0 MW

2

N

0.2λ

0.2λ́

’’” 

’  ’ 

State 1

2 UP

200

S

MW

N

State 5

2 UP

200

MW

1.8λ

1.8λ́

 ’

State 2

1 UP, 1

DOWN

100 MW

S

N

State 6

1 UP, 1

DOWN

100 MW

(6)

State 3

2

DOWN

0 MW

S

N

 ’

State 7

2

DOWN

0 MW

24

Transition rate from normal weather to adverse weather is: N

1

200

8760

Transition rate from adverse weather to normal weather is: S

1

6

43 .

8 / year

1460 / year

8760

Transition rate matrix of transmission system is:

R

T

 

(2

S

0

0

0

N)

(

0

1.8

0

S

0

0

N)

0 2

(2

0

0

0

S

0

N)

0

0.2

(

0

0

0

0

0

N )

-

S

0

N

0

0

0

(2

'

(

 

2

0

N

0

0

S) 1.8

'

'

S )

-

0

(2

0

'

0

0

N

S)

0.2

0 0 (

0

0

N

0

0

0

'

S )

 

(7)

25

1.3 Load

12

State 1

140 MW 

21

2

1

State 2

50 MW

Figure 10: State Transition Diagram – Load

1

8

8760

1095 / year

21

1

16

547 .

5 / year

8760

Transition rate matrix:

R

L

1095

547 .

5

1095

547 .

5

 (8)

26

2 Steady State Probabilities, Frequency and Mean Duration of Loss of Load

2. 1. Generation System

In order to get the steady probability of each state, we can write:

R

T

G

P

P

2 G

P

3 G

P

1 G

4 G

0

 0

0

0

4  i

1

P iG

1 (9)

Using the R

G

we obtained in equation (4), solving equations (9), we get the steady state probability of each state.

If generators are independent probabilities can be calculated by product rule also.

Probabilities calculated in either way are the same.

P u

 

0.95238

P d

 

0.047619

P

1G

= P u *

P u *

P u

=0.8638377

P

1G

= 3*P u *

P u *

P d

=0.1295725

P

1G

= 3*P u *

P d *

P d

=0.00647876

P

1G

= P d *

P d *

P d

=0.000107979

2. 2. Transmission System

We have the following equations :

R

T

T

P

P

P

P

4

P

P

P

P

1

2

5

6

7

8

3

0

0

0

0

0

0

 0

0

8  i

1

P i

1

(10)

(11)

27

Using the R

T

we obtained in equation (7), solving equations (11), we get the steady state probability of each state:

R t

T

=

1.0e+003 *

-0.0638 1.0950 0 1.0950 1.4600 0 0 0

0.0180 -1.1488 2.1900 0 0 1.4600 0 0

0 0.0100 -2.2338 0 0 0 1.4600 0

0.0020 0 0 -1.1388 0 0 0 1.4600

0.0438 0 0 0 -1.6600 1.0950 0 1.0950

0 0.0438 0 0 0.1800 -2.6550 2.1900 0

0 0 0.0438 0 0 0.1000 -3.6500 0

0 0 0 0.0438 0.0200 0 0 -2.5550

P

1

=0.9507726 (12)

P

2

=0.01787034

P

3

=0.0001196528

P

4

=0.0019820304

P

5

=0.02678843

P

6

=0.002162378

P

7

=0.000060686

P

8

=0.00024383

We can also reduce the eight-state transmission transition diagram given in Fig 11 to a three-state diagram with respect to the capacities of the states:

State 1

200MW

31T

21T

12T

State 2

100MW

32T

23T

State 3

0MW

13T

Figure 11: Equivalent Three State Transition Diagram – Transmission System

For the reduced model, the following results apply:

P

1 T

P

1

' 

P

5

' 

0.9507726

0.02678843=0.97756103

P

2 T

P

2

' 

P

6

' 

0.01787034

0.002162378=0.020032718

P

3 T

P

3 T

P

3

'

P

3

'

P

4

'

P

4

'

P

7

'

P

7

'

P

8

'

P

8

'

0.00011965

28

0.00240619

92

0.0019820304+0.000060686+0.00024383

28

12 T

P

1

' 

1 .

8

P

1

'

P

5

'

P

5

'

1 .

8

'

0 .

9507726

18

0 .

02678843

180

22.439339

0 .

97756103

21T

P

2

'

P

2

'

P

6

'

P

6

'

  

10

23 T

P

2

'

P

2

'

P

6

'

'

P

6

'

0 .

01787034

10

0 .

002162378

100

19.714808

0 .

020032718

32T

P

3

'

P

3

'

2

P

7

'

P

7

'

P

4

'

2

P

8

'

1095

13 T

P

1

' 

0 .

2

P

1

'

P

5

'

P

5

'

0 .

2

 '

0 .

9507726

2

0 .

02678843

20

0 .

97756103

2.493259

31T

P

3

'

P

4

'

P

7

'

P

8

'

P

4

' 

P

8

'

2090 (13)

2. 3. Load

The following equations apply:

R

T

L

P

P

2

1 L

L

0

0

2  i

1

P iL

1 (14)

Using the R

L

we obtained in equation (8), solving equations (14), we get the steady state probability in each state:

P

P

2

1 L

L

0

0

.

3333333

.

6666667

29

2

7

8

9

3

4

5

6

10

11

12

13

2. 4. Solution for the System

Steady state probability, frequency and mean time of loss of load could be found using the following table:

P

1G

= 0.8638377 P

1T

= 0.97756103 P

1L

= 0.3333333

P

2G

= 0.1295725

P

3G

= 0.00647876

P

4G

= 0.000107979

System

State

1

Generation, transmission, load system state

111

P

2T

= 0.020032718 P

2L

= 0.6666667

P

3T

= 0.0024061992

Probability of system state

0.281485

Transition to the states with loss of load

(

12 T

,

2,3,4

13 T

,

12 G

)

Loss of load

No

14

121

131

211

221

231

311

321

331

411

421

431

112

122

0.562969

0.0115367

15(

13 T

)

(

2,15

21 L

,

23 T

)

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

No

No

15

16

132

212 0.0844453

(

4,18

21 L

,

13 T

)

Yes

No

17 222 0.0017305 No

18

19

20

232

312

322

0.00422226

0.000086525

(

5,18

,

21 L 23 T

)

(

21 L

7,21,22,

,

13 T

,

34 G

)

(

21 L

8,21,23

,

23 T

,

34 G

)

Yes

No

No

21

22

23

24

332

412

422

432

Yes

Yes

Yes

Yes

30

We can calculate the probability of states having no load loss. Those probabilities are obtained for the generators, transmission lines and loads as independent.

From Table 1, we can get the steady state probability of the loss of load as follows.

P = 1-

(0.281485+0.562969+0.0115367+0.0844453+0.0017305+0.00422226+0.000086525)

P=0.053524715

The frequency of loss of load is:

(15)

F

  

 i

X j

X

P i

 ij

P

16

(

21 L

 

13 T

)

P

1

(

12 T

 

13 T

P

17

(

21 L

 

23 T

12 G

)

)

P

13

13 T

P

19

(

21 L

13 T

P

14

(

21 L

 

34 G

)

 

23 T

)

P

20

(

21 L

 

23 T

(16)

 

34 G

)

F = 95.742635 /year

Values needed for F that are calculated previously:

12 T

22.439339

23 T

19.714808

12 G

3

 

109 .

5

23 G

34 G

2

73

36 .

5

21 L

547 .

5 / year

The mean time of loss of load is :

MD

P

F

0.05352471

95 .

742635 /

5 year

4 .

89726 hours

13 T

2.493259

(17)

31

-Cut Set Method

A cut set is a set of components or conditions that cause system failure.

A min cut set is a cut set that does not contain any cut set as a subset.

In this presentation a cut set implies a min cut set.

The term component will be used to indicate both a physical component as well as a condition.

Components in a given cut set are in parallel, as they all need to fail to cause system failure.

Cut sets are in series as any cut set can cause system failure.

32

Frequency & Duration Equations For Cut Sets

First Order Cut Set: One component involved

 csk

  i r

 csk r i where

 i

,

 csk r i

, r

 csk

Failure rate and mean duration of component i

Failure rate and mean duration of cut set k that contains component i

Second Order Cut Set k:Two components involved

 csk

1

 i

 i j

( r i r i

 r j

) j r j r csk

 r i r i r j

 r j where

 i

,

 j r i

, r j

Failure rates of components i and j comprising cut set k

Mean failure durations of components i and j comprising cut set k

33

Second Order Cut Set with Components subject to

Normal and Adverse Weather.

, i

 i

 

Failure rate of component i in the normal and adverse

S weather

N ,

Mean duration of normal and adverse weather

 csk

 a

N a

N

S b

(

 i

N

 c

 j

Nr i r i

 d

N j

 i

Nr j r j

)

 b

N

N

S

(

 i r i

N

  j

S

Sr i

 r i

  j r j

N

  i

S

Sr j

 r j

)

 c

N

S

S

(

  i

 j

N

Nr i

 r i

   j

 i

N

Nr j

 r j

)

 d

N

S

S

(

  i

  j

S

Sr i

 r i

   j

  i

S

Sr j

 r j

) where

 a

Component due to both failures occurring during normal

 b

 weather

Initial failure in normal weather, second failure in adverse

 d c

 weather

Initial failure in adverse weather, second failure in normal

 weather

Both failures during adverse weather.

34

Combining n Cut Sets

T r

T

  cs 1

  cs 2

    csn

(

 cs 1 r cs 1

  cs 2 r cs 2

    csn r csn

) /

T

35

APPLICATION OF CUT SET METHOD TO

EXAMPLE SYSTEM

Cut set 1: One line failure and breaker stuck.

 av

N

N

S

S

12 .

621

 cs 1

2

  av

0 .

1

2 .

524 f / y r cs 1

8 hr

Cut set 2: One generator failure and load changes from

50 to 140

 g

0 .

1 / day

36 .

5 / year

 load

8760

16

12 hr

547 .

5

.

00137

/ year yr r g

 cs 2

 r load

 g

( 1

 load

 g

8 hr

 r g

( r g

.

000913 yr

 r load

)

 load r load

)

88 .

306 / yr r cs 2

 r g r g r load

 r load

4 .

8 hr

36

Cut set 3:One line failure (breaker not stuck) and load changes from 50 to 140

 l

 r l

 av

8 hr

0 .

9

 cs 3

( 1

 l

 load l r l

(

 r l

 r load

 load

) r load

)

15 .

03 / yr r cs 3

 r l r l

 r load r load

4 hr

Cut set 4: Two lines fail(breaker not stuck

)

For each line

 

10

.

9

100

.

9

9 / yr

90 / r

N

 yr

8 hr

.

000913

200 hr

.

yr

022831 yr

S

6 hr

.

000685 yr

Applying the equation for second order cut set exposed to fluctuating environment,

 cs 4

.

3888 / r cs 4

4 hr .

yr

37

For the system

T

  cs 1

  cs r

T

(

 cs 1 r cs 1

2

 cs 2

 cs r cs 2

3

T

 cs

 cs 3

4 r cs 3

106 .

25

  cs 4 r cs 4

/

) yr

4 .

76 hr

T

1 r

T

Frequency of failure =

T

T

 

T

T

100 .

45 / yr

Probability of failure =

T

T

 

T

= .0546

38

Monte Carlo Simulation

39

Introduction

The Monte Carlo method mimics the failure and repair history of components and the system by using the probability distributions of component states.

Statistics are collected and indices estimated by statistical inference.

Two main approaches: random sampling , sequential simulation.

Random number generator:

Each number should have equal probability of taking on any one of the possible values and it must be statistically independent of the other numbers in the sequence. Random numbers in a given range follow a uniform probability density function.

Multiplicative congruential method:

Random number R n+1

, can be obtained from R n

:

R n+1

= (a R n

) (modulo m) where a,m= positive integers, a < m.

R n+1

is the remainder when (aR n

) is divided by m. suggested values a=455 470 314 m=2 31 -1 = 2147 483 647

R

0

= seed

= any integer between 1 and 2147 483 64

Range can be limited by truncation. For example if rn between 0 and

999 are required, the last three digits of the random number generated can be picked up. If rn between 0 and 1 is required, put a decimal before the rn generated.

40

Random sampling

Sampling a component state:

Consider a component that has probability distribution:

State number

(random variable)

Probability

2

3

.2

.4

5 .1

Let us assume that the random numbers lie in the range 0 to 1. We can assign the random numbers proportional to their probability as follows:

Random State sampled number drawn

0 to.1

.1+ to .3

.3+ to .7

.7+ to .9

.9+ to 1.

1

2

3

4

5

So if a rn is .56 ,then we say that state number 3 is sampled.

This procedure can be more simply carried out by using a cum prob or probability distribution function. The prob mass function and corresponding probability distribution function for this component are shown below:

41

P(X=x) 0.6

0.5

0.4

0.3

1.0

0.9

0.8

0.7

1.0

0.9

0.8

0.7

0.6

0.5

0.4

F(x)=P(X < x)

0.3

0.2

0.2

0.1

0.1

Random Observation

0

1 2 3 4 x

5

0

1 2 x

3 4 5

Now you can place the rn on the vertical axis and read the value of the state sampled on the horizontal axis. It can be seen that this is equivalent to proportional sampling.

Sampling a system state:

.791

.345

.438

.311

.333

.998

.923

.851

.651

.316

.965

.839

If a system consists of n independent components, then to sample a system state, n random numbers will be needed to sample the state of each component. For example for a system of two components with the pdfs shown above, sampling may proceed as follows. Random numbers used are found by a computer program and are shown on the next page.

RN for component 1 RN for comp 2 System state

.946

.655

.601

.671

(5,3)

(3,3)

.333

.532

.087

.693

.918

.209

.883

.135

.034

.525

.427

.434

(4,3)

(3,3)

(3,1)

(3,3)

(3,5)

(5,2)

(5,4)

(4,2)

(3,1)

(3,3)

(5,3)

(4,3)

42

Now if you want to estimate the probability of say state (3,3)

-

P(3,3) = n/N where n = number of times state sampled

N = total number of samples.

From the table

-

P(3,3) = 4/14

=2/7

=.286

The actual prob of (3,3) is

.4x.4 = .16

If this sampling and estimation are continued the estimated value will come close to .16.

You can appreciate on of the problems of Monte Carlo that the indices obtained are estimates. So one must have some criterion to decide whether the indices have converged or not.

43

A Sequence of Random Numbers Generated

.946

.601

.655

.671

.308

.116

.864

.917

.791

.332

.345

.532

.438

.087

.126

.157

.837

.029

.865

.603

.851

.135

.651

.034

.316

.525

.965

.427

.839

.434

.311

.693

.333

.918

.998

.209

.923

.883

.203

.823

.969

.509

.407

.355

.885

.931

.896

.680

.057

.922

.113

.852

.931

.538

.504

.925

44

Sequential Simulation

Sequential simulation can be performed either by advancing time in fixed steps or by advancing to the next event.

Fixed time interval method:

This method is useful when using Markov chains,i.e., when transition probabilities over a time step are defined. This is simulated using basically the proportionate allocation technique described under sampling. This is indeed sampling conditioned on a given state. This can be illustrated by taking an example. Assume a two state system and the probability of transiting from state to state over a single step given by the following matrix:

Initial State Final State

0 1

0

1

0.3

0.4

0.7

0.6

Starting in state 0, select a rn and the next state is determined as follows: digit

0 to 0.3

0.3+ to 1.0 event stay in state 0 transit to 1

Similarly starting in state 1, digit

0 to 0.4 event transit to 0

45

0.4+ to 1.0

Construction of a realization for 10 steps:

Step

1

2

3

4

RN

.947

.601

.655

.671 stay in 1

State

0

1

1

1

5

6

7

8

9

10

.791

.333

.345

.531

.478

.087

1

1

0

1

1

1

Next event method:

This method is useful when the times in system states are defined using continuous variables with pdfs. Keeping in mind that discrete rvs are only a special case of continuous rvs ,the previously described method of reading a variable from the pdf using a rn can be used. Consider for example a rv X representing the up time of a component and distribution

F(x) = P(X

x) as shown in the following figure. Now if a rn between 0 and 1. is drawn, then the time to failure can be read as shown:

46

F(x) = P(X < x)

RN

Value of RV

RV X

Continuous distributions are approximated by discrete distributions whose irregularly spaced points have equal probabilities. The accuracy can be increased by increasing the number of intervals into which (0,1) is divided. This requires additional data in the form of tables. Although the method is quite general, its disadvantages are the great amount of work required to develop tables and possible computer storage problems. The following analytic inversion approach is simpler.

Let Z be a random number in the range 0 to 1 with a uniform probability density function, i.e., a triangular distribution function:

0 Z

0 f ( z )

1

0

Similarly

F z

 z

0

1

0

Z

1

Z

0

Z

0

0 1

Z

1

47

Let F(x) be the distribution from which the random observations are to be generated. Let z = F(x)

Solving the equation for x gives a random observation of X. That the observations so generated do have F(x) as the probability distribution can be shown as follows.

Let

be the inverse of F; then x =

(z)

Now x is the random observation generated. We determine its probability distribution as follows

P(x

X) = P(F(x)

F(X))

= P(z

F(X))

= F(X)

Therefore the distribution function of x is F(X), as required. In the case of several important distributions, special techniques have been developed for efficient random sampling.

In most studies, the distributions assumed for up and down times are exponential. The exponential distribution has the following probability distribution z e

  x where 1/

is the mean of the random variable X. Setting this function equal to a random decimal number between 0 and 1, e

  x

48

Since the complement of such a random number is also a random number, the above equation can as well be written as z

 e

 x

Taking the natural logarithm of both sides and simplifying, we get x

  ln( z)

 which is the desired random observation from the exponential distribution having 1/

as the mean.

This method is used to determine the time to the next transition for every component, using

or

for

, depending on whether the component is UP or DOWN. The smallest of these times indicates the most imminent event, and the corresponding component is assigned a change of state. If this event also results in a change of status, (e.g., failure or restoration) of the system, then the corresponding system indices are updated.

49

The procedure can be illustrated using an example of two components with data as given below.

Component

1

2

(f/hr)

.01

.005

(rep/hr)

.1

.1

Time

0

5

9

Random Number for Component

1

.946

.655

.670

2

.601

-

-

Time to change

1

5

0/4

0/40

0/2

0/110

2

101

96

92

Compon ent state

1

U

D

U

2

U

U

U

49

51

101

112

161

169

239

251

.790

.332

-

-

.437

.087

-

-

-

-

.345

.531

-

-

.311

.693

60

49

0/8

0/244

174

162

52 D U

50

U U

0/11

U D

0/127 U U

78 D U

70

U U

0/12

U D

0/73

U U

324 - .333

89 0/ U D

indicates time causing change and is added to obtain the total time.

50

REFERENCES

1.

C. Singh, “Course Notes: Electrical Power System

Reliability”, http://www.ece.tamu.edu/People/bios/singh/

2.

C. Singh, R. Billinton, “System Reliability Modelling and

Evaluation”, Hutchinson Educational, 1978, London

3.

R. Billinton, R. Allen, “Reliability Evaluation of Power

Systems”, Plenum Press, 1984

51

Download