Problems & solutions · Supply Chain

Pulp and Paper Mill Production Software Problems: The 7 That Cost Real Money, and How to Avoid Them

Pulp Paper Mill Production Software workflow illustration showing common problems and fixes.
The short answer

The most expensive failure in mill planning software is an optimiser whose objective is trim alone. It produces sets with excellent trim that require combining orders at different basis weights, which forces a grade change costing broke, machine time and a period of off specification production. The schedule is mathematically better and economically worse, the crew stops running it within a fortnight, and the planner goes back to the spreadsheet that at least respects the machine. You have then paid for optimisation and kept the accepted waste, which on a machine running a few hundred tonnes a day is a number nobody in that mill would approve as a line item if it were ever presented in a meeting.

Why does the objective get scoped as minimise trim?

Because trim is the number the mill already reports. It appears in the monthly pack as a percentage, everybody recognises it, and it makes a clean project justification. So the specification says minimise trim loss, and a competent developer builds exactly that.

Trim optimisation is a cutting stock problem and the mathematics is well understood. What makes a mill schedule hard is that the cutting problem is coupled to the sequencing problem. Combining orders to fill a deckle better may cross a basis weight, a coating or a colour, and every transition has a cost in broke, time and off specification tonnes. A planner who optimises trim in isolation can build a week with the best trim figure of the year and worse economics than the spreadsheet produced.

The correction is to express the objective in money rather than in millimetres. Trim loss, grade change cost, earliness and lateness against the order due date, and the cost of overproduction against tolerance all become terms in one objective. The planner then evaluates real alternatives in minutes: this set carries forty millimetres more trim and avoids a basis weight change, and here is the difference in euros.

That comparison is impossible today, which is exactly why mills accept whatever the spreadsheet produces. Ask any prospective developer what they would optimise before anything else. If the answer is minimise trim, they will build something the mill cannot run.

What goes wrong with order book and constraint data?

The order book usually comes out of the enterprise resource planning (ERP) system in reasonable shape, and that gives false confidence, because the data that determines whether a schedule is runnable is not in the ERP at all.

Real constraints are messy and specific. Maximum number of knives on the winder. Minimum roll width the winder handles reliably. Maximum set count. Roll diameter limits at particular customers. Which accounts accept a splice and which do not. Which orders can share a set because they share a core size. Whether the sheeter downstream takes a certain width without a changeover. Which orders go to a converting plant you own, where you control the downstream schedule too.

None of that has a field anywhere. It lives with the planner and with two people on the winder, and it is discovered during the build one objection at a time.

The failure that follows is staleness. A constraint set captured once, hard coded and maintained by a vendor is wrong within a year, because knives get changed, a customer relaxes a splice rule and a new core size arrives. A stale constraint set produces schedules the crew quietly ignores, and that is the most common way optimisation projects die: not with a rejection, with a drift.

Model the constraint set completely, including the awkward ones, as data the planning team can edit themselves. That is more important than the mathematics. Then treat every objection during the parallel run as a missing constraint to be captured rather than as resistance, because each one is a rule nobody wrote down.

Why do ERP and quality system feeds break after launch?

Because they are owned by other people on other schedules. The ERP gets upgraded and an order field changes shape. A new grade code is introduced by the commercial team and nothing in the planning model recognises it. The quality control system, whether it is a Honeywell, ABB or Valmet installation, is serviced during a shut and tag names move. A converting site changes how it books demand.

The characteristic mill failure is a new product code arriving in the order book with no constraint mapping. The optimiser either refuses to schedule it, which the planner works around manually and never mentions, or schedules it against defaults that are wrong for the grade. Both outcomes erode trust and neither raises an alarm.

Build for that specifically. Validate incoming orders against the constraint model on arrival and quarantine anything with an unrecognised grade, width, core or customer rule, with a queue somebody clears each morning. A quarantine queue is a working control, not a defect.

Then monitor for silence as well as error. An order feed that stops looks like a quiet week in the order book, and a planner scheduling against a stale book will fill the machine with the wrong work. Version the parser per source, keep a stored sample as a contract test so a layout change fails loudly, and reconcile counts daily between the ERP and what landed.

What happens when tolerance and customer rules are not covered?

