Sie sind auf Seite 1von 11

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/239925427

Process Simulation in Excel for a Quantitative Management Course

Article · May 2002


DOI: 10.1287/ited.2.3.75

CITATIONS READS

7 1,765

1 author:

Raymond R. Hill
Air Force Institute of Technology
162 PUBLICATIONS   1,181 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Ballistic Impact Modeling View project

Mobility Aircraft Availability Forecasting Simulation (MAAF) View project

All content following this page was uploaded by Raymond R. Hill on 22 November 2014.

The user has requested enhancement of the downloaded file.


HILL
Process Simulation in Excel for a Quantitative Management Course

Process Simulation in Excel for a sheet capabilities are very good for sampling simu-
Quantitative Management Course lation methods but ill suited for discrete-event simu-
lation. This paper proposes and discusses how to
Raymond R. Hill use SimQuick, an Excel-based simulation package,
Department of Operational Sciences to overcome these limitations and bring discrete-
Air Force Institute of Technology event simulation into the spreadsheet-based quanti-
Wright-Patterson AFB, OH 45424 tative management course.
A simulation is a computer model used to evaluate
ray.hill@afit.edu a system numerically (Law and Kelton, 2000). Sto-
chastic simulations involve random variates to model
Abstract variables assumed to follow some probability dis-
tribution. When the simulation explicitly models a
A nagging limitation of teaching spreadsheet-based system as that system changes over time, the simu-
quantitative decision-making courses is the some- lation is referred to as a dynamic simulation. Recent
times stilted view of simulation presented, a view surveys list simulation as among the most popular
that overly emphasizes sampling simulation at the and widely used operational research techniques
expense of process simulation. Without a viable (Lane, et al., 1993).
spreadsheet-based process simulation package, the Spreadsheets have long been in use in the business
best efforts aimed at overcoming this emphasis on world while unfortunately ignored among some ana-
sampling simulation have provided passing refer- lysts and engineers. That tendency is rapidly falling
ences to special purpose simulation packages focused away as the modern spreadsheet truly provides a
on process simulation. We introduce and discuss diverse and robust environment for most modeling
SimQuick as an alternative approach for teaching needs. The modern spreadsheet provides a means to
process simulation within the context of a spread- store and manage data, run statistical analyses, con-
sheet-based approach to teaching simulation. Al- duct mathematical modeling, import and export
though an early tool, and somewhat limited when tables and graphs, and interface to other more pow-
compared to special purpose simulation packages, erful computer packages. In short, the spreadsheet
SimQuick provides a viable means for teaching the is a (nearly) complete analytical toolbox.
process of simulation modeling and reinforcing the
salient features of process modeling as a quantita- Not surprisingly, quantitative management texts fo-
tive technique. cused on surveying quantitative techniques have
nearly unanimously adopted the spreadsheet as the
Disclaimer: The views expressed in this article are those computing platform of choice. The benefits provided
of the authors and do not reflect the official policy of the the course instructor include:
United States Air Force, Department of Defense, or the
• pre-existing familiarization with the platform;
US Government.
and
• increased likelihood of student future use of
the quantitative techniques

Introduction Teaching new concepts, such as is often the case in


courses involving quantitative techniques, is facili-
A nagging limitation of teaching spreadsheet-based tated by the students’ immediate grasp of the com-
modeling is providing sufficient coverage of simu- puter tool. The instructor challenge then becomes
lation. Simulation is an important quantitative tech- one of expanding the students’ abilities to under-
nique but spreadsheet-based approaches sometimes stand and apply the quantitative methods. Then,
ignore a good portion of the technique. Basic spread- because the spreadsheet is so widely available, and

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS
HILL
Process Simulation in Excel for a Quantitative Management Course

if the instructor has made the proper academic-to- Simulation on Spreadsheets


