Pravāh
Blog · November 24, 2026

Building a new generation of grid solvers for data centers with reinforcement learning

Shourya Bose, Helgi Hilmarsson, and Dhruv Suri

An ongoing race is underway to connect AI infrastructure to the grid. However, before a new data center can run, engineers must establish how much demand the grid can safely support, even when a line or generator fails. These studies shape where projects get built and which upgrades they need. Delays in securing power can leave computing infrastructure waiting to operate, making grid connection a critical constraint on the pace of America’s AI buildout.

We are building machine learning models and using reinforcement learning to accelerate those decisions. On a synthetic Texas-scale grid, our model, WARP, reduced average solve time by 71% compared with a cold start, from 47.4 seconds to 13.6 seconds. A cold start means the solver begins without a learned estimate. WARP also outperformed other AI approaches, using 41% less time than CANOS from Google DeepMind and 32% less than IPM-LSTM. Extending the approach with reinforcement learning reduced the time further to 12.1 seconds in a follow-on test.

The opportunity is to radically change how much of the grid engineers can explore before committing billions to infrastructure. Faster calculations could let developers and utilities compare more sites, test larger demand, and identify better upgrade options within the same study budget, supporting more computing capacity without compromising electrical limits.

2026-11-24T16:17:21.873695 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 0 10 20 30 40 50 Reported average solve time (seconds) · lower is better Cold start CANOS IPM-LSTM WARP WARP + RL 47.4 s 23.1 s 19.9 s 13.6 s 12.1 s 2026-11-24T16:17:22.007743 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 0 10 20 30 40 50 Reported average solve time (seconds) · lower is better Cold start CANOS IPM-LSTM WARP WARP + RL 47.4 s 23.1 s 19.9 s 13.6 s 12.1 s
Figure 1. The Texas-scale benchmark reports 13.6 seconds for WARP versus 23.1 seconds for CANOS, a 41% reduction in average solve time. WARP + RL reached 12.1 seconds in a follow-on test. The full comparison and test conditions appear below.

Solving the grid is a mission-critical activity

A new data center adds demand to a network already serving homes, businesses, and industry. If a transmission line fails, electricity shifts onto other lines; if a generator trips, other generators must supply the missing power. Engineers call the loss of one grid component an N−1 contingency. They test these conditions before approving new demand so one equipment failure does not overload the remaining network. The result can determine whether a project can connect as planned or needs costly upgrades.

The scale and urgency are growing together. As of October 31, 2026, ERCOT was tracking 1,847 generation and storage connection requests totaling about 461GW, more than five times its record demand of about 91GW. Meanwhile, the U.S. Department of Energy warned in July 2025 that outage risk could rise 100-fold by 2030 under its projected demand-growth and plant-retirement assumptions if it does not add sufficient dependable capacity. Engineers must assess new connections and the upgrades they need without weakening reliability. Delays in that work can hold back the power infrastructure needed for new data centers. And an incorrect study can have a system-wide effect.

In October 2025, PJM’s independent market monitor urged federal regulators not to approve an agreement for Amazon’s planned data center in Falls Township, Pennsylvania, until it was shown that the grid could serve the new demand reliably and without raising costs for other customers. FERC approved the agreement in November, finding those concerns outside the scope of that proceeding. The dispute illustrates why developers must show how a proposed site will affect the wider grid.

Before a line outageAfter one line is removed (N−1)Removed lineTransmission linesExisting congestionNew congestion after the outageRemoved line

Before a line outage

After one line is removed (N−1)

Removed line
Transmission linesExisting congestionNew congestion after the outageRemoved line
Figure 2. The panels show the synthetic Texas grid before and after removing one transmission line. Power shifts onto other routes, creating new congestion. Engineers must solve the grid calculation again for each outage and demand scenario to identify overloaded lines and assess whether the system can safely serve a proposed data center. These studies help operators assess curtailment risk and developers identify the upgrades needed to connect.

Using reinforcement learning to make grid calculations faster

For a proposed 200MW data center, engineers must find a generation plan that serves its demand at low cost while keeping lines and voltages within safe limits. This is optimal power flow, or OPF. They use numerical solvers, programs that repeatedly adjust electrical values until the equations and operating limits are satisfied. Expanding to 300MW or testing a nearby line failure requires a new calculation. Repeating that work across many sites, demand levels, and failures can limit how many connection options a team can assess before a decision is due.

A conventional solver can begin from a generic estimate and spend many iterations correcting it. Our model, WARP, instead learns from solved grid cases to predict starting voltages, generator outputs, and operating-limit information. The numerical solver starts from these learned values and completes the electrical calculation. We then use reinforcement learning through our Newton’s Lantern method to improve the starting values based on how much work they leave for the solver. This helps engineers test more contingencies and connection options within the same study budget, with fewer convergence failures to investigate.

Starting estimateConverged solutionConventional approachWARPWARP + RL
Starting estimateConverged solution
Conventional approach
WARP
WARP + RL
Figure 3. The conventional approach starts with a standard estimate and iteratively corrects it. WARP predicts a better starting estimate, and Newton’s Lantern uses reinforcement learning to improve it based on the remaining solver work. Reducing solve time lets grid operators and data center developers test more contingencies, identify risks to reliable power, and compare the upgrades needed to connect more computing capacity safely.

WARP cuts solver time by 41% on a Texas-scale grid

We tested how much work this approach saves on a synthetic Texas-scale grid with 6,717 electrical connection points and 9,410 lines, covering changing hourly demand and single-line outages. We compared WARP with CANOS from Google DeepMind and IPM-LSTM, two other learning-based approaches included to test whether WARP speeds up the full optimization workflow. We also measured a cold start, where the solver receives no learned starting estimate.

