Académique Documents
Professionnel Documents
Culture Documents
2.0
1.5
1.0
0.5
FIGURE 5.10: Weibull distribution function fX with several mean values and standard deviations.
304
Chapter 5
which is a point in the n-dimensional space. A limit state function of these variables can be written as gx gx1 ; x2 ; .; xn 0 which divides the x-space into two regions, safe region Rs and failure region Rf : gx > 0; x Rs 0; x Rf (5.41)
(5.42)
If in the limit state function x is replaced by random variables X, the so-called safety margin M is dened as M gX (5.43)
where M is a random variable. The probability of failure Pf of a structure with this failure mode is thus Z Z (5.44) fX x d x fX xdx Pf P M 0 P g X 0
gx0 Rf
and the reliability of the structure can be simply obtained as PR 1 Pf . The probability integration in Eq. 5.44 is visualized with a two-dimensional case in Figure 5.11a, which shows the joint PDF fX(x) and its contour projected on the x1-x2-plane. All points on the projected contours have the same values of fX(x) or the same probability density. The limit state function g(x) 0 is also shown. The failure probability Pf is the volume underneath the surface of the joint PDF fX(x) in the failure region g(x) 0. To show the integration more clearly, the contours of the joint PDF fX(x) and the limit state function g(x) 0 are plotted on the x1-x2-plane, as shown in Figure 5.11b. The direct evaluation of the probability integration of Eq. 5.44 is very difcult if not impossible. First, the integration is multidimensional since often multiple random variables are involved in engineering problems. Second, the joint PDF fX(x) is in general a nonlinear function. Third, the limit state function g(x) is often nonlinear without an analytical form, in which case a numerical method, such as nite element analysis (FEA), is employed for a solution. For this reason, methods other than direct integration have been developed, which are discussed next.
FIGURE 5.11: Probability integration using a two-dimensional example: (a) isometric view and (b) projected view on the x1-x2-plane.
variables is identied and a failure mode and associated limit state function are dened, Monte Carlo simulation involves three major steps: Step 1: Sampling on random input variables X. Step 2: Evaluating the limit state function g(x). Step 3: Statistical analysis of the outcome of the limit state function. We assume that the CDFs of these respective random variables are known. To simplify our discussion, we further assume that these random variables are independent. Note that Monte Carlo simulation is not limited to problems of independent random variables.
306
Chapter 5
The purpose of sampling the input random variables is to generate samples that represent distributions of the input random variables from their respective CDFs FXi xi ; i 1; n. For each random variable, a set of random variable values z z1 ; z2 ; .; zm T between 0 and 1 is generated rst. Note that m is the prescribed number of sample points. These samples z [0,1] are then transformed into sample values of random variable Xi following a given CDF FXi xi by 1 zj ; j 1; m xij FX i (5.45)
1 z is the inverse of the CDF of the ith random variable X . For example, if the where FX j i i random variable Xi is normally distributed with N mxi ; sxi , then
(5.46a)
(5.46b)
Note that some software, such as MATLAB, generates sample points for xij directly, in which case the steps just described may not be necessary. The MATLAB function normrnd(MU, SIGMA, n, m) returns a set of sample points in an n m matrix chosen from the normal distribution with mean value m and standard deviation s. Once the sample values of all random variables are generated, the limit state function yj g(xj) is solved for each sample point xj x1j ; x2j ; .; xnj T ; j 1; m in step 2. Note that y y1 ; y2 ; .; ym T gx1 ; gx2 ; .; gxm T is the vector of m limit state function values for the respective m sample points. After m samples of output y are obtained, a statistical analysis can be carried out to estimate the failure probability (in addition to characteristics of the output such as mean value and standard deviation) using
m mf 1 X I g xj pf m m j1
(5.47)
and mf is the number of sample points that yield a nonpositive limit state function. We are essentially counting the number of failures among the total sample points generated.
If we increase the number of sample points, for example from 10 to 1,000,000 as shown in Table 5.2b, the failure probability becomes 0.1588, which is very close to the analytical solution of 0.159. The table clearly shows that when we increase the number of sample points the failure probability calculated using Monte Carlo simulation approaches the analytical solution. Calculating failure probability using Monte Carlo simulation can be implemented using the following MATLAB script.
308
Chapter 5
%Matlab script m=10 s=normrnd(40,8,1,m) Sy=normrnd(50,6,1,m) n=0 for i=1:1:m g=Sy(i)-s(i) if g < 0 n=n+1 end end Pf=n/m