Topologies for energy storage in PV systems