MARATTO

article · Scientific Reports

Enhancing PI control in microgrids using machine-learning techniques

20251 citationOpen accessPharos University in Alexandria

Abstract

The integration of renewable energy sources (RES) into power systems requires sophisticated control strategies to ensure stable operation. This study presents a comprehensive framework that combines Machine Learning (ML) techniques-specifically Artificial Neural Networks (ANNs) and Reinforcement Learning (RL)-with traditional Proportional-Integral (PI) controllers to enhance microgrid control performance. Traditional PI controllers, while essential for microgrid operation with RES technologies such as solar and wind systems, face challenges in parameter tuning. Suboptimal selection of proportional gain [Formula: see text] and integral gain [Formula: see text] values can result in system instability or degraded performance. Our proposed ML-enhanced framework dynamically adjusts [Formula: see text] based on real-time operational data and historical performance metrics, addressing these limitations. We evaluate three control strategies-traditional PI, ANN-based PI, and RL-based PI controllers-through extensive simulations of a microgrid with distributed energy resources (DERs). The RL-based controller demonstrates superior performance by reducing voltage Total Harmonic Distortion (THD) to 0.43%, compared to 16.99% for traditional PI control. The ANN-based controller achieves a THD of 0.58%, representing a 96.6% improvement over conventional methods. Both ML-enhanced approaches exceed IEEE 1547 requirements while improving settling time by 75% and frequency stability by 93%. These results validate the effectiveness of ML and deep learning techniques in enhancing microgrid stability and reliability, providing practical solutions for advanced RES management in modern power systems.

Research topics

  • Microgrid Control and Optimization
  • Frequency Control in Power Systems
  • Smart Grid Energy Management

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.1038/s41598-025-20781-5

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.