Next Article in Journal
A Novel Semi-Supervised Method of Electronic Nose for Indoor Pollution Detection Trained by M-S4VMs
Previous Article in Journal
Online Learners’ Reading Ability Detection Based on Eye-Tracking Sensors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Algorithm for Missing Data Imputation and Its Application to Electrical Data Loggers

by
Concepción Crespo Turrado
1,
Fernando Sánchez Lasheras
2,*,
José Luis Calvo-Rollé
3,
Andrés-José Piñón-Pazos
3,
Manuel G. Melero
4 and
Francisco Javier De Cos Juez
5
1
Maintenance Department, University of Oviedo, San Francisco 3, Oviedo 33007, Spain
2
Department of Construction and Manufacturing Engineering, University of Oviedo, Campus de Viesques, Gijón 33204, Spain
3
Departamento de Ingeniería Industrial, University of A Coruña, A Coruña 15405, Spain
4
Electrical Engineering Department, University of Oviedo, Campus de Viesques, Gijón 33204, Spain
5
Prospecting and Exploitation of Mines Department, University of Oviedo, Oviedo 33004, Spain
*
Author to whom correspondence should be addressed.
Sensors 2016, 16(9), 1467; https://doi.org/10.3390/s16091467
Submission received: 13 July 2016 / Revised: 5 September 2016 / Accepted: 7 September 2016 / Published: 10 September 2016
(This article belongs to the Section Physical Sensors)

Abstract

:
The storage of data is a key process in the study of electrical power networks related to the search for harmonics and the finding of a lack of balance among phases. The presence of missing data of any of the main electrical variables (phase-to-neutral voltage, phase-to-phase voltage, current in each phase and power factor) affects any time series study in a negative way that has to be addressed. When this occurs, missing data imputation algorithms are required. These algorithms are able to substitute the data that are missing for estimated values. This research presents a new algorithm for the missing data imputation method based on Self-Organized Maps Neural Networks and Mahalanobis distances and compares it not only with a well-known technique called Multivariate Imputation by Chained Equations (MICE) but also with an algorithm previously proposed by the authors called Adaptive Assignation Algorithm (AAA). The results obtained demonstrate how the proposed method outperforms both algorithms.

1. Introduction

Currently, the importance of problems due to harmonics in electric networks is growing. This fact is due to the increase in the amount of non-linear loads. The two main problems related to harmonics are the overheating of conductors due to the skin effect and the activation of automatic breakers, which produce problems for supply continuity. Additionally, distortion of the voltage waveform may cause the malfunction of some devices. The monitoring of harmonics in real time is required to control them.
Another common problem in electrical networks is the imbalance between phases. This is usually caused by a bad load distribution between phases and provokes a high current return displayed by the neutral, as it has to compensate for the gap existing at the centre of the scheme vectors.
Electricity quality is an important issue that is present in the following variables: voltage, current, frequency anomalies, etc. The quality affects all devices connected to the power network, causing failure of the systems or disability [1]. Currently, an electric system is analyzed in terms of efficiency, stability and optimization to obtain better quality of the system [2]. With the aim of reducing the issues and improving electricity quality, science and technology are evolving to mitigate problems and overcome the problems mentioned above [3].
Different studies in this field have been performed: for instance, a novel power quality deviation parameter based on principal curves is presented in [4]. In [5], a review of the signal processing and intelligent techniques and methods employed in the self-classification of the events of power quality and the influence of noise on the recognition and classification of perturbations has been made. [6] describes a device capable of labelling, recognizing, and quantifying energy and power quality perturbation. An intelligent device for high-resolution frequency measuring that agrees with the common indicator standards is shown in [7]; it is used for electricity quality monitoring and control. Furthermore, [8] exposes a communication infrastructure created to obtain consistent data delivery at low cost, with the aim to prevent the difficulties of the power quality monitoring service.
Monitoring the main electrical variables in electric systems in some buildings might be interesting. Therefore, monitoring is useful for the control with the objective of balancing the loads of a building, thus reducing the consumption of the electric energy of the building by decreasing the remaining consumption (during non-working hours). The analysis of the electric system in buildings is useful for determining the optimized rates. Furthermore, it is also useful for the analysis of supply issues that can affect the different loads, which are caused by a lack of balance or harmonics, analysis of the energy quality and preventing incidents as a result of poor signal quality. Finally, the analysis of the building operation and its efficiency study might be of interest when accounting for the dependency of the people who use it, area in use, installed power, etc.
During the data-collection process, it is likely that a small amount of the information retrieved may be lost. In these cases, missing data imputation algorithms must be applied because the substitution of missing data with zeros is not acceptable. The present research evaluates a new imputation method that is able to predict the value of any missing data in the sensor devices that are used in this research for the recording of electrical variables. The new algorithm is based on Self-Organized Maps Neural Networks and Mahalanobis distances and hybridizes them with the algorithm called the Adaptive Assignation Algorithm (AAA). The results obtained are benchmarked with those given by the AAA and multivariate imputation by chained equations (MICE) [9].
The rest of the paper is arranged as follows: Section 2 describes the measurement equipment and the database, Section 3 details the proposed algorithm and how its performance is measured and compared. Section 4 presents the results obtained and its comparison with other algorithms. Finally, the conclusions are drawn in Section 5.

2. Materials and Methods

2.1. Measurement Equipment

In this section, the specific power quality measurement devices that are employed in this work are described (Figure 1). The next measurements are common to all them, namely: Energy Output or Input (ENERGY), Reactive Energy Output or Input (R-ENERGY), Apparent Energy (A-ENERGY), Power Factor (P-F), Power Output or Input (POW), Reactive Power (R-POW), Apparent Power (A-POW), Voltage from Line to Line (VLL), Voltage from Line to Neutral (VLN), Current by line (I), and Frequency (FQ). The accuracy of each electrical measurement for all devices used is shown in Table 1. Note that all indicated percentage values refer to the obtained percentage.
All mentioned measurements can be performed by the four devices used in the present work.
The four devices have additional features. Shark 100, Shark 200 and Shark MP200 incorporate V-Switch technology, which allows the operator to add new functions to the devices using programming commands at any time after its installation. In the case of the Nexus 1252 device, it is possible to add isolated input/output modules and software options for additional functions. All of them have communication capabilities (some optional) as Modbus or DNP 3.0 (Distributed Network Protocol) protocols by an RS485 port, 10/100BaseT Ethernet capabilities or IrDA port. A deep analysis of features of each device is made in [10].

2.2. The Data Description

In this paper, the next dataset, which includes measurements of variables from an electrical power supply of an edifice, has been used.
  • Three variables of each phase current
  • Three variables of voltage from phase to phase
  • Three variables of voltage from phase to neutral
  • Average power factor
Between the 27 November 2014 at 18:45 and the 31 May 2015 at 23:45, the data set was logged, with an interval of 15 min.
A building called Severo Ochoa, in honour of the Novel Prize winner, was used in this work for the dataset. The University of Oviedo (Spain) is the owner of this building, which has a total area of 8.150 m2, distributed over two basement levels and five floors; a total of 78 employees work in it. The ITS (Information Technology Services) of the University of Oviedo are also located in this edifice. The equipment of the ITS is distributed across server rooms and scientific laboratories. This equipment has to be supplied by a good quality power network at all times. The laboratory equipment mentioned above includes electron microscopes, NMR spectrometers, X-ray diffractometers, etc. The energy consumption is 190.572 KWh per day, on average. The data set detailed here was already employed by the authors in previous research [9].
The equipment mentioned above, and the building services, incorporate devices such as UPS (Uninterruptible Power Supply), VSD (Variable Speed Drive) and inductive and capacitive loads in switching mode. These electronic circuits are nonlinear loads, and all of them can create harmonic distortion in the power line. The harmonic distortion in the distribution system is caused by the harmonic currents flowing in the electronic loads.

3. Methodology

The data set employed in this research has a total of 17,763 samples that correspond to the period of time referred to in the description of the data. A process of random data deletion was performed using this data set.
The new algorithm presented in this paper hybridizes the Self-Organized Maps Neural Networks methodology with the Mahalanobis distances. The hybrid method obtained is combined with an algorithm already presented in this journal by the authors, called AAA [9], based on Multivariate Adaptive Regression Splines. The proposed methodology is new and its performance is even better than the one referenced and presented in a previous paper when applied to the same database. This method is considered a hybrid method because it combines well-known pattern recognition and machine learning methodologies in a hybrid model that is able to impute missing data [11,12].
The performance of the proposed new methodology, in comparison with AAA and MICE, has been evaluated using the mean absolute error (MAE) and the root mean square error (RMSE). They are very common metrics in forecasting research [13,14]. The reason why, in the present research, both are employed is their complementarity. The purpose of the MAE is the measurement of the average magnitude of the error in a set of forecasts without considering their direction while the RMSE is employed for its ability to describe uniformly distributed errors [13]. A more detailed explanation including the formulas employed can be found in [9]
Let us assume that we have a dataset formed by c different variables v 1 ,   v 2 ,   ,   v c that are the columns of a data matrix whose total number of rows is r . The algorithm is applied via the following steps.

3.1. Creation of a New Matrix with Missing Values from the Original Data Set

This step of the algorithm is not required when it is applied to a data set in which missing data are going to be imputed, but it is mandatory in the present research to validate the algorithm by using a complete data set.
Let A be the original matrix (rxc) of r rows and c columns. As a first step and to obtain a matrix with a certain amount of missing data, a proportion of p elements in the matrix is removed. Let B be the new (rxc) matrix, with a proportion p of missing elements. The removal is performed completely at random; therefore, the type of imputation that is going to be tested to determine the performance of the algorithm is the one known as missing completely at random (MCAR).

3.2. Creation of the Reduced Matrix

A new matrix in which all the rows with missing data are removed is created. This new matrix is called Bred. Although the number of rows s (sr) of this matrix will change depending on the matrix that is going to be imputed, in those cases like the one presented in this algorithm in which the removal of data has been performed completely at random and in a proportion p, the number of remaining rows u will be represented by the following formula:
u = r × ( 1 p ) c ,
where:
  • p : proportion of missing data considered;
  • r : number of rows of the original matrix;
  • c : number of columns of the data matrix;
  • Afterwards the B r e d matrix is normalized.

3.3. Determination of the Director Vectors by Means of Self-Organized Maps Neural Networks

