SimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide1of66ModelingBasicOperationsandInputsChapter4LastrevisionJune7,2003SimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide2of66WhatWe’llDo...•Model4-1:Electronicassembly/testsystemModelingapproachesNewArenamodules(Decide,Record)•Model4-2:Enhancedelectronicassembly/testResourceSchedules,States,andFailuresFrequencyoutputsMoreonutilizations•Model4-3:EnhancingtheanimationQueues,EntityPictures,ResourcePicturesAddingPlotsandVariablesSimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide3of66WhatWe’llDo...(cont’d.)•Model4-4:AddingentitytraveltimesModifywithStations,Transfers,Routes,animationofentitymovement•InputanalysisSpecifyinginputdistributions,parametersDeterministicvs.randominputCollectingandusingdataFittinginputdistributionsviatheInputAnalyzerNodata?NonstationaryarrivalprocessesMultivariateandcorrelatedinputdataSimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide4of66ElectronicAssembly/TestSystem(Model4-1)•Producetwodifferentsealedelect.units(A,B)•Arrivingparts:castmetalcasesmachinedtoaccepttheelectronicparts•PartA,PartB–separateprepareas•BothgotoSealerforassembly,testing–thentoShipping(out)ifOK,orelsetoRework•Rework–Salvaged(andShipped),orScrappedSimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide5of66PartA•Interarrivals:expo(5)minutes•Fromarrivalpoint,proceedimmediatelytoPartAPrepareaProcess=(machine+deburr+clean)~tria(1,4,8)minutes•GoimmediatelytoSealerProcess=(assemble+test)~tria(1,3,4)min.91%pass,gotoShipped;ElsegotoRework•Rework:(re-process+testing)~expo(45)80%pass,gotoSalvaged;ElsegotoScrappedSimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide6of66PartB•Interarrivals:batchesof4,expo(30)min.•Uponarrival,batchseparatesinto4individualparts•Fromarrivalpoint,proceedimmediatelytoPartBPrepareaProcess=(machine+deburr+clean)~tria(3,5,10)•GotoSealerProcess=(assemble+test)~weib(2.5,5.3)min.,differentfromPartA,thoughatsamestation91%pass,gotoShipped;ElsegotoRework•Rework:(re-process+test)=expo(45)min.80%pass,gotoSalvaged;ElsegotoScrappedSimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide7of66RunConditions,Output•Startempty&idle,runforfour8-hourshifts(1,920minutes)•CollectstatisticsforeachworkareaonResourceutilizationNumberinqueueTimeinqueue•Foreachexitpoint(Shipped,Salvaged,Scrapped),collecttotaltimeinsystem(a.k.a.cycletime)SimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide8of66DevelopingaModelingApproach•Definepiecesofmodel,modules,datastructures,controllogic•Appropriatelevelofdetail–judgmentcall•Oftenmultiplewaystomodel,representlogic•Thismodel:Entitiesaretheindividualparts(twotypes)SeparateCreatemodulesfortwoparttypesSeparateProcessmodulesforeachPrepareaProcessmodulesforSealerandRework,eachfollowedbyaDecidemodule(2-waybyChance)DepartmodulesforShipped,Salvaged,ScrappedAttributeSealerTimeassignedafterCreatesinAssignmodules(partshavedifferenttimesattheSealer)RecordmodulesjustbeforeDepartsfortimeinsystemSimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide9of66BuildingtheModel•Newmodelwindow•AttachBasicProcesspanel(ifneeded)•PlacemodulesCreate(x2)Assign(x2)Process(x4)Decide(x2)Record(x3)Dispose(x3)•Rightclick—repeatlastaction(placemodule)•Auto-Connect,ormanuallyconnectviaAlternatestrategy–placeonemoduleatatime,fillitoutcompletelySimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide10of66PartACreateModule•Name:PartAArrive•EntityType:PartA•TimeBetweenArrivalsType:Random(Expo)–Pull-downlistwithoptionsValue:5Units:Minutes–Pull-downlistwithoptions•Defaultwhat’snotmentionedaboveOncetheseentriesaremade,theyareplacedonthelistfornamesofthattype(ModuleName,EntityType,etc.)andwillappearonfuturepull-downlistsforthattypeofname.SimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide11of66PartBCreateModule•Name:PartBArrive•EntityType:PartB•TimeBetweenArrivalsType:Random(Expo)–Pull-downlistwithoptionsValue:30Units:Minutes–Pull-downlistwithoptions•EntitiesperArrival:4SimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide12of66PartAAttributesAssignModule•Name:AssignPartASealerandArriveTime•Addbutton:Type:AttributeAttributeName:SealerTimeNewValue:TRIA(1,3,4)•Addbutton:Type:AttributeAttributeName:ArriveTimeNewValue:TNOW(tocomputetimeinsystemonexit)TNOWistheinternalArenavariablenameforthesimulationclock;seeHelpArenaHelpContentsVariables,Functions,andDistributionsDateandTimeVariablesSimulationwithArena,3rded.Chapter4–ModelingBasicOperationsandInputsSlide13of66PartBAttributesAssignModule•Name:AssignPartBSealerandArriveTime•Addbutton:Type:AttributeAttributeName:SealerTimeNewValue:WEIB(2.5,5.3)•Addbutton:Type:AttributeAttributeName:ArriveTimeNewValue:TNOWNamesforthingsinArena–Defaultnamesusuallysuggested–Namesplacedonappropriatepull-downlistsforfuturereference–Allnamesinamodelmustbeunique(evenacross