little's law and predictability - daniel vacanti - agile israel 2014

31
Little’s Law and Predictability Daniel S. Vacanti Corporate Kanban [email protected] @danvacanti

Upload: agileisrael

Post on 02-Jul-2015

1.049 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Little’s Law and

PredictabilityDaniel S. Vacanti

Corporate Kanban

[email protected]

@danvacanti

Page 2: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

A predictable process is one that

behaves the way it is expected to

Predictability is the degree to

which we can correctly forecast a

system’s (process’) future state

Page 3: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Queuing System:

items in queue &

items in service

Arrivals Departures

Page 4: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Queuing System:

items in queue &

items in service

Arrivals

Page 5: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Queuing System:

items in queue &

items in service

Arrivals

λ

L

W

Page 6: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Little’s Law and Arrivals

L = λ W

Average number of

items in a system

Average wait time in

the system for an item

Average arrival rate

Page 7: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Great for:

• Quick “back of the envelope” calculations

• Situations where you have two of the

statistics but measuring the third is

difficult or costly

Page 8: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

LL and Arrivals Assumptions

L = λ WAssumptions:

• Stable system (stationary processes)

• Long Running Averages

• Consistent Units

Page 9: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

LL and Quick Calculations

L = λ WEXAMPLE

Page 10: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

25 weeks2/week *50 bottles

LL and Quick Calculations

L = λ WEXAMPLE

Page 11: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

What if we wanted our bottles of

wine to be in the rack longer?

Or for less time?

Page 12: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

λTH WCTWIP

But wait…

L = *

Page 13: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

CTTHWIP

For departures

Avg work in progress

in a system

Avg cycle time in the

system for an item

Average throughput

(departure rate)

= *

Page 14: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

CTWIP =TH *

Maybe this is more familiar?

Page 15: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Queuing System:

items in queue &

items in service

Arrivals Departures

Page 16: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Queuing System:

items in queue &

items in service

Departures

TH

WIP

CT

Page 17: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

LITTLE’S LAW ASSUMPTIONS

Page 18: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

From which perspective?

Stated in Departures vs. Arrivals?

Looking backward or forward?

Avg Cycle Time =Avg Work In Progress

Avg Throughput

Page 19: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Departures

and

Continuous WIP

Page 20: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

#1 -- Consistent Units

Page 21: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Conservation of Flow

For the time period that the calculation

is performed:

#2 -- All work that is started must flow

through to completion and exit the

system

#3 -- Average arrival rate must equal

average departure rate

Page 22: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Time

Cu

mu

lative

Qu

an

tity

WIP

Approx Avg Cycle Time

Cycle Time =Work in Progress

Throughput

Conservation of Flow in Little’s Law

Page 23: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Time

Cu

mu

lative

Qu

an

tity

WIP

Aprx Avg CT

Conservation of Flow in Little’s Law

Page 24: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Stable System?

Page 25: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Stability Part I: Consistent Total WIP

#4 -- The average total Work in

Progress must be roughly

equal at the beginning and at

the end of the time interval for

the Little’s Law calculation

Page 26: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Stability Part II: Average Age of WIP

#5 -- The average age of WIP

should neither be increasing or

decreasing

Page 27: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Examples of Violations of #5:

• Blocked Items

• Items that are allowed to age arbitrarily

• Expedited Items

Page 28: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

Little’s Law Defined

Assuming for the time interval of calculation:

1. All measurement units are consistent

2. Average arrival rate = average departure rate

3. All work that enters the system flows through to

completion and exits

4. The average age of WIP is neither increasing

nor decreasing

5. The total amount of WIP is roughly the same at

the beginning and at the end

Avg Cycle Time =Avg WIP

Avg Throughput

Page 29: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

So What??

Page 30: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

So What??

• The power of Little’s Law is in understanding the assumptions behind what makes it work

• Let the assumptions behind Little’s Law guide your process policies

• By using these policies,

you will be on your way

to predictability

Page 31: Little's law and predictability - Daniel Vacanti - Agile Israel 2014

THANK-YOU!

Daniel S. Vacanti

http://www.corporatekanban.com

[email protected]

@danvacanti