Fast interconnection analysis of PV systems using vector quantization