THE ROLE OF BATTERIES IN PHOTOVOLTAIC SYSTEMS