THE RELATIONSHIP BETWEEN ENERGY STORAGE SYSTEM COMPONENTS AND GRID