Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Simplified algorithm for reliability sensitivity analysis of structures: A spreadsheet implementation

  • Mahdi Shadab Far ,

    Roles Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft, Writing – review & editing

    mahdishadabfar@tongji.edu.cn

    Current address: Tongji University, Shanghai, China

    Affiliation Department of Geotechnical Engineering, Tongji University, Shanghai, China

  • Hongwei Huang

    Roles Supervision, Writing – review & editing

    Current address: Tongji University, Shanghai, China

    Affiliation Department of Geotechnical Engineering, Tongji University, Shanghai, China

Abstract

An important segment of the reliability-based optimization problems is to get access to the sensitivity derivatives. However, since the failure probability is not a closed-form function of the input variables, the derivatives are not explicitly computable and rather require a full reliability analysis which is computationally expensive. In this paper, a step-by-step algorithm has been presented to calculate the derivatives of the probability of failure and safety index with respect to the input parameters based on the advanced first-order second-moment (AFOSM) reliability method. The proposed algorithm is then implemented in a spreadsheet using Visual Basic for Application (VBA) programming language. Two geotechnical and structural examples are then presented to examine the program and describe the modeling procedure. The robustness of the proposed method is examined using a Gaussian random perturbation. The capability of the proposed method in the calculation of the sensitivity derivatives of the model uncertainty is explained in a separate section. Finally, the proposed model has been compared to the forward finite difference (FFD) method and the results are validated.

1 Introduction

Because of aleatory and/or epistemic uncertainties associated with loads and capacity of structures alike, deterministic models fail to provide a sufficiently reliable estimation of design variables [1]. In order to consider the uncertainties, probabilistic methods are thus preferred [24]. That is, reliability-based design optimization is adopted for structural design process [5]. More precisely, the philosophy of optimization tends to minimize the risk rather than focusing on the stress/strain level induced in structural elements. As such, the probability of failure should be limited to a certain extent [6, 7]. This can be achieved by considering the failure probability as a constraint in the optimization process. Mathematically speaking, this can be summarized as follows:

Minimize: the objective function, f(b, μX)

Subject to: Pj[gj(b, X) < 0] ≤ PRj and j = 1, 2, …, m

where gj(•) denotes the performance function (also known as limit state function (LSF)), b is the vector of deterministic design variables, X is the vector of random variables, and PRj is a certain level of failure probability to which the system is bound. One of the main steps in solving this optimization problem is to determine search direction based on function gradients, i.e. sensitivity analysis [8, 9]. Sensitivity analysis demonstrates change(s) in the quantity of response in terms of variations in design variable(s) [1012]. This process is necessary since most of the available algorithms for solving the optimization problem need to access derivatives of failure probability with respect to input parameters [13]. A few algorithms have been proposed to tackle this issue. However, each has its own limitations. For instance, they are mostly based on the implicit algorithms which require cyclic calculations to estimate the derivatives; their performance is limited to specific distribution functions; can only cover the derivatives with respect to the mean or standard deviation of random variables; with any change in the performance function or random variable characteristics, their code should be thoroughly edited [14]. These limitations have made the structural reliability software packages dependent on utilizing classic methodologies such as finite difference method (FDM) for calculating sensitivity derivatives. However, FDM requires performing a complete reliability analysis at each step of the analysis to detect the effect of variation in input parameters on the failure probability. Therefore, a direct analytical method that can calculate the derivatives of failure probability with respect to input parameters is preferred.

