The benefits of microgrids and the technology behind the Renewable Energy Integration Demonstrator-Singapore (REIDS).