LabsKeep your place in the guideGuide trail

LABS · The supply line

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

1 · Your shift2 · The reveal3 · The bench
Week 0Ready for your shift

One week takes 1.5 seconds. Pause whenever you need.

Predict

Will the stock rise, hold steady, or fall from its starting value?

Choose an answer to run the experiment.

Dashed pink: your computed trajectory.

Read the current values
Selected model state

Go deeper: compare a separate reference model

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

The supply line

An empty shelf is visible. The orders already on their way are easier to overlook.

Teaching model, not a forecast
You forgot the groceries already ordered. · a familiar starting point

The 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

  1. See the rule ignore existing orders
  2. Count orders in transit
  3. Compare the stock and backlog

Backlog means demand still waiting to be filled. In transit means ordered but not yet delivered.

The default experiment, at a glance

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.

Computed default results over 100 weeks
Peak inventory294 units
Peak backlog27 units
Order-rate range82.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.

If the interactive view does not load

This static summary remains available. Reload the page to retry; your saved notebook is not changed.

Reload this experiment

Change the conditions

Try this

Keep the default delays and compare the order rule with the pipeline switch off and on. Then increase correction strength. Look at outstanding orders and backlog as well as the warehouse stock.

STRUCTURE / WEEK 0

On a small screen, swipe the diagram sideways. Current values also appear below the chart.

Week 100

UNDER THE SURFACE

The rules are part
of the result.

Change the settings, inspect the trajectory, and export the values to examine them yourself.

Model details · equations, sources and assumptions

The operator model

Inside the model

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 note

The separate reference model

Order 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.

Related reading and experiments

Add a local note

Your note stays in this browser and is included in your complete notebook backup.

NEXT ADVENTURE

Go deeper

Delays

Return to the gap between an action and its arrival.

See these connections on the map

Go deeper: a car lot with three delays

Use the same systems ideas in another setting. These optional experiments leave your tour progress unchanged.

Three delays on a car lot

Predict: Demand rises by two cars a day. Does ordering harder restore the lot more quickly?

Selected time: 100 days

Cars on the lot
315.99
Desired inventory
220
Orders · cars/day
0
Deliveries · cars/day
63.11
Cars in transit
149.54
389.3800100 days
  • Cars on the lot
  • Desired inventory

Orders and arrivals

67.3800100 days
  • Orders · cars/day
  • Deliveries · cars/day
  • Demand · cars/day

Perception, correction and delivery happen on different clocks. Count orders already on the way before placing another correction.

Read selected values as a table
Time · daysCars on the lot
0200
20200
40269.18
60354.18
80387.52
100315.99
Equations, sources and assumptions

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.

Meadows: source and review notes

Start fresh?

Clear your tour progress, reading and practice history, saved notebook work, and preferences in this browser. You’ll return to the beginning.

This can’t be undone. Export a notebook backup first if you want to keep your work.

Search the guide

Go deeper: explore the connections

Open this section to load the map.

Open the map