Microgrids are local energy systems with sources of generation, storage, and advanced automation and control that are able to function with the grid or independently from the grid, delivering: