A power plant controller measures the point of interconnection, compares it to a setpoint or utility command, and dispatches inverters to meet grid code.