Keynote: Microgrids: Enabling and Optimizing Distributed Generation, from Remote Villages to the Modern Macrogrid