Tolerance gets used accidentally instead of deliberately, which is the same as not using it. Most paper and board orders carry a delivery tolerance agreed with the customer, commonly around plus or minus ten percent. That tolerance is an optimisation asset: producing slightly over on one order can enable a set with far better trim, and producing slightly under can avoid a grade change entirely.

Because tolerance is treated as a contractual footnote rather than a variable, it never enters the model. Planners flex it by instinct when they notice an opportunity, sales find out afterwards when a customer calls about an over delivery, and the relationship pays for a saving nobody recorded.

Carry the tolerance per order line as a real bound in the optimiser, with a customer specific policy, because some accounts genuinely will not accept over delivery and others are delighted with it. Then report which orders were flexed and by how much, so the commercial team is informed rather than surprised. That reporting is what makes the feature politically survivable inside the mill.

The same applies to the rest of the customer rules. Splice acceptance, diameter limits, packaging and marking requirements all constrain which orders can share a set, and a system that models the machine perfectly while ignoring the customer will still produce schedules the mill has to unpick by hand.

Should you build custom or configure what you already own?

Buy Greycon opt-Studio if your problem is squarely trim optimisation, your constraint set is conventional, and you want a proven specialist product supported by people who know the industry. It is a real product solving a real problem and for many mills it is simply the correct answer. Do not build around a tool you have not first tried to configure properly.

Buy from your automation supplier if the actual gap is production reporting and quality data rather than planning. ABB, Honeywell and Valmet cover that ground properly and a planning project will not fix a measurement problem.

The build case appears when the workarounds around the specialist tool cost more than the benefit inside it. Typically that means your converting rules, tolerance policy or order intake habits sit outside its model, so the planner still works manually on both sides. It also appears when trim and grade sequencing genuinely need to be solved together against a money objective, when you own converting and want the mill and the plant scheduled as one system, when you allocate orders across several machines by habit, or when you cannot answer how much of last month's trim was avoidable.

The threshold is order book variety rather than tonnage. A mill running long campaigns of a few standard widths is already near its trim floor and should spend the money on machine reliability or quality variability instead. If your planner spends an hour a week building sets rather than a day, the return will not justify the project.

How do hidden costs get into the quote?

  • Machine count. Allocating orders between machines is a materially harder problem than single machine trim, and quotes rarely distinguish the two.
  • Owned converting. Scheduling the mill and the converting plant together is the right answer eventually and roughly doubles the model. It belongs in phase two, priced as phase two.
  • Grade structure. How many basis weights, coatings and colours run, and how constrained the transitions are between them. This drives engine complexity more than deckle width does.
  • ERP depth. Reading the order book is one thing. Giving order promising back to the sales system is another project.
  • Quality and production linkage. If actual production, breaks and off specification tonnes are to feed re planning automatically, that is live integration rather than a nightly file.
  • Planner time. Weeks of parallel running by the person the mill can least spare, which is almost never in the plan.

What separates a build that works from one that fails here?

The builds that work make re planning cheap enough to do daily. Orders arrive and cancel through the week, a break wipes hours from the plan, and a pulp quality problem forces a grade off the schedule. If a rebuild takes an afternoon, re planning happens as rarely as the planner can get away with and the schedule drifts further from optimal every day. If it takes minutes, the plan tracks reality.

They treat stability as an objective rather than an afterthought. A schedule that changes every hour is worse than a slightly suboptimal one the crew trusts, so there is a tunable penalty for churn and a clear view of what changed and why between two versions of a plan. Optimisers that produce a completely different schedule on every run get switched off within a month, and the reason given is never the real one.

They score the plan afterwards. Store every plan with its objective breakdown, compare it to what actually ran, and report trim, grade change count and tolerance usage against a computed best possible for that week's order book. That separates structurally unavoidable loss from sets built under time pressure and from orders accepted at widths that combine badly with everything else. In our delivery experience this reporting changes commercial behaviour more than the optimiser changes the machine, because sales finally sees what an awkward width costs.

They keep the reasoning visible. Trust arrives when the system reproduces a schedule the planner would have built and then shows a better alternative with the logic exposed. Hiding the reasoning is the fastest way to lose the crew, and once lost it does not come back in that installation.

And they settle ownership before kickoff: the repository, the infrastructure and the right to hire anyone else to continue. At Digital Heroes the code is yours from the first commit. The constraint model encodes years of knowledge about your machine, your winder and your customers, and it should never live somewhere you cannot take it.