application connection, the graduated student may
Analytical simulation falls into two broad catego-
find their problems amenable to spreadsheet model-
ries:
ing and actually use the techniques in practice.
• sampling or Monte Carlo simulation, and
The spreadsheet platform also introduces challenges
for the instructor. These include: • process simulation (or discrete-event simula-
• differences between mathematical formulation tion).
and spreadsheet paradigms; Evans (2001) described these as Monte Carlo or risk
simulation and systems simulation, respectively.
• too much modeling freedom; and
Other simulation applications, such as human-in-the-
• limited view of the breadth and depth of quan- loop, distributed, web-based, and training simula-
titative modeling. tions are excluded from the present discussion.
The spreadsheet paradigm is one of arrays and ma- Sampling simulation applications are perfect for the
trices of values but not necessarily matrix algebra. spreadsheet. Sampling simulation is used to exam-
Mathematical models are usually algebraic in rep- ine risk or uncertainty associated with static models
resentation. The instructor needs to help the student or simulations that involve activity-scanning ap-
build the mental mapping between the two para- proaches. Typical models might be investment mod-
digms. The spreadsheet also imposes few limitations els, inventory models, even fairly simply queuing
on how a user chooses to design a worksheet. This models are manageable in the spreadsheet (Ragsdale,
freedom is carried over into the design and specifi- 2001; Camm and Evans, 1996). The spreadsheet
cation of quantitative models. Such expressive free- easily recalculates a model, spreadsheet functions
dom can be a source of confusion to the novice mod- provide random number generators, and the spread-
eler. The instructor must avoid overwhelming the sheet has plenty of capability to save and analyze
student with spreadsheet capabilities and focus on the simulation data generated. Nearly all manage-
effective quantitative modeling methodology. This ment science texts include a chapter on simulation,
expressive freedom can be particularly troublesome a chapter usually focused on sampling simulation.
when correct answers are obtained using question- Add-ins like @Risk and Crystal Ball significantly
able modeling methods or when the correct spread- increase one’s ability to conduct, and teach, sam-
sheet model bears no resemblance to an associated pling simulation, as well as conduct risk analysis in
mathematical formulation. simulation studies or student projects and theses.
The spreadsheet is a viable modeling platform but Process simulation for spreadsheets are not quite as
has limitations, in breadth of technique supported applicable. Process simulation is used to capture
and in the size of models accepted. Advanced users complex system state changes over time, particu-
can of course significantly extend spreadsheet ca- larly when the state changes are defined by events
pabilities (like in Excel) with special purpose pro- within the system. The dynamic interactions and
gramming (like VBA), but such topics generally fall uncertain event ordering are difficult to capture in a
outside the scope of quantitative courses. The sur- spreadsheet model without somehow augmenting
vey course student will generally remain a novice spreadsheet capabilities. Typical examples might
user of quantitative management tools. Thus, the include maintenance operations involving demands
survey course should provide a basic understanding on limited resources and unpredictable failure
of a range of techniques, a sufficient understanding events, production processes involving looping
of the technique’s salient features, and most impor- within the various workstations within the facility,
tantly, an appreciation of what is still unfamiliar with or even complex combat models with multiple in-
respect to the technique. teracting systems engaged in conflict. These more
complicated, and often more realistic, simulation
applications are either not discussed or just briefly

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS
HILL
Process Simulation in Excel for a Quantitative Management Course

mentioned when referencing the more sophisticated elements, and the connections between the elements.
simulation packages. Exceptions include Camm and These specifications are indicated to SimQuick via
Evans (1996), Evans and Olsen (1998), and Laurence particular worksheet tables whose access is con-
and Pasternack (1998) whose works include student trolled via VBA menus within the SimQuick spread-
versions of these more powerful packages. These sheet. SimQuick can be described as a first-genera-
exceptions are, however, admittedly limited in the tion package, replete with significant limitations
amount of time and space devoted to discussing how when compared to mature, special purpose pack-
to use these more powerful simulation packages. ages such as Extend, AweSim, ProModel, or Arena.
However, we have found SimQuick, despite its limi-
A stilted view of simulation due to spreadsheet
tations, quite adequate in providing a spreadsheet
limitations deprives the survey-course student a full
tool with which to focus on the salient features of
appreciation of the power and benefits of the simu-
process simulation thereby providing more complete
lation as a quantitative technique. To overcome this
coverage of simulation as a quantitative technique.
limitation, we incorporated SimQuick into the simu-
lation portion of our survey course. In our case, Figure 1 displays the SimQuick control panel. Each
process simulation follows sampling simulation for button transfers control to a worksheet containing
which we use Crystal Ball. See Evans (2000) or the SimQuick tables through which one specifies a
Ragsdale (2001) for details on sampling simulation simulation. The only elements available in SimQuick
using Crystal Ball. are those listed on the panel, and described below.
This limitation on SimQuick constructs is a bless-
ing for the survey course as the student must focus
SimQuick Introduced on the process of simulation modeling to success-
SimQuick (Hartvigsen, 2001) is a process-oriented fully employ SimQuick. Further, the student is not
simulation package for Excel. SimQuick is not an overwhelmed by the large number of modeling
Excel add-in (such as an .xla file) but rather a spread- constructs such as one finds in the special purpose
sheet template in which a user specifies the elements simulation packages. The instructor must however
of a simulation model, the parameterization of those choose modeling projects that are appropriate for
the SimQuick package.

