Monte Carlo Simulation Example

From ReliaWiki

Jump to: navigation, search

This example appears in the Life Data Analysis Reference book.

Monte Carlo simulation can be used to perform simple relationship-based simulations. This type of simulation has many applications in probabilistic design, risk analysis, quality control, etc. The Monte Carlo utility includes a User Defined distribution feature that allows you to specify an equation relating different random variables. The following example uses the Life Comparison tool to compare the pdf of two user-defined distributions. A variation of the example that demonstrates how to obtain the joint pdf of random variables is available in the Weibull++/ALTA Help file. A demonstration on how to perform the example using ReliaSoft's advanced stochastic event simulation software, RENO, is also available (view it in html).

Monte Carlo Simulation: A Hinge Length Example

A hinge is made up of four components A, B, C, D, as shown next. Seven units of each component were taken from the assembly line and measurements (in cm) were recorded.

The following table shows the measurements. Determine the probability that D will fall out of specifications.


In a Weibull++ standard folio, enter the parts dimensions measurements of each component into separate data sheets. Analyze each data sheet using the normal distribution and the RRX analysis method. The parameters are:

Next, perform a Monte Carlo simulation to estimate the probability that (A+B+C) will be greater than D. To do this, choose the User Defined distribution and enter its equation as follows. (Click the Insert Data Source button to insert the data sheets that contain the measurements for the components.)

On the Settings tab, set the number of data points to 100, as shown next.

Click Generate to create a data sheet that contains the generated data points. Rename the new data sheet to "Simulated A+B+C."

Follow the same procedure to generate 100 data points to represent the D measurements. Rename the new data sheet to "Simulated D."

Analyze the two data sets, "Simulated A+B+C" and "Simulated D," using the normal distribution and the RRX analysis method.

Next, open the Life Comparison tool and choose to compare the two data sheets. The following picture shows the pdf curves of the two data sets.

The following report shows that the probability that "Simulated A+B+C" will be greater than "Simulated D" is 16.033%. (Note that the results may vary because of the randomness in the simulation.)

Personal tools
Create a book