← News
Tech for Good Tech for Good Frontiers

The Hidden Physics of the Power Grid: A New Way to See Frequency Fluctuations

The Hidden Physics of the Power Grid: A New Way to See Frequency Fluctuations
1 New statistical method
2 (Great Britain, South Africa) Regions tested
13 pages
9 figures
2 regions tested

The hum beneath your hum

Somewhere inside your walls, electricity is humming at exactly 50 hertz. Or 60, if you live in North America, Japan, or a handful of other places. This frequency is not incidental — it is the pulse of the entire grid, a synchronized heartbeat that tells generators when to push and when to brake. And that heartbeat, it turns out, tells us something profound about the stability of civilization itself.

A team of researchers at Queen Mary University of London and the Karlsruhe Institute of Technology has developed a new statistical method that can reconstruct the invisible forces shaping power grid frequency from data alone. Their approach — published in July 2026 — can predict the probability distribution of grid frequency with unprecedented accuracy, using nothing but a stream of frequency measurements. Tested on two vastly different grids, Great Britain and South Africa, their model matched real-world data with striking fidelity. In an era of increasingly volatile renewable energy integration and growing frequency instability, this work offers something both intellectually elegant and practically invaluable: a way to see the unseeable.

Figure 1: (a) Methodology overview. MLE is performed using measured frequency time series as the sole input. MLE jointly infers the power imbalance, control function, and Gaussian white noise intensity. The inferred quantities are then combined in a superstatistical model to fit the measured frequency distribution. (b) Piecewise-linear control function as in Eqs. 2 to 3. Within the frequency deadband Ω0\Omega_{0}, control is inactive. Outside Ω0\Omega_{0}, in Ω1\Omega_{1} and Ω2\Omega_{2}, frequency deviations are linearly damped by the coefficients γ2≥γ1\gamma_{2}\geq\gamma_{1}, driving the frequency back toward its nominal value.
Figure 1: (a) Methodology overview. MLE is performed using measured frequency time series as the sole input. MLE jointly infers the power imbalance, control function, and Gaussian white noise intensity. The inferred quantities are then combined in a superstatistical model to fit the measured frequency distribution. (b) Piecewise-linear control function as in Eqs. 2 to 3. Within the frequency deadband Ω0\Omega_{0}, control is inactive. Outside Ω0\Omega_{0}, in Ω1\Omega_{1} and Ω2\Omega_{2}, frequency deviations are linearly damped by the coefficients γ2≥γ1\gamma_{2}\geq\gamma_{1}, driving the frequency back toward its nominal value. Source: Alessandro Lonardi, Benjamin Schäfer

The Science

The physics of a living grid

Power grids are not merely engineering artifacts. They are, in the language of complexity science, large-scale dynamical systems that must maintain synchrony across thousands of generators and millions of consumers. The grid frequency — nominally 50 Hz across Europe, 60 Hz across much of the Americas and Asia — encodes the entire balance between power generation and electricity demand. When you flip a light switch, you create a tiny deficit that slows the rotors of nearby generators by a fraction of a rotation. When a coal plant trips offline, the sudden loss of generation accelerates the remaining rotors, and frequency spikes. The grid is in perpetual negotiation with itself, a ceaseless dance of supply and demand that plays out in milliseconds.

Researchers have understood this basic physics since the early twentieth century, formalized in what engineers call the swing equation. The equation relates the rate of change of frequency to the net power imbalance between generation and load, modified by the stabilizing effects of generator control systems. What has proved far more elusive is characterizing the statistical properties of the frequency fluctuations themselves — the full shape of the probability distribution that frequency deviations follow over time.

Why does this shape matter? Because the distribution contains information about the grid's health. Heavy tails — rare but non-negligible swings far from the nominal frequency — can signal strain. Multimodal peaks hint at distinct operating regimes. A distribution that suddenly sharpens or broadens may herald emerging instability. Grid operators already monitor frequency in real time, but most existing analysis tools capture only average behavior or rely on simulations that reproduce statistical features after the fact rather than inferring them from data.

The new research, led by Alessandro Lonardi, Benjamin Schäfer, and Christian Beck at Queen Mary's Centre for Complex Systems, attacks this problem at its mathematical roots. They propose that frequency dynamics can be decomposed into three distinct contributions: a slowly-varying power imbalance signal representing the net mismatch between generation and demand; a nonlinear control function describing how generators damp frequency deviations; and fast Gaussian noise capturing fluctuations too rapid to be explained by the other two. Each component has physical meaning. Together, they constitute an interpretable model of grid behavior rather than a black-box fit.

