Simulacion Arena PDF
Simulacion Arena PDF
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
Standard Toolbar
Drawing Toolbar
Template Panel Project Bar Toolbar Model Window Canvas Flowchart View
Create 1
Process 1
Dispose 1
0 0
Create Module
The Create module generates a stream of arrivals of Arena entities (jobs, people, messages, etc.)
Process Module
The Process module processes (serves) Arena entities
Dispose Module
The Dispose module implements an entity sunset mechanism
entities that enter it are simply discarded
10
Arena Files
Whenever an Arena model is saved, the model is placed in a file with a .doe extension (e.g., mymodel.doe) whenever an Arena model (say, mymodel.doe) is checked using the Check Model option in the Run Menu or any run option in it, Arena automatically creates a number of files:
mymodel.p (program file) mymodel.mdb (Access database file) mymodel.err (errors file) mymodel.opw (model components file) mymodel.out (SIMAN output report file)
11
Arena provides a considerable number of default statistics in a report that is automatically generated at the end of a simulation run in Arena reports Additional statistics can be obtained by adding statistics collection modules in the model, such as
Record (Basic Process template panel) Statistic (Advanced Process template panel)
12
Arena expressions can be viewed as specialized variables that store the value of an associated formula (expression)
15
Record Module
The Record module is used by entities to collect statistics at selected locations in the model
the dialog box below the list of statistics types in a Record module
A user-specified report provides additional statistics via the Statistic module (Advanced Process template panel) and the Record module (Basic Process template panel) obtained by explicitly specifying statistics collection in those modules,
where the Statistic module is specified in a spreadsheet view, and the Record module must be placed in the appropriate location in the model
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 19
We are interested in
simulating the system for 100,000 hours estimating process utilizations, average job waiting times and average job flow times (the elapsed time for a job from start to finish).
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 20
Assign Module
The Assign module is used by entities to assign values to attributes
the dialog box below assigns an arrival time to a job attribute
Decide Module
The Decide module is used by entities to make branching decisions, based on chance or the truth/falsity of prescribed conditions
the dialog box below makes a two-way probabilistic branching decision
Record Module
The Record module is used by entities to collect statistics
the dialog box below tallies job flow times
24
Resources Report
25
Queues Report
26
27
Warehouse Demand
29
. .
30
31
32
34
Resource Module
A spreadsheet view of Resource modules (from the Basic Process template panel) is used to list all resources and their attributes One of the attribute fields is Failures, which specifies resource failures in a dialog box
the dialog box below shows the resource Packaging Process with its Failures field details
Spreadsheet views for a Resource module (bottom) and its Failures dialog box (top)
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 36
Failure Module
All failure/repair data (uptimes and downtimes) are specified in the spreadsheet Failure module (from the Advanced Process template panel)
the dialog box below illustrates the data for a random failure
37
Hold Module
The Hold module performs a gating function on entities
the dialog box below illustrates the use of a Hold module for checking the production state
The inventory level at the warehouse is maintained in a variable, called Inventory, initially set to 250
each product entity (batch of 5 units) that enters the Assign module, called Update Inventory, increases the warehouse inventory level by a batch of 5 finished jobs by adding the Batch Size to the variable Inventory that entity then proceeds from the Hold module, called Shall We Produce?, to the Decide module, called Check Target
39
Decide Module
The Decide module is used by entities to make branching decisions, based on chance or the truth/falsity of prescribed conditions
the dialog box below makes a two-way probabilistic branching decision by checking the inventory target level
41
42
43
Create Module
The Create module generates a stream of arrivals of Arena entities (jobs, people, demands, etc.)
the dialog box below models the arrival of customer demands
45
Decide Module
The customer then proceeds to the Decide module, called Check Inventory, to test whether the warehouse has sufficient inventory on hand to satisfy its demand If the variable Inventory has an equal or larger value than attribute Demand, then
the customer takes the True exit to the Assign module, called Take Away From Inventory, where its inventory is decreased the by the demand amount it next proceeds to the Decide module, named Restart Production, to test whether the Reorder Level variable has just been down crossed if it was down crossed, the customer proceeds to the Assign module, called Production Start, to set Production = 1, which would promptly release the product entity currently detained in the Hold module Shall We Produce?, effectively resuming the production process either way, the Customer entity proceeds to be disposed of at the Dispose module, called Dispose1
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 46
47
Variable Module
The Variable spreadsheet module (Basic Process template panel) is used to set or inspected user-defined variables defined in the model and their properties
the dialog box bellow lists user defined variables for our example system
Statistic Module
The Statistic spreadsheet module (Advanced Process template panel) is used to specify statistics collection in the model and their properties
the dialog box bellow lists statistics collected in our example system
49
time this expression is true, that is, the probability that the packaging process is in production
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 50
Record Module
The Record module is used to specify user-defined statistics collection via entities in particular model locations
the dialog box bellow specifies the tallying of demand loss at a Record module, called Tally Lost Amount
52
53
54
Frequencies Report
55
56
Improvement Strategy 1
In our case, we may attempt to achieve the goal of increasing the customer service level is to use Strategy 1 for modifying the original Production/Inventory system as follows:
invest more in maintenance activities this would reduce downtimes and consequently make the process more available for production
The next two reports show the improvements under this strategy (Strategy 1)
the average repair time is reduced from 90 minutes to 70 minutes consequently, the loss probability is reduced from 0.25 to 0.08!
57
58
59
Improvement Strategy 2
Strategy 2 increases the reorder level so that the reorder level is hit sooner and production would resume earlier
when the reorder level is doubled, then the amount lost per customers is marginally improved from 25% to about 21.5% however, we would like to do better as in Strategy 1
60
Time-Dependent Arrivals
So far we assumed that random phenomena (e.g., arrivals, services, etc.) are modeled as variates from a fixed probability law that does not change in time, so that the underlying processes are stationary However, it is quite common in practice for the underlying probability law to vary in time, in which case the underlying process is non-stationary (time dependent)
for example, rush hour traffic as opposed to ebb hour traffic
The Arena Create module provides a Schedule option in its Time Between Arrivals section, to be used only for single parameter distributions
example: the exponential distribution, which gives rise to the Poisson arrival process
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 61
Dialog box of a Create module (bottom) and spreadsheet view of its Schedule option (top)
Altiok / Melamed Simulation Modeling and Analysis with Arena Chapter 5 62