Figure 1: SimQuick Control Panel

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS
HILL
Process Simulation in Excel for a Quantitative Management Course

Process of Simulation Modeling 1.Formulate the problem to include defining ob-


jectives, measurements, and scenarios;
A frustrating aspect of teaching simulation, whether
a component within a survey course, or a full-fledged 2.Develop a logical model;
simulation course, is reminding students that simu-
3.Specify probabilistic assumptions; and
lation is applied statistics. Stochastic simulation
output is a function of input random variables and 4.Implement model on computer.
thus also a random variable and statistics are the Evans’ four-step approach is closer to our needs al-
language of random variables. The simulation model though additional emphasis is given to verifying and
is not the end result, but rather a tool one builds validating the logical model before implementing
within the simulation process. The true end product the model into SimQuick. This is due to the increased
of a simulation effort, just as in a mathematical complexity of a process model versus a static model
modeling effort, is insight into the system or pro- as built for a sampling simulation application. We
cess under study, insight gained, in this case, via can use Step 3 to tie back to Crystal Ball, and sam-
statistical analysis of simulation output. The pling simulation, through the use of Crystal Ball’s
SimQuick design provides a focus on the simula- distribution fitting capabilities to analyze historical
tion process. data from which to derive representative probabil-
Hartvigsen (2001) lists three steps in using ity distributions.
SimQuick: A simple flow-chart augmented with additional syn-
1.Conceptually build a model of the process; tax provides a simple, easy to learn and intuitive
simulation process. Figure 2 is a very simple con-
2.Enter the model into SimQuick;
ceptual model intended to motivate our approach to
3.Test process improvement ideas with the teaching simulation. In this example, entities arrive,
model wait for a paint station, are painted Red or Blue, and
once painted leave the system. We want to count
We expand the first step quite a bit when teaching
how many are painted so we use two buffers, Total
process simulation with SimQuick to focus more on
Red and Total Blue. The flowchart elements in Fig-
the methodology of simulation. This includes in-
ure 2 list the corresponding SimQuick element type,
creasing the specificity contained within a concep-
a unique name for the element, and any other data
tual model. This facilitates the second step as enter-
required by the SimQuick element. Linkages among
ing a model into SimQuick is very straightforward
the elements are indicated by the directed arcs and
but does require the up-front planning during the
specified to SimQuick via the unique names assigned
conceptual modeling building process.
the element. Figure 2 contains sufficient detail to
Evans (2000) offers the following four step ap- directly specify the model to SimQuick. This flow-
proach: chart in Figure 2 was drawn using the cell format-
ting and the line drawing facilities within Excel.

Figure 2: Paint Process Example

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS
HILL
Process Simulation in Excel for a Quantitative Management Course

SimQuick Limitations elements. For instance, two buffers feeding a


common workstation produces a combine
SimQuick represents a new and initial capability for
object effect.
process simulation within Excel. Not surprisingly
SimQuick has limitations. Understanding and ac- • More than two decision points requires plac-
commodating these limitations helps realize the ben- ing SimQuick decision point elements in se-
efits SimQuick brings to the classroom. quence and determining the correct condi-
SimQuick elements are defined via tables within tional probabilities.
worksheets of the SimQuick workbook. The tables Fortunately, each “limitation” of SimQuick provides
currently allow up to 20 elements of each type. Simu- an opportunity to reinforce two key concepts to the
lations are limited to 10,000 time units and 100 in- student: structured walk through of models for vali-
dependent replications. There is no facility for re- dation, and modeling for effect. A structured walk-
moving transient data nor can one specify random through is usually associated with software engineer-
number streams. There is also a limited choice of ing but serves the novice modeler well to reinforce
probability distributions although those implemented the notion that a simulation, like any computer pro-
are quite commonly used in simulation. gram it is, will only do what is specified, not neces-
Like more powerful packages, SimQuick drops en- sarily what the modeler thinks it will accomplish.
tities if those entities have no place to move or wait. Modeling effects deals with using the structure and
Resource usage is prioritized by the order in which syntax of the language in such a way that the result-
workstations are defined in the Workstation ing model sufficiently mimics the intended pro-
worksheet and workstations handle as many entities cess—the output data makes sense. For example, a
as resources allow. SimQuick will also do initial er- maintenance process simulation can capture the ef-
ror checking before executing the simulation. fect of maintainer transient time, without explicitly
modeling maintainer travel, by properly incorporat-
ing travel time into maintenance repair times.
SimQuick Teaching Tips
SimQuick limitations mean certain things cannot be SimQuick Example
easily modeled. Just like any programming language,
and all simulation packages are programming lan- Consider the following example:
guages, one must learn to manipulate the language Two components arrive simultaneously, A and
properly to obtain the desired modeling effect. The B. All components are polished. Part B must
following are some initial lessons learned. be inspected and if required, re-sanded and re-
polished. Completed A and B components are
• Emphasize the importance of fully understand-
paired and assembled into a finished compo-
ing the system under study and then mapping
nent, Z. Finished components are placed in
the desired conceptual model onto the
holding racks until an hourly delivery truck
SimQuick syntax when creating the actual
arrives to cart off the components. The deliv-
simulation model.
ery trucks have limited storage, handling up
• Emphasize the importance of fully specifying to 15 finished components per pickup.
the flowchart model and uniquely naming each
piece in the model.
The complete flowchart for this example cannot fit
• Use buffers for each workstation. An object neatly in single page. Figures 3-6 contain the com-
will drop from the simulation if not buffered. ponents of the final flowchart. The reader will note
• Emphasize the need to carefully read and grasp common elements in the figures. These common
how SimQuick interprets connections between elements are the connecting points between the fig-
ures. Figure 3 shows an object entrance and a split

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS
HILL
Process Simulation in Excel for a Quantitative Management Course

into two components, A and B, each moving into a the final assembly process. Objects from Buffers
Buffer to await polishing. Figure 4, extending from FinishA and FinishB combine to form the final prod-
Figure 3 Buffer WPA, is the component A polishing uct, Z, an operation that requires 1.5 minutes. These
process. The polishing process time follows a nor- buffers are also the connecting points between Fig-
mal distribution, with mean 2 and standard devia- ure 4 and 5, respectively, into Figure 6. Delivery
tion of 0.5 minutes. The workstation handles one trucks arrive each hour and take away up to 15 com-
object at a time and does not require special re- pleted components each arrival. Remaining compo-
sources. Figure 5, extending from Figure 3 Buffer nents wait in the Loading Dock buffer. In this model,
WPB, is the component B polishing process which all buffer capacities are set to 200 effectively yield-
includes a 5% chance of inspection failure and re- ing no capacity limitations. Once fully defined and
quired re-sanding and re-polishing. The sanding re- specified, the user can provide the model informa-
quires a constant 2 minutes. Finally, Figure 6 shows tion to SimQuick via the proper SimQuick table.

Figure 3: Components A and B Enter System

Figure 4: Component A Polishing Process

Figure 5: Component B Polishing and Reworking Process

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS
HILL
Process Simulation in Excel for a Quantitative Management Course

Figure 6: Final Assembly and Packaging Processes

Figure 7 is a partial screen shot showing the En- presented on other worksheets. The Examples but-
trance element (included in Figure 3), named Ar- ton provides precisely that, an example completed
rive, as specified to SimQuick. Note the Entrances table. In this model, the time between arrivals is
worksheet provides guidance on the acceptable in- modeled as a uniform random variable between 6
ter-arrival and number of objects arriving distribu- and 9 time minutes. A single object arrives and
tions, to include a constant value. Similar help is moves directly to the Login (workstation) element.

Figure 7: Specification of Arrival Entrance Element

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS
HILL
Process Simulation in Excel for a Quantitative Management Course

Figure 8:Specification of Four of Five Workstation Elements

Figure 8 is a collage from four of the five tables in (Nor(2,.5)), and the destination for once processing
which the conceptual model workstations are speci- is completed is specified. In the case of the Login
fied to SimQuick. These tables specify the worksta- workstation, a nominal time is given while the dual
tions from Figures 3-5. Note each element has a output destinations serve to split the single arrival
unique Name, the processing time may be a con- into two components, A and B (since these arrive
stant (0.1 or 2) or some random amount of time simultaneously.)

Figure 9: Specification of Buffer Elements in Model

Figure 9 contains a collage of all the buffer elements destination. The name specified in the output desti-
defined in the model. Each buffer is provided a ca- nation ties directly to the directed arc used in the
pacity (use a large number if capacity is not an is- model flowchart in Figures 3-6. To conserve space,
sue) and each buffer starts empty. Each element is neither the Decision Point element nor the Exit ele-
provided a unique name and lists a single output ments are shown.

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS
HILL
Process Simulation in Excel for a Quantitative Management Course

