THE ROLE OF BATTERIES IN SMART GRIDS AND ENERGY