Grid Connection Studies: 519 Tasks Run by Agents
A vertical engineering agent should be accepted on process, not answers: the same number can come from a real study, from memory, or from the wrong network state, and only replay shows which study ran on which grid.
On this page
A connection application shows 1 voltage and asks for a signature, but which study produced that number? Behind the signature sit 3 decisions: which substation the project reaches, which circuits need reinforcing, and what that reinforcement costs. Behind them sit dozens of network studies and a rulebook that keeps changing. Most people read the final voltage as the answer, and a matching number as permission to proceed. This paper says no.
A right number does not mean the study ran
Make the scene concrete. A developer needs a signature on a 400 MW wind project. The engineer holds an application, a network model of more than 2,000 buses, and a rulebook of several thousand pages. Two decisions sit in front of her: where the line lands, and which circuits get reinforced. The fastest route today is to hand the question to a general coding agent, take the voltage it returns, and move on if the number checks out.
That is the default judgment, and Section 1 of the paper presses on it. A number can be recalled, guessed, or reached by a study run on the wrong grid state[1]. A connection decision commits real circuit investment, and the applicant or the regulator can challenge it, so the engineer has to show which study ran on which network.
The authors name three failure modes. Models write fluent text that no source supports. They cannot be trusted with the arithmetic of large network equations. And a correct answer does not show that the work behind it was correct, because most benchmarks grade only the number. The question is not whether the agent is accurate; it is how you would know.
The paper splits the job in two: rules, and studies
Grid Agents has two parts: Grid Ontology and Grid Studio. One holds knowledge, the other runs studies.
Grid Ontology is the knowledge system. Ontology here is not a philosophical claim; it means regulation, standards and engineering knowledge organised into entries that can be searched, cited, and extended as work proceeds[1]. The GB corpus in the experiments is 27 documents and 6,347 pages, figures and tables included.
It answers only from evidence it has found, and must cite the passages the answer rests on. Beside the documents it holds three kinds of memory: facts about the domain and its projects, skills written down as methods, and lessons drawn from specific jobs. Any change that would affect other people waits for a person's approval. That is the last of the three design principles: agents prepare the work, people decide.
Grid Studio is the engineering half. A grid connection study means running power flow, N-1 contingency and short-circuit analysis on a given network model, to decide whether a project can connect and what it needs. The agent chooses which study to run, in what order, and how to read the result; established solvers compute every number, among them MATPOWER, pandapower and PowerModels.jl.
The test set merges eight published power-system benchmark families into 519 tasks on networks of 4 to 9,241 buses. The families are PowerAgentBench-SS with 15 tasks, PSAB 19, PGLib-OPF 18, PowerCodeBench 352, PFBench 18, RL2Grid 7, PFΔ 71, and ProOPF-B 19.
Depth runs five levels. L1 runs one study on the published network; L2 first applies stated changes; L3 has to find what to change; L4 rebuilds a published operating point of 20 to 261 values; L5 turns a written requirement into a changed optimisation problem. The regulatory side has four: one passage, a figure or table, several passages combined, and the exact character span of a clause.
Replay the record: four checks, none optional
Tool-call replay is the part worth copying. Every step leaves a record: which tool was called, with what arguments, and what came back. Replay means running that record again and checking that what the agent says it did actually happened.
One task makes it concrete. Rebuild a published operating point on IEEE 14-bus: demand at 11 buses, output of 3 units, 4 voltage set-points, 1 unit out of service, then report the voltage at bus 9. The key is 0.904925 pu, tolerance 0.001.
| Check | What replay looks for | A correct number alone |
|---|---|---|
| Answer in tolerance | Voltage within 0.001 pu of the key | The easy one |
| State | gen_1 out of service, every stated demand, dispatch and set-point in force | One change missing, no pass |
| Study type | An AC power flow solved after the last change | Right number, no study behind it |
| Nothing else | No extra open line, no extra value changed | A different network, a different answer |
| Scoring | E = 0.25 × closeness + 0.25 × accuracy + 0.5 × strict pass | Unverified work caps you at half |
The weights carry the argument. Strict pass takes half the score and answer accuracy a quarter, so a system whose work cannot be shown reaches half at most. The authors' reason is practical: an engineer acts on a result only when the study behind it is known to be right.
Four questions to ask at acceptance.
- Ask for the tool-call log, not just the answer. It should carry the call name, the arguments and the return, since all three are needed to recompute.
- Pick one task, and solve the network state from the log yourself, bus by bus.
- Ask how unanswered tasks are scored. The paper leaves them in the mean, because dropping them hands that system an easier paper.
- Count how often the domain tools were actually called. Power-Agent ships PowerMCP's pandapower tools, yet they were called on 46 of 519 tasks and settled 16 alone; the other 503 needed code the agent wrote, and 473 never touched them.
Where the gap sits on 519 tasks
On the knowledge half, both agents answer every GB Regulation Set question correctly, so accuracy is 1.000 for each. The separation is in the citation: recall of 0.967 against 0.856 for Claude Code with file tools, and the widest gap falls on single-passage questions that ask for a number, 1.000 against 0.625.
That gap costs money in review. A correct answer that cites the wrong passage still goes back to a human with the source open. Retrieval pipelines answer fewer questions correctly: vector search with a reranker comes closest, while PageIndex and GraphRAG find the evidence for fewer than half.
On LegalBench-RAG the document-level F1 is 0.980, with a 95% interval of plus or minus 0.030. At the clause level the split is sharper: agentic systems land between 0.47 and 0.62, retrieval pipelines between 0.03 and 0.09. Pipelines find the right contract and miss the clause inside it, and no chunking, hybrid-search or embedding setting the authors swept exceeded a clause F1 of 0.13.
Two public boards follow. The Enterprise RAG Challenge scores 124.5 against 123.7 for the best published entry, and the system correctly declines 45 of the 51 questions the reports cannot answer. ViDoRe V3 scores 70.23 against 70.01, leading on four of eight sets. Both leads are thin.
The engineering half separates more cleanly. Across the 519 tasks Grid Studio scores 99.9%, with 100% on seven of eight families and 99.2% on PowerCodeBench, at a median of 13.9 seconds of agent work per task. Codex CLI reaches 99.4% in 21.6 seconds, Power-Agent 99.4% in 16.8, Claude Code 85.4% in 22.0. The paired tests put both leads below p 0.001, Holm-corrected.
Scale exposes the rest. Of 109 tasks on networks above 2,000 buses, Grid Studio passes 108, Power-Agent 106, Codex CLI 90, Claude Code 74, and the base models none. Nineteen of Codex CLI's 23 misses sit above 2,000 buses, and it takes up to 55% longer per task.
The base models show what the tools are worth. GPT-6.1 sol, the best of them, answers 250 of 519 tasks correctly, 48%, yet none of its work is verified on a network above 39 buses, and it answers two of the seven RL2Grid tasks.
Reinforcement is the last result. On five studies at 30, 118 and 2,000 buses, the agent designed a package alone and again with an optimiser in the loop, drawing on the same priced catalogue.
| Network | Project | Agent alone (US$ m) | With optimiser (US$ m) |
|---|---|---|---|
| 30-bus | 400 MW | 151.0 | 81.6 |
| 118-bus | 500 MW | 173.3 | 71.1 |
| 118-bus | 700 MW | 395.3 | 166.4 |
| 118-bus, three cases | 700 MW | 481.0 | 160.4 |
| 2,000-bus | 1,100 MW | 512.7 | 344.5 |
Both cleared every overload the projects caused, confirmed by an independent AC N-1 check of each final network. The difference is cost: 33% to 67% cheaper on average with the optimiser. The paper reports an average over five studies and gives no distribution, so that band should not be carried to another project.
When this system does not apply
Three boundaries. First, it depends on a structured ontology that someone has already built. The GB corpus is 27 documents; outside those 27 there is no evidence to cite, so the ceiling on regulatory checking is the coverage of the corpus, not the ability of the model.
Second, it depends on established solvers. Every number comes from power flow, N-1, OPF or short-circuit code that already exists, and a study no solver covers gets no number. Third, the largest benchmark network is 9,241 buses while an operator's planning model runs to tens of thousands, and every benchmark task is a single study, where a real assessment chains many. The paper says plainly that none of the 519 poses a multi-stage study.
Three discounts on the evidence. Three adapted families, PowerAgentBench-SS, PSAB and RL2Grid, are graded against a reference solver, which the authors call weaker evidence. Of the 519 questions, 130 are written by the authors from fixed templates. And the 45 GB Regulation Set questions come from 23 of the 27 documents.
So when does it not apply? Where regulation is not yet digitised, or needs interpretation across jurisdictions; where the network is too large for the solver to run; where one agent is expected to carry the signature. If any of the three holds, this is preparation work and nothing more.
One line worth screenshotting: an engineering agent that reports only its answer tells you what it computed, and hides what it computed it on.
