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.
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.
| Setting | Default |
|---|---|
| Average demand | 100 units/week |
| Demand variability | 12 units |
| Shipping delay | 2 periods |
| Review period | 2 weeks |
| In-transit awareness | 0.45 |
| Simulation length | 52 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.
| Strategy | What it does |
|---|---|
| Information sharing | Suppliers see real customer demand. |
| Vendor-managed inventory | Suppliers manage and refill stock. |
| Order smoothing | Reduces sudden order changes. |
| Steady pricing | Reduces 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
- Lee, Padmanabhan & Whang (1997). Information distortion in a supply chain: the bullwhip effect. Management Science.
- Wang & Disney (2016). The bullwhip effect: progress, trends and directions. European Journal of Operational Research.
- Metters (1997). Quantifying the bullwhip effect in supply chains. Journal of Operations Management.
- Jaipuria & Mahapatra (2014). An improved demand forecasting method to reduce bullwhip effect in supply chains. Expert Systems with Applications.