The Self-Organized Maps (SOM) Neural Network is a type of unsupervised neural-network algorithm whose main application is related to the visualization and interpretation of large dimensional data sets [15].
These types of maps are used to represent all the available observations (data vectors), with an optimized accuracy, by means of a reduced set of models. This is the reason why this technique has been chosen in the present research.
Let N be the dimension of the n director vectors X(t) ∈ R n , t = 1, 2, …, n, where each sample vector is identified by a label. The two-dimensional output layer of the SOM map contains a rectangular mesh of k = 1, …, xdim × ydim nodes. Each one of these nodes is employed as a codebook vector Wk of dimension N. The calculus of the weight vectors is performed by using the following algorithm [16].
For a certain amount of iterations, follow the steps detailed below:
  • Choose one sample vector X ( t ) at random;
  • Search for the nearest weight vector W c : || X W c || = m i n j || X W j || ;
  • Update the weights W i by means of the following rule:
    W i ( t + 1 ) = W i ( t ) + h c i ( t ) · [ X ( t ) W i ( t ) ] ,
where h c i ( t ) is the neighbour function, which, in the case of the present research and is being very common in the literature [15], is of the Gaussian type:
h c i ( t ) = α ( t ) · exp ( || W c W i || 2 · σ 2 ( t ) ) .
Weight of neurons lying in the neighbourhood h c i ( t ) of the winning neuron is moved closer to X ( t ) . The learning rate α ( t ) [ 0 , 1 ] decreases monotously as the number of iterations increases, σ ( t ) determining that the radius of the neighbourhood also decreases monotonically. After many iterations and the slow reduction of α ( t ) and σ ( t ) , the neighbourhood covers only a single node and the map is formed. Please note that those neurons, whose weights are closer in the parameter space W , are also closer on the mesh. After this process, the director vectors obtained are denormalized. The number of director vectors chosen to create the Self-Organized Map in the case of the present algorithm is related to the number of rows in the B r e d matrix. Let u be the number of rows in the matrix B r e d ; the total amount of director vectors will be a range of values d = e · u   /   e [ 0.05 ,   0.8 ] ; the reason for this range of values, empirically found, will be explained in the results sections.

3.4. Finding the Closest Director Vectors by Means of Mahalanobis Distances

The Mahalanobis distance is a well-known, non-Euclidean distance measure based on correlations between variables [17]. These correlations allow for the identification and analysis of different patterns. This measure is a useful way of determining the similarity of an unknown sample set to a known one, and, in the present research, it is used to compare each one of the rows of the data matrix with missing data with all the director vectors. It can be defined by the following formula:
d A ( x 1 , x 2 ) = ( x 1 x 2 ) T · A · ( x 1 x 2 ) ,
where x 1 and x 2 represent the sets of variables of two different rows of the data matrix, and A   R n x n is a positively semi-definite matrix that represents the inverse of the covariance matrix of class { I } . By means of the eigenvalue decomposition, A can be decomposed into A = W · W T .
In the case of the present algorithm, the Mahalanobis distance of each vector row with two or more missing data points to all the director vectors is calculated. Please note that, in order to make this operation possible, all those variables with missing data in the row that come from the data matrix are removed in the director vector. The director vector with the lowest Mahalanobis distance value is selected and those missing variables in this row of the data matrix are filled using the values present in the corresponding row of the director vector.
Finally, the original matrix is reconstructed and the value of the missing data of those rows with only one or two missing data points are imputed by means of the AAA algorithm. As it has already been stated, this algorithm was presented in a previous work [9] published in this journal. The referenced algorithm is based on a multivariate non-parametric technique called Multivariate Adaptive Regression Splines (MARS) [18,19,20,21].

4. Results and Discussion

In this section, the results of the Hybrid Adaptive Assignation Algorithm (HAAA) are presented and compared with those of the AAA and MICE. The test was performed using the MCAR methodology, deleting 10%, 15% and 20% of the information. This process was repeated five times. The performances of the three algorithms were compared based on the MAE and RMSE metrics. The results of all the interactions performed are presented. To simplify the comparisons, the results that use the same original MCAR subsets are presented in the same table. The way in which results are presented is the same as the one that was employed in previous research, in which the performance of the AAA algorithm was analysed [9]. Each table also contains the average values of the five replications. Table 2 contains the RMSE values of the MICE, AAA and HAAA algorithms when applied to a database with 10% of the data missing. As can be observed in this table, for the variables of voltage, intensity and power factor employed in this research, the RMSE values obtained by the new algorithm are considerably lower than those obtained by using the AAA and MICE methods. In the case of 10% missing data, Table 2, the variable in which the RMSE is reduced to a lesser amount receives a 15% reduction, while the average reduction of all variables is 62%. For the case of 15% missing data, Table 3, the results are very similar, obtaining at least a reduction of the RMSE of 12% and an average reduction of 46%. Additionally, for the case of 20% missing data, Table 4, the results are equivalent, with a minimum 18% reduction of the RMSE value and an average of 48%.
The results obtained when the MAE metric is applied to the three algorithms are equivalent. Table 5 shows the results obtained using the MAE metric for 10% missing data, while Table 6 does the same for 15% and Table 7 for 20%. When the algorithm proposed is compared with AAA in the case of 10% missing data, the average of improvement regarding the MAE metric is 35%, with a minimum value of 10%. For the case of 15% missing data, the average improvement of the MAE is 29%, with a minimum of an 8% improvement in one of the variables. When the amount of missing data is 20%, the average improvement of the referenced metric is 42%, with a minimum amount of 13%.
Although the overall performance of the new algorithm has already been evaluated using MCAR data, from the point of view of the authors, there are a couple of situations in which the information is not missing completely at random and are of great interest for electrical measurements. These are as follows:
  • The case in which there is correlation in the missingness of data: one possible situation when working with electrical data would be when all the missing information corresponds to the same phase. In order to simulate this kind of failure, five new data sets with a 20% of missing data were created. Each phase is represented by means of four different variables: one variable of phase current, two variables of voltage from phase to phase and one variable of voltage from phase to neutral. It means that each row with missing incomplete information has four missing variables or, in other words, that only 5% of the total of rows will have missing data. In the referred rows, randomly selected, the information of the variables of one of the phases was removed. It means that, for example, when information for variable V a n is missing, it is also missing the information of variables, V a b , V c a and I a . The results obtained are presented in Table 8 and Table 9. As it can be observed, the performance of the HAAA algorithm is worse than in the MCAR case, but it outperforms both MICE and AAA.
  • The case in which most of the missing data correspond to a certain subset of variables. In order to simulate this kind of failure, five new datasets with a 90% of missing data in a single variable were created. In each dataset, a proportion of 90% elements in one single column were removed, leaving the rest of the variables with their original values. As it can be seen in Table 10, the imputation accuracy for all the algorithms decreased significantly. This was expected in such an unfavourable situation; however, it is possible to ascertain, as both algorithms HAAA and AAA considerably outperform the algorithm of reference MICE, HAAA being the one with the best results.

