A microgrid is a small-scale power supply network that is designed to provide power for a small community. It enables local power generation for local loads. It comprises of various small power-generating sources that makes it highly flexible and efficient.