The global energy landscape is undergoing a profound transformation as the world pivots toward decentralization, decarbonization, and digitalization. At the heart of this transition lies the microgrid a localized energy system that can operate independently or in conjunction with the main electrical grid. By integrating renewable energy sources, storage systems, and advanced control...