Go deeper
Delays
Return to the gap between an action and its arrival.
LABS · The supply line
Keep the shelves stocked. Customers are waiting. How much will you order?
So far: a faucet can keep filling a pipe after the tank appears short. Orders in transit create the same problem for a warehouse.
8 min experiment · Scales up stage 3
Pause to adjust conditions
One week takes 1.5 seconds. Pause whenever you need.
Predict
Choose an answer to run the experiment.
What you expected
What happened
Teaching model, not a forecast
The reveal
Your decisions leave a trace
Drag the dot. Or focus it and use the arrow keys. A shock changes what happens next.
This optional model uses its own starting conditions and decision rule. Opening it does not transfer or reset your operator run. Return to the operator above to continue that same trajectory.
INTERACTIVE EXPERIMENT / FEEDBACK & DELAY
An empty shelf is visible. The orders already on their way are easier to overlook.
Teaching model, not a forecastThe shelf looks empty, so you order more. Tomorrow, both the new order and the one you forgot arrive. The visible shortage hid a commitment already on its way.
Here the cupboard becomes a warehouse. The model uses a fixed delivery delay and a change in demand.
YOUR FIRST EXPERIMENT
Backlog means demand still waiting to be filled. In transit means ordered but not yet delivered.
Computed teaching model · not a forecast · model 1.0.0.
100 units on hand, 80 units in transit and no initial backlog. Demand rises at week 10.
| Peak inventory | 294 units |
|---|---|
| Peak backlog | 27 units |
| Order-rate range | 82.5 units/week |
When interactive controls are available, predict a change, run the model, pause and inspect an event. The equations and complete assumptions remain readable below.
This static summary remains available. Reload the page to retry; your saved notebook is not changed.
Reload this experimentSTRUCTURE / WEEK 0
On a small screen, swipe the diagram sideways. Current values also appear below the chart.
UNDER THE SURFACE
Change the settings, inspect the trajectory, and export the values to examine them yourself.
Modeled · operator-1.0.0. Deterministic teaching dynamics, integrated at 0.25-week steps. Bench models retain version 1.0.0.
Equations use canonical model units: Orders enter a four-week pipeline. Demand is 20 units/week, rising to 30 at week 10. Stock gains arrivals and loses fulfilled demand. Unfilled demand becomes backlog. Reported net stock follows actual net stock with a 1.5-week lag. The comparison rule orders max(0, demand + 0.45 × stock gap), optionally accounting for the pipeline.
Operator mode holds your last order rate until you change it. This is an invented warehouse, not a forecast. The reference rule is one feedback policy; real supply chains also include batching, uncertainty and capacity limits.
Every colored trajectory here is computed, drawn with a dashed line. Scale lenses are illustrative analogies: they keep the equations and state, translate labels and physical time constants, and do not turn these curves into observations. A state shock branches the run from the selected week.
Drag the state dot or use its arrow keys to set both displayed state variables. For a supply-line shock, existing pipeline cohorts scale proportionally; reporting retains its memory.
Source and reading noteOrder rate = max(0, demand + gain × [100 − perceived net stock + pipeline adjustment])100 weeks, in 0.25-week steps. Demand steps from 20 to 30 units/week at week 10. The warehouse starts at 100 units; the delivery queue is initialized at steady demand. Net stock is on-hand inventory minus backlog. Perceived net stock follows a first-order reporting lag. When enabled, the pipeline adjustment is desired pipeline (current demand × delivery delay) minus outstanding orders. Orders arrive after a fixed delay. Unsatisfied demand becomes backlog and is later filled; no demand disappears at a zero-stock clamp. This is one decision rule, not a universal bullwhip model. No universal damping thresholds are assumed.
Your note stays in this browser and is included in your complete notebook backup.
Use the same systems ideas in another setting. These optional experiments leave your tour progress unchanged.
Predict: Demand rises by two cars a day. Does ordering harder restore the lot more quickly?
Selected time: 100 days
Perception, correction and delivery happen on different clocks. Count orders already on the way before placing another correction.
| Time · days | Cars on the lot |
|---|---|
| 0 | 200 |
| 20 | 200 |
| 40 | 269.18 |
| 60 | 354.18 |
| 80 | 387.52 |
| 100 | 315.99 |
Teaching model, not a forecast. System models help us explore possible futures and ask what-if questions. Their usefulness depends on producing a plausible pattern of behavior, not on predicting which scenario will occur.
Perceived sales adjust over 3 days. Desired inventory = 10 × perceived daily sales. Orders = max(0, perceived sales + discrepancy / response days). Deliveries arrive 5 days after ordering.
A teaching adaptation of the audiobook supplement, Figures 19–21. Demand rises from 20 to 22 cars/day on day 25. Initial inventory is 200 cars and the pipeline starts with 5 days of 20-car deliveries. When enabled, pipeline feedback subtracts excess pipeline above expected transit stock, preserving the starting equilibrium. All flows use quarter-day Euler steps and inventory cannot become negative.