Operations · Simulator 072
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
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 σ).
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.
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?
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.
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.
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.
The order size that minimises ordering plus holding costs: Q* = √(2DK / h). Larger orders mean fewer orders but more stock sitting on shelves.
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%.