5. Conclusions

The improvement of power quality has become a necessity as the presence of power electronics in today’s grids has been increasing in the last decades. Due to this problem, network monitoring with the help of real-time data collection devices is helpful. In this context, the availability of missing data imputation techniques is required.
This research presents a new algorithm and compares it with another algorithm proposed in a previous paper by the authors and also with a well-known missing data imputation algorithm. Although the algorithm presented in this paper outperforms the others, as the previous methods to which it is compared, it also has some limitations that must be taken into account. As those proposed before, our algorithm would have imputation problems in those cases in which most of the missing data belonged to the same variable or were concentrated in a certain subset of variables instead of distributed among all the variables of the data set. Currently, the authors continue to develop hybrid algorithms that would improve the results of existing algorithms when they have to address this type of issue. Finally, the missing data imputation in the time-frequency domain will also be explored in future works.

Acknowledgments

Francisco Javier de Cos Juez and Fernando Sánchez Lasheras appreciate support from the Spanish Economics and Competitiveness Ministry, through grant AYA2014-57648-P and the Government of the Principality of Asturias (Consejería de Economía y Empleo), through grant FC-15-GRUPIN14-017.

Author Contributions

Francisco Javier de Cos Juez, Concepción Crespo Turrado and Fernando Sánchez Lasheras conceived the study. Andrés José Piñón Pazos and José Luis Calvo Rollé programmed the required algorithms. Fernando Sánchez Lasheras, Manuel G. Melero and Francisco Javier de Cos Juez interpreted the results and drafted the manuscript; Concepción Crespo Turrado, Andrés José Piñón Pazos, Manuel G. Melero and José Luis Calvo Rollé supervised the experimental data analysis; and they also contributed to the critical revision and improvement of the paper. All of the authors have approved the final version of the manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chattopadhyay, S.; Mitra, M.; Sengupta, S. Electric power quality. In Electric Power Quality; Springer: Dordrecth, The Netherlands, 2011; pp. 5–12. [Google Scholar]
  2. Dixit, J.B.; Yadav, A. Electrical Power Quality; University Science Press: New Delhi, India, 2010. [Google Scholar]
  3. Stones, J.; Collinson, A. Power quality. Power Eng. J. 2001, 15. [Google Scholar] [CrossRef]
  4. Ferreira, D.D.; de Seixas, J.M.; Cerqueira, A.S.; Duque, C.A.; Bollen, M.H.J.; Ribeiro, P.F. A new power quality deviation index based on principal curves. Electr. Power Syst. Res. 2015, 125, 8–14. [Google Scholar] [CrossRef]
  5. Mahela, O.P.; Shaik, A.G.; Gupta, N. A critical review of detection and classification of power quality events. Renew. Sustain. Energy Rev. 2015, 41. [Google Scholar] [CrossRef]
  6. Granados-Lieberman, D.; Valtierra-Rodriguez, M.; Morales-Hernandez, L.; Romero-Troncoso, R.; Osornio-Rios, R. A hilbert transform-based smart sensor for detection, classification, and quantification of power quality disturbances. Sensors 2013, 13, 5507–5527. [Google Scholar] [CrossRef] [PubMed]
  7. Granados-Lieberman, D.; Romero-Troncoso, R.J.; Cabal-Yepez, E.; Osornio-Rios, R.A.; Franco-Gasca, L.A. A real-time smart sensor for high-resolution frequency estimation in power systems. Sensors 2009, 9, 7412–7429. [Google Scholar] [CrossRef] [PubMed]
  8. Lim, Y.; Kim, H.-M.; Kang, S. A design of wireless sensor networks for a power quality monitoring system. Sensors 2010, 10, 9712–9725. [Google Scholar] [CrossRef] [PubMed]
  9. Crespo Turrado, C.; Sánchez Lasheras, F.; Calvo-Rolle, J.L.; Piñón-Pazos, A.J.; de Cos Juez, F.J. A new missing data imputation algorithm applied to electrical data loggers. Sensors 2015, 15, 31069–31082. [Google Scholar] [CrossRef] [PubMed]
  10. Electro Industries, Gauge Tech. Index of Products. Available online: http://www.electroind.com/products/ (accessed on 13 November 2015).
  11. Sánchez Lasheras, F.; Nieto, P.; de Cos Juez, F.; Bayón, R.; Suárez, V. A hybrid PCA-CART-MARS-based prognostic approach of the remaining useful life for aircraft engines. Sensors 2015, 15, 7062–7083. [Google Scholar] [CrossRef] [PubMed]
  12. De Andres, J.; Lorca, P.; Sánchez-Lasheras, F.; de Cos Juez, F.J. Bankruptcy prediction and credit scoring: A review of recent developments based on hybrid systems and some related patents. Rec. Pat. Comp. Sci. 2012, 5, 11–20. [Google Scholar] [CrossRef]
  13. Chai, T.; Draxler, R.R. Root mean square error (RMSE) or mean absolute error (MAE)?—Arguments against avoiding RMSE in the literature. Geosci. Model Dev. 2014, 7, 1247–1250. [Google Scholar] [CrossRef]
  14. Turrado, C.; López, M.; Sánchez Lasheras, F.; Gómez, B.; Rollé, J.; de Cos Juez, F.J. Missing data imputation of solar radiation data under different atmospheric conditions. Sensors 2014, 14, 20382–20399. [Google Scholar] [CrossRef] [PubMed]
  15. Kohonen, T. Self-Organizing Maps, 1st ed.; Springer: Berlin, Germany; Heidelberg, Germany, 1995. [Google Scholar]
  16. De Andres, J.; Sánchez-Lasheras, F.; Lorca, P.; de Cos Juez, F.J. A hybrid device of self organizing maps (SOM) and multivariate adaptive regression splines (MARS) for the forecasting of firms’ bankruptcy. J. Account. Manag. Inf. Syst. 2011, 10, 351–374. [Google Scholar]
  17. Sánchez-Lasheras, F.; de Andrés, J.; Lorca, P.; de Cos Juez, F.J. A hybrid device for the solution of sampling bias problems in the forecasting of firms’ bankruptcy. Expert Syst. Appl. 2012, 39, 7512–7523. [Google Scholar] [CrossRef]
  18. García Nieto, P.J.; Alonso Fernández, J.R.; Sánchez Lasheras, F.; de Cos Juez, F.J.; Díaz Muñiz, C. A new improved study of cyanotoxins presence from experimental cyanobacteria concentrations in the Trasona reservoir (Northern Spain) using the MARS technique. Sci. Total Environ. 2012, 430, 88–92. [Google Scholar] [CrossRef] [PubMed]
  19. De Cos Juez, F.J.; Sánchez Lasheras, F.; García Nieto, P.J.; Suarez, M.A.S. A new data mining methodology applied to the modelling of the influence of diet and lifestyle on the value of bone mineral density in post-menopausal women. Int. J. Comput. Math. 2009, 86, 1878–1887. [Google Scholar] [CrossRef]
  20. Suárez Sánchez, A.; Riesgo Fernández, P.; Sánchez Lasheras, F.; de Cos Juez, F.J.; García Nieto, P.J. Prediction of work-related accidents according to working conditions using support vector machines. Appl. Math. Comput. 2011, 218, 3539–3552. [Google Scholar] [CrossRef]
  21. De Cos Juez, F.J.; Sánchez Lasheras, F.; Roqueñí, N.; Osborn, J. An ANN-based smart tomographic reconstructor in a dynamic environment. Sensors 2012, 12, 8895–8911. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Equipment (SK-100/200 on the left, Nexus1250 on the right top and MP200 on the right bottom; source: Electro Industries/GaugeTech, Westbury, New York—USA) [10].
