When a PV plant reaches MW scale, inverter control stops being the same thing as grid code compliance. Compliance is judged at the point of common coupling (PCC), where the utility measures voltage and current quality — not at the inverter terminals. A plant with well-behaved inverters can still fail its connection test for that reason, and a medium-voltage STATCOM is usually the device that...