Insights & Use Cases
Explore our use cases and insights to learn how optimization can transform your business
There's a quiet fiction sitting in your ERP's master data. It's the field labeled "Setup Time" or "Changeover Duration," and it's almost always a single flat number. Four hours. Every changeover, four hours. Your plant manager knows that number isn't real, because in a process plant a changeover isn't a fixed cost, it's a directional one. Going from a light product to a dark one might be a thirty-minute flush. Going from that dark product back to light might be a six-hour caustic wash, rinse, and swab test.
Treat those two as the same event, which is exactly what a "standard" setup time does, and you're not just miscounting hours. Every unnecessary heavy wash you schedule is water heated, chemicals dosed, energy burned, and capacity gone, all of it spent because the plan couldn't tell a cheap transition from an expensive one. That's the CIP matrix, and it's the most expensive constraint most plants never actually plan around.
In discrete manufacturing, a setup is mostly about swapping tools, and a flat time is a fair approximation. In process manufacturing, a setup is chemistry, and the cost depends entirely on what you ran before and what you're running next. The Clean-In-Place matrix captures that: for every product pair, A into B is one cost, B into A is often a completely different one. It's asymmetric by nature, and a single "setup time" field can't represent it.
So what happens is that the official schedule, built on the flat number, is quietly wrong, and everyone on the floor knows it. Operators reshuffle the plan every week from memory, because they know running the sequence the system produced would trigger heavy washes that a better order would have avoided. The real schedule lives in their heads. The system's version is a rough draft nobody actually runs.
A CIP changeover is directional, A to B costs differently than B to A, so a single "setup time" number is structurally wrong. The floor already knows this, which is why they override the official plan every week.
The obvious fix is "just group similar products together to minimize washing." And that works fine, if you have one tank and three products. That is not your plant. You have dozens of tanks, shared headers, manifold constraints, hundreds of recipes, and firm shipment dates all pulling against each other. Once you're there, finding the sequence that minimizes total cleaning cost isn't a matter of grouping, it's a combinatorial explosion, a close cousin of the Traveling Salesman Problem.
That's the part worth being honest about: the number of possible sequences is astronomically larger than anything a person can evaluate by hand, or a spreadsheet can search. Your planners aren't failing when they can't find the cheapest sequence. They're being asked to solve, by intuition, a problem whose size is beyond intuition. It isn't a scheduling task that needs more discipline. It's an optimization problem that needs a solver.
With dozens of tanks and hundreds of recipes, the number of valid sequences is astronomically large, this is the Traveling Salesman Problem, not a grouping exercise. No human or spreadsheet can search that space; a solver can.
Here's what makes this more than a scheduling trick, and it's the part a standalone CIP scheduler can't touch. In WonForge, the changeover logic lives inside the optimization, and the wash sequence gets chosen as part of optimizing the entire supply chain, not on its own. The production and changeover plan the optimization model produces is weighed against everything around it: what you can procure, how material moves between plants, your inventory targets at every level, and your customer shipment dates.
So the sequence it lands on isn't just the one with the least cleaning. It's the one with the least cleaning that still keeps the whole plan feasible, raw materials in, inventory where it needs to be, orders out on time. A dedicated CIP scheduler can order the floor, but it can't do that, because the things it would have to weigh, procurement, network inventory, shipments, all live outside it. It optimizes the wash sequence blind to whether that sequence wrecks something three steps downstream. WonForge doesn't, because the same model that sequences the changeovers is the one planning the network they sit inside. Your planners can still adjust the plan by hand where they know something the model doesn't, but the optimization itself happens across the whole chain, not in a corner of the floor.
The cheapest wash sequence is worthless if it breaks a shipment or starves a downstream line. WonForge chooses the changeover sequence inside the full network plan, procurement, inventory, and shipments included, which a floor-only CIP scheduler structurally can't do.
Here's the cost most plans never even count. A CIP changeover isn't just downtime, it's consumption. A full caustic boil-out draws hot water, cleaning chemicals, and energy to heat and pump it, then more water to rinse, and it sends all of that down the drain as wastewater you pay to treat. A light flush costs a fraction of that. So the difference between a well-sequenced week and a badly-sequenced one isn't only capacity, it's a direct line on your utility and effluent bills.
That makes CIP sequencing one of the few levers that hits throughput and variable cost and sustainability at the same time. Minimize the severity and number of washes and you free capacity, cut your water and chemical spend, and shrink the plant's footprint, all from the same decision. It's rare to find one plan change that a plant manager, a CFO, and a sustainability officer all want for their own reasons. This is one of them.
Every avoidable heavy wash is water, chemicals, and energy spent and effluent to treat. Optimizing the CIP sequence cuts capacity loss, utility cost, and environmental footprint at once, one decision three people want.
Usually not. Most ERPs store a single setup time per product or product family, a flat number. A true CIP matrix is directional and pairwise: the cost of going from product A to product B is different from B to A, for every pair that shares equipment. That asymmetry is the whole point, and it's what a single setup-time field can't hold. Planning on the flat number is why the official schedule and the schedule your operators actually run are two different things.
A scheduler orders the floor, and a good one respects changeover rules. What it can't do is choose that sequence against the rest of your supply chain, procurement, inter-plant flow, inventory targets, shipment dates, because those live in other systems. WonForge chooses the changeover sequence inside the full network plan, so the wash order it lands on is the cheapest one that still keeps material flowing and orders shipping on time. A floor-only scheduler can find a clean-looking sequence that quietly breaks something downstream; optimizing across the network is what prevents that.
Both, from the same decision. Every unnecessary heavy wash consumes hot water, cleaning chemicals, and energy, and produces effluent you pay to treat. Cutting the number and severity of washes frees production capacity and lowers your utility, chemical, and wastewater costs while shrinking the plant's footprint. It's one of the few plant changes that improves throughput and variable cost and environmental impact all at once.
You don't need a faster line. You need a smarter sequence, and one that's right for more than the floor. As long as your plan treats CIP as a flat setup time, it's blind to the one thing that actually drives changeover cost, which product ran before which. WonForge takes your real CIP matrix as a hard constraint and chooses the sequence that meets demand with the least total cleaning, and it does it inside the full network plan, so the cheapest wash order is also one that keeps material and orders moving. Less downtime, less water, less chemical, less energy, without breaking anything downstream to get there. Stop treating CIP like a number. It's a matrix, and planning around it is a lever on capacity and cost at once. If you want to see what a better sequence is worth on your own plant, Check Your Fit is a short, no-commitment call to find out.
We'll tell you in 20 minutes whether we can solve it.
Email: contact@wonforge.com
Based in Wilmington, DE, serving businesses across the U.S.