The Price of Locality in Grid Contingency Response

When a transmission line trips, the power it carried does not wait for anyone. It redistributes within milliseconds across parallel lines according to their electrical impedances, and those neighbors may now be overloaded. Today the grid handles this in two ways. The first is preventive: a central optimizer runs the base-case dispatch conservatively enough that every single-line outage is survivable. The second is corrective: a central optimizer computes, for each possible outage, the follow-up actions that would fix any overload. Both require a central solve that takes minutes on large systems. Computer networks faced the same problem and built a third option, local fast failover. Each switch carries pre-installed if-then rules that fire on locally detected failures, without asking a controller. A well-developed theory there says exactly what such local rules can and cannot guarantee. This proposal carries that question into power grids. It asks how much of the benefit of centrally computed corrective action survives when each generator's or device's response may depend only on what it can observe locally, and how that loss depends on how far a device can "see."

The core idea is simple to state. We take the standard security-constrained AC optimal power flow, which is the full nonlinear, non-convex dispatch problem with outage scenarios. We add one family of constraints: a device's post-outage action must be identical across all outages that look the same from that device's local vantage point. Varying the vantage point traces a curve. One end is a lookup table that needs no communication. The other end is full centralized corrective response. The gap between the ends is a measurable "price of locality" in dispatch cost and constraint violations. A second knob comes from the routing literature: how many local actuators may share each response. Computing this curve on standard benchmarks tells operators whether locally triggered rules are worth deploying, and how much neighbor communication they need.

Core Claim

We claim that locality can be written as an information constraint on the recourse variables of security-constrained AC optimal power flow, and that this constrained problem can be solved at benchmark scale. Let $\mathcal{C}$ be the outage list. Let $\Delta u_i^c$ be the corrective action of device $i$ (generator setpoint change, shunt or tap step) after outage $c$. Let $\sigma_i^h(c)$ be what device $i$ observes after $c$ within a radius of $h$ hops: breaker status of lines within $h$ hops, and optionally the measured flow change on its own incident lines. The locality constraint is

$$\Delta u_i^c = \Delta u_i^{c'} \quad \text{whenever } \sigma_i^h(c) = \sigma_i^h(c'),$$

which forces each device's rule to be a function of its local observation only. A bounded-splitting constraint caps at $k$ the number of devices that respond to any given observation. We expect two things. First, the cost gap to centralized corrective response will shrink sharply between $h=0$ and $h=2$. Second, a measurement-augmented $h=0$ rule will recover much of the $h=1$ benefit. In that rule, a device reads the post-trip flow jump on its own lines, which carries a fingerprint of which remote line tripped. If either expectation fails, that is itself informative. A flat curve would mean locality is free and existing automatic response is enough. A steep curve would mean only central correction helps.

What Exists and What Does Not

The locality question comes from routing theory. On the Price of Locality in Static Fast Rerouting and On the Feasibility of Perfect Resilience with Local Fast Failover prove that switches acting only on incident link status cannot guarantee delivery on general non-planar graphs. The failure persists even when many disjoint paths survive. On the Internet Topology Zoo, roughly 42.5% of real networks cannot be made perfectly resilient under destination-based rules. These results motivate our question but cannot answer it. Their objects are uncapacitated paths, while grid flows obey Kirchhoff's laws and thermal limits. Their question is a yes/no connectivity guarantee, while ours is a graded cost and violation trade-off. We also borrow one of their mechanisms, using the arrival interface as an implicit failure signal. It becomes our measurement-augmented rule, in which the flow jump on an incident line plays the role of the arrival port.

