arXiv:2611.09265eess.SYNov 2026

Manuscript Offprint

arXiv:2611.09265

Reconciling European Electricity Data with Diffusion Priors Learned from Observations Alone

Matthias Pirlet, Adrien Bolland, Gilles Louppe, Damien Ernst

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The ENTSO-E Transparency Platform publishes generation, load, and cross-border power flows for European bidding zones. The values carry undocumented errors and violate energy conservation, and data reconciliation consists in correcting them to satisfy that balance. In this work, we formulate data reconciliation as Bayesian inference. Classical methods implicitly take a uniform prior, which we replace with a diffusion model estimated from the observations alone by empirical-Bayes expectation-maximization. The resulting posterior is sampled with a guided process whose projection step makes every sample satisfy the balance exactly. On synthetic systems of six to thirty-five bidding zones, built from ENTSO-E resource-adequacy data, the diffusion prior gives the most accurate reconciliation, increasingly so as the system grows. Its credible intervals are calibrated or conservative, and it remains the most accurate under a misspecified noise covariance. Finally, when the generation of entire zones goes unreported, the classical methods fail while the learned prior recovers it from cross-zone structure.

1 Introduction

Monitoring, planning, and operating electricity systems requires accurate data on generation, load, and cross-border power flows, a need the European Union answered by requiring their publication through the ENTSO-E Transparency Platform, established in 2015 under Regulation (EU) No 543/2013 [1]. The platform reports for every bidding zone the generation by fuel type, the electrical load, and the physical flow on each border. The values are communicated by the transmission system operators (TSOs), who meter large units and interconnections, while the load is derived from generation and exchanges [1]. The quality of the values varies across TSOs and reported quantities [2–4], and no TSO documents the uncertainty of the submitted data. In practice, we observe that, at any hour, the reported generation and imports of a zone do not balance its reported load and exports, with residuals sometimes reaching thousands of megawatts. We call these reported values observations. The state is the same quantities free of reporting errors and satisfying energy conservation.

Recovering the state from the observations is a data reconciliation problem, developed in process engineering for material and energy balances [5]. It differs from power system state estimation, which recovers the bus voltages and angles from grid measurements, where the physics enters through the measurement equations [6]. Here, the state and the observations are vectors of the same quantities, and the physics enters as the zonal balance constraint. Earlier work has trained neural networks to estimate the state of transmission and distribution grids [7, 8] and used diffusion models to perform data reconciliation on corrupted grid measurements [9] and dynamic state estimation [10], but none of it addresses bidding-zone observations.

Let us consider discrete times t=1,…,Tt = 1, \ldots, T, over which the state and the observations evolve. We represent the bidding zones and their interconnections as a directed graph G=(V,E)\mathcal{G} = (\mathcal{V}, \mathcal{E}), where the

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: AI Foundations for Power Grids.

vertices V\mathcal{V} are the zones and the edges E⊆V×V\mathcal{E} \subseteq \mathcal{V} \times \mathcal{V} are the interconnections, each contributing the two edges (i,j)(i,j) and (j,i)(j,i), one per flow direction. Each zone i∈Vi \in \mathcal{V} hosts a set of generation sources Si\mathcal{S}_i. At time tt, zone ii produces gi,s,tg_{i,s,t} from each source s∈Sis \in \mathcal{S}_i, consumes the load di,td_{i,t}, and exchanges the flow fij,tf_{ij,t} on each edge (i,j)∈E(i,j) \in \mathcal{E}. Together these quantities compose the state xt∈Rn\mathbf{x}_t \in \mathbb{R}^n, with n=∑i∈V∣Si∣+∣V∣+∣E∣n = \sum_{i \in \mathcal{V}} |\mathcal{S}_i| + |\mathcal{V}| + |\mathcal{E}|, and we call its components signals. Energy conservation, i.e., generation plus imports equal load plus exports in each zone, is expressed by the ∣V∣|\mathcal{V}| linear constraints Cxt=0\mathbf{C}\mathbf{x}_t = \mathbf{0} at each time, with C∈R∣V∣×n\mathbf{C} \in \mathbb{R}^{|\mathcal{V}| \times n} independent of tt. Generation and flows are non-negative, while load can be negative, because the reported load is consumption minus local generation, and these constraints make the feasible states a polyhedral cone X⊆Rn\mathcal{X} \subseteq \mathbb{R}^n. An observation yt∈Rn\mathbf{y}_t \in \mathbb{R}^n is a noisy view of the state and may violate the energy balance.

The goal is to infer, at each time tt, the state that generated the observations, together with the remaining uncertainty. We formulate reconciliation as Bayesian inference, under the latent variable model of Figure 2 in Appendix A, defined by a prior and a likelihood. For the likelihood, we model the observations as

yt=At(xt+εt),εt∼N(0,Σ),(1)\mathbf{y}_{t}=\mathbf{A}_{t}(\mathbf{x}_{t}+\boldsymbol{\varepsilon}_{t}),\quad \boldsymbol{\varepsilon}_{t}\sim \mathcal{N}(\mathbf{0},\boldsymbol{\Sigma}), \tag{1}

where At∈{0,1}n×n\mathbf{A}_t \in \{0,1\}^{n \times n} is a diagonal matrix whose kk-th diagonal entry is 1 if signal kk is reported at time tt. The observation noise εt\boldsymbol{\varepsilon}_t is assumed to have a diagonal covariance Σ\boldsymbol{\Sigma}, the same for every time tt, so the noise is independent across signals. Under the model, yt\mathbf{y}_t is Gaussian with mean Atxt\mathbf{A}_t \mathbf{x}_t, which defines the likelihood p(yt∣xt)p(\mathbf{y}_t \mid \mathbf{x}_t). Its only parameter is Σ\boldsymbol{\Sigma}, which no TSO publicly documents, so it must be set from domain knowledge. The states themselves follow an unknown distribution p(x)p(\mathbf{x}) supported on X\mathcal{X}. This source distribution is the ideal prior, and the methods differ in the prior they adopt in its place. We model the states as independent and identically distributed across time, ignoring their temporal correlation, and Bayes' theorem gives the posterior

p(xt∣yt)∝p(yt∣xt)p(xt),(2)p(\mathbf{x}_{t}\mid\mathbf{y}_{t})\propto p(\mathbf{y}_{t}\mid\mathbf{x}_{t})p(\mathbf{x}_{t}), \tag{2}

the distribution of the state given the observation. Classical reconciliation implicitly takes the prior uniform over X\mathcal{X}, and we replace it with a diffusion model estimated from the observations alone by empirical-Bayes expectation-maximization [11].