版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
SimulationChapter14Copyright©2016PearsonEducation,Inc.TheMonteCarloProcessComputerSimulationwithExcelSpreadsheetsSimulationofaQueuingSystemContinuousProbabilityDistributionsStatisticalAnalysisofSimulationResultsCrystalBallVerificationoftheSimulationModelAreasofSimulationApplicationChapterTopicsCopyright©2016PearsonEducation,Inc.Analoguesimulationreplacesaphysicalsystemwithananalogousphysicalsystemthatiseasiertomanipulate.Incomputermathematicalsimulationasystemisreplacedwithamathematicalmodelthatisanalyzedwiththecomputer.Simulationoffersameansofanalyzingverycomplexsystemsthatcannotbeanalyzedusingtheothermanagementsciencetechniquesinthetext.OverviewCopyright©2016PearsonEducation,Inc.Alargeproportionoftheapplicationsofsimulationsareforprobabilisticmodels.TheMonteCarlotechniqueisdefinedasatechniqueforselectingnumbersrandomly
fromaprobabilitydistributionforuseinatrial(computerrun)ofasimulationmodel.Thebasicprinciplebehindtheprocessisthesameasintheoperationofgamblingdevicesincasinos(suchasthoseinMonteCarlo,Monaco).MonteCarloProcessCopyright©2016PearsonEducation,Inc.Table14.1ProbabilitydistributionofdemandforlaptopPCsIntheMonteCarloprocess,valuesforarandomvariablearegeneratedbysamplingfromaprobabilitydistribution.Example:ComputerWorlddemanddataforlaptopssellingfor$4,300overaperiodof100weeks.MonteCarloProcessUseofRandomNumbers(1of10)Copyright©2016PearsonEducation,Inc.ThepurposeoftheMonteCarloprocessistogeneratetherandomvariable,demand,bysamplingfromtheprobabilitydistributionP(x).Thepartitionedroulettewheelreplicatestheprobabilitydistributionfordemandifthevaluesofdemandoccurinarandommanner.Thesegmentatwhichthewheelstopsindicatesdemandforoneweek.MonteCarloProcessUseofRandomNumbers(2of10)Copyright©2016PearsonEducation,Inc.Figure14.1AroulettewheelfordemandMonteCarloProcessUseofRandomNumbers(3of10)Copyright©2016PearsonEducation,Inc.Figure14.2NumberedroulettewheelMonteCarloProcessUseofRandomNumbers(4of10) Whenthewheelisspun,theactualdemandforPCsisdeterminedbyanumberatrimofthewheel.Copyright©2016PearsonEducation,Inc.Table14.2GeneratingdemandfromrandomnumbersMonteCarloProcessUseofRandomNumbers(5of10)Copyright©2016PearsonEducation,Inc.Selectanumberfromarandomnumbertable:Table14.3AtableofdelightfullyrandomnumbersMonteCarloProcessUseofRandomNumbers(6of10)Copyright©2016PearsonEducation,Inc.Repeatingtheselectionofrandomnumberssimulatesdemandforaperiodoftime.Thenextslideshowsdemandfor15consecutiveweeksasdrawnfromtherandomnumbertable.Estimatedaveragedemand=31/15=2.07laptopPCsperweek.Estimatedaveragerevenue=$133,300/15=$8,886.67.MonteCarloProcessUseofRandomNumbers(7of10)Copyright©2016PearsonEducation,Inc.MonteCarloProcessUseofRandomNumbers(8of10)Table14.4Randomlygenerateddemandfor15weeksCopyright©2016PearsonEducation,Inc.Averagedemandcouldhavebeencalculatedanalytically:MonteCarloProcessUseofRandomNumbers(9of10)Copyright©2016PearsonEducation,Inc.Themoreperiodssimulated,themoreaccuratetheresults.Simulationresultswillnotequalanalyticalresultsunlessenoughtrialshavebeenconductedtoreachsteadystate.Itisoftendifficultto
validateresultsofsimulation-thattruesteadystatehasbeenreachedandthatsimulationmodeltrulyreplicatesreality.Whenanalyticalanalysisisnotpossible,thereisnoanalyticalstandardofcomparison,thusmakingvalidationevenmoredifficult.MonteCarloProcessUseofRandomNumbers(10of10)Copyright©2016PearsonEducation,Inc.Assimulationmodelsgetmorecomplextheybecomeimpossibletoperformmanually.Insimulationmodeling,randomnumbersaregeneratedbyamathematicalprocessinsteadofaphysicalprocess(suchaswheelspinning).Randomnumbersaretypicallygeneratedonthecomputerusinganumericaltechniqueandthusarenottruerandomnumbersbutpseudorandomnumbers.ComputerSimulationwithExcelSpreadsheetsGeneratingRandomNumbers(1of2)Copyright©2016PearsonEducation,Inc.Artificiallycreatedrandomnumbersmusthavethefollowingcharacteristics:Therandomnumbersmustbeuniformlydistributed.Thenumericaltechniqueforgeneratingthenumbersmustbeefficient.Thesequenceofrandomnumbersshould
reflectnopattern.ComputerSimulationwithExcelSpreadsheetsGeneratingRandomNumbers(2of2)Copyright©2016PearsonEducation,Inc.Exhibit14.1SimulationwithExcelSpreadsheets(1of3)Copyright©2016PearsonEducation,Inc.Exhibit14.2SimulationwithExcelSpreadsheets(2of3)Enter=VLOOKUP(F6,Lookup,2)inG6andcopyittoG7:G20Enter=4300*G6inH6andcopyittoH7:H20=AVERAGE(G6:G20)GeneraterandomnumbersforcellsF6:F20withtheformula=RAND()inF6andcopyittoF7:F20Copyright©2016PearsonEducation,Inc.Exhibit14.3SimulationwithExcelSpreadsheets(3of3)Clickonthe“View”tab,thenon“FreezePanes”Spreadsheetis“frozen”atrow16toshowfirst10weeksandlast6Copyright©2016PearsonEducation,Inc.RevisedComputerWorldexample;ordersizeofonelaptopeachweek.ComputerSimulationwithExcelSpreadsheetsDecisionMakingwithSimulation(1of2)Exhibit14.4=1+MAX(G6-H6,0)isenteredinG7andcopiedtoG8:G105=VLOOKUP(F6,Lookup,2)isenteredinH6andcopiedtoH7:H105Shortagesarecomputedbyentering=MIN(G6-H6,0)inI6andcopyingtoI7:I105=G6*50isenteredincellL6andcopiedtoL7:l105Copyright©2016PearsonEducation,Inc.Ordersizeoftwolaptopseachweek.ComputerSimulationwithExcelSpreadsheetsDecisionMakingwithSimulation(2of2)Exhibit14.5NewformulafortwolaptopsorderedperweekCopyright©2016PearsonEducation,Inc.Table14.5Distributionofarrivalintervals
Table14.6DistributionofservicetimesSimulationofaQueuingSystemBurlinghamMillsExample(1of3)Copyright©2016PearsonEducation,Inc.Averagewaitingtime=12.5days/10batches =1.25daysperbatchAveragetimeinthesystem=24.5days/10batches =2.45daysperbatchSimulationofaQueuingSystemBurlinghamMillsExample(2of3)Copyright©2016PearsonEducation,Inc.SimulationofaQueuingSystemBurlinghamMillsExample(3of3)Caveats:Resultsmaybeviewedwithskepticism.Tentrialsdonotensuresteady-stateresults.Startingconditionscanaffectsimulationresults.Ifnobatchesareinthesystematthestart,thesimulationmustrununtilitreplicatesnormaloperatingsystem.Ifthesystemstartswithitemsalreadyinthesystem,thesimulationmustbeginwithitemsinthesystem.Copyright©2016PearsonEducation,Inc.Exhibit14.6ComputerSimulationwithExcelBurlinghamMillsExampleThisformulaisenteredinD15andcopiedtoD16:D23Clocktimeisgeneratedbyentering=MAX(E15,J14)inF15andcopyingtoF16:F23Arrivaltimesaregeneratedbyentering=E14+D15inE15andcopyingtoE16:E23Copy=VLOOKUP(H14,Lookup2,2)toI14:I23=AVERAGE(G14:G23)Copyright©2016PearsonEducation,Inc.ContinuousProbabilityDistributionsCopyright©2016PearsonEducation,Inc.MachineBreakdownandMaintenanceSystemSimulation(1of6) BigelowManufacturingCompanymustdecideifitshouldimplementamachinemaintenanceprogramatacostof$20,000peryearthatwouldreducethefrequencyofbreakdownsandthustimeforrepairwhichis$2,000perdayinlostproduction. Acontinuousprobabilitydistributionofthetimebetweenmachinebreakdowns: f(x)=x/8,0
x
4weeks,wherex=weeksbetween machinebreakdowns x=4*sqrt(ri),valueofxforagivenvalueofri.Copyright©2016PearsonEducation,Inc.Table14.8ProbabilitydistributionofmachinerepairtimeMachineBreakdownandMaintenanceSystemSimulation(2of6)Copyright©2016PearsonEducation,Inc.Table14.9RevisedprobabilitydistributionofmachinerepairtimewiththemaintenanceprogramMachineBreakdownandMaintenanceSystemSimulation(3of6)Revisedprobabilityoftimebetweenmachinebreakdowns: f(x)=x/18,0
x
6weekswherex=weeksbetween machinebreakdownsCopyright©2016PearsonEducation,Inc.Table14.10SimulationofmachinebreakdownsandrepairtimesMachineBreakdownandMaintenanceSystemSimulation(4of6) Simulationofsystemwithoutmaintenanceprogram(totalannualrepaircostof$84,000):Copyright©2016PearsonEducation,Inc.Table14.11SimulationofmachinebreakdownsandrepairwiththemaintenanceprogramMachineBreakdownandMaintenanceSystemSimulation(5of6) Simulationofsystemwithmaintenanceprogram(totalannualrepaircostof$42,000):Copyright©2016PearsonEducation,Inc.MachineBreakdownandMaintenanceSystemSimulation(6of6)Resultsandcaveats:Implementthemaintenanceprogramsincethecostsavingsappeartobe$42,000peryearandthemaintenanceprogramwillcost$20,000peryear.However,therearepotentialproblemscausedbysimulatingbothsystemsonly
once.Simulationresultscouldexhibitsignificantvariationsincetimebetweenbreakdownsandrepairtimesareprobabilistic.Tobesureofaccuracyofresults,simulationsofeachsystemmustberunmanytimesandtheaverageresultscomputed.Efficientcomputersimulationisrequiredtodothis.Copyright©2016PearsonEducation,Inc.Exhibit14.7MachineBreakdownandMaintenanceSystemSimulationwithExcel(1of2)Originalmachinebreakdownexample:FromTable14.8Spreadsheetfrozenatrow24toshowfirst10breakdownsandlast6Copy=E14+D15toE15:E113Copy=VLOOKUP(F14,Lookup,2)toG14:G113Copyright©2016PearsonEducation,Inc.Exhibit14.8MachineBreakdownandMaintenanceSystemSimulationwithExcel(2of2)Simulationwithmaintenanceprogram.ProbabilitydistributionorrepairtimefromTable14.9RevisedformulafortimebetweenbreakdownsCopyright©2016PearsonEducation,Inc.Outcomesofsimulationmodelingarestatisticalmeasures
suchasaverages.Statisticalresultsaretypicallysubjectedtoadditionalstatisticalanalysistodeterminetheirdegreeofaccuracy.Confidencelimits
aredevelopedfortheanalysisofthestatisticalvalidityofsimulationresults.StatisticalAnalysisofSimulationResults(1of2)Copyright©2016PearsonEducation,Inc.Formulasfor95%confidencelimits: upperconfidencelimit lowerconfidencelimit whereisthemeanandsthestandarddeviationfromasampleofsizenfromanypopulation. Wecanbe95%confidentthatthetruepopulationmeanwillbebetweentheupperconfidencelimitandlowerconfidencelimit.StatisticalAnalysisofSimulationResults(2of2)Copyright©2016PearsonEducation,Inc.SimulationResultsStatisticalAnalysiswithExcel(1of2)Simulationwithmaintenanceprogram.Exhibit14.9ConfidencelimitsCopyright©2016PearsonEducation,Inc.SimulationResultsStatisticalAnalysiswithExcel(2of2)Exhibit14.10Clickon“DataAnalysis”Statisticalsummaryreport“InputRange”arethecost($)valuesincolumnH“OutputRange”specifiesthelocationofthestatisticalsummaryreportonthespreadsheetCopyright©2016PearsonEducation,Inc.CrystalBallOverviewManyrealisticsimulationproblemscontainmorecomplexprobabilitydistributions
thanthoseusedintheexamples.Howeverthereareseveralsimulationadd-ins
forExcelthatprovideacapabilitytoperformsimulationanalysiswithavarietyofprobabilitydistributionsinaspreadsheetformat.CrystalBall,publishedbyOracle,isoneofthese.CrystalBallisariskanalysisandforecastingprogramthatusesMonteCarlosimulationtoprovideastatisticalrangeofresults.Copyright©2016PearsonEducation,Inc. RecapoftheWesternClothingCompanybreak-evenandprofitanalysis:Price(p)forjeansis$23variablecost(cv)is$8Fixedcost(cf)is$10,000ProfitZ=vp-cf–vcbreak-evenvolumev =cf/(p-cv) =10,000/(23-8) =666.7pairs.CrystalBallSimulationofProfitAnalysisModel(1of13)Copyright©2016PearsonEducation,Inc.ModificationstodemonstrateCrystalBallAssumevolumeisnowvolumedemanded
andisdefinedbyanormalprobabilitydistributionwithmeanof1,050andstandarddeviationof410pairsofjeans.Thepriceisuncertainanddefinedbyauniformprobability distributionfrom$20to$26.Thevariablecostisnotconstantbutdefinedbyatriangular probabilitydistribution.Wecandeterminethe
averageprofitandprofitabilitywiththegivenprobabilisticvariables.CrystalBallSimulationofProfitAnalysisModel(2of13)Copyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(4of13)Exhibit14.112.Clickon“DefineAssumption”1.ClickoncellC4todefinenormaldistributionparameters=C4*C5-C6-(C4*C7)Copyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(6of13)Exhibit14.12Namepulledfromoriginalspreadsheet1.Entermeanandstandarddeviation3.Clickon“OK”toreturntothespreadsheet2.Click“Enter”toconfiguredistributioninwindowCopyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(7of13)Exhibit14.13EnterminimumandmaximumvaluesforthedistributionCopyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(8of13)Exhibit14.14EnterthreeestimatesCopyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(9of13)Exhibit14.151.Clickon“DefineForecast”2.TypeinunitsCopyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(10of13)Exhibit14.162.Clickon“Start”tobeginthesimulation1.Clickon“RunPreferences”toindicatethenumberoftrialsandseednumberCopyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(11of13)Exhibit14.171.Enterthenumberoftrials2.Gotothe“Sampling”screentoentertheseednumberCopyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(12of13)Exhibit14.18ClickheretorepeatthesamesimulationCopyright©2016PearsonEducation,Inc.Exhibit14.19CrystalBallSimulationofProfitAnalysisModel(13of13)Clickon“View”,then“Statistics”togotothestatisticalsummaryscreen(Exhibit14.20)2.Clickheretostartthesimulation1.ClickheretoestablishthenumberoftrialsandtheseednumberSetnewrunpreferencesClickheretoresetthesimulationandrunitagainCopyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(13of13)Exhibit14.20Clickon“View”toreturntotheFrequencywindowMeanprofitvalueCopyright©2016PearsonEducation,Inc.CrystalBallSimulationofProfitAnalysisModel(14of14)Exhibit14.21Movearrowto“0.00”orsetlowerlimitequalto0.00Probability(.8136)thatthecompanywillbreakevenCopyright©2016PearsonEducation,Inc.Theanalystwantstobecertainthatthemodelisinternallycorrectandthatalloperationsarelogicalandmathematicallycorrect.Testingproceduresforvalidity: Runasmallnumberoftrialsofthemodelandcompare withmanuallyderivedsolutions.
Dividethemodelintopartsandrunpartsseparatelyto reducethecomplexityofchecking.
Simplifymathematicalrelationships(ifpossible)for easiertesting.
Compareresultswithactualreal-worlddata.VerificationoftheSimulationModel(1of2)Copyright©2016PearsonEducation,Inc.Theanalystmustdetermineifthemodel’sstartingconditionsarecorrect(systemempty,etc.).Mustdeterminehowlongmodelshouldruntoinsuresteady-stateconditions.Astandard,fool-proofprocedureforvalidationisnotavailable.Validityofthemodelrestsultimatelyontheexpertiseandexperienceofthemodeldeveloper.VerificationoftheSimulationModel(2of2)Copyright©2016PearsonEducation,Inc.QueuingInventoryControlProductionandManufactu
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 豆芽菜重金属含量限量执行标准
- 有限空间作业事故应急救援方案
- 防汛抗洪应急救援处置办法
- 应急演练总结点评讲话
- 草莓高架栽培管理规范
- 有机磷农药安全使用操作指南
- 糖尿病与心血管疾病共病管理规范化业务学习资料
- 农产品质量安全追溯制度实施
- 化学品仓库火灾扑救处置规程
- 风电场叶片吊装高空作业防护方案
- 2026广东江门恩平市公有农垦投资开发集团有限公司及恩平市恩丰投资开发有限公司工作人员招聘7人笔试历年参考题库附带答案详解
- 2026湖北襄阳市谷城县专项引进高素质人才42人笔试参考题库及答案解析
- 血液恶性肿瘤患者巨细胞病毒感染管理中国专家共识(2026年版)
- 2026中共广州市海珠区委社会工作部招聘雇员1人备考题库(广东)及答案详解一套
- 北京市东城区2026届高三下学期二模试题 物理 含答案
- 2026四川广安市审计局招聘劳务派遣制审计专业技术人员5人笔试备考试题及答案解析
- 2026云南曲靖市沾益区珠源百人引才工程青年人才专项引进20人考试备考试题及答案解析
- 电子皮肤赋能:机器人触觉感知系统的深度剖析与前沿探索
- 三年级下册科学试题期末试卷苏教版(含解析)
- 汛期应急施工方案(3篇)
- 污水处理厂供电系统优化设计
评论
0/150
提交评论