Input–output

What every industry needs from the others.

BEA's use and make tables say how much each US industry must make for the others and for final demand. Cut demand for one, and the engine solves what all 71 must make.

A geoeconomics simulation on a globe in the CommandAGI workbench: oil flows from the Persian Gulf to China, India, Japan, South Korea, Europe and the United States drawn as arcs, each country coloured by its oil inflow, while the globe turns slowly from the Gulf toward the Pacific.
Recorded in the workbench: the geo-hormuz world on its globe. Its oil side is declared; its input–output side is BEA's 2025 tables.

The model

x = (I − A)⁻¹ f.

The world names two files by ref: flows/input-output/bea-use.csv and bea-make.csv in CommandAGI's Drive. A read turns them into A by BEA's industry-by-industry method, and stamps the year and each file's sha256 on the run. A shock is a cut in final demand, f × (1 − restriction). The engine refuses a table whose spectral radius is 1 or more, and a table it was not given.

How the input–output system couples to the oil priceThe oil market's price sets a restriction on two industries, oil and gas extraction (211) and petroleum and coal products (324), a cut in their final demand of a quarter of the price rise. The Leontief system reads BEA's 2025 summary use and make tables from the Drive and solves the output each of the 71 US industries must make for the others and for final demand.The Leontief system iof × (1 − r)A, f, xrounds through AOil pricefrom the market's updatei_211 and i_324 restriction0.25 × (price / 80 − 1)bea-use.csv · bea-make.csvthe Drive, 2025, summaryOil and gas · Petroleumfinal demand × (1 − r)69 other industrieswhat they supply to the twoHow the input–output system couples to the oil priceThe oil market's price sets a restriction on two industries, oil and gas extraction (211) and petroleum and coal products (324), a cut in their final demand of a quarter of the price rise. The Leontief system reads BEA's 2025 summary use and make tables from the Drive and solves the output each of the 71 US industries must make for the others and for final demand.The Leontief system iof × (1 − r)A, f, xrounds through AOil pricefrom the market's updatei_211 and i_324restriction0.25 × (price / 80− 1)bea-use.csv ·bea-make.csvthe Drive, 2025,summaryOil and gas ·Petroleumfinal demand × (1− r)69 otherindustrieswhat they supplyto the two

Outputs, billion USD a year (2025).

scripts/sites/case-studies.mjs hormuz stepped the world at escalation 1.8 (run 20261105t112541z-fdlc). It read the two files from the Drive: bea-use.csv (4,799 rows) and bea-make.csv (973 rows). Each line is the system's solution that day: oil and gas extraction (211), petroleum and coal products (324), and all 71 industries.

geo-hormuz · io.<industry>.outputthe engine's numbers · simulation · 2026-11-05
day   0  price  $80.0  cut  0.0%  211 429.9  324 586.9  all 51,586.6
day  30  price $108.0  cut  8.7%  211 406.3  324 556.6  all 51,519.6
day  70  price $117.2  cut 11.6%  211 398.4  324 546.6  all 51,497.5
day  90  price  $91.5  cut  3.6%  211 420.2  324 574.4  all 51,559.1
day 120  price  $80.1  cut  0.0%  211 429.9  324 586.8  all 51,586.4

The ripple

A $54.6 bn cut asks $89.2 bn less output.

On day 74, when the price peaks at $117.3, 11.6% of the two industries' final demand is withheld: $54.6 bn a year. Their suppliers then need $22.7 bn less (the first round), and the suppliers' suppliers $7.8 bn less (the second round). All rounds together: $89.2 bn, 0.17% of the $51,586.6 bn the 71 industries make (case-studies/hormuz/stats.json).

A requirements calculation. What the table computes is structural: what each industry must make at the year's coefficients. It is never a forecast. The coupling is declared. The quarter of the price rise that leaves the two industries' final demand is the world's own number, not BEA's. Checked by hand. A test solves (I − A)⁻¹ by Gauss–Jordan on the same 2025 tables. The engine's outputs, and the first and second rounds, match it to 10⁻⁶ (tests/workbench/statistics-input-output.test.mjs).

oil and gas extraction, 429.9 → 398.4 bn
−7.3%
petroleum and coal products, 586.9 → 546.6 bn
−6.9%
support activities for mining, 110.3 → 108.9 bn
−1.3%

Simulated

Two industries' required output through the crisis, USD bn a year (2025)
The numbers
Two industries' required output through the crisis, USD bn a year (2025)
DayOil and gas extraction (211)Petroleum and coal products (324)
0430587
10430587
20424579
30406557
40401549
50399547
60399547
70398547
80403553
90420574
100428584
110430586
120430587
ProvenanceFile cloud://global/examples/simulations/geo-hormuz/geo-hormuz.3d.tsxOutput case-studies/hormuz/stats.jsonTool scripts/sites/case-studies.mjs hormuz: sim-engine.jsRan on This computer (dell-gb10-1)When

Change the coupling. Solve it again.

The coupling is an equation in the world's file. BEA's tables are files in the Drive.