or 335 / syst 335 introduction to arena. introduction brant horio [email protected]

30
OR 335 / SYST 335 OR 335 / SYST 335 Introduction to ARENA Introduction to ARENA

Upload: lauren-oneal

Post on 13-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

OR 335 / SYST 335OR 335 / SYST 335

Introduction to ARENAIntroduction to ARENA

IntroductionIntroduction

Brant HorioBrant Horio

[email protected][email protected]

Back to the BasicsBack to the Basics

Fundamentals of simulation methodology Fundamentals of simulation methodology are the cornerstone of all simulation are the cornerstone of all simulation packagespackages

Basics are necessary for accurate model Basics are necessary for accurate model development and model output development and model output understandingunderstanding

Different packages then become only an Different packages then become only an issue of a new syntaxissue of a new syntax

Model Development is an Art!Model Development is an Art!

Incredible model flexibility with ‘over the Incredible model flexibility with ‘over the counter’ simulation software packagescounter’ simulation software packages

Art of practice involved with interpretation Art of practice involved with interpretation of systemof system

Endless possibilities in ‘how’ to model a Endless possibilities in ‘how’ to model a specific systemspecific system

Model Development is an Art!Model Development is an Art!

Essential Core of Simulation Analysis Essential Core of Simulation Analysis is Scientific Experimentationis Scientific Experimentation Endless possibilities in ‘How’ to model a Endless possibilities in ‘How’ to model a

specific systemspecific system You must determine best way to account for You must determine best way to account for

all relevant assumptions/variables and all relevant assumptions/variables and maintain end-user flexibilitymaintain end-user flexibility

Maintain focus on problem as a wholeMaintain focus on problem as a whole

The Modeling BreakdownThe Modeling Breakdown

10%:10%: Model DevelopmentModel Development

90%:90%: Problem DefinitionProblem DefinitionData Collection / AnalysisData Collection / AnalysisScenario ExperimentationScenario ExperimentationOutput AnalysisOutput AnalysisExpected Success MeasuresExpected Success MeasuresModel PresentationModel Presentation

Success Story?Success Story?

Aircraft Service Equipment Inventory Aircraft Service Equipment Inventory IncreaseIncrease Is the increase necessary?Is the increase necessary? Is the expected service time improvement Is the expected service time improvement

worth the associated massive capital worth the associated massive capital expense?expense?

These are questions Simulation Analysis These are questions Simulation Analysis is meant to answeris meant to answer

Success!Success!

1 Simulation software license:1 Simulation software license: $18,000$18,000

Time to build model:Time to build model: 3 months3 months

Number of models built:Number of models built: 1______ 1______

Result:Result: Priceless?Priceless?

Nope, … Prevented capital expenditure of Nope, … Prevented capital expenditure of ~ ~ $1 million$1 million

Introduction to ARENAIntroduction to ARENA

Windows driven interfaceWindows driven interface

Flowchart style model developmentFlowchart style model development Process blocksProcess blocks Process routing determined by connections Process routing determined by connections

between blocksbetween blocks Templates contain process blocksTemplates contain process blocks

Example model construction of a Example model construction of a One-Node systemOne-Node system

Example One-Node SystemExample One-Node System

Model is composed of 3 partsModel is composed of 3 parts Creation/Introduction of entities to systemCreation/Introduction of entities to system Processing of entities in the systemProcessing of entities in the system Exiting the entities from the systemExiting the entities from the system

Example ProblemExample ProblemThe Sooty DilemmaThe Sooty Dilemma

The Sooty DilemmaThe Sooty Dilemma

CREATE:CREATE: 43 new baby guinea pigs to be born at a rate 43 new baby guinea pigs to be born at a rate

of Triangular( 2, 5, 6 )of Triangular( 2, 5, 6 )

PROCESS:PROCESS: Baby guinea pigs are adopted at a rate of Baby guinea pigs are adopted at a rate of

Triangular( 3, 5, 8 )Triangular( 3, 5, 8 )

Question:Question: What is the expected time for the entire litter What is the expected time for the entire litter

to be adopted?to be adopted?

Note:Note:

Distributions are unreasonableDistributions are unreasonableAssumptions of introduction of baby Assumptions of introduction of baby guinea pigs to system are inaccurateguinea pigs to system are inaccurate

Emphasizes the point that:Emphasizes the point that:

GARBAGE IN, GARBAGE OUT!GARBAGE IN, GARBAGE OUT! Be Careful !!!Be Careful !!!

Basic ProcessBasic Process Template Template

CreateCreate: Generate : Generate entities to systementities to system

ProcessProcess: Perform : Perform action on entitiesaction on entities

DecideDecide: Routes entity : Routes entity based on conditionbased on condition

DisposeDispose: Exits entity : Exits entity from systemfrom system

Additional TemplatesAdditional Templates

CREATECREATE Module Module

NameName: Module name: Module nameEntity TypeEntity Type: Unit to : Unit to create for systemcreate for systemTime Between Time Between ArrivalsArrivals: Apply : Apply distribution or custom distribution or custom expressionexpressionEntities per ArrivalEntities per Arrival, , MaxMax and and First First CreationCreation

Spreadsheet Entry AvailableSpreadsheet Entry Available

Module parameter entryModule parameter entry Flowchart view ( Double-click module block )Flowchart view ( Double-click module block ) Selection of module block also opens specific Selection of module block also opens specific

spreadsheet view on bottom of screenspreadsheet view on bottom of screen

Spreadsheet ModulesSpreadsheet Modules

Spreadsheet displays based on Spreadsheet displays based on templatetemplate

Create and manage model Create and manage model components in centralized areacomponents in centralized area

When in Doubt, Right ClickWhen in Doubt, Right Click

‘‘Build Expression’ Build Expression’ provides flexibilityprovides flexibility

Most useful for Most useful for applying distributionsapplying distributions

Generate random Generate random numbersnumbers

Create custom Create custom formulasformulas

PROCESSPROCESS Module Module

ActionAction:: Delay:Delay: dd dd Seize Delay:Seize Delay: dd dd Seize Delay Release:Seize Delay Release:

dddd Delay Release:Delay Release: sds sds

PROCESS ModulePROCESS Module‘Action’ Options‘Action’ Options

DelayDelay: Delays/Processes entity for a given time : Delays/Processes entity for a given time period ( No Queue )period ( No Queue )

Seize Delay ( Part 1 )Seize Delay ( Part 1 ): Utilizes resource to : Utilizes resource to process entity ( Queue )process entity ( Queue )

Delay Release ( Part 2 )Delay Release ( Part 2 ): Utilizes captured : Utilizes captured resource to process, then releases resourceresource to process, then releases resource

Seize Delay ReleaseSeize Delay Release: Utilizes resource to : Utilizes resource to process entity, then allows resource to process process entity, then allows resource to process another entity ( Queue )another entity ( Queue )

PROCESS Module - QueuesPROCESS Module - Queues

Queues are customizable ( Dbl Click Queue )Queues are customizable ( Dbl Click Queue )

DISPOSEDISPOSE Module Module

Exits entity from systemExits entity from system

Automatically tracks entity throughputAutomatically tracks entity throughput

Run SetupRun Setup

Model RunModel Run

Remember time units!!!Remember time units!!!

General rule of thumb for replication is 30General rule of thumb for replication is 30

Model will have automatic basic Model will have automatic basic animationsanimations

After run completion; report generationAfter run completion; report generation

Output ReportsOutput Reports

Category by ReplicationCategory by Replication Most data output is automaticMost data output is automatic

Litter to be completely adopted in 272 Litter to be completely adopted in 272 days based on current assumptions!days based on current assumptions!

ANIMATION!ANIMATION!

Focus on basics for nowFocus on basics for now

Power of simulation is best embodied by Power of simulation is best embodied by its ability to communicate and justify its ability to communicate and justify recommendations to decision makersrecommendations to decision makers

‘‘Buy Off’ is of critical importanceBuy Off’ is of critical importance

Animation is invaluable in assisting Animation is invaluable in assisting communication of the modelcommunication of the model

May also act as a debugging toolMay also act as a debugging tool

ANIMATIONANIMATION

Entity animation pictures are customizable Entity animation pictures are customizable under EDIT / ENTITY PICTURESunder EDIT / ENTITY PICTURES

Resource animation pictures are Resource animation pictures are customizable through the ‘Animate’ buttoncustomizable through the ‘Animate’ button

Happy ModelingHappy Modeling

Play around with Arena on your ownPlay around with Arena on your own

Increased familiarity = increased model Increased familiarity = increased model development proficiencydevelopment proficiency

Questions?Questions?