Abstract
New network infrastructure presents a risk to wider power systems, motivating the need to analyze low-voltage distribution network behaviors. Power systems engineers have taken to increasing usage of Large Language Models (LLMs) to conduct detailed and realistic scenarios of network utlisation. However, existing workflows for performing power flow, fault, and reliability analyses, either through general-purpose models or manual coding, remain inefficient, typically requiring intricate topology extraction, detailed parameter definition, and rigorous code validation. To overcome these limitations, this paper introduces a domain-specific fine-tuning strategy for LLMs. This method can generate direct and automated standardized simulation code from geographic data. The proposed method not only automates code creation but also clearly annotates critical parameters. This method also allows engineers to easily modify the code and significantly enhances the efficiency of preliminary modeling processes. Additionally, the performance of various foundational models is compared in this paper. Experimental evaluations indicate that the fine-tuned CodeGemma model achieves superior outcomes, with a syntax accuracy rate of 92.5%. Evaluation also shows a convergence success rate of 31.7% under specified conditions, highlighting the substantial potential of this method to enhance the effectiveness of power system planning.
| Original language | English |
|---|---|
| Title of host publication | 2026 IEEE PES International Meeting (PES IM) |
| Publisher | IEEE |
| Number of pages | 5 |
| ISBN (Electronic) | 979-8-3315-6645-6 |
| ISBN (Print) | 979-8-3315-6646-3 |
| DOIs | |
| Publication status | Published - 23 Mar 2026 |
| Event | IEEE Power and Energy Society International Meeting: Global Power and Energy Systems Resilience: Leveraging Collaborative Expertise - Kowloon Shangri-La, Hong Kong, China Duration: 19 Jan 2026 → 25 Jan 2026 https://www.pes-im.org/ |
Conference
| Conference | IEEE Power and Energy Society International Meeting |
|---|---|
| Country/Territory | China |
| City | Hong Kong |
| Period | 19/01/26 → 25/01/26 |
| Internet address |
Funding
This work was jointly supported by the EPSRC Innovation Launchpad Network + Researchers in Residence through the project of "Digitally-Enabled Flexibility Assessment of Multi-Energy Systems Toward Net-Zero Transition" (RIR35231118-1), and BRIDGE Signature Initiative 'Sustainability' Funding through the project of "Digitalisation for Equitable Community Energy and Clean Water Nexus for Resilient Transition (DECENT)".
Keywords
- fine-tuning model
- large language model
- OpenDSS simulation
- newly-developed area
Fingerprint
Dive into the research topics of 'Automated distribution network modeling using fine-tuned large language models'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver