chapter 4 simu
chapter 4 simu
Chapter 4
Prepared by : Sagar Bhandari
●
It is used by operation research workers to study large
complex systems which cannot be studied by
analytical method.
●
In inventory control.
●
Study of sea and airport.
●
Steel melting stuffs.
●
Telephone exchanges.
●
Production line.
●
Project scheduling etc.
Prepared By : Sagar Bhandari
Fixed Time VS Next Event Model
●
In a fixed time step model a timer or clock is
simulated by the computer.
●
This clock is updated by a fixed time interval Ϫ
and the system is examine to see if any event
has taken place during this time interval.
●
All events that place during this period are
treated as if they occur simultaneously at the
tail end of this interval.
●
In the next event simulation model, the
computer advances time to the occurrence of
the next event. It shifts from event to event.
●
The system does not change in between only
those points in time are kept track when
something of interest happens to the system
●
Here the sequence of inputs are generated
from observations of a running system.
●
Programs monitors are attached to the running
system to extract the data with little or no
disturbances of the system operation.
●
Outlining in general the tasks involved in
preparing a computer program for a simulation
●
Mainly : a. Generating Model and Initializing
b. Programming Procedure(Simulate)
c. Generating outputs
●
System Image : Represents state of system
●
Routines : Creates Discrete events which
makes changes to system image
●
Being basis for most statistics counters are
mostly used to accumulate totals and also
recording current values of some levels.(viz:
telephone system)
●
Means and standard Deviation
Equipment Free tf
●
Simulation measures load on Equipment Busy t b
T
End of
some entity ie. what fraction was simulation
●
To measure : Necessary to keep record of time
● The interval tb- tf is derived and added to counter
●
Utilization(U)=
●
To determine the distribution of a variable, we
need to count the no. of times the value of the
variable falls within specific intervals for each
new value, it is compared with predefined
intervals and for that interval, counted up once
All information is kept in a table that requires;
– The lower limit of tabulation (L)
– The interval size (dx)
– The number of intervals (N)
●
To change conceptual model to computational
model (here : writing discrete system simulation
programs)
●
Establish system image and execute simulation
algorithm
●
Eg’s: GPSS, SIMSCRIPT, FORTRANT,
VERILOG,VHDL etc.