How Microgrids Contribute to the Energy Transition