Understand the Systems Behind Microgrids