On the power side, two Grid Optimization competition codes supply the method and the strongest baseline. A Decomposition Algorithm for Large-Scale Security-Constrained AC Optimal Power Flow (GO-SNIP) decomposes into a master problem and per-outage subproblems. It models post-outage behavior through automatic governor and voltage-regulator response and screens out over half of the outages as low-risk. Solving realistic security-constrained optimal power flow problems (gollnlp) scales the same structure to 70,000 buses and 200,000 outages within 15 minutes, using warm starts and a fourth-power flow penalty that discourages base-case loading on vulnerable lines. Both codes assume a central solver that knows which outage occurred. Our proposal keeps their decomposition but couples outages that share a local information set. That coupling is the new structure.

Two decentralized-control results constrain the design. Plug-and-Play decentralized Model Predictive Control proves that removing a subsystem needs no redesign of the remaining controllers, but only for linear dynamics. Line removal in AC grids shifts flow non-locally, so we treat that asymmetry as a hypothesis to test rather than something we can rely on. ADMM-based distributed OPF, surveyed in Decentralized Control for Scalable Power Grids, needs many communication rounds to reconverge after outages. The best reported improvement in that survey is a 59% reduction in iterations. This is why we pre-compute rules instead of re-solving online.

On Routing Optimization in Networks With Embedded Computational Services shows that splitting a flow over just two paths captures most of the gain of arbitrary splitting. We test the analogue for corrective response: does spreading each response over two actuators capture most of the benefit of unrestricted participation? Finally, Physics-Informed Graph Learning Acceleration for Large-Scale AC-OPF with Topology Changes (GraphOPF) adapts to new topologies in under a minute with over 99% feasibility. It is still a central inference engine, though, not a local rule.

Research Program

The first component is the formulation. We will extend the GO Challenge 1 security-constrained AC model, with its AC branch equations, thermal emergency ratings, voltage bounds and automatic generator response, in three ways. We add the information constraint above for a chosen radius $h$. We add a support limit $k$ on responders per observation, written with binary indicators. We add an optional measurement-augmented observation. In that variant, each device's rule is piecewise constant over a small number of bins of its incident-line flow change, with the bins chosen offline.

The second component is the solver. Outages that share an information set at some device can no longer be solved independently. We will therefore treat each device's rule as a shared variable held in the master problem. Subproblems will be solved in parallel as in GO-SNIP and gollnlp, with consensus constraints only across outages that the device cannot distinguish. The binary support limit is handled by a relax-and-round heuristic. We report the rounding loss against the relaxed bound.

The third component is evaluation. Each rule table is tested by replaying every outage under AC power flow with the table's actions applied. We count thermal emergency-rating and voltage violations and report the dispatch cost. Rule-table size, the number of distinct (observation, action) entries, stands in for the switch-memory footprint that the routing literature tracks.

The fourth component is analysis. For each benchmark we plot the price-of-locality curve: cost and violation mass against $h \in \{0, 1, 2, \infty\}$, with and without measurement augmentation, for $k \in \{1, 2, \text{unrestricted}\}$. We will also try to relate where the curve bends to network structure, using electrical distance of outages to responders as the proposed explanatory variable.

Baselines

The naive reference point is preventive-only security-constrained AC optimal power flow, with the automatic governor and voltage response used in GO-SNIP and gollnlp and no further corrective action. This is $h=0$ with no rules. Any local rule table must beat it on cost at equal or lower violation, or the proposal adds nothing. We run it with the same solver code, outage lists and time budget as our method.

The strongest competitor is fully centralized corrective security-constrained AC optimal power flow, the $h=\infty$ end of the curve. Each outage gets its own optimized correction, computed by the gollnlp-style decomposition. It is the strongest because it has strictly more information than any local rule, so it lower-bounds our cost. Our aim is not to beat it on cost but to come within a small fraction of its savings over preventive-only operation, while acting without communication. The file reports scale and runtime for this class of method: up to 70,000 buses and 200,000 outages within a 15-minute window, with warm starts cutting compute by 50–80%, per Solving realistic security-constrained optimal power flow problems. We found no reported result on Lacuna for the cost difference between preventive and corrective solutions on GO datasets, so we will compute that number ourselves under identical settings. Beating this baseline means recovering at least most of the centralized corrective savings at $h \le 1$, with rule tables an order of magnitude smaller than one entry per outage per device.

A learned central baseline is GraphOPF, retrained to predict post-outage corrective setpoints from the outage identity. It is run on the same cases with its reported transfer-learning budget. It shows whether a fast central predictor makes local rules unnecessary.

Two ablations isolate the key ingredients. The first removes measurement augmentation at $h=0$, which tests whether the implicit flow-jump signal carries the benefit. The second fixes $k=1$ against unrestricted participation, which tests the bounded-splitting hypothesis. A third ablation designs rules post hoc on a fixed preventive base case instead of jointly, which tests whether joint co-design matters.

Why not just…?

Why not just let the central operator correct after the outage? If correction can be applied within the short-term emergency rating window, centralized correction dominates on cost, and the competition codes show it is computationally tractable in 15 minutes. That is precisely the problem. The overload exists from the moment of the trip, and a minutes-scale solve plus dispatch round-trip leaves lines above rating in the meantime. Fault-detection-to-controller latency is the reason FAPR found purely reactive recovery over 65% slower than pre-installed local failover in software-defined networks (FAPR). Our curve answers the operator's question directly. If $h=0$ or $h=1$ rules recover nearly all corrective savings, the latency is avoidable. If they recover little, centralized correction remains the right tool and we will say so.

Why not just design the rules with a linear DC model? This is a real threat, because the DC model would make the information-constrained problem a mixed-integer linear program that is far easier to solve. We will design DC rule tables and replay them under AC power flow. PGLib's stressed variants show AC effects producing optimality gaps beyond 10% (The Power Grid Library for Benchmarking AC Optimal Power Flow Algorithms), so we expect DC-designed rules to show voltage violations on stressed cases. If they do not, a DC design is the practical recommendation.

Why not just re-solve distributed OPF among neighbors after the trip? ADMM-style neighbor coordination is the natural decentralized alternative. Its reconvergence after outages takes many rounds even with learned penalty tuning (Decentralized Control for Scalable Power Grids), and it carries no feasibility guarantee mid-iteration. Our $h$-hop rules are its zero-round limit. We will compare against ADMM truncated at 1, 5 and 20 rounds to see where online iteration overtakes pre-computed tables.

Why not just rely on existing automatic generator response? That is the do-nothing baseline above. If the curve is flat, it wins, and the proposal's main finding becomes that grid locality costs almost nothing. We consider that a plausible and publishable outcome, not a failure to hide.

Proposed Experiments

We start with the smaller ARPA-E GO Challenge 1 networks used by GO-SNIP and gollnlp, which ship with outage lists. We then scale to the PGLib-OPF GOC-2312 and GOC-3970 cases, with N-1 line outage lists that we generate. To check behavior under stress, we also run their API and SAD variants, where AC effects dominate. For each case we compute the full price-of-locality curve over $h$, $k$ and measurement augmentation. We report dispatch cost relative to preventive-only and centralized corrective, total thermal and voltage violation mass under AC replay, rule-table size, and solve time.

Three checks are decisive. The first is whether measurement-augmented $h=0$ rules close most of the gap to $h=1$. This is the transported version of the routing result that the arrival interface is an implicit failure signal. The second is whether $k=2$ captures most of the unrestricted-participation benefit, as two-path splitting does in On Routing Optimization in Networks With Embedded Computational Services. The third is whether rule tables designed for the listed outages generalize. We test this on held-out load perturbations and on second outages (N-1-1) that were not in the design set, which probes the plug-and-play "unplugging needs no redesign" asymmetry of Plug-and-Play decentralized Model Predictive Control under AC physics. A locality curve that is steep at $h=0$ and flat by $h=1$, with generalization holding on held-out outages, would justify deploying one-hop local rules. Any other shape tells operators clearly which end of the spectrum to stay at.