The methodology

The researchers' core insight is to frame inference as an optimization problem. Given a time series of frequency measurements — say, one point per second over months of continuous recording — they seek the power imbalance signal, the control parameters, and the noise amplitude that together maximize the probability of observing the actual data. This is maximum likelihood estimation, a principled statistical framework that has underpinned everything from pharmaceutical trials to gravitational wave detection.

The mathematical machinery involves discretizing the continuous swing equation using the Euler-Maruyama method, a standard approach for numerically solving stochastic differential equations. This yields a likelihood function — essentially a formula that assigns a probability score to any candidate explanation of the observed data. The researchers then develop a block-coordinate descent algorithm to find the parameter values that maximize this score. The algorithm alternates between solving for the power imbalance signal (a sparse least-squares problem) and optimizing the control parameters and noise intensity, cycling until convergence. Critically, the algorithm runs in seconds even on millions of data points.

One subtlety concerns temporal resolution. The power imbalance evolves on slower timescales than the frequency itself — minutes rather than seconds. If the algorithm allowed the power imbalance to vary at every time step, it would simply absorb all the observed fluctuations, leaving control and noise dormant. To prevent this, the researchers constrain the imbalance to a coarse temporal grid, then interpolate back to the original resolution. The choice of coarseness — how many frequency measurements are averaged into a single imbalance estimate — is determined by cross-validation, a standard technique for selecting model complexity.

Once the model parameters are inferred, the researchers combine them with superstatistical modeling to predict the full frequency distribution. The idea, rooted in work by Christian Beck and colleagues over the past two decades, is to treat the power imbalance as approximately constant over short intervals, yielding a local statistical steady state, and then average these states over all possible imbalance values. The result is a probability distribution for frequency deviations that captures heavy tails, multimodality, and other non-Gaussian features.

The data

The researchers tested their method on two large datasets recorded by phasor measurement units (PMUs) — high-precision instruments that timestamp frequency readings with millisecond accuracy. One PMU was located in London, monitoring the Great Britain grid; the other in Stellenbosch, South Africa. Both time series span eight months, from April 28 to December 31, 2025, with measurements every second. That is roughly 43 million data points per location, or about 496 overlapping 12-hour batches of 43,200 points each. Less than 0.05 percent of the data was missing due to gaps in PMU recording.

Great Britain and South Africa make for instructive comparison. Both are central to their respective energy markets, but their grids differ markedly in size, generation mix, regulatory structure, and typical operating conditions. The Great Britain grid operates at 50 Hz with a narrow frequency deadband of roughly 10 millihertz within which generators do not actively respond. Outside this deadband, grid codes mandate linear damping in two regions: a primary "dynamic moderation" region and a secondary "dynamic regulation" region with steeper damping coefficients. South Africa operates under a different regulatory framework, with no mandated linear damping in the primary region and heterogeneous responses from individual generators. Yet both grids exhibit the heavy-tailed, non-Gaussian frequency distributions that have been observed in power systems worldwide.

What They Found

Heavy-tailedness of power imbalance distributions

Non-extensivity parameter q for qq-Gaussian tail fits in Great Britain and South Africa. Higher values indicate heavier tails in the power imbalance distribution.

Heavy-tailedness of power imbalance distributions
LabelValue
Great Britain1.16 q
South Africa1.273 q

The inference procedure succeeded in both settings, and the results illuminate both the grid dynamics and the model's capabilities.

Disentangling the components

For Great Britain, the optimal downsampling factor — the temporal coarseness of the power imbalance — was found to be N=40, meaning one imbalance estimate per 40 seconds of frequency data. For South Africa, the corresponding value was N=20, reflecting the more rapid temporal fluctuations in that grid's frequency signal. These values were selected by systematically varying N and checking that the inferred noise amplitude did not collapse to zero (a sign that the imbalance was overfitting measurement noise) while also ensuring that slow trends in the data were not averaged away.

The inferred control parameters — the damping coefficients γ₁ and γ₂ in the two operating regions — varied across batches but showed consistent patterns. In Great Britain, the secondary damping coefficient γ₂ was typically larger than the primary γ₁, consistent with grid code mandates that require steeper response as deviations grow. In South Africa, the pattern was less pronounced, reflecting the more heterogeneous generator response.