vide the data for each of the simulation replications,


data which can be easily copied and further analyzed
Once the elements are specified to SimQuick, the
using Excel statistical analysis tools. In the case of
number of replications and length of each simula-
this re-working example, workstation and delivery
tion are provided. When the Run Simulation button
truck utilization results (not included) indicate a
is selected, SimQuick does some error checking and
woefully underutilized process (as one might expect
if all passes, conducts the simulation. The results of
by examining the system description.)
each simulation run, along with cumulative statis-
tics are written to another worksheet accessible via
the View Results button (see Figure 1).
SimQuick Output
SimQuick does not currently provide a means to
Figure 10 is a snapshot of the SimQuick output panel.
specify output measures, the user gets what
SimQuick output is predefined; SimQuick provides
SimQuick provides. However, SimQuick does pro-
general data on each element contained within the

Figure 10: SimQuick Output Sample

model. Inferences for the system are based on this proximately 27% of the time (Fraction time work-
data provided. ing) and we can infer that 2.4 items required sand-
As indicated in Figure 10, SimQuick provides the ing (difference in Work Cycles started for Polishing
data for each replication and a summary average A versus Polishing B as well as the Work cycles
across all the replications. Variance information re- started for Sanding B). This represents a 3.7% fail
quires the user save the results worksheet and use rate which is very close to the 5% theoretical fail
Excel functions to calculate variance information rate specified for the model. Other data provided
based on the replication data. For this model, across (not shown) indicate a 1% utilization of the Sander
the ten replications, an average of 64.4 components workstation and only 47% of the delivery truck ca-
arrive. The Polishing workstations are utilized ap- pacity is employed. In class, various embellishments
can be included and the resulting system impacts

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS
HILL
Process Simulation in Excel for a Quantitative Management Course

examined using the output from separate SimQuick References:


runs.
Camm, J. and J. R. Evans. (1996). Management
Science: Modeling, Analysis and Interpretation,
South-Western, Cincinnati, Ohio.
Concluding Remarks
Evans, J. R. and D. L. Olsen. (1998). Introduction
In our class, we introduce SimQuick and process
to Simulation and Risk Analysis, Prentice-Hall,
simulation after presenting sampling simulation us-
Upper Saddle River, NJ.
ing Crystal Ball. Our focus has been on the process
of simulation and in particular developing accuracy Evans, J.R. (2000), “Spreadsheets as a Tool for
in defining the flowchart model of the process. Stu- Teaching Simulation,” INFORMS Transactions on
dent feedback has been positive particularly in the Education , Vol. 1, No. 1, http://ite.informs.org/
ease of use of SimQuick once the process model is Vol1No1/evans/evans.html
defined. More importantly, we were able to provide
Hartvigsen, David. (2001). SimQuick: Process
a familiarization of simulation that balances both
Modeling with Excel, Prentice-Hall, Upper Saddle
sampling and process simulation.
River, NJ.
Spreadsheets are uniquely suited for sampling simu-
Lane, M. S., A. H. Mansour, and J. L. Harpell.
lation and it is quite logical for spreadsheet-based
(1993). “Operations Research Techniques: A
texts to focus on sampling simulation. As educators
Longitudinal Update, 1973-1988,” Interfaces, Vol.
however we must provide simulation familiarization
23, No. 2, pp. 63-68.
across the breadth of the analytical simulation spec-
trum. While limited in capabilities, SimQuick pro- Laurence, J. A. and B. A. Pasternak. (1998).
vides a useful spreadsheet-based vehicle for comple- Applied Management Science: A Computer-
menting products like Crystal Ball or @Risk and Integrated Approach for Decision Making, John
thus providing a relatively thorough familiarization Wiley & Sons, New York.
of simulation. Law, A. M. and W. D. Kelton. (2000). Simulation
Modeling and Analysis, Third Edition, McGraw-
Hill, New York.
Ragsdale, C. T. (2001). Spreadsheet Modeling and
Decision Analysis: A Practical Introduction to
Management Science. South-Western, Cincinnati,
Ohio.
Winston, W. L. and S. C. Albright. (1997). Practi-
cal Management Science: Spreadsheet Modeling
and Applications, Duxbury, Belmont, CA

XX

INFORMS Transcations on Education 2:3 (XX-XX) INFORMS

View publication stats

Das könnte Ihnen auch gefallen