Research & sources

The evidence behind this guide

Independent findings on why this investment pays off. Every link goes to the primary source.

  1. McKinsey estimates that digitizing the supply chain (Supply Chain 4.0) can cut lost sales by up to 75%, reduce inventories by up to 75%, and lower supply chain operational costs by up to 30%, with up to 30% lower transport and warehousing costs. Source: McKinsey & Company (2016) →
  2. McKinsey reports that autonomous supply-chain planning can raise revenue up to 4%, reduce inventory up to 20%, and cut supply-chain costs up to 10% while maintaining service levels (the wider 20-30% inventory-reduction figure comes from McKinsey's separate distribution-operations research, not this page). Source: McKinsey & Company (2020) →
  3. The average developer spends more than 17 hours a week dealing with maintenance issues such as debugging and refactoring, and about four of those hours on 'bad code' - waste that equates to nearly $85 billion annually worldwide in opportunity cost. Source: Stripe (2018) →
  4. An analysis of enrollment and completion data for 221 MOOCs (Katy Jordan, published in the International Review of Research in Open and Distributed Learning, IRRODL, 16(3), 2015 - not the Journal of Distance Education) found completion rates ranging from 0.7% to 52.1%, with a median completion rate of 12.6%, and completion negatively correlated with course length (longer courses had lower completion rates) - underscoring how unsupported self-paced online courses struggle to finish learners. Source: Journal of Distance Education (via ERIC / Katharina Jordan) (2015) →
Sanya A. · Frontend Engineer · Delhi

Sanya builds interfaces for web applications at Digital Heroes, working from design files to components that handle real data, loading states, errors and empty screens. Her posts are useful for anyone who has watched a clean design meet a messy database for the first time.

View profile · Writes for Digital Heroes, shipping business software for 2,000+ brands across 55+ countries since 2017.

FAQ

Frequently asked questions

Why does our optimiser produce schedules the machine crew will not run?
Almost always because the objective is trim alone. Better trim frequently requires combining orders across basis weights, which forces a grade change costing broke, time and off specification production, so the mathematically better set is the economically worse one. Express the objective in money, with terms for trim loss, grade change cost, lateness and tolerance usage, and let the planner compare alternatives with the difference shown in currency. Ask any developer what they would optimise before you sign anything.
Who should maintain the constraint set after go live?
Your planning team, directly, through screens they can edit. Knife counts change, a customer relaxes a splice rule, a new core size arrives, and a constraint set maintained by a vendor or buried in code is wrong within a year. A stale constraint set produces schedules the crew quietly ignores, which is the most common way these projects die: not by rejection but by drift. Ownership of the constraint data is more important to long term value than the quality of the mathematics.
Can delivery tolerance genuinely reduce trim, and how do we control it?
Yes, and most mills use it accidentally rather than deliberately. Orders commonly carry a tolerance of around plus or minus ten percent, and treating it as a real bound in the optimiser lets the system produce slightly over on one order to enable a much better set, or slightly under to avoid a grade change. Control it with a customer specific policy, because some accounts refuse over delivery outright, and report which orders were flexed and by how much so the commercial team is informed rather than surprised.
How do we know whether our trim loss is actually avoidable?
Compare achieved trim against a computed best possible trim for the same order book, week by week, and store every plan with its objective breakdown alongside what actually ran. That separates structurally unavoidable loss from sets built under time pressure and from orders accepted at widths nobody can combine. In our delivery experience the reporting changes commercial behaviour more than the optimiser changes the machine, because it is the first time sales can see the cost of an awkward width.
Why does a new grade code break our planning system?
Because it arrives in the order book with no constraint mapping, and the system either refuses to schedule it, which the planner works around silently, or schedules it against defaults that are wrong for that grade. Validate incoming orders against the constraint model on arrival and quarantine anything with an unrecognised grade, width, core or customer rule, with a queue somebody clears each morning. Also alert on feed silence, since an order feed that stops looks exactly like a quiet week.
Should we schedule owned converting in the same system as the paper machine?
Eventually yes, because scheduling them separately means one is always absorbing the other's inefficiency, but not in phase one. It roughly doubles the model and it should be priced as its own phase. Start with the machine, prove the constraint model and the planner workflow, then extend to sheeting and converting once the mill trusts the plan. Mills without owned converting can represent downstream requirements as customer constraints instead, which is far cheaper.
How do we stop the schedule churning so much that the crew ignores it?
Make plan stability an explicit term in the objective with a tunable penalty for change, and give the planner a clear view of what differs between two versions of a plan and why. A slightly suboptimal schedule the crew trusts beats an optimal one that changes every hour, and optimisers that produce a completely different sequence on every run get switched off within a month. Re planning should be cheap enough to run daily, but its output should be recognisably related to yesterday's.
We run long campaigns of a few standard widths. Is this worth building?
Probably not. A narrow product range in long campaigns is usually close to its trim floor already, and the money is better spent on machine reliability or on reducing quality variability. The build case comes from order book variety: many widths, frequent grade changes, a varied customer mix and tolerance that is never used deliberately. A useful test is how long your planner spends building sets each week. An hour means the return will not justify a project, a full day means it probably will.
Can I build my product on a no-code tool like Bubble instead of hiring developers?
For testing whether anyone wants the product, yes, and Bubble's paid plans start at $29 a month, which is the cheapest validation you will ever buy. The ceiling arrives with complex data relationships, heavy integrations, performance at a few thousand users, and the fact that you cannot export a Bubble app to servers you control. A path many Digital Heroes clients take: prove demand on no-code, then rebuild custom once revenue justifies it, treating the no-code version as a paid prototype rather than a foundation.
Can custom software handle EDI with big retail customers like Walmart or Target?
Yes, and this is one of the most common reasons distributors go custom, because retailer scorecards penalize late or malformed documents. The typical build covers EDI 850 purchase orders in, 855 acknowledgments, 856 advance ship notices, and 810 invoices out, usually through a network like SPS Commerce or TrueCommerce rather than raw AS2. In Digital Heroes builds, onboarding your first major retailer adds 4 to 8 weeks and $10,000 to $25,000, with each additional trading partner far cheaper once the pipeline exists.
Can we migrate years of data out of our current system into new custom software?
Almost always yes, through CSV exports or the vendor's API, and migration should be scoped as its own workstream with field mapping, a dry run, and a planned cutover window rather than an afterthought. The real time sink is rarely moving the data; it is cleaning it, since years of duplicates, free-text fields, and inconsistent formats surface all at once. Pull a full export from your current vendor before committing to anything new, because some SaaS plans restrict exports on lower tiers.
Can custom software connect to the tools we already use, like QuickBooks, Stripe, and Google Workspace?
Yes, and connecting your existing tools is one of the main reasons to build custom: mainstream platforms like QuickBooks, Stripe, Shopify, and Google Workspace all publish documented APIs. Budget 1 to 3 weeks of work per integration depending on API quality and how much data flows in both directions. Ask any vendor whether they have integrated with your specific tools before, because quirks like QuickBooks' OAuth token handling and API rate limits get learned on someone's project, and it should not be yours.
How long does it take to build custom supply chain software?
Plan on 10 to 14 weeks for a first production release covering one or two core workflows, and 6 to 9 months for a full platform spanning procurement, inventory, and fulfillment. Digital Heroes ships most supply chain MVPs in about 12 weeks with a 4 to 6 person team. Integrations are the schedule risk: each ERP, EDI, or carrier connection typically adds 2 to 4 weeks of build and testing.
Should we start with an MVP or build the full supply chain platform at once?
Start with an MVP that fixes your single most expensive workflow, prove it in daily operations, then expand module by module. That gets working software onto the warehouse floor in about 12 weeks instead of debating a year-long spec, and real usage always reorders the roadmap; features that felt critical in planning routinely get cut after go-live. Digital Heroes typically scopes phase one at 30 to 40 percent of the total vision and lets measured results justify each next phase.
Should I hire a freelancer or an agency for my software project?
A skilled freelancer is the right call for a single-discipline scope under roughly $15,000, like a website, a plugin, or one integration. Above that, projects need design, backend, testing, and project management at once, and a solo builder becomes the single point of failure: if they get sick or take a bigger client, your project simply stops. Agencies bill 20-40% more per hour but carry continuity, code review, and someone to escalate to, which is what you are actually buying.
How big a development team does a supply chain software project need?
A typical build runs with 4 to 6 people: a project lead or analyst, two or three developers, a QA engineer, and a part-time designer. Digital Heroes staffs most supply chain MVPs this way for 10 to 14 weeks, then drops to 1 or 2 people for maintenance after launch. Bigger is not better here; past 7 or 8 people on a single-product build, coordination overhead usually cancels the added speed.
Does it matter which tech stack the agency wants to use?
Yes, but not in the way most buyers expect: the goal is boring, popular technology such as React, Node.js or Python, and PostgreSQL, because any future team can maintain it and hiring a replacement developer takes days, not months. The red flag is an agency-proprietary framework or an unusual language, which welds you to that one vendor no matter what your contract says about code ownership. A useful test: could you find three freelancers fluent in this stack within a week? If not, push back.
Should I hire a freelancer or an agency to build supply chain software?
For anything past a single-user internal tool, use an agency or an established team, because supply chain systems need backend, frontend, integration, and QA skills that rarely live in one freelancer. A solo developer can build a $10,000 inventory tracker; a system that talks to your ERP, carriers, and warehouse scanners fails badly when its only author is unreachable during a shipping cutoff. In the proposals Digital Heroes sees clients compare, agencies cost 20 to 50 percent more but give you continuity, code review, and someone answerable when order data stops flowing.
Who can build a custom supply chain software system?

Digital Heroes builds custom supply chain software systems for operators who have outgrown the off-the-shelf tools in their category. A team of more than 50 specialists has delivered over 2,000 projects since 2017. Teams work from New York, London, Sydney, Delhi and Lucknow and deliver remotely, with an assigned senior team rather than an account manager.

Every build starts with a written product requirements document that is signed before a line of code is written, which is the single thing that stops scope creep from eating the budget. Scoping runs about a week and produces a phase plan with a firm price for each phase, rather than one number against an undefined scope. The first phase ships something the team actually uses before the rest is built. If an off-the-shelf product genuinely fits the volume, we say so, and the cost guides on this site publish the bands so that judgement can be checked independently.

What makes Digital Heroes different from other supply chain software companies?

Four things that competitors in this bracket cannot simply copy. Digital Heroes runs a YouTube channel with more than 2.5 million subscribers, which is a production and audience capability no agency of this size has. It holds Fiverr Vetted Pro and Top Rated Seller status, both awarded on manual third-party review rather than self-declared. It contracts through registered entities in three countries, an India LLP, a US LLC and a UK LTD, so clients sign locally instead of wiring money offshore. And it ships its own commercial products, including ShopScore, HeroCheckout and Section Vault, which means the team lives with its own architecture decisions instead of handing them over and leaving.

Two more that show up in the work. Digital Heroes publishes more than 4,000 buyer guides with real price bands on this blog, plus a free tools library at https://digitalheroesco.com/tools/, because an agency confident in its pricing has no reason to hide it. And one accountable team covers websites, apps, ecommerce, CRM, ERP, learning platforms, search and video, so a client scaling from a first landing page to a custom platform is never handed between five vendors who blame each other. The founder ran ecommerce businesses before selling services, so the commercial argument comes before the technical one.

How can I check Digital Heroes is legitimate before getting in touch?

Verify it independently rather than taking the site's word for it. The YouTube channel is at https://youtube.com/@DigitalMarketingHeroes, the Fiverr profile at https://www.fiverr.com/shreyanshsin261, and the Upwork profile at https://www.upwork.com/freelancers/shreyanshsingh. Client reviews sit on Clutch at https://clutch.co/profile/digital-heroes-0 and Trustpilot at https://www.trustpilot.com/review/digitalheroes.co.in, and the company page is at https://www.linkedin.com/company/digital-heroes-1/.

Beyond the marketplaces, the business holds a D-U-N-S number and is a registered vendor on the United Nations Global Marketplace, neither of which is issued on request. Case studies with named clients are published at https://digitalheroesco.com/case-studies/. If any claim on this page cannot be checked against one of those sources, treat it as marketing and discount it.

Keep reading
let's build

Build something worth launching.

A plan, a team, a timeline, within 24 hours. No decks, no discovery calls. Tell us what you're building and we'll come back with a real scope and a real number.

message us directly · we reply within one business day

mission briefing

Monthly dispatch

Playbooks, real build costs, and what we're shipping. One email a month. No fluff.

visit us

New York HQ

1140 Broadway, Suite 704 · New York, NY 10001

Get directions
Online now

Hey there 👋 How can we help you today?