It should be noted that the results of sensitivity analysis cannot be calculated explicitly in terms of design variables since the probability of failure is a non-classical function of design variables and random parameters [15]. In this paper, in order to overcome this problem, a simple algorithm is presented based on advanced first-order second-moment (AFOSM) reliability method, which determines the sensitivity formulae using only the first-order derivatives of performance function. To establish the proposed method, a general form of the problem is described and the model is formulated, followed by describing the process performed to calculate the failure probability and safety index with respect to target variables (i.e. mean and standard deviation of random variables). The described procedure is then presented as a step-by-step algorithm. Then, using the Visual Basic for Application (VBA) programming language, the proposed algorithm is implemented in a spreadsheet in Microsoft Excel environment [16]. To discuss the purpose of using the spreadsheet in this study, it should be mentioned that, when the number of random variables involved in the LSF function increases, the number of partial derivatives required for sensitivity analyses increases too, making the analysis complicated and time-consuming. However, the spreadsheet allows users to perform all the computations only by entering the variables and LSF function into the spreadsheet without engaging with any additional complexity. The algorithm described in this article can also be implemented in other programming languages. However, in that case, by any change in the performance function or input variables, the code should be edited as well. Thus, the spreadsheet environment seems to be more user-friendly in this case and therefore, is preferred to other programming languages. To examine the program and explain the modeling process, two examples including a geotechnical case study about the damage induced in a single-hole rock explosion and a structural problem about the fatigue crack growth under cyclic loading are presented and solved by the spreadsheet. The results are then compared and validated by forward finite difference (FFD) method.

2 Formulation of problem

Consider a system with a performance function G(b, x) where b is the vector of design variables and x is the vector of random variables. When AFOSM is employed for reliability analysis, the probability of failure is calculated as follows [17]: (1) where β is safety index and Φ(•) is cumulative density function of standard normal distribution. As such, the sensitivity of failure probability with respect to design variable (∂Pf/∂b) can be defined as follows: (2) where ∂β/∂b is the derivative of safety index with respect to design variable (b) and ϕ(•) is density function of standard normal distribution. The type of distribution function governing the variables is one of the important issues in the estimation of sensitivity derivatives. To address this issue in the proposed algorithm, the input variables are projected to the normal standard space using the change of variable. Then, the variables are entered into the algorithm as a vector of equivalent normal variables. This technique enables the algorithm to cover a wide range of probabilistic distribution functions. For this purpose, regardless of the type of distribution function governing the involved random variables, the standard normal form of variables (U), which is commonly used in reliability analysis, is calculated as follows [18]: (3) where μx and σx are the mean and standard deviation of random variables, respectively. With this assumption, the performance function can be rewritten based on standard normal variables in the form of G(b, U). Kwak and Lee [19] showed that, as a general case, the derivative of β with respect to design variable (b) can be expressed as follows: (4) where λ, the Lagrange multiplier, can be calculated as follows: (5)

Now, two cases are considered here:

  1. The design variable is the mean of random variables.
  2. The design variable is the standard deviation of random variables.

These two scenarios are separately examined in the next sub-sections.

2.1 Reliability sensitivity with respect to mean

Taking the mean of random variables as the design variable, b, Eq (4) can be rewritten as follows: (6)

The derivative ∂U/∂μx can be calculated from Eq (3): (7)

Employing the chain rule, the derivative ∂G/∂U can be expanded as follows: (8)

Substituting Eqs (7) and (8) into Eq (6), ∂β/∂μx can be simplified as follows: (9)

2.2 Reliability sensitivity with respect to standard deviation

In this section, taking standard deviation of random variables as design variable, b, Eq (4) is rewritten as follows: (10)

Using Eq (3), the derivative ∂U/∂σx is calculated as follows: (11)

Substituting Eqs (8) and (11) into Eq (10), ∂β/∂σx is obtained as follows: (12)

To further continue the calculations, a safety index should be defined. By definition, safety index is the shortest distance from the origin to the failure surface. Coordinates of the point on failure surface at the shortest distance to origin can be calculated as follows: (13) where cos(θu) (or cos(θx)) represents the direction cosine of the unit outward normal vector (also known as sensitivity vector (αx)) and is calculated as follows [20, 21]: (14)

Substituting Eq (14) into Eq (13), U* is calculated as: (15)

Now, if the term (xμx)/σx in Eq (12) is replaced by U*, Eq (16) is obtained: (16)

2.3 Step-by-step algorithm

