As Cyclone Gabrielle batters the NZ grid, new research explores how renewables-based microgrids can bolster energy independence and security.