Dataset scale comparison

Both grids used 8 months of PMU data (April–December 2025) with measurements every second, totaling approximately 43 million data points per location.

Dataset scale comparison
LabelValue
Great Britain (N=40)43 million data points
South Africa (N=20)43 million data points

The power imbalance signal itself, once inferred, closely tracked the daily-averaged frequency. This makes intuitive sense: when generation exceeds demand, frequency rises; when demand exceeds generation, it falls. Over daily timescales, the control contributions approximately cancel the imbalance effects, driving the system back toward nominal conditions. The correlation between daily-averaged imbalance and frequency confirmed this qualitative picture.

Heavy tails, traced to their source

The most striking result concerns the statistical structure of the power imbalance itself. Both distributions exhibit heavy tails — probability mass extending far beyond what a Gaussian would predict. The researchers fitted the tail regions (the outermost 20 percent of observations by absolute magnitude) with qq-Gaussians, a family of distributions that includes the Gaussian as a special case (q=1) and produces power-law decays for q>1. They found q=1.160±0.003 for Great Britain and q=1.273±0.002 for South Africa.

These values confirm that the heavy-tailedness of the frequency distribution is not an artifact of the control mechanism. Rather, it is inherited from the power imbalance itself. Control and noise contribute Gaussian, exponentially decaying tails to the conditional distribution of frequency given a fixed imbalance. The heavy tails emerge from the slow variation of the imbalance over time — from the superposition of many locally Gaussian distributions with varying means and variances. This interpretation had been discussed theoretically, but the new work provides direct experimental validation by disentangling the contributions.

The South African distribution also showed a slight asymmetry, with skewness approximately −0.16, indicating a modestly heavier tail on the negative side. This asymmetry is reflected in the frequency distribution fit, where the model slightly underestimates the height of one mode — a nuanced effect that most previous methods would have missed entirely.

Frequency distribution fits

The ultimate test of the methodology is whether it reproduces the measured frequency histograms. Here, the results are striking. The model predictions align with the data across the full range of frequencies — from tight clustering near zero deviation to the rare extremes in the tails. The researchers show these fits for both grids in their main results figure, with complementary semilogarithmic plots that reveal how well the model captures behavior across many orders of magnitude of probability.

This level of agreement is unprecedented. Previous approaches had achieved either coarse-grained fits or accurate reproduction only in restricted regions of the distribution. The new method achieves high-fidelity inference across the entire probability landscape, using only frequency time series as input. No other data — no market prices, no renewable generation profiles, no weather forecasts — are required.

Why This Changes Things

Reading the grid's vital signs

Power grids are increasingly under stress. The transition to renewable energy has introduced new sources of variability: wind farms that ramp up and down with gusts, solar panels that track the clouds, hydroelectric stations constrained by reservoir levels and environmental flows. Traditional frequency control was designed for large, centralized generators with substantial rotational inertia. As that inertia declines — as synchronous machines are replaced by inverter-connected renewables — the grid's natural resistance to frequency disturbances weakens.

The consequences are not theoretical. In April 2025, a sequence of events knocked out power across the Iberian Peninsula and Chile, affecting tens of millions of people. In 2023, a similar cascade blacked out Pakistan. These events are reminders that the elegant synchrony of the power grid is fragile, and that its failure carries immediate, devastating consequences.

The ability to characterize frequency fluctuations with precision matters for several reasons. First, it allows grid operators to distinguish normal variability from emerging strain. If the frequency distribution begins to broaden — if extreme deviations become more frequent — that is a signal to investigate. Second, it enables better forecasting. A model that accurately captures the full shape of the frequency distribution can predict the probability of crossing safety thresholds, informing decisions about reserve capacity, demand response, and curtailment. Third, it provides a baseline for evaluating changes. When a new renewable plant comes online, or a grid code is revised, operators need to know whether the statistical fingerprint of frequency has changed, and how.

The new research offers all three capabilities in a single framework. The method infers the latent structure of grid dynamics from data alone, without requiring detailed knowledge of individual generator parameters or market conditions. This makes it applicable not only to well-studied grids like Great Britain's, where extensive auxiliary data are available, but also to grids in developing regions where such data may be scarce.

A model that explains itself

