Sub topic 2
Mapping a value stream and measuring flow efficiency
This chapter assumes you know how a workflow turns inputs into outputs, and that you are comfortable with ratios and simple arithmetic.
Mapping a value stream and measuring flow efficiency
A value stream map is a diagram of every step a product or order passes through, with the time spent working and the time spent waiting recorded at each step. Flow efficiency is the share of total lead time that is spent on value-adding work:
flow efficiency = value-added time / total lead time
The following script computes it for a four-step order process.
# Each step: (name, value-added hours, waiting hours before the next step)
steps = [
("Order entry", 0.5, 8),
("Assembly", 2, 24),
("Inspection", 0.5, 16),
("Shipping", 1, 7.5),
]
value_added = sum(v for _, v, _ in steps) # 4.0 hours
waiting = sum(w for _, _, w in steps) # 55.5 hours
lead_time = value_added + waiting # 59.5 hours
flow_efficiency = value_added / lead_time
print(f"Lead time: {lead_time} h, flow efficiency: {flow_efficiency:.1%}")
# Lead time: 59.5 h, flow efficiency: 6.7%Principle 3: Make work flow
Flow means that work moves from one step to the next without stopping. Waiting is the largest source of delay in most processes, so the goal is to shorten the queues between steps.
Why batches and work in progress slow flow
Work in progress (WIP) is the number of items started but not finished. Large batches make WIP grow, because each item in a batch waits until the whole batch is done. Small batches move through each step sooner and expose problems earlier.
> Note: the diagram format does not permit block quotes, so the callout below is used instead.
Little's Law: linking WIP, throughput, and cycle time
Little's Law states that average cycle time equals average WIP divided by throughput. Throughput is the number of items finished per unit of time, and cycle time is the average time an item takes from start to finish.
def avg_cycle_time(wip, throughput_per_day):
"""Little's Law: average cycle time = WIP / throughput."""
return wip / throughput_per_day
print(avg_cycle_time(30, 5)) # 6.0 days with 30 items in progress
print(avg_cycle_time(10, 5)) # 2.0 days after limiting WIP to 10Principle 4: Let the customer pull
In a pull system, work starts only when downstream capacity is free. A kanban board is a common way to do this. A WIP limit caps how many items a step may hold, so the team finishes work before it starts more.
WIP_LIMIT = 3
def can_pull_new_work(in_progress):
"""A team pulls a new item only when it is below its WIP limit."""
return in_progress < WIP_LIMIT
print(can_pull_new_work(2)) # True: capacity is free, so pull the next item
print(can_pull_new_work(3)) # False: finish something before starting moreExercise
A task takes 1 hour of work and waits 9 hours in total across its steps. What is its flow efficiency?
Show answer
Flow efficiency = 1 / (1 + 9) = 0.10, or 10%.