Manufacturing Flow Optimization Through WIP Release Control
A simulation study using Particle Swarm Optimization on a model aluminum plant
Abstract
This simulation study evaluates the effect of automatically controlling two variables in a model aluminum plant with 6 machines and 3 products: (1) when each order is released into the production flow, and (2) the maximum inventory level allowed before each workstation (buffer target). Using Particle Swarm Optimization (PSO), 10,500 possible production plans were evaluated under realistic conditions including setup times between products, random breakdowns with a 3% daily probability, and ±20% variability in process times. The results show significant improvements in both work-in-process reduction and net profit compared with reactive (FIFO) and deterministic (EDD) strategies. The study confirms that the most powerful lever in flow management is not machine speed but discipline in releasing material.
This publication includes an interactive simulator where you can explore the results and reproduce the study's scenarios.
I. Introduction
In an aluminum manufacturing plant, production flow management directly determines operational profitability. Every kilogram of work in process (WIP) trapped in the plant carries a financial opportunity cost that moves with the aluminum price on the London Metal Exchange (LME), and every day of delivery delay triggers contractual penalties.
Operations science, and the Factory Physics framework in particular 1, establishes that the three fundamental performance levers are inventory, time and capacity. In industrial practice, however, the decision of when to release an order to the production floor and how much material to allow to accumulate before each workstation is rarely optimized systematically.
This study uses simulation to evaluate whether automatic control of those two variables — release date and buffer target — can significantly improve a plant's financial and operational performance compared with conventional planning strategies.
II. Simulation Model
The Model Plant
We model an aluminum plant with 6 machines organized into shared manufacturing routes:
| Machine | Capacity | Setup time | Products |
|---|---|---|---|
| Casting | 10 t/day | 1.5 days | Plate, Profile, Coil |
| Rolling | 8 t/day | 1.0 day | Plate, Coil |
| Extrusion | 6 t/day | 2.0 days | Profile |
| Heat treatment | 12 t/day | 0.5 day | Plate, Profile |
| Cutting | 15 t/day | 0.3 day | Plate |
| Shipping | ∞ | — | All |
Each machine has a defined internal flow structure: input queue → processing → output buffer. That structure reflects the manufacturing node model used in the Patok software 2, where every transformation point is represented as a digital node with distinct zones.
Products
Three products are simulated, with different manufacturing routes competing for shared resources:
- Plate (6061-T6): Casting → Rolling → Heat treatment → Cutting → Shipping
- Profile (6063-T5): Casting → Extrusion → Heat treatment → Shipping
- Coil (3003-H14): Casting → Rolling → Shipping
Model Conditions
The model incorporates the following sources of variability to reflect real industrial conditions:
- Setup times: changing product on a machine (for example, a die change on extrusion) incurs a preparation time. The FIFO strategy does not group products by type; the optimizer can, by controlling release order.
- Random breakdowns: each machine has a 3% daily probability of failing, with stoppages lasting 1 to 3 days.
- Process variability: processing times carry ±20% random variation each day.
- Lateness penalty: $1,500 USD for each day an order is delivered after its committed date.
- Financial cost of WIP: an 8% annual rate on the value of work in process, computed with the daily LME price.
Horizon and Orders
A quarter of 90 days is simulated, with 35 to 45 production orders arriving stochastically. Delivery lead times run 10 to 16 days from each order's arrival, which puts heavy pressure on installed capacity.
III. Decision Variables
The study focuses on two control variables that are traditionally managed by the supervisor's intuition:
Release Offset
Defines how many days to wait between an order arriving and being released to the production floor. An offset of 0 means immediate release (the reactive strategy); a positive offset means deliberately holding the order in the backlog to avoid saturating the first workstation.
Order arrives → [Backlog / Material Bay]
│
▼ (Release date — controlled by PSO)
[Input Queue] → [Processing] → [Output Bay] → Next machine
Buffer Target
Defines the maximum level of work in process allowed before each machine. When a machine's queue reaches its buffer target, new orders are not released until there is room. It is the "tap" regulating how much material the system is allowed to accumulate.
Together, these two variables control both the when (moment of release) and the how much (absorption capacity) of the manufacturing flow.
IV. Strategies Evaluated
Scenario 1: Reactive (FIFO)
- Immediate release of every order on arrival
- No load control, no product grouping
- Processing in order of arrival (First In, First Out)
- Buffer targets at their maximum values (unconstrained)
This strategy represents an operation without formal planning: every order enters the floor as soon as material is available.
Scenario 2: Deterministic (EDD)
- Prioritization by Earliest Due Date
- Backward scheduling: the release date is computed by subtracting the estimated cycle time from the committed date
- Moderate buffer targets
- The variables are not optimized jointly
This strategy represents conventional planning based on deterministic rules.
Scenario 3: PSO (Artificial Intelligence)
- Particle Swarm Optimization with 50 particles evaluated over 70 iterations
- Each particle encodes a complete plan: release offset per order + buffer target per machine
- Objective function: maximize net profit = revenue − financial cost of WIP − lateness penalties
- Total solutions evaluated: 10,500 distinct production plans
V. Particle Swarm Optimization (PSO)
Problem Formulation
PSO treats each production plan as a "particle" in a multidimensional space. The dimensions of that space are:
- N dimensions for release offsets (one per order): how many days to delay each order's release (0 to 15 days)
- 6 dimensions for buffer targets (one per machine): how many tonnes to allow in each machine's queue
Each particle is evaluated by simulating the complete quarter with its plan, and the resulting net profit is its "fitness".
Objective Function
The objective function PSO maximizes is:
Net Profit = Σ(Sales revenue) − Σ(Financial cost of WIP) − Σ(Lateness penalties)
Where:
- Revenue = selling price per tonne × quantity delivered
- WIP cost = annualized rate × daily LME price × tonnes in the plant per day
- Penalties = $1,500 USD × days late × order
Search Space
With ~40 orders and 6 machines, the decision space has roughly 46 dimensions. PSO explores this space by evaluating 10,500 combinations (50 particles × 70 iterations × 3 seeds) to find the plan that maximizes net profit under uncertainty.
VI. Results
Main Findings
The simulation results consistently show that the PSO strategy outperforms both the reactive and deterministic strategies on every key metric. The improvements observed include:
- A significant reduction in average WIP: the PSO strategy holds substantially lower work-in-process levels than the reactive strategy, by controlling when material enters the system.
- Better on-time delivery: by releasing orders in a coordinated way instead of saturating the plant, congestion falls and queue waiting times shorten.
- Higher net profit: the combination of lower WIP financial cost and lower lateness penalties produces significant profit improvements.
- Shorter average lead time: keeping queues short reduces the total time each order spends in the plant — a direct application of Little's Law.
The Mechanism of Improvement
PSO's improvement does not come from processing faster — machine capacity is identical across all three scenarios — but from controlling the input flow:
- Intelligent holding: orders are held in the backlog until the plant has real capacity to process them without congesting the queues.
- Implicit product grouping: by coordinating release dates, PSO tends to group orders of the same product, cutting setup times.
- Resilience to breakdowns: the buffers PSO sizes absorb the impact of breakdowns without letting them propagate through the plant.
Distribution of Solutions
Of the 10,500 plans evaluated, not all are equally good. The distribution of profits spans a wide range, confirming that the decision space is sensitive: small variations in release offsets or buffer targets can significantly change the final result. This underlines the importance of formal optimization over manual tuning.
VII. Model Limitations
It is important to acknowledge the model's simplifications in order to interpret the results correctly:
- Fixed plant model: machine topology and routes do not change during the simulation. In practice, plants can reconfigure routes or add shifts.
- Orders known in advance: PSO has visibility of every order in the quarter before optimizing. In a real scenario, orders arrive progressively and the optimization must be rolling.
- Homogeneous processing: each order is processed as one unit at each machine. In practice, a 10-tonne order might be processed in multiple lots.
- No raw material constraints: the model assumes material is available for every order. The supply chain upstream of the plant is not modeled.
- A single implicit shift: the model runs on fixed daily capacity with no shift distinction.
These simplifications are standard in manufacturing flow simulation models 1 and do not invalidate the conclusions about the relative value of release control.
VIII. Practical Implications
For Daily Operations
The most relevant result for operations is not the specific algorithm (PSO) but the underlying principle: controlling when you release material to the floor is more effective than trying to process faster.
In practice, that means:
- Don't release every order on arrival: keep a managed backlog where orders wait until the plant has real capacity to absorb them.
- Set explicit WIP limits per workstation: every machine should have a visible and respected buffer target — when the queue is full, no more material is fed.
- Visibility of work in process: to control flow, you need to know at all times how much material sits at each point of the plant.
For Planning
Release control complements traditional planning rather than replacing it. Sequencing — which order to process first — still matters, but when to release to the floor is the variable with the greatest leverage.
IX. Conclusion
This simulation study confirms that the most powerful lever in manufacturing flow management is not machine speed but discipline in releasing material to the production floor. Automatically controlling two variables — release date and buffer target — through Particle Swarm Optimization produces significant, consistent improvements in net profit, WIP level and on-time delivery, compared with reactive and deterministic strategies.
The results are consistent with the principles of Factory Physics 1: keeping WIP under control reduces waiting times (Little's Law) and improves the system's effective capacity, without requiring investment in additional physical capacity.
The interactive simulator that accompanies this publication lets the reader reproduce all three scenarios, explore PSO's solution space, and verify these results independently.
References
1 Hopp, W. J. and Spearman, M. L. (2011). Factory Physics. 3rd edition. Waveland Press.
2 Canales Siller, H. (2025). Patok: operational visibility and artificial intelligence platform for manufacturing. Monterrey, Mexico. https://patok.in
Dr. Horacio Canales Siller is an engineer with a doctorate in materials science, specialized in aluminum and its alloys. He is the founder of Patok, an operational visibility and artificial intelligence platform for industrial plants in Mexico.
How to cite this work
Dr. Horacio Canales Siller (2025). Manufacturing Flow Optimization Through WIP Release Control. Patok Research. https://patok.in/research/manufacturing-flow-optimization