COMPREHENSIVE ANALYSIS OF THE ADVANTAGES AND CHALLENGES OF MICROGRIDS