Monte Carlo simulation can be used for tolerance analysis (Monte Carlo tolerance analysis) to determine the rejection rate of assemblies. In this application we will look at an example assembly where parts A and B must fit inside part C with a clearance fit. For performance reasons we want to minimize the total clearance so A and B fit as snug as possible without interference. Part B is a spacer that can have its width changed to reach the desired objective.

We are willing to accept a 2% rejection rate that the assembly will not fit together. Let's assume that we have performed a test run to produce the parts using the production equipment that will be used in final production. From this data we assume that part dimensions are normally distributed and we can determine the standard deviation of each dimension. We will also assume that mean dimensions are equal to the nominal dimension for each part.

With the data in hand, a model can be constructed to simulate. The model is shown below with the random variable cells in green.

After simulating for 25,000 iterations, we find that 2.16% of the time the assembly will not fit together. This is close to the 2% rejection target. We can stop and go with the design as is or we can decrease the nominal width of B and run another simulation. This can be repeated until the 2% target has been reached with the desired precision.

For a more detailed look into tolerance analysis, check out the tolerance analysis mega article.

*Monte Carlo tolerance analysis was performed using Simulation Master. For more information, visit the Simulation Master product page.*