Skip to main content
  • Original research
  • Open access
  • Published:

Data mining for classification of power quality problems using WEKA and the effect of attributes on classification accuracy

Abstract

There is growing interest in power quality issues due to wider developments in power delivery engineering. In order to maintain good power quality, it is necessary to detect and monitor power quality problems. The power quality monitoring requires storing large amount of data for analysis. This rapid increase in the size of databases has demanded new technique such as data mining to assist in the analysis and understanding of the data. This paper presents the classification of power quality problems such as voltage sag, swell, interruption and unbalance using data mining algorithms: J48, Random Tree and Random Forest decision trees. These algorithms are implemented on two sets of voltage data using WEKA software. The numeric attributes in first data set include 3-phase RMS voltages at the point of common coupling. In second data set, three more numeric attributes such as minimum, maximum and average voltages, are added along with 3-phase RMS voltages. The performance of the algorithms is evaluated in both the cases to determine the best classification algorithm, and the effect of addition of the three attributes in the second case is studied, which depicts the advantages in terms of classification accuracy and training time of the decision trees.

1 Introduction

Power Quality (PQ) has been given an increased attention all over the world over the past decade. Power quality is a set of electrical boundaries that allows a piece of equipment to function in its intended manner without significant loss of performance or life expectancy. Now-a-days, power quality is very important due to deregulation of the power industry and proliferation of sensitive loads that require clean and uninterrupted power such as power electronic drives, microprocessor based controllers, computers, processing plants, hospitals, bank security system, etc. Power quality problems like voltage sag, swell, unbalance, interruption, flicker, harmonics, etc., create poor power quality. The existence of PQ problems greatly affects the safe, reliable and economical operations of electric power systems. When the supply voltage is distorted, electrical devices draw non-sinusoidal current from the supply, which causes many technical problems such as extra losses, extra heating, misoperation, early aging of the devices, etc. A small power outage has a great economic impact on the industrial consumers. A longer interruption harms practically all operations of a modern society [1]. The PQ problems cannot be completely eliminated, but can be minimized up to a limit through various equipment such as custom power devices, power factor corrector circuits, filters, etc. [2, 3].

To know the sources of power quality problems and make appropriate decision in improving power quality, the electric utilities should provide real time monitoring systems which are capable of identifying different power quality problems. For this, instruments should collect huge amount of data, such as measured currents, voltages and occurrence times. From the data collected, online or offline analysis is needed to be carried out to classify the disturbances [4,5,6,7].

Vast and increasing volumes of data obtained from power quality monitoring system, requires the use of data mining technique for analyzing the data. Data mining technology is an effective tool to deal with massive data, and to detect the useful patterns in those data. In power systems, data can be raw waveforms (voltages and currents) sampled at relatively high sampling frequencies, pre-processed waveforms (e.g., RMS values) or status variables (e.g., if a relay is opened or closed) which are typically sampled at low sampling frequencies [8]. Classification of data is an important task in the data mining process that extracts models for describing classes and predicts target class for data instances.

Today, several standard classifiers are available, among which the decision trees are most powerful and popular for both classification and prediction. Decision trees are flexible enough to handle items with a mixture of real-valued and categorical features, as well as items with some missing features. These are more interpretable than other classifiers such as Artificial Neural Networks (ANN) and Support Vector Machines (SVM) because they combine simple questions about the data in an understandable way [9]. They are expressive enough to model many partitions of the data that are not as easily achieved with classifiers that rely on a single decision boundary such as logistic regression or SVM. Decision trees naturally support classification problems with more than two classes and can be modified to handle regression problems. Finally, once constructed, they classify new items quickly [10].

