SimuVeda/ Operations

Operations · Simulator 072

Inventory Control

A shop sells an item every day at a random rate and reorders from a supplier who takes a few days to deliver. Set when to reorder and how much to order, then run a year to see the trade-off between running out (lost sales) and holding too much stock.

CollegeCollege operations management

Experiments 0 of 0 Challenge not tried

How the model works

This is a continuous-review (s, Q) policy: when inventory position (stock on hand plus stock on order) drops to the reorder point s, order Q units, which arrive after lead time L days. Daily demand is random (normal, mean d, SD σ).

  • Economic order quantity: Q* = √(2DK / h) balances the ordering cost K per order against the holding cost h per unit per year for annual demand D.
  • Safety stock: the reorder point covers expected lead-time demand plus a buffer, s = dL + z σ √L. Higher z means fewer stockouts but more stock held.

The simulation tracks on-hand stock, orders in transit, lost sales (unmet demand is lost) and annual costs: holding + ordering + stockout penalty. A fixed seed makes policy comparisons fair (common random numbers).

Single item, single supplier, fixed lead time, lost sales rather than backorders. The costs are illustrative.

Guided experiments

  1. No safety stock. Reorder point = expected lead-time demand. Prediction: stockouts in roughly a third to a half of the replenishment cycles.
  2. Add safety stock (z ≈ 1.65). Prediction: stockouts become rare (about 5% of cycles) at the cost of extra average inventory.
  3. Use the EOQ. Set Q to the readout's Q*. Prediction: total holding plus ordering cost is near its minimum. Try doubling or halving Q to see costs rise.

Challenge

Demand averages 20 units/day (365 days), ordering costs ₹500 per order, and holding costs ₹10 per unit per year. What is the EOQ, and about how many orders per year does it mean?

Reveal the explanation

D = 7300, so Q* = √(2 × 7300 × 500 / 10) ≈ 854 units, about 8.5 orders per year (one every 43 days). Enter d = 20, K = 500, h = 10 to confirm.

References

  • Silver, Pyke & Thomas, Inventory and Production Management in Supply Chains, ch. 4–6.
  • Harris, F. W. (1913), “How many parts to make at once”, Factory, The Magazine of Management 10: 135–136.

Related simulators

Worked example

A shop sells on average d = 20 units a day with σ = 6, and a supplier takes L = 5 days.

Lead-time demand: mean 20 × 5 = 100 units, spread 6 × √5 ≈ 13.4 units.

Safety stock for about 95% of cycles without a stockout: z = 1.65, so 1.65 × 13.4 ≈ 22 units. Reorder point s = 100 + 22 = 122. For 99% (z = 2.33) it rises to about 131.

Costs with Q = 400: average stock ≈ Q/2 + safety stock = 222 units, costing 222 × ₹10 = ₹2 220 a year. Orders: 7300 / 400 ≈ 18 a year × ₹500 = ₹9 125. Ordering dominates, a sign Q is too small.

Set d = 20, σ = 6, L = 5, s = 122 and Q = 400, then raise Q and watch the cost split change.

Common questions

What is a reorder point?

The stock level at which a new order is placed. It must cover the expected demand during the supplier's lead time plus safety stock for unusually high demand.

What is the economic order quantity?

The order size that minimises ordering plus holding costs: Q* = √(2DK / h). Larger orders mean fewer orders but more stock sitting on shelves.

How much safety stock do you need?

z × σ × √L, where z sets the service level: 1.65 for about 95% of cycles without a stockout, 2.33 for 99%. Doubling the lead time raises it by about 41%.

Keyboard shortcuts

Space
Play or pause
S
Step
R
Reset
F
Full screen
?
Show this list