A 3-phase inverter is operated to control the voltage and its frequency, balancing and levelling of loads, and harmonics mitigation at PCC.