In [11], SVM, ANN, logistic regression, Naïve Bayes, classification and regression trees, C5.0 algorithm, Quick, Unbiased and Efficient Statistical Tree (QUEST), CHi-square Automatic Interaction Detector (CHAID) and discriminant analysis have been implemented for classification on nine datasets. According to the experimental results, C5.0 model proved to have the best performance. The performances of J48 decision tree, Multi-Layer Perceptron (MLP) and Naïve Bayes classification algorithms were studied with respect to training time and accuracy of prediction [12]. It is observed that MLP takes highest training time for each of the data instances than J48 decision tree and Naïve Bayes classifiers. The accuracy of Naïve Bayes reduces as the data size increases. J48 and MLP showed high accuracies with low as well as higher data sizes. The performance of ANN and SVM is evaluated for the classification of sag, swell, interruption, harmonics and flicker [13]. It is found that SVM outperform ANN in terms of classification accuracy and computation time. Ten different types of disturbances such as sag, swell, interruption with and without harmonics, are classified using SVM and decision tree [14]. It is observed that the decision tree is faster and provides better classification accuracy at every case with and without noise. It is also easier to implement than SVM. Moreover, the decision tree worked satisfactorily with both synthesized and real signals.

Decision trees such as J48, Logistic Model Tree (LMT), Reduced Error Pruning (REP) Tree, Random Tree, Simple Cart, Random Forest are used for the classification purpose [15,16,17]. Random Forest is used for the classification of PQ disturbances [18] and fault record detection in data center of large power grid [19]. J48 is compared with Random Forest in the classification of power quality disturbances and found that Random Forest is more accurate than J48 [20]. The performance of Random Tree is observed to be better than REP Tree, Simple Cart [21], Logical Analysis of Data (LAD) Tree and Random Forest [22] for the classification purpose. It has been found that whenever correct attributes are selected before classification, accuracy of data mining algorithms is improved significantly [23, 24]. This paper focuses on how data mining techniques of J48, Random Tree and Random Forest decision trees are applied to classify power quality problems of voltage sag, swell, interruption and unbalance. The effect of data attributes on the classification accuracy and time taken for training the decision trees is also discussed.

The paper is organized as follows: Section 2 gives definitions and causes of power quality problems like voltage sag, swell, interruption and unbalance along with their typical figures. Section 3 deals with the basics of data mining and explains about J48, Random Tree and Random Forest algorithms. This Section also briefs about WEKA software used for implementing data mining for the classification purpose. In Section 4, the MATLAB simulation circuit is given which is used for generating the data for various power quality problems. The testing and results of the data mining algorithms obtained from WEKA are discussed in Section 5. Finally, Section 6 gives conclusions of the work from the observed results.

2 Power quality problems

Power quality problem is defined as any power problem manifested in voltage, current, or frequency deviations that results in failure or misoperation of customer equipment. Some of the commonly occurring power quality problems in a power system are voltage sag, swell, interruption and unbalance [25].

2.1 Voltage sag

Voltage sag is defined as a decrease in RMS voltage between 0.1 p.u. to 0.9 p.u. at the power frequency for durations from 0.5 cycles to 1 min, reported as the remaining voltage. Voltage sags can occur due to short circuits, overloads and starting of large motors. Figure 1 shows typical waveform of a voltage sag.

Fig. 1
figure 1

Voltage waveform during Sag

2.2 Voltage swell

Voltage swell is defined as an increase in RMS voltage between 1.1 p.u. and 1.8 p.u. at the power frequency for durations from 0.5 cycles to 1 min. The causes of swell are switching off a large load, energizing a large capacitor bank and temporary voltage rise on the unfaulted phases during a single line-to-ground fault. Voltage waveform of a swell is as shown in Fig. 2.

Fig. 2
figure 2

Voltage waveform during Swell

2.3 Interruption

An interruption occurs when the supply voltage or load current decreases to less than 0.1 p.u. for a period of time not exceeding 1 min. Interruptions can be the result of power system faults, lightning, equipment failures and control malfunctions. Interruption is illustrated in Fig. 3.

Fig. 3
figure 3

Voltage waveform during Interruption

2.4 Voltage unbalance

In a 3-phase system, voltage unbalance takes place when the magnitudes of phase or line voltages are different, or the phase angles differ from the balanced conditions, or both. The sources of voltage unbalance are unbalanced faults, single-phase loads on a three-phase circuit and blown fuses in one phase of a 3-phase capacitor bank. The three phase voltages during an unbalanced fault are as shown in Fig. 4.

Fig. 4
figure 4

Three phase voltages during Unbalance condition

3 Data mining

