Control link to the market
The wire between this control plane and the EuroRing marketplace. Control publishes the capacity it may carry; the market matches within it; control reads the cleared flows and carries them.
Connected https://euroring.twinscrollgridbalancer.co.uk
| Last contact | 2026-08-08 01:59:56Z |
|---|---|
| Capacity publishes | 10006 |
| Last delivery tick | 109450 |
| Ring loading (market) | 0.0% |
The market runs a circuit breaker: if the control plane stops confirming capacity for more than 30 seconds, the market auto-halts trading — it will never trade firm capacity the control plane can't confirm. This link publishes every 5 seconds, comfortably inside that window, and the market resumes automatically when the link recovers.
The coupling
EuroRing never dispatches — the market's matched trades are the flow schedule.
POST /api/v1/capacity — the firm-tradable ceiling per link. The market can only tighten it, never oversell.
Nations trade within the published ceiling; price-time priority, never-oversold.
GET /api/v1/schedule & /flows — the cleared flows to carry, and live carriage.
POST /api/v1/events & /metering — incidents and metered delivery.
Mint a control-scoped API key in the market's admin console, then configure:
ControlLink:MarketBaseUrl = http://localhost:5200 ControlLink:ApiKey = erk_...
Set via appsettings.json, environment variables
(ControlLink__MarketBaseUrl), or --ControlLink:MarketBaseUrl on the command line.
Until then the estate runs self-contained — the demonstration works with or without the live market.