A Benchmark on LLM-Based Power Flow Computation: Do More Structured Prompts Help?
This paper presents a benchmark demonstrating that while Gemini 2.5 Pro outperforms other models in LLM-based Gauss-Seidel power flow computation, no configuration achieves the reliability required for direct numerical solving, and counterintuitively, more structured prompts can degrade accuracy compared to simple narrative formats.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have three different AI "students" (let's call them Gemini, Claude, and GPT-3.5) and you want to see if they can act as a calculator for a power grid. Specifically, you're asking them to solve a classic, step-by-step math problem called "Power Flow," which engineers use to make sure electricity moves safely through a network of wires.
The researchers set up a controlled experiment to see two things:
- Can these AI students actually do the math?
- Does the way you ask the question (the "prompt") change how well they do?
Here is the breakdown of their findings using simple analogies:
The Setup: A Three-Lane Road
The researchers created a tiny, simplified power grid with just three "cities" (buses) connected by roads (transmission lines). They generated 50 different traffic scenarios (random loads and road conditions) and asked the AI to calculate exactly how much electricity the main power plant (the "slack bus") needs to generate to keep everything running.
They tested the AI with four different ways of asking the question:
- The Story: A simple paragraph describing the problem (like a textbook question).
- The Story + Example: The same story, but with a solved example from a textbook right before it.
- The Checklist: A numbered list of steps to follow, asking the AI to show its work.
- The Spreadsheet: A rigid, machine-readable format (JSON) with a strict requirement to show every step of the calculation.
The Results: Who Passed and Who Failed?
1. The "Over-Thinker" (Gemini 2.5 Pro)
- The Surprise: You might think giving an AI a rigid spreadsheet and asking it to show every single step would make it more accurate. It did the opposite.
- The Analogy: Imagine asking a brilliant math student to solve a problem. When you just say, "Here's the problem, give me the answer," they get it right 54% of the time. But when you hand them a complex form and say, "Fill out every box and show your work line-by-line," they get confused, over-complicate it, and their errors tripled.
- Verdict: Gemini is the smartest of the three, but it is very sensitive to how you talk to it. Simple is better; complex instructions actually hurt its performance.
2. The "Steady Eddie" (Claude Sonnet 4.5)
- The Behavior: Claude didn't care much about how the question was asked. Whether it was a story, a checklist, or a spreadsheet, it got the answer right about 38% of the time no matter what.
- The Analogy: Think of Claude as a student who has a specific way of studying. Changing the test format doesn't help them, but it doesn't hurt them either. They just stay in the same "average" zone.
- Verdict: Adding a worked example (showing them a solved problem) actually helped Claude slightly, but it still wasn't good enough to be a reliable calculator.
3. The "Struggling Student" (GPT-3.5 Turbo)
- The Behavior: This model failed almost every single time, regardless of how the question was asked.
- The Analogy: Imagine asking a student who hasn't learned the material yet to solve a calculus problem. Whether you give them a hint, a textbook, or a calculator, they still get it wrong 90% to 96% of the time.
- Verdict: It simply isn't capable of this specific type of complex, multi-step math right now.
The Big Takeaway: "More Instructions" ≠ "Better Results"
The most important finding of this paper is a warning for anyone trying to use AI for math or engineering: Giving the AI more detailed instructions, structured data, or asking it to "show its work" does not guarantee better accuracy.
In fact, for the smartest model tested, making the prompt more complex made it worse. It's like telling a GPS to "recalculate the route using a specific algorithm" when it just needed to say "Drive there." The extra rules confused the system.
The Final Conclusion: Not Ready for Prime Time
The researchers concluded that none of these AI models are ready to replace a real engineering calculator.
- Even the best result (Gemini with a simple prompt) only got the answer right within a 5% margin of error about half the time.
- In the real world, if you are managing a power grid, a 5% error could mean a blackout or a fire. You need 100% precision.
Summary: These AI models are great for explaining what power flow is or helping engineers brainstorm ideas, but they are not ready to be the actual calculators that run the grid. If you ask them to do the math, you still need a human (or a traditional computer program) to double-check the numbers.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.