So far, the problem has been formulated and the necessary relationships to calculate the sensitivity derivatives have been developed. In this section, a step-by-step algorithm is presented to facilitate the process. To begin, it is required to identify input variables and determine their statistical characteristics, including means and standard deviations. In addition, a performance function should be determined as a function of involved variables. This part of modeling should be completed before the main calculation. Furthermore, following the steps listed below, sensitivity derivatives are estimated.

  1. Step 1. Derivatives of performance function with respect to involved variables are evaluated at the mean values.
  2. Step 2. Performance function is evaluated at the mean value. Additionally, the standard deviation of performance function, σG, is estimated as follows: (17)
  3. Step 3. Safety index, β, and probability of failure, Pf, are calculated as follows: (18) (19)
  4. Step 4. Derivatives of safety index with respect to the mean of the involved variables, ∂β/∂μx, are calculated according to Eq (9).
  5. Step 5. Derivatives of failure probability with respect to the mean of the involved variables, ∂Pf/∂μx, are estimated according to Eq (2).
  6. Step 6. Derivatives of safety index with respect to the standard deviation of the involved variables, ∂β/∂σx, are calculated according to Eq (12).
  7. Step 7. Derivatives of failure probability with respect to the standard deviation of the involved variables, ∂Pf/∂σx, are approximated according to Eq (2).

The above steps are schematically presented in Fig 1.

3 Numerical example

A numerical example is presented herein to demonstrate the application of the described approach. The example is about a geotechnical project related to the damage induced in a single-hole rock explosion. Following the explosion, the resulting stress waves affect the surrounding environment severely, creating a highly damaged zone around the blast point, i.e. “crushed zone” [22, 23]. Many researchers have worked on the dimensional determination of the crushed zone. Djordjevic [24] presented the following equation to estimate the radius of the crushed zone: (20) where r0 is borehole radius (mm), T is tensile strength of the rock material (Pa), and Pb is borehole pressure (Pa). It is reported that Pb can be obtained as follows [25]: (21) where ρ0 is unexploded explosive density (kg/m3) and DCJ is ideal detonation velocity (m/s). Substituting Pb from Eq (21) into Eq (20), rc can be rewritten as: (22)

The input parameters in this model, such as detonation velocity or tensile strength of the rock mass could not be measured accurately and are always accompanied by a margin of uncertainties. Hence, substituting them into the model as fixed numbers leads to a deterministic estimation of the crushed zone radius. This is equivalent to assuming a crushed zone radius corresponding to 100% failure probability, which does not seem to be logical. A more rational solution towards the problem is to put the surety aside and define the parameters as random variables with certain means and standard deviations. This causes the output to be calculated as exceedance probability for the crushed zone radius. In general, defining the involved parameters as random variables and substituting them into the performance function, the model could turn from the deterministic to the probabilistic state, and could then be established as a reliability problem [26].

Suppose that the objective is to estimate the exceedance probability for a crushed zone radius of rc = 400 mm. Thus, the performance function is defined as follows: (23)

Probabilistic characteristics of the involved variables are assumed as listed in Table 1. As seen, in addition to the distribution function governing the variables, corresponding means and standard deviations are also reported in this table. These parameters are required to calculate the equivalent normal variable vector as explained in Eq (3).

thumbnail
Table 1. Means and standard deviations of random variables.

https://doi.org/10.1371/journal.pone.0213199.t001

Now, adopting the algorithm described in the previous section, derivatives of safety index and failure probability with respect to the means and standard deviations of random variables are calculated.

  1. Step 1. Derivative of performance function with respect to each random variable is calculated at the mean value. (24a) (24b) (24c) (24d)
  2. Step 2. Mean and standard deviation of performance function are approximated as follows: (25) (26)
  3. Step 3. Safety index and failure probability are estimated as follows: (27) (28)
  4. Step 4. Eq (9) is adopted to calculate derivatives of safety index with respect to the mean of variables. (29a) (29b) (29c) (29d)
  5. Step 5. Eq (2) is employed to calculate derivatives of failure probability with respect to the mean of variables. (30a) (30b) (30c) (30d)
  6. Step 6. Derivatives of safety index with respect to the standard deviation of variables are calculated using Eq (12). (31a) (31b) (31c) (31d)
  7. Step 7. Derivatives of failure probability with respect to the standard deviation of variables are estimated using Eq (2). (32a) (32b) (32c) (32d)

4 Implementation in spreadsheet