Beyond practical utility, the research offers conceptual clarity. Many machine learning approaches to grid dynamics are powerful but opaque — they can predict, but they cannot explain. The new method decomposes frequency dynamics into physically interpretable components: a power imbalance signal, a piecewise-linear control function, and Gaussian noise. Each component maps to a real physical process. The control function directly reflects grid code mandates. The power imbalance captures mismatches between generation and load at the system level. The noise accounts for fast fluctuations that cannot be resolved at the timescale of interest.

This interpretability is not merely aesthetic. When something goes wrong — when the model fails to fit the data, or when its predictions diverge from reality — interpretable models offer clues about why. An opaque neural network might signal distress through a sudden change in its internal activations; an interpretable stochastic model might signal distress through a shift in the inferred damping coefficients or the heavy-tailedness of the power imbalance. The latter is easier to diagnose, act on, and communicate to decision-makers.

Beyond simulation: principled inference

The researchers emphasize a distinction between their approach and simulation-based methods. Many existing models for grid frequency dynamics are calibrated by running numerical simulations with assumed parameter values and checking whether the output statistics match the data. This is a valuable technique, but it is inherently a posteriori: agreement is assessed after the fact, not enforced as a constraint on parameter selection.

Maximum likelihood estimation, by contrast, selects parameters specifically to maximize the probability of the observed data. It is a principled inversion of the modeling process: instead of asking "what simulation would produce this data?" it asks "what parameters most likely produced this data?" The result is a rigorous statistical framework with well-understood theoretical properties — consistency, efficiency, asymptotic normality — and practical benefits like fast computation and built-in model comparison tools.

The computational efficiency of the block-coordinate descent algorithm is worth noting. The normal equations for the power imbalance involve a sparse tridiagonal matrix that can be precomputed and reused across optimization iterations. Solving for the control parameters reduces to a two-dimensional numerical optimization (over γ₁ and γ₂) after analytically eliminating the noise amplitude. The entire procedure runs in seconds on a laptop, even for millions of data points.

Comparing two worlds

The demonstration on Great Britain and South Africa is not just a validation of the method; it is a study in contrasts. Great Britain's grid is large, tightly regulated, and well-instrumented. South Africa's grid is smaller, operates under different market structures, and exhibits faster frequency fluctuations. Yet the same model, with region-specific parameters, achieves excellent fits in both cases.

This suggests the framework is robust — that the essential physics of frequency dynamics is captured by the model structure, while the parameter values adapt to local conditions. The heavy-tailed power imbalance appears to be a universal feature of real grids, not an artifact of any particular market design or generation mix. And the fact that South Africa's more heterogeneous generator response can be approximated by the same piecewise-linear control function as Great Britain's mandated response suggests that the functional form is well-suited to real-world implementation, even where formal grid codes differ.

What's Next

Validating the superstatistical assumption

The superstatistical framework assumes that the power imbalance varies slowly compared to the characteristic damping time of the control dynamics. The researchers validate this assumption by computing the autocorrelation function of the inferred imbalance and fitting it to an exponential decay. In both Great Britain and South Africa, the imbalance autocorrelation decays on timescales of minutes, consistent with the assumption and with previous estimates in the literature.

But the validation is not definitive. The autocorrelation analysis reveals some deviations from a simple exponential — in South Africa, there appear to be two distinct decay regimes, with faster fluctuations superimposed on slower trends. This complexity is not captured by the simple superstatistical model, though the model still fits the frequency distribution well. Future work might explore more flexible superstatistical frameworks that can accommodate multiple timescales.

Extending to non-Gaussian noise

The current model assumes Gaussian white noise for analytical tractability. This choice is pragmatic — Gaussian noise simplifies the Fokker-Planck equation and yields closed-form expressions for the conditional distribution of frequency given a fixed power imbalance. But real grids may exhibit non-Gaussian fast fluctuations, particularly during stressed conditions when multiple generators are responding simultaneously.

The researchers note that alternative noise models — Lévy noise, fractional Gaussian noise, fractional Lévy noise — are possible and have been explored in the literature. These alternatives complicate the analytical treatment but may be necessary for accurate modeling in some regimes. The inference framework itself does not require Gaussian noise; extending it to other noise models would be a natural next step.

Real-time applications

The current analysis is batch-oriented: the researchers split eight months of data into 12-hour windows and run the inference separately on each window. This is appropriate for offline analysis and for understanding long-term statistical properties. But grid operators need real-time insights — they need to know when conditions are becoming unusual right now, not twelve hours from now.

