Sie sind auf Seite 1von 16

Waiting Line Theory

Akhid Yulianto, SE, MSc (log)


Bank Customers Teller Deposit etc.

Doctors Patient Doctor Treatment
office

Traffic Cars Light Controlled
intersection passage

Assembly line Parts Workers
Assembly

Tool crib Workers Clerks Check out/in tools

Situation Arrivals Servers Service Process
Waiting Line Examples
Structure of a Waiting Line
System
Queuing theory is the study of waiting
lines.
Four characteristics of a queuing system
are:
the manner in which customers arrive
the time required for service
the priority determining the order of
service
the number and configuration of
servers in the system.
Level of service
Cost
Waiting time cost
Optimal
Waiting Line Costs
Structure of a Waiting Line
System
Distribution of Arrivals
Generally, the arrival of customers
into the system is a random event.
Frequently the arrival pattern is
modeled as a Poisson process.
Distribution of Service Times
Service time is also usually a
random variable.
A distribution commonly used to
describe service time is the
exponential distribution.
Poisson Probability
x = Tingkat kedatangan
= rata rata kedatangan per
periode
e = 2.71828
!
) (
x
e
x P
x


=
Eksponential Probability
=jumlah unit yang di layani per
periode
e = 2.71828
t
e t time service P

= s 1 ) (
Structure of a Waiting Line
System
Queue Discipline
Most common queue discipline is
first come, first served (FCFS).
An elevator is an example of last
come, first served (LCFS) queue
discipline.
Other disciplines assign priorities
to the waiting units and then serve
the unit with the highest priority
first.


Structure of a Waiting Line
System
S
1
S
1
S
2
S
3
Customer
leaves
Customer
leaves
Customer
arrives
Customer
arrives
Waiting line
Waiting line
System
System
Queuing Systems
A three part code of the form A/B/k is used to
describe various queuing systems.
A identifies the arrival distribution, B the service
(departure) distribution and k the number of
channels for the system.
Symbols used for the arrival and service
processes are: M - Markov distributions
(Poisson/exponential), D - Deterministic
(constant) and G - General distribution (with a
known mean and variance).
For example, M/M/k refers to a system in which
arrivals occur according to a Poisson distribution,
service times follow an exponential distribution
and there are k (sometimes others say s) servers
working at identical service rates.
Queuing System Input
Characteristics
= the average arrival rate
1/ = the average time between
arrivals
= the average service rate
for each server
1/ = the average service time
o = the standard deviation of
the service time
Analytical Formulas
For nearly all queuing
systems, there is a
relationship between the
average time a unit spends in
the system or queue and the
average number of units in the
system or queue.
These relationships, known as
Little's flow equations are:
L = W and L
q
= W
q

Analytical Formulas
When the queue discipline is FCFS,
analytical formulas have been derived for
several different queuing models including
the following:
M/M/1
M/M/k
M/G/1
M/G/k with blocked customers cleared
M/M/1 with a finite calling population
Analytical formulas are not available for all
possible queuing systems. In this event,
insights may be gained through a
simulation of the system.
M/M/1
Ls = average number of units in
the system (waiting and being
served)
Ws = average time a unit spends
in the system
Lq = average number of units
waiting in the queue
Wq = Average time a unit
spends waiting in the queue
Utilization factor for the system
Probability of 0 units in the
system
Probability of more than k units
in the system, where n is the
number of units in the system
( )
( )
1
0
2
1
1
+
>
|
|
.
|

\
|
=
=
=

=
k
k n
q
q
s
s
P
P
W
L
W
L








M/M/k Queuing System
Multiple channels (with one central waiting
line)
Poisson arrival-rate distribution
Exponential service-time distribution
Unlimited maximum queue length
Infinite calling population
Examples:
Four-teller transaction counter in bank
Two-clerk returns counter in retail store
M/M/S
Ls = average number of units
in the system (waiting and
being served)
Ws = average time a unit
spends in the system
Lq = average number of units
waiting in the queue
Wq = Average time a unit
spends waiting in the queue
Probability of 0 units in the
system
( ) ( )
( ) ( )

q
s q
s q
s
M
s
m
M
n
n
M
s
L
W W
L L
L
P
M M
W
f orM
M
M
M n
P
p
M M
L
= =
=
= +

|
.
|

\
|
=
>

|
|
.
|

\
|
+
(
(

|
|
.
|

\
|
=
+

|
.
|

\
|
=

=
1
1
! 1
!
1
!
1
1
! 1
0 2
1
0
0
0 2

Das könnte Ihnen auch gefallen