Top Banner
Model Antrian Model Antrian By : Render, ect By : Render, ect
37

Model Antrian By : Render, ect. Outline Characteristics of a Waiting-Line System. Arrival characteristics. Waiting-Line characteristics. Service.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Model AntrianModel Antrian

By : Render, ectBy : Render, ect

Page 2: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

OutlineOutline Characteristics of a Waiting-Line System.

Arrival characteristics.

Waiting-Line characteristics.

Service facility characteristics.

Waiting Line (Queuing) Models. M/M/1: One server.

M/M/2: Two servers.

M/M/S: S servers.

Cost comparisons.

Page 3: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

First studied by A. K. Erlang in 1913. Analyzed telephone facilities.

Body of knowledge called queuing theory. Queue is another name for waiting line.

Decision problem: Balance cost of providing good service with cost

of customers waiting.

Waiting LinesWaiting Lines

Page 4: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

The average person spends 5 years waiting in line!!

‘The other line always moves faster.’

© 1995 Corel Corp.

Thank you for holding. Hello...are you there?

You’ve Been There Before!You’ve Been There Before!

Page 5: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Bank Customers Teller Deposit etc.

Doctor’s Patient Doctor Treatmentoffice

Traffic Cars Traffic Controlledintersection Signal passage

Assembly line Parts Workers Assembly

Situation Arrivals Servers Service Process

Waiting Line ExamplesWaiting Line Examples

Page 6: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Arrivals: Customers (people, machines, calls, etc.) that demand service.

Service System: Includes waiting line and servers.

Waiting Line (Queue): Arrivals waiting for a free server.

Servers: People or machines that provide service to the arrivals.

Waiting Line ComponentsWaiting Line Components

Page 7: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Car Wash ExampleCar Wash Example

Page 8: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Higher service level (more servers, faster servers)

Higher costs to provide service.

Lower cost for customers waiting in line (less waiting time).

Key TradeoffKey Tradeoff

Page 9: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Queue: Waiting line.

Arrival: 1 person, machine, part, etc. that arrives and demands service.

Queue discipline: Rules for determining the order that arrivals receive service.

Channels: Parallel servers.

Phases: Sequential stages in service.

Waiting Line TerminologyWaiting Line Terminology

Page 10: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Input source (population) size. Infinite: Number in service does not affect

probability of a new arrival. A very large population can be treated as infinite.

Finite: Number in service affects probability of a new arrival.

Example: Population = 10 aircraft that may need repair.

Arrival pattern. Random: Use Poisson probability distribution. Non-random: Appointments.

Input CharacteristicsInput Characteristics

Page 11: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Number of events that occur in an interval of time. Example: Number of customers that arrive each half-hour.

Discrete distribution with mean = Example: Mean arrival rate = 5/hour . Probability:

Time between arrivals has a negative exponential distribution.

Poisson DistributionPoisson Distribution

xe

)x(Px

Page 12: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Poisson Probability DistributionPoisson Probability Distribution

0.00

0.05

0.10

0.15

0.20

0.25

0.30

0 1 2 3 4 5 6 7 8 9 10 11 12x

0.00

0.05

0.10

0.15

0.20

0.25

0.30

0 1 2 3 4 5 6 7 8 9 101112x

Prob

abilit

y

Prob

abilit

y

=2 =4

Page 13: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Patient. Arrivals will wait in line for service.

Impatient. Balk: Arrival leaves before entering line.

Arrival sees long line and decides to leave.

Renege: Arrival leaves after waiting in line a while.

Behavior of ArrivalsBehavior of Arrivals

Page 14: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Line length: Limited: Maximum number waiting is limited.

Example: Limited space for waiting.

Unlimited: No limit on number waiting.

Queue discipline: FIFO (FCFS): First in, First out.(First come, first served). Random: Select next arrival to serve at random from

those waiting. Priority: Give some arrivals priority for service.

Waiting Line CharacteristicsWaiting Line Characteristics

Page 15: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Single channel, single phase. One server, one phase of service.

Single channel, multi-phase. One server, multiple phases in service.

Multi-channel, single phase. Multiple servers, one phase of service.

Multi-channel, multia-phase. Multiple servers, multiple phases of service.

Service ConfigurationService Configuration

Page 16: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

ArrivalsServed units

Service facility

Queue

Service system

Dock

Waiting ship lineShips at sea

Ship unloading system Empty ships

Single Channel, Single PhaseSingle Channel, Single Phase

Page 17: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Cars& food

Single Channel, Multi-PhaseSingle Channel, Multi-Phase

ArrivalsServed units

Service facility

Queue

Service system

Pick-up

Waiting carsCars in area

McDonald’s drive-through

Pay

Service facility

Page 18: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Arrivals

Served units

Service facilityQueue

Service system

Service facility

Example: Bank customers wait in single line for one of several tellers.

Multi-Channel, Single PhaseMulti-Channel, Single Phase

Page 19: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Service facility

Arrivals

Served units

Service facilityQueue

Service system

Service facility

Example: At a laundromat, customers use one of several washers, then one of several dryers.

Service facility

Multi-Channel, Multi-PhaseMulti-Channel, Multi-Phase

Page 20: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Random: Use Negative exponential probability distribution. Mean service rate =

6 customers/hr. Mean service time = 1/

1/6 hour = 10 minutes.

Non-random: May be constant. Example: Automated car wash.

Service TimesService Times

Page 21: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Continuous distribution. Probability:

Example: Time between arrivals. Mean service rate =

6 customers/hr. Mean service time = 1/

1/6 hour = 10 minutes

Negative Exponential DistributionNegative Exponential Distribution

xμe)xt(f

0.

.1

.2

.3

.4

0 2 4 6 8 10 x

Prob

abili

ty t>

x

=1

=2

=3

=4

Page 22: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Assumptions in the Basic ModelAssumptions in the Basic Model

Customer population is homogeneous and infinite.

Queue capacity is infinite.

Customers are well behaved (no balking or reneging).

Arrivals are served FCFS (FIFO).

Poisson arrivals. The time between arrivals follows a negative exponential

distribution

Service times are described by the negative exponential distribution.

Page 23: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Steady State AssumptionsSteady State Assumptions

Mean arrival rate , mean service rate and the number of servers are constant.

The service rate is greater than the arrival rate.

These conditions have existed for a long time.

Page 24: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

M = Negative exponential distribution (Poisson arrivals).

G = General distribution. D = Deterministic (scheduled).

Queuing Model NotationQueuing Model Notation

a/b/SNumber of servers or channels.

Service time distribution.

Arrival time distribution.

Page 25: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Simple (M/M/1). Example: Information booth at mall.

Multi-channel (M/M/S). Example: Airline ticket counter.

Constant Service (M/D/1). Example: Automated car wash.

Limited Population. Example: Department with only 7 drills that may break down

and require service.

Types of Queuing ModelsTypes of Queuing Models

Page 26: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Common QuestionsCommon Questions Given , and S, how large is the queue (waiting

line)?

Given and , how many servers (channels) are needed to keep the average wait within certain limits?

What is the total cost for servers and customer waiting time?

Given and , how many servers (channels) are needed to minimize the total cost?

Page 27: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Average queue time = Wq

Average queue length = Lq

Average time in system = Ws

Average number in system = Ls

Probability of idle service facility = P0

System utilization =

Probability of more than k units in system = Pn > k

Performance MeasuresPerformance Measures

Page 28: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

General Queuing EquationsGeneral Queuing Equations

= S

Ws =1 Wq +

Ls = Lq +

Lq = Wq

Ls = Ws

Given one of Ws , Wq ,

Ls, or Lq you can use these equations to find all the others.

Page 29: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Type: Single server, single phase system.

Input source: Infinite; no balks, no reneging.

Queue: Unlimited; single line; FIFO (FCFS).

Arrival distribution: Poisson.

Service distribution: Negative exponential.

M/M/1 ModelM/M/1 Model

Page 30: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

M/M/1 Model EquationsM/M/1 Model Equations

System utilization =

Average time in queue: W q = ( - )

Average # of customers in queue: L q = 2

( - )

Average time in system: Ws =1

-

Average # of customers in system: L s =

-

Page 31: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

Probability of 0 units in system, i.e., system idle:

Probability of more than k units in system:

P

k+1

0 1= - =

=Pn>k

1 -

M/M/1 Probability EquationsM/M/1 Probability Equations

( )

This is also probability of k+1 or more units in system.

Page 32: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

M/M/1 Example 1M/M/1 Example 1Average arrival rate is 10 per hour. Average service time is 5 minutes.

= 10/hr and = 12/hr (1/ = 5 minutes = 1/12 hour)

Q1: What is the average time between departures?5 minutes? 6 minutes?

Q2: What is the average wait in the system?

W1

s = 12/hr-10/hr = 0.5 hour or 30 minutes

Page 33: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

M/M/1 Example 1M/M/1 Example 1 = 10/hr and = 12/hr

Q3: What is the average wait in line?

W q = 10 12 (12-10)

= O.41667 hours = 25 minutes

Also note:

so

Ws =1 Wq +

Wq =1 Ws -

1 2

- 112= = O.41667 hours

Page 34: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

M/M/1 Example 1M/M/1 Example 1 = 10/hr and = 12/hr

Q4: What is the average number of customers in line and in the system?

L q = 102

12 (12-10)= 4.1667 customers

Also note:

L q = Wq = 10 0.41667 = 4.1667

L s = 10 12-10

= 5 customers

L s = Ws = 10 0.5 = 5

Page 35: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

M/M/1 Example 1M/M/1 Example 1 = 10/hr and = 12/hr

Q5: What is the fraction of time the system is empty (server is idle)?

P 1= - = 1 -0 1 -

1012

= = 16.67% of the time

Q6: What is the fraction of time there are more than 5 customers in the system?

6=Pn>5 ( )10

12= 33.5% of the time

Page 36: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

More than 5 in the system...More than 5 in the system...

Note that “more than 5 in the system” is the same as:

“more than 4 in line”

“5 or more in line”

“6 or more in the system”.

All are P n>5

Page 37: Model Antrian By : Render, ect. Outline  Characteristics of a Waiting-Line System.  Arrival characteristics.  Waiting-Line characteristics.  Service.

M/M/1 Example 1M/M/1 Example 1 = 10/hr and = 12/hr

Q7: How much time per day (8 hours) are there 6 or more customers in line?

Q8: What fraction of time are there 3 or fewer customers in line?

5= 1 - 1 - P

n>4 ( )1012

= 1 - 0.402 = 0.598 or 59.8%

0.335 x 480 min./day = 160.8 min. = ~2 hr 40 min.

=Pn>5 0.335 so 33.5% of time there are 6 or more in line.