You are on page 1of 4

Practical 2: Single channel queue Simulation

Aim:
Performing simulation in single queuing channel model

Theory:
The State of the system is the number of units in the system and the status of the server, busy
or idle.

An Event is a set of circumstances that cause an instantaneous change in the state of the
system.

There are only 2 possible events in single-channel queueing system:

The entry of a unit into the system (arrival event)

Completion of service on a unit (departure event)

The Simulation Clock is used to track the simulated time.

• Events usually occur at random times eg., it is not known with certainty when the next
customer will arrive at a grocery checkout corner.

• The randomness needed to imitate real life is made possible through the use of
“random numbers”.

• Interarrival times and service times are generated from the distribution of random
numbers.
Formulas for the calculation

Data
Prob: Single-Channel Queue Simulation

A small grocery store has only one checkout counter. Customers arrive at this checkout counter
at random from 1 to 8 minutes apart. Each possible value of inter-arrival time has the same
probability of occurrence. The service times vary from 1 to 6 minutes with the Probabilities
shown in table s. The problem is to analyze the system by simulating the arrival and service of
20 customers.
Sample Simulation table

Result

Perform the simulation of single channel queue system and analysed the performance of the
system

You might also like