ONLINE POWER GRID AND ENERGY STORAGE PLANNING THE FUTURE OF ENERGY