您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 经营企划 > Chapter-06-Slides-additional
Chapter6Additionalexplanation6.1AterminatingsimulationExampleAstoreopensat9amwithnocustomerspresent,closesitsdoorat9pm,butcontinuesoperationforalittlewhilelongeruntilallcustomersare‘flushed’out.6.1Asteady-statesimulationThequantitiestobeestimatedaredefinedinthelongrun;i.e.,overatheoreticallyinfinitetimeframe.ExampleAnemergencyroomneverreallystopsorrestartsSometimespeopledoasteady-statesimulationofasystemthatactuallyterminatesinordertodesignforsomekindofworse-caseorpeak-loadsituation.6.2StrategyforDataCollectionandAnalysisTogettrue,statisticallyindependentandidenticallydistributed(IID)replicationsforterminatinganalysis,youneedtomakesurethatbothboxesarechecked.Thesechangeswillcausethesimulationtobereplicatedntimes,witheachreplicationstartingafresh(freshsystemstateandfreshstatisticalaccumulator)andusingseparatebasicrandomnumberstodrivethesimulation.Model6.1thebasecaseofModel5-3n=10InTable6-1,eachisan“observation”ofarandomvariableTheCategorybyReplicationreportTheCategoryOverviewreportArenainternallykeepstrackofalltheresultsinthereportsforallthereplications.Ifyouaremakingmorethanonereplication,theCategoryOverviewreportwillgiveyoutheaverageofeachresultoverthereplications,togetherwiththehalfwidthofa(nominal)95%confidenceintervalontheexpectedvalueoftheoutputresult.Savetobinary“.dat”filesIntheStatisticaldatamoduleTheOutputFileColumnContaindata6.3ConfidenceIntervalsforTerminatingSystemsToreducethehalfwidthoftheconfidenceinterval,Toincreasethesamplesizen.ToincreasethesamplesizenModel6.1------thebasecaseofModel5-3n=1021547.82±1604.82Model6.2------Model6.1n=110A95%confidenceintervalof2224.71±413.52Whatisaconfidenceinterval?EachreplicationproducesaTotalCostvalueforthatreplication,andduetorandominputs,thesevaluesvaryacrossreplications.Theaveragevalueofthe110valuesisprobablya“better”indicatorofwhattoexpectfroma“typical”runthanisanyoneoftheindividualvalues.Whatisaconfidenceinterval?Theexpectedaverage,ū,canbethoughtofastheTotalCostaveragedoveraninfinitenumberofreplications.Afinite-sampleestimatelikethe22,242.71fromour110replicationsWhatisaconfidenceinterval?Theconfidenceintervalcenteredaround22,241.71canbethoughtofasa“random”interval(thenextsetof110replicationswillgiveadifferentinterval)thathasapproximatelya95%(inthiscase)chanceofcontainingor“covering”ūinthesensethatifwemadealotofsetsof110replicationsandmadesuchanintervalfromeachset,about95%oftheseintervalswouldcoverū.Whatisaconfidenceinterval?Aconfidenceintervalgivesyoubotha“point”estimate(22,241.71)ofū,aswellasanideaofhowprecisethisestimateis.Whatisaconfidenceinterval?Aconfidenceintervalisnotanintervalinwhich,forexample,95%oftheTotalCostmeasuresfromreplicationswillfall.ApredictionintervalAconfidenceintervalwillshrinktoasinglepointasnincreases,butapredictionintervalwon’tsinceitneedstoallowforvariationsin(future)replications.AssumptionsforStatisticalAnalysisIIDNormalityHistogramforsymmetryModel6-3n=1000,fromModel6-2,n=110Savethe1000individualTotalCostvaluestoafilecalledTotalCost.dat,TheOutputFilecolumn,theStatisticaldatamoduleHistogramforsymmetryRantheArenaOutputAnalyzertoreadTotalCost.dat,ExportedittoaplainASCIItextfile(FileDataFileExportintheOutputAnalyzer)SaveditasaplainASCIItextfile,BroughtitintotheArenaInputAnalyzerIfthevalueyou’regettingoutofeachindividualreplicationisasumoraverageofsomething,asopposedtoanextremevalue,useofstandardnormal-theorystatistical-inferencemethodsisfairlysafe.SimulationExperience6.4ComparingTwoScenariosComparingdifferentversions,oralternatives,orscenarios,ofsomegeneralmodelFromasimpleparameterchangetofundamentaldifferentlogicToapplyappropriatestatisticalmethodsTodrawvalidconclusionsModel6-4Model6-3RunSetupReplicationParametersChangeton=110TheStatisticdatamoduleOutputFileColumnTotalCostrowTosavedatatothefileTotalCost.datTwoversionsThebasecaseThemoreresourcescenarioModel6-4,n=110fromModel5-3,n=5TrunkLinesNewTech1NewTech2NewTech3NewTechAllNewSalesBasecase2600000MoreResourcescenario2933333Onereplication?TotalCostPercentRejectedBaseCase21,281.2423,306.75More-ResourceScenario12.68360.2833OutputAnalyzerOperatesonoutputfilecreatedbyArenathroughtheStatisticdatamodule(the.datfiles)1.Gettinga.datfileTosavethevaluesofTotalCostforeachreplicationtoa.datfilefortheOutputAnalyzer,EnterTotalCost.datintheOutputFilecolumnfortheTotalCostrowintheStatisticdatamoduleAfterthesimulationhasbeenrun,thesefileswillcontainthe110valuesoftheseoutputperformancemeasuresoverthe110replications.2.ChangingfilenamesTochangetheirfilenamesintheArenamodelbeforeeachrunOrrenamethemoutintheoperatingsystemaftereachrunToavoidoverwritingthemonsubsequentrun3.RunOutputAnalyzerFileNewtoopenanewdatagroupSaveasModel06-04.dgrUsetheAddbuttontoselectthefilesofinterestAnalyzeCompareMeans3.RunOutputAnalyzerClearthecheckboxforScaleDisplayPuttingthegraphicdisplaysforthetwocomparisonsonthesamescaleIfThemeasurementunitswerethesameScalingthemtogether3.RunOutputAnalyzerThePaired-tapproachissomewhatmoregeneralTheresultsStatist
本文标题:Chapter-06-Slides-additional
链接地址:https://www.777doc.com/doc-3938342 .html