Sub topic 10
Building the timeline: wait time, process time, and lead time
This chapter assumes you can already draw process boxes with data boxes (cycle time, changeover time, uptime) and mark inventory triangles with counts. It also assumes you have a takt time for the product family. If you do not, review those chapters first. Here you will add the timeline strip along the bottom of the map and use it to get lead time and process time.
What the timeline is
The timeline is a stepped line under the process boxes. It has two kinds of segments:
- Wait time is the time a unit sits in an inventory queue before the next step starts on it. Draw it on the upper (raised) level of the line.
- Process time is the time a unit spends being worked on in a step. Draw it on the lower level, under the process box.
Add all the upper-level segments to get total wait time. Add all the lower-level segments to get total process time. Their sum is the lead time: how long one unit takes to travel from the start of the map to the end.
The timeline answers one question the data boxes cannot: how much of the elapsed time is spent actually working on the product? In most current-state maps the answer is a tiny fraction.
Turning inventory into wait time
You do not time a unit through the queue with a stopwatch. You convert the inventory count into time using demand:
wait time = units in the queue / daily demand
This gives working days. It is the time the last unit in the queue waits, assuming the step ahead of it consumes units at the customer's rate. Use the same demand figure you used for takt time. Otherwise the timeline and the takt calculation describe two different businesses.
Examples with demand of 450 units per day:
| Queue | Units | Wait time |
|---|---|---|
| Before stamping | 4500 | 10 days |
| Before welding | 1350 | 3 days |
| Before assembly | 900 | 2 days |
| Before shipping | 450 | 1 day |
The table's wait times are in days, but process times are in seconds. Convert one into the other before you add them. For this map, one working day is 27,000 seconds (7.5 hours). Keep that conversion constant in one place.
Process time
Process time for a step is normally the cycle time from its data box: the time between one unit leaving the step and the next one leaving. Three rules keep the number honest:
- Use time per unit, not time per batch, unless the whole batch moves together and no unit can leave early. If a batch of 100 must finish before any unit moves on, the unit's time in the step is the batch time.
- Use the cycle time that a unit experiences, not the labor hours. A cell with three operators that outputs one unit every 46 seconds has a cycle time of 46 seconds, not 138.
- Do not include changeover time in the cycle time. Record it separately in the data box. Its effect shows up indirectly, because long changeovers push people to build large batches, and large batches build the queues that show up as wait time.
Process time is not the same as value-added time. A step may include inspection, rework loops, or walking. Process time counts all the time the unit is in the step. Classifying that time into value-added and non-value-added is a separate exercise, covered where you read the map.
Computing the totals
Total lead time is the sum of every wait segment and every process segment on the path a unit takes:
lead time = total wait time + total process time
The following script computes the takt time, timeline totals, and process cycle efficiency (PCE, the ratio of process time to lead time) from the map data. It also flags any step slower than takt.
AVAILABLE_SECONDS_PER_DAY = 27000 # 7.5 working hours
DAILY_DEMAND = 450 # customer demand, units per day
takt_s = AVAILABLE_SECONDS_PER_DAY / DAILY_DEMAND # 60.0 seconds per unit
# queue_units is the inventory waiting in front of each step
steps = [
{"name": "Stamping", "cycle_s": 1, "queue_units": 4500},
{"name": "Welding", "cycle_s": 39, "queue_units": 1350},
{"name": "Assembly", "cycle_s": 46, "queue_units": 900},
{"name": "Shipping", "cycle_s": 62, "queue_units": 450},
]
# Wait time in working days = queue / daily demand
for s in steps:
s["wait_days"] = s["queue_units"] / DAILY_DEMAND
total_wait_s = sum(s["wait_days"] for s in steps) * AVAILABLE_SECONDS_PER_DAY
total_process_s = sum(s["cycle_s"] for s in steps)
lead_time_s = total_wait_s + total_process_s
pce = total_process_s / lead_time_s
print(f"Takt time: {takt_s:.0f} s")
print(f"Lead time: {lead_time_s / AVAILABLE_SECONDS_PER_DAY:.2f} working days")
print(f"Process time: {total_process_s} s")
print(f"Process cycle efficiency: {pce:.4%}")
for s in steps:
if s["cycle_s"] > takt_s:
print(f"{s['name']} cycle time exceeds takt time")Running it prints:
Takt time: 60 s
Lead time: 16.01 working days
Process time: 148 s
Process cycle efficiency: 0.0342%
Shipping cycle time exceeds takt timeRead the result in this order:
- Total wait is 10 + 3 + 2 + 1 = 16 working days, or 432,000 seconds.
- Total process time is 1 + 39 + 46 + 62 = 148 seconds.
- Lead time is 432,148 seconds, which is 16.01 working days. The 148 seconds of work barely moves the total.
- PCE is 148 / 432,148, about 0.034%. A unit is being worked on for roughly 3 seconds out of every 10,000.
- Shipping takes 62 seconds against a takt of 60. It cannot keep up with demand even though the other steps can.
Write the totals on the right end of the timeline, for example "Lead time = 16.0 days, Process time = 148 s".
Cross-checking with total inventory
You can check the timeline without redoing the arithmetic. Add up all inventory triangles on the map and divide by daily demand. Here that is 4500 + 1350 + 900 + 450 = 7200 units, and 7200 / 450 = 16 days. This matches the timeline. The next chapter explains why this works (Little's Law) and how to use it when the numbers disagree.
def littles_law_lead_time(wip_units: float, throughput_per_day: float) -> float:
"""Average lead time in days = work in process / throughput."""
return wip_units / throughput_per_day
# 7200 units in the whole stream, 450 units shipped per day
print(littles_law_lead_time(7200, 450)) # 16.0 daysEdge cases that change the arithmetic
The simple sum works for a single line of steps. Real maps need some adjustments.
Parallel paths
If a family splits into two parallel branches that rejoin, for example a sub-assembly built while the main body is welded, a unit's lead time is set by the longer branch. Add the segments along the longest path only. Do not add both branches.
Different units in different queues
Queues are often counted in coils, pallets, kilograms, or tickets. Convert each to units of the finished product before dividing by demand. A queue of 10 coils that each make 90 parts is 900 parts, not 10.
Calendar days versus working days
Dividing by daily demand gives working days. If the plant runs five days a week, a 16 working-day lead time is about 22 calendar days. State which one you are using on the map. Customers experience calendar days.
Inventory that varies
A queue count is a snapshot. If the stamping queue is 4500 on Monday and 2000 on Friday, one count misleads. Count at different times or ask the scheduler for the typical level, and write the typical one on the map. Record the range in your notes.
Rework and scrap
A step with 90% first-pass yield sends 10% of units back through, either to the same step or to an earlier one. Show rework as its own flow. For an average-unit timeline, the simplest honest approach is to note the yield in the data box and avoid folding it into cycle time. Hidden rework understates both process time and lead time.
Demand versus actual output
Dividing a queue by demand assumes the next step will drain it at the customer's rate. If the real daily output is lower, as with Shipping above, the queue actually takes longer to clear. Use actual throughput if the two figures differ materially. Note the choice on the map.
Checking your timeline
Before you move on, test the timeline against these questions:
- Does every inventory triangle on the map have a matching wait segment?
- Are all segments in the same unit?
- Does lead time agree with total inventory divided by demand, within rounding?
- Is PCE the ratio of process time to lead time, not of value-added time?
- Have you noted whether the days are working days or calendar days?
Exercise
A map has demand of 200 units per day and 8 working hours (28,800 s) per day. The queues are 1000, 600, and 400 units, and the three steps have cycle times of 30 s, 45 s, and 25 s. What are the total wait time in working days, the total process time, the lead time in seconds, and the PCE to two decimal places as a percentage?
Show answer
Total wait = (1000 + 600 + 400) / 200 = 10 working days = 10 × 28,800 = 288,000 s. Total process time = 30 + 45 + 25 = 100 s. Lead time = 288,000 + 100 = 288,100 s (about 10.003 working days). PCE = 100 / 288,100 = 0.0347%, which rounds to 0.03%. Takt time is 28,800 / 200 = 144 s, so no step exceeds takt.
Exercise
A map shows 7200 units of inventory in total and a shipping rate of 450 units per day, but the timeline sums to 12 working days. Name two likely causes of the mismatch.
Show answer
Little's Law predicts 7200 / 450 = 16 days, so the timeline is 4 days short. Likely causes are a queue omitted from the timeline or entered with the wrong count, a unit conversion error such as counting pallets as pieces, or wait times calculated using a higher demand figure than the actual shipping rate. Recheck each queue count and the demand figure used.