Data mining is a process that uses a variety of data analysis tools to identify hidden patterns and relationships within the data. These tools are a mixture of machine learning, statistics and database utilities. Data mining has recently obtained popularity within many research fields over classical techniques for the purpose of analyzing data due to (i) a vast increase in the size and number of databases, (ii) the decrease in storage device costs, (iii) an ability to handle data which contains distortion (noise, missing values, etc.), (iv) continuous progress in the implementation of automatic learning techniques and (v) the rapid increase in computer technology [26]. The ultimate goal of data mining is to discover useful information from large amounts of data in many different ways using rules, patterns and classification [27]. Data mining can be used to identify anomalies that occur as a result of network or load operation, which may not be acknowledged by standard reporting techniques. It is proposed that data mining can provide answers to the end-users about PQ problems by converting raw data into useful knowledge [28, 29].

Many people treat data mining as a synonym for another popularly used term, Knowledge Discovery from Data (KDD), while others view data mining as merely an essential step in the process of knowledge discovery. The knowledge discovery process is an iterative sequence of the following steps: (i) Data cleaning, (ii) Data integration, (iii) Data selection, (iv) Data transformation, (v) Data mining, (vi) Pattern evaluation and (vii) Knowledge presentation. Steps (i) through (iv) are different forms of data pre-processing, where data are prepared for mining. The data mining step may interact with the user or a knowledge base. The interesting patterns are presented to the user and may be stored as new knowledge in the knowledge base. The preceding view shows data mining as one step in the knowledge discovery process, albeit an essential one because it uncovers hidden patterns for evaluation. However, in industry, in media, and in the research milieu, the term data mining is often used to refer to the entire knowledge discovery process [30].The data mining process differs from classical statistical methods in the way that statistical methods focus only on model estimation, while data mining techniques focus on both model formation and its performance. Another significant difference is that statistical methods fail to analyze data with missing values, or data that contains a mixture of numeric and qualitative forms. Data mining techniques, instead, can analyze and cope intelligently with records containing missing values, as well as a mixture of qualitative and quantitative data, without tedious manual manipulation [31, 32].

Data mining starts with the real data, collected from the real equipment. In fact, more the diversified data, more accurate and better result is obtained. So, if hundreds of parameters are recorded and available for analysis, data mining can consider and use all the data which is collected. Data mining methods are well equipped to handle large amount of data and to detect the useful patterns in these data that allow us to improve the performance. Data mining methodologies and algorithms have their origins in many different disciplines. For example, researchers on artificial intelligence have proposed various methods and techniques that can efficiently “mimic” how real people (“experts”) can detect difficult hidden patterns in large amounts of complex data.

3.1 Methods: Data mining algorithms

There are many data mining algorithms available, among which the most widely used algorithms for classification are J48, Random Tree and Random Forest. These are decision trees which use divide-and-conquer strategies as a form of learning by induction. Thus, these algorithms use a tree representation, which helps in pattern classification in data sets, being hierarchically structured in a set of interconnected nodes. The internal nodes test an input attribute/feature in relation to a decision constant and, this way, determines what will be the next descending node. Therefore, the nodes considered as leaves classify the instances that reach them according to the associated label [33].

3.1.1 J48

J48 is an open source Java implementation of the C4.5 algorithm in the WEKA data mining tool. It creates a binary tree. It is one of the most useful decision tree approach for classification problems. It employs top-down and greedy search through all possible branches to construct a decision tree to model the classification process. In order to classify a new item, it first needs to create a decision tree based on the attribute values of the available training data. So, whenever it encounters a set of items (training set), it identifies the attribute that discriminates the various instances more clearly. This feature, which is able to tell us more about the data instances, so that we can classify them the best, is said to have the highest information gain. Now, among the possible values of this feature, if there is any value for which there is no ambiguity, i.e., for which the data instances falling within its category have the same value for the target variable, then that branch is terminated and the target value is assigned to it. For the other cases, another attribute is selected which gives the highest information gain. The process is continued in this manner until a clear decision is obtained about what combination of attributes gives a particular target value, or till all the attributes are completed. In the event that all the attributes are finished, or if the unambiguous result cannot be obtained from the available information, we assign this branch a target value that the majority of the items under this branch possesses. Now that we have the decision tree, we follow the order of attribute selection as we have obtained for the tree. By checking all the respective attributes and their values with those seen in the decision tree model, the target value of the new instance can be predicted. J48 classification is based on the decision trees or rules generated from them [34]. The simple tree structure of J48 is as shown in Fig. 5.

