LLM-DMD: Large Language Model-Based Power System Dynamic Model Discovery

Read full text
Authors: Chao Shen, Zihan Guo, Ke Zuo, Wenqi Huang, Mingyang Sun
Cited by: 0

Abstract

Current model structural discovery methods for power system dynamics impose rigid priors on the basis functions and variable sets of dynamic models while often neglecting algebraic constraints, thereby limiting the formulation of high-fidelity models required for precise simulation and analysis. This letter presents a novel large language model (LLM)-based framework for dynamic model discovery (LLM-DMD) which integrates the reasoning and code synthesis capabilities of LLMs to discover dynamic equations and enforce algebraic constraints through two sequential loops: the differential-equation loop that identifies state dynamics and associated variables, and the algebraic-equation loop that formulates algebraic constraints on the identified algebraic variables. In each loop, executable skeletons of power system dynamic equations are generated by the LLM-based agent and evaluated via gradient-based optimizer. Candidate models are stored in an island-based archive to guide future iterations, and evaluation stagnation activates a variable extension mechanism that augments the model with missing algebraic or input variables, such as stator currents to refine the model. Validation on synchronous generator benchmarks of the IEEE 39-bus system demonstrates the superiority of LLM-DMD in complete dynamic model discovery.

Fields of Study & Subjects

Power System Optimization and Stability Control Systems and Identification Model Reduction and Neural Networks

Publication details

Journal / source
IEEE Transactions on Industrial Informatics
Pages
1–6
Publication date
1 January 2026