Microgrids are local self-sufficient energy systems that can disconnect from the traditional grid and operate autonomously.