Skip to content
Omar Nagem.
All work
Case 05 of 05

Bullwhip Effect Simulator

An interactive supply chain simulation tool designed to demonstrate and analyze the Bullwhip Effect across a four-tier supply chain. The application lets users experiment with different mitigation strategies, evaluate inventory and ordering behavior, and analyze system performance under uncertainty.

4

Supply chain tiers

Retailer · Wholesaler · Distributor · Manufacturer

52

Weeks per run

Demand, orders, and inventory each period

50

Monte Carlo replications

Randomized demand under uncertainty

2

Inventory policies

Order-up-to (OUT) · APIOBPCS

Loading simulator…

Overview

Small demand changes, large upstream swings

The Bullwhip Effect happens when small changes in customer demand turn into larger order changes as they move through the supply chain. This can lead to too much inventory, product shortages, and higher operating costs.

I built this simulator to show how the Bullwhip Effect works across four levels: retailer, wholesaler, distributor, and manufacturer.

The simulation runs for 52 weeks. Change settings, test strategies, and watch inventory, orders, and costs respond.

The tool runs in the browser and is built into this portfolio.

The simulator runs entirely in your browser and is built into this portfolio. Every calculation, chart, and control is the production tool's own — nothing was rebuilt or simplified for this page.

Features

What it does

  • Four-level supply chain: shows how products and orders move between retailer, wholesaler, distributor, and manufacturer.
  • Adjustable settings: change demand, variability, delays, review periods, and inventory settings.
  • Bullwhip analysis: see order growth at each level with charts and ratios.
  • Strategy testing: compare information sharing, vendor-managed inventory, order smoothing, and steady pricing.
  • Monte Carlo: run 50 simulations with random demand to check consistency.
  • Sensitivity analysis: test delays and see cost effects.
  • Performance comparison: compare inventory, order variability, fill rates, and costs before and after strategies.

Simulation model

Four tiers, weekly decisions, one demand stream

Customer demand starts at the retailer and moves upstream to the manufacturer.

Each level manages inventory, forecasts demand, and places orders using one of two policies:

  • Order-up-to (OUT): order enough to reach a target level.
  • APIOBPCS: use inventory and incoming orders to adjust replenishment.

The manufacturer has a production limit of 175 units per week, so large order swings hit a real constraint.

SettingDefault
Average demand100 units/week
Demand variability12 units
Shipping delay2 periods
Review period2 weeks
In-transit awareness0.45
Simulation length52 weeks

Demand patterns: sudden jumps, random noise, seasonal cycles, rising trends, discount surges

Costs: $1 per unit held, $3 per unit short, plus factory production-change costs.

Mitigation

Testing strategies

Turn strategies on and off and compare results to the original supply chain.

StrategyWhat it does
Information sharingSuppliers see real customer demand.
Vendor-managed inventorySuppliers manage and refill stock.
Order smoothingReduces sudden order changes.
Steady pricingReduces demand spikes from discounts.

Results include cost breakdowns, inventory levels, and estimated annual savings.

Uncertainty

Additional analysis

  • Monte Carlo: 50 runs with random demand show whether a strategy works consistently.
  • Sensitivity: test replenishment delays and see total cost effects.
  • Data export: download weekly results as CSV for Excel, Python, or R.

References

References

  1. Lee, Padmanabhan & Whang (1997). Information distortion in a supply chain: the bullwhip effect. Management Science.
  2. Wang & Disney (2016). The bullwhip effect: progress, trends and directions. European Journal of Operational Research.
  3. Metters (1997). Quantifying the bullwhip effect in supply chains. Journal of Operations Management.
  4. Jaipuria & Mahapatra (2014). An improved demand forecasting method to reduce bullwhip effect in supply chains. Expert Systems with Applications.

© 2026 Omar Nagem