Given that the process through which the reliability sensitivity derivatives were calculated was provided in the form of a step-by-step algorithm, it could be easily implemented. In this paper, Visual Basic for Application (VBA) was used to implement the proposed algorithm in Microsoft Excel spreadsheet for any given performance function (provided that it is differentiable) and any number of random variables. The designed spreadsheet and relevant codes are available along with the paper (or, can be downloaded from this link: https://sourceforge.net/projects/rsa-v1/). In the following, the modeling and analysis of the problem in the spreadsheet are described.

4.1 Describing the spreadsheet

Once the spreadsheet is opened, two buttons are seen at the top of the screen: “Modeling” and “Run Sensitivity”. It is important to note that, the macros should be enabled in Microsoft Excel to run the program. Usually, when a user opens a file containing macros, a yellow message bar appears at the top of the screen asking the user to enable the content. By clicking on “Enable Content,” it is possible to run macro codes. If this message is not available, the user can enable this feature by changing the macro security settings. To do it in Microsoft Office 2013, the user may follow the path: File≫Options≫Trust Center≫Trust Center Settings…≫Macro Settings, select the option “Enable all macros” and then mark the “Trust access to the VBA project object model.” To get started, the Modeling button is clicked. Then, as seen in Fig 2, a new window appears asking the user to input the number of random variables. For instance, there are four variables involved in the example presented in Section 3; thus, number 4 is inserted in this window and the OK button is clicked.

thumbnail
Fig 2. Window associated to the number of random variables.

https://doi.org/10.1371/journal.pone.0213199.g002

After defining the number of variables, a table is displayed in the spreadsheet to get the variables’ statistical information (Fig 3). One row is considered for each random variable in this table. In each row, column A shows the number of random variables (completed by default). Columns B, C, and D represent the name, mean, and standard deviation of the random variable, respectively, and must be completed in accordance with the statistical characteristics of random variables. After completing the information on this table, the performance function must be defined in cell E3 as a function of variables’ means using the Microsoft Excel formulae. By entering this function, the problem modeling is completed. With regard to the modeling section, It should be noted that:

  • The performance function needs to be differentiable with its value defined at the mean point.
  • There is no limitation applied on the number of variables involved in the problem. Any desired number of random variables can be modeled in the spreadsheet depending on the hardware limitations.
  • Non-variable parameters with a fixed value can also be defined in the spreadsheet. In such cases, the parameter’s value must be defined as mean and standard deviation is set to zero.
thumbnail
Fig 3. Data entry table in the spreadsheet for the example 1.

https://doi.org/10.1371/journal.pone.0213199.g003

To continue, simply click on the “Run Sensitivity” button to apply all of the calculations described in the previous section on the defined data. In the following section, two geotechnical and structural examples are solved in the spreadsheet and the results are compared with analytical calculations.

4.2 Solving examples by spreadsheet

4.2.1 Example one: Rock blasting.

For the rock blasting example, as explained in Section 4.1, upon clicking on “Modeling” button and entering the number of variables as 4, a table is provided in the spreadsheet in which the characteristic of random variables are defined. Next, the performance function (Eq (23)) is defined in cell E3 as a function of variables’ means. In the presented numerical example, the function is: = 400-C3*C4*SQRT(C5/(192*C6)). The completed table is shown in Fig 3. Furthermore, by clicking on the “Run Sensitivity” button, the analysis was performed and the results were reported as a table in the spreadsheet (Fig 4).

thumbnail
Fig 4. The output table in the spreadsheet for the example 1.

https://doi.org/10.1371/journal.pone.0213199.g004

In this table, the cell E5 displays the number of random variables. This value should be equal to the number of variables entered in the modeling step. The cell E7 represents the safety index, β. As seen, this cell equals to the value calculated via Eq (27). The cell E9 provides the failure probability as calculated via Eq (28).

The column G shows the derivatives of safety index, β, with respect to the means of random variables. Comparing the results listed in column G with the values calculated via Eqs (29a) to (29d), it is seen that the results are in good agreement. The column H provides derivatives of failure probability, Pf, with respect to the means of random variables. This column corresponds to the values calculated via Eqs (30a) to (30d). Column I reports derivatives of the safety index, β, with respect to the standard deviation of random variables, closely approximating the results obtained in Eqs (31a) to (31d). Finally, column J presents the derivatives of failure probability, Pf, with respect to the standard deviation of random variables, which are equivalent to the values calculated through Eqs (32a) to (32d).

4.2.2 Example two: Fatigue crack growth.

A new example concerning the growth of the fatigue crack in a finite rectangular plate with a corner crack under the cyclic stress is presented in this section. The classic solution to this problem could be represented by the Paris equation [30] as follows: (33) where m = 3.32 is a constant coefficient, l is the crack length, N is the number of cycles, c is Paris constant, and ΔK is change in the stress intensity at the crack location. The stress intensity is calculated as follows: (34) where σ is the stress at the crack location. Variation in the stress intensity could be calculated as follows: (35) where Δσ denotes the stress variation at the crack location. Substituting ΔK from Eq (35) into Eq (33) and sorting the equation with respect to dN, the following equation is obtained: (36)

In order to estimate the number of cycles corresponding to the failure (Nf), Eq (36) is integrated with respect to l from the initial dimension of the crack (li) to the final dimension of the crack (lf): (37) where the final dimension of the crack (lf) is calculated as follows: (38) where KIC is the fracture toughness. Calculating the integral presented in Eq (37), Nf is estimated as follows: (39)

The LSF function is now calculated as the exceeding of Nf from a limit state value of Nall = 4750 as follows: (40)

The probabilistic characteristics of the involved variables previously provided by operational experience [30] are given in Table 2.

thumbnail
Table 2. Probabilistic characteristics of the variables in example 2.

https://doi.org/10.1371/journal.pone.0213199.t002

To define this problem in the spreadsheet environment, after clicking on “Model” option, the number of input variables is entered as 4. Then, the probabilistic characteristics of the variables are completed in accordance with Table 2. The result is shown in Fig 5.

thumbnail
Fig 5. Data entry table in the spreadsheet for the example 2.

https://doi.org/10.1371/journal.pone.0213199.g005

Next, the LSF function is defined in cell E3 in accordance with Eq (40). Then, by clicking on “Run Sensitivity” option, the sensitivity derivatives are calculated as shown in Fig 6.

thumbnail
Fig 6. The output table in the spreadsheet for the example 2.

https://doi.org/10.1371/journal.pone.0213199.g006

As seen, the program given in the spreadsheet enables us to perform the sensitivity analysis by only knowing the statistical characteristics of the variables and the performance function, without any computational complexity.

5 Discussion

5.1 Robustness of the proposed algorithm

One of the important features of the algorithm presented in this paper is its robustness against changes made in the input variables. This is important because if there is difficulty in accurate modeling of the uncertainty, and the probabilistic parameters of the distribution functions governing the variables are accompanied by a margin of error, the algorithm could still provide a reliable answer. To numerically investigate this issue, a perturbation function was adopted to incorporate a random noise into the variables and measure the system response. For this purpose, a Gaussian distribution function with a coefficient of variation of 0.01 was utilized. The mean value of the Gaussian function was considered as the mean of random variables. One hundred random samples were generated for each random variable. The proposed algorithm was then used and the derivatives of the safety index and failure probability were calculated for each set of the random samples. The results are shown in Fig 7a–7d.

thumbnail
Fig 7.

Response of the proposed algorithm to the random changes incorporated in (a) r0, (b) DCJ, (c) ρ0, and (d) T.

https://doi.org/10.1371/journal.pone.0213199.g007

As seen, the algorithm showed a very robust response against the utilized changes presenting a close approximation to the actual result. In fact, the noises incorporated in the input variables have been accommodated by the algorithm and consequently, no significant changes were observed in the model output.

5.2 Model uncertainty

Another point that plays an important role in the probabilistic problems is the model uncertainty. A portion of the uncertainty is associated with the input variables that would be fed into the model by defining the probabilistic characteristics and probability distribution function of the variables. However, another type of uncertainty exists that is mostly related to the nature of the model and is the result of the model inability to accurately estimate the answer. In fact, this uncertainty originates from the difference between the estimated and exact output values. Thus, a new random variable, known as the model uncertainty variable, needs to be defined to address this type of uncertainty. Various algorithms have been proposed to describe how this variable should be incorporated in the problem formulation [26]. In the simplest case, a distribution function could be selected as the representative of the difference between the model output and the real data, and then added to the LSF function.

This procedure is adopted in this section to address the model uncertainty. In the first example, assuming that the difference between the actual crushed zone radius and the estimated value from the Djordjevic model follows a normal distribution function with the mean μ = 15 and the standard deviation σ = 7, a new variable was added to the model. By considering the normal distribution function, we let the model uncertainty take both the positive and negative values because the estimated values can potentially be larger or smaller than the actual values. Hence, the LSF function is rewritten as follows: (41) where εm represents the model uncertainty. Now, in order to calculate the sensitivity derivatives, the problem should be modeled with five random variables. The results in the spreadsheet environment are shown in the columns A to E of Fig 8. Next, by performing sensitivity analysis, the derivatives of the safety index and failure probability with respect to all the five variables were calculated. The results are shown in the columns F to J of Fig 8.

thumbnail
Fig 8. Sensitivity derivatives for the first example considering the model uncertainty.

https://doi.org/10.1371/journal.pone.0213199.g008

The same calculations could be performed for the second example. For this purpose, the difference between the actual and estimated number of cycles leading to failure is assumed to follow a normal distribution function with a mean of μ = 30 and standard deviation σ = 15. Then, the limit state function is rewritten as follows: (42) where εm denotes the model uncertainty. Utilizing the new LSF function, the five random variables were defined in the spreadsheet environment. The sensitivity derivatives were then calculated as shown in Fig 9.

thumbnail
Fig 9. Sensitivity derivatives for the second example considering the model uncertainty.

https://doi.org/10.1371/journal.pone.0213199.g009

As seen, the methodology presented in this paper could cover the model uncertainty and compute its sensitivity derivatives. As long as the uncertainty is modeled by a random variable in the performance function, the proposed method could be utilized to estimate the variability of failure probability and the reliability index associated with the target variable.

5.3 Validation

Finite difference sensitivity is adopted in this section to validate the algorithm provided in the spreadsheet. For this purpose, firstly, a small perturbation was applied on either mean or standard deviation while keeping the other variables constant. Then, the corresponding safety index and failure probability were computed using a reliability analysis. Next, forward finite difference method, as adopted in Eqs (43) and (44), was used to calculate sensitivities of safety index and failure probability. (43) (44) where δb is the perturbation applied on parameter b. For instance, by creating one-percent perturbation in the mean of r0 in example 1, the mean value changed from 80 mm to 80.8 mm. Then, by keeping the other parameters constant, the program was run and new values of safety index and failure probability were calculated as: β = −0.01023 and Pf = 0.504081. Now, using Eqs (43) and (44), the sensitivity derivatives were calculated as follows: (45) (46)

As observed, the values obtained from Eqs (45) and (46) were consistent with the cells G3 and H3 of Fig 8, respectively. In order to verify accuracy of the calculations for the rest of the variables, these calculations were repeated for all of the involved variables in examples 1 and 2. For this purpose, one-percent perturbation was applied to the mean and standard deviation of each variable separately before calculating their updated values. The results are presented in the form of 10 cases in Table 3.

thumbnail
Table 3. New means and standard deviations of random variables after applying perturbations.

https://doi.org/10.1371/journal.pone.0213199.t003

Then, considering the changes made on affected variable, the analysis was performed and the values of β and Pf for each of the ten cases in examples 1 and 2 were determined. The results are presented in Table 4.

thumbnail
Table 4. Safety index and failure probability for each of the ten cases.

https://doi.org/10.1371/journal.pone.0213199.t004

Then, using Eqs (43) and (44), derivatives of β and Pf were calculated. The results are presented in the third and sixth columns of Table 5. In order to compare the results, the values obtained from the proposed algorithm for both β and Pf sensitivities were listed along with the values from the FFD (columns four and seven in Table 5.) Additionally, the relative error was estimated as follows: (47) where “Analytical” represents the results calculated by the proposed algorithm and “FFD” indicates the values obtained from forward finite difference method. The results are presented in the fifth and eights columns of Table 5. Moreover, the error values are plotted in Fig 10. Being adequately small, the error values indicate the accuracy of the proposed algorithm in the estimation of sensitivity derivatives.

thumbnail
Fig 10.

Relative difference between analytical and FFD results for (a) example 1 and (b) example 2.

https://doi.org/10.1371/journal.pone.0213199.g010

thumbnail
Table 5. Comparison between the results obtained from analytical calculations and the FFD method.

https://doi.org/10.1371/journal.pone.0213199.t005

6 Conclusion

In this paper, sensitivity analysis was performed for both the random and deterministic variables. For this purpose, after defining the performance function and the vector of involved variables, the problem was formulated and the required processes were established. The proposed algorithm was then implemented in Microsoft Excel using VBA programming language. Capability of the program for modeling and performing sensitivity analysis was then investigated. Next, two geotechnical and structural examples were presented to examine the proposed method. Finally, the proposed model was validated using the forward finite difference method. The main contributions of this paper are as follows:

  • A step-by-step algorithm was presented to calculate the derivatives of safety index, β, and probability of failure, Pf, with respect to the mean, standard deviation, and constant parameters.
  • The proposed algorithm was programmed in Microsoft Excel environment, so that for any new model, the sensitivity analysis could be simply carried out without being engaged in any certain computational complexity.
  • The proposed program was designed with no limitation on the number of parameters, ensuring that the program can cover models with virtually any number of variables.
  • Sensitivity analysis of the deterministic variables was considered in the program. For this purpose, one should simply set the mean to the parameter value and set the standard deviation to zero.
  • Formulation and problem solving implementation have been performed following the normalization of the input variables. That is, regardless of the type of distribution function governing the random variables, the normalized form of the variables is always input into the solving algorithm. Therefore, the proposed program could smoothly work for all the conventional distribution functions.

Last but not least, the proposed model is based on the AFOSM method. Thus, it has the same limitations as those suffered by the AFOSM method. For instance, the accuracy of the proposed method depends on non-linearity of the performance function. Hence, for highly non-linear functions, the results are associated with a margin of error. Moreover, for cases where an explicit form of the performance function is not available, the response surface methodology can be employed to provide the best-fit surface corresponding to the data instead of the performance function.

Supporting information

S2 File. Microsoft Excel document and macros for reliability sensitivity analysis (RSA).

https://doi.org/10.1371/journal.pone.0213199.s002

(XLSM)

Acknowledgments

The authors would like to appreciate the Department of Geotechnical Engineering of Tongji University for providing the required facilities to conduct this research. Additionally, the advice and guidance of Professor Jie Zhang and his valuable comments and suggestions to the earlier version of the paper are highly appreciated.

References

  1. 1. Wang Pan, Lu Zhenzhou, Tang Zhangchun A derivative based sensitivity measure of failure probability in the presence of epistemic and aleatory uncertainties. Computers and Mathematics with Applications. 2013; 65(1): 89–101.
  2. 2. Hamedifar Hamed, Bea Robert G., Pestana-Nascimento Juan M., Roe Emery M. Role of probabilistic methods in sustainable geotechnical slope stability analysis. Procedia Earth and Planetary Science. 2014; 9:132–142.
  3. 3. Zhang Yishang, Liu Yongshou, Yang Xufeng Parametric sensitivity analysis for importance measure on failure probability and its efficient Kriging solution. Mathematical Problems in Engineering. 2015; 1–13.
  4. 4. Chen Shong-Loong, Cheng Chia-Pang Influence of failure probability due to parameter and anchor variance of a freeway dip slope slide—A case study in Taiwan. Entropy. 2017; 19(8):1–19.
  5. 5. Kiureghian Armen Der Analysis of structural reliability under parameter uncertainties. Probabilistic Engineering Mechanics. 2008; 23:351–358.
  6. 6. Faridafshin Farzad, Grechuk Bogdan, Naess Arvid Calculating exceedance probabilities using a distributionally robust method. Structural Safety. 2017; 67: 132–141.
  7. 7. Fenton Gordon A., Naghibi Farzaneh, Griffiths D.V. On a unified theory for reliability-based geotechnical design. Computers and Geotechnics. 2016; 78: 110–122.
  8. 8. Choi Seung-Kyum, Grandhi Ramana V., Canfield Robert A. Reliability-based Structural Design. Springer-Verlag London. 2017.
  9. 9. Valdebenito M.A., Jensen H.A., Hernandez H.B., Mehrez L. Sensitivity estimation of failure probability applying line sampling. Reliability Engineering and System Safety. 2018; 171: 99–111.
  10. 10. Xiao Sinan, Lu Zhenzhou Structural reliability sensitivity analysis based on classification of model output. Aerospace Science and Technology. 2017; 71:52–61.
  11. 11. Helton J.C., Johnson J.D., Sallaberry C.J., Storlie C.B. Survey of sampling-based methods for uncertainty and sensitivity analysis. Reliability Engineering and System Safety. 2006; 91(10-11):1175–1209.
  12. 12. Zhou Changcong, Lu Zhenzhou, Li Luyi, Feng Jun, Wang Bintuan A new algorithm for variance based importance analysis of models with correlated inputs. Applied Mathematical Modelling. 2013; 37:864–875.
  13. 13. Uryasev Stanislav Derivatives of probability functions and some applications. Annals of Operations Research. 1995; 65(1): 287–311.
  14. 14. Song Shufang, Yue Zhufeng, Wang Jian Reliability sensitivity by method of moments. Applied Mathematical Modelling. 2010; 34(10): 2860–2871.
  15. 15. Cui Lijie, Lu Zhenzhou, Wang Qi Parametric sensitivity analysis of the importance measure. Mechanical Systems and Signal Processing. 2012; 28:482–491.
  16. 16. Morgado Flavio Programming Excel with VBA, A Practical Real-World Guide. Apress. 2016.
  17. 17. Haldar Achintya, Mahadevan Sankaran Probability, Reliability, and Statistical Methods in Engineering Design. Wiley. 1999.
  18. 18. Nowak Andrzej S., Collins Kevin R. Reliability of Structures. Second Edition, CRC Press. 2012.
  19. 19. Kwak Byung Man, Lee Tae Won Sensitivity analysis for reliability-based optimization using an AFOSM method. Computers and Structures. 1987;27(3):399–406.
  20. 20. Guo Jia, Du Xiaoping Reliability sensitivity analysis with random and interval variables. International Journal for Numerical Methods in Engineering. 2009; 78(13): 1585–1617.
  21. 21. Xiao Ning-Cong, Huang Hong-Zhong, Wang Zhonglai, Pang Yu, Liping He Reliability sensitivity analysis for structural systems in interval probability form. Structural and Multidisciplinary Optimization. 2011; 44(5): 691–705.
  22. 22. Zhang Zong-Xian Rock Fracture and Blasting Theory and Applications. Chapter 10—Single-Hole Blasting, Elsevier. 2016; 217–236.
  23. 23. Far Mahdi Shadab, Wang Yuan Probabilistic analysis of crushed zone for rock blasting. Computers and Geotechnics. 2016 December; 88:290–300.
  24. 24. Djordjevic N. Two-component of blast fragmentation. Proceedings of the Sixth International Symposium on Rock Fragmentation by Blasting-Fragblast, Johannesburg, South Africa. 1999; 213–219.
  25. 25. Esen S., Onederra I., Bilgin H.A. Modelling the size of the crushed zone around a blasthole. International Journal of Rock Mechanics and Mining Sciences. 2003; 40(4):485–495.
  26. 26. Holicky Milan, Retief Johan V., Sykora Miroslav Assessment of model uncertainties for structural resistance. Probabilistic Engineering Mechanics. 2016; 45:188–197.
  27. 27. Shadab Far Mahdi, Wang Yuan, Dallo Yousif A.H. Reliability analysis of the induced damage for single-hole rock blasting. Georisk. 2018 August; 1–17.
  28. 28. Lobo-Guerrero Sebastian, Vallejo Luis E. Application of weibull statistics to the tensile strength of rock aggregates. Journal of Geotechnical and Geoenvironmental Engineering. 2006 June; 132(6):786–790.
  29. 29. Perras Matthew A., Diederichs Mark S. A review of the tensile strength of rock: concepts and testing. Journal of Geotechnical and Geoenvironmental Engineering. 2014; 32(2):525–546.
  30. 30. Millwater H.R., Wu Y.T., Cardinal J.W. Probabilistic structural analysis of fatigue and fracture. Proceedings of the 35th AIAA Structures, Structural Dynamics and Materials Conference, Hilton Head, USA. 1994; 1506–1513.