EU Balancing Activation Panel
Pricing
Pay per usage
EU Balancing Activation Panel
Normalized aFRR/mFRR activation and imbalance price-volume panel for EU bidding zones with regime-shift flags and per-day gap registers.
A normalized price–volume panel for EU balancing activation and imbalance settlement: aFRR, mFRR and RR-related series per bidding zone and UTC quarter-hour interval, with regime-shift flags keyed to published platform milestones, per-day gap registers, stable IDs, edit detection, and replay-safe incremental state.
Built for BESS/flexibility revenue modelers, quant analysts at aggregators, traders, and energy consultants who need audit-friendly, machine-readable balancing history without days of manual ENTSO-E/TSO wrangling.
The value is not access to public data — it is the production workflow around it: deterministic normalization with documented methodology notes, DST-safe UTC intervals, original-currency preservation, completeness/gap disclosure, regime-era annotation, change tracking across upstream revisions, bounded durable state, and conservative failure behavior.
Output
Each dataset row is one normalized observation: zone × product × UTC 15-minute interval, output schemaVersion 1.0.0:
- stable
recordId(SHA-256 over source + zone + product + interval start) and separatecontentDigest; zone,product,direction(up/down/none where applicable);intervalStartUTC/intervalEndUTC, always fixed 15-minute resolution;volumewith explicitvolumeUnit(MWinstantaneous vsMWhper-interval energy) because upstream semantics differ;priceEURperMWhplusoriginalCurrencyPrice/originalCurrency(e.g. DKK) when the source publishes them;aggregationMethod:native-intervalfor natively published intervals,sample-meanis reserved for second-resolution aFRR activations averaged per quarter-hour (withsampleCount), which are temporarily unavailable (see below);componentsfor related published fields (spot price, dominating direction, offered/total volumes);regimeFlags: milestone era/adjacency IDs plus rolling z-score volatility clusters (analytical estimate only);completeness: expected vs observed vs missing intervals for the row's UTC day;methodologyNote,fetchedAt,changeType,changedFields, and explicit source attribution.
Products from EnergiDataService: imbalance, aFRR-VWA-up/down, mFRR-marginal-up/down, mFRR-SA-up/down, mFRR-DA-up/down, aFRR-activation (temporarily unavailable). Products from the ENTSO-E Transparency Platform path: activated-price (A85), activated-quantity (A83), procured-quantity (A86), procured-price (A87).
Sources, licenses and honest coverage
| Source | Access | Zones | License/terms |
|---|---|---|---|
| Energinet Energi Data Service | Anonymous REST API | DK1, DK2 | CC BY 4.0; attribution included on every row |
| ENTSO-E Transparency Platform | REST API with your free registered security token | DK1/DK2/DE-LU/AT/NL/BE/FI/ES defaults | Published market information under TP terms; carry its accuracy disclaimer |
Coverage is deliberately deep where sources are verified and explicitly disclosed elsewhere:
- The anonymous default path covers DK1/DK2 with aFRR volume-weighted prices/volumes, mFRR scheduled/direct activation price-volume pairs, marginal prices, and full imbalance-price components.
- The ENTSO-E path implements the official document types A85/A86/A87 (+A83) with strict IEC 62325-451 XML parsing. It requires your own token registered at the Transparency Platform. Default area-EIC codes are provided for eight launch zones but should be verified by you against the official area list before production use.
- National supplements named in the underlying opportunity research (regelleistung.net, OTE-CR, Fingrid, ESIOS) are not covered in v1: their redistribution/automated-access terms were not verifiable at build time and remain an explicit unknown rather than a silently weakened promise.
Regime-shift flags
- Built-in milestone: PICASSO go-live 2024-10-02T00:00Z — verified via Energinet's official discontinued-dataset notice ("no longer updated after October 2nd, 2024, because of the go-live of the PICASSO platform").
- Rows carry
postMilestoneEraId(the latest milestone at or before the interval) and milestone adjacency within a 7-day window after each milestone. - Add your own published milestones (for example MARI's go-live once you have confirmed the exact date you trust) via the
milestonesinput; each entry carries its own source URL so annotations stay auditable. - Volatility clusters are rolling |z|-score flags over trailing same-product prices inside the fetched window. They are analytical estimates, never settlement facts.
Run modes
full re-emits every collected row as snapshot (stateless; ideal for warehouse rebuilds and the default example).
incremental emits only new and updated rows. With a rolling window (no windowFrom) the start is moved back to overlapHours before the last watermark when that is earlier than the lookback start, to catch late upstream revisions. An explicit windowFrom is a hard bound: the window never starts before it, whatever the watermark and overlapHours are.
diff behaves like incremental but also emits unchanged rows for reconciliation.
incremental and diff share one change-tracking state and one resume cursor per configuration. While a window is unfinished (status: "partial"), a run in the other of the two modes is refused before anything is fetched or written, because the two modes owe different rows and finishing the window in the wrong mode would drop them. Re-run the mode named in the error until it reports succeeded, then switch. full is never blocked.
Change tracking keys digests on recordId; only source observations participate in digests (annotations like flags/fetchedAt do not trigger false updates). changedFields names exactly which normalized fields changed.
completeness is window-relative: it counts the intervals this run observed inside the part of the row's UTC day that the run's window covered. It is therefore compared only between two runs that read the same part of that day in full. In that case a late-published or withdrawn interval re-emits the day's other rows for that zone and product as updated with changedFields: ["completeness"] and an unchanged contentDigest. A rolling window that covers a different part of the day, a window resumed after a cap, and state written before this rule existed are not comparable, so they never produce a completeness-only update; the next full read of the same window becomes the new baseline. Replaying an identical fixed window against unchanged upstream data emits nothing in incremental mode.
Example input
{"mode": "full","zones": ["DK1", "DK2"],"sources": ["energidataservice"],"lookbackHours": 12,"maxItems": 1000}
This prefilled example finishes in well under five minutes, produces a non-empty schema-correct dataset from real Energinet data (about 670 rows), and requires no credentials. It is only the example: omitted fields keep their production defaults (lookbackHours 24, maxItems 5000). For the token-gated path add "sources": ["entsoe-tp"] and your entsoeSecurityToken.
Second-resolution aFRR activation (AfrrEnergyActivation, product aFRR-activation) is temporarily unavailable. includeAfrrSecondResolution must stay false (the default): a run with includeAfrrSecondResolution: true is rejected at input validation, before any data is read or written, until the client-side quarter-hour aggregation of its one-sample-per-second feed is corrected. Remove the field or set it to false; all other products are unaffected.
Traversal caps, resume, and write ordering
Cost and runtime are independently bounded by maxItems, maxPagesPerDataset, maxScannedRecords, and pageSize. maxScannedRecords is a hard per-run bound across all sources: an EnergiDataService page is never requested or read beyond the remaining budget, an ENTSO-E document is processed only up to it (and resumed by interval, so a re-published document cannot shift the cursor), and no further request is made once it is spent. Records fetched but clipped to the window (see Limitations) count as scanned. HTTP 429/5xx and network errors receive bounded exponential-backoff retries honoring retry-after; malformed envelopes/records fail closed or are counted as malformedRecords.
If a cap lands mid-window, durable state saves the exact window, mode, per-dataset forward offsets, and a compact replay ledger of already-emitted rows. Page and scan caps continue forward from the saved offsets. A maxItems truncation is different, because rows are emitted in zone/product/time order rather than fetch order: every dataset (or ENTSO-E document) that still owes rows is read again from the offset the truncated run started it at, and the replay ledger skips rows that were already written. Each resumed run therefore re-reads the unfinished part of the pinned window and emits the next maxItems rows, reporting partial / maxItems until no row is owed; only then is the run succeeded, the cursor cleared and the watermark advanced. No row is skipped and no row is written twice. A truncated window that would need more than 40,000 ledger entries is refused before anything is written: raise maxItems or narrow the window. Cursors saved by earlier builds restart their pinned window from offset zero (the ledger still prevents duplicates). OUTPUT.changes counts only rows classified in the run; rows still owed are not counted.
full mode is stateless: it never opens the named state store or lock queue, takes no lease, and reads or writes no durable state, so it can run alongside any other run. In incremental and diff mode the Actor acquires an exclusive writer lease (request-queue-backed with server-side expiry) before any source call. The write order is strict: dataset rows → key-value-store OUTPUT summary → durable state last (change-tracking modes only). Dataset rows are written in emission order as bounded batches (at most 500 rows and about 2 MB per request). A failed batch is never re-sent within the run, because the platform may already have stored it; the run fails before OUTPUT and state, so the next run replays the window into its own dataset. Any earlier failure leaves work replayable; consumers should upsert by recordId and use contentDigest/changeType/fetchedAt to distinguish revisions.
State lives in this Actor's own resources (named KV store eu-balancing-activation-panel-state-v1, lock queue eu-balancing-activation-panel-lock-v1) as immutable uniquely-keyed snapshots with semantic revision selection, retention-based pruning (stateRetentionDays, maxStateEntries), and a hard 3.5 MB budget that degrades gracefully by dropping oldest digests rather than failing runs. Schedule non-overlapping change-tracking runs; overlapping incremental/diff runs can still duplicate replayed rows even though stale state commits are rejected.
OUTPUT record
The OUTPUT key holds the run summary: status/stop reason, per-source windows, scanned/malformed/duplicate/emitted counts, change counts, a bounded gap register (per zone×product×UTC day missing-interval counts), applied milestones, volatility cluster count, explicit disclaimers, timestamp, dataset ID, and attribution array.
Cost expectations
Default memory 1024 MB ≈ 1 compute unit per hour (~$0.20/CU planning example → ~$0.03 per 10-minute run). Typical anonymous-path runs complete in seconds to low minutes depending on lookback and caps. These are planning examples, not quotes; check your run's Usage details.
Limitations and disclaimers
- Outputs are analytical estimates normalized from official publications — not official settlement data. Verify against your TSO/settlement statements before commercial decisions.
- Coverage mirrors what configured sources publish; per-row completeness counters and the OUTPUT gap register disclose holes instead of hiding them. Upstream restatements are detected via overlap windows within retained state.
- Windows are UTC, but EnergiDataService filters
start/endin Danish local time (CET/CEST). The Actor therefore queries local-time bounds that cover the UTC window under either offset, including both clock-change nights, and clips every record to[windowFrom, windowTo)by its UTC timestamp. This reads at most one extra hour of records per dataset and run (one hour on each side for a window spanning the October clock change), which matters mainly for second-resolution aFRR (about 3,600 extra samples per zone and hour). If the service ever returns records outside what its documented local-time contract allows, the run fails instead of silently shifting the window. - EnergiDataService pages are read by
offset/limitin(time, PriceArea)order until the service returns a short or empty page. The response fieldtotalis the size of that page, not of the whole result, and is not used to decide completeness. A window that ends exactly on a page or cap boundary costs one extra (empty) request, in the same or the next run, before it is reported complete. The service rate-limits per dataset (HTTP 429 withretry-after), so a smallpageSizemakes runs slower, not cheaper; keep the default unless you are testing caps. - No FX conversion: EUR values are used as published and original-currency values preserved alongside.
- This Actor is not investment, trading, regulatory, or financial advice, and makes no accuracy or fitness guarantees. Source figures inherit each platform's own disclaimers.
Local development
npm cinpm run lintnpm run typechecknpm run buildnpm test # unit/integration/adversarial/schema/smoke (no network)npm run smoke:live # LIVE_SMOKE=1 real EnergiDataService smokenpm audit --omit=dev && npm auditapify validate-schema
Data source attribution
Data: Energinet Energi Data Service (CC BY 4.0 — "Source: Energinet") and ENTSO-E Transparency Platform when the user supplies a token. Attribution objects ship with every dataset row and every OUTPUT record; review each platform's current terms for your use case. This Actor does not claim ownership of source data.