Micro-grids and energy storage systems