下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、最新资料推荐Doi ng Monte Carlo Simulation in Min itab Statistical SoftwareDoing Monte Carlo simulati ons inMin itab Statistical Software isvery easy. This article illustrates how to use Min itabfor Monte Carlosimulations using both a known engineering formula and a DOE equation.by Paul Sheehy and Est on M
2、artzMonte Carlo simulation uses repeated random sampling to simulate data for a given mathematical model and evaluate the outcome. Thismethod was in itially applied back in the 1940s, whe n scie ntists worki ng on the atomic bomb used it to calculate the probabilities of onefissioning uranium atom c
3、ausing a fission reaction in another. With uranium in short supply, there was little room for experimental trial anderror . The scie ntists discovered that as long as they created eno ugh simulated data, they could compute reliable probabilitiesand reducethe amo unt of uranium n eeded for testi ng.T
4、oday, simulated data is rout in elyused in situati ons where resources are limited or gatheri ng real data would be too expe nsiveorimpractical. By using Minitab' ability to easily create random data, you can use Monte Carlo simulation to: Simulate the range of possible outcomes to aid in decisi
5、 on-mak ing Forecast finan cial results or estimate project timeli nes Un dersta nd the variability in a process or system Find problems with in a process or system Man age risk by un dersta nding cost/be nefit relati on shipsSteps in the Monte Carlo ApproachDepe nding on the nu mber of factors in v
6、olved, simulati ons can be very complex. But at a basic level, all Monte Carlo simulati ons have foursimple steps:1. Ide ntify the Tran sfer Equati onTo do a Monte Carlo simulati on, you n eed a qua ntitativemodel of the bus in ess activity,pla n, or process you wish to explore. Themathematical expr
7、essi on of your process is called thefran sfer equati on.” This may be a known engin eeri ng or bus in ess formula, or it maybe based on a model created from a desig ned experime nt (DOE) or regressi on an alysis.2. Define the In put ParametersFor each factor in your tran sfer equati on, determ ine
8、how its data are distributed. Some in puts may follow the no rmal distributi on, whileothers follow a tria ngular or uniform distributi on. You the n n eed to determ ine distributi on parameters for each in put. For in sta nce, youwould n eed to specify the mea n and stan dard deviati on for in puts
9、 that follow a no rmal distributi on.3. Create Ra ndom DataTo do valid simulati on, you must create a very large, ran dom data set for each in put somethi ng on the order 100,000 in sta nces. Theseran dom data points simulate the values that would be see n over a long period for each in put. Min ita
10、b can easily create ran dom data thatfollow almost any distributi on you are likely to encoun ter.4. Simulate and An alyze Process OutputWith the simulated data in place, you can use your tran sfer equati on to calculate simulated outcomes. Running a large eno ugh qua ntity ofsimulated in put data t
11、hrough your model will give you a reliable in dicati on of what the process will output over time, give n the an ticipated variati on in the in puts.Those are the steps any Monte Carlo simulation needs to follow. Here' how to apply them in Minitab.Monte Carlo Using a Known Engineering FormulaA m
12、anu facturi ng compa ny n eeds to evaluate the desig n of a proposed product: a small pist on pump that must pump 12 ml of fluid perminu te. You want to estimate the probable performa nce over thousa nds of pumps, give n n atural variati on in pist on diameter (D), strokelength (L), and strokes per
13、minute (RPM). Ideally, the pump flow across thousands of pumps will have a standard deviation no greater than 0.2 ml.Step 1: Identify the Transfer EquationThe first step in doing a Monte Carlo simulation is to determine the transfer equation. In this case, you can simply use an establishedengineerin
14、g formula that measures pump flow:2Flow (in ml) = MD/2)? L ? RPMStep 2: Define the In put ParametersNow you must defi ne the distributi on and parameters of each in put used in the tran sfer equati on. The pump' pist on diameter and strokelen gth are known, but you must calculate the strokes-per
15、-m inute (RPM) n eeded to atta in the desired 12 ml/m inute flow rate. Volumepumped per stroke is give n by this equati on:XD/2)2 * LGive n D = 0.8 and L = 2.5, each stroke displaces 1.256 ml. So to achieve a flow of 12 ml/mi nute the RPM is 9.549.Based on the performa nce of other pumps your facili
16、ty has manu factured, you can say that pist on diameter is no rmally distributed with amean of 0.8 cm and a standard deviation of 0.003 cm. Stroke length is normally distributed with a mean of 2.5 cm and a standard deviationof 0.15 cm. Fin ally, strokes per mi nute is no rmally distributed with a me
17、a n of 9.549 RPM and a sta ndard deviation of 0.17 RPM.Step 3: Create Ra ndom DataNow you 'e ready to set up the simulation in Minitab. With Minitab you can instantaneously create 100,000 rows of simulated data. Startingwith the simulated pist on diameter data, chooseCalc > Ran dom Data >
18、Normal.In the dialog box, en ter 100,000 in Number of rows ofdata to gen erate, and en terD ” as the colum n in which to store the data. En ter the mean and sta ndard deviati on for pist on diameter in theappropriate fields. Press OK to populate the worksheet with 100,000 data points randomly sample
19、d from the specified normal distribution.6The n simply repeat this process for Stroke Len gth (L) and Strokes per Minute (RPM).Step 4: Simulate and An alyze Process OutputNow create a fourth colum n in the worksheet, Flow, to hold the results of your process output calculati ons. With the ran domly
20、gen eratedCalc > Calculatorin put data in place, you can set up Min itab' calculator to calculate the output and store it in the Flow colum n. Go toand set up the flow equation like this:and select the Flow colu mn. Min itab willMin itab will quickly calculate the output for each row of simul
21、ated data.Now you 're ready to look at the results. SelectStat > Basic Statistics > Graphical Summarygen erate a graphical summary that in eludes four graphs: a histogram of data with an overlaid no rmal curve, boxplot, and con fide neein tervals for the mea n and the media n. The graphica
22、l summary also displays An ders on-Darl ing Normality Test results, descriptive statistics, and con fide nce in tervals for the mea n, media n, and sta ndard deviati on.HunEMHfciftThe graphical summary of your Monte Carlo simulation output will look like this:Summary for FlowtJ T513 »314mmA-SQU
23、«rtd2M0.005MwnHOCH5tD«vOJ57wise 审0.573Swaney0.043400.011133aN1DOOODMlwnufflB.882lit Qwrtice11A91MedianIL996如 QuMJiensn15.59*Anderson-DttrtiHg htormality Tea95% GorrMence IrwwvWl fer11,999U.D09笳監 务den"Mr Median11妙L2.OO295% ConMwc* Interval for StiDwvOJSJ0.760For the ran dom data gen er
24、ated to write this article, the mea n flow rate is 12.004 based on 100,000 samples. On average, we are on target,but the smallest value was 8.882 and the largest was 15.594. That' quite a ran ge. The tran smitted variati on (of all comp onen ts) resultsin a sta ndard deviati on of 0.757 ml, far
25、exceedi ng the 0.2 ml target. Also, we see that the 0.2 ml target falls outside of the con fide ncein terval for the sta ndard deviati on.It looks like this pump design exhibits too much variation and needs to be further refined before it goes into production; Monte Carlosimulation with Minitab let
26、us find that out without incurring the expense of manufacturing and testing thousands of prototypes.Lest you wonder whether these simulated results hold up, try it yourself! Creating different sets of simulated random data will result inminor variati ons, but the end resultan un acceptable amo unt o
27、f variati on in the flow ratewill be con siste nt every time. Thatof the Mon te Carlo method.Monte Carlo Using a DOE Response EquationWhat if you don'know what equation to use, or you are trying to simulate the outcome of a unique process?'the powerAn electro nics manu facturer has assig ned
28、 you to improve its electroclea ning operati on, which prepares metal parts for electroplat ing.Electroplat ing lets manu facturers coat raw materials with a layer of a differe nt metal to achieve desired characteristics. Plat ing will not adhere to a dirty surface, so the compa ny has a con ti nu o
29、us-flow electroclea ning system that conn ects to an automatic electroplat ing machi ne. A con veyer dips each part into a bath which sends voltage through the part, clea ning it. In adequate clea ning results in a high Root Mean Square Average Rough ness value, or RMS, and poor surface fini sh. Pro
30、perly clea ned parts have a smooth surface and a low RMS.To optimize the process, you can adjust two critical in puts: voltage (Vdc) and curre nt den sity (ASF). For your electroclea ning method, the typical engineering limits for Vdc are 3 to 12 volts. Limits for current density are 10 to 150 amps
31、per square foot (ASF).Step 1: Ide ntify the Tran sfer Equati onYou cannot use an established textbook formula for this process, but you can set up a Resp onse Surface DOE in Min itab to determ ine thetran sfer equati on. Resp onse surface DOEs are ofte n used to optimize the resp onse by finding the
32、 best sett ings for a "vital few" con trollable factors.In this case, the response will be the surface quality of parts after they have been cleaned.To create a resp onse surface experime nt in Min itab, chooseStat > DOE > Resp onse Surface > Create Resp onse Surface Desig nBecaus
33、e we have two factorsvoltage (Vdc) and current density (ASF)we 'lselect a two-factor central composite design, which has 13runs.After Minitab creates your designed experiment, you need to perform your 13 experimental runs, collect the data, and record the surfaceroughness of the 13 finished part
34、s. Minitab makes it easy to analyze the DOE results, reduce the model, and check assumptions usingresidual plots. Using the final model and Minitab' response optimizer , you can find the optimum settings for your variables. In this case,you set volts to 7.74 and ASF to 77.8 to obtain a roughness
35、 value of 39.4.The resp onse surface DOE yields the follow ing tran sfer equati on for the Monte Carlo simulati on:2 2Roughness = 957.8- 189.4(Vdc)- 4.81(ASF) + 12.26(Vdc) + 0.0309(ASF)Step 2: Define the In put ParametersNow you can set the parametric defi niti ons for your Monte Carlo simulati on i
36、n puts. (The stan dard deviati ons must be known or estimatedbased on existing process knowledge.) Volts are normally distributed with a mean of 7.74 Vdc and a standard deviation of 0.14 Vdc. Ampsper Square Foot (ASF) are no rmally distributed with a mea n of 77.8 ASF and a sta ndard deviati on of 3
37、 ASF.Step 3: Create Ra ndom DataWith the parameters defi ned, it'simple to create 100,000 rows of simulated data for our two in puts using Min itab' Calc > Ran domData > Normal dialog.Step 4: Simulate and An alyze Process OutputNow we can use the Calculator to en ter our formula, followed byStat > Basic Statistics > Graphical Summary.Summary for RMS roughness956 Corrfvdna IntarvalcAndegbiCwling Normality TestASquared P Wlu< <0.005MW39劇网10,271Skewness2.01510KurtositN10000039.3M7Med on披加QuvtileMax
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 购销合同的范本(2篇)
- 股东项目风险划分合同(2篇)
- 南京工业大学浦江学院《税法二》2023-2024学年第一学期期末试卷
- ××机械有限责任公司高效矿井重型刮板输送机成套设备安全验收报告(机械)
- 芳香烃说课稿
- 渭塘刘珏路组织设计
- 《中 国石拱桥》第课时说课稿
- 《乙醇》的说课稿
- 南京工业大学浦江学院《公共事业管理概论》2023-2024学年第一学期期末试卷
- 简单两人散伙协议书(2篇)
- 事故管理台帐
- Meeting Minutes(会议记录模板)参考模板
- excel教学精选PPT课件
- 国家开放大学《商务英语3》形考任务1-8参考答案
- 车间主任绩效考核表
- 置换混凝土施工方案
- 公路工程工地试验室标准化试验检测项目、参数检验频率一览表
- 应用地球化学元素特征判别沉积环境
- 人教版四年级下册语文第三单元测试卷及答案(2)
- 田麦久《运动训练学》(第2版)配套题库(含考研真题)
- 商务英语教学课件:unit5 Travel and Visits
评论
0/150
提交评论