Fig. 5
figure 5

J48 decision tree

3.1.2 Random tree

A Random Tree is a decision tree that is formed by a stochastic process. In standard tree, each node is split using the best split among all attributes. In a Random Tree, each node is split using the best among the subset of randomly chosen attributes at that node. Random Tree algorithm has an option to estimate the class probabilities for classification. Random Trees have been introduced by Leo Breiman and Adele Cutler. This algorithm can deal with both classification and regression problems [21, 35]. The structure for a Random Tree is shown in Fig. 6.e

Fig. 6
figure 6

Structure of Random Tree

e

3.1.3 Random forest

This algorithm uses a set of classifiers based on decision trees. Random Forest fits many classification trees to a data set and then combines the prediction from all the correlated trees. Each tree depends on the value of a separately sampled random vector. Random Forest corresponds to a collection of combined decision trees {hk(x, Tk)}, for k = 1, 2,..., n, where n is the number of trees and Tk is the training set built at random and identically distributed, hk represents the tree created from the vector Tk and is responsible for producing an output x.

The trees that make up the Random Forest are built randomly selecting ‘m’ (value fixed for all nodes) attributes in each node of the tree; where the best attribute is chosen to divide the node. The vector used for training each tree is obtained using a random selection of the instances. Thus, to determine the class of an instance, all the trees indicate an output and the most voted is selected as the final result. So, the classification error depends on the strength of individual trees of the forest and the correlation between any two trees in the forest [20]. Figure 7 shows the tree diagram of a Random Forest. The various differences between the three data mining algorithms are presented in Table 1.

Fig. 7
figure 7

Structure of Random Forest

Table 1 Differences between Data Mining Algorithms

3.2 Data mining tool: WEKA software

WEKA, formally called Waikato Environment for Knowledge Analysis, is a computer program that was developed at the University of Waikato in New Zealand for the purpose of identifying information from raw data gathered from agricultural domains. WEKA is a state-of-the-art facility for developing machine learning techniques and their application to real-world data mining problems. It is a collection of machine learning algorithms for data mining tasks. The algorithms are applied directly to a dataset. WEKA supports many different standard data mining tasks such as data pre-processing, classification, clustering, regression, visualization and feature selection. The basic premise of the application is to utilize a computer application that can be trained to perform machine learning capabilities and derive useful information in the form of trends and patterns. WEKA is an open source application that is freely available under the GNU general public license agreement. It is user friendly with a graphical interface that allows for quick set up and operation. WEKA operates on the predication that the user data is available as a flat file or relation, this means that each data object is described by a fixed number of attributes that usually are of a specific type, normal alpha-numeric or numeric values. The WEKA application allows novice users a tool to identify hidden information from database and file systems with simple to use options and visual interfaces [36].

4 Circuit for generating data for classification

The circuit shown in Fig. 8 is modelled in MATLAB Simulink. The circuit consists of a 33/11 kV distribution substation connected to a 2 km distribution line having a 11/0.433 kV distribution transformer supplying to a load of 190 kW, 140 kVAr [37]. It is simulated to get the data for various voltage sags, swells, interruptions and unbalance problems. Voltage sags are created by balanced 3-phase to ground faults with varied fault impedance and duration, for different categories of sags. Voltage swells are created by switching capacitors of different capacitances connecting to the line, for varied durations to get different categories of swells. Interruptions are introduced by opening circuit breaker 1 (CB 1) for different time durations, thereby disconnecting the supply. The voltage unbalance is created by a 3-phase unbalance fault. The 3-phase RMS voltages calculated at the Point of Common Coupling (PCC) are used as the main data for classification of the power quality problems. The data is sampled at a frequency of 2 kHz. From the simulation, 400,001 data samples are obtained, among which 31,438 samples contain sag, 22,506 samples contain swell, 5441 samples contain interruption, 14,268 samples contain unbalance problem and remaining 326,348 samples have no power quality problems. This data is used for classification by data mining algorithms.

Fig. 8
figure 8

Simulation circuit diagram of the system

5 Results and discussion

