260 likes | 340 Views
“QUEUING THEORY”. Queuing Theory. Queuing theory is the mathematics of waiting lines. It is extremely useful in predicting and evaluating system performance. Queuing theory has been used for operations research, manufacturing and systems analysis.
E N D
Queuing Theory • Queuing theory is the mathematics of waiting lines. • It is extremely useful in predicting and evaluating system performance. • Queuing theory has been used for operations research, manufacturing and systems analysis. Traditional queuing theory problems refer to customers visiting a store, analogous to requests arriving at a device.
Applications of Queuing Theory • Telecommunications • Traffic control • Determining the sequence of computer operations • Predicting computer performance • Health services (e.g.. control of hospital bed assignments) • Airport traffic, airline ticket sales • Layout of manufacturing systems.
Queuing System • Model processes in which customers arrive. • Wait their turn for service. • Are serviced and then leave. input Server output Queue
Characteristics of Queuing Systems • Key elements of queuing systems • Customer:-- refers to anything that arrives at a facility and requires service, e.g., people, machines, trucks, emails. • Server:-- refers to any resource that provides the requested service, eg. repairpersons, retrieval machines, runways at airport.
Queuing examples System Customers Server Reception desk People Receptionist Hospital Patients Nurses Airport Airplanes Runway Road network Cars Traffic light Grocery Shoppers Checkout station Computer Jobs CPU, disk, CD
Service Process Servers Queue or Waiting Line Exit Arrival Process Components of a Queuing System
Arrivals from the general population … Queue (waiting line) Service facility Exit the system Dave’s Car Wash enter exit Arrivals to the system In the system Exit the system Parts of a Waiting Line Population of dirty cars • Waiting Line Characteristics • Limited vs. unlimited • Queue discipline • Service Characteristics • Service design • Statistical distribution of service • Arrival Characteristics • Size of the population • Behavior of arrivals • Statistical distribution of arrivals
1. Arrival Process • According to source • According to numbers • According to time 2. Queue Structure • First-come-first-served (FCFS) • Last-come-first-serve (LCFS) • Service-in-random-order (SIRO) • Priority service
Queue Departures after service Servicefacility Arrivals 3. Service system 1. A single service system. e.g- Your family dentist’s office, Library counter
Service facility Channel 1 Service facility Channel 2 Departures after service Queue Arrivals Service facility Channel 3 2. Multiple, parallel server, single queue model e.g- Booking at a service station
3. Multiple, parallel facilities with multiple queues Model Customers leave Service station Queues Arrivals e.g.- Different cash counters in electricity office
4. Service facilities in a series Service station 1 Service station 2 Arrivals Phase 1 Phase 2 Queues Queues Customers leave e.g.- Cutting, turning, knurling, drilling, grinding, packaging operation of steel
Queuing Models • Deterministic queuing model • Probabilistic queuing model • Deterministic queuing model :-- =Mean number of arrivals per time period µ = Mean number of units served per time period
Assumptions • If > µ, then waiting line shall be formed and increased indefinitely and service system would fail ultimately 2. If µ, there shall be no waiting line
2.Probabilistic queuing model Probability that n customers will arrive in the system in time interval T is
= Mean number of arrivals per time period µ = Mean number of units served per time period Ls = Average number of units (customers) in the system (waiting and being served) = Ws = Average time a unit spends in the system (waiting time plus service time) = µ – 1 µ – Single Channel Model
Lq = Average number of units waiting in the queue = Wq= Average time a unit spends waiting in the queue = p = Utilization factor for the system = 2 µ(µ – ) µ(µ – ) µ
P0 = Probability of 0 units in the system (that is, the service unit is idle) = 1 – Pn > k = Probability of more than k units in the system, where n is the number of units in the system = k + 1 µ µ
= 2 cars arriving/hour µ = 3 cars serviced/hour Ls= = = 2 cars in the system on average Ws = = = 1 hour average waiting time in the system Lq= = = 1.33 cars waiting in line 2 3 - 2 µ – 1 3 - 2 1 µ – 22 3(3 - 2) 2 µ(µ – ) Single Channel Model Example
Wq= = = 40 minute average waiting time p = /µ = 2/3 = 66.6% of time mechanic is busy P0= 1 - = .33 probability there are 0 cars in the system 2 3(3 - 2) µ(µ – ) µ Cont… = 2 cars arriving/hour, µ = 3 cars serviced/hour
Suggestions for Managing Queues • Determine an acceptable waiting time for your customers • Try to divert your customer’s attention when waiting • Inform your customers of what to expect • Keep employees not serving the customers out of sight • Segment customers
Train your servers to be friendly Encourage customers to come during the slack periods Take a long-term perspective toward getting rid of the queues
Where the Time Goes In a life time, the average person will spend : SIX MONTHS Waiting at stoplights EIGHT MONTHS Opening junk mail ONE YEAR Looking for misplaced 0bjects TWO YEARS Reading E-mail FOUR YEARS Doing housework FIVE YEARS Waiting in line SIX YEARS Eating