INTEGRATION OF ENERGY STORAGE SYSTEMS AND GRID