Crude-Blend Optimization at Refinery Scale

ML surrogate + differential evolution for crude-blend / FCC-severity planning at a 650 kbpd refinery — a methodology demonstration built entirely on free, open data (published crude assays, EIA price series), with every number traceable to a cited source or labeled as a documented assumption.

5 REAL ASSAYS EIA PRICES DE ≡ LP 137 OFFLINE TESTS

Live artifacts

Headline results (deterministic, seeded)

ResultValue
Optimal diet (base economics)~100% Alaska North Slope @ max FCC severity
Blend margin$15.67/bbl
Uplift vs equal-weight blend+11.3% (100-seed sweep)
DE vs exact LP≡ within $0.005/bbl — physics are linear in the decision vars
Surrogate 5-fold R² (min)0.982 (gate >0.90); jet leave-crude-out 0.11 disclosed
Re-optimization value under price shocks+$2.56/bbl mean; flips the loss tail (CVaR5 −$3.50 → +$1.42)
Downside risk (10k scenarios)VaR(5%) $6.25 · CVaR(5%) $1.42 · P(loss) 0.8%
DE runtime0.85 s bridge / 3.4 s surrogate (30–60 s budget)

Why it's credible

License: MIT. Not affiliated with Dangote Industries; no proprietary data. · GitHub