Technology

Researchers pair language models with rule checks to generate power-grid limit equations

Researchers at State Grid Sichuan have developed a system that converts written power-grid interface limits into standardized formulas and checks every candidate before release. Their Scientific Reports study reports 92.50% execution accuracy on data from one provincial grid, with the system intended to support experts rather than replace their review.

lake-6307e945-6a40-4e8f-b326-eec5f41d0533-pexels-7867328.webp

From operating documents to formal equations

Grid dispatch centers must keep interface limits up to date as operating patterns become more complex. But the information needed to write those limits can be scattered across procedural clauses, descriptions based on operational experience, and table annotations. The researchers describe manual interpretation and formula preparation as inefficient and vulnerable to omissions.

Formal equations are also an explicit requirement in Australia's National Electricity Market. Under AEMO's Limits Advice Guidelines, version 2, released February 5, 2025, network service providers must supply a limit equation or an offset to an existing equation for each specified limit type. AEMO uses constraint equations in its market systems to operate within thermal overload, voltage, transient stability, oscillatory stability, and system strength limits. It does not accept graphs or tables in place of the required equations.

The Australian guidelines also show the preparation time involved. Providers must submit limit advice at least six weeks before planned energization and at least four business days before a short-notice outage. That time covers grid modeling, due diligence on limits, constraint equation construction, peer review, and testing. A wholesale revision of a complex system-normal limit typically takes the full six weeks.

Generating candidates, then checking their structure

The State Grid Sichuan team treats text-to-formula conversion as generation within a defined grammar. To establish the mapping, the researchers built a corpus and an expert rule repository, then used a domain-adapted BERT-CNN model to identify entities and their logical relationships.

The formula-generation stage combines LoRA instruction fine-tuning with retrieval-augmented generation, drawing on the repository's rules to guide candidate outputs. An abstract-syntax-tree validator then checks each candidate's syntax, types, unit dimensions, and coverage of conditions. Only formulas that satisfy the explicit output grammar are released.

Testing used 2,547 text segments, partitioned at the document level. The system achieved an entity recognition F1 score of 96.83%, alongside the reported 92.50% execution accuracy, and outperformed the traditional deep learning and general-purpose language models evaluated in the study.

Those results apply to a corpus from a single provincial grid, not to demonstrated performance across multiple grids. The authors present the framework as a decision-support tool, subject to expert review, that can help utilities reduce omissions when maintaining interface limits.

A related approach to clinical language

A separate 2026 study in the MathNLP workshop proceedings applied a similar combination of language-model generation and symbolic checking to clinical eligibility criteria. Beliaeva's "Typed Neuro-Symbolic Autoformalization of Quantitative Clinical Language" translated quantitative criteria into executable typed formulas using Llama-3.1-8B-Instruct, two epochs of LoRA training, grammar and ontology token masks, and an independent symbolic verifier.

That study reported 89.2% logical correctness at 78.5% coverage on 200 independently double-annotated criteria. Its clinical task and evaluation measures differ from those in the grid study, so the figures do not provide a direct performance comparison.

The researchers' regional setting

The grid study's authors work at State Grid Sichuan Electric Power Company and State Grid Sichuan Electric Power Research Institute in Chengdu. Separately from the study, the region has expanded its high-voltage infrastructure: according to the Sichuan provincial government, the Sichuan-Chongqing 1000 kV Ultra-High Voltage AC Project entered operation on December 27, 2024.

The provincial government describes it as China's first high-altitude UHV AC project. It raises the main grid voltage in China's southwest from 500 kV to 1000 kV and is expected to carry about 35 billion kWh of clean electricity annually from western Sichuan to load centers in Sichuan and Chongqing.

Share

Twitter/XFacebookLinkedIn

Read also