Deneme

Only available on StudyMode
  • Download(s) : 34
  • Published : May 23, 2013
Open Document
Text Preview
SIMULATION MODELING AND ANALYSIS WITH ARENA
T. Altiok and B. Melamed

Chapter 5 Arena Basics
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 1

The Arena Simulation System
• Arena is a powerful simulation environment
• consists of modeling object templates, called modules, and transactions that move among them, called entities • has a visual front-end • built around SIMAN block-oriented language constructs and other facilities

• SIMAN consists of two classes of objects:
• Blocks are basic logic constructs that represent operations, such as SEIZE blocks that model seizing of a facility by a transaction entity, while RELEASE blocks release the facility for use by other transaction entities • Elements are objects that represent facilities, such as RESOURCES and QUEUES

• Arena modules are are selected from template panels
• examples: Basic Process, Advanced Process, Advanced Transfer

• Arena modules are high-level constructs that functionally equivalent to sets of SIMAN blocks and/or elements, and internally are built of SIMAN blocks and/or elements Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 2

The Arena Home Screen
Title Bar Menu Bar Run Interaction Toolbar View Toolbar

Standard Toolbar

Drawing Toolbar

Animate Toolbar Animate Transfer Toolbar

Template Panel Project Bar Toolbar Model Window Canvas Flowchart View

Model Window Canvas Spreadsheet View
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 3

Example: A Simple Workstation
• Consider a single workstation, known in queueing theory as the M/M/1 queue, where • there is a machine with an infinite buffer in front of it • jobs arrive randomly and wait in the buffer while the machine is busy • jobs are processed by the machine and then leave the system • job inter-arrival times are exponentially distributed with mean 30 minutes • job processing times are exponentially distributed with mean 24 minutes

Create 1

Process 1

Dispose 1

0 0

0

Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5

4

Simulation Objects and Actions
• Simulating the above workstation calls for the following actions: • jobs are created, one at a time, according to their arrival distribution • if the machine is busy processing another job, then the arriving job is queued in the buffer • when a job advances to the head of the buffer, it seizes the machine for processing once it becomes available, and holds it for a time period, sampled from its processing-time distribution • on process completion, the job departs the machine and is removed from the system

• Simulation objects and their actions and interactions
• are modeled by Arena modules • parameterized by associated dialog boxes

Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5

5

Create Module
• The Create module generates a stream of arrivals of Arena entities (jobs, people, messages, etc.)

Dialog box for a Create module
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 6

Create Module (Cont.)
• The Type pull-down menu for the Time Between Arrivals field offers the following options: • Random (exponential inter-arrival times with mean given in the Value field) • Schedule (allows the user to create arrival schedules using the Schedule module from the Basic Process template panel • Constant (specifies fixed inter arrival times) • Expression (any type of inter-arrival time pattern specified by an Arena expression, including Arena distributions)

Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5

7

Process Module
• The Process module processes (serves) Arena entities

Dialog box for a Process module
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 8

Process Module (Cont.)
• The Action field option, selected from the pull-down menu, is Seize Delay Release, which stands for a...
tracking img