Simulation of Queueing Systems
Simulation of Queueing Systems
Steps Of Simulation -
There are three steps of the simulations:
** Determine the properties of each of the simulation's inputs. These are frequently
described as continuous or discrete probability distributions.
** Build a simulation table. Each simulation table is unique since it was created
specifically for the topic at hand.
** For each repetition i, generate a value for each of the p inputs, and evaluate the
function, calculating a value of the response yi. The input values may be computed
by sampling values from the distributions determined in step 1.
A response typically depends on the inputs and one or more previous responses.
Simulation of Queueing Systems
Server
Waiting Line
The calling population, the nature of the arrivals, the service mechanism, th
e system capacity, and the queueing discipline all contribute to the descripti
on
of a queueing system.
Simulation of Queueing Systems
In a random order, people arrive for service one at a time. They will finally be served if
they join the waiting queue.
Service times are of some random length according to a probability distribution which
does not change over time.
The system capacity has no limit, meaning that any number of units can wait in line.
Finally, units are served in the order of their arrival (often called FIFO: First In, First out)
by a single server or channel.
Simulation of Queueing Systems
** In the single-channel queue, the calling population is infinite.
If a unit leaves the calling population and joins the waiting line or
enters service, there is no change in the arrival rate of other units
that may need service.
** Service times are of some random length according to aprobability distribution which
does not change over time.
** Finally, units are served in the order of their arrival (often called FIFO: First In, First out)
by a single server or channel.
Simulation of Queueing Systems
** In some systems, the condition about arrival rate being less than
service rate may not guarantee stability
Simulation of Queueing Systems
System state : the number of units in the system and the status of the server(busy or idle).
Event : a set of circumstances that cause an instantaneous change in the state of the system.
In a single-channel queueing system there are only two possible events that can affect the state of the
system.
the arrival event : the entry of a unit into the system
the departure event : the completion of service on a unit.
• Simulations of queueing systems generally require the maintenance of an event list for
determining what happens next.
• Simulation clock times for arrivals and departures are computed in a simulation table
customized for each problem.
• In simulation, events usually occur at random times, the randomness imitating uncertainty in
real life.
• Random numbers are distributed uniformly and independently on the interval (0, 1).
• The proper number of digits is dictated by the accuracy of the data being used for input
purposes.
Simulation of Queueing Systems
The interarrival times and service times must be meshed to simulate the single-channel queueing
system.
Table 2.4 was designed specifically for a single-channel queue which serves customers on a first-
in, first-out (FIFO) basis.
Simulation of Queueing Systems
Figure 2.6 depicts the number of customers in the system at the various clock times.
Thank yo
u