Show HN: I simulated closing the Strait of Hormuz on real oil trade data

Hacker News Top Tools

Summary

A simulation tool that models the impact of closing the Strait of Hormuz on global oil trade using real UN Comtrade data, with adjustable parameters for capacity retention, demand/supply elasticity, and emergency stockpile drawdown.

OP here: I created this visualization tool as the byproduct of a supply chain class I taught at Columbia. The pedagogical exercise grew into a full blown visualization and paper about global oil trade.<p>The model: The mechanics are the same as the financial network Eisenberg-Noe: Instead of banks, every country consumes oil interconnected via bilateral trading. Shocks propagate throughout the network, depleting oil reserves when bottleneck nodes (such as the Strait of Hormuz) are blocked.<p>Insights: The interesting part is the mechanics of how the crisis unfolds: for example, France receives 0 oil from Hormuz directly, yet their reserves are depleted faster because other countries reactively increase their safety oil stock, increasing oil price, making stockouts more expensive for everyone.<p>The model also gives price dynamics which are interesting on their own: the price increase is not immediate, it follows sequentially as countries reserves deplete.<p>Some caveats: 1. For producer nodes, depletion means their export slack is reduced&#x2F;exhausted. 2. No sanctioned trade (UN Comtrade data)<p>Technical Details: The visualization is 600 lines of flask plus js frontend (LLM assisted visualization with ground-truth matching the original numerical exercise of the paper)<p>Paper with proofs&#x2F;theory: <a href="https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;2607.17491" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;2607.17491</a>
Original Article
View Cached Full Text

Cached at: 07/24/26, 11:04 PM

# SCN Global Flow Monitor — Supply Chain Network Dynamics Source: [https://globaloilnetwork.staffinganalytics.io/](https://globaloilnetwork.staffinganalytics.io/) ## Disruption Scenario Shock Target Scenario Preset Capacity Retained30% Demand Elasticity ε0\.10 Supply Elasticity η0\.10 Horizon26 wks Shock targetCollapse \>60% Degraded 10–60%Insulated Overland / pipeline **SIMULATION**— stress test, not a forecast · UN Comtrade 2025 reported flows \(sanctioned / unreported trade not represented\) · arXiv:2607\.17491 ## Market Price p\(t\) ## Downstream Flow Losses ## Emergency Stockpile Drawdown \(% remaining\) Model & calibration:**Supply Chain Networks**— fluid\-stochastic network clearing, Skorokhod inventory dynamics, endogenous pricing with strategic trade rebalancing\. Stockpile\-depletion events shown for net\-importer emergency buffers; exporter buffers are elastic\-supply accounts \(see paper §5\.2\)\. Capacity\-retained settings bundle bypass infrastructure \(e\.g\., East–West & Habshan–Fujairah pipelines for Hormuz\)\. No rationing policy is modeled: buffers drain mechanically\. [arxiv\.org/abs/2607\.17491](https://arxiv.org/abs/2607.17491)

Similar Articles