Abstract
This paper addresses the challenge of ensuring physically feasible and reliable real-time control of hybrid microgrids in harsh desert environments. A physics-constrained multi-agent Deep Q-Network (MA-DQN) is proposed for energy management of a grid-interactive microgrid in the Moroccan Sahara. The method embeds operational constraints directly into learning through action filtering, penalty-aware rewards, and coordinated PCC control. The results show a reduction in operational cost from 1250 MAD to 1120 MAD (−10.4%) and CO2 emissions from 318.9 kg to 272.5 kg (−14.6%), while maintaining voltage within ±10% limits and eliminating PCC oscillations. The framework delivers stable, reliable, and deployment-ready control.

This publication has 25 references indexed in Scilit: