Copyright(c)1993-1995AdvanEdgeTechnologies,Inc.Chapter4UsingBasicStatements4Optima!hasseveralstatementtypesformodelingactivitiesinaprocess.Inaprocessmap,statementsarerepresentedbysymbolsthatrepresenttheprocessflow.Theinformationinastatementisusedduringsimulation.Thischapterintroducesthestatementtypes.Someofthestatementsworkwitheachother,suchasAcquireandReleasewhichareusedtoallocateresources,andSplitandJoinwhichworkwithmultiplepaths.Otherstatements,suchasProcess,providehierarchytoaprocessmap.YoucanfollowtheNowTryThisexercisesinthischaptertolearnthebasicsofthevariousstatementtypes.InThisChapterAboutStatements.........................................4-2AbouttheStartSymbol...............................4-4UsingActions..............................................4-6UsingDecisions...........................................4-8UsingAcquire............................................4-10UsingRelease............................................4-14UsingGather..............................................4-16UsingSplit.................................................4-18UsingGate.................................................4-20UsingJoin..................................................4-22UsingProcessStatements..........................4-24UsingException.........................................4-26AboutTransactionsandSimulationWhenyoucreatestatements,you'llbegintoseethemodelintermsofhowitwillbesimulated.Duringsimulation,aseriesofflowingentities,calledtransactions,areintroducedintotheprocessflow.Themovementofthetransactionsprovidesdatatoanalyzethemodel.Allofthestatementtypesdealdirectlywithtransactions.Forexample,theActionstatementsetstheamountoftimethatatransactiontakestoprocess.SeealsoStartingandStoppingSimulationinChapter6.Page4-2Optima!User'sGuideAboutStatementsAstatementisabasicmodelingobject.AstatementhasaspecifictypesuchasActionorDecision.Thedifferentstatementtypesaredescribedindetailinthischapter.Eachtypehascertaincharacteristics,forinstance,durationorstatisticalprobabilities.Youusestatementstomodelaprocess.Statementscanhaveanysymbolstyle.ThesymbolsontheToolbarhavedefaultstatementsassignedtothembutthesymbolscanrepresentanyOptima!statement.Thefollowingtablelistsactivitiesforwhichyoumightusedifferenttypesofstatements.Ifyouaremodelingthistypeofactivity:Usethisstatement:Forexample:AnactionthattakesaspecificamountoftimetocompleteActionAnassemblyprocedurethattakestwelveminutesAcourseofactionthatdependsontheoutcomeofatestordecisionDecisionIfaqualitytestpasses,theproductisassembled,elsetheproductisscrappedAsharedresourceisusedAcquireAworkerchecksoutasolderingironfromthesharedpoolAsharedresourceisreturnedtothepoolReleaseTheworkerbringsthesolderingironbackforotherstouseAprocessthatsplitsintoparallelactivitieswhichworktowardthesameoutcomeSplitAprinterisassembledintothreesubpartsconcurrentlyTheparallelactionsthathavebeenpreviouslysplitcomebacktogetherJoinCopiesofareportaresigned,stapledtogether,andsenttothebossAprocessthatstopsuntilaspecifiednumberofaproductisgatheredGatherApackageofcablesisassembledwhentherearetwelvecablesreadyAconditionthatstopsallprocessinguntilitismetGateAllordersfromanewcompanyarehelduntilcreditisapprovedAsplitintoparallelactivitiesthathavedifferentoutcomesProcessAfter200cycles,eachmachineistakenoutofserviceandcleanedAsplittransactionstopsotherfamilymembersExc...