+ Reply to Thread
Results 1 to 2 of 2

Monte Carlo methods to evaluate tolerance stack. I need a random number generator formula.

  1. #1
    Registered User
    Join Date
    10-02-2014
    Location
    Irvine, California
    MS-Off Ver
    MS 2007
    Posts
    1

    Monte Carlo methods to evaluate tolerance stack. I need a random number generator formula.

    Hello,

    I am creating a Monte Carlo analysis of tolerance stack for the first time. I am using the following formula to randomly generate numbers between my lower spec and higher spec tolerances for a manufactured part.

    =RANDBETWEEN($A$1,$B$1)

    Where $A$1 is my lower spec and $B$1 is my higher spec.

    I run this 1000 times, 1000 cells down, to simulate a 1000 part manufacturing run given the manufactures tolerances. It currently gives me an even distribution from my lower spec to my higher spec randomly. I want a normal distribution, something close to a 3 sigma disruption as this is the convention in manufacturing, With most of the randomly generated numbers in the middle of the lower and upper spec tolerance. Is there a way I can randomly generate a range of numbers that have a normal distribution?

    If so, I would then use that range of randomly generated numbers with a normal distribution to plug into a geometric equation that I have derived to determine if the part will function or not.

    Thank you, Dan.

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Monte Carlo methods to evaluate tolerance stack. I need a random number generator form

    Quote Originally Posted by Myproject View Post
    I am creating a Monte Carlo analysis of tolerance stack for the first time. I am using the following formula to randomly generate numbers between my lower spec and higher spec tolerances for a manufactured part.
    =RANDBETWEEN($A$1,$B$1)
    Where $A$1 is my lower spec and $B$1 is my higher spec.

    I run this 1000 times, 1000 cells down, to simulate a 1000 part manufacturing run given the manufactures tolerances. It currently gives me an even distribution from my lower spec to my higher spec randomly. I want a normal distribution, something close to a 3 sigma disruption
    Try:

    =NORMDIST(RAND(),$X$1,$Y$1)
    or
    =ROUND(NORMDIST(RAND(),$X$1,$Y$1),0)

    X1: =AVERAGE(A1,B1)
    Y1: =(B1-X1)/3

    Use the latter formula if you want only integer results.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 06-21-2013, 10:40 AM
  2. Monte carlo
    By karan21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-09-2011, 04:06 PM
  3. Monte Carlo Simulation
    By mchl2121 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2010, 07:11 PM
  4. How can I create a monte carlo from a monte carlo?
    By rrbest in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2010, 03:06 AM
  5. Monte Carlo simulation
    By Elijah in forum Excel General
    Replies: 9
    Last Post: 05-07-2010, 06:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1