DEFINE-UK ecological stock-flow

DEFINE-UK

The stock-flow accounting, the blocks and the pinned run.

Closed accounting, demand-led economy, pinned adapter

Six steps, from the accounting discipline to the running system.

1

What stock-flow consistency means

DEFINE-UK is an ecological stock-flow consistent (E-SFC) model: DEFINE-UK 1.1, April 2026, by George and Dafermos (SOAS), building on the DEFINE model of Dafermos, Nikolaidi and Galanis (define-model.org).

Every row and every column of the transactions matrix closes transactions matrix (manual §2.2 Table 1) wages taxes interest dividends · lending +   −   ·   + −   +   ·   − ·   −   +   · +   ·   −   + each row ∑ = 0 each row ∑ = 0 each sector column ∑ = that sector's net lending
click to expand
Matrix identities (manual §2.2)Accounting before theory · The ecological coupling
Matrix identities (manual §2.2)
Flow rows
∑sTf,s=0 — every flow leaves one sector and enters another
Sector columns
∑fTf,s=LENDs — column sums give net lending
Final demand
Y=C+I+G+X−M — the GDP identity holds in the matrix rows
Emissions
EMIS=EMISELEC+EMISNELEC

Accounting before theory

Stock-flow consistency is an accounting discipline before it is an economic theory.

  • Every monetary flow leaves one sector's account and enters another's.
  • Flows include wages, taxes, interest, dividends and lending.
  • So a transactions matrix sums to zero in every row and column.
  • Every flow accumulates into a stock, so sector balance sheets close each period.
  • Nothing appears from nowhere and nothing leaks out.
  • In the cached upstream outputs that holds in every quarter, with one exception.
  • The exception is three quarters of two fossil-fuel-ban scenarios (limits).

The ecological coupling

The ecological part couples that closed monetary accounting to an emissions and energy block, so climate policy and the financial system move together in one system. An emissions block splits electricity from non-electricity emissions; the components sum exactly to the total in the model's output.

2

Sectors and balance sheets

Households, firms, monetary financial institutions (MFIs), non-monetary financial institutions, government, the central bank, and the rest of the world — each with a full balance sheet.

Seven sectors, each with a full balance sheet households firms MFIs non-monetary financial insts government central bank rest of world every instrument someone holds, someone else owes financial net worth sums to zero across sectors
click to expand
Balance-sheet identities (manual §2.2 Table 2)The sectors · Calibration
Balance-sheet identities (manual §2.2 Table 2)
Instrument rows
∑sBi,s=0 — one sector's asset is another's liability
Sector columns
financial rows sum to FNWs; adding real assets gives NWs
Economy-wide closure
∑sFNWs=0
Calibration
UK national accounts (ONS Blue Book / UKEA); manual §5 tables

The sectors

The balance-sheet matrix (manual §2.2 Table 2) mirrors the transactions matrix: every financial instrument row sums to zero — one sector's asset is another's liability — and each sector's column sums to its net worth.

Calibration

The model is calibrated to UK national accounting data (ONS Blue Book / UKEA), with the manual's §5 tables giving parameters and initial values.

3

The housing and power blocks

Two structural blocks distinguish DEFINE-UK from a generic E-SFC model.

Two blocks where UK climate policy actually bites housing block housing stock by energy efficiency retrofit subsidies & regulation → energy demand & emissions through the stock, not an elasticity power-sector block fossil capital · renewable capital utilisation threshold triggers investment regulation depreciates fossil capital stranded assets as a balance-sheet event felt by the financial institutions that hold the claims
click to expand
The two UK blocksPower · What version 1.1 added

The housing block tracks the UK housing stock by energy efficiency, so retrofit policy — subsidies and regulation — changes household energy demand and emissions through the stock, not through a reduced-form elasticity.

The two UK blocks
Housing
stock tracked by energy efficiency; retrofit policy works through the stock
Power
separate fossil and renewable capital stocks; utilisation threshold triggers renewable investment
Regulation (v1.1)
can directly depreciate fossil capital — stranded assets on balance sheets
New in v1.1
regulatory policies · announcement-limited expectations · government non-fossil capital · green sovereign bonds

Power

The power-sector block carries separate fossil and renewable capital stocks.

  • Government renewable investment triggers when non-fossil capacity falls short of a utilisation threshold.
  • The threshold is set relative to electricity demand.
  • Regulation policies (new in version 1.1) can directly depreciate fossil capital.
  • Stranded assets become an explicit balance-sheet event.
  • The financial institutions that hold the claims feel it.

What version 1.1 added

Version 1.1 (April 2026) added regulatory policies, limited forward-looking behaviour to policy announcements, direct government ownership of non-fossil power capital, and a green sovereign bond instrument.

4

Demand-led closure and multipliers

DEFINE-UK is closed demand-led: output adjusts to aggregate demand rather than being pinned to a supply-side potential path.

