Lecture 4
ICS41 Computer Modeling and
Simulation
1
Classifications of Simulation Software
Application-Oriented Simulation Package
General-Purpose Simulation Language
2
Application-
Application-Oriented Simulation Package
is designed to be used for a certain class
of applications such as manufacturing,
health care, and call centers.
3
Application-
Application-Oriented Simulation Package
utilizes mathematical models to replicate the
behavior of an actual phenomenon
ex:
◦ CircuitLogix
Schematic editor
SPICE simulator
on-screen waveforms
4
5
Application-
Application-Oriented Simulation Package
Advantages:
◦ automatically provides most of the features
needed to build simulation models
◦ provide natural framework
◦ generally easier to modify and maintain
◦ provide better error detection
6
Application-
Application-Oriented Simulation Package
Manufacturing
AutoMod
AutoSched
Extend + Manufacturing
Arena Packaging Edition, etc
Communications Networks
COMNET III
IT DecisionGuru
OPNET Modeler
7
Application-
Application-Oriented Simulation Package
Process Reengineering & Services
Arena Business Edition
Extend + BPR
ProcessModel
ServiceModel
SIMPROCESS
Health Care
MedModel
8
Application-
Application-Oriented Simulation Package
Call Centers
Arena Call Center Edition
Animation (standalone)
Proof Animation
9
General-
General-Purpose Simulation Package
can be used for any application, but might
have special features for certain ones.
general in nature and model development
was done by writing code.
provide a great deal of modeling flexibility
but difficult to use.
10
General-
General-Purpose Simulation Package
Advantages:
◦ most modelers already know a programming
language
◦ simulation model efficiently written in C or C++
may require less execution time
◦ allow greater programming flexibility
◦ software cost is lower
11
General-
General-Purpose Simulation Package
Extend
AweSim
MODSIM III
Symix, etc.
12
AweSim Animation with Multiple Windows
13
Extend Call Center Model with Hierarchical Blocks
14
Simulation Software Modeling Approaches
Event-scheduling Approach
Process Approach
15
Event-
Event-Scheduling Approach
the simulation evolves over time by
executing the events in increasing order
16
Process Approach
process
a time-ordered sequence of interrelated events
separated by interval of time
describes the entire experience of an
“entity” as it flows through a “system”.
17
Simulation Software Modeling Elements
Entity
Attributes
Resources
Queue
18
Type of System Entities Attributes Resources Queues
Manufacturing Part part #, due Machines, Queues or
date workers buffers
Communications Message Destination, Nodes, links Buffers
message
length
Airport Airplane Flight #, Runways, Queues
weight gates
Insurance Application, Name, policy Agents, queues
Agency claims #, amount clerks
19
General capabilities
Hardware and software considerations
Animation
Statistical features
Customer support and documentation
Output reports and plots
20
General Capabilities
Modeling flexibility
ability to define new modeling structures and/or
modify existing ones
Ease of use
modeling constructs that are not too primitive and
not too macro.
21
General Capabilities
Good debugging aids
allows the user to:
follow a single entity through the model
see the state of the model every time a particular
event occurs
set the value of certain attributes or variables.
Fast model execution speed
User-friendly model “front-ends”
22
General Capabilities
Ability to import data from (and export
data to) other applications
Automatically simulate different scenarios
that iterate on some model parameters.
Easily initialized in a nonempty and idle
state.
23
General Capabilities
State of the simulation can be saved at the
end of a run
Cost
24
Hardware and Software Requirements
Computer platforms
Compatible across platforms
RAM required
Operating system supported
25
Animation and Dynamic Graphics
Uses of animation:
communicating the essence of a simulation
model
debugging the simulation computer program
showing that a simulation model is not valid
suggesting improved operational procedures for
a system
training operational personnel
promoting communication among the project
team
26
Animation and Dynamic Graphics
Types of Animation:
◦ concurrent animation
◦ post-processed animation
27
Types of Animations
Concurrent Animation
◦ animation is displayed at the same time that
the simulation is running
Post-processed Animation
◦ state changes in the simulation are saved to a
disk file and used to drive the graphics after the
simulation is over
◦ animation is activated after all the processing
and evaluation are done.
28
Animation and Dynamic Graphics
Desirable features:
◦ default animation
◦ create high-resolution icons
◦ smooth movement of icons
◦ speed up or slow down the animation
◦ named animation views
◦ vector-based vs. pixel-based graphics
◦ three-dimensional animation
◦ import drawings/clip arts
29
Statistical Capabilities
Must have a good random generator
Independent replications (or runs) of the
simulation model
each run uses separate sets of different random
numbers;
each run uses the same initial condition
each run resets the statistical counters.
30
Customer Support and Documentation
Customer Support
provide public training
technical support
Good Documentation
possible to learn w/o taking formal training course
context-dependent online help
31
Output Reports and Graphics
standard reports
customize reports
histogram
time plots
results be stored in a database
plotted in a single graph
export individual model output
observations
32