Alarm Event Prediction Based on Structural Causal Model in Smart Substation
Abstract
1. Introduction
2. Methodology
2.1. Causal Model
2.2. Pearl’s Do-Calculus
2.3. Density Clustering Algorithm
3. SCM-Based Situational Awareness Mode
3.1. Situational Awareness Architecture
3.2. Cluster Analysis of Alarm Events in Substation
3.3. Causal Diagram Construction for Alarm Events Using Correlation Analysis and Causal Inference
3.4. Causal Diagram Construction for Alarm Events Using Guided Causal Inference
- Time-Series Data . The observational time-series data collected from the system under study (e.g., substation sensor or alarm data).
- Initial Expert Knowledge Graph . An initial causal graph constructed based on domain expertise, representing prior knowledge about potential causal relationships.
- Base Causal Inference Model . A deep end-to-end causal inference model used to jointly learn causal graph structure and functional relationships.
- Hyperparameters: Guidance strength , sparsity coefficient , training epochs , and batch size .
- Refined causal graph .
- Trained model parameters for structural and functional relationships.
- Model Initialization and Prior Construction
- 2.
- Variational Inference-Based Training
- 3.
- Causal Graph Extraction and Refinement
- Training epochs: 2000.
- Batch size: 128.
- Optimizer: Adam.
- Random seed: 42.
- Gumbel temperature: 0.5.
- Prior sparsity coefficient (λ): 30.0.
- Expert prior weight (λ_expert): 50.0.
- Non-expert penalty weight: 30.0.
- Expert alignment constraint weight: 30.0.
- Embedding size: 32.
- Number of hidden layers: 2.
4. Case Study and Numerical Results
4.1. Dataset and Experimental Setup
4.2. Causal Diagram Construction
4.3. Results of Constructing Causal Graphs Based on Guided Causal Inference
4.4. Based on Causal Analysis Prediction Results
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Fan, L.; Li, J.; Pan, Y.; Wang, S.; Yan, C.; Yao, D. Research and Application of Smart Grid Early Warning Decision Platform Based on Big Data Analysis. In Proceedings of the 2019 4th International Conference on Intelligent Green Building and Smart Grid (IGBSG), Hubei, China, 6–9 September 2019; pp. 645–648. [Google Scholar]
- Guo, Y.; Feng, S.; Li, K.; Mo, W.; Liu, Y.; Wang, Y. Big Data Processing and Analysis Platform for Condition Monitoring of Electric Power System. In Proceedings of the 2016 UKACC 11th International Conference on Control (CONTROL), Belfast, UK, 31 August–2 September 2016; pp. 1–6. [Google Scholar]
- Qiu, X.; Huang, Y.; Liu, G.; Yan, J.; Chen, S. Distribution Network Situational Awareness Prediction Based on Spatio-Temporal Attention Dynamic Graph Neural Network. Energies 2025, 18, 4402. [Google Scholar] [CrossRef]
- Fei, S.-W.; Sun, Y. Forecasting Dissolved Gases Content in Power Transformer Oil Based on Support Vector Machine with Genetic Algorithm. Electr. Power Syst. Res. 2008, 78, 507–514. [Google Scholar] [CrossRef]
- Zhang, L.; Wang, G.; Cao, L.; Dai, Z.; Kou, B. Smart Status Evaluation and Early Warning Approach for Highlyreliable Protection Systems Based on GAN Model and Random Forest Algorithm. J. Electr. Power Sci. Technol. 2022, 36, 104–112. [Google Scholar] [CrossRef]
- Pearl, J. Causal Inference in Statistics: An Overview. Stat. Surv. 2009, 3, 96–146. [Google Scholar] [CrossRef]
- Yao, L.; Chu, Z.; Li, S.; Li, Y.; Gao, J.; Zhang, A. A Survey on Causal Inference. ACM Trans. Knowl. Discov. Data 2021, 15, 74. [Google Scholar] [CrossRef]
- Tang, K.; Huang, J.; Zhang, H. Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effect. In Proceedings of the 34th International Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 6 December 2020; Curran Associates Inc.: Red Hook, NY, USA, 2020; pp. 1513–1524. [Google Scholar]
- Pu, H.; Chen, Z.; Liu, J.; Yang, X.; Ren, C.; Liu, H.; Jian, Y. Research on Decision-Level Fusion Method Based on Structural Causal Model in System-Level Fault Detection and Diagnosis. Eng. Appl. Artif. Intell. 2023, 126, 107095. [Google Scholar] [CrossRef]
- Zhang, D.; Zhang, H.; Tang, J.; Hua, X.; Sun, Q. Causal Intervention for Weakly-Supervised Semantic Segmentation. In Proceedings of the 34th International Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 6 December 2020; Curran Associates Inc.: Red Hook, NY, USA, 2020; pp. 655–666. [Google Scholar]
- Wang, T.; Huang, J.; Zhang, H.; Sun, Q. Visual Commonsense R-CNN. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; pp. 10757–10767. [Google Scholar]
- Prosperi, M.; Guo, Y.; Sperrin, M.; Koopman, J.S.; Min, J.S.; He, X.; Rich, S.; Wang, M.; Buchan, I.E.; Bian, J. Causal Inference and Counterfactual Prediction in Machine Learning for Actionable Healthcare. Nat. Mach. Intell. 2020, 2, 369–375. [Google Scholar] [CrossRef]
- Imbens, G.W.; Rubin, D.B. Causal Inference for Statistics, Social, and Biomedical Sciences: An Introduction; Cambridge University Press: Cambridge, UK, 2015. [Google Scholar]
- Zhang, L.; Deng, S.; Li, S. Analysis of Power Consumer Behavior Based on the Complementation of K-Means and DBSCAN. In Proceedings of the 2017 IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, China, 26–28 November 2017; pp. 1–5. [Google Scholar]
- Singh, H.V.; Girdhar, A.; Dahiya, S. A Literature Survey Based on DBSCAN Algorithms. In Proceedings of the 2022 6th International Conference on Intelligent Computing and Control Systems (ICICCS), Madurai, India, 25–27 May 2022; pp. 751–758. [Google Scholar]
- Deng, D. DBSCAN Clustering Algorithm Based on Density. In Proceedings of the 2020 7th International Forum on Electrical Engineering and Automation (IFEEA), Hefei, China, 25–27 September 2020; pp. 949–953. [Google Scholar]
- Sun, W.; Zhang, Y.; Liu, J.; Cai, B. PCAC: Causal Discovery from Low-Dimensional Small-Scale Time Series. Knowl.-Based Syst. 2025, 327, 114135. [Google Scholar] [CrossRef]
- Wang, B.; Jennings, J.; Gong, W. Neural Structure Learning with Stochastic Differential Equations. arXiv 2024, arXiv:2311.03309. [Google Scholar]
- Distributed Transformer Monitoring. Available online: https://www.kaggle.com/datasets/sreshta140/ai-transformer-monitoring (accessed on 18 February 2026).
- IEC 60076-1; Power Transformers—Part 1: General. International Electrotechnical Commission: Geneva, Switzerland, 2011.
- IEC 60038; Standard Voltages. International Electrotechnical Commission: Geneva, Switzerland, 2009.
- IEC 60255-1; Measuring Relays and Protection Equipment—Part 1: Common Requirements. International Electrotechnical Commission: Geneva, Switzerland, 2022.






