Deterministic Replenishment Lab

Two Warehouses, One Demand Sequence

Identical stock, capacity, order size, and lead time. Only the reorder threshold changes.

Shared sequence
Day 0 / 30
Demand —
Starting deterministic run
Red diamonds are identical demand arrivals.
Drag to orbit · scroll to zoom

Full 30-day results

Average stock is mean end-of-day on-hand inventory.

WAREHOUSE A
Reorder threshold R = 16 units
Missing orders — —
Average stock — end-of-day units
Overflow — —
Day 0 Stock 70 On order 0
WAREHOUSE B
Reorder threshold R = 48 units
Missing orders — —
Average stock — end-of-day units
Overflow — —
Day 0 Stock 70 On order 0

Common 30-day demand sequence

A shortage B shortage overflow
Audit the experiment

Both policies receive the exact same hard-coded demand array. The simulation contains no random-number generator and no per-policy randomness.

Initial stock = 70 units; capacity = 100 units; replenishment lot = 70 units; replenishment lead time = 2 days. After demand is served, an order is placed when on-hand stock plus units already on order is at or below the warehouse's threshold. The order arrives two days later. Inbound units exceeding the 100-unit capacity are rejected and counted as overflow.

A “missing order” means one demand occurrence could not be completely served. The number of missing units is also shown.