1. Introduction
Electrical energy is indispensable in today’s world. The increasing reliance on renewable sources, the need for energy storage, and the growth of complex loads have significantly complicated the systems that manage and supply this form of energy. In this way, one of the technologies that has become ubiquitous is the smart meter (SM). In fact, it is predicted that in the future, smart metering will play a very important role in the electrical energy context [
1]. Even now, the technology associated with smart meters is already considered very important, especially in Europe. Indeed, countries like Sweden and Finland have strongly adopted this technology [
2]. By this means, they intend to be leaders in the transformation to a clean energy economy, in which they combine the use of smart meters with policy measures. However, their use on other continents has also been adopted, such as in the case of the United States, where in 2016, the number of smart meters installed reached 70 million, and this number is expected to be 326 million across Europe by 2028 [
3,
4].
The use of smart meters integrated into different applications in the electric infrastructure has been proposed. One of the areas in which this equipment has been proposed is at the power-quality-monitoring level. So, in this context, in [
5], a solution is proposed in which an aggregation algorithm is used that must be incorporated into smart meters. Through this proposal, it is possible, for example, to achieve control of a distribution network. Other works in which smart meters were used for PQ purposes have also been published, especially associated with the identification of disturbances [
5,
6,
7,
8,
9,
10,
11]. Another area in which the use of this technology can be very important is in the context of electrical vehicles (EVs). Over the past few years, several works addressed this aspect. In [
12,
13,
14], the problem of the integration of EVs in smart grids (SGs) was addressed. In order to facilitate this integration, the use of a technology in which unbundled smart metering is taken into consideration alongside a virtual power plant was proposed [
15]. A major advantage of unbundled smart meter usage relies on the fact that it has two completely distinct components (Smart Metrology Meter—SMM and Smart Meter eXtension—SMX). While the SMM is a high-security component, the SMX allows the deployment of new user functionalities [
16]. Other works address the problem of the identification of the load patterns generated by electric vehicle charging. To identify these patterns, learning and unsupervised algorithms that use data from smart meters were proposed [
17,
18,
19,
20].
One of the areas in which smart meters have started to play an important role is at the residential level. In fact, in several countries, in the majority of residential homes, there is a smart meter. This piece of equipment has been used for the monitoring of total household energy. However, several methods have been proposed in order to provide new services based on information from smart meters. So, proposals for the use of this kind of equipment for residential demand response, one of the possible services, have been presented. Thus, in [
21], an algorithm for demand response management in which home load management modules are incorporated into smart meters was proposed. This system was developed in the context of a smart grid. Other works, in which smart meters were used in the context of demand response in residential houses, have also been presented [
22,
23,
24,
25,
26,
27]. Another very important service that can be provided through an SM is the identification of residential appliances. This service can play a very important role in the implementation of several smart applications, such as demand response [
28,
29], smart billing [
30], fault resilience [
31,
32], and the integration of renewable sources and energy storage [
33,
34,
35,
36,
37]. In this regard, several techniques and approaches have been presented to provide these services.
For residential appliance identification, there are two main approaches: intrusive load monitoring (ILM) and non-intrusive load monitoring (NILM). The first approach (ILM) is characterized by the use of sensors applied to appliances or to specific points of the load [
38,
39]. The main disadvantage of this approach is associated with its high costs. In the second approach (NILM), the identification of turned-on appliances is realized by a single point, usually the entry point of the power supply. One of the main problems associated with this last approach is that the identification of turned-on appliances from total electric power is very complex and difficult.
The first NILM techniques were based on the analysis of active and reactive power measurements, in which statistical tools were applied with the purpose of detecting changes in these measurements that are related to the turned-on/off appliances. For example, in [
40,
41], works are presented in which these kinds of techniques were used. However, these techniques showed some issues in the identification of complex appliances, especially with multiple states. So, other approaches have been used in order to solve this problem. One of the approaches used Hidden Markov Models (HMMs) [
42,
43], although this presented some problems when the time duration was not relatively constant for each of the states. Other approaches have also been proposed, in which instead of using active and/or reactive power, grid current harmonics, voltage–current trajectory or images were analyzed [
44,
45,
46,
47]. In the past few years, new approaches have been proposed, for which interesting results have been obtained. These approaches include techniques based on graph signal processing [
48], a cepstrum-smoothing-based method [
49], a fuzzy clustering algorithm [
50], an artificial bee colony [
51] and deep learning [
52,
53]. A review of NILM techniques can also be seen in [
54]. In [
55], a cloud-based on-line disaggregation algorithm for home appliance loads is presented. However, these methods have not been studied in the context of grid distortion and the definitions of powers taking into consideration this distortion.
Numerous approaches have been employed to identify individual appliance loads from aggregated smart meter data. However, the impact of different power definitions on load disaggregation has not been extensively explored. This paper aims to investigate the suitability of smart meter measurements, considering grid distortions, for non-intrusive load monitoring (NILM). Different power definitions will be analyzed to assess their impact on NILM. A genetic algorithm-based NILM approach will be employed to evaluate this impact. The proposed methodology will be validated using real-world data from multiple households.
2. Power Definitions
Modern smart meters offer a comprehensive set of accurate measurements and calculations, including apparent, active, and reactive power, consumed and produced energy, total harmonic distortion (THD), and more, even under non-sinusoidal or unbalanced conditions. The new generation of smart meters adheres to the recommendations of IEEE Std. 1459–2010 [
56] or the DIN 40110–2 [
57] to incorporate the latest definitions of apparent power (kVA) and nonactive power (kvar). Since the 1920s, some of the most eminent professors and engineers, such as Budeanu, Bunet, Iliovici, Fryze, Bucholz, Kuster, Shepherd, Zakikhani, Depenbrock, Czarnecki, and Tenti, among others, have proposed and discussed their own power definitions [
58]. Despite some mathematical shortcomings, for many years, Budeanu’s (Prof. Constantin I. Budeanu) definitions of power were universally accepted by electrical engineers and their organizations. The latest work developed by Prof. Alexander. E. Emanuel, published in 2010 [
59], is now the most accepted and recognized method. In this section, a brief review of the power definitions proposed by professors Budeanu and Emanuel are presented. As will be seen in the following sections, these definitions are be very valuable in the process of NILM.
2.1. Budeanu’s Proposal
Professor Budeanu created new definitions of apparent power in non-sinusoidal systems and understood that this power has more than two components, which can be represented in a three-dimensional system. The squared RMS (Root Mean Square) harmonic currents can be divided into two orthogonal terms according to (1):
where
is the phase angle between the harmonic voltage phasor
and the harmonic current phasor
. From Equation (1), it is possible to obtain the expression of the apparent power squared (2):
Applying Lagrange’s identity, the apparent power squared can be simplified to Equation (3):
Equation (3) shows that apparent power in non-sinusoidal systems can be decomposed into three orthogonal components, visualized as a right-angled parallelepiped in
Figure 1. The diagonal of this parallelepiped, given by Equation (4), represents the apparent power. In the previous equation,
is the phase angle between the harmonic voltage phasor
and the harmonic current phasor
and
is the phase angle between the harmonic voltage phasor
and the harmonic current phasor
.
The first term is the total active power (5) and the second term is called reactive power (6), or Budeanu reactive power,
. In the previous figure,
P1 is the active power at the fundamental frequency,
PH is the active power at harmonic frequencies,
Q1 is the reactive power at the fundamental frequency and
QH is the reactive power at harmonic frequencies.
The third term is the distortion power (7). Nevertheless, the usual computation of distortion power is through (8).
2.2. Emanuel’s Proposal
Emanuel’s power definition separates fundamental (50/60 Hz) active and reactive powers from non-fundamental components [
45]. This definition can be derived from the RMS voltage and current decomposition shown in Equation (9).
From (9), the result is that the apparent power squared has four terms (10):
The first term is the fundamental or 60/50 Hz apparent power (11) and the remaining three terms are the non-fundamental (non-60/50 Hz) apparent power (12).
The term
is the current distortion power (see Equation (13)). This non-active power gives information on the amount of VA tied to the current distortion.
The term
(see Equation (14)) is the voltage distortion power, and is proportional to the fundamental component of the current,
and the total harmonic voltage
. It reveals the amount of volt–ampere–reactive caused by voltage distortion.
The last term
is the harmonic apparent power (15).
The term
contains the active harmonic power
and harmonic distortion power (16):
where the harmonic power
is given by (17):
The harmonic distortion power is given by (18), where
is similar to Budeanu’s distortion power, presented in (7).
Figure 2 shows the disaggregation of the apparent power according to Emanuel’s proposal.
3. NILM Approach Based on the Genetic Algorithm
The type of information obtainable from smart meters depends on the data sampling frequency. For instance, hourly or half-hourly data are sufficient for determining household occupancy. However, to accurately detect individual or multiple appliances, high-frequency smart meter data are necessary [
49]. Since the purpose is to provide the ability to identify the turned-on appliances at a specific moment, high sampling frequency is required. This enables precise identification of appliance activation times, a capability inherent in modern smart meters. Smart meter data enables the calculation of power values based on the definitions outlined in the previous section. Unbundled smart meters directly provide voltage and current measurements for each phase, eliminating the need for additional computations (provided by the SMM without additional calculations). The SMM can also obtain the following values: active power value on each phase, reactive power value on each phase, power factor value on each phase, homopolar value of the rms voltage, homopolar value of the rms current, angle between voltages, angle between each phase voltage and current, grid frequency. In this work, and considering that harmonics are available up to the order of 32 [
60], we deployed the proper code in the unbundled smart meter SMX component to obtain the values presented in (19) and (20). So, to identify which appliances are on at a specific time t involves analyzing the aggregated power measurements from the smart meter. In this way, from the point of view of Budeanu’s proposal, the several aggregated powers will be given by:
where
Pk(
t),
QBk(
t) and
DBk(
t) describe the active power, reactive power and distortion power consumptions, respectively, of the specific appliance
k at instant
t, and
e(
t) is the noise of the measurement. Regarding the perspective of Emanuel’s proposal, the several aggregate powers are given by (20):
where
P1k(
t),
PHk(
t),
Q1k(
t),
DIk(
t),
DVk(
t) and
DHk(
t) describe the fundamental active power, harmonic active power, fundamental reactive power, current distortion power, voltage distortion power and harmonic distortion power consumptions, respectively, of the specific appliance
k at instant
t.
To identify individual or multiple active appliances, we propose an objective function within a metaheuristic framework. This objective function minimizes the difference between the sum of the powers of active appliances and the total power measured by the smart meter at the grid connection point. The decision variables represent the number of active appliances of each type.
Based on the preceding discussion, objective functions (21) and (22) are defined. These functions aim to minimize the difference between the aggregated power measured by the smart meter and the sum of the powers of active appliances, aligning with Budeanu’s and Emanuel’s power theories. Emanuel’s approach considers fundamental active power (
P1), fundamental reactive power (
Q1), current distortion power (
DI), and voltage distortion power (
QV). By incorporating fundamental power and distortion powers, the algorithm becomes more resilient to grid voltage fluctuations and distortions. To further enhance robustness, the difference between voltage and current waveforms is used instead of considering them separately, allowing higher immunity.
where
PTk(
t),
PTHk(
t),
QT1k(
t),
QTHk(
t),
DIk(
t),
DVk(
t) and
DHk(
t) describe the several power consumptions of the specific type of appliance
k at instant
t.
The decision variables represent the number of active appliances of each type (Nk). The constraints ensure that the number of active appliances cannot be negative. A value of zero indicates that the appliance is off, while a non-zero value represents the number of identical appliances that are on.
To address the load disaggregation optimization problem, a genetic algorithm from the Illinois Genetic Algorithms Laboratory [
48] was employed. This algorithm determines integer decision variables, each representing the number of identical appliances in the aggregate load. Algorithm 1 outlines the proposed load disaggregation approach. To evaluate the algorithm’s ability to identify individual appliances, real-world data were collected using sensors on various appliances. These data formed the basis of an experimental database containing power consumption patterns of common electrical devices. The algorithm analyzes the total power consumption and attempts to disaggregate it into individual appliance loads. Alternatively, electrical models of different appliances from various manufacturers can be used to create a synthetic dataset. This solution is currently under investigation and requires further research to provide a comprehensive comparison and identify potential improvements.
Algorithm 1. Main work flow of the proposed identification of appliance disaggregation. |
1: | Set i = 1; |
2: | Set the maximum number of each equipment; |
3: | Take 1st aggregation load; |
4: | Set execution = 1; |
5: | while execution do |
6: | Apply cost function; |
7: | Apply the constraint function; |
8: | Apply GA for load disaggregation |
9: | if i = number of aggregation load then |
10: | Set execution = 0; |
11: | else |
12: | i = i + 1; |
13: | Take ith aggregation load; |
14: | end if |
15: | end while |