The data samples obtained from simulations carried out on the system shown in Fig. 8, are stored in a datasheet. Using this data, a class attribute is formulated which is used to differentiate sag, swell, interruption and unbalance. With this information, an ARFF (Attribute-Relation File Format) file is written. ARFF file is an ASCII text file that describes a list of instances sharing a set of attributes. ARFF files were developed by the machine learning project at the Department of Computer Science of the University of Waikato for use with the WEKA machine learning software. The file has a header section followed by data section. The header section contains relation declarations mentioning the name of the relation and attribute declarations listing the attributes (the columns in the data) with their types [38].

The ARFF file is used to load the data into WEKA software for the classification of the power quality problems. Figure 9 shows the pre-processing stage of data mining in WEKA indicating total number of instances, the number of attributes and number of samples under each class of power quality problems along with a bar graph. The attributes used in this case are the numeric values of three phase RMS voltages, namely Va, Vb and Vc along with the class attribute. The class attribute value is “NoProb” for samples containing no power quality problem, “Sag” for samples with voltage sag, “Swell” when samples contain voltage swell, “Intr” for samples containing interruption and “Unbal” for samples with voltage unbalance condition.

Fig. 9
figure 9

Pre-process stage of data mining in WEKA with 4 attributes

The data loaded into WEKA is used to train the data mining algorithms: J48, Random Tree and Random Forest for the classification purpose. After training, the algorithms are tested based on the given training set and as well as using stratified 10-fold cross validation [39]. The results obtained after testing the algorithms using training set are indicated in Table 2. It is observed that the overall accuracy of J48 algorithm is 99.9973%, whereas Random Tree and Random Forest algorithms have an accuracy of 100% in the classification of the power quality problems. It is also clear that the training time taken by the Random Tree is only 1.91 s, which is very less as compared to J48 and Random Forest.

Table 2 Comparison of Data Mining Algorithms with 4 attributes for evaluation on training set

The results obtained after testing the algorithms using stratified 10-fold cross validation are shown in Table 3. From the results, it is seen that the Random Tree has a more overall accuracy (99.9943%) and takes less training time (1.86 s) as compared to J48 and Random Forest algorithms. From Tables 2 and 3, it is clear that with only four attributes in the data, Random Tree is best of the three algorithms as it has more accuracy and takes very less time for training.

Table 3 Comparison of Data Mining Algorithms with 4 attributes for stratified 10-fold cross-validation

In the next case, along with Va, Vb, Vc and class attribute, three more extra numeric attributes are included. They are average (Vavg), minimum (Vmin) and maximum (Vmax) values of the three phase voltages. Figure 10 shows the pre-processing stage of data mining for seven attributes in WEKA. It indicates the total number of instances, the number of attributes and number of samples under each class of power quality problems along with a bar graph. The information is same as that shown in Fig. 9, except for the number of attributes taken.

Fig. 10
figure 10

Pre-process stage of data mining in WEKA with 7 attributes

Using the data of seven attributes, loaded into WEKA, the data mining algorithms are trained and tested. The results obtained after testing the algorithms using training set are indicated in Table 4. It is observed that the overall accuracy of J48 algorithm is 99.9983%, whereas Random Tree and Random Forest algorithms have an accuracy of 100% in the classification of the power quality problems. It is again clear that the training time taken by the Random Tree (1.88 s) is very less as compared to J48 and Random Forest algorithms. Comparing the results of Tables 2 and 4, it is observed that the classification accuracy of J48 algorithm is improved in seven attributes case. Random Tree and Random Forest has 100% accuracy in both the cases. It is also observed that the training time taken by all the algorithms is reduced in seven attributes case.

Table 4 Comparison of Data Mining Algorithms with 7 attributes for evaluation on training set

Table 5 shows the results obtained after testing the algorithms using stratified 10-fold cross validation. From the results, it is seen that the Random Forest has highest overall accuracy (99.9973%) whereas Random Tree has lowest training time (1.75 s) as compared to other algorithms. Comparing the results of Tables 3 and 5, it is clear that for all the algorithms, the classification accuracy is improved and the training time is reduced using seven attributes. Thus, it indicates that the generalization capabilities of the algorithms are enhanced by including the extra attributes in the second case.

Table 5 Comparison of Data Mining Algorithms with 7 attributes for stratified 10-fold cross-validation

From all the results obtained by testing the algorithms for classification of power quality problems, comparison of overall performance of the algorithms is indicated briefly in Table 6. It is observed that Random Forest gives most accurate results, but takes more time for training, whereas, Random Tree takes very less time for training and gives satisfactorily accurate results.

Table 6 Summary of comparison of overall performance of the Data Mining Algorithms

6 Conclusion

This paper presents the implementation of data mining algorithms: J48, Random Tree and Random Forest decision trees, for classification of power quality problems of voltage sag, swell, interruption and unbalance using WEKA. The algorithms are trained and tested with data consisting numeric attributes of three phase voltages as well as with the inclusion of minimum, maximum and average voltage numeric attributes. The testing in both the cases is performed based on the given training set of data and by using stratified 10-fold cross validation. From the results, it is seen that J48 algorithm is less accurate and takes moderate training time as compared to other algorithms. Random Tree algorithm takes very less training time among the three algorithms and its accuracy is good. Random Forest algorithm gives more accuracy, but it takes much higher training time than other decision trees. Thus, Random Tree can be used if less training time is required and Random Forest can be used where very high accuracy is required. From the tests, it is also observed that the classification accuracy is increased and training time is reduced for all the algorithms by using three extra attributes such as minimum, maximum and average voltage values in the data taken for training and classification. So, with the inclusion of these three simple attributes into the data, the data mining algorithms have trained better and their generalization capabilities are enhanced, leading to more accurate results.

References

  1. Bhattacharyya, S., & Cobben, S. (2011). Consequences of poor power quality – An overview. Croatia: InTech.

    Book  Google Scholar 

  2. Khalid, S., & Dwivedi, B. (2011). Power quality issues, problems, standards & their effects in industry with corrective means. International Journal of Advances in Engineering & Technology, 1(2), 1–11.

    Google Scholar 

  3. Pandit, N., & Chakrasali, R. L. (2017). Power quality issues in Indian power distribution utilities and feasible solutions. International Journal of Scientific & Technology Research, 6(5), 23–25.

  4. Sharmila, M., Sundarabalan, C. K., & Selvi, K. (2017). Power quality disturbances classification using data mining technique. International Journal of Research in Science & Engineering, 3(3), 77–90.

    Google Scholar 

  5. Asha Kiranmai, S., & Jaya Laxmi, A. (2014). Detailed classification of various categories of power quality problems. Hyderabad: National Conference on Power Distribution, DSD-CPRI.

    Google Scholar 

  6. Asha Kiranmai, S., & Jaya Laxmi, A. (2015). Data extraction for classification and characterisation of power quality problems. International Journal of Advanced Research in Engineering and Applied Sciences, 4(5), 56–67.

    Google Scholar 

  7. Asha Kiranmai, S., & Jaya Laxmi, A. (2016). Online identification and classification of different power quality problems. International Journal of Innovative Research in Electrical, Electronics, Instrumentation and Control Engineering, 4(3), 137–141.

    Google Scholar 

  8. Pires, Y., Morais, J., Cardoso, C., & Klautau, A. (2007). Data mining applied to the electric power industry: Classification of short-circuit faults in transmission lines (p. 2007). Rio de Janeiro: IEEE 7th International Conference on Intelligent Systems Design and Applications (ISDA).

  9. Isinkaye, F. O., Folajimi, Y. O., & Ojokoh, B. A. (2015). Recommendation systems: Principles, methods and evaluation. Egyptian Informatics Journal, 16(3), 261–273.

    Article  Google Scholar 

  10. Kingsford, C., & Salzberg, S. L. (2008). What are decision trees? Nat Biotechnol, 26(9), 1011–1013.

    Article  Google Scholar 

  11. Sampson, A. (2012). Comparing classification algorithms in data mining. A Thesis, Central Connecticut State University, New Britain, Connecticut.

  12. Akinola, S., & Oyabugbe, O. (2015). Accuracies and training times of data mining classification algorithms: An empirical comparative study. Journal of Software Engineering and Applications, 8, 470–477.

    Article  Google Scholar 

  13. Manimala, K., Selvi, K., & Ahila, R. (2008). Artificial intelligence techniques applications for power disturbances classification. World Academy of Science, Engineering and Technology, 22, 833–840.

    Google Scholar 

  14. Upadhyaya, S., & Mohanty, S. (2016). Localization and classification of power quality disturbances using maximal overlap discrete wavelet transform and data mining based classifiers. IFAC-Papers OnLine, 49(1), 437–442.

    Article  Google Scholar 

  15. Jeya Sheela, Y., & Krishnaveni, S. H. (2017). A comparative analysis of various classification trees (pp. 1346–1352). Kollam: IEEE International Conference on Circuit, Power and Computing Technologies (ICCPCT).

    Google Scholar 

  16. Pandey, P., & Prabhakar, R. (2016). An analysis of machine learning techniques (J48 & AdaBoost)-for classification (pp. 1–6). Delhi: IEEE 1st India International Conference on Information Processing (IICIP).

  17. Sewaiwar, P., & Verma, K. K. (2015). Comparative study of various decision tree classification algorithm using WEKA. International Journal of Emerging Research in Management & Technology, 4(10), 87–91.

    Google Scholar 

  18. Anton Domini Sta. Cruz & Jordan Rel C. Orillaza (2017). Classification of single and multiple PQ disturbances based on DWT and RF classifiers. Penang: IEEE Region 10 Conference, TENCON 2017.

  19. Zhou, J., Ge, Z., Gao, S., & Yanli, X. (2016). Fault record detection with random forests in data center of large power grid (pp. 25–28). Xi’an: IEEE PES Asia-Pacific Power and Energy Engineering Conference (APPEEC).

  20. Borges, Fábbio A. S., Fernandes, Ricardo A. S., Lucas, A. M. & Silva, Ivan N. (2015). Comparison between random Forest algorithm and J48 decision trees applied to the classification of power quality disturbances. Las Vegas, Nevada, USA: Int'l Conf. Data Mining (DMIN’15), 146–147.

  21. Kalmegh, S. (2015). Analysis of WEKA data mining algorithm REP tree, simple cart and random tree for classification of Indian news. International Journal of Innovative Science, Engineering & Technology, 2(2), 438–446.

    Google Scholar 

  22. Kalmegh, S. R. (2015). Comparative analysis of WEKA data mining algorithm RandomForest, RandomTree and LADTree for classification of indigenous news data. International Journal of Emerging Technology and Advanced Engineering, 5(1), 507–517.

    Google Scholar 

  23. Choudhary, N. K., Shinde, Y., Kannan, R., & Venkatraman, V. (2014). Impact of attribute selection on the accuracy of multilayer perceptron. International Journal of IT & Knowledge Management, 7(2), 32–36.

    Google Scholar 

  24. Dinakaran, S., & Thangaiah, D. R. J. (2013). Role of attribute selection in classification algorithms. International Journal of Scientific & Engineering Research, 4(6), 67–71.

    Google Scholar 

  25. Dugan, R. C., McGranaghan, M. F., Santoso, S., & Wayne Beaty, H. (2004). Electrical power systems quality (2nd ed.). New York: Mc Graw-Hill.

    Google Scholar 

  26. Groth, R. (2000). Data mining: Building competitive advantage. USA: Prentice Hall.

    Google Scholar 

  27. Mannila, H. (1996). Data mining: Machine learning, statistics and databases. Stockholm, Sweden: In Proc. 8th Inter. Conf. on Scientific and Statistical Database Systems.

  28. Olaru, C., & Wehenkel, L. (1999). Data mining. IEEE Computer Applications in Power, 12, 19–25.

    Article  Google Scholar 

  29. Santoso, S. & Lamoree, J. D. (2000). Power quality data analysis: From raw data to knowledge using knowledge discovery approach. IEEE PES Summer Meeting.

  30. Han, J., Kamber, M., & Pei, J. (2011). Data Mining: Concepts and Techniques (3rd ed.). Burlington, Massachusetts, United States: Morgan Kaufmann.

    MATH  Google Scholar 

  31. Fayyad, U. M., Piatetsky-Shapiro, G., Smyth, P., & Uthurusamy, R. (1996). Advances in knowledge discovery and data mining. Menlo Park: AAAI Press.

    Google Scholar 

  32. Westphal, C., & Balxton, T. (1998). Data mining solutions: Method and tools for solving real-world problems. USA: Wily.

    Google Scholar 

  33. Witten, I. H., & Frank, E. (2005). Data mining: Pratical machine learning tools and techniques (2nd ed.). San Francisco: Morgan Kaufmann Publishers.

    MATH  Google Scholar 

  34. Classification methods. www.d.umn.edu/~padhy005/Chapter5.html.

  35. Hamsagayathri, P., & Sampath, P. (2017). Performance analysis of breast cancer classification using decision tree classifiers. Int J Curr Pharm Res, 9(2), 19–25.

    Article  Google Scholar 

  36. WEKA manual. www.nilc.icmc.usp.br/elc-ebralc2012/minicursos/WekaManual-3-6-8.pdf.

  37. Suresh, K., & Chandrashekhar, T. (2012). Characteristics analysis of voltage sag in distribution system using RMS voltage method. ACEEE Int J on Electrical and Power Engineering, 3(1), 55–61.

    Google Scholar 

  38. Soman, K. P., Diwakar, S., & Ajay, V. (2006). Data mining: Theory and practice. Delhi: PHI Learning Pvt. Ltd..

    Google Scholar 

  39. Kohavi, R. (1995). A study of cross-validation and bootstrap for accuracy estimation and model selection. Montreal, Quebec, Canada: In Proc. 14th International Joint Conference on Artificial Intelligence (IJCAI); 2. p. 1137–1143.

