Killing a Feed at Peak Load: How to Qualify Graceful Degradation in a Supply Chain Twin
A multi-echelon supply chain twin almost never fails when the first adapter stops sending data. It fails a few hours later, after the event scheduler has run on stale state long enough to put out replenishment recommendations that look reasonable and are wrong. That failure only shows up when event volume, synchronization pressure and a missing source happen together, so a functional test suite will not catch it. The qualification plan needs a test built to reproduce that combination on purpose.
Why the failure hides at nominal load
In a discrete-event twin fed by live sources, each echelon advances its local clock against incoming events. At nominal load, a silent carrier ETA feed or a stalled ERP adapter just leaves gaps that the scheduler fills with the last known state, and the error stays small because each node's queue drains between updates. Under peak volume that stops being true. Pending event lists grow, optimistic synchronization starts rolling back more often, and the node that lost its feed keeps handing frozen inventory positions to downstream echelons that are now consuming them faster than ever. Each node passes its own sanity checks. The network as a whole is drifting, and none of the logs say so.
The test: accelerated replay with a mid-run amputation
Take a recorded peak-season event stream, replay it at an accelerated wall-clock rate against the full twin, and once the queues are saturated, cut one upstream adapter without warning, for example the port congestion or carrier status feed. The test oracle is a mass-balance invariant, not a visual check of the dashboard: across all echelons, units in transit plus units on hand plus units consumed must reconcile with units released, at every checkpoint. Alongside that, run a shadow instance on the same stream with the feed intact, so that you have ground truth for the positions the degraded twin is estimating. Pass criteria are behavioural. The affected nodes must be flagged stale within a fixed detection budget, their stochastic lead-time distributions must widen rather than stay at the last fitted variance, the unaffected echelons must keep advancing without being held back by the sick one, and when the feed reconnects, the replayed backlog must be absorbed idempotently with no shipment counted twice. The detection budget is the concrete parameter to write into the plan: the twin must declare a source stale within 300 s of its last valid message under peak replay.
The decision rule that turns results into a verdict
If the time to declare a source stale is longer than the review period of the fastest replenishment loop that depends on it, the twin must suppress recommendations for that subnetwork instead of degrading them, because any order computed in that window may already be based on fiction.
What the test still cannot settle
Business continuity standards such as ISO 22301 expect you to show that a critical function keeps running when a dependency fails. This test gives the evidence for that, but only for the faults you chose to inject. The harder call is how many simultaneous amputations to qualify against. As an estimate, two concurrent feed losses already cover most realistic regional disruptions, and every extra combination roughly doubles the shadow-run compute, which is an estimate based on how the replay cost scales, not a measured figure. Some teams stop at single faults and accept the gap explicitly in the risk register, while others pay for pairwise coverage on the echelons with the thinnest safety stock. Either choice can be defended. Leaving it undecided cannot, because the twin will then meet its first correlated outage in production and not in the lab.
Technical FAQ: Why use a mass-balance invariant instead of comparing forecasts directly?
Forecast error under a degraded feed is expected and partly stochastic, so a tolerance band on forecasts either flags too much or lets real problems through. Conservation of units across echelons is deterministic, so any violation is a real defect: a double-counted replay, a lost event during rollback, or a node that kept consuming frozen state.