Introduction To Awesim
Introduction To Awesim
INTRODUCTION TO AWESIM
Jean O’Reilly
Frontstep, Inc.
1305 Cumberland Avenue
West Lafayette, IN 47996, U.S.A.
ABSTRACT
1 INTRODUCTION
Figure 1: The AweSim Executive
AweSim is a program that supports the range of tasks re-
quired to perform a simulation project. AweSim also pro- changes made to the current scenario to determine if any
vides integrating capabilities to store, retrieve, browse and components have been modified and indicates whether
communicate with externally written software applications. translating tasks should be performed. The Project Main-
The most fundamental feature of the AweSim architecture tainer then allows the user to specify whether these tasks
is its openness and interconnectivity to databases, spread- should be done prior to performing the requested function.
sheets and word processing programs such as Microsoft Multiple tasks may be performed in parallel while a simu-
Office. AweSim is built in Visual Basic and C/C++ and lation is executed in the background. The simulation mod-
programs written in these languages are easily incorporated eler can switch between tasks by using a mouse to click in
into its architecture. The details on the capabilities of the appropriate window.
AweSim are contained in Pritsker and O’Reilly (1999). The use of the MS Windows interface simplifies learn-
An AweSim project consists of one or more scenarios, ing and provides the foundation for combining application
each of which represents a particular system alternative. A programs using that interface.
scenario contains component parts. Software programs
called builders are provided by AweSim to create each com- 2 MODEL INPUT
ponent. The AweSim executive window shown in Figure 1
describes an example scenario called EX81, which includes AweSim incorporates the Visual SLAM modeling method-
network, subnetwork, control and user data components. ology. The basic component of a Visual SLAM model is a
Component builders are accessed via the Components menu network, or flow diagram, which graphically portrays the
item or via the component’s pushbutton. flow of entities (people, parts or information, for example)
AweSim’s Project Maintainer determines if a model through the system. A Visual SLAM network is made up of
translation or compilation is required. Each time the mod- “nodes” at which processing is performed, connected by
eler requests a run, the Project Maintainer examines
221
O’Reilly
“activities” which define the routing of entities and the time clear statistics, queue ranking rules, etc.) and text builders
required to perform operations. Visual SLAM nodes provide for User Data files and Notes for documentation. The User
for such functions as entering or exiting the system, seizing Insert builder is either a text builder, if AweSim is installed
or freeing a resource, changing variable values, collecting for use with user inserts written in C, or the Microsoft Vis-
statistics, and starting or stopping entity flow based on status ual Basic development environment.
conditions. Entities may be given attributes, that is, charac-
teristics such as type, size, or arrival time, to distinguish 3 MODEL OUTPUT
them and control their processing.
A network is built interactively in AweSim by select- AweSim provides the ability to compare output from vari-
ing symbols from a graphical palette and dragging them to ous scenarios both graphically and textually. A report
the desired location with the mouse. The symbol’s pa- “browser” allows alternative textual outputs to be com-
rameters are specified by filling out a form, as illustrated pared side by side. Graphically, output may be viewed
by the ACTIVITY form shown in Figure 2. On-line error within AweSim in the form of bar charts, histograms, pie
checking is performed upon completion of the form so that charts, and plots. Bar charts can be used to display the
input errors can be corrected immediately. AweSim also value of a statistic across scenarios. It is possible to view
facilitates model building by providing context-sensitive multiple windows of graphical output at the same time, as
help and search capabilities. shown in Figure 4. Graphical and textual information from
Subnetworks are reusable network objects, which are the AweSim database can be exported to other Windows
invoked from a calling network. Subnetworks provide for packages such as EXCEL or Word for additional analysis
hierarchical models in which subnetwork instances are and for documentation.
independent, encapsulated objects, called with a set of pa-
rameters. This is illustrated by the node named CALLVSN 4 ANIMATION
in Figure 2. Double-clicking on this node brings up the
subnetwork builder for the named subnetwork, With the AweSim animator, one may develop and display
“INVENTORY”. The subnetwork builder, shown in Figure
multiple animations for a single scenario (Figure 5). For
3, works just like the network builder but with a slightly
example, the modeler can create one animation of a system
different set of nodes.
at an aggregate level and another at a department level,
In addition to the network and subnetwork builders,
AweSim includes a forms-based builder for developing run side by side in separate windows. The two views may then
controls (simulation run length, output options, when to be displayed by associating the animations with the current
222
O’Reilly
223
O’Reilly
From the Tools menu item in the AweSim Executive Win- AweSim is a simulation support system which takes
dow, you can invoke the Scenario Selector function, which advantage of Windows technology in order to provide a
provides algorithms for screening a set of scenarios or for simulation support system able to interface with a variety
selecting the best scenario from a set of scenarios. The ex- of familiar tools. It incorporates the Visual SLAM model-
ample shown in Figure 7 is invoking the Subset Selection ing methodology.
algorithm to select a scenario that maximizes weekly
profit. The Scenario Selector tool is described in Pritsker, REFERENCES
Goldsman, et al. (1999).
Pritsker, A.A.B., D. Goldsman, B.L. Nelson and T. L.
Opicka. 1999. A ranking and selection project: Ex-
periences from a university-industry collaboration, In
Proceedings of the 1999 Winter Simulation Confer-
ence, G. W. Evans, P. A. Farrington, and H. B. Nem-
hard, Eds.
Pritsker, A.A.B., and J.J. O’Reilly. 1999. Simulation with
Visual SLAM and AweSim, John Wiley and Systems
Publishing Corporation.
AUTHOR BIOGRAPHY
224