Figure 1. Equipment (SK-100/200 on the left, Nexus1250 on the right top and MP200 on the right bottom; source: Electro Industries/GaugeTech, Westbury, New York—USA) [10].
Sensors 16 01467 g001
Table 1. Device precision. POW: power, R-POW: reactive power, A-POW: active power, A-ENERGY: active energy, VLN: voltage line to neuter, VLL: voltage line to line, I: current, PF: power factor, FQ: frequency.
Table 1. Device precision. POW: power, R-POW: reactive power, A-POW: active power, A-ENERGY: active energy, VLN: voltage line to neuter, VLL: voltage line to line, I: current, PF: power factor, FQ: frequency.
VariableUnitsMP200NEXUS 1252SK-200SK-100
(%)200 mili Seg (%)1 s (%)(%)(%)
POWW0.50.10.060.20.2
ENERGYW·h0.5N/A0.040.20.2
R-POWVARs1.00.10.080.20.2
R-ENERGYVAR·h1.0N/A0.080.20.2
A-POWVA1.00.10.10.20.2
A-ENERGYVA·h1.0N/A0.080.20.2
VLNV/KV0.30.10.050.10.1
VLLV/KV0.50.10.050.20.1
IA/KA0.30.10.0250.10.1
PF 0.5 to 11.00.10.080.20.2
FQ (*)Hz±10−2 *3.10−2 *1.10−2 *±3.10−2 *1.10−2 *
* Accuracy in Hz.
Table 2. RMSE obtained with 10% missing data using MICE, AAA and the newly proposed algorithm, HAAA. RMSE: root mean square error, MICE: multivariate imputation by chained equations, AAA: adaptive assignation algorithm, HAAA: hybrid adaptive assignation algorithm, Van: voltage line a to neuter, Vbn: voltage line b to neutre, Vcn: voltage line c to neutre, Vab: voltage line a to b, Vbc: voltage line b to c, Vca: voltage line c to a, Ia: current line a, Ib: curren line b, Ic: current line c.
Table 2. RMSE obtained with 10% missing data using MICE, AAA and the newly proposed algorithm, HAAA. RMSE: root mean square error, MICE: multivariate imputation by chained equations, AAA: adaptive assignation algorithm, HAAA: hybrid adaptive assignation algorithm, Van: voltage line a to neuter, Vbn: voltage line b to neutre, Vcn: voltage line c to neutre, Vab: voltage line a to b, Vbc: voltage line b to c, Vca: voltage line c to a, Ia: current line a, Ib: curren line b, Ic: current line c.
RMSE MICE 10% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
120.839834.363321.965330.983036.071448.05470.26530.78071.66550.0030
218.749531.630724.131631.008037.061448.11730.79180.32621.57420.0017
318.883330.431224.031334.903430.832047.88220.19460.11221.67270.0027
417.326032.075921.288431.899631.595248.75850.96340.61721.80900.0030
520.033334.466022.143832.148032.943747.74130.76310.13241.49190.0028
average19.166432.593422.712132.188433.700748.11080.59560.39371.64270.0026
RMSE AAA Algorithm 10% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
11.05831.73761.10781.62511.06121.80420.13180.14780.15140.0030
21.02281.66871.21861.42232.05961.71240.13070.17490.13040.0020
30.96411.53291.20442.04711.95601.72130.13650.19850.11720.0015
40.93281.69231.15311.80301.83381.84570.18450.15810.13400.0021
51.04731.77831.11001.70251.55211.88850.13680.13740.21580.0024
average1.00501.68191.15881.72001.69251.79440.14410.16330.14980.0022
RMSE New Algorithm 10% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.60290.66570.61650.03840.02180.02650.08660.06320.08630.0009
20.56630.61280.52830.02700.05580.05030.05990.08960.06870.0008
30.57890.65260.54570.06900.04970.04790.07680.06520.06870.0061
40.52640.59650.63520.03440.03830.03740.06080.06240.06090.0007
50.58530.51100.55680.06030.03540.03160.06120.07450.05230.0009
average0.57200.60770.57650.04580.04020.03870.06910.07100.06740.0019
Table 3. RMSE obtained with 15% missing data using MICE, AAA and the newly proposed algorithm, HAAA.
Table 3. RMSE obtained with 15% missing data using MICE, AAA and the newly proposed algorithm, HAAA.
RMSE MICE 15% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
121.279834.913322.295336.363631.115444.90740.31291.27461.05030.0031
219.189531.960724.461637.280031.097445.01040.50601.33451.70620.0034
319.103330.761224.471337.182231.105244.66590.40391.20871.16080.0036
417.656032.405921.618437.119230.665545.92350.68031.97641.87240.0029
520.473335.126022.803837.404030.987744.51480.37541.18641.21940.0043
average19.540433.033423.130137.069830.994245.00440.45571.39611.40180.0035
RMSE AAA Algorithm 15% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
11.11331.80361.12980.05910.06500.11532.06292.13382.56640.0009
21.07781.69071.24060.06200.06290.11762.27281.54852.62130.0009
31.00811.55491.23740.04930.06560.10141.81021.97832.67170.0012
40.96581.75831.21910.05230.03930.15012.22421.57412.53300.0012
51.10231.83331.13200.06780.05330.09291.77682.17142.45600.0010
average1.05341.72811.19180.05810.05720.11552.02941.88122.56970.0011
RMSE New Algorithm 15% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.66890.69870.67150.04390.02620.03090.69360.65430.72100.0010
20.58830.66780.59430.03250.05800.05360.65790.72090.73500.0009
30.64490.69660.57870.07450.05410.05450.83580.71830.74210.0011
40.58140.61850.67920.03880.04270.04070.67390.65740.65310.0008
50.64030.55500.60080.06580.04090.03490.63360.77150.70500.0009
average0.62480.64730.62490.05110.04440.04290.69900.70450.71120.0009
Table 4. RMSE obtained with 20% missing data using MICE, AAA and the newly proposed algorithm, HAAA.
Table 4. RMSE obtained with 20% missing data using MICE, AAA and the newly proposed algorithm, HAAA.
RMSE MICE 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
123.351836.985324.071343.698733.161350.99350.56880.64651.14200.0941
221.853534.328725.349630.840236.567953.56820.66650.59311.20830.0906
319.991333.129225.951340.330227.706153.07470.58140.59701.04090.0550
420.024033.589923.394430.725235.730751.83700.58470.39191.49010.0843
522.841336.014025.467845.160428.253748.63190.65900.58271.03130.1027
average21.612434.809424.846938.150932.283951.62100.61210.56221.18250.0853
RMSE AAA Algorithm 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
11.23171.47311.14822.24052.25222.80320.1420.15370.15970.0058
21.28501.33871.24782.539181.66692.71010.13530.17720.17310.0038
31.18571.23521.27422.076562.18552.87890.11620.14590.1550.0068
41.05461.23591.13752.40181.72212.68100.1620.1460.12590.0066
51.36871.48131.13921.984032.28982.66320.11960.15330.13040.0077
average1.22511.35281.18942.24842.02332.74730.13500.15520.14880.0061
RMSE New Algorithm 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.87610.96510.87870.46920.42240.41280.09780.09290.11230.0014
20.76590.75660.71270.33110.55840.64190.11180.10120.12520.0017
30.91130.90380.72670.73790.59890.50700.13410.11570.10760.0018
40.72940.88490.94560.47630.45980.46800.09530.10440.11120.0016
50.75870.82140.71920.62130.51700.37390.11250.11860.10660.0017
average0.80830.86640.79660.52720.51130.48070.11030.10660.11260.0016
Table 5. MAE (mean absolute error) obtained with 10% missing data using MICE, AAA and the newly proposed algorithm, HAAA.
Table 5. MAE (mean absolute error) obtained with 10% missing data using MICE, AAA and the newly proposed algorithm, HAAA.
MAE MICE 10% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
116.525527.460917.638231.077331.803239.90260.17250.25881.33580.0024
214.622924.196720.252633.648624.174940.81520.17440.23551.30550.0025
315.141223.995419.413426.296930.703941.43230.21130.26231.33770.0024
414.067825.606417.374134.876523.480937.36550.25120.23061.37850.0026
516.073027.560517.874127.413033.297635.74810.23340.17521.47860.0060
average15.286125.764018.510530.662428.692139.05280.20860.23251.36720.0032
MAE AAA Algorithm 10% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.81200.86810.74230.43791.36562.57450.11170.12100.92430.0059
20.83580.85450.79461.53111.23750.81100.12100.12281.09540.0062
30.82740.85460.79231.13561.49641.37820.12150.12720.95660.0095
40.86530.86510.75621.33141.46771.36570.11860.12221.04250.0085
50.90520.85610.75631.23641.21150.82770.11450.11770.95950.0120
average0.84910.85970.76841.13451.35571.39140.11750.12220.99570.0084
MAE New Algorithm 10% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.81920.74060.68830.34470.51751.03310.10470.10910.13380.0042
20.67890.63710.75800.53590.51401.08380.11630.08720.14100.0033
30.70800.64730.73810.48390.32781.07830.09230.10550.13870.0054
40.69460.70010.63870.52850.28210.89470.12240.08450.12530.0049
50.76160.76930.66950.17230.60281.06470.09260.11580.12170.0069
average0.73250.69890.69850.41310.44881.03090.10570.10040.13210.0049
Table 6. MAE obtained with 15% missing data using MICE, AAA and the newly proposed algorithm, HAAA.
Table 6. MAE obtained with 15% missing data using MICE, AAA and the newly proposed algorithm, HAAA.
MAE MICE 15% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
117.185527.790918.298232.353240.342631.40730.79190.99182.00180.0149
215.282924.416720.692624.394941.255234.08861.08950.99052.06950.0141
315.581224.655419.633431.033941.982326.73690.37730.68132.09270.0171
414.617826.046417.814123.700937.695535.20650.57320.59661.81800.0189
516.293027.890518.534133.957635.968127.63300.48851.21682.12260.0205
average15.792126.160018.994529.088139.448831.01440.66410.89542.02090.0171
MAE AAA Algorithm 15% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.93210.95160.86511.37881.42401.38660.09320.09520.08650.0063
20.95760.86130.90001.35691.33131.36870.09580.08610.090.0075
30.57740.89650.86521.34581.51441.37880.05770.08960.08650.0101
40.96260.89450.95131.35651.52271.37440.09630.08950.09510.0096
50.93420.98520.98061.30261.52781.35060.09340.09850.09810.0124
average0.87280.91780.91251.34811.46401.37180.08730.09180.09120.0092
MAE New Algorithm 15% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.71850.50400.66440.48190.58351.08810.07970.08510.08420.0072
20.59990.43900.73680.58610.58001.12780.08820.06990.08810.0056
30.62450.44200.72560.24590.39381.11130.06960.08390.08810.0093
40.61310.47700.61810.35340.33710.94970.09270.06840.07890.0086
50.67830.51500.66150.28340.65781.13070.07090.09080.07710.0114
average0.64690.47540.68130.39020.51041.08150.08020.07960.08330.0084
Table 7. MAE obtained with 20% missing data using MICE, AAA and the newly proposed algorithm HAAA.
Table 7. MAE obtained with 20% missing data using MICE, AAA and the newly proposed algorithm HAAA.
MAE MICE 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
119.849529.270919.778233.537232.295341.23060.51430.20571.25820.0032
216.170926.784722.764626.170936.160643.62320.60400.24161.16810.0026
317.653226.431421.705433.105928.512942.87030.27750.11100.88850.0027
415.801828.118420.478125.772936.686538.58350.33100.13240.77420.0023
518.957029.962520.014135.733628.817036.85610.28860.11551.48320.0034
average17.686528.113620.948130.864132.494440.63280.40310.16121.11440.0028
MAE AAA Algorithm 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.89960.91800.80431.05131.72611.47620.66940.80790.69840.0014
20.89440.86690.73211.43391.49421.50550.86360.82480.86780.0015
30.84410.87110.64161.52951.65591.64390.83660.87940.72540.0016
40.71840.89190.80571.47821.89881.46320.88480.80290.92490.0018
50.75250.86420.72730.82510.98971.42850.78650.89890.87850.0019
average0.82180.88240.74221.26361.55291.50350.80820.84280.81900.0016
MAE NEW Algorithm 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.11370.18100.12390.65950.79071.29530.74360.72800.72540.0011
20.11300.17020.13270.79330.66881.39420.79120.65420.78160.0012
30.11320.15470.14720.48270.51221.28890.70630.74370.80550.0012
40.09840.16580.13260.47180.45551.12730.89110.61750.78620.0014
50.11770.18460.13000.54980.92421.39710.64350.81160.73260.0015
average0.11120.17130.13330.59140.67031.30060.75510.71100.76630.0013
Table 8. RMSE obtained with 20% missing data using MICE, AAA and the newly proposed algorithm, HAAA for the case in which there is correlation in the missingness of data.
Table 8. RMSE obtained with 20% missing data using MICE, AAA and the newly proposed algorithm, HAAA for the case in which there is correlation in the missingness of data.
RMSE MICE 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
124.490843.258847.508965.291052.260168.82070.79671.11361.86460.1084
226.432661.120842.964657.252761.496971.01711.24370.94901.25110.1627
333.471761.910348.770355.047752.4416106.05201.06160.85421.65920.0826
435.885950.275030.453054.305038.131668.87680.69420.62242.66810.1056
544.451652.634840.484490.260329.199458.10341.29950.71631.65450.1789
average32.946553.839942.036264.431446.705974.57401.01910.85111.81950.1276
RMSE AAA Algorithm 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
11.98781.72521.80322.81634.11095.33430.14370.16310.22220.0103
22.43591.64202.40583.08573.16774.31840.26650.26000.27860.0056
31.32911.46072.40132.36972.76765.68700.11730.14810.29990.0073
41.89101.38041.17583.75022.42183.91660.30680.22280.13460.0070
51.37981.85771.53852.14412.93013.63570.14990.22200.16040.0108
average1.80471.61321.86492.83323.07964.57840.19680.20320.21910.0082
RMSE New Algorithm 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
11.09661.68481.38320.55700.51710.57550.18760.11830.12140.0024
21.28251.11241.26880.45650.62961.17750.15100.15340.19030.0028
30.97831.24181.19650.75580.82730.88820.16090.18710.17240.0034
41.25321.12111.40080.64150.71310.57380.17750.12990.12080.0017
51.18881.46171.32641.22550.75680.45530.19650.21330.10780.0028
average1.15991.32431.31510.72730.68880.73410.17470.16040.14250.0026
Table 9. MAE obtained with 20% missing data using MICE, AAA and the newly proposed algorithm HAAA for the case in which there is correlation in the missingness of data.
Table 9. MAE obtained with 20% missing data using MICE, AAA and the newly proposed algorithm HAAA for the case in which there is correlation in the missingness of data.
MAE MICE 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
138.182954.522323.878958.984538.163452.82090.85170.40842.27320.0062
224.199233.732243.365145.584765.100263.04450.82670.40782.17290.0051
327.652033.311226.511446.933143.606756.40790.36820.11291.08770.0053
422.467451.255626.831637.056945.667054.61070.44940.21141.24560.0029
523.742149.785032.916038.481355.229365.31120.30320.12942.17870.0066
average27.248744.521230.700645.408149.553358.43900.55990.25401.79160.0052
MAE AAA Algorithm 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
11.33251.31190.97421.85962.96082.88760.98541.30460.70140.0022
21.47581.20171.43691.77132.19191.84241.48630.83861.37630.0023
30.89960.97400.78642.76493.09072.83341.44971.22691.37960.0029
40.75981.15190.86441.72453.14582.43981.12881.03621.25710.0028
51.46211.36580.78191.51751.31761.43450.86601.67001.07000.0023
average1.18601.20110.96871.92762.54142.28761.18321.21521.15690.0025
MAE New Algorithm 20% Missing Data
ID#VanVbnVcnVabVbcVcaIaIbIcPF
10.14420.28380.17141.02361.56022.54530.90791.13501.07160.0015
20.11830.29240.18680.80850.93622.08891.54900.87781.06430.0021
30.16040.26980.23910.57500.97702.44460.92201.46700.94840.0023
40.11550.17150.22620.51950.72442.12401.22721.21341.24320.0022
50.13730.35920.16520.88411.35532.42340.95041.47720.78770.0023
average0.13510.27540.19770.76221.11062.32521.11131.23411.02300.0021
Table 10. MAE and RMSE obtained with 90% missing data in a single column (case of missing information in Van) using MICE, AAA and the newly proposed algorithm HAAA.
Table 10. MAE and RMSE obtained with 90% missing data in a single column (case of missing information in Van) using MICE, AAA and the newly proposed algorithm HAAA.
ID#90% Missing Data in One Single Columm
MAERMSE
MICEAAAHAAAMICEAAAHAAA
187.137510.22898.9960103.887912.31658.7614
268.022610.16618.943899.232812.85038.6589
376.334010.19008.441486.404011.85689.1133
467.00278.85897.183990.541310.54587.9936
582.546110.59407.5248102.535113.68659.5870
average76.208610.00768.218096.520212.25128.8228

Share and Cite

MDPI and ACS Style

Turrado, C.C.; Sánchez Lasheras, F.; Calvo-Rollé, J.L.; Piñón-Pazos, A.-J.; Melero, M.G.; De Cos Juez, F.J. A Hybrid Algorithm for Missing Data Imputation and Its Application to Electrical Data Loggers. Sensors 2016, 16, 1467. https://doi.org/10.3390/s16091467

AMA Style

Turrado CC, Sánchez Lasheras F, Calvo-Rollé JL, Piñón-Pazos A-J, Melero MG, De Cos Juez FJ. A Hybrid Algorithm for Missing Data Imputation and Its Application to Electrical Data Loggers. Sensors. 2016; 16(9):1467. https://doi.org/10.3390/s16091467

Chicago/Turabian Style

Turrado, Concepción Crespo, Fernando Sánchez Lasheras, José Luis Calvo-Rollé, Andrés-José Piñón-Pazos, Manuel G. Melero, and Francisco Javier De Cos Juez. 2016. "A Hybrid Algorithm for Missing Data Imputation and Its Application to Electrical Data Loggers" Sensors 16, no. 9: 1467. https://doi.org/10.3390/s16091467

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop