**Combined Cluster Analysis and Global Power Quality Indices for the Qualitative Assessment of the Time-Varying Condition of Power Quality in an Electrical Power Network with Distributed Generation**

**Michał Jasi ´nski 1,\* , Tomasz Sikorski <sup>1</sup> , Paweł Kostyła <sup>1</sup> , Zbigniew Leonowicz <sup>1</sup> and Klaudiusz Borkowski <sup>2</sup>**


Received: 16 March 2020; Accepted: 13 April 2020; Published: 20 April 2020

**Abstract:** This paper presents the idea of a combined analysis of long-term power quality data using cluster analysis (CA) and global power quality indices (GPQIs). The aim of the proposed method is to obtain a solution for the automatic identification and assessment of different power quality condition levels that may be caused by different working conditions of an observed electrical power network (EPN). CA is used for identifying the period when the power quality data represents a different level. GPQIs are proposed to calculate a simplified assessment of the power quality condition of the data collected using CA. Two proposed global power quality indices have been introduced for this purpose, one for 10-min aggregated data and the other for events—the aggregated data index (*ADI*) and the flagged data index (*FDI*), respectively. In order to investigate the advantages and disadvantages of the proposed method, several investigations were performed, using real measurements in an electrical power network with distributed generation (DG) supplying the copper mining industry. The investigations assessed the proposed method, examining whether it could identify the impact of DG and other network working conditions on power quality level conditions. The obtained results indicate that the proposed method is a suitable tool for quick comparison between data collected in the identified clusters. Additionally, the proposed method is implemented for the data collected from many measurement points belonging to the observed area of an EPN in a simultaneous and synchronous way. Thus, the proposed method can also be considered for power quality assessment and is an alternative approach to the classic multiparameter analysis of power quality data addressed to particular measurement points.

**Keywords:** data mining; cluster analysis; power quality; global power quality index; electrical power network; distributed generation; mining industry
