Waiting Line Management: Ravindra S. Gokhale
Waiting Line Management: Ravindra S. Gokhale
Waiting Line Management: Ravindra S. Gokhale
Ravindra S. Gokhale
A. K. Erlang, a Danish engineer who worked for the Copenhagen Telephone Exchange, published the first paper on queuing theory in 1909
The distribution that determines how the tasks arrives in the system
May be deterministic (example: prior appointment) or probabilistic Most common distribution for modeling arrivals: Poisson Arrivals are known as customers
Describes the processing of tasks The distribution that determines how the tasks leave the system May be deterministic (example: computerized controlled process) or probabilistic Most common distribution for modeling services: Exponential, Erlang
Total number of parallel servers/stations available to process the task Single server, multiple servers In the basic models, the servers are assumed to be of equal capability
Number of arrivals that the queue can hold Assumed to be infinite for the basic models
Population of potential arrivals Infinite (example: shoppers arriving at a shopping mall) or finite (example: machines arriving for maintenance) For finite (and small) population, the effective arrival rate decreases after each arrival and increases after each service completion
FCFS First come first served SPT Shortest processing time first EDD Earliest due date first SIRO Service in random order Pre-emptive Example: In healthcare systems, a higher priority arrival can interrupt some established discipline or even some ongoing service, due to medical emergency
Nomenclature
Kendalls notation
A/B/C/K/N/D
A = Arrival distribution B = Service distribution C = Number of servers K = Capacity of the system (considered infinite if not specified) N = Calling population (considered infinite if not specified) D = Discipline of the queue (considered as FCFS if not specified)
Examples
M/M/1///FCFS (denoted just as: M/M/1) M/D/1///FCFS (denoted just as: M/D/1) M/M/s///FCFS (denoted just as: M/M/s) M/M/s//N/FCFS
10
Customer Behavior
Patient customer
Joins the queue and waits till his/her turn for servicing
Impatient customer
Balking Customer arrives, but decides not to join the queue due to longer queue length Reneging After being in the queue for some time, the customer leaves the system, without taking the service Jockeying A customer switches from one queue to another anticipating faster service
11
A queue forms not just because the arrival rate is greater than the service rate*, but because the nature of arrivals (and service times) is probabilistic.
*
The systems where arrival rate is greater than the service rate (and the
calling population is infinite) are unstable systems and cannot be sustained after some point of time.
12
Channel: Number of options available for the customer Phase: Number of stages in the service Number of phases Single
One channel sufficient and service offered in a single stage
Multiple
One channel sufficient, but service can best be offered in multiple stages
Number of channels
Single
Small or medium grocery shop with different stages placing order, getting goods, paying cash
Multiple
Automobile assembly line with multiple lines and multiple workstations Large petrol filling station
13
Waiting to be served
14
Littles Law
The long-term average number of customers in a stable system Ls is equal to the long-term average arrival rate, , multiplied by the long-term average
15
Littles Law
Practical applications:
Manufacturing If one measures the average time a product spends in the system i.e. Ws and the rate of arrival of products i.e. , one can compute the Work in Process (WIP) Inventory i.e. Ls
Services If one counts the average number of customers in a system Ls and the rate of arrival of customers , then one can compute the average waiting time spent by a customer in the system Ws
16
That means, time between the arrivals follows an Exponential distribution Arrival rate is denoted by customers per unit time
17
Average number of customers in the queue: Lq = 2/[ ( )] Average waiting time in the queue: Wq = Lq /
18
19
That means, time between the arrivals follows an Exponential distribution Arrival rate is denoted by customers per unit time
20
Average number of customers in the queue: Lq = 2/[2 ( )] Average waiting time in the queue: Wq = Lq /
Average number of customers in the system: Ls = Lq + ( / ) Average waiting time in the system: Ws = Ls / = Wq + (1 / )
Numerical examples
21
That means, time between the arrivals follows an Exponential distribution Arrival rate is denoted by customers per unit time
Number of servers = s
For the system to be stable, (s ) >
22
Pw
1 P0 s!
s s
(This is, the probability that all the servers are busy)
where P0 = Probability that there are no customers in the system, that is, probability that all servers are idle
L s P0
1 [s -1]!
[s ]2
Average waiting time in the system: Ws = Ls / Average number of customers in the queue: Lq = Ls - ( / ) Average waiting time in the queue: Wq = Lq / = Ws - (1 / )
23
24
25
Calling population is finite = N customers Littles Law cannot be applied in this case
26
Lq N
(1 P0 )
where P0 = Probability that there are no customers in the system, that is, the server is idle
27
maintenance staff is idle turn out to be 0.65. Find the average number of
machines in the repair queue, average number of machines in the repair system, average waiting time in the repair queue and average waiting time in the repair system.
28
29
30