7 Waiting Lines
7 Waiting Lines
7 Waiting Lines
(Queuing Theory)
Production lines
Trucks waiting to unload or load Workers waiting for parts Customers waiting for products Broken equipment waiting to be fixed Customers waiting for service
Costs
The cost of waiting
Paying repairmen to fix broken machines Paying dock workers to load and unload trucks Paying customer-service people Using more production people to speed up the line Leasing of service equipment and facilities Paying checkout cashiers
2012 Lew Hofmann
Costs of Waiting
Fewer servers often means longer waiting for customers.
Optimal # of servers
Number of Servers
Note that the lowest cost system requires some customer waiting.
2012 Lew Hofmann
Average time in line for a customer. Average number of customers in line. Average time in the system for a customer. Average number of customers in the system
at any time.
QUEUE
(The nature of the waiting line or lines of customers)
SERVICE FACILITY
(How customers progress through the service facility)
2012 Lew Hofmann
Service System
Arrival System
Service facilities
Served customers
The sequence in which customers are admitted into the service facility.
Arrival System
Limited (EG: Only people age 21 or over.) Unlimited (EG: cars arriving at a toll booth) Random (Each arrival is independent) Scheduled (EG: Doctors office visits) Balking (Seeing a long line and avoiding it.) Reneging (Get tired of waiting and leave the line) Jockeying (Switching lines)
The Queue
Channels
Phases
Single-channel, Single-phase
One way through the system and one stop for service
Service Facility
Multi-channel, Single-phase
Once in line, you have at least two choices of how to get through the system, but only one stop. Service Facility Service Facility
Multi-channel, Multi-phase
Once in line, you have at least two choices (channels) of how to get through the system and at least two stops (phases).
Service Facility
Service Facility Service Facility Service Facility
2012 Lew Hofmann
Arrivals. (It is unsolvable if customers arrive faster than they can be served.)
Queuing Problem
At a large Naval Ship Repair Facility mechanics have to make frequent trips to the tool crib for parts and specialized equipment. (Arrivals are infinite since mechanics
can come as often as need, even though the population of customers is finite.)
Records indicate that the tool crib serves an average of 18 mechanics each hour, but is capable of serving 20 per hour. If mechanics are paid $30 per hour and the tool crib attendants make $9 per hour, would it be more cost effective to have one or two attendants in the tool crib?
The service rate is always the average time for one server, regardless of how many servers there are in the system. Here it is 20, which is higher than the arrival rate of 18. If the service rate had been lower than the arrival rate, the problem would not be solvable, because customers would arrive faster than they could be served.
2012 Lew Hofmann
1st Attendant
2nd Attendant
(It depends on the relative costs of service versus waiting.)
2nd Attendant
I ran the POM-QM model using two servers, but I could have run it with any number of servers since you always enter the service rate for one server. The POM-QM model will do the computations for more than one server.
2012 Lew Hofmann
Input data
Lowest Cost!
# of Servers 1 2
Average # customers in the system 9.0 Average time in the system Average # customers in line Average time in line
1.128
0.5
8.1
0.063
0.228
0.45 0.013
0.1 0.38
Once you know the optimal # of servers, make sure you run it again for that many servers in order to get the right data. But always enter the service rate for one server, regardless of how many servers.
2012 Lew Hofmann
Average # customers in the system Average time spent in the system Average # of customers in line Average time in line
2012 Lew Hofmann
Homework Assignment
Due next Tuesday Problem 1: Car Repair Problem 2: The Quarry
Use POM/OM or Excel Solver software and submit printouts to support your decisions
Car Repair
In the service department of a car repair shop, mechanics requiring parts for auto repair or service present their request forms at the parts department counter. The parts clerk fills a request while the mechanic waits. Mechanics arrive in a random fashion at the rate of 40 per hour, and a clerk can fill requests at the rate of 20 per hour. If the cost for a parts clerk is $6 per hour and the cost for a mechanic is $12 per hour, determine the optimum number of clerks to staff the counter. (Because of the high arrival rate, an infinite source may be assumed.)
Always enter the service rate for one server. The program will do the math once you enter the number of servers. If you enter fewer servers than can handle the arrival needs, the program will give you an error message because the computed service rate must be higher than the arrival rate.
Currently 9 empty trucks arrive each hour (on average). In addition to waiting in line, it takes 6 minutes for a truck to be filled, weighed and checked out.
Concerned that trucks are spending too much time waiting and being filled, you evaluate the current situation and compare it to the 2 alternatives below.
Alternative 1: Speed up the loading process and add side boards to the trucks so that more material can be loaded faster. This will improve the speed of loading, but cost $50,000. Since the trucks hold more, their arrival rate would be reduced to 6 per hour and the loading time would be reduced to 4 minutes each.
Alternative 2: Add a second loading station at a cost of $80,000. The trucks would arrive at the current rate of 9 per hour. They would then wait in a common line and the truck at the front of the line would move to the next available loading station. Loading time at each of the stations is 6 minutes. Which alternative do you recommend? (Select No Cost in the POM/QM waiting line model. You must decide which of the three situations would the most cost effective based on time in the system and upgrade costs.
2012 Lew Hofmann
In the 18th century a billiard stick became a queue, later changed to que and then to cue.
In the early 19th century England, to Queue was to line up. And that is how it is used today in England.