Microgrids will play a critical role in the advancement of a flexible and efficient electric grid. The use of local supply to serve local demand reduces energy lost in transmission and distribution, increasing efficiency of delivery compared to a centralized grid. When coal is burned to boil water to turn a turbine to generate electricity, two-thirds of the energy is dispersed as waste heat and in-line losses.