Why microgrids are becoming an important part of the energy infrastructure