Text this: Utility harmonic impedance estimation based on time series clustering and improved Pettitt method