Evidence Hub

Physics-Informed Closed-Loop Python–OpenDSS Co-Simulation for Fault Detection and Localization in Inverter-Dominated Microgrids

Nante ZE, Wang Z

2026

Abstract

Protection of inverter-dominated microgrids remains challenging due to limited fault currents, bidirectional power flows, and rapidly changing operating conditions. Although machine learning (ML) techniques have shown considerable promise for fault detection and localization, most existing studies rely on offline datasets that do not fully capture inverter control dynamics and evolving network interactions, often resulting in optimistic performance estimates. This paper proposes a physics-informed closed-loop Python–OpenDSS co-simulation framework that embeds ML-based diagnostic models within a bidirectional simulation environment. The framework enables systematic fault injection, synchronized measurement acquisition, automated feature extraction, and closed-loop diagnostic evaluation under both grid-connected and islanded operating modes. Its performance is evaluated using IEEE 5-, 13-, and 15-bus inverter-dominated microgrid (MG) test systems to investigate scalability and robustness under realistic operating conditions. Results reveal a measurable performance gap between offline evaluation and closed-loop validation, demonstrating that offline accuracy does not necessarily reflect deployable performance. Random Forest and CNN models maintain strong robustness as system complexity increases, whereas K-Means clustering degrades substantially. The proposed framework establishes a reproducible, physics-consistent methodology for benchmarking artificial intelligence (AI)-based…

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free