Professional Documents
Culture Documents
k=1
W
k
(whenever L(0) = L(T) = 0) .
Dene
L =
1
T
_
T
0
L(t)dt
W =
1
A(T)
A(T)
k=1
W
k
=
A(T)
T
_
_
=L = W
Examples
1. Management Strategy and Control: Only two out of the three , L, W deter-
mine a strategy; the third is implicitly determined.
Scenario: = demand (projected), W = goal (set), L = means of monitoring W.
2. Inventory Management
L = average inventory;
W = average time in inventory;
= average throughput rate.
The quantity 1/W = /L is often referred to as the turnover ratio.
Scenario: A fast food restaurant processes on the average 5000 lbs. of hamburger
per week. The observed inventory level of raw meat, over a long period of time,
averages 2500 lbs.
Data:
L = 2500 lbs., = 5000 lbs./week;
W = L/ = 2500/5000 = 1/2 week is the average time spent by a pound of meat
in inventory; 1/W = 2 times per week is the inventory turnover ratio.
3. Services Management
L = average number of customers;
W = average customers delay;
= average customers throughput rate.
Scenario:
3.1 A restaurant processes on average 1500 customers per day (=15 hours). On
average, there are 50 customers waiting to place an order, waiting for an order to
arrive or eating.
9
= 1500 customers/day = 100 customers/hour;
L = 50 customers;
W = L/ = 50/100 = 1/2 hours, average time in the restaurant.
3.2 Out of the 50 customers, 40 customers on the average are eating.
= 100, L = 50 40 = 10 customers at the service counter;
W = L/ = 10/100 hours = 6 minutes average wait at the counter.
4. Workforce Management: A certain Japanese company has 36,000 employees,
20% of whom are women. The average term of employment for a woman is 37
months, whereas for men it is 200 months. Assume that the total employment level
and the mix of men and women are stable over time.
L
w
= average number of women in system = 36, 000 0.2 = 7, 200 women.
w
=
7200
37
= 194.6 women/month is the average number of new women employees
hired per month.
L
m
= 36, 000 0.8 = 28, 800 men,
m
=
28,800
200
= 144 men/month.
Thus, the company hires an average of 194.6 + 144 = 338.6 new employees per
month, or equivalently, 338.6 12 = 4063.2 new employees per year.
4063.2
36, 000
= 0.1128 100% = 11.28% labor turnover during a year
= 2.82% turnover during a 3-month period
(compared with 40% at fast food, for example,
and about 100% in many Call Centers).
5. Littles Law in Transportation Science
5.1 Cars ow through a highway. We wish to relate the 3 quantities: Highway
Density, Flow Rate, Car Velocity.
System = 1 km of highway
L = avg. number of cars in system (1 km) = Density
= Flow, in avg. number of cars per hour (in = out = through)
W = avg. time to travel 1 km, say in hours
1
W
= Velocity, in km/hr; denote it V .
By Littles Law:
Density =
Flow
Velocity
10
5.2 Cars ow over a single-loop detector, that can measure Occupancy = % time
there is a car above the detector;
Flow = avg. # cars per hour.
System = Detector
L = Occupancy (E [Indicator])
= Flow
W =
V
time to traverse one detector
where V = Velocity, = av. car length.
By Littles Law:
Occupancy =
Flow car-length
Velocity
100%
Note: Occupancy = Density car-length.
5.3 Empirically, transportation ow reveals the following ow vs. occupancy
relation (ow vs. density would look the same):
From Causes and Cures of Highway Congestion,
Chao Chen, Zhanfeng Jia and Pravin Varaiya, 2001
Speed = 60 mph
Maximum
Flow
Free Flow,
100 %
Efficiency
Congestion,
Inefficient
Operation
Depth of
Congestion
Critical
Occupancy Level
5:30 am
6:45 am
9:00 am
.
Figure 6: Flow vs. occupancy on a section at postmile 37.18 on I-10W, midnight to noon
on October 3, 2000.
11
11
From The freeway congestion paradox,
Chao Chen and Pravin Varaiya, 2001.
6:10
12:00
11:00
7:00
6:00
5:30
5:25
5:10
4:00
Figure 1 Congestion begins at 5:20 am. By 7:00 am, both speed and flow
have dropped dramatically.
From Causes and Cures of Highway Congestion,
Chao Chen, Zhanfeng Jia and Pravin Varaiya, 2001
Occupancy (%)
F
l
o
w
(
V
P
H
)
Maximum
Flow
Congestion Free Flow
60 mph
Depth of
Congestion
Recovery Phase
Critical Occupancy
Level
Figure 7: Model of congestion. If occupancy is maintained below critical level, section
operates at 100 % efciency and speed is at 60 mph.
a dynamic model that exhibits such transitions. Measurements of the recovery phase show
erratic uctuations as in Fig. 6. The model in turn supports the following hypothesis about
trafc behavior:
If a metering policy keeps occupancy below its critical level in every section,
efciency will be 100 %, speed will be maintained at 60 mph, and highway
congestion will be prevented. A consequence of the metering is that vehicles
will be stopped at the ramps for some time.
We call this the ideal ramp metering (IMP) principle. The IMP feedback strategy is to
monitor the occupancy downstream of each on-ramp and to throttle the ow from the on-
ramp whenever the occupancy exceeds its critical value. For a control-theoretic discussion
of this policy, see [6].
The gures in Table 1 are computed as follows. For each highway section we calculate
the critical occupancy level from PeMS data, as in Fig. 6. We assume that the pattern of
demand is unchanged. We now simulate the trafc ow using the model of Fig. 7 and
the IMP feedback strategy. In the simulation, vehicles will be held back at some ramps.
We calculate the total time spent by the vehicles at the ramps. The ramp delay is 124,000
vehicle-hours. There is a net savings of 280,000 vehicle-hours.
12
12
The critical occupancy is the occupancy-level beyond which congestion starts
building up.
Note: For each point on the curve, the slope of the line connecting it with the
origin is proportional (equal) to the velocity; indeed:
Flow
Occupancy
=
Velocity
Car-lenght
;
Flow
Density
= Velocity
This explains the (almost) straight line to the left of the critical occupancy: its slope
is the congestion-free velocity (60 miles/hr in California highways).
Note: with a single-loop detector covering N lanes, and assuming that trac is
evenly divided among the lanes (though typically this is not the case), the Occu-
pancy should be calculated by using Flow/N, instead of merely Flow.
6. Abandonment: Calls arrive at a call center at rate . A fraction P
ab
of them
abandons due to impatience. Individual abandonment rate is .
Let L
q
, W
q
denote, respectively, the average number of customers waiting to be
served, and the average queueing time (waiting for service). Then
P
ab
= L
q
.
But L
q
= W
q
, hence
P
ab
= W
q
.
Thus, the abandonment rate is proportional to the average waiting time. This has
been conrmed empirically for new (potential) customers. Indeed, (P
ab
, W
q
) were
observed and scatterplotted. The slope (via regression) can be used to estimate
customers (average) patience.
13
The data is from a bank call center. Each point corresponds to a 15-minute period of
a day (Sunday to Thursday), starting at 7:00am, ending at midnight, and averaged
over the whole year of 1999.
Why a positive y-intercept?
What about experienced customers?
7. Loan Application Flow from Managing Business Process Flows, by R.Anupindi,
S.Chopra, S.Deshmukh, J.Van Mieghem, E.Zemel, Chapter 3. (In Recitation.)
8. Process Flow: A supermarket receives from suppliers 300 tons of sh over the
course of a full year, which averages out to 25 tons per month. The average quantity
of sh held in freezer storage is 16.5 tons.
On average, how long does a ton of sh remain in freezer storage between the time
it is received and the time it is sent to the sales department?
W = L/ = 16.5/25 = 0.66 months, on average, is the period that a ton of sh
spends in the freezer.
How does one get L = 16.5? This comes out of the following inventory build-up
diagram by calculating the area below the graph:
Inventory/Queue Build-up Diagram.
Thus, the company hires an average of 194.6 + 144 = 338.6 new employees per
month, or equivalently, 338.6 12 = 4063.2 new employees per year.
4063.2
36, 000
= 0.1128 100% = 11.28% labor turnover during a year
= 2.82% turnover during a 3-month period
(compared with 40% at fast food, for example
and about 100% in many Call Centers).
10. Process Flow: A supermarket receives from suppliers 300 tons of sh over the
course of a full year, which averages out to 25 tons per month. The average quantity
of sh held in freezer storage is 16.5 tons.
On average, how long does a ton of sh remain in freezer storage between the time
it is received and the time it is sent to the sales department?
W = L/ = 16.5/25 = 0.66 months, on average, is the period that a ton of sh
spends in the freezer.
How does one get L = 16.5? This comes out of the following inventory build-up
diagram by calculating the area below the graph:
Inventory/Queue Build-up Diagram.
0
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
0 1 2 3 4 5 6 7 8 9 10 11 12
time (months)
i
n
v
e
n
t
o
r
y
L
(
t
)
17
4
12
+ 24
4
12
+ 12
2
12
+ 5
2
12
= 16.5
7
17
4
12
+ 24
4
12
+ 12
2
12
+ 5
2
12
=
17
3
+ 8 + 2 +
5
6
= 16.5.
14
9. Shop Flow Control: JIT (Just-In-Time) principles advocate limiting the number
of active jobs (those that have been released to the shop oor).
Scenario: A job shop with L
old
= 300 active jobs, W
old
= 20 weeks,
old
= 15
jobs/week.
Management familiar with Littles law and JIT principles imposes L
hope
150 active
jobs, in anticipation of
hope
= 15 jobs/week, W
hope
=
L
hope
hope
10 weeks.
It turns out, however, that
L
actual
150, W
actual
= 20 weeks,
actual
=
L
actual
W
actual
7.5 jobs/week.
What is lacking? Congestion curves (Strategic Q-theory): later.
10. Assembly Lines
L = average WIP;
W = average production time of a unit;
= average production rate.
The quantity
1
,
where (S, ) are known, is measured, hence and determine each other. One
could also use this to determine an appropriate S, given service level.
16
15. Littles Law in the Production of Justice.
5 Judges process 3 types of les.
System = drawer of a Judge.
Judges: Performance Analysis (, W)
3
0
01
3
0
01
01
0
3
01
3
0
0
3
01
0
1
2
3
4
5
6
7
8
9
10
0 5 10 15 20 25 30
(6.2, 7.4) (13.5, 7.4)
(26.3, 4.5)
(12, 4.9)
(7.2, 4.6)
.
.
.
.
.
Judges: Performance Analysis
Case Type 0 Judge1
Case Type 01 Judge2
Case Type 3 Judge3
Judge4
Judge5
A
v
g
.
M
o
n
t
h
s
-
W
Avg. Cases / Month -
Judges: Performance Analysis (L)
(6.2, 7.4) (13.5, 7.4)
(26.3, 4.5)
(12, 4.9)
(7.2, 4.6)
3
0
01
3
0
01
01
0
3
01
3
0
0
3
01
0
1
2
3
4
5
6
7
8
9
10
0 5 10 15 20 25 30
.
.
.
.
.
45 100
118
59
33
Judges: Performance Analysis
Case Type 0 Judge1
Case Type 01 Judge2
Case Type 3 Judge3
Judge4
Judge5
A
v
g
.
M
o
n
t
h
s
-
W
Avg. Cases / Month -
17
Littles Formula. Deterministic Model.
Innite Horizon (Stidhams formulation)
Averages: L = W
L = number of units in the system;
= throughput rate;
W = sojourn time.
Rigorous formulation
The system is characterized by {(A
n
, D
n
), n 1}, where
A
n
time of the nth arrival.
D
n
departure-time of the nth arrival.
0 A
n
A
n+1
A
n
D
n
< .
Dene:
A(t) = number of arrivals until t;
D(t) = number of departures until t;
L(t) = number of units such that A
n
t < D
n
, i.e., number of units in the system;
W
n
= D
n
A
n
, sojourn time of the nth unit in the system.
Theorem. Assume that
= lim
t
1
t
A(t) = lim
t
1
t
D(t), 0 < < .
Then
lim
N
1
N
N
n=1
W
n
= W exists lim
T
1
T
_
T
0
L(t)dt = L exists,
in which case L = W.
18
Extension (Brumelle)
Associate with every n a corresponding function f
n
(t), t [A
n
, D
n
].
Assume that f
n
(t) = 0, if t [A
n
, D
n
].
Interpret f
n
(t) as income-rate at time t (average income per unit of time).
Dene
G
N
=
1
N
N
n=1
_
0
f
n
(t)dt (average income per customer);
H
T
=
1
T
_
T
0
n=1
f
n
(t)dt (average income per time unit).
Then,
lim
N
G
N
= G exists lim
T
H
T
= H exists,
in which case
H = G
19
Stochastic example: M/M/1
Model
Birth-and-death process, birth rate , death rate .
Assumption
=
k
= (1 )
k
, k = 0, 1, 2, . . . (geometric distribution).
L =
k=0
k
k
=
1
=
.
Little: W =
1
L =
1
=
1
1
1
.
Check out:
W = (PASTA) =
k=0
E[sojourn time/k customers in system]
k
= (memoryless property) =
k=0
_
k
+
1
k
=
1
+
1
L = =
1
1
1
.
System = queue: L
q
= W
q
, W
q
= W
1
=
1
1
.
L
q
queue-length,
W
q
waiting-time.
System = server:
L =
1
,
L = = probability that the system is not empty (customer waits)
= proportion of time when the server is busy (trac intensity).
20
Stochastic Model (`a la Serfozo
1
)
{(A
n
, D
n
), n 1} random variables; limits are a.s. (with probability 1)
e.g. = lim
t
1
t
A(t) a.s. ;
1
T
_
T
0
L(t)dt L a.s., as T , etc.
Periodic System (Serfozo, pg. 17)
A system is periodically empty if there exist strictly increasing random times
n
,
such that
1.
n
n+1
i.e. lim
n
n+1
n
= 1 a.s. (implied, for example, by
n
/n c).
2. For all n, there exists t [
n
,
n+1
) such that A(t) = D(t), i.e. L(t) = 0.
Theorem. If a system is periodically empty, the existence of any two positive limits out
of (L, , W) implies existence of the third, as well as the relation L = W.
Typical application:
n
starts a cycle (eg. empty system; state 7), which gives rise
to a regenerative structure (eg. Markovian).
1
Introduction To Stochastic Networks, Springer 1999, Chapter 5
21
Application of H = G : Brumelles formula (1971), in Whitt, pg. 257.
Framework: a single queue (think of G/G/1 ; G/G/S is o.k. as well).
Characteristics of customer n: A
n
arrival time;
W
n
waiting time (before service);
S
n
service time (D
n
= A
n
+W
n
+S
n
).
Let
f
n
(t) =
_
_
S
n
A
n
t < A
n
+W
n
S
n
+W
n
+A
n
t A
n
+W
n
t A
n
+W
n
+S
n
= D
n
0 otherwise.
f
n
(t) Remaining work associated with customer n:
f
n
(t) = S
n
while customer is waiting, then decreases at rate 1 while she is served.
G = lim
N
1
N
N
n=1
_
0
f
n
(t)dt = lim
1
N
N
1
_
S
n
W
n
+
1
2
S
2
n
_
= E(SW
q
) +
1
2
E(S
2
)
(assuming SLLN-behavior, which is o.k. if steady state exists).
H = lim
T
1
T
_
T
0
n=1
f
n
(t)dt = lim
1
T
_
T
0
V (t)dt = E(V )
V (t) Work load process (under FIFO in G/G/1, it is equal to virtual waiting time).
22
Brumelles Formula E(V ) =
_
E(SW
q
) +
1
2
E(S
2
)
_
If, as usually assumed in G/G/1, service times are independent of waiting times,
E(V ) =
_
E(S) E(W
q
) +
1
2
(S
2
)
_
.
If ASTA = arrivals see time averages, as in the case of Poisson arrivals, and if we have a
single-server queue with FIFO, then
V
d
= W
q
.
E(W
q
) =
_
E(S)E(W
q
) +
1
2
E(S
2
)
_
, which yields
E(W
q
) =
1
1 E(S)
1
2
E(S
2
)
=
1
1
1
2
E(S
2
) (using E(S) = )
=
1
1
2
E(S
2
)
E(S)
Khinchine Pollatcheck E(W
q
) = E(S)
1
1+C
2
S
2
_
C
2
=
2
E
2
_
Hall, Formula (5.64) (M/G/1)
Kingmans bound (G/G/1),
EW
q
ES
1
C
2
a
+C
2
S
2
- Upper bound,
Allen-Cunneen approx. - Asymptotically correct, as 1
Hall, Formula (5.70) (in Heavy Trac)
The following picture is based on call center data.
Service Level vs. Availability.
0
50
100
150
200
250
300
350
0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80 0.90 1.00
Utilization (Hourly Avg.)
A
v
e
r
a
g
e
W
a
i
t
,
s
e
c
Average Wait Trendline
23