Modern buildings are rapidly adopting intelligent systems to improve performance . This necessitates the seamless integration of several components , like the connected device network , distributed generation (DG) , and robust power control frameworks. IoT devices provide live metrics that allow optimized energy consumption and power reliability ,