Download references

Acknowledgements

The authors thank the officials of University College of Engineering, Osmania University, Hyderabad, India, for providing the facilities to carry out this work.

Funding

The work is not supported by any funding agency. This is the authors own research work.

Availability of data and materials

Please contact author for data requests.

Author information

Authors and Affiliations

Authors

Contributions

SAK modelled the simulation circuit of the system, generated test data, implemented data mining algorithms for the classification of power quality problems, analyzed the results with different attributes and prepared the manuscript. AJL contributed to the conception of the study, participated in its coordination and helped to draft the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to S. Asha Kiranmai.

Ethics declarations

Authors’ information

S. Asha Kiranmai was born in Hyderabad, Telangana, India, in 1985. She completed B.Tech. in EEE from Bhoj Reddy Engineering College for Women (BRECW), Hyderabad, in 2006 and M.E. in Power Systems from University College of Engineering (UCE), Osmania University (OU), Hyderabad, in 2008. She is presently pursuing Ph.D. in Power Quality at UCE, OU, Hyderabad. She has been working as an Assistant Professor in BRECW, Hyderabad since 2008. Her interested areas are Power Systems and Power Quality. She is a Life Member of Indian Society of Technical Education (MISTE).

Dr. A. Jaya Laxmi was born in Mahaboob Nagar District, Telangana State, in 1969. She completed her B.Tech. in EEE from UCE, OU, Hyderabad, in 1991, M.Tech. in Power Systems from REC, Warangal, Telangana State, in 1996 and completed Ph.D. (Power Quality) from JNTU, Hyderabad in 2007. She has 5 years of Industrial experience and 18 years of teaching experience. Presently working as Professor in EEE and coordinator in Centre for Energy Studies, Jawaharlal Nehru Technological University Hyderabad College of Engineering, Hyderabad. She guided 4 Ph.D. scholars. She has 100 International and National papers published in various conferences held in India and aboard. She has 80 International and National journal papers to her credit. Her research interests are Neural Networks, Power Systems and Power Quality. She was awarded “Best Technical Paper Award” for Electrical Engineering by Institution of Electrical Engineers in the year 2006. She is a Senior Member of IEEE, Member of International Accreditation Organization (MIAO), Fellow member of Institution of Electrical Engineers Calcutta (FIE), Life Member of System Society of India (MSSI), Life Member of Indian Society of Technical Education (MISTE), Life Member of Electronics and Telecommunication Engineering (MIETE) and Life Member of Indian Science Congress (MISC).

Competing interests

The authors declare that they have no competing interests.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Asha Kiranmai, S., Jaya Laxmi, A. Data mining for classification of power quality problems using WEKA and the effect of attributes on classification accuracy. Prot Control Mod Power Syst 3, 29 (2018). https://doi.org/10.1186/s41601-018-0103-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s41601-018-0103-3

Keywords