GRID TIE WITH ENERGY STORAGE SYSTEMS