Running simulations…

IRT/RTSM Resupply Algorithms

Interactive visualization of demand prediction and inventory management strategies in clinical supply chain

Day of Computation Day 15
Past: D1 – D15 Prediction Window: D16 – D60
Uncertainty Level
Some titration (1–4 kits), visits ±1 day, ~1 patient/month, 5–8 day transit

1. Individual Patient Demand

Each patient's demand over 60 days. Past (solid bars) is known. Future (heatmap) shows the probability cloud — timing jitter (±1 day/visit, cumulating) AND dose uncertainty create a widening horizon of possibilities.

Patient A (PD — known qty, timing uncertain ±1d)
Patient B (CUD — qty {1,2,4} + timing ±1d)
New Enrollments (UUD — Poisson λ=2/month, then CUD)
Probability heatmap (brighter = more likely)

A Patient A — Stable Dosage

PD

2 kits every ~7 days, starting Day 7. Quantity certain, timing ±1 day per visit (cumulating).

B Patient B — Titrating

CUD

Enrolled Day 3. Weekly visits. Both dose (1, 2, or 4 kits) and timing are uncertain.

C… Upcoming Patients

UUD

Poisson arrivals (λ=2/month). Each new patient becomes CUD. Chart shows expected demand rate from future enrollments.

2. Combined Demand & Algorithm Simulations

Cumulative demand (sum of all patients) with uncertainty cone, plus four resupply algorithm simulations.

Combined Demand Across All Patients

Cumulative kits dispensed. Past: known staircase. Future: expanding uncertainty cone from convolution of all patient distributions.

Inventory Evolution (No Resupply)

Starting from a given SAI on the selected day, how long until stockout? The uncertainty cone widens as demand uncertainty accumulates.

kits on hand at selected day

Manual Resupply

Send a shipment and watch the inventory bounce. Transit time is 5–8 days (uniform), so arrival itself is uncertain.

kits
Arrives D25–D28

Min-Max Resupply Algorithm

Static thresholds: when SAI ≤ min, order enough to reach max. Shipments take 5–8 days. The algorithm checks inventory daily and reorders automatically.

kits

Pure Predictive Algorithm

Zero buffer: IF SAI < Predicted/day × Short Window → order to Predicted/day × Long Window. Uses each patient's latest dose. No safety stock — stockouts are expected when demand is uncertain.

days
days

Standard Combined Algorithm

Dynamic thresholds move with patient load: IF SAI < Min Buffer + Predicted/day × Short Window → Order to Max Buffer + Predicted/day × Long Window. The most common algorithm across IRT/RTSM systems.

days
days

Standard Combined + DNC Event

Drug expiry impact: Site starts with 15 short-expiry + 10 long-expiry kits. Under FEFO (First Expiry First Out), expiring kits are always dispensed first. At DNC (Do Not Count), remaining expiring kits are removed from SAI — triggering earlier resupply — while still physically dispensable until DND (Do Not Dispense), when they're destroyed.

days

3. Algorithm Comparison

AlgorithmApproachThreshold TypeWhen to OrderStrengthsWeaknesses
Min-MaxStatic levelsFixed min/maxSAI ≤ 8Simple, predictableIgnores patient demand changes; can miss variability
HybridSuvoda-style dynamic buffersLatest dose × weeksSAI below (4 + latest/wk×3)Reacts to titration; balanced safety stockStill relies on most recent dose; lags if dose jumps
Pure Predictive3-week forecast windowZero buffer + predicted needSAI < (predicted/wk × 3)Efficient; minimal excess inventoryNo safety margin; very sensitive to forecast errors
Combined + DNCDynamic thresholds + expiry eventsDynamic (same as Hybrid)SAI drops below threshold after DNC removalHandles drug expiry; prevents gap after kit removalRequires accurate expiry tracking; extra shipments

Live KPI Dashboard (60-day horizon, 500 MC paths)

KPIMin-MaxPure PredictiveHybridCombined + DNC
Avg Shipments
Avg Kits Shipped
Avg Inventory (kit-days)
Stockout Days [P10 / P50 / P90]
E[Missed Units]
Avg Wasted Kits (DNC only)n/an/an/a