Skip to main content
QUICK REVIEW

[Paper Review] Closing the Loop: A Framework for Trustworthy Machine Learning in Power Systems

Jochen Stiasny, Samuel Chevalier|arXiv (Cornell University)|Mar 14, 2022
Energy Load and Power ForecastingEngineering10 citations
TL;DR

This paper proposes a closed-loop framework for trustworthy machine learning in power systems, integrating physics-informed data generation, adaptive sampling, and feedback-driven model refinement to improve N-1 small-signal stability prediction. By embedding iterative assessment and retraining loops, the framework achieves up to 83.9% accuracy and 0.288 MSE on large-scale simulations of the North Sea Wind Power Hub, significantly enhancing model reliability and trustworthiness in safety-critical applications.

ABSTRACT

Deep decarbonization of the energy sector will require massive penetration of stochastic renewable energy resources and an enormous amount of grid asset coordination; this represents a challenging paradigm for the power system operators who are tasked with maintaining grid stability and security in the face of such changes. With its ability to learn from complex datasets and provide predictive solutions on fast timescales, machine learning (ML) is well-posed to help overcome these challenges as power systems transform in the coming decades. In this work, we outline five key challenges (dataset generation, data pre-processing, model training, model assessment, and model embedding) associated with building trustworthy ML models which learn from physics-based simulation data. We then demonstrate how linking together individual modules, each of which overcomes a respective challenge, at sequential stages in the machine learning pipeline can help enhance the overall performance of the training process. In particular, we implement methods that connect different elements of the learning pipeline through feedback, thus "closing the loop" between model training, performance assessments, and re-training. We demonstrate the effectiveness of this framework, its constituent modules, and its feedback connections by learning the N-1 small-signal stability margin associated with a detailed model of a proposed North Sea Wind Power Hub system.

Motivation & Objective

  • Address the growing challenge of integrating stochastic renewables and inverter-based resources into power grids, which complicates grid stability and security assessment.
  • Overcome the lack of trust in machine learning models within safety-critical power system applications due to complex, opaque ML pipelines.
  • Develop a systematic, end-to-end framework that integrates all stages of ML—from data generation to model embedding—while enabling feedback for continuous improvement.
  • Demonstrate the framework’s effectiveness in predicting N-1 small-signal stability margins using physics-based simulations of the North Sea Wind Power Hub.
  • Establish a foundation for deploying trustworthy, reliable ML models in real-time grid operations through structured feedback and validation loops.

Proposed method

  • Integrate five core modules: dataset generation, data pre-processing, model training, model assessment, and model embedding, each addressing a key challenge in trustworthy ML.
  • Use physics-informed sampling strategies (e.g., Latin Hypercube Sampling, directed walks, neural network- and verification-informed points) to generate high-quality, representative training data.
  • Apply physics regularization and neural network-based surrogate models to embed physical constraints into the learning process, improving generalization and interpretability.
  • Implement feedback loops between model assessment and retraining, allowing performance metrics to guide data re-sampling and model refinement iteratively.
  • Leverage multi-fidelity simulations and structured evaluation protocols to assess model performance across stability margins (stable, marginally stable, unstable).
  • Utilize a multi-class classification loss function (L_y in Eq. 15) to quantify model error across stability categories, enabling targeted optimization.

Experimental results

Research questions

  • RQ1How can physics-based simulation data be systematically generated and sampled to ensure high fidelity and coverage for training trustworthy ML models in power systems?
  • RQ2What role do feedback mechanisms between model assessment and retraining play in improving the accuracy and robustness of ML models for grid stability prediction?
  • RQ3To what extent can physics-informed regularization and adaptive sampling strategies enhance model generalization and reduce error in N-1 small-signal stability margin prediction?
  • RQ4How does the integration of model assessment and retraining loops affect the convergence and performance of ML models trained on complex power system dynamics?
  • RQ5Can the proposed closed-loop framework achieve high accuracy and low error in real-world-like scenarios, such as the North Sea Wind Power Hub, under varying data sampling and model configurations?

Key findings

  • The framework achieved a test accuracy of 83.9% on the Uniform 7 dataset (2401 samples), with a mean squared error (MSE) of 0.288 ± 0.042, demonstrating high predictive performance on large-scale simulations.
  • Physics regularization reduced MSE by 20–30% compared to baseline sampling methods, with the best-performing model (Uniform 5 + PR) achieving 0.332 ± 0.040 MSE.
  • Neural network-informed (NI) and verification-informed (VI) sampling improved model robustness, reducing error in marginal and unstable stability regions by up to 40% compared to uniform sampling.
  • The closed-loop feedback mechanism significantly improved model generalization, with retraining based on assessment results reducing error in unstable and marginally unstable classes by 25–35%.
  • Latin Hypercube Sampling (LHC) with feedback loops achieved 83.17% accuracy on the LHC 7 dataset, outperforming uniform sampling (83.92%) in terms of stability and consistency.
  • The framework demonstrated strong scalability, maintaining low MSE (0.277 ± 0.049) on 2401-sample datasets, indicating readiness for real-time deployment in large-scale power systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.