THE ROLE OF ENERGY STORAGE IN MICROGRIDS