Approaches
Rakesh
Raghunat
h MCA B5
Event-Scheduling approach to
Simulation….
A model is defined as a representation of a
system for the purpose of studying the system...
System is modeled by identifying the
characteristic events and then writing a set of
event routines that give a detailed description of
the state changes taking place at the time of
each event...
Simulation is the execution of these events in
the increasing order of their time of occurrence...
Process approach to
Simulation….
This approach is used by Simulation packages
0 time
2 3 4
No Place this Wait until
Is server customer entity selected for
idle?? in Queue service
Passage of
Yes simulated time 5
Remove this customer
entity from queue
6
Make server busy
7
Schedule a departure event
for this customer entity
8
Wait until service
is completed
Passage of
simulated time
9 10
Termination of this
Make server idle Return
customer entity
Common Modeling
Elements
Entity An entity is an object of interest in the system.
Destination, Nodes,
Communication Message Buffers
message length links
Flight number,
Airport Airplane Runway, gates Queues
weight
o u
k y
a n
T h