Abstract
The management of modern Active Distribution Networks (ADNs) is increasingly complex due to the proliferation of distributed energy resources and diverse operational objectives. While numerous Domain Specific Models (DSMs) exist to assist operators, their integration is hindered by interface heterogeneity and the high level of expertise required for their operation. This paper presents ADN-Agent, an LLM-based framework that serves as an intelligent orchestrator for power grid operations. By decomposing natural language requests into subtasks and routing them to specialized expert models via a novel Translator-Worker communication mechanism, ADN-Agent achieves a result accuracy of 95.8%. Experimental results demonstrate that this architecture significantly outperforms standard function-calling and multi-LLM paradigms, providing a scalable and robust solution for autonomous grid management.
1. Introduction
Modern power grids are transitioning into Active Distribution Networks (ADNs), characterized by a high penetration of rooftop solar, electric vehicles, and active market participation. This shift transforms grid operation into a multi-scenario, multi-objective challenge. Although engineers have developed specialized tools for optimization, simulation, and data analysis, two primary barriers prevent their effective use:
- Interface Heterogeneity: Different tools utilize varying APIs and data formats, making sequential integration difficult.
- Expertise Dependence: Operating these tools requires specialized knowledge in power systems and mathematical modeling, imposing a significant cognitive burden on human operators.
2. Methodology: The ADN-Agent Framework
The proposed ADN-Agent architecture adopts a "divide and conquer" strategy, organized into three functional layers: the Planner/Summarizer, the Workspace, and the Domain Specific Models (DSMs).
2.1 Planner and Summarizer
A general Large Language Model (LLM), such as Qwen or DeepSeek, serves as the central "brain." The Planner interprets natural language requests and decomposes them into a sequence of manageable subtasks. Upon completion of these tasks, the Summarizer aggregates the raw data into a coherent, human-readable response.
2.2 Communication via Translator-Worker Modules
To address interface heterogeneity, each DSM is encapsulated within a Translator-Worker structure. Instead of the central Planner generating tool-specific code, it sends natural language instructions to a DSM's Translator module (a small LLM). This module converts the instruction into executable commands for the Worker module, which contains the actual simulation or optimization logic.
This decoupling ensures that the system is highly scalable; new tools can be added by simply defining a corresponding Translator without re-prompting the central Planner.
2.3 Automated FT-SLM Pipeline
For language-intensive tasks where general LLMs often fail—such as modifying complex grid models—the authors developed an automated pipeline to fine-tune Small Language Models (SLMs) using Low-Rank Adaptation (LoRA). This pipeline generates and verifies its own training data, minimizing the need for human expert intervention and ensuring high format accuracy for domain-specific tasks.
3. Experimental Evaluation
The framework was evaluated using standard IEEE 33-bus, 69-bus, and 141-bus test systems. A custom benchmark of 40 complex operation requests was used to test situation awareness, decision-making, and analysis capabilities across 120 test runs.
3.1 Performance Comparison
ADN-Agent was compared against several prevalent integration paradigms, including standard Function-Calling and Multi-LLM Collaboration. As shown in the results below, ADN-Agent achieved a superior 95.8% result accuracy and a 100% completion rate.
The standard Function-Calling approach achieved only ~66% accuracy, as the central model often became "confused" by the high dimensionality of tool parameters. In contrast, the fine-tuned SLMs within the ADN-Agent framework achieved near-perfect format accuracy, demonstrating the advantage of using specialized "experts" over a single generalist model.
4. Conclusion and Future Work
The ADN-Agent framework represents a significant advancement in autonomous power grid operation by effectively orchestrating heterogeneous domain models. While the system demonstrates high accuracy and robustness, future work will focus on reducing the latency introduced by multiple LLM inferences and developing "self-evolving" capabilities that allow the agent to refine its own routing logic or create new DSMs autonomously.
Reference: Yang, X., et al. "One Request, Multiple Experts: LLM Orchestrates Domain Specific Models via Adaptive Task Routing." IEEE Transactions on Smart Grid (Submitted/Early Access).
Summary updated