Batteries for PV systems