| Z | X | Y | Sample Size |
|---|---|---|---|
| 0 | 0 | 0 | 35 |
| 0 | 0 | 1 | 15 |
| 0 | 1 | 0 | 570 |
| 0 | 1 | 1 | 380 |
| 1 | 0 | 0 | 8019 |
| 1 | 0 | 1 | 891 |
| 1 | 1 | 0 | 5 |
| 1 | 1 | 1 | 85 |
| X | Z | Y | Sample Size |
|---|---|---|---|
| 0 | 0 | 0 | 280 |
| 0 | 0 | 1 | 120 |
| 0 | 1 | 0 | 20 |
| 0 | 1 | 1 | 80 |
| 1 | 0 | 0 | 90 |
| 1 | 0 | 1 | 10 |
| 1 | 1 | 0 | 160 |
| 1 | 1 | 1 | 240 |
| Abbreviations | Data | Alarm Threshold |
|---|---|---|
| TO | Transformer Overload | Load > 1.2 pu |
| ATI | Transformer Ambient Temperature High | Ambient temperature > 40 °C |
| OTI | Transformer Oil Temperature High | Oil temperature > 90 °C |
| OLI | Transformer Oil Level Low | Oil level < 70% |
| WTI | Transformer Winding Temperature High | Winding temperature > 110 °C |
| TWF | Transformer Winding Fault | Winding fault protection |
| BCA | Busbar Current Abnormal | Current > 1.2 pu |
| CB_T | Circuit Breaker Tripping | Breaker trip event |
| GFA | Grid Frequency Abnormal | f < 49.5 or >50.5 Hz |
| TVH | Transformer Voltage High | Voltage > 1.1 pu |
| FAULT | Transformer Fault | Oil level trip |
| OLI_T | Transformer Oil Level Indicator Tripping | Composite fault flag |
| Model | Accuracy | Precision | Recall | F1 | Time |
|---|---|---|---|---|---|
| Logistic Regression | 71.8 ± 0.6% | 52.4 ± 0.7% | 78.3 ± 1.3% | 62.8 ± 0.7% | 0.037 ± 0.006 s |
| Random Forest | 94.1 ± 0.3% | 91.8 ± 0.7% | 88.3 ± 0.9% | 90.0 ± 0.6% | 1.861 ± 0.026 s |
| XGBoost | 93.6 ± 0.4% | 87.9 ± 0.7% | 91.6 ± 0.9% | 89.7 ± 0.6% | 0.103 ± 0.039 s |
| Model | Accuracy | Precision | Recall | F1 | Time |
|---|---|---|---|---|---|
| Logistic Regression | 87.7 ± 0.5% | 74.5 ± 0.9% | 90.6 ± 0.9% | 81.8 ± 0.6% | 0.031 ± 0.003 s |
| Random Forest | 95.0 ± 0.3% | 93.9 ± 0.5% | 89.3 ± 0.6% | 91.5 ± 0.5% | 1.524 ± 0.030 s |
| XGBoost | 94.6 ± 0.3% | 90.2 ± 0.9% | 92.2 ± 0.6% | 91.2 ± 0.5% | 0.101 ± 0.038 s |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Lu, X.; Chen, Y.; Fu, Y.; Ren, F.; Ma, Z. Alarm Event Prediction Based on Structural Causal Model in Smart Substation. Energies 2026, 19, 2296. https://doi.org/10.3390/en19102296
Lu X, Chen Y, Fu Y, Ren F, Ma Z. Alarm Event Prediction Based on Structural Causal Model in Smart Substation. Energies. 2026; 19(10):2296. https://doi.org/10.3390/en19102296
Chicago/Turabian StyleLu, Xiang, Youwei Chen, Yijia Fu, Fang Ren, and Zhonggui Ma. 2026. "Alarm Event Prediction Based on Structural Causal Model in Smart Substation" Energies 19, no. 10: 2296. https://doi.org/10.3390/en19102296
APA StyleLu, X., Chen, Y., Fu, Y., Ren, F., & Ma, Z. (2026). Alarm Event Prediction Based on Structural Causal Model in Smart Substation. Energies, 19(10), 2296. https://doi.org/10.3390/en19102296

