Chapter 6 - Simulation
Chapter 6 - Simulation
1
Introduction to Modeling Using Arena Simulation
• There are several simulation modelling software packages
that are available in the market today.
Flowchart view
Project Bar
Spreadsheet View
3
…cont’d
Process flowchart
Animation, drawing
Edit things by double-clicking on them, get into a dialog
4
…cont’d
Spreadsheet view
Displays model data directly
Can edit, add, delete data in spreadsheet view
Displays all similar kinds of modeling elements at
once
View > Split Screen to see both flowchart and
spreadsheet views
Project Bar
Usually down the left edge of Arena window
Hosts panels with modeling building blocks: modules
Both flowchart and spreadsheet modules
5
…cont’d
6
MODULES
Basic building blocks of a simulation model Two
basic types: flowchart and data
Machine
(Server)
Arriving Departing
7 6 5 4
Blank Parts Finished Parts
Queue (FIFO) Part in Service
• Blank parts arrive to a drilling center, are processed by a single drill
press, and then leave;
• Interarrival time is exponentially distributed with a mean of 5
• Processing time follows a triangular distribution of the form (1, 3, 6)
Min = 1, mod = 3, max = 6
11
Double-click on module to open
property dialog
12
Name—Unique module identifier. This Value—Determines the mean of the
name is displayed on the module exponential distribution (if Random is used) or
shape. the constant value (if Constant is used) for the
Entity Type—Name of the entity time between arrivals. Applies only when
type to be generated. (E.g. Type is Random or Constant.
Entity1, Part A, Part B)
15
Process Module
This module is intended as the main processing method in
the simulation.
Typical Uses
Machining a part
Reviewing a document for completeness
Fulfilling orders
Serving a customer
16
Name—Unique module identifier.
Double click on the Process module and edit
This name is displayed on the
the dialog box as shown below
module shape.
17
Action
– Seize Delay Release – entity Seizes some number of units of a
Resource (maybe after a wait in queue), Delay itself there for
the processing time, then Release the units of the
Resource it had Seized – we chose this option
– Could just Delay entity (red traffic light) – no Resources or
queueing
– Could also Seize Delay (no Release … Release downstream)
– Could also Delay Release (if Resource had been Seized
upstream)
18
Add Resource
Quantity—Number of
resources of a given name
that will be
seized/released.
19
Resource Data Module
• Defining the Drill Press Resource in the Process module automatically creates
an entry (row) for it in the Resource data module
• Can edit it here for more options
Type – could vary capacity Based on Schedule instead of Fixed Capacity
– Would define the Schedule in the Schedule data module … later
Failures – could cause resource to fail according to some pattern
– Define this pattern via Failure data module (Advanced Process
panel) … later
20
Queue Data Module
• Defining the Drill Press Resource in the Process
module automatically creates an entry (row) for it in the
Queue data module
• Type – specifies queue discipline or ranking rule
• If Lowest or Highest Attribute Value, then another
field appears where you specify which attribute
• Shared – if this queue will be shared among several
resources (later …)
• Report Statistics – check for automatic collection and
reporting of queue length, time in queue
21
Animating Resources and Queues
22
Introduction to Modeling Using Arena Slide 19
Animating Resources
23
Dispose Module
Represents entities leaving model boundaries
Name the module: “Parts Leaving System”
Decide on Record Entity Statistics (average, maximum
time in system of entities exiting here, costing
information)
24
Run > Setup > Replication Parameter
25
Dynamic Plots
30
Running it
31
Viewing the Reports
32
33
• Entity → Time → Total Time → Part:
• Avg. time in system was 6.4397 min., max was 12.6185
34
35
Exercise
36
================= Chapter 6 _End ================
37