Arena Basic Edition User's Guide
Arena Basic Edition User's Guide
USERS GUIDE
PUBLICATION ARENAB-UM001J-EN-PApril 2010
Supersedes Publication ARENAB-UM001I-EN-P PN-71362
Contact Rockwell
Customer Support Telephone 1.440.646.3434 Online Support http://www.rockwellautomation.com/support/ 2010 Rockwell Automation, Inc. All rights reserved. Printed in USA. This document and any accompanying Rockwell Software products are copyrighted by Rockwell Automation, Inc. Any reproduction and/or distribution without prior written consent from Rockwell Automation, Inc. is strictly prohibited. Please refer to the license agreement for details. Arena, Rockwell Automation, and SIMAN are registered trademarks of Rockwell Automation, Inc. ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe, Windows, Windows ME, Windows NT, Windows 2000, Windows Server 2003, and Windows XP are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. ControlNet is a registered trademark of ControlNet International. DeviceNet is a trademark of the Open DeviceNet Vendor Association, Inc. (ODVA) Ethernet is a registered trademark of Digital Equipment Corporation, Intel, and Xerox Corporation OLE for Process Control (OPC) is a registered trademark of the OPC Foundation. Oracle, SQL*Net, and SQL*Plus are registered trademarks of Oracle Corporation. All other trademarks are the property of their respective holders and are hereby acknowledged. This product is warranted in accordance with the product license. The products performance may be affected by system configuration, the application being performed, operator control, maintenance, and other related factors. Rockwell Automation is not responsible for these intervening factors. The instructions in this document do not cover all the details or variations in the equipment, procedure, or process described, nor do they provide directions for meeting every possible contingency during installation, operation, or maintenance. This products implementation may vary among users. This document is current as of the time of release of the product; however, the accompanying software may have changed since the release. Rockwell Automation, Inc. reserves the right to change any information contained in this document or the software at anytime without prior notice. It is your responsibility to obtain the most current information available from Rockwell when installing or using this product. Version: 13.50.00 Modified: April 28, 2010 4:31:54 PM
Copyright Notice
Warranty
Contents
1 Welcome to Arena Basic Edition
What is Arena Basic Edition? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intended audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Where can I go for help? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reference the users guides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Explore our examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Get help. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Use the Smarts library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Access the Arena Symbol Factory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Get phone support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Get Web support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Get training . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Get consulting services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contact us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
1 1 2 2 2 2 2 3 3 3 4 4 4
2 Getting Started
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Our task: Analyze a home mortgage application process . . . . . . . . . . . . . . . . . . . . . . . 5 The Arena modeling environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Map your process in a flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Create the mortgage application entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Process the applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Decide whether applications are complete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Dispose the applications to terminate the process . . . . . . . . . . . . . . . . . . . . . . . . 10 What is a module? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Using modules in Arena Basic Edition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Define model data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Initiate mortgage application (Create module) . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Review application (Process module) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 What are entities? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Complete? (Decide module) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Accepted, Returned (Dispose module) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Mortgage review clerk (Resource module) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Prepare for the simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Save the simulation model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Simulate the process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 View simulation reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Enhance the visualization process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Animate the mortgage review clerk resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . How do I use Rulers and Guides? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Plot the number of applications in-process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What is a model thumbnail? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rerun the simulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Next steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21 23 24 25 26 26 27
29
29 29 30 31 33 34 35 36 37 38 40 40 41 42 43 44 46 47
49
49 49 50 51 52 53 53 53 54 55 55 55 56
CONTENTS
A Statistical Distributions
57
Statistical Distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Beta . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Continuous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Discrete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Erlang . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Exponential . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Gamma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Johnson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Lognormal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Normal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Poisson . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Triangular . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Uniform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Weibull . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
75
75 76 76 76
Index
79
Documenting, visualizing, and demonstrating the dynamics of a process with animation Predicting system performance based on key metrics such as costs, throughput, cycle times, and utilizations Identifying process bottlenecks such as queue build ups and over-utilization of resources Planning staff, equipment, or material requirements
In addition to the Arena Basic Edition, Rockwell Automation offers a full suite of products to provide enterprise-wide simulation, optimization, and 3D model animation.
Intended audience
The Arena Basic Edition is designed for business consultants, business analysts, and engineers. It can be widely deployed as a desktop tool and can serve as a natural extension to those who use various flowcharting packages such as Visio to document business processes. We assume that you are familiar with the basic concepts and terms used in these types of systems. You are interested in improving business or manufacturing productivity and are responsible for evaluating and predicting the impact of proposed strategic and tactical changes to help improve performance. A familiarity with computers and the Microsoft Windows operating system is assumed. A familiarity with the concepts and terms used in simulation is also helpful.
Throughout the guides, a number of style conventions are used to help identify material. New terms and concepts may be emphasized by use of italics or bold; file menu paths are in bold with a (>) separating the entries (e.g., go to Help > Arena Help); text you are asked to type is shown in Courier Bold (e.g., in this field, type Work Week), and dialog box and window button names are shown in bold (e.g., click OK).
Get help
Online help is always at your fingertips! Arena incorporates the latest in help features, including Whats This? help that displays a brief description of fields in dialogs, contextsensitive help on menu and toolbar buttons, and a help button on each of Arenas modules. Just refer to the Arena help table of contents and index for a list of all help topics.
Arena animations can be enhanced using Arena Symbol Factorys extensive library of symbols. These symbols can be used for entity, resource, transporter, or global pictures or as graphic symbols within a model window. You can copy these symbols directly to the Arena model window, add them to your own libraries (.plb files), or add them to any of the Arena picture library files.
(for users on active maintenance) a technical support hotline and e-mail address staffed by full-time, experienced professionals help with installation problems or questions related to the softwares requirements troubleshooting limited support regarding the interaction of Arena with other programs support of the Arena Object Model, which is used in Microsoft Visual Basic for Applications
If you call the support line (1.440.646.3434), be at your computer and be prepared to give the following information:
the product serial number the product version number the operating system you are using the exact wording of any messages that appeared on your screen a description of what happened and what you were doing when the problem occurred a description of how you tried to solve the problem
And be sure to check the Arena User Zone section of our Web site at www.ArenaSimulation.com. The User Zone links to a peer-to-peer forum on Arena topics and has a link to a download page where you can check for possible software updates (patches). If you cant find the answer you need, contact your local representative or Arena technical support.
Get training
Do you need training? Rockwell Automation offers a standard training course comprised of lecture and hands-on workshops designed to introduce you to the fundamental concepts of modeling with Arena. We also offer customized training courses designed to meet your specific needs. These courses can be held in our offices or yours, and we can accommodate one person or twenty. You design the course thats right for you! Simply contact our consulting services group to discuss how we can help you achieve success in your simulation efforts.
Contact us
We strive to help all of our customers become successful in their manufacturing improvement efforts. Toward this objective, we invite you to contact your local representative or Rockwell Automation at any time that we may be of service to you. Support E-mail: [email protected] Corporate E-mail: [email protected] Support phone: 1.440.646.3434 URL: www.ArenaSimulation.com URL: www.RockwellAutomation.com
Getting Started
Introduction
While you may not realize it quite yet, you now have the power to transform your business. Whenever you and others in your organization are wondering what if?, you can look into the future to find the answer. With Arena, you can:
2 Getting Started
Model your processes to define, document, and communicate. Simulate the future performance of your system to understand complex relationships and identify opportunities for improvement. Visualize your operations with dynamic animation graphics. Analyze how your system will perform in its as-is configuration and under a myriad of possible to-be alternatives so that you can confidently choose the best way to run your business.
The Project Bar usually is docked at the left of the Arena application window, but can tear off or dock at another position just like any toolbar.
To model your process in Arena, youll work in three main regions of the application window. The Project Bar hosts panels with the primary types of objects that you will work with:
Basic Process panel: Contain the modeling shapes, called modules, that youll use to define your process. Reports panel: Contains the reports that are available for displaying results of simulation runs. Navigate panel: Allows you to display different views of your model, including navigating through hierarchical submodels and displaying a model thumbnail.
2 GETTING STARTED
In the model window, there are two main regions. The flowchart view will contain all of your model graphics, including the process flowchart, animation, and other drawing elements. The lower, spreadsheet view displays model data, such as times, costs, and other parameters. As we model the mortgage application process, well work in all three of these regions of Arena.
2 Getting Started
Where do the mortgage applications enter the process? What happens to them at each step? What resources are needed to complete work?
First, well draw the flowchart representing the mortgage application process. Refer to the Mortgage Application Process Flowchart (shown previously) so youll know what well be creating.
Every process flow starts with a Create module. When you simulate the flowchart, individual entities will be created according to timing information you supply in the Create module properties. After its created, each entity moves from the Create module to the next shape in the process flow.
Next in our flowchart is a Process module that represents the Review Application step. 1. Be sure that the Create module is selected so that Arena will automatically connect the Process to the Create module. 2. Drag a Process module from the Basic Process panel into the model window, placing it to the right of the Create. Arena will automatically connect the two modules. As with the Create, the Process module has a default name that well replace later.
2 Getting Started
2 GETTING STARTED
Note: If no connection appears between Create and Process, click the Object > Connect menu item or the Connect toolbar button to draw a connection. Your cursor will change to a cross hair. Start the connection by clicking the exit point ( ) of the Create module, then click the entry point ( ) of the Process module to complete the connection. If you need to make multiple connec- tions, simply double-click the Connect button or select Object > Connect twice (the Connect button will remain depressed to indicate it is in multi-connect mode). Then draw as many connections as desired. A valid connection target (e.g., entry point, exit point, or operand object) is now highlighted during a connection session if the pointer is hovered over it. To end the multi-connection session, click again on the Connect option, press Esc, or right-click.
If the mortgage application has a complete set of information, it will leave the Decide module from the right side of the diamond shape, representing the True condition. Incomplete applications (False result to the Decide test) will leave via the bottom connection.
10
2 GETTING STARTED
Entity flow always begins with a Create module and terminates with a Dispose module. You may have as many of each of these modules as you need to generate entities into the model and to remove them when their processing is complete.
2. Drag a Dispose module to the right of the Decide module. Arena will connect it to the primary (True) exit point of the Decide module. (We wont include a graphic display since youre now familiar with the drag-and-drop sequence.) 3. To add the second Dispose module, once again select the Decide module, so that Arena will automatically connect its False exit point to the new Dispose module, and drag another Dispose module below and to the right of the Decide module. 4. Drag and drop another Dispose module, placing it below and to the right of the Decide shape, completing the process flowchart.
2 Getting Started
What is a module?
In Arena, modules are the flowchart and data objects that define the process to be
simulated. All information required to simulate a process is stored in modules. For now, were working with flowchart modulesthose that are placed in the model window to describe the process. In the Basic Process panel, these are the first eight shapes:
Create: The start of process flow. Entities enter the simulation here. Dispose: The end of process flow. Entities are removed from the simulation here.
Process: An activity, usually performed by one or more resources and requiring some time to complete. Decide: A branch in process flow. Only one branch is taken. Batch: Collect a number of entities before they can continue processing. Separate: Duplicate entities for concurrent or parallel processing, or separating a previously established batch of entities. Assign: Change the value of some parameter (during the simulation), such as the entitys type or a model variable. Record: Collect a statistic, such as an entity count or cycle time.
Simulation settings are defined in the Run > Setup > Replication Parameters dialog box. There is also a set of data modules for defining the characteristics of various process elements, such as resources and queues.
11
5. Click OK to close the dialog box. For now, well leave the default values for the other Create module properties. Feel free to explore their purposes through online help or the Arrivals models in the Smarts library.
12
2 GETTING STARTED
or electronic records (checks, contracts, applications, purchase orders). In service systems, entities usually are people (the customers being served in a restaurant, hospital, airport, etc.). Manufacturing models typically have some kind of part running through the process, whether its raw material, a subcomponent, or finished product. Other models might have different types of entities, such as data packets in network analysis or letters and boxes in package-handling facilities.
You may have different types of entities in the same model. For example, customers moving through a check-in counter at an airport might be separated into regular, firstclass, and priority entity types. In some cases, entity types might be of an altogether different form rather than classifications of some basic type. For instance, in a pharmacy, 2 Getting Started
prescriptions would be modeled as entities, running through the process of being filled. At the same time, customers might be competing for the pharmacists attention with
medical inquiries; they would also be modeled as entities.
For the time delay, we also want to capture the natural variability that exists in most processes. Very often, for work done by people or equipment, a triangular distribution provides a good approximation. You specify the minimum time in which the work could be done, the most likely value for the time delay, and the maximum duration of the process. During the simulation run, each time an entity enters the process, Arena will calculate a sample from the distribution information youve providedin our case, a triangular distribution. Over the course of a long simulation run where thousands of individual samples are taken, the times will follow the profile illustrated next.
13
For our Review Application process, well use a minimum time of 1 hour, most likely value of 1.75 hours, and a maximum of 3 hours. We will assign a resource, the Mortgage Review Clerk, to perform this process.
If more than one resource is required for a process to be performed, add as many as are necessary in the Process dialogs Resources list. An entity wont commence its process delay until all listed resources are available.
1. Double-click the Process module to open its property dialog box. 2. In the Name field, type Review Application.
3. To define a resource to perform this process, pull down the Action list and select Seize Delay Release.
Arriving entities will wait their turn for the resource to be available. When its turn comes, the entity will seize the resource, delay for the process time, and then release the resource to do other work. 4. A list of resources will appear in the center of the dialog box. To add a resource for this process, click Add.
14
2 GETTING STARTED
5. In the Resource Name field of the Resource dialog box, type Mortgage Review Clerk.
6. Click OK to close the Resource dialog box. 7. Define the process delay parameters in the Minimum, Value (Most Likely), and Maximum fields as 1, 1.75, and 3. (Note that the default delay type is Triangular and the default time units are in hours.)
2 Getting Started
8. Click OK to close the dialog box. For now, well leave the default values for the other Process module properties. Feel free to explore their purposes through online help or the Basic Concepts and Resources models in the Smarts library.
1. Double-click the Decide module to open its property dialog box. 2. In the Name field, type Complete?.
15
3. For the Percent True field, type 88 to define the percent of entities that will be treated with a True decision (i.e., will depart through the exit point at the right of the Decide module).
2. Click OK to close the dialog box. 3. Double-click the other Dispose module to open its property dialog box. In the Name field, type Returned.
16
2 GETTING STARTED
2 Getting Started
1. In the Basic Process panel, click the Resource icon to display the Resources spreadsheet. 2. Because we defined the Mortgage Review Clerk as the resource in the Review Application process, Arena has automatically added a resource with this name in the Resources spreadsheet. Click in the Busy/Hour cell and define the cost rate when the clerk is busy by typing 12. Click in the Idle/Hour cell and assign the idle cost rate by typing 12.
17
18
2 GETTING STARTED
If Arena displays an error message, you can use the Find button in the error window to locate the source of the problem. You can change between the error and model windows by selecting them from the Window menu.
As the simulation progresses, youll see small entity pictures resembling pages moving among the flowchart shapes. Also, a variety of variables change values as entities are created and processed, as illustrated below.
Create: Number of entities created Decide: Number of entities out each branch
2 Getting Started
If the animation is moving too fast, you can slow it down by adjusting the animation scale factor. For this, you have the following choices:
The animation scale factor is the amount of simulated time between successive screen updates. Smaller values provide smoother, slower animation.
Open the Run Setup dialog box via the Run > Speed > Animation Speed Factor menu item and enter a smaller value (e.g., 0.005) for the scale factor; or Use the less-than (<) key during the run to decrease the scale factor by 20%. Be sure that the model window is activenot the Navigate panelor > and < wont take effect. Pressing < repeatedly is an easy way to fine tune the animation speed. The greater-than (>) key speeds up animation by 20%. Use the slider bar in the main toolbar. Move the slider to the left to slow down the animation; move the slider to the right to speed up the animation.
If the run finishes before you have a chance to explore these controls, answer No when youre asked if you want to view the results. Then click Start Over on the Run toolbar to begin the run again.
To pause the simulation, click the Pause button or press the Esc key. With the automatic flowchart animation, you can see how many entities have been created, are currently in the Review Application process, have left each branch of our Decide module, and have left the model at each of our terminating Dispose modules. These variables can be helpful in verifying the model. For example, if the probability in the Decide shape was entered incorrectly (e.g., if you typed 12the rejection probabilityinstead of 88), the variables would show that many more applications were leaving the Returned branch.
19
You also can step through the simulation one event at a time. Pause the simulation, then click the Step button or press the F10 key. Each time you step the simulation, an entity is moved through the flowchart. Usually, youll see animation of the entitys movement, though sometimes no visual change will take place (e.g., when the next event is creating a new entity). When this occurs, just step again to move forward to the next event.
Each of Arenas reports is displayed in its own window within the Arena application. You can use the standard window options (maximize, minimize, etc.) by clicking on the window control buttons or by pulling down the window menu.
On the left side of each report window is a tree listing the types of information available in the report. The project name (in our case, Mortgage Review) is listed at the top of the tree, followed by an entry for each category of data. This report summarizes the results across all replications (although, in this model, we have only one replication). Other reports provide detail for each replication.
20
2 GETTING STARTED
By clicking on the entries inside the category sections, you can view various types of results from the simulation run. The following table illustrates some of the questions you could answer from the Category Overview Report on our simple mortgage application process simulation.
Question Report Section Answer
Total Time (Entity), Average column Total Cost (Entity), Average column
Total Time (Process), Maximum column Number Waiting (Queue), Maximum column
16.51 hrs
2 Getting Started
$22.99
33.45 hrs 21 applications
97%
After youve browsed the Category Overview Report, you can close it by clicking on the window icon to the left of the File menu and clicking Close. You can look at other reports by clicking on their icons in the Project Bar. Each report will be displayed in its own window. To return to the model window, close all of the report windows or select the model file from the Window menu. After you have viewed the reports and returned to the model window, end the Arena run session by clicking the End button.
21
Note: You can toggle between the split view (flowchart and spreadsheet) and a full-screen view of either area by clicking the Split Screen toolbar button or selecting the View > Split Screen menu item. When in full-screen view, clicking the icons on the Basic Process panel displays the appropriate view (flowchart for flowchart modules and spreadsheet for data-only modules).
22
2 GETTING STARTED
2 Getting Started
Click the Idle button in the table on the left. Select from the picture library table on the right the picture of the worker sitting down. Click the Transfer button between the tables to use the worker picture for the Idle resource state.
E:
Click the Busy button in the table on the left. Select from the picture library table on the right the picture of the worker reading a document. Click the Transfer button between the tables to use the selected picture when the Mortgage Review Clerk is busy.
E:
6. Click OK to close the dialog box. (All other fields can be left with their default values.) 7. The cursor will appear as a cross hair. Move it to the model window and click to place the Mortgage Review Clerk resource animation picture.
23
8. If youd like to have the clerk appear a bit larger, select the picture and use the resize handles to enlarge it.
Rulers
Guides
Glue to Guides
Selecting the Rulers command on the View menu toggles horizontal and vertical rulers at the top and left edges of each drawing window. The ruler labels display the (+/-) distance from the origin in Arena world units. The spacing between the ruler labels is based on the snap spacing, with the labels rounded to the nearest snap point if Snap to Grid is enabled. When the Guides command (View menu) is activated, you may add guides into the application window to aid in positioning shapes precisely. You may either drag them from the horizontal or vertical ruler edges independently or drag them simultaneously from the origin corner. If you select a guide, you may drag it to a new position, or you may remove
it by pressing Delete.
Activating the Glue to Guides command (View menu) allows you to drag a shape (module or drawing object) to a guide until the shape selection handle turns red (as shown in the circled call-out of the example), which indicates that the shape is glued to the guide. The guide may then be dragged to a new location and all shapes glued to the guide will maintain their alignment and will move with the guide.
24
2 GETTING STARTED
2 Getting Started
3. In the properties grid for the data series (by default it will be named Series1), go to the Source Data\Expression property. This property defines the simulation expression to monitor and plot. Type in the expression Review Application.WIP. 4. Now go to the Axes tab page and select the Left (Y) Value axis. Change the scalerelated properties for that axis to be as listed below (leaving the default for any property not specifically mentioned). Specify the value 5 for the Scale\MajorIncrement property, so that major tick marks on the y-axis are displayed over 5 units. 5. Now select the horizontal Time (X) axis. Change the scale-related properties for that axis to be as listed below (leaving the default for any property not specifically mentioned). Specify the value 480 for the Scale\Maximum property. This sets the horizontal time axis of the plot to be 480 hours of simulated time, matching our run length. Specify the value 48 for the Scale\MajorIncrement property, so that the major tick marks on the x-axis are displayed every 48 hours (or 2 days). 6. Click OK to close the Plot dialog. 7. The cursor changes to a cross hair. Draw the plot in the model window by clicking to locate each of the two opposite corners (e.g., the top-left and bottom-right corners), placing the plot below the flowchart and to the right of the resource.
25
With the edits complete, you may want to save them by clicking Save or pressing Ctrl+S.
The thumbnail displays the world space of the current drawing window. A colored, translucent rectangle represents the current view's boundaries. Dragging the rectangle in the thumbnail moves the drawing window's current view left, right, up, or down; however, the rectangle may not be dragged outside the boundaries of the world space.
You may also re-center the rectangle, and thus the world space, or change the level of
zoom. For details on model thumbnail, see the Navigate Panel topic in online help.
26
2 GETTING STARTED
Next steps
Youve succeeded in modeling, simulating, visualizing, and analyzing a simple mortgage application process. To further explore Arenas capabilities, try solving a few of these extensions to the process. 1. Add a screening process before the application is reviewed. Applications can be screened in as little as 15 minutes. Most often, it takes about 25 minutes for the screening, though sometimes it can require as much as 45 minutes. Assign a Receptionist (rate of $6.75/hour) to perform the screening. What proportion of the Receptionists time will be used in this task? 2. Return some applications to the mortgage applicants after the screening process. On completion of the screening, 8% of the applications are returned. Also, because many of the deficient applications are caught in the new screening, the percentage of applications that are accepted in the formal review is raised from 88% to 94%, and the Mortgage Review process time is reduced by 10%. By how much did the cost of reviewing an application change? How about the total time to review applications? To view completed Arena models for the main tutorial and these two extensions, browse to the Examples folder and open Mortgage Applications.doe, Mortgage Extension 1.doe, and Mortgage Extension 2.doe.
2 Getting Started
27
Flowchart modules
Flowchart modules are the set of objects that are placed in the model window to describe the simulation process.
Create module
DESCRIPTION This module is intended as the starting point for entities in a simulation model. Entities are created using a schedule or based on a time between arrivals. Entities then leave the module to begin processing through the system. The entity type is specified in this module.
3 Basic Process Panel
TYPICAL
Number of entities created
USES
The start of a parts production in a manufacturing line A documents arrival (e.g., order, check, application) into a business process A customers arrival at a service process (e.g., retail store, restaurant, information desk)
PROMPTS
Prompt
Name Entity Type Type
Description
Unique module identifier displayed on the module shape. Name of the entity type to be generated. Type of arrival stream to be generated. Types include Random (uses an
exponential distribution, user specifies mean), Schedule (uses an exponential distribution, mean determined from the specified Schedule
module), Constant (user specifies constant value; e.g., 100), or
Schedule Name
Type is Schedule.
29
Description Any distribution or value specifying the time between arrivals. Applies only when Type is Expression. Time units used for interarrival and first creation times. Does not apply
when Type is Schedule. Number of entities that will enter the system at a given time with each arrival. Maximum number of arrivals that this module will generate. When this value is reached, the creation of new arrivals by this module ceases. Starting time for the first entity to arrive into the system. Does not apply
Dispose module
DESCRIPTION This module is intended as the ending point for entities in a simulation model. Entity statistics may be recorded before the entity is disposed. TYPICAL
Number of entities that have been disposed
USES
Parts leaving the modeled facility The termination of a business process Customers departing the store
PROMPTS
Prompt Name Description Unique module identifier displayed on the module shape.
Determines whether or not the incoming entitys statistics will be recorded. Statistics include value-added time, non-value-added time, wait time, transfer time, other time, total time, value-added cost, nonvalue-added cost, wait cost, transfer cost, other cost, and total cost.
30
Process module
DESCRIPTION
Indicator of a submodel process
This module is intended as the main processing method in the simulation. Options for seizing and releasing resource constraints are available. Additionally, there is the option to use a submodel and specify hierarchical user-defined logic. The process time is allocated to the entity and may be considered to be value added, non-value added, transfer, wait, or other. The associated cost will be added to the appropriate category. TYPICAL
USES
Machining a part Reviewing a document for completeness Fulfilling orders Serving a customer
PROMPTS
Prompt
Name Type
Description
Unique module identifier displayed on the module shape. Method of specifying logic within the module. Standard processing signifies that all logic will be stored within the Process module and defined by a particular Action. Submodel indicates that the logic will be 3 Basic Process Panel
hierarchically defined in a submodel that can include any number of logic modules.
Action Type of processing that will occur within the module. Delay simply indicates that a process delay will be incurred with no resource constraints. Seize Delay indicates that a resource(s) will be allocated in this module and delay will occur, but that resource release will occur at a
later time. Seize Delay Release indicates that a resource(s) will be allocated followed by a process delay and then the allocated resource(s) will be released. Delay Release indicates that a resource(s) has previously been allocated and that the entity will simply delay and
release the specified resource(s). Applies only when Type is Standard. Priority Priority value of the entity waiting at this module for the resource(s) specified if one or more entities are waiting for the same resource(s) anywhere in the model. Not visible when Action is Delay or Delay Release or when Type is Submodel. Lists the resources or resource sets used for entity processing. Does not
Resources
31
Description Type of distribution or method of specifying the delay parameters. Constant and Expression require single values, while Normal, Uniform, and Triangular require several parameters.
Time units for delay parameters. Determines how the processing time and process costs will be allocated to the entity. The process may be considered to be Value Added, NonValue Added, Transfer, Wait, or Other and the associated cost will be added to the appropriate category for the entity and process. Parameter field for specifying the minimum value for either a uniform or triangular distribution.
Units Allocation
Minimum
Value
Maximum Std Dev
Parameter field for specifying the mean for a normal distribution, the value for a constant time delay, or the mode for a triangular distribution.
Parameter field for specifying the maximum value for either a uniform or triangular distribution. Parameter field for specifying the standard deviation for a normal
distribution. Expression
Report Statistics
Parameter field for specifying an expression whose value is evaluated and used for the processing time delay.
Specifies whether or not statistics will be automatically collected and stored in the report database for this process.
32
cycle through available members (e.g., 1st member2nd member3rd member1st member2nd member3rd member). Random will randomly select a member. Preferred Order will always select the first
available member (1st member, if available; then 2nd member, if available; then 3rd member, etc.). Specific Member requires an input attribute value to specify which member of the set (previously saved in the Save Attribute field). Largest Remaining Capacity and Smallest Number Busy are used for resources with multiple capacity. Applies
only when Type is Set. Save Attribute Attribute name used to save the index number into the set of the member
that is selected. This attribute can later be referenced with the Specific Member selection rule. Does not apply when Selection Rule is Specific Member. If Action is specified as Delay Release, the value specified defines which member (the index number) of the set to be released. If no
attribute is specified, the entity will release the member of the set that was last seized.
Set Index The index number into the set of the member requested. Applies only when Selection Rule is Specific Member. If Action is specified as Delay Release, the value specified defines which member (the index number) of the set is to be released.
33
Decide module
DESCRIPTION
Number of entities that have taken the True branch
This module allows for decision-making processes in the system. It includes options to make decisions based on one or more conditions (e.g., if entity type is Gold Card) or based on one or more probabilities (e.g., 75%, true; 25%, false). Conditions can be based on attribute values (e.g., Priority), variable values (e.g., Number Denied), the entity type, or an expression (e.g., NQ(ProcessA.Queue)). There are two exit points out of the Decide module when its specified type is either 2-way Chance or 2-way Condition. There is one exit point for true entities and one for false entities. When the N-way Chance or Condition type is specified, multiple exit points are shown for each condition or probability and a single else exit. The number of entities that exit from each type (true/false) is displayed for 2-way Chance or Condition modules only. TYPICAL
USES
Dispatching a faulty part for rework Branching accepted vs. rejected checks Sending priority customers to a dedicated process
PROMPTS
Prompt
Name Type
Description
Unique module identifier displayed on the module shape. Indicates whether the decision is based on a condition (if X>Y) or by
chance/percentage (e.g., 60%, yes; 40%, no). The type can be specified as either 2-way or N-way. 2-way allows for one condition or probability (plus the false exit). N-way allows for any number of conditions or
probabilities to be specified as well as an else exit. Conditions Percentages Percent True If Defines one or more conditions used to direct entities to different modules. Applies only when Type is N-way by Condition. Defines one or more percentages used to direct entities to different modules. Applies only when Type is N-way by Chance. Value that will be checked to determine the percentage of entities sent
34
Prompt
Named
Description
Specifies either the name of the variable, attribute, or entity type that will be evaluated when an entity enters the module. Does not apply
when Type is Expression. Is Row Evaluator for the condition. Applies only to Attribute and Variable conditions. Specifies the row index for a variable array. Applies only when Type is N-way by Condition or 2-way by Condition and Variable is Array 1-D or
Array 2-D.
Column
Specifies the column index for a variable array. Applies only when Type is N-way by Condition or 2-way by Condition and Variable is Array 1-D
or Array 2-D. Expression that will be either compared to an attribute or variable or that will be evaluated as a single expression to determine if it is true or false. Does not apply to Entity Type condition. If Type is Expression, this
Value
Batch module
DESCRIPTION This module is intended as the grouping mechanism within the simulation model. Batches can be permanently or temporarily grouped. Temporary batches must later be split using the Separate module. Batches may be made with any specified number of entering entities or may be matched together based on an attribute. Entities arriving at the Batch module are placed in a queue until the required number of entities has accumulated. Once accumulated, a new representative entity is created. TYPICAL
USES
Collect a number of parts before starting processing Reassemble previously separated copies of a form Bring together a patient and his record before commencing an appointment
35
PROMPTS
Prompt Name Description Unique module identifier displayed on the module shape.
Method of batching entities together. Number of entities to be batched. Method for assigning representative entitys user-defined attribute values.
Determines how incoming entities will be batched. Any Entity will take
the first Batch Size number of entities and put them together. By Attribute signifies that the values of the specified attribute must match for entities to be grouped. For example, if Attribute Name is Color, all
entities must have the same Color value to be grouped; otherwise, they will wait at the module for additional incoming entities. Attribute Name Name of the attribute whose value must match the value of the other incoming entities in order for a group to be made. Applies only when
Rule is By Attribute. Representative Entity The entity type for the representative entity.
Separate module
DESCRIPTION
The original leaves on this branch
This module can be used to either copy an incoming entity into multiple entities or to split a previously batched entity. Rules for allocating costs and times to the duplicate are also specified. Rules for attribute assignment to member entities are specified as well. When splitting existing batches, the temporary representative entity that was formed is disposed and the original entities that formed the group are recovered. The entities proceed sequentially from the module in the same order in which they originally were added to the batch.
When duplicating entities, the specified number of copies is made and sent from the module. The original incoming entity also leaves the module. TYPICAL
USES
Send individual entities to represent boxes removed from a container Send an order both to fulfillment and billing for parallel processing Separate a previously batched set of documents
36
PROMPTS
Prompt Name Description Unique module identifier displayed on the module shape.
Type
Method of separating the incoming entity. Duplicate Original will simply take the original entity and make some number of identical duplicates. Split Existing Batch requires that the incoming entity be a temporarily batched entity using the Batch module. The original entities from the batch will be split. Allocation of costs and times of the incoming entity to the outgoing duplicates. This value is specified as a percentage of the original entitys costs and times (between 0-100). The percentage specified will be split evenly between the duplicates, while the original entity will retain any
remaining cost/time percentage. Visible only when Type is Duplicate Original.
# of Duplicates
Number of outgoing entities that will leave the module, in addition to the original incoming entity. Applies only when Type is Duplicate Original.
Member Attributes
Method of determining how to assign the representative entity attribute values to the original entities.These options relate to six of the specialpurpose attributes (Entity.Type, Entity.Picture, Entity.Sequence, Entity.Station, Entity.Jobstep, and Entity.HoldCostRate) and all userdefined attributes. Applies only when Type is Split Existing Batch.
Attribute Name
entities of the group. Applies only when Member Attributes is Take Specific Representative Values.
Assign module
DESCRIPTION This module is used for assigning new values to variables, entity attributes, entity types, entity pictures, or other system variables. Multiple assignments can be made with a single Assign module. TYPICAL
USES
Accumulate the number of subassemblies added to a part Change an entitys type to represent the customer copy of a multi-page form Establish a customers priority
37
PROMPTS
Prompt Name Description Unique module identifier displayed on the module shape.
Specifies the one or more assignments that will be made when an entity executes the module. Type of assignment to be made. Other can include system variables, such as resource capacity or simulation end time. Name of the variable that will be assigned a new value when an entity enters the module. Applies only when Type is Variable, Variable Array (1D), or Variable Array (2D).
Specifies the row index for a variable array. Specifies the column index for a variable array. Name of the entity attribute that will be assigned a new value when the entity enters the module. Applies only when Type is Attribute.
Entity Type
Entity Picture Other
New entity type that will be assigned to the entity when the entity enters the module. Applies only when Type is Entity Type.
New entity picture that will be assigned to the entity when the entity enters the module. Applies only when Type is Entity Picture. Identifies the special system variable that will be assigned a new value when an entity enters the module. Applies only when Type is Other.
New Value
Assignment value of the attribute, variable, or other system variable. Does not apply when Type is Entity Type or Entity Picture.
Record module
DESCRIPTION This module is used to collect statistics in the simulation model. Various types of observational statistics are available, including time between exits through the module, entity statistics (time, costing, etc.), general observations, and interval statistics (from some time stamp to the current simulation time). A count type of statistic is available as well. Tally and Counter sets can also be specified. TYPICAL
USES
Collect the number of jobs completed each hour Count how many orders have been late being fulfilled Record the time spent by priority customers in the main check-out line
38
PROMPTS
Prompt Name Description Unique module identifier displayed on the module shape.
Type
Type of observational (tally) or count statistic to be generated. Count will increase or decrease the value of the named statistic by the specified value. Entity Statistics will generate general entity statistics, such as time and costing/duration information. Time Interval will calculate and record the difference between a specified attributes value and current simulation time. Time Between will track and record the time between
entities entering the module. Expression will record the value of the
Name of the attribute whose value will be used for the interval statistics.
Applies only when Type is Interval. Value that will be recorded to the observational statistic when Type is Expression or added to the counter when Type is Count.
Tally Name
This field defines the symbol name of the tally into which the observation is to be recorded. Applies only when Type is Time Interval, Time Between, or Expression.
This field defines the symbol name of the counter to Name increment/ decrement. Applies only when Type is Counter. Check box to specify whether or not a tally or counter set will be used.
Name of the tally set that will be used to record the observational-type statistic. Applies only when Type is Time Interval, Time Between, or
Expression. Name of the counter set that will be used to record the count-type statistic. Applies only when Type is Count. Index into the tally or counter set.
39
Data modules
Data modules are the set of objects in the spreadsheet view of the model that define the characteristics of various process elements, such as resources and queues.
Attribute module
DESCRIPTION This data module is used to define an attributes dimension, datatype and initial value(s). An attribute is a characteristic of all entities, but with a specific value that can differ from one entity to another. Attributes can be referenced in other modules (e.g. the Decide module), can be reassigned a new value with the Assign module, and can be used in any expression. Attribute values are unique for each entity, as compared to Variables which are global to the simulation module. There are three methods for manually editing the Initial Values of an Attribute module:
Via the standard spreadsheet interface. In the module spreadsheet, right-click on the Initial Values cell and select the Edit via spreadsheet menu item. The values for two-dimensional arrays should be entered one column at a time. Array elements not explicitly assigned are assumed to have the last entered value. Via the module dialog box. In the module spreadsheet, right-click on any cell and select the Edit via dialog menu item. The values for two-dimensional arrays should be entered one column at a time. Array elements not explicitly assigned are assumed to have the last entered value. Via the two-dimensional (2-D) spreadsheet interface. In the module spreadsheet, click on the Initial Values cell.
USES
TYPICAL
due date of an order (entity) priority of order (entity) color of a part (entity)
PROMPTS
Prompt Description
Name
Rows Columns
40
Description The data type of the values stored in the attribute. Valid types are Real and String. The default type is Real. Lists the initial value(s) of the attribute. This value(s) may be changed
with the Assign module. Entity attribute value when entity is created and enters the system
Entity module
DESCRIPTION This data module defines the various entity types and their initial picture values in a simulation. Initial costing information and holding costs are also defined for the entity. TYPICAL
USES
Items being produced or assembled (parts, pallets) Documents (forms, e-mails, faxes, reports) People moving through a process (customers, callers)
PROMPTS
Prompt Entity Type Description The name of the entity type being defined. This name must be unique.
Initial Picture
Holding Cost/Hour Initial VA Cost
Graphical representation of the entity at the start of the simulation. This value can be changed during the simulation using the Assign module.
Hourly cost of processing the entity through the system. This cost is incurred when the entity is anywhere in the system. Initial cost value that will be assigned to the value-added cost attribute of the entity. This attribute accrues the costs incurred when an entity is
spending time in a wait activity; e.g., waiting to be batched or waiting for resource(s) at a Process module.
41
Description Initial cost value that will be assigned to the transfer cost attribute of the entity. This attribute accrues the costs incurred when an entity is spending time in a transfer activity.
Initial cost value that will be assigned to the other cost attribute of the entity. This attribute accrues the costs incurred when an entity is spending time in an other activity. Specifies whether or not statistics will be collected automatically and stored in the report database for this entity type.
Report Statistics
Queue module
DESCRIPTION This data module may be utilized to change the ranking rule for a specified queue. The default ranking rule for all queues is First In, First Out unless otherwise specified in this module. There is an additional field that allows the queue to be defined as shared. You cannot use shared queues in Arena Basic Edition. TYPICAL
USES
Stack of work waiting for a resource at a Process module Holding area for documents waiting to be collated at a Batch module
PROMPTS
Prompt Name
Type
Description The name of the queue whose characteristics are being defined. This
name must be unique. Ranking rule for the queue, which can be based on an attribute. Types include First In, First Out; Last In, First Out; Lowest Attribute Value (first); and Highest Attribute Value (first). A low attribute value would be 0 or 1, while a high value may be 200 or 300. Attribute that will be evaluated for the Lowest Attribute Value or Highest Attribute Value types. Entities with lowest or highest values of the
Attribute Name
attribute will be ranked first in the queue, with ties being broken using
the First In, First Out rule.
42
Prompt Shared
Description Check box that determines whether a specific queue is used in multiple places within the simulation model. Shared queues can only be used for seizing resources (e.g., with the Seize module from the Advanced
Process panel). You cannot use shared queues in Arena Basic Edition. Specifies whether or not statistics will be collected automatically and stored in the report database for this queue.
Report Statistics
Resource module
DESCRIPTION This data module defines the resources in the simulation system, including costing information and resource availability. Resources may have a fixed capacity that does not vary over the simulation run or may operate based on a schedule. Resource failures and states can also be specified in this module.
3 Basic Process Panel
TYPICAL
USES
Equipment (machinery, cash register, phone line) People (clerical, order processing, sales clerks, operators)
PROMPTS
Prompt Name Description The name of the resource whose characteristics are being defined. This
name must be unique. Type Method for determining the capacity for a resource. Fixed Capacity will
not change during the simulation run. Based on Schedule signifies that a Schedule module is used to specify the capacity and duration information for the resource. Capacity Schedule Name Number of resource units of a given name that are available to the system for processing. Applies only when Type is Fixed Capacity. Identifies the name of the schedule to be used by the resource. The schedule defines the capacity of a resource for a given period of time.
Schedule.
43
Prompt Busy/Hour
Description Cost per hour of a resource that is processing an entity. The resource becomes busy when it is originally allocated to an entity and becomes idle when it is released. During the time when it is busy, cost will
accumulate based on the busy/hour cost. The busy cost per hour is automatically converted to the appropriate base time unit specified within the Replication Parameters page of the Run > Setup menu item.
Idle/Hour
Cost per hour of a resource that is idle. The resource is idle while it is not processing an entity. During the time when it is idle, cost will accumulate based on the idle/hour cost. The idle cost per hour is automatically converted to the appropriate base time unit specified within the Replication Parameters page of the Run > Setup menu item.
Per Use
Cost of a resource on a usage basis, regardless of the time for which it is used. Each time the resource is allocated to an entity, it will incur a peruse cost. Name of states that the resource may be assigned during the simulation run. Initial state of a resource. If specified, the name must be defined within
the repeat group of state names. This field is shown only when a StateSet Name is defined.
Failures Lists all failures that will be associated with the resource.
Failure NameName of the failure associated with the resource. Failure RuleBehavior that should occur when a failure is to occur for a busy resource unit.
Report Statistics
Specifies whether or not statistics will be collected automatically and stored in the report database for this resource.
Variable module
DESCRIPTION This data module is used to define a variables dimension and initial value(s). Variables can be referenced in other modules (e.g., the Decide module), can be reassigned a new value with the Assign module, and can be used in any expression. There are three methods for manually editing the Initial Values of a Variable module:
44
Prompt
Description
the Initial Values cell and select the Edit via spreadsheet menu item. The values
43
for two-dimensional arrays should be entered one column at a time. Array elements not explicitly assigned are assumed to have the last entered value.
Via the module dialog box. In the module spreadsheet, right-click on any cell and select the Edit via dialog menu item. The values for two-dimensional arrays should be entered one column at a time. Array elements not explicitly assigned are assumed to have the last entered value. Via the two-dimensional (2-D) spreadsheet interface. In the module spreadsheet, click on the Initial Values cell.
USES
TYPICAL
Number of documents processed per hour Serial number to assign to parts for unique identification Space available in a facility
PROMPTS
Prompt
Name Rows Columns
Description
The unique name of the variable being defined. Number of rows in a dimensional variable. Number of columns in a dimensional variable. 3 Basic Process Panel
Data Type
Statistics
The data type of the values stored in the variable. Valid types are Real and String. The default type is Real.
Check box for determining whether or not statistics will be collected. This field is visible when the rows and columns are not specified (single variables). Defines the time (if at all) when the value(s) of the variable is reset to the
Clear Option
initial value(s) specified. Specifying Statistics indicates to reset this variable to its initial value(s) whenever statistics are cleared. Specifying System indicates to reset this variable to its initial value(s) whenever the
system is cleared. None indicates to never reset this variable to its initial value(s), except prior to the first replication. Initial Values Initial Value Report Statistics Lists the initial value(s) of the variable. This value(s) may be changed
45
Schedule module
DESCRIPTION This data module may be used in conjunction with the Resource module to define an operating schedule for a resource or with the Create module to define an arrival schedule. Additionally, a schedule may be used and referenced to factor time delays based on the simulation time. TYPICAL
USES
Work schedule for staff, including breaks Breakdown patterns for equipment Volume of customers arriving at a store Learning-curve factors for new workers
PROMPTS
Prompt Name Type Description The name of the schedule being defined. This name must be unique. Type of schedule being defined. This may be Capacity related (for
resource schedules), Arrival related (for the Create module), or Other (miscellaneous time delays or factors).
Time Units Scale Factor Time units used for the time-duration information. Method of scaling the schedule for increases or decreases in Arrival/Other values. The specified Value fields will be multiplied by the scale factor to determine the new values. Not available for Capacity-
type schedules. Durations Lists the value and duration pairs for the schedule. Values can be
capacity, arrival, or other type values, while the duration is specified in time units. Schedule pairs will repeat after all durations have been completed, unless the last duration is left blank (infinite). Schedule data can be entered graphically using the Graphical Schedule editor or manually using the Value/Duration fields.
Value
46
Set module
3 Placeholder
DESCRIPTION This data module defines various types of sets, including resource, counter, tally, entity type, and entity picture. Resource sets can be used in the Process modules. Counter and Tally sets can be used in the Record module. TYPICAL
USES
Machines that can perform the same operations in a manufacturing facility Supervisors, check-out clerks in a store Shipping clerks, receptionists in an office Set of pictures corresponding to a set of entity types
PROMPTS
Prompt Name Description The unique name of the set being defined.
Type Members
Type of set being defined. Repeat group that specifies the resource members with the set. The order
of listing the members within the repeat group is important when using selection rules such as Preferred Order and Cyclical.
Resource Name
Name of the resource to include in the resource set. Applies only when Type is Resource.
Tally Name
Counter Name Entity Type
Name of the tally within the tally set. Applies only when Type is Tally.
Name of the counter within the counter set. Applies only when Type is Counter. Name of the entity type within the entity type set. Applies only when Type is Entity.
Picture Name
Name of the picture within the picture set. Applies only when Type is Entity Picture.
47
48
49
Start a drawing
Before opening the Visio stencil, it is necessary to have an administrator on the machine set the Visio macro security options to Low so that macros will be enabled. To begin a drawing, browse to the Process Simulation template, which the Process Simulator installs in the Program Files\Rockwell Software\Arena\Visio folder. This dialog box typically appears when you first start Visio, or you can bring it up via the File > New > Choose Drawing Type > Browse Templates menu.
Its important to start your drawing by browsing to the Process Simulation template, rather than opening or starting a new drawing and directly attaching the Process Simulation stencil. If you dont start your drawing with the template, custom dialogs and other features may not be available.
The Process Simulation template sets up the Visio environment to work with Arena and opens a new drawing. Drawings that are started with this template will automatically display the Process Simulation stencil, provide custom dialog boxes for editing shape properties, and add a Simulate menu to Visio for checking your drawing and transferring it to Arena. The Process Simulation stencil, which is opened with your new drawing, contains shapes that will capture your process flow and data. The shapes mirror those in Arenas Basic Process panel, so you can use Visio to define fully a model of your process, including all of the parameters needed to exploit the power of simulation analysis. The first 14 shapes in the Process Simulation stencil correspond to the Arena flowchart and data modules with the same names. In addition, the Visio stencil contains five connector shapes for properly defining the process flowchart.
50
To define the process flow portion of your model, drag and drop flowchart shapes (e.g., Create, Process, Dispose) from the Process Simulation stencil into your drawing, just as you would with other standard Visio stencils. Then, use the connectors from the Process Simulation stencil to establish flow. When connecting shapes, the Dynamic Connector is used for all except Decide and Separate, which use special connectors to determine the type of each of the two possible outgoing connections. The table below lists the shapes from which the connectors can start (e.g., the True Connector can only start at a Decide shape).
Connector True Connector False Connector Original Connector Valid Starting Shape Decide Decide Separate
Duplicate Connector
Dynamic Connector
Separate
Create, Process, Batch, Assign, Record
The sample flowchart below illustrates the use of these connectors, including the Dynamic Connector, which is unlabeled.
51
Either of these actions will display the appropriate dialog box for the shape. The dialogs that Arena presents for its corresponding modules are designed to match those in Visio, so that youre working in a familiar interface, whether mapping your process in Visio or Arena.
52
The property values that you define via the custom dialog boxes are stored with the individual shapes. When you transfer the process map to Arena, these parameters are used for simulation.
You only need to add the data shapes if you want to change any of the default values. Otherwise, they are not needed in the Visio drawing; theyll automatically be added to the spreadsheets when you transfer the drawing to Arena.
53
If multiple problems are detected, each will be listed with a description and, in the case of invalid or missing properties, the field and value that are improper are listed. To correct the errors in your drawing, you can use the buttons at the bottom of the dialog box. For errors in shape properties, click the Edit Properties button, which displays the shapes dialog box, to correct the data. In the case of connector problems, click Go to Shape, which displays and selects the shape that caused the problem, as shown below. (Note that the Error Listing dialog box shrinks to allow more room for viewing the drawing.)
After youve corrected the problem, you can return to the list of errors/warnings by clicking the Return to Error List button. Once you finish correcting any additional problems, click the Close button. You can check your drawing at any time, correcting any or all errors that are detected.
54
translates your Visio process map into an Arena simulation model. When the process is complete, you have an Arena model containing modules from the Basic Process panel that mirror the shapes you used from the Visio Process Simulation stencil, including the properties and connections you specified in Visio. In Arena, you can set the simulation run length on the Run > Setup page. If you do not define the run length, you can stop the simulation at any time by clicking the Pause button, then the End button. To run the simulation, click Arenas Go button. Your entities will animate the flowchart as the simulation proceeds, just as if you had created the model directly in Arena. Because the process is being simulated in Arena with the standard Basic Process modules, you have all of Arenas capabilities at your disposal, including reports on all aspects of your process via the Reports panel selections. After you have simulated your process, you can save the Arena model (.doe) file to continue work in Arena, or you can close it to return to Visio for continued modifications. Because the transfer of the Visio drawing is from Visio to Arena (but not vice versa from Arena to Visio), its usually best to return to Visio. However, you might want to save the Arena model in case you want to review the simulation or results as youre refining the Visio process map.
55
throughout your organization so that everyone who has an interest in the process definition can access it directly through Visio. With this approach, process maps can be created and shared throughout the organization on any desktop with a Visio license. When simulation and animation are needed to visualize and analyze the behavior of the process, the drawings can be transferred to systems with the Arena Basic Edition. By using the Process Simulation template and checking the process maps as theyre created, you can be confident that taking the step to move from static drawing to dynamic simulation will be seamless.
56
Statistical Distributions
Arena contains a set of built-in functions for generating random numbers from the commonly used probability distributions. These distributions appear on pull-down menus in many Arena modules where theyre likely to be used. They also match the distributions in the Arena Input Analyzer. This appendix describes all of the Arena distributions. Each of the distributions in Arena has one or more parameter values associated with it. You must specify these parameter values to define the distribution fully. The number, meaning, and order of the parameter values depend on the distribution. A summary of the distributions (in alphabetical order) and parameter values is given in the table below.
Summary of Arenas Probability Distributions Distribution Beta Continuous BETA CONT Parameter Values Beta, Alpha
Discrete
Erlang
DISC
ERLA
Exponential Gamma
Johnson Lognormal Normal
EXPO GAMM
JOHN LOGN NORM
Poisson Triangular
Uniform Weibull
POIS TRIA
UNIF WEIB
57
To enter a distribution in an Arena field, you type the name of the distribution (or its fourletter abbreviation) followed by its parameters enclosed in parentheses. You may use spaces around punctuation to help read the distribution. A few examples appear below.
UNIF(3.5, 6)
Uniform distribution with a minimum value of 3.5, a maximum value of 6
NORMAL(83, 12.8)
Normal distribution with a mean of 83, a standard deviation of 12.8
DISCRETE(0.3,50,0.75,80, 1.0,100)
Discrete probability distribution that will return a value of 50 with probability 0.3, a value of 80 with cumulative probability 0.75, and a value of 100 with cumulative probability of 1.0. (See Discrete probability for a description of these parameters.)
58
A STATISTICAL DISTRIBUTIONS
f(x) =
otherwise
0 t
1 1
(1 t )
dt
Parameters
Range
Mean
------------+
Variance
a --------------------------------------------2 ( + a) ( + a + 1)
Applications
Because of its ability to take on a wide variety of shapes, this distribution is often used as a rough model in the absence of data. Also, because the range of the beta distribution is from 0 to 1, the sample X can be transformed to the scaled beta sample Y with the range from a to b by using the equation Y = a + (b - a)X. The beta is often used to represent random proportions, such as the proportion of defective items in a lot.
A Statistical Distributions
59
c1 f(x) = cj cj-1 0
Parameters
The CONTINUOUS function in Arena returns a sample from a user-defined distribution. Pairs of cumulative probabilities cj (= CumPj) and associated values xj (= Valj) are speci-
60
fied. The sample returned will be a real number between x1 and xn, and will be less than or equal to each xj with corresponding cumulative probability cj. The xjs must increase with j. The cjs must all be between 0 and 1, must increase with j, and cn must be 1. The cumulative distribution function F(x) is piecewise linear with corners defined by F(xj) = cj for j = 1, 2, . . ., n. Thus, for j > 2, the returned value will be in the interval
A STATISTICAL DISTRIBUTIONS
61
A STATISTICAL DISTRIBUTIONS
(xj1, xj] with probability cj cj1; given that it is in this interval, it will be distributed uniformly over it. You must take care to specify c1 and x1 to get the effect you want at the left edge of the distribution. The CONTINUOUS function will return (exactly) the value x1 with probability c1. Thus, if you specify c1 > 0, this actually results in a mixed discretecontinuous distribution returning (exactly) x1 with probability c1, and with probability 1 c1 a continuous random variate on (x1, xn] as described above. The graph of F(x) above depicts a situation where c1 > 0. On the other hand, if you specify c1 = 0, you will get a (truly) continuous distribution on [x1, xn] as described above, with no mass of probability at x1; in this case, the graph of F(x) would be continuous, with no jump at x1. As an example use of the CONTINUOUS function, suppose you have collected a set of data x1, x2, . . ., xn (assumed to be sorted into increasing order) on service times, for example. Rather than using a fitted theoretical distribution from the Input Analyzer, you want to generate service times in the simulation directly from the data, consistent with how theyre spread out and bunched up, and between the minimum x1 and the maximum xn you observed. Assuming that you dont want a mass of probability sitting directly on x1, youd specify c1 = 0 and then cj = (j 1)/(n 1) for j = 2, 3, . . ., n.
Range
[x , x ]
1 n
Applications
The continuous empirical distribution is often used to incorporate actual data for continuous random variables directly into the model. This distribution can be used as an alternative to a theoretical distribution that has been fitted to the data, such as in data that have a multimodal profile or where there are significant outliers.
A Statistical Distributions
61
Parameters
Range
62
Applications
The DISCRETE function in Arena returns a sample from a user-defined discrete probability distribution. The distribution is defined by the set of n possible discrete values (denoted by x1, x2, . . . , xn) that can be returned by the function and the cumulative proba- bilities (denoted by c1, c2, . . . , cn) associated with these discrete values. The cumulative probability (cj) for xj is defined as the probability of obtaining a value that is less than or equal to xj. Hence, cj is equal to the sum of p(xk ) for k going from 1 to j. By definition, cn = 1.
A STATISTICAL DISTRIBUTIONS
{x , x , . . ., x }
1 2 n
The discrete empirical distribution is often used to incorporate discrete empirical data directly into the model. This distribution is frequently used for discrete assignments such as the job type, the visitation sequence, or the batch size for an arriving entity.
63
A STATISTICAL DISTRIBUTIONS
f(x) =
x e --------------------------------( k 1)!
k k 1 x
for x > 0
otherwise
Parameters
If X1, X2, . . . , Xk are independent, identically distributed exponential random variables, then the sum of these k samples has an Erlang-k distribution. The mean () of each of the component exponential distributions and the number of exponential random variables (k) are the parameters of the distribution. The exponential mean is specified as a positive real number, and k is specified as a positive integer.
Range
[0, + )
Mean
Variance
k 2
Applications
The Erlang distribution is used in situations in which an activity occurs in successive phases and each phase has an exponential distribution. For large k, the Erlang approaches the normal distribution. The Erlang distribution is often used to represent the time required to complete a task. The Erlang distribution is a special case of the gamma distribution in which the shape parameter, , is an integer (k).
A Statistical Distributions
63
f(x) =
1 -- e x
0
for x > 0
otherwise
Parameters
Range
[0, + )
Mean
Variance
Applications
This distribution is often used to model inter-event times in random arrival and breakdown processes, but it is generally inappropriate for modeling process delay times. In Arenas Create module, the Schedule option automatically samples from an exponential distribution with a mean that changes according to the defined schedule. This is particularly useful in service applications, such as retail business or call centers, where the volume of customers changes throughout the day.
64
A STATISTICAL DISTRIBUTIONS
f(x) =
otherwise
0 t
1 1
e dt
Parameters
Range
[0, + )
Mean
Variance
Applications
For integer shape parameters, the gamma is the same as the Erlang distribution. The gamma is often used to represent the time required to complete some task (e.g., a machining time or machine repair time).
A Statistical Distributions
65
Unbounded Family
Bounded Family
Parameters
Gamma shape parameter (), Delta shape parameter ( > 0), Lambda scale parameter (), and Xi location parameter ().
Range
( , + ) [, + ]
Applications
The flexibility of the Johnson distribution allows it to fit many data sets. Arena can sample from both the unbounded and bounded form of the distribution. If Delta () is passed as a positive number, the bounded form is used. If Delta is passed as a negative value, the unbounded form is used with | | as the parameter.
66
A STATISTICAL DISTRIBUTIONS
Denote the user-specified input parameters as LogMean = l and LogStd = l . Then let = ln( 2 / l2 + l2 ) l
= ln ( l2 + l2 ) / l2
and
1 f(x) =
x 2
0
e (ln( x) ) otherwise
/( 2 2 )
for x > 0
Parameters
Mean LogMean ( l > 0) and standard deviation LogStd ( l > 0) of the lognormal random variable. Both LogMean and LogStd must be specified as strictly positive real numbers.
Range
[0, + )
Mean
LogMean = 1 =
e +
Variance
(LogStd)2 = 12 =
e2
+ 2
(e 2 1 )
A Statistical Distributions
Applications
The lognormal distribution is used in situations in which the quantity is the product of a large number of random quantities. It is also frequently used to represent task times that have a distribution skewed to the right. This distribution is related to the normal distribution as follows. If X has a lognormal (l, l) distribution, then ln(X) has a normal (, ) distribution. Note that and are not the mean and standard deviation of the
67
lognormal random variable X, but rather the mean and standard deviation of the normal random variable lnX.
68
A STATISTICAL DISTRIBUTIONS
f ( x) =
e ( x )
/( 2 )
Parameters
The mean () specified as a real number and standard deviation () specified as a positive real number.
Range
( , + )
Mean
Variance
Applications
The normal distribution is used in situations in which the central limit theorem applies; i.e., quantities that are sums of other quantities. It is also used empirically for many processes that appear to have a symmetric distribution. Because the theoretical range is from - to + , the distribution should only be used for positive quantities like processing times.
A Statistical Distributions
69
p(x)=
otherwise
Parameters
Range
{0, 1, . . .}
Mean
Variance
Applications
The Poisson distribution is a discrete distribution that is often used to model the number of random events occurring in a fixed interval of time. If the time between successive events is exponentially distributed, then the number of events that occur in a fixed-time interval has a Poisson distribution. The Poisson distribution is also used to model random batch sizes.
70
A STATISTICAL DISTRIBUTIONS
f(x)
0 a m b
for a x m for m x b
f(x) =
2(b- x )-------------------------------(b m )( b a)
otherwise
Parameters
The minimum (a), mode (m), and maximum (b) values for the distribution specified as real numbers with a < m < b.
Range
[a, b]
Mean
(a + m + b)/3
Variance
(a2 + m2 + b2 ma ab mb)/18
A Statistical Distributions
Applications
The triangular distribution is commonly used in situations in which the exact form of the distribution is not known, but estimates (or guesses) for the minimum, maximum, and most likely values are available. The triangular distribution is easier to use and explain than other distributions that may be used in this situation (e.g., the beta distribution).
71
f(x)
1 b-a
0 a b
f(x) =
1 ---- -----ba
for a x b
otherwise
Parameters
The minimum (a) and maximum (b) values for the distribution specified as real numbers with a < b.
Range
[a, b]
Mean
(a + b)/2
Variance
(b a)2/12
Applications
The uniform distribution is used when all values over a finite range are considered to be equally likely. It is sometimes used when no information other than the range is available. The uniform distribution has a larger variance than other distributions that are used when information is lacking (e.g., the triangular distribution).
72
A STATISTICAL DISTRIBUTIONS
f(x)
a=3
f(x) =
a a x a 1 e ( x )
0 otherwise
for x > 0
Parameters
Range
[0, + )
Mean
1 -- -a a
Variance
----- 2 2
73
-a
-- -a a
74
A STATISTICAL DISTRIBUTIONS
Applications
The Weibull distribution is widely used in reliability models to represent the lifetime of a device. If a system consists of a large number of parts that fail independently, and if the system fails when any single part fails, then the time between successive failures can be approximated by the Weibull distribution. This distribution is also used to represent nonnegative task times that are skewed to the left.
73
Report
Bike
Airplane
Man
Woman
Blue Ball
Red Ball
Green Ball
Yellow Ball
Boat
Box
Diskette
Letter
Red Page
Blue Page
Yellow Page
Green Page
Envelope
Truck
Van
Widgets
Telephone
Package
Fax
75
Buldings.plb Equipment.plb Faces.plb Factory.plb General.plb Machines.plb Medical.plb Objects.plb Office.plb Office Equipment.plb People.plb Symbols.plb Vehicles.plb Workers.plb
Common shapes may be placed from any of these categories, or they may be added from the Arena Symbol Factory or other image source by pasting from your Clipboard into a specific library. If you wish to create your own library of shapes, simply select New from the Entity Picture Placement window. The Current Library displays (None Opened) because the new library has not yet been named or saved. Simply select Add for each library shape you wish to include in your new (or existing) library file, and draw or paste the appropriate images onto the picture editor board. Remember to drag-and-drop the Ride Point to the appropriate position on your image.
76
B Shapes and Symbols
The basic operation of Symbol Factory simply requires you to select an object from a category list, click Edit > Copy, and then paste the symbol into your picture editor window or the Arena application window (for static shapes). Details on the Arena Symbol Factory can be found in the extensive online help embedded in the application. You must have suitable license activation to use the full Symbol Factory capabilities. In Arena training/evaluation and run-time versions, Arena Symbol Factory is only available in demo mode. Demo mode limits use to only the first symbol in each category. New categories cannot be created, and symbols cannot be moved, added, deleted, imported, or exported in demo mode.
77
Index
Numerics
2-way chance 34 2-way condition 34 collecting statistics 38 contact information 4 Continuous 60 Continuous empirical distribution counter sets 47 Create module 7, 29 creation of entities 29 Customer Support Center 3
57, 60
A
ActiveX support 49 adding plots to the model 25 animating resources 23 animation 7, 19 enhancing the graphics 21 animation scale factor 19 Arena Basic Edition 1 Arena Symbol Factory 3, 76 adding shapes to Arena 76 Assign module 37 Attribute module 40 Auto-Connect menu 8
Index
D
data modules 11, 29, 40 data objects 11 Decide module 10, 15, 34 decision-making processes 34 defining model data 12 Discrete empirical distribution 57, 62 Dispose module 10, 16, 30 disposing of entities 30 Distributions beta 57, 59 continuous empirical 57, 60 discrete empirical 57, 62 Erlang 57, 63 exponential 57, 64 gamma 57, 65 Johnson 57, 66 lognormal 57, 67 normal 57, 69 Poisson 57, 70 probability 57 triangular 57, 71 uniform 57, 72 Weibull 57, 73 document conventions 2 documentation set 2 drawing elements 7 duplicating entities 36
B
Basic Process panel 7 Assign module 11, 37 Attribute module 40 Batch module 11, 35 Create module 11, 29 Decide module 11, 34 Dispose module 11, 30 Entity module 41 Process module 11, 31 Queue module 42 Record module 11, 38 Resource module 43 Schedule module 46 Separate module 11, 36 Set module 47 Variable module 40, 44 Batch module 35 Beta distribution 57, 59 business process modeling 49
E
entities 7 creating 29 defining types 41
C
chart
79
disposing 30 duplicating 36 what are they? 13 Entity module 41 entity picture sets 47 entity type sets 47 Erlang distribution 57, 63, 65 Exponential distribution 57, 64
P
pause the simulation 20 picture libraries 75 BasicProcess.plb 75 listing of standard files 76 pictures changing from idle to busy 23 plots 25 Poisson distribution 57, 70 Probability distribution 57 process flowchart 7 process mapping 49 process maps 7 checking the drawing 53 publishing on a Web 56 simulating other Visio drawings 55 transferring the drawing to Arena 54 Process module 8, 13, 31 Process Simulation distributing the add-in 55 stencil 50 Project Bar 6 Project Parameters dialog 18
F
flowchart modules 11, 29 flowchart objects 11 flowchart view 7
G
Gamma distribution 57, 65 Glue to Guides 24 grid 9 grouping within the model 35 guides 24
J
Johnson distribution
57, 66
L
Lognormal distribution
Q
57, 67 Queue module 42 queueing 35
M
model thumbnail 26 model window 6 flowchart view 7 spreadsheet view 7 modules 6, 11 mortgage application example
R
ranking rules 42 Record module 38 reports 20 resource constraints seizing and releasing 31 Resource module 17, 43 resource sets 47 resource states 43 resources definition 43 failures 43 schedule definition 46 rulers 24 running the simulation 26
N
Normal distribution
57, 69
O
online help 2 operating schedule
46
80
INDEX
S
sample models 2 saving your model 18 Schedule module 46 Separate module 36 Set module 47 sets definition 47 simulating your process 18 simulation run length 55 Smarts library 2, 12, 15 snap 9 split view 22 splitting batches 36 spreadsheet view 7 stepping through the simulation
U
Uniform distribution
57, 72
V
Variable module 40, 44 variables assigning new values 37 definition 40, 44 viewing reports 20 Visio 49 Visio Process Simulator 49 adding data shapes 53 entering custom properties 52 placing and connecting shapes 51 simulating the process map 53 starting a drawing 49
Index
20
T
tally sets 47 technical support 3 thumbnail 26 time delay 13 training courses 4 Triangular distribution
W
Web support 3 Weibull distribution
57, 73
57, 71
81