2026-11-24T16:17:21.873695 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 0 10 20 30 40 50 Reported average solve time (seconds) · lower is better Cold start CANOS IPM-LSTM WARP WARP + RL 47.4 s 23.1 s 19.9 s 13.6 s 12.1 s 2026-11-24T16:17:22.007743 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 0 10 20 30 40 50 Reported average solve time (seconds) · lower is better Cold start CANOS IPM-LSTM WARP WARP + RL 47.4 s 23.1 s 19.9 s 13.6 s 12.1 s
Figure 4. The chart compares average solve time on the synthetic Texas-scale grid. WARP took 13.6 seconds, compared with 23.1 seconds for CANOS, 19.9 seconds for IPM-LSTM, and 47.4 seconds for cold start. The added WARP + RL bar shows 12.1 seconds from a follow-on test. Shorter bars mean faster solves.

In this comparison, WARP used about 71% less solve time than cold start, 41% less than CANOS, and 32% less than IPM-LSTM. Average solver iterations were 40.3 for WARP, 52.7 for CANOS, 41.8 for IPM-LSTM, and 158.3 for cold start. WARP had the lowest reported solve time and iteration count among these four approaches. To illustrate the scale, the 9.5-second difference from CANOS would save about 2.6 hours of accumulated solver time across 1,000 comparable runs at these averages. Engineers can use that computational headroom to examine more outages and demand levels.

In a follow-on test on difficult cases, applying our reinforcement-learning method reduced WARP’s reported solve time from 13.6 to 12.1 seconds and iterations from 40.3 to 35.8.

Time savings are one part of the result. Engineers also need a converged solution to assess a scenario: a run that does not converge leaves the electrical question unresolved. We therefore tested whether reinforcement learning could help in difficult conditions close to voltage collapse, where maintaining acceptable voltage becomes challenging. In this separate power-flow experiment, our trained models helped the solver converge on all 90 test cases across three grid sizes.

2026-11-24T16:18:21.077121 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 118 buses 500 buses 2,000 buses Flat start DC start Supervised fine-tuning PPO + oracle baseline Newton’s Lantern 30/30 30/30 0/30 30/30 30/30 0/30 30/30 27/30 30/30 30/30 29/30 30/30 30/30 30/30 30/30 2026-11-24T16:18:21.300595 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 118 buses 500 buses 2,000 buses Flat start DC start Supervised fine-tuning PPO + oracle baseline Newton’s Lantern 30/30 30/30 0/30 30/30 30/30 0/30 30/30 27/30 30/30 30/30 29/30 30/30 30/30 30/30 30/30
Figure 5. The chart shows how many difficult cases each approach helped the solver finish, out of 30 on each grid. Models trained with our reinforcement-learning method, Newton’s Lantern, finished all 90. On the 500-point grid, ordinary supervised training finished 27 of 30; our method finished all 30.

On the 500-point grid, the comparison model left three of 30 cases unresolved; our method enabled the solver to converge on all three cases. Those are three additional operating conditions an engineer can assess, rather than three convergence failures to troubleshoot. With more usable results, engineers can identify which connection designs stay within electrical limits, utilities can target upgrades at the constraints that matter, and grid operators can assess alternative generation schedules or demand reductions during an outage. The benefit is a stronger basis for decisions about how to serve load reliably.

Important research contributions

  1. Learning from the solver’s feedback speeds up grid calculations: Newton’s Lantern uses reinforcement learning to improve the starting estimates given to a numerical solver. It rewards estimates that help the solver finish in fewer steps. In the Texas-scale follow-on test, applying this feedback to WARP reduced average solve time from 13.6 to 12.1 seconds.
  2. WARP learns both electrical conditions and grid constraints: WARP predicts starting voltages and generator outputs, along with information about which operating limits are likely to restrict the solution. This gives the solver a more complete starting point for finding a generation plan that serves demand within electrical limits. Newton’s Lantern then improves this starting estimate using the solver’s feedback.
  3. Reinforcement learning helps difficult calculations converge: A fast prediction is useful only if the solver can turn it into a completed calculation. We measure solve time, the number of solver steps, and failures to converge, including tests with changed grid connections and difficult voltage conditions. In the separate power-flow tests, Newton’s Lantern helped the solver converge on all 90 cases across three grid sizes.

Using reinforcement learning to assess grid curtailment risk

Grid curtailment is a major business risk for data-center developers and operators: it can threaten service commitments and leave expensive computing capacity unable to run. The risk continues after a site opens. Operators need to understand how often grid supply could be restricted, for how long, and by how much, especially when customer workloads cannot simply be paused.

PJM’s October 2026 draft tariff proposes non-firm service for eligible large loads, including interim service while transmission upgrades are completed. Customers would need to reduce grid draw when instructed. For sites using these proposed services, managing curtailment exposure would be an ongoing operating requirement.

Our models could accelerate the grid calculations within these risk studies. Engineers could test changing demand, generator outages, and line failures to identify when a planned or operating 300MW site might lose access to part of its grid supply. Combined with hourly scenarios, outage probabilities, and the site’s service terms, these calculations could help quantify exposure and compare backup generation, storage, and transmission upgrades.

The goal is to make curtailment exposure something teams can plan around throughout a data center’s life. Developers could compare sites and connection options before investing. Operating teams could reassess risk as the surrounding grid changes and test whether backup resources can sustain customer services through a curtailment event. Faster studies could support better investment decisions and stronger operating plans.

References