3.8. THE MONTE CARLO METHOD 151
random variables are given, we can use the interference method, the FOSM method, the H-L
method, or the R-F method to calculate the reliability, which has been discussed in Sections 3.3–
3.7. We can also use the relative frequency to estimate the reliability, which has been discussed
in Section 2.4. For example, when a sample value x
i
of each random variable is known, we can
use these sample values
.
x
1
; x
2
; : : : ; x
n
/
to calculate a sample value of the limit state function
g
.
x
1
; x
2
; : : : ; x
n
/
, which may be larger than and equal to, or less than zero. is process can be
called a trial in the virtual experiment. Per the definition of probability, we can use the relative
frequency to estimate the reliability when the number of sample data of the limit state func-
tion is sufficiently big. e Monte Carlo method relies on repeated random sampling to obtain
the numerical value of the limit state function g
.
X
1
; X
2
; : : : ; X
n
/
for estimating the relative
frequency.
Basic concepts and procedure for the Monte Carlo method are as follows.
Step 1: Uniformly and randomly generate one sample value for each random variable per its
corresponding probabilistic distribution. Let x
j
i
.i D 1; 2; : : : ; n/ be the sample data in the j th
trial of the virtual experiment. Here, the subscript i in x
j
i
refers to the ith random variable
X
i
. e superscript j in x
j
i
refers to the j th trial. e x
j
i
is the sample value of the random
variable X
i
in the j th trial of the virtual experiment.
Step 2: Use x
j
i
.i D 1; 2; : : : ; n/ in the limit state function to get a trial value of the limit state
function. Per the definition of the limit state function, when the trial value g
x
j
1
; x
j
2
; : : : ; x
j
n
of the limit state function of the component is larger than or equal to zero, the component is
safe. When the trail value: g
x
j
1
; x
j
2
; : : : ; x
j
n
of the limit state function of the component
is less than zero, the component is a failure. We can use V T
j
to represent the trial result:
V T
j
D
8
<
:
1 when g
x
j
1
; x
j
2
; : : : ; x
j
n
0
0 when g
x
j
1
; x
j
2
; : : : ; x
j
n
< 0;
(3.87)
where V T
j
is the trial result of the j th trial of the virtual experiment. e value “1” of the
V T
j
indicates a safe status of the component. e value “0” of the V T
j
indicates a failure
status of the component.
Step 3: Repeat Step 1 and Step 2 until enough trials N have been conducted.
Step 4: e relative frequency of the component with a safe status in total trial N will be the
probability of the event g
.
X
1
; X
2
; : : : ; X
n
/
0. erefore, the reliability of the component will
be
R D P
Œ
g
.
X
1
; X
2
; : : : ; X
n
/
0
D
P
N
j D1
V T
j
N
: (3.88)