Adapting the method for online inference is an open challenge. The block-coordinate descent algorithm is fast, but it currently solves a full optimization problem from scratch for each batch. A streaming version might update parameter estimates incrementally as new data arrive, rather than recomputing from scratch. This would require new algorithmic work and careful validation to ensure that the online estimates remain accurate and stable.

Integrating with other data sources

The method's ability to work with frequency data alone is a strength, but it is not a limitation that must be permanent. The inferred power imbalance signal reflects aggregate mismatches between generation and load, but it does not directly reveal the sources of those mismatches — which generators are offline, which demand clusters are spiking, which interconnector flows are unusual. Integrating frequency-based inference with market data, weather forecasts, and generator status reports could yield a more complete picture of grid state.

Physics-informed neural networks have been proposed for this kind of integration, using backpropagation to learn latent parameters while respecting known physical constraints. These approaches can incorporate multiple data streams and are powerful when extensive training data are available. The trade-off is that they require more data and more computational resources than the method proposed here. Hybrid approaches that combine the efficiency and interpretability of the new framework with the flexibility of neural networks might offer the best of both worlds.

Understanding grid transitions

The eight-month dataset covers a period of relatively stable grid operation. The authors do not analyze what happens during major disturbances — the kind of events that caused blackouts in the Iberian Peninsula, Chile, and Pakistan. Understanding how the inferred parameters change during a disturbance, and whether the model can predict the approach to instability, is a critical open question.

Preliminary work on other grids has suggested that frequency distributions shift in characteristic ways before major events: heavy tails become heavier, bimodality becomes more pronounced. If the new inference framework can detect these shifts in real time, it might contribute to early warning systems for grid operators. This would require validated case studies on historical disturbance data — a demanding but valuable research direction.

Open science

The researchers have released their code and data for public use. The inference algorithm is available as open-source software, and the measurement datasets from London and Stellenbosch are fully documented. This open science approach is commendable and aligns with best practices in computational science. It means other researchers can validate the results, extend the method, and apply it to other grids without needing to collect their own PMU data.

The availability of code is particularly important for a method like this one. Statistical inference is subtle; small implementation choices — how to initialize the optimization, how to handle convergence criteria, how to select the downsampling factor — can affect results in ways that are hard to diagnose without access to the source. By releasing their implementation, Lonardi, Schäfer, and Beck have made their claims verifiable and their methods reusable.

The bigger picture

Power grids are invisible to most people. The electricity that flows through the outlet when you plug in your phone seems to appear from nowhere — clean, reliable, and cheap. The machinery that makes this possible, the ceaseless synchronization of thousands of generators across hundreds of miles, is hidden behind walls and substations and right-of-way corridors. It is infrastructure in the truest sense: essential, ubiquitous, and unseen.

But invisibility is not the same as invulnerability. The grid is a physical system with physical limits. When those limits are exceeded — when frequency deviations breach safety thresholds — the consequences are immediate and severe. The April 2025 blackouts in the Iberian Peninsula and Chile affected an estimated 50 million people, disrupting hospitals, transportation, and communications. The October 2023 blackout in Pakistan left more than 200 million people without power. These are not minor inconveniences; they are civilization-scale failures.

Understanding the statistical structure of grid frequency is a step toward preventing such failures. The new research by Lonardi, Schäfer, and Beck offers a rigorous, interpretable, and computationally efficient method for characterizing frequency fluctuations from data alone. It works on real grids with real data, not just simulations. It achieves unprecedented accuracy in reproducing probability distributions. And it does so using nothing but the frequency signal that operators already record.

The implications extend beyond power engineering. The methods developed here — maximum likelihood inference for stochastic differential equations, superstatistical modeling of heavy-tailed fluctuations, block-coordinate descent for structured optimization — are applicable to other complex systems where similar dynamics obtain. Financial markets exhibit heavy-tailed returns and mean-reverting volatility. Biological oscillators synchronize and desynchronize. Climate systems fluctuate around slowly-varying equilibria. The mathematical tools for understanding such systems are reusable.

But the most immediate impact is on the grid itself. As the energy transition accelerates — as more renewables come online, as traditional generators retire, as demand patterns shift — the need for precise, data-driven understanding of frequency dynamics will only grow. The researchers have given us a new lens through which to see the grid's behavior, and a new language in which to describe it. What we do with that capability is the next chapter.