0% found this document useful (0 votes)
3 views2 pages

Single Server Queue Simulation Analysis

This report details a simulation of a single-server queue system, analyzing customer service times, wait times, and server idle times. The results indicate a total service time of 68 minutes, total waiting time of 56 minutes, and total idle time of 18 minutes, highlighting periods of underutilization and congestion. The findings emphasize the importance of balancing server utilization and customer wait times in queue management.

Uploaded by

tagemisgana
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Single Server Queue Simulation Analysis

This report details a simulation of a single-server queue system, analyzing customer service times, wait times, and server idle times. The results indicate a total service time of 68 minutes, total waiting time of 56 minutes, and total idle time of 18 minutes, highlighting periods of underutilization and congestion. The findings emphasize the importance of balancing server utilization and customer wait times in queue management.

Uploaded by

tagemisgana
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Single Server Queue Simulation – Full Report

This report presents a detailed step-by-step simulation of a single-server queue system. The
purpose of this analysis is to calculate, for each customer, when their service begins and ends, how
long they wait in the queue, how long they spend in the system, and how much time the server
remains idle between customers. The simulation assumes a first-come-first-served discipline and
deterministic arrival and service times.

Formula Recap (Including 'Idle Time Before Customer') The following variables and formulas are
used to compute each event in the queueing system: Ai: Arrival time of customer i (Clock time) Si:
Service time for customer i (Minutes) Bi: Time service begins (Clock) → Bi = max(Ai, Ei-1) Wi:
Waiting time in queue (Minutes) → Wi = Bi − Ai Ei: Time service ends (Clock) → Ei = Bi + Si Ti:
Time customer spends in system → Ti = Ei − Ai Ii: Idle time of server before this customer → Ii =
max(0, Ai − Ei−1) For the first customer, I1 = 0 and B1 = A1.

Cust Arrival (A) Service (S) Idle Before (I) Service Begins (B) Wait (W) Service Ends (E) Time in System (T)
1 0 4 0 0 0 4 4
2 8 1 4 8 0 9 1
3 14 4 5 14 0 18 4
4 15 3 0 18 3 21 6
5 23 2 2 23 0 25 2
6 26 4 1 26 0 30 4
7 34 5 4 34 0 39 5
8 41 4 2 41 0 45 4
9 43 5 0 45 2 50 7
10 46 3 0 50 4 53 7
11 47 3 0 53 6 56 9
12 48 5 0 56 8 61 13
13 53 4 0 61 8 65 12
14 59 1 0 65 6 66 7
15 62 5 0 66 4 71 9
16 70 4 0 71 1 75 5
17 71 3 0 75 4 78 7
18 73 3 0 78 5 81 8
19 77 2 0 81 4 83 6
20 82 3 0 83 1 86 4

Summary of Results Total Service Time: 68 minutes Total Waiting Time: 56 minutes Total Time
in System: 124 minutes Total Idle Time (Server): 18 minutes The results show that although the
system handled all 20 customers, the server was idle for some periods, especially early in the
simulation and between longer inter-arrival gaps. The waiting time increases sharply when
customers arrive faster than the service completion rate.

Conclusion This simulation demonstrates the operation of a basic queue system where customers
arrive at different times and a single server handles each in sequence. The “Idle Time Before
Customer” metric provides valuable insight into server utilization, helping determine how efficiently
the system operates. High idle times indicate underutilization, whereas long waiting times imply
congestion. Balancing these is essential in queue design and management.

You might also like