Anomaly detection and topology identification of distribution network based on conditional variational autoencoder

R Rui Xue B Bin Li X Xiang Tang Q Qijian Wang J Jinming Chen Z Zhi Chen H Hao Jiao W Wu Chen W Wenyue He Y Yihang Wang (Department of Chemistry, Chicago Center for Theoretical Chemistry, Institute for Biophysical Dynamics, and James Franck Institute, The University of Chicago)

Abstract

Abstract In the context of the construction of new power systems, intermittent distributed energy sources such as wind and photovoltaic power, as well as new source-load businesses like electric vehicles and energy storage, are increasingly being integrated into the grid, leading to a more complex distribution network topology. Currently, a significant number of non-automated switches remain in operation, with maintenance work primarily relying on manual topology information checks and updates, which can lead to discrepancies between topology records and actual conditions. Delays in updating or errors in updating the topology of distribution networks can adversely affect the normal operation and stability of the grid. This paper first employs a label-conditioned conditional variational autoencoder (CVAE)-based anomaly detection model to identify and eliminate anomalous samples in distribution-network data. Subsequently, a modified CVAE with an improved task formulation is proposed for topology identification. The topology-identification model is initialized using the parameters learned in the anomaly-detection stage, thereby transferring latent-space knowledge from anomaly screening to topology identification. The validation on a practical dataset demonstrates that the proposed strategy can effectively detect anomalous data and achieve high accuracy in topology identification. For the anomaly detection task, the proposed method attained the best performance of AUC (0.9873), TPR (0.9850), FPR (0.0135) and F1-score (0.9857) among comparative methods. In the topology identification task, it also significantly outperformed comparative approaches, as it achieved an AUC of 0.9865 and an F1-score of 0.9623 on the test dataset.

Article Details

Volume / Issue Vol. 1, Issue 1
Published June 29, 2026
ISSN 2045-2322
Publisher Nature Portfolio

Journal Info

Scientific Reports

Nature Portfolio

ISSN: 2045-2322 Open Access Life Sciences

Authors (10)

R

Rui Xue

B

Bin Li

X

Xiang Tang

Q

Qijian Wang

J

Jinming Chen

Z

Zhi Chen

H

Hao Jiao

W

Wu Chen

W

Wenyue He

Y

Yihang Wang

Department of Chemistry, Chicago Center for Theoretical Chemistry, Institute for Biophysical Dynamics, and James Franck Institute, The University of Chicago