Академический Документы
Профессиональный Документы
Культура Документы
StepsinSimulationStudy
Index
Clarificationofterminologies
DefinitionofSimulation Areasofapplication StepsinSimulationStudy Steps in Simulation Study ExamplesofSimulation
FlowChart
Problem Formulation Setting of objectives and overall project plan
Data Collection
Verified?
Yes
Validated?
Yes
No
1 May 2012
1 May 2012
StepsinSimulationStudy FlowChart
No No
StepsinSimulationStudy(1/10)
ProblemFormulation Iftheproblemstatementisprovidedbythe policymakers,thentheanalystmustensure thattheproblembeingdescribedisclearly that the problem being described is clearly understood. Ifthestatementisbeingdevelopedbythe analyst,itisimportantthatthepolicymakers areagreewiththeproblem.
3 1 May 2012 4
Validated?
Yes
More runs??
No
Yes
StepsinSimulationStudy(2/10)
Settingofobjectivesandoverallprojectplan: Objectives indicatethequestionstobe answeredbythesimulation. p j p Overallprojectplanshouldincludeastatement ofthealternativesystemstobeconsideredanda methodforevaluatingtheeffectivenessofthese alternatives. Overallprojectplanalsoincludestheplansfor numberofpeopleinvolved,thecostofstudy, numberofdaysrequired,etc.
1 May 2012 5
StepsinSimulationStudy(3/10)
Modelconceptualization Startwithasimplemodelandbuildtowards greatercomplexity. Itisadvisabletoinvolvethemodeluserinmodel conceptualization itresults
enhancementofqualityofthemodel, increasetheconfidenceofmodeland Alsoincreasetheconfidenceofthemodeluserinthe applicationofthemodel.
1 May 2012 6
5/1/2012
StepsinSimulationStudy(4/10)
DataCollection Dataisdependentuponthecomplexityofthe model ModelTranslation Modelmustbeenteredintoacomputer recognizableformat
Simulationlanguage:powerful&flexiblethan specializedone
1 May 2012 7
StepsinSimulationStudy(5/10)
Verified? Isthecomputerprogramperforming properly? Withcomplexmodel,itisdifficulttotranslate ih l d l i i diffi l l amodelsuccessfullyinitsentirety,withouta gooddealofdebugging. Commonsenseisusedincompletingthis step.
1 May 2012 8
StepsinSimulationStudy(6/10)
Validated? Isthedeterminationthatthemodelisan accuraterepresentationoftherealsystem. V lid i i Validationisusuallyachievedthroughthe ll hi d h h h calibrationofthemodel. Calibration:isaniterativeprocessofcomparing themodeltotheactualsystembehavior;using thediscrepanciesbetweenthetwo,andthe insightgainedtoimprovethemodel.
9
StepsinSimulationStudy FlowChart
No No
Validated?
Yes
More runs??
No
Yes
StepsinSimulationStudy(7/10)
ExperimentalDesign Oftenthedecisionconcerningthealternativesto simulate,maybeafunctionofsimulationruns (thathavebeencompletedandanalyzed). For each system design that is to simulate Foreachsystemdesignthatistosimulate, decisionsneedtobemade,concerning (i)thelengthfortheinitializationperiod, (ii)thelengthofsimulationruns, (iii)thenumberofreplicationtobemadeof eachrun.
1 May 2012 11
StepsinSimulationStudy(8/10)
Productionrunsandanalysis Itisusedtoestimatethemeasuresof performanceforthesystemdesignsthatare beingsimulated. being simulated Moreruns? Basedontheanalysisofrunsthathavebeen completed,theanalystdetermines the numberof(additional)runsneededfurther.
1 May 2012 12
5/1/2012
StepsinSimulationStudy(9/10)
Documentationandreporting Therearetwosortsofdocumentation(i)Program&(ii)Progress (i)Program: Itisnecessarytoexplainhowtheprogramoperates. Iftheprogramistobemodifiedbythesameordifferentanalyst, thisshouldbefacilitatedbyadequatedocumentation. this should be facilitated by adequate documentation Incaseofchangingtheparameter clarificationneededforhowit effectoutputbychangingtheinput. (ii)Progress:Projectreportgiveachronologyofworkdoneand decisionsmade.
StepsinSimulationStudy(10/10)
Implementation Itdependsupontheprevious11stepsthathavebeen performed. Ifthemodeluserhasbeentheoreticallyinvolvedduring themodelbuildingprocessandifthemodeluser h d l b ildi d if h d l understandsthenatureofthemodelanditsoutputs,the likelihoodofavigorousimplementationisenhanced. Conversely,ifthemodelanditsunderlyingassumptions havenotbeenproperlycommunicated,implementation willprobablysuffer,regardlessofthesimulationmodels validity.
1 May 2012 14
1 May 2012
13
Index
SingleChannelQueue(1/10)
Asmallgrocerystorehasonlyonecheckout counter. Customerarriveatthischeckoutatrandom p from1to8minutesapart. Interarrivaltime:timebetweentoarrival. Thistermisusedtocountarrivalevent. Eachpossiblevalueofinterarrivaltimehas thesameprobabilityofoccurrence,asshown inthetable1.
15 16
Clarificationofterminologies
DefinitionofSimulation Areasofapplication StepsinSimulationStudy Steps in Simulation Study ExamplesofSimulation
1 May 2012
SingleChannelQueue(2/10)
Table1:Distributionofthetimebetween Time between Probability Cumulative Random digit arrival Arrivals probability Assignment
(minutes)
SingleChannelQueue(3/10)
Theservicetimesvaryfrom1to6minutes withtheprobabilitiesshowninthetable#2; Table2:Servicetimedistribution Random digit Service Time Probability Cumulative
(minutes)
1 2 3 4 5 6 7 8
1 May 2012
probability
Assignment
1 2 3 4 5 6
1 May 2012
5/1/2012
Table3:Simulationrun1:Time betweenarrivaldetermination
Random Digits Time between arrival
(minutes)
Customer
Random Digits 109 093 607 738 359 888 106 212 493 535
1 2 3 4 5 6 7 8 9 10
Assume to occur at 0 time 913 727 015 948 309 922 753 235 302 8 6 1 8 3 8 7 2 3
11 12 13 14 15 16 17 18 19 20
1 1 5 6 3 8 1 2 4 5
Table5:Simulationtable forQUEUEING
Service start time 0 8 14 18 23 26 34 41 45 50 53 56 61 65 66 71 75 78 81 83 Length of time customer waits in queue (minutes) 0 0 0
(18-15)=
Service Ends 4 9 18
Customer 1 2 3 4 5 6 7 8 9 10
Service Time
(minutes) 4 1 4 3 2 4 5 4 5 3
Customer 11 12 13 14 15 16 17 18 19 20
Random Digits 32 94 79 84 79 84 52 55 30 50
Service Time
(minutes)
4 5
3 5 4 1 5 4 3 3 2 3
15 23 26 34 41 43 46 47 48 53 59 62 70 71 73 77 82
21 25 30 39 45 50 53 56 61 65 66 71 75 78 81 83 86
0
(23-21)=2
0 0 0 0 2 4 6 8 8 6 4 1 4 5 4 1 Total = 56 #customer 13
4 2 0 0 0 0 0 0 0 0 0 0 0 0 0 Total= 17
15 16 17 18 19 20
SingleChannelQueue(8/10)
1. Average waiting time for a customer (min)
SingleChannelQueue(9/10)
Average service time (min) 4.
SimulationFindings(1/2)
SimulationFindings(2/2)
total service time (min) total number of customers 68 20 3.4min
E(s) S.p(s) s0 E(s) 1(0.1) 2(0.2) 3(0.3) 4(0.25) 5(0.10) 6(0.05) 3.2min
total time customers wait in queue (min) 56 2.8 min total number of customers 20
Expectedservicetime,
3.
The proportion of idle time of the server 17 total idle time of server 0.2 total run time of Simulation 86
23
1 May 2012
1 May 2012
24
5/1/2012
1 May 2012
25
1 May 2012
26