Presentation on theme: "Structure of a Waiting Line System"— Presentation transcript:
1Structure of a Waiting Line System Queuing theory is the study of waiting linesFour characteristics of a queuing system:The manner in which customers arrive (bulk, individual, by appointment or randomly)The time required for serviceThe priority for determining order of serviceThe number and configuration of servers in the system
2Structure of a Waiting Line System In general, arrival of customers into a system is a random event. Frequently the arrival pattern is modeled as a Poisson process.Service time is also usually a random variable. It is often described by the exponential distribution.The most common queue discipline is FIFO. An elevator however would use LIFO and an emergency room would use a highest cost criterion.
3Queuing SystemsA three part code A/B/s is used to describe various queuing systems whereA describes the arrival distribution assumedB describes the service distribution assumeds is the number of channels (servers) per line
4Operating Characteristics of a Queuing System What is the average wait time of the customer in the queue? In the system?What is the average number of customers in the queue? In the system?What percent of time is the service facility idle? What is the average amount of server free time between customers?What is the probability that an arriving customer will have to wait?
5Example: Wayne International Airport Whenever an international plane arrives at the airport, two customs inspectors on duty set up operations to process the passengers.Incoming passengers must first have their passports and visas checked. This is handled by one inspector. The time required to check a passenger's passports and visas can be described by the probability distribution on the next slide.
6Example: Wayne International Airport Random Number MappingTime Required toCheck a Passenger's RandomPassport and Visa Probability Numbers20 seconds40 seconds60 seconds80 seconds
7Example: Wayne International Airport After having their passports and visas checked, the passengers next proceed to the second customs official who does baggage inspections. Passengers form a single waiting line with the official inspecting baggage on a first come, first served basis.
8Example: Wayne International Airport Random Number MappingTime Required For RandomBaggage Inspection Probability NumbersNo Time1 minute2 minutes3 minutes
9Example: Wayne International Airport Next-Event Simulation RecordsFor each passenger the following information must be recorded:When his service begins at the passport control inspectionThe length of time for this serviceWhen his service begins at the baggage inspection
10Example: Wayne International Airport A chartered plane from abroad lands at Wayne Airport with 80 passengers. Simulate the processing of the first 10 passengers through customs using the random numbers given on the next slides.
11Example: Wayne International Airport Passport Control Baggage InspectionsPass. Time Rand. Service Time Time Rand. Service TimeNum . Begin Num. Time End Begin Num. Time End: : : : : :20: : : : : :20: : : : : :00: : : : : :00: : : : : :00
12Example: Wayne International Airport Passport Control Baggage InspectionsPass. Time Rand. Service Time Time Rand. Service TimeNum . Begin Num. Time End Begin Num. Time End: : : : : :00: : : : : :00: : : : : :00: : : : : :00: : : : : :20
13Example: Wayne International Airport QuestionHow long will it take for the first 10 passengers to clear customs?AnswerPassenger 10 clears customs after 9 minutes and 20 seconds.
14Example: Wayne International Airport QuestionWhat is the average length of time a customer waits before having his bags inspected after he clears passport control? How is this estimate biased?AnswerFor each passenger calculate his waiting time:(Baggage Inspection Begins) - (Passport Control Ends) = = 160 seconds.160/10 = 16 seconds per passenger.This is a biased estimate because we assume that the simulation began with the system empty. Thus, the results tend to underestimate the average waiting time.