Linear Power Flow That Knows When It Is Lying: Certified Models for Constant-Power-Load Grids Across Exponentially Many Configurations

Power grid operators make fast decisions with linearized power flow, which replaces the nonlinear equations relating power to voltage with a straight-line approximation around a reference point. Modern loads are increasingly power electronics: chargers, drives, and regulated converters that hold their power draw constant. To the grid, such a device has negative incremental impedance. When its voltage sags it pulls more current, which deepens the sag, and the feedback can end in voltage collapse. This note argues that the error of the linear model and the grid's distance from collapse are governed by the same matrix. That matrix is the network conductance minus a term $P/V^2$ contributed by each constant-power device. When its smallest eigenvalue shrinks, the linear model becomes inaccurate at the same rate that the grid approaches collapse. A linear power flow built around this matrix can therefore report its own error bar and a collapse margin together, at almost no extra cost.

The hard part is that a feeder with $n$ switchable constant-power devices, such as chargers, PV inverters, and batteries that may consume or inject, has $2^n$ on/off-and-direction patterns. A certificate that holds for one pattern says nothing about the others. We propose to exploit a monotone (order-preserving) structure in these networks so that worst-case voltage and margin bounds over the whole configuration box come from a handful of solves instead of $2^n$. We will measure exactly how conservative the shortcut is against exhaustive enumeration on networks small enough to enumerate. The certified margin then becomes a constraint inside a fast dispatch optimizer.

Core Claim

Take a DC distribution network with one regulated source bus and $n$ constant-power devices. Write $V \in \mathbb{R}^n$ for their voltages, $G$ for the reduced conductance matrix (a symmetric M-matrix, meaning positive diagonal, non-positive off-diagonals, and positive definite), and $P_i$ for the power consumed by device $i$, which is negative if it injects. The equilibrium equations are $GV + b + P \oslash V = 0$, where $b$ collects the source-bus coupling and $\oslash$ is elementwise division. Their Jacobian is

$$J(V,P) = G - \mathrm{diag}\!\left(P_i / V_i^2\right),$$

and the second term is exactly the negative incremental conductance of each device. We define the margin as $\mu = \lambda_{\min}(J)$. Linearizing at an operating point gives $\Delta V \approx -J^{-1}(\Delta P \oslash V)$. A Taylor-remainder argument bounds the error of this prediction. The only curvature comes from the $P/V$ term, whose second derivative is $2P_i/V_i^3$, so

$$\|\Delta V_{\text{true}} - \Delta V_{\text{lin}}\| \lesssim \frac{1}{\mu}\,\max_i \frac{2|P_i|}{V_i^3}\,\|\Delta V\|^2 .$$

Two consequences follow, and both are testable. First, the familiar observation in Scalable Optimization Methods for Distribution Networks With High PV Integration is predicted, not merely reported. That paper builds the SOID dispatcher, a rectangular-coordinate linearization solved by distributed ADMM, and observes that linear models degrade with electrical distance from the slack bus. The bound says that degradation should track $1/\mu$, and that constant-power loads at feeder ends accelerate it. Second, a linear model that omits the $-P/V^2$ term reports a confident answer near collapse, where its true error is unbounded. SOID and flat-voltage linearizations both omit it.

For the configuration problem, the key structural fact is this. Whenever $J$ is a nonsingular M-matrix, $J^{-1}$ is elementwise non-negative. So $\partial V / \partial P = -J^{-1}\mathrm{diag}(1/V)$ is elementwise non-positive: raising any device's consumption, or cutting its injection, lowers every voltage. Voltages are therefore monotone over the whole box of device powers. Undervoltage is worst at the all-maximum-consumption corner, and overvoltage is worst at the all-maximum-injection corner.

For pure loads ($P_i \ge 0$) the margin is also monotone, so a single corner certifies all $2^n$ patterns. With bidirectional devices the margin is no longer monotone. An injecting device's term $|P_i|/V_i^2$ grows as other loads depress its voltage, so the worst case can sit at an interior vertex. This is the open case we target. We bound $\mu$ from below by $\lambda_{\min}(G - \mathrm{diag}(\overline{P_i/V_i^2}))$, where each overbar is computed from the corner voltage bounds. The certificate then costs two nonlinear solves and one eigenvalue problem. The main theoretical task is to prove that a certified corner rules out a fold anywhere inside the box. A fold is the point where the high- and low-voltage solutions merge; ruling it out means the high-voltage solution branch persists throughout the box.

Research Program

The work has three stages. In the first stage, we derive and validate the margin-aware linearization and its error bound on DC microgrids. The setting deliberately matches On Resistive Networks of Constant-Power Devices, which proves sufficient conditions for an equilibrium to exist in purely resistive constant-power networks. That paper is our method source for the $P = \mathrm{diag}(V)GV$ formulation. Its eigenvalue-ratio condition is a competitor certificate, and we expect it to be more conservative because it ignores where the devices sit within the box.

In the second stage, we prove the monotone-corner theorem, build the interval bound for mixed-sign devices, and quantify conservatism against exhaustive enumeration up to $n = 20$, which is about a million nonlinear solves and is feasible.

In the third stage, we insert the linearized margin as a constraint into an SOID-style convex dispatch and test whether its dispatches stay feasible after configuration changes. Linearizing the margin uses the eigenvalue sensitivity $\partial\mu/\partial P_i \approx -u_i^2 \,\partial(P_i/V_i^2)/\partial P_i$, where $u$ is the eigenvector for $\lambda_{\min}(J)$. An extension to AC feeders with inverter-interfaced constant-power loads is a stretch goal. There the Jacobian is non-symmetric and the clean M-matrix argument fails, and we will report honestly whether a weaker monotonicity survives.

Two lines of work constrain the claim. Stability of Interconnected DC Converters shows that interconnected converters can oscillate even when an equilibrium exists, because local controllers cannot guarantee network stability and the tolerable line resistance shrinks as converters are added. Stability Certification Standards for DC Microgrid Networks with Arbitrary Load Configurations handles this dynamic question with a decentralized phase criterion that is invariant to configuration. Our certificate is static: it certifies that an equilibrium exists and that the linear model is valid. It does not replace their dynamic certificate. We will measure how often statically certified dispatches oscillate, and we will evaluate the pairing of both certificates as the deployable package. The non-minimum-phase inverse response analyzed in An Adaptive Passivity-Based Controller of a Buck-Boost Converter With a Constant Power Load is the dynamic effect in which a commanded voltage rise first produces a dip. We expect it to matter most when dispatch setpoints move the system toward small $\mu$. We will test whether a margin floor reduces transient undershoot.

The file's quantum-tomography direction plays a limited role, and we state it plainly. The exponential configuration space is the regime, not a quantum object. From Predicting Features of Quantum Systems using Classical Shadows we borrow only the median-of-means estimator and its logarithmic-in-$M$ guarantee for estimating many properties at once, and we use it to build the strongest random-sampling baseline. Tensor-network compression as in Scalable and Flexible Classical Shadow Tomography with Tensor Networks is unnecessary here if the monotone reduction holds, and we will not force it in.

Baselines

The naive reference point is the flat-voltage linearization: linearize at nominal voltage with no $-P/V^2$ term and assume one fixed configuration. It is what operators would run by default. We report its voltage error and the rate at which it falsely declares feasibility on every test configuration.

The strongest existing dispatch method is SOID from Scalable Optimization Methods for Distribution Networks With High PV Integration. It reports solve times of about 2 to 2.5 seconds on the IEEE 123-node feeder, against 34 to 54 seconds for semidefinite relaxation, while keeping voltages within ANSI limits of 0.917 to 1.042 p.u. We reimplement it on the same networks, load profiles, and ADMM iteration budget as our margin-constrained version. Our version beats it if it cuts post-reconfiguration constraint violations and collapse events while staying within 1.5 times its solve time.

For certification across configurations, two competitors matter. The first is the sufficient condition of On Resistive Networks of Constant-Power Devices, which we evaluate as the fraction of the truly feasible power box it certifies. The second is the decentralized phase criterion of Stability Certification Standards for DC Microgrid Networks with Arbitrary Load Configurations. That paper reports 6.6% to 20% conservatism relative to exact centralized calculations in highly inductive systems. It answers a different, dynamic question, so we compare on the joint outcome of certified, statically feasible, and dynamically stable. The ground truth for all certificates is exhaustive Newton solves plus eigenvalue checks over all $2^n$ vertices for $n \le 20$. On the same data we also run random vertex sampling with median-of-means aggregation, matched in number of solves to our method's budget and to ten times that budget.

Two ablations isolate the key ingredients. The first removes the $-P/V^2$ term, which tests whether the incremental conductance is what makes error prediction work. The second replaces the corner bound with full enumeration, which measures conservatism exactly. For neural surrogates, Predicting AC Optimal Power Flows: Combining Deep Learning and Lagrangian Dual Methods reports average errors as low as 0.2% on NESTA systems with roughly 10,000× speedup over interior-point solvers, using constant-PQ loads. We train it on the same DC constant-power data, with sample count matched to our enumeration budget.

Why not just…?

Why not just add damping or input capacitors so negative impedance stops mattering? Stability of Interconnected DC Converters finds that resistive damping wastes more than 50% of total power. Input shunt capacitors do stabilize small-signal dynamics in their linear model. However, capacitors do not change the steady-state equations. If demand exceeds the existence limit studied in On Resistive Networks of Constant-Power Devices, no equilibrium exists regardless of capacitance. Our margin addresses exactly that static limit, so the hardware fix and our certificate are complementary rather than competing.

Why not just sample random configurations and check them? This is the most serious alternative. Median-of-means sampling gives cheap probabilistic coverage in the spirit of Predicting Features of Quantum Systems using Classical Shadows. Its weakness is that worst cases sit at specific corners. A single all-maximum corner out of $2^n$ is essentially never sampled, while the monotone argument finds it deterministically. In the mixed-sign case, sampling may tie or beat our interval bound on average-case accuracy. The enumeration experiment will show this directly. If sampling at ten times our budget finds no violations that our bound misses, while our bound is markedly more conservative, we will report that sampling dominates for that regime.

Why not just solve full nonlinear power flow or semidefinite relaxations? For one configuration this is the ground truth, and we use it as such. The obstacle is the $2^n$ configurations multiplied by the 34 to 54 second semidefinite solve times reported on the 123-node feeder. Even Newton power flow repeated over every vertex is infeasible beyond about 20 devices.

Why not just train a neural surrogate? The Lagrangian-dual network of Predicting AC Optimal Power Flows: Combining Deep Learning and Lagrangian Dual Methods is accurate on average. It provides no certificate, however, and its training data was not built around the near-collapse corners we care about. We will measure its worst-case error near small $\mu$ against ours.

Proposed Experiments

The DC benchmarks are the 10-bus radial and 8-bus meshed microgrids of Stability Certification Standards for DC Microgrid Networks with Arbitrary Load Configurations, the three-node constant-power benchmark of On Resistive Networks of Constant-Power Devices, and synthetic radial DC feeders with 8 to 20 devices that permit full enumeration. For AC, we use the IEEE 123-node feeder with a fraction of loads converted to constant power. No reported result exists on Lacuna for linear power flow error on constant-power-load networks, so all error numbers for that setting are ours. For the 10-bus and 8-bus microgrids, the file gives no reported figure for existence-margin certification. For the three-node benchmark, the file reports no numerical bus voltages.

The first decisive check is whether the error bound is predictive. Across operating points swept toward collapse, the rank correlation between $1/\mu$ and the observed linearization error should be strong. The no-incremental-conductance ablation should lose this correlation. If error tracks electrical distance but not $1/\mu$, the core claim is wrong.

The second check is the corner certificate. For pure loads we verify zero misses against enumeration. For mixed-sign devices we report the fraction of the truly safe configuration box that the bound certifies, as a function of $n$ and of the injecting fraction.

The third check is dispatch. Over Saint Paul–style daily load and PV profiles with random device switching, we compare SOID and margin-constrained SOID on undervoltage events, failed power flow solves, and solve time.

The fourth check is dynamic. We take statically certified dispatches into switched-converter time-domain simulation and count oscillation or collapse events with and without the phase criterion. This tests whether the static certificate is useful in practice once the interconnection instabilities of Stability of Interconnected DC Converters are present.