A microgrid is a local energy grid with control capability, which means it can disconnect from the traditional grid and operate autonomously.