A photovoltaic system connected through a controlled grid-interfacing inverter can do more than supply active power. By operating as a shunt active power filter, the inverter can help reduce load-current harmonics, compensate reactive power and improve power factor.