Green-public-investment multiplier by horizon Ours is 0.47 after one year from the 2027 policy start and 2.25 cumulated from 2027 to 2040, both nominal. The OBR's published capital-spending multiplier is about 1.0 on impact. Output follows demand, so the multiplier builds with the horizon green-public-investment multiplier, by horizon 0.47 after one year, from the 2027 policy start (ours) ≈ 1.0 OBR capital spending, on impact (published; not like-for-like) 2.25 nominal, 2027 to 2040 (ours) 0 1 2 demand-led closure: no assumed return to potential · every quoted delta carries the caveat
click to expand
Closure and multipliersThe closure · Measured, not asserted
Closure and multipliers
Closure
demand-led: Y adjusts to aggregate demand, not a potential path
Our computation
cumulative green-public-investment multiplier, 2027 to 2040

The closure

Demand-led is the standard post-Keynesian SFC closure, and it has a direct, observable consequence — fiscal expansions are not crowded out by an assumed return to potential, so long-horizon fiscal multipliers come out larger than in supply-constrained models like the OBR emulator.

Measured, not asserted

  • The cumulative green-public-investment multiplier is our own computation: 2.25 per pound of the power-sector spending the policy sets, nominal, from the 2027 policy start to 2040.
  • It is back-loaded, so it sits below published short-horizon multipliers at their horizons (the multiplier by horizon).
  • It includes a Baseline/policy parameter mismatch (limits).
5

Scenarios as policy switches

Each of the 22 published scenarios is implemented as a set of policy switches on the baseline.

The switch setsWhich switches each scenario toggles
The switch sets
Fossil-fuel ban
ban flag + its capacity and investment timings
Power subsidy
POWER_SUB alone
Green public investment
GVT_INVEST · GREEN_BONDS · GREEN_POWER
Housing subsidy
HOUSING_SUB_RATE=0.4 — the published 40% rate

The scenario blocks cover power-sector regulation under five expectation regimes, housing regulation, green public investment and mixed packages.

Verifying the switchesNo numeric scenario results are published for v1.1.

Verifying the switches

No numeric scenario results are published for v1.1.

  • So the switch sets themselves are part of our validation surface.
  • A design gate checks 8 of the cached scenarios against their published descriptions.
  • Each must toggle exactly the claimed policy switches — no more, no fewer.
  • The validation page spells out what that gate does and does not establish.
6

The adapter and the clean-room path

The upstream repository (github.com/DEFINE-model/DEFINE_UK_1.1) is public but carries no licence.

Unlicensed upstream: fetched at a pinned commit, never vendored or hosted upstream R code commit 846081a no licence adapter runtime fetch, runs in R cached run R 4.3.0 · 151 output files deltas only, local only numerical oracle only clean-room Python reimplementation: the manual is the specification source never read for equations · 5 milestones · milestone 1 passed: 44 identity tests of 62 collected
click to expand
Adapter architectureThe constraint · Deltas only, local only
Adapter architecture
Pinned commit
runtime fetch at 846081a; executed unmodified, in R; nothing vendored or hosted
Cached run
R 4.3.0 · 151 output files across all four scenario blocks
Surface
scenario − baseline deltas only, annualised, with mandatory caveats — never levels
Clean room
manual = specification; upstream run = numerical oracle only

The constraint

The missing licence shapes the whole architecture.

  • The adapter fetches the upstream R code at commit 846081a at run time.
  • It executes that code unmodified, in R.
  • Nothing upstream is vendored, redistributed, or hosted.
  • A full notebook run is cached: R 4.3.0, 151 output files, all four scenario blocks.
  • The scenario surface reads from that pinned run, not a per-query model re-run.

Deltas only, local only

The command-line tools return scenario deltas, never levels.

  • pe-macro define-scenarios and pe-macro define-scenario return annualised scenario-minus-baseline delta paths only.
  • Results are framed with mandatory caveats.
  • Never levels: the baseline's calibration gap to ONS/DESNZ/OBR actuals is computed and material.
  • The hosted MCP tools return run instructions instead of results.
  • That is because the unlicensed upstream is never hosted.
  • score_reform will not accept this model.

The clean-room path to hosting

The path to hosting is a clean-room Python reimplementation of the published Model Manual.

  • This is the same adapted-model approach as the OBR emulator.
  • The manual is the specification; the upstream run is a numerical oracle only.
  • Its outputs are compared against ours.
  • Its source code is never read to write equations.
  • Every equation must reference the manual section and equation number it implements.
  • Five milestones run from the accounting core to the full policy scenarios.
  • Gate results are on Validation; progress is on the Use it tab.
Source and authorshipThe manual · the working paper

The specification is the DEFINE-UK 1.1 Model Manual (George & Dafermos, April 2026); the model design belongs to its authors, and our adapter is not endorsed by them. How we run and gate it: the working paper.

Notation 6 symbols
SymbolMeaningStep
Tf,stransaction flow f for sector s (transactions matrix)1
LENDsnet lending of sector s1
Y, C, I, G, X, MGDP, consumption, investment, government spending, exports, imports1
EMISemissions, from electricity (ELEC) and non-electricity (NELEC) sources1
Bi,sholding of financial instrument i by sector s (balance-sheet matrix)2
FNWs, NWssector s's financial net worth; net worth including real assets2