Twinworks Line Balancing

Assign assembly tasks to stations for a takt time: efficiency, balance delay and smoothness index.

Tasks (required)
Tasks
#Task idDescriptionTime (s)Predecessors (comma-separated ids)
1
2
3
4
5
6
7
8
More options
s

Leave empty to compute it from available time ÷ demand.

min

Per period, e.g. 450 min per shift.

units

Try an example: ·

More about this tool

Part of Twinworks

How it works

Solves the simple assembly line balancing problem (type 1) with the Ranked Positional Weight (Helgeson–Birnie) and Largest Candidate rules: tasks with times and precedence relations are assigned to as few stations as possible without exceeding the takt time. Returns the station assignment, line efficiency, balance delay, smoothness index and a ready-to-simulate Twinworks model of the balanced line.

  • Takt time = available production time ÷ demand (or as given). Theoretical minimum stations = ⌈Σ task times ÷ takt⌉.
  • RPW: positional weight = own time + times of all direct and indirect successors; LCR: task time. Stations are filled one by one with the highest-priority task whose predecessors are all assigned and that still fits into the remaining takt time.
  • Efficiency = Σ task times ÷ (stations × takt); balance delay = 1 − efficiency; smoothness index = √Σ(max station time − station time)².
  • The result includes a Twinworks model (one constant-time machine per station, single-place buffers) so the balance can be simulated or opened in the app.

Heuristics give good but not always optimal balances. Zoning constraints, operator skills and task variability are not considered.

Sources

  • Helgeson, W. B. & Birnie, D. P.: Assembly line balancing using the ranked positional weight technique (Journal of Industrial Engineering 12, 1961)
  • Groover, M. P.: Automation, Production Systems and Computer-Integrated Manufacturing, ch. “Manual assembly lines” (Pearson) (Pearson)
  • Scholl, A.: Balancing and Sequencing of Assembly Lines (Physica, 1999) (Physica-Verlag)

Part of Twinworks

  • Twinworks Factory digital twin & production simulation

    Model a production line, simulate it and find the bottleneck — free.

    Open Twinworks

Related tools

How to use the Twinworks Line Balancing tool

Assign assembly tasks with precedence to as few stations as possible within the takt time, and read efficiency, balance delay and smoothness for the result.

What it is for

You have a list of manual assembly tasks, some of which must happen before others, and a demand to meet per shift. How many workstations do you need, and which tasks go where? That's the simple assembly line balancing problem (type 1): as few stations as possible, none exceeding the takt time.

Enter the tasks with their times in seconds and their predecessors, then either a takt time or the available production time and demand, from which the tool calculates the takt. It balances the line with two classic heuristics, Ranked Positional Weight (Helgeson–Birnie) and Largest Candidate Rule, and with best it keeps whichever is better. You get the station assignment, efficiency, balance delay, smoothness index and a ready-made Twinworks model (one constant-time machine per station with single-place buffers) that you can simulate or open in the app.

The heuristics give good but not always optimal balances. They don't consider zoning rules, operator skills or the variability of manual task times.

Worked example

The built-in example is a wheelbarrow-style assembly with 8 tasks: A fit frame 60 s, B mount axle 40 s (after A), C fit wheel 55 s (after B), D attach tray 50 s (after A), E fit legs 30 s (after D), F attach handles 45 s (after D), G grips 20 s (after F) and H final check 35 s (after C, E and G). Available time is 450 minutes per shift and demand is 270 units.

4 stations for a takt time of 100 s (theoretical minimum 4), efficiency 83.8%, smoothness index 47.7 s.

The takt is 450 × 60 ÷ 270 = 100 s. Total work is 335 s, so at least ⌈3.35⌉ = 4 stations are needed, and the tool hit that minimum:

Worked example
StationTasksTimeIdle
1A, B100 s0 s
2D, F95 s5 s
3C, E85 s15 s
4G, H55 s45 s

Efficiency is 335 ÷ (4 × 100) = 83.75 %. The line can produce 36 units per hour, exactly the demand rate. Station 1 has no slack at all, so any hiccup there costs output directly. Station 4 is idle almost half the time, room for a support task such as kitting.

How to read the result

  • Takt time: the pace demand requires. No station may exceed it.
  • Theoretical minimum: total work ÷ takt, rounded up. If the station count equals it, you can't do better on count.
  • Efficiency / balance delay: share of paid station time that is used, and its complement.
  • Smoothness index: how unevenly work is spread. Lower is better; 0 means all stations are equally loaded.
  • Positional weights: each task's time plus all its successors (A = 335 s here). High weights are placed first.
  • Alternative: the other heuristic's station count and efficiency, for comparison.

Tips and common mistakes

  • Write predecessors as a comma-separated list of task ids, for example C,E,G. Only direct predecessors are needed.
  • A station at 100 % of takt has no room for variation. In practice, aim a few percent below takt, or simulate the generated model with variable times.
  • If any single task is longer than the takt, no balance is possible. Split the task or run parallel stations.
  • Rebalance when demand changes; a shorter takt can need more stations.

FAQ

What's the difference between RPW and LCR?

RPW prioritises tasks with the most work after them. LCR simply takes the longest task that fits. Both fill one station at a time.

Can I enter a takt time directly?

Yes. If you fill in a takt time, it's used and the available time and demand are ignored.

Does it find the optimal balance?

Not guaranteed. But when the station count equals the theoretical minimum, as here, no balance can use fewer stations.

What can I do with the generated model?

Run it in the Twinworks Factory Simulation or open it in the app to add variable task times and see whether the line really holds the takt.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://twinworkslinebalance.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://twinworkslinebalance.usefulweb.site/mcp · tool name twinworks_line_balance
Example request
curl -s -X POST https://twinworkslinebalance.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"tasks":[{"id":"A","name":"Fit frame","time":60,"predecessors":""},{"id":"B","name":"Mount axle","time":40,"predecessors":"A"},{"id":"C","name":"Fit wheel","time":55,"predecessors":"B"},{"id":"D","name":"Attach tray","time":50,"predecessors":"A"},{"id":"E","name":"Fit legs","time":30,"predecessors":"D"},{"id":"F","name":"Attach handles","time":45,"predecessors":"D"},{"id":"G","name":"Grips","time":20,"predecessors":"F"},{"id":"H","name":"Final check","time":35,"predecessors":"C,E,G"}],"availableMinutes":450,"demand":270,"method":"best"}'
Feedback · ideas & bug reports welcome