
==== Front
Sensors (Basel)
Sensors (Basel)
sensors
Sensors (Basel, Switzerland)
1424-8220
MDPI

10.3390/s24175619
sensors-24-05619
Article
HYDROSAFE: A Hybrid Deterministic-Probabilistic Model for Synthetic Appliance Profiles Generation †
https://orcid.org/0000-0002-2694-884X
Jaradat Abdelkareem Conceptualization Methodology Validation Formal analysis Writing – original draft Writing – review & editing *
https://orcid.org/0000-0002-1202-3491
Alarbi Muhamed Conceptualization Methodology Validation Writing – review & editing
https://orcid.org/0000-0002-5253-0455
Haque Anwar Supervision
https://orcid.org/0000-0002-5341-9388
Lutfiyya Hanan Supervision
Hernández-Callejo Luis Academic Editor
The Department of Computer Science, Western University, London, ON N6A 3K7, Canada; malarbi@uwo.ca (M.A.); ahaque32@uwo.ca (A.H.); hlutfiyy@uwo.ca (H.L.)
* Correspondence: ajarada3@uwo.ca
† This paper is an extended version of our paper published in Jaradat, A.; Lutfiyya, H.; Haque, A. Synthetic Power Consumption Data Generation For Appliance Operation Modes. In Proceedings of the 2024 International Conference on Computing, Networking and Communications (ICNC24), Big Island, HI, USA, 19–22 February 2024; pp. 689–694.

29 8 2024
9 2024
24 17 561925 7 2024
26 8 2024
28 8 2024
© 2024 by the authors.
2024
https://creativecommons.org/licenses/by/4.0/ Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Realistic appliance power consumption data are essential for developing smart home energy management systems and the foundational algorithms that analyze such data. However, publicly available datasets are scarce and time-consuming to collect. To address this, we propose HYDROSAFE, a hybrid deterministic-probabilistic model designed to generate synthetic appliance power consumption profiles. HYDROSAFE employs the Median Difference Test (MDT) for profile characterization and the Density and Dynamic Time Warping based Spatial Clustering for appliance operation modes (DDTWSC) algorithm to cluster appliance usage according to the corresponding Appliance Operation Modes (AOMs). By integrating stochastic methods, such as white noise, switch-on surge, ripples, and edge position components, the model adds variability and realism to the generated profiles. Evaluation using a normalized DTW-distance matrix shows that HYDROSAFE achieves high fidelity, with an average DTW distance of ten samples at a 1Hz sampling frequency, demonstrating its effectiveness in producing synthetic datasets that closely mimic real-world data.

appliance operation modes
demand response (DR)
dynamic time warping (DTW)
HEMSs
load profile simulation
SHEMSs
Natural Sciences and Engineering Research Council of Canada (NSERC)Western WIN 4.0 Research GrantThis work was supported in part by the Natural Sciences and Engineering Research Council of Canada (NSERC) and in part by the Western WIN 4.0 Research Grant.
==== Body
pmc1. Introduction

This era of dependence on fossil fuels and concern about greenhouse gas emissions has recently increased interest in utilizing new solutions in the Smart Grid (SG) to decrease energy consumption [1]. The residential sector’s contribution to total energy usage has increased from 22% of the total energy consumption in the USA in 2009 [2] to approximately 27% in 2020 [3]. In Canada, the residential sector accounted for 28% of total energy usage in 2006, while it accounted for 32% in 2020. It is expected that residential use will continue to rise with the same pattern until 2050 [3]. Particularly, home appliances are responsible for a decent portion of energy usage; in the USA, home appliances consume approximately 30% of the total household consumption [4], while in Canada, home appliances account for 14% of total household consumption [5].

One of the common strategies that offers many integrated solutions to reduce electric usage in the residential sector is the utilization of Smart Home Energy Management Systems (SHEMSs) [6]. SHEMSs are multi-component systems that focus on energy monitoring, analysis, scheduling, storage [7,8] and feedback based on several inputs such as electricity tariffs, appliances power data collected by sensors, power consumption limit, tenants preferences, occupancy rates, and environmental data [9]. SHEMSs utilize different approaches to analyze these inputs such as Machine Learning (ML) [10] and Digital Signals Processing (DSP) methods which result in providing user feedback, appliances scheduling, user information systems [11,12]. All these outcomes focus on having users understand household usage better and promote energy sustainability [13] using different approaches such as Demand Response (DR) [14].

Within SHEMSs, to develop and validate the aforementioned analytical algorithms and methods, representative datasets are needed. Power Consumption Datasets (PCDs) [15] play a crucial role in this context. PCDs are datasets containing time-series data corresponding to samples of the instantaneous power consumption for electric loads. PCDs come into aggregated and disaggregated forms. The aggregated form is when more than one load or all the loads within the same residence are measured into a single time-series. The other form is the disaggregated PCDs when each load in the house is individually measured into a separate time-series [16]. Despite the recent efforts in collecting residential PCDs [15], public PCDs availability is still limited [17,18,19,20] due to the need to setup measurement devices within households and the long time it takes for data collection which may take years in some cases [15]. In many cases, the publicly available PCDs do not satisfy the necessity for PCDs that holds appliance-specific features to support validating data analysis algorithms [14]. To overcome this issue, researchers use Synthetic PCDs (SyPCDs) [17,21], which have the potential to extend PCDs and save the installation cost and measurement time [20]. SyPCDs are generated load profiles for household appliances based on either publicly available PCDs (deterministic) or on mathematical (probabilistic) models [22]. SyPCDs should be realistic in representing the original dataset, tunable, expandable, and unbiased. In this work, a Hybrid Deterministic-Probabilistic Model for Synthetic Appliance Profiles Generation (HYDROSAFE) is proposed. HYDROSAFE is a hybrid deterministic-stochastic model that is built to extend existing PCDs and aims to simulate household appliances’ usage profiles when activated with different Appliance Operation Modes (AOMs), which represent specific settings set to the appliance to meet the customers needs. At its core, the main objective of HYDROSAFE is to generate realistic appliance power consumption time series data based on a hybrid model. This model incorporates both deterministic methods that are built on top of a data analysis of publicly available PCDs, and probabilistic methods, which adds stochasticity to the model to maximize the realistic aspect of the generated data. The ultimate goal of HYDROSAFE is to generate Synthetic SUPs (SySUPs) in different AOMs for household appliances.

In domestic settings, home appliances often operate in distinct modes tailored to specific user needs and circumstances. An Appliance Operation Mode (AOM) denotes a predefined configuration established by the appliance manufacturer to accommodate user preferences across varying scenarios. Each AOM is characterized by its duration of operation and the unique cycles and states through which the appliance transitions. For instance, consider a dishwasher equipped with three operation modes: a light setting for lightly soiled dishes, a medium setting for moderately soiled dishes, and a heavy setting for heavily soiled dishes. The consumption of electricity varies depending on the specific AOM activated for a given appliance. Figure 1 illustrates two instances of Synthetic Usage Profiles (SUPs) for a clothes dryer, each corresponding to the appliance being activated with different AOMs. Figure 2 shows the average annual power consumption with the associated cost for three appliances within the same household. The figure shows the potential saving percentages achieved in load reduction by switching the use of appliances from heavy to medium, medium to light, and heavy to light AOMs. For example, if a household switches from using heavy to medium modes in a dishwasher, 45% of the cost is cut, while if the shifting occurs from heavy towards a light mode, 68% of the consumption is reduced annually [23].

The rest of the paper is organized as follows: In Section 2, previous work in the literature is presented. In Section 3, the problem formulation is elaborated. Section 4 presents the architecture of HYDROSAFE. In Section 5, SUPs extraction and smoothing is discussed. Section 6 presents the formal characterization of SUPs. Section 7 discusses the operation modes clustering using DTW algorithm. In Section 8, the process of generating synthetic SUPs is presented. Section 9 presents the evaluation of HYDROSAFE. Finally, Section 10 concludes the paper and suggests future work.

2. Related Work

Many of the available methods [17,24,25] of simulating appliance usage profiles focus on the consumer’s behavioral patterns [26], and determine the power consumption based on the occupancy actions [27] or based upon a psychological model [20]. A popular simulator is CREST [28], which is based on a combination of active occupancy patterns and profiles of daily activity that describes the patterns of occupants activities. An extension model [29] is built on top of CREST integrates a new thermal-electrical model into the existing model.

A probabilistic-empirical residential electricity load model [19] is designed to generate 1 min intervals power use of appliances based on both measured and statistical data besides occupant activities such as cooking, watching TV, etc. A stochastic approach [30] is used in the generation of high-resolution multi-energy load profiles for residential loads in remote areas. A mathematical framework [31] is developed for simulating household appliances by re-synthesizing the current waveforms, harmonic currents and the phase shifting of the appliances. Similar work [21] uses GUI in Matlab Simulink to simulate household loads.

Generative Adversarial Networks (GANs) [32] are rapidly evolving in many disciplines, including synthetic PCDs generation. TraceGAN [33] and PowerGAN [34] by Harell et al., ProfileSR-GAN [35] by Song et al., mREAL-GAN [36] by Sanderson et al., RLPGen [37] by Liang et al., SGAN [38] by Gkoutroumpi et al., are examples of recent literature works that explores the realm of generating realistic appliance data using GANs. GANs are known to be data-hungry [39] and require large datasets to be trained [40]. Since available PCDs with labeled AOMs is still very small [14], HYDROSAFE does not focus on using GANs. Language models are also used to generate PCDs as an N-gram language model based approach is proposed in [41] by obtaining a string representations of electricity consumption time series data from a household appliance, and then creating a unigram and bigram for each appliance category.

Several synthetic datasets for the residential sector is available. Table 1 lists recent publicly available residential and commercial SyPCDs and their basic characteristics. The Automated Model Builder for Appliance Loads (AMBAL) [42] is a load simulation tool designed to extract appliance models from real datasets. These models are composed of sequences of parameterized signatures, and play a crucial role in simulating a realistic household environment through the use of a trace generator. This synthetic appliance trace generator enables the recombination of appliance models, thus facilitating the simulation of user activities in homes with customizable complexity. A similar approach is used in SynD dataset [43], but for a larger number of appliances. SmartSim [44] is a device-accurate home energy load generator. It utilizes device energy and device usage models to simulate a household loads using a sequence of Distribution learning, Event marking, and Trace Generation components. SmartSim leverages its modeling by build on the data from Smart* energy dataset [45]. Other datasets, such as SHED [46,47] contains data for commercial buildings.

Research gap: The literature extensively examines methods for simulating residential load profiles [24,53]. However, to the best of the authors’ knowledge, no prior research has explicitly focused on simulating household appliances within the context of Appliance Operation Modes (AOMs). This observation underscores a notable limitation in the existing literature, revealing a significant gap in understanding and addressing the dynamics of appliance behavior within diverse operational modes.

Academic contribution: In this work, HYDROSAFE fills this gap by presenting a novel open-source [54] hybrid deterministic-probabilistic approach. HYDROSAFE leverages both empirical data and sophisticated statistical models to generate appliance usage profiles encompassing multiple operation modes. This development is crucial, as it provides a more accurate representation of real-world appliance usage, thereby enhancing the effectiveness of energy management systems and algorithms. Furthermore, simulating AOMs offers an opportunity to improve methods for analyzing power consumption data with a focus on AOMs, enabling households to achieve more significant energy savings.

3. Problem Formulation

The purpose of HYDROSAFE is to generate a synthetic dataset of household appliance usage profiles. This section describes the definitions and formulation for the generation process.

It is assumed that a household, h, belongs to the household set, H, such that:(1) h∈H={h1,…,hi,…,h|H|}1≤i≤|H|

where the household set, H, is of size, |H|. A household, h, runs an appliance, a, that belongs to the set of appliances, Ah, such that:(2) a∈Ah={a1,…,ai,…,a|Ah|}1≤i≤|Ah|

where |Ah| is the number of appliances in the household, h.

An operation mode, p, that belongs to the operation modes set, Pa, is defined as follows:(3) p∈Pa={p1,…,pi,…,p|Pa|}1≤i≤|Pa|

where |Pa| is the number of operation modes available for appliance, a. It is assumed that a complete run for an appliance, a, starts and ends in the same day. A day, d, is defined as:(4) d∈D={d1,…,d|D|}1≤i≤|D|

where the set of days, D, is of size, |D|. A daily power consumption sequence, Ωad, represents the power consumption samples taken in a single day, d, for the appliance, a, such that:(5) Ωad=ωnn=1n*={ω1,ω2,…,ωn,…,ωn*}1≤n≤n*

where ωn is the nth instantaneous power sample value measured in (W), and n* represents the last sample index within d. When a sampling frequency, fs, is used, the value of n* for a single day is defined as follows:(6) n*=t.fs

where t is the time measured in seconds. For a single day, t=86,400 s.

A Single Use Profile (SUP) is used to formally model the power consumption of a preprogrammed appliance between the time it is turned on and the time it is switched off. A SUP represents the sequence (or time-series) of the power consumption values (measured in Watts) consumed by an appliance from the moment of turning it on to the moment of turning it off. A SUP, ψp, with length |ψp|, is defined by the sequence of samples that represent a subsequence of the daily consumption, Ωad, from the moment of turning the appliance on, ns, to the moment that it is turned off, ne. This is defined as:(7) ψp={ωn}n=nsne={ωns,ωns+1,…,ωn,…,ωne−1,ωne}ψp⊆Ωad,ns≤n≤ne≤n*

where:(8) |ψp|=ne−ns+1

and for all SUPs, ψp⊆Ωad, there is no overlapping between any two SUPs such that the intersection between these SUPs.

The set of SUPs, Ψad,p, of size |Ψad,p|, that corresponds to appliance a, and labeled by the AOM p, is defined as:(9) Ψad,p={ψ1p,…,ψjp,…,ψ|Ψad,p|p}

where Ψad,p contains all the SUPs that run using the same AOM, p. The set of all SUPs, Ψad, in d is defined as the union of all disjoint subsets Ψad,p corresponding to every AOM p∈Pa. This is defined as:(10) Ψad=⋃i=1|Pa|Ψad,pi={ψ1pj,…,ψipk,…,ψZadpl}{pj,pk,pl,…}∈Pas.t,⋂i=1|Pa|Ψad,pi=ϕ

where Ψad is a set of size, |Ψad|, that represents the total size of all AOM subsets, such that:(11) |Ψad|=∑p∈Pa|Ψad,p|

The main objective of HYDROSAFE is to generate a set of Synthetic SUPs (SySUPs) that can be used to validate the analytical methods to support Demand Response (DR) [14]. The set of SySUPs, Ψ¨a, are generated by the HYDROSAFE modules, such that:(12)

where H is the HYDROSAFE generator function, p is the selected AOM to generate SUPs in, Ψap is the set of extracted SUPs from the dataset, and is the set of tuning parameters used in the generation process.

4. HYDROSAFE Architecture

The architecture of HYDROSAFE depicted in Figure 3 comprises five main components: First, the SUPs Extraction module processes a publicly available PCD [23] and extracts a set of Single Use Profiles (SUPs) for all appliances represented in the PCD. The SUP Characteristics Extraction module applies a series of processes on the set of extracted SUPs to identify the characteristics of SUPs in a formal model. The Operation Modes Clustering component applies the Dynamic Time Warping (DTW) algorithm [55] among all SUPs so that these SUPs are grouped into clusters, each of which contains SUPs that are associated with the same AOM. The SUP Generation component is responsible for synthesizing the Synthetic SUPs (SySUPs) using the set of extracted SUPs, the SUPs characteristics, and the AOMs. This module is composed of multiple submodules, each of which accounts for a particular part in the formation of SySUPs. Finally, the Validation module is used to evaluate the similarity of the resulting SySUPs compared to the extracted SUPs. Figure 3 illustrates the architecture of HYDROSAFE.

5. SUPs Extraction and Smoothing

This section discusses the process of extracting SUPs from the time series data [23] to be used in the synthesis of SySUPs.

5.1. SUPs Extraction

All SUPs are extracted from the Rainforest Automation Energy Dataset (RAE) by Makonin et al. [23] on a daily basis per appliance. This dataset is chosen because it is extensively used in numerous works within the literature, making it a well-established and validated source of data for research on appliance power consumption. The extraction process is based on XCorrelation [56], which is based on this previous work [14]. For any appliance, the daily consumption sequence, Ωad, contains zero or more non-overlapping SUPs, such that:(13) ψipα=ωnn=nsinei,ψjpβ=ωnn=nsjneji<j∀{i,j}∈{1,2,…,|Ψad|}1≤nsi<nei<nsj<nej≤n*

where the first SUP, ψipα, runs with the operation mode, pα, and starts at n=nsi and ends at n=nei. The other SUP, ψipβ, runs with the operation mode, pβ, and starts at n=nsj and ends at n=nej. The activation time of each SUP is before the switch off time as nsi<nei, nsj<nej, and both SUPs do not overlap throughout the day, such that nei<nsj. The power consumption samples that belong to the time intervals between SUPs are defined as follows:(14) ωn≤τε∀n∈{nei+1,nei+2,…,nsj−1}

where τε is a threshold that represents the stand-by power which corresponds to the appliance state when the appliance is switched off or switched to a stand-by state. In this state, the appliance consumption is closest to zero as the consumption is very minimal, which is caused by low-rated appliance components such as Light Emitting Diodes (LED lights).

5.2. SUPs Smoothing

Typically, any signal can be decomposed into multiple components. Signal components can be high or low in frequency. In this context, a high frequency component with relatively low amplitude is considered noise, and needs to be reduced [57]. The moving median smoother is used to reduce the high frequency component [58]. To reduce the high frequency component within SUPs, a transformation function is applied on the SUP sequence, ψ, of length, |ψ|, to generate the smoothed SUP, ψ^, of length, |ψ^|. The moving median smoother, M, is selected. This transformation is performed as follows:(15) ψ^(n)=M(ψ(k))

where W is the sliding window size that is used by M. By using a sliding window transformation, the transformed sequence length is shortened by a factor of the window size, W, where two sequences of length W2 are padded to ψ^ to compensate the decrease in length caused by the transformation. A leading sequence is prepended before ψ^, where each prepended item is equal to the first sample of ψ^, i.e., ψ^(1). A lagging sequence is appended after ψ^, where each appended item is the last sample of ψ^, i.e., ψ^(|ψ^|). This is shown as follows:(16) ψ^after={ψ^(1),…,ψ^(1)}︸⌊W2⌋∪ψ^before∪{ψ^(|ψ^|),…,ψ^(|ψ^|)}︸⌊W2⌋

where ψ^before is the smoothed SUP before padding, and ψ^after is the smoothed SUP after padding. After this concatenation, the length of the transformed SUP, |ψ^|, will be equal to the length of the SUP, |ψ|.

The choice of the moving median smoother in this context stems from its advantageous property of edge preservation. When processing SUPs characterized by square waveforms with minor fluctuations, the precise location of edges holds significance in delineating SUP characteristics. Unlike alternative smoothers like the moving mean, the moving median exhibits superior edge preservation capabilities. Specifically, the moving mean introduces distortions to edges, resulting in the transformation of vertical edges into skewed counterparts. This distortion introduces an inherent uncertainty, thereby compromising the precision of SUP characteristics delineation. As such, the utilization of the moving median smoother ensures enhanced accuracy in defining SUP characteristics by mitigating edge distortion effects. In Figure 4, a square wave with added noise is illustrated. The smoothed wave obtained using the moving average exhibits a skewness in the edges. Conversely, the smoothed wave obtained using the moving median effectively preserves the edges.

Selecting the smoothing window size, W, impacts the degree of similarity between ψ and ψ^. Higher values of W produce wider windows and, therefore, significantly reduce the high frequency noise, while they may cause deformation in the major shape (the low frequency component) of ψ^, which results in a higher distance. On the other hand, lower values of W produce narrower windows and, therefore, the high frequency noise may not be sufficiently eliminated, which may also result in a higher distance. To measure this impact, according to Tan et al. [59], the Minkowski distance, particularly the L2 norm of the Minkowski distance, is utilized to measure this impact, namely the Normalized Euclidean Distance [59]. This is defined as follows:(17) E(ψ,ψ^)=1|ψ|∑k=1|ψ|ψ(k)−ψ^(k)2

where the function, E, measures the normalized pairwise distance between the points, ψ(k) and the corresponding point, ψ^(k), assuming that |ψ|=|ψ^|. Figure 5 illustrates the effect of varying the window size, W, on the distance, E(ψ,ψ^). The window size W spans from 5 to 250 samples, and the distance E is depicted for 25 SUPs. A higher value on the plot indicates a greater difference in E(ψ,ψ^), suggesting that some of the significant topographies of ψ have been smoothed out. Conversely, as the plot flattens, it signifies that the smoothing function has retained all major topographies defining the shape of ψ while eliminating the noise component. These patterns shown in the figure highlight how the SUPs respond differently based on the characteristics of the states being removed and the corresponding window size. The plot presents three distinct groups of SUPs, each exhibiting a staircase-like response to the distance, E. This staircase pattern emerges due to the progressive removal of short states from the SUPs as the window size increases. Group 1 shows an early step up in the plot, which corresponds to the removal of shorter states from the SUP. As the window size increases slightly, these short states are excluded, resulting in a noticeable increase in the plot. Group 2 and Group 3 demonstrate steps that occur at larger window sizes. In these cases, the removal of states with wider durations causes the step in the plot to appear later, as it requires a larger window size for these wider states to be excluded. The initial disparity in E(ψ,ψ^) stems from the elimination of spikes at the beginning of each state (referred to as the inrush current [60]), which typically contributes to a brief period of high power consumption.

6. Extraction of SUPs Features

In major appliances, a SUP consists of a sequence of activations and deactivations of the internal components of the appliance. For example, in the clothes dryer, the heating element and the spinning motor switch on and off during the operation cycle. During the activation of such internal elements, the appliance is considered to be in a particular state.

A state corresponds to the power values recorded during the activation of these components over specific time interval. This process of switching the appliance’s components on and off results into a sudden changes in the power consumption, which show as a common pattern in the corresponding SUP as a sequence of square-like wave with abrupt changes (edges) between the states. The exact sample when the abrupt change occurs is defined as Exact Edge. When detecting these exact edges, the detection mechanism firstly specifies a Thick Edge, which is an interval that surrounds the exact edge with high likelihood indication of the existence of the exact edge.

The number of states, their distributions, durations, and power levels are all characteristics that determine the features of SUPs of a specific AOM compared to other AOMs within the process of generating SySUPs. The following subsections describe the steps to determine the characteristics of SUPs in terms of the states that form these SUPs.

6.1. Estimation of State Edges

An indicator vector, I, is used to determine the bounds of each state in the SUP, ψ^. The Median Difference Test (MDT) [61] is used to calculate the values of the indicator vector, I. MDT utilizes a moving window with length, WI, that slides over the subsequences of ψ^. The MDT estimates the presence of an exact edge within ψ^ by dividing the moving widow into two equal length partitions. The median, M, is evaluated for each partition along with the standard deviation, σ, of the entire window. The indicator vector is defined as the following:(18) Iψ^(n)=σψ^(ni)Mψ^(nj)2−Mψ^(nq)2∀ni∈k,∀nj∈kl,∀nq∈krkl=n−WI2,n−WI2+1,…,n,kr=n+1,…,n+WI2−1,n+WI2k=kl∪kr∀n,1≤n≤|ψ^|

where Iψ^ is the indicator vector corresponding to the SUP, ψ^. M(ψ^(nj)) is the median of the SUP samples corresponding to the left partition of the window as of nj∈kl, where kl is the list of sample indexes of the left window. M(ψ^(nq)) is the median of the SUP samples correspond to the right partition of the window as of nq∈kr, where nq is the list of indexes of the right window. σ(ψ^(ni)) is the standard deviation of the SUP samples of the entire window as of ni∈k.

The evaluated value of Iψ^(n) is proportional to the likelihood of having an exact edge in ψ^ at sample index n. When the window falls within a rising edge, the value of the left partition median, M(ψ^(kq)), is lower that the value of the right partition median, M(ψ^(kq)). The difference between the two medians will be relatively high. Additionally, since there is a large difference between the left and right partitions values, the indicator value, Iψ^, increases by a factor of the standard deviation of the entire window, σ(ψ^(ki)). The leading and lagging gaps caused by the moving window is padded using the same technique used in Equation (16).

The indicator vector, Iψ^, is depicted in Figure 6. The plot of Iψ^ shows two states: A steady low amplitude values that indicate a steady behavior in ψ^ as the change in the value of ψ^ is relatively small. The other state is a list of spikes that indicate a higher likelihood that an abrupt change in the value of ψ^ has occurred. The starting and ending sample indexes of each of the spikes bound the exact edge in ψ^. These two bounds form a thick edge, which is a pair of sample indexes that indicates the presence of a rising of falling exact edges in ψ^. The sequence of thick edges, Πψ^, of size |Πψ^|, that is identified by Iψ^ in ψ^, is defined as follows:(19) Πψ^=πii=1|Πψ^|,|Πψ^|≤|ψ^|2

where πi is the ith thick edge that is defined as the following pair of sample indexes:(20) πi=(nio,niι),1≤nio≤niι≤|ψ^|

where πi defines two boundaries, nio as the lower bound, while the upper bound is niι. The sequence of thick edges, Πψ^ is obtained by applying a threshold, τI, so that a thick edge, π, is defined as the following:(21) Iψ^(n)≤τI,∀n∈njι+1,njι+2,…,nkoπj=(njo,njι),πk=(nko,nkι)1≤njo≤njι<nko≤nkι≤|ψ^|

where πj, πk are two consecutive thick edges.

6.2. Determining SUP States

A SUP encompasses a succession of states representing the power consumption behavior of internal electrical components within an appliance. Each state within the sequence corresponds to the power values recorded during the activation of these components over specific time intervals. These sequences tend to exhibit a relatively stable pattern with slight variations, reflecting the consistent power consumption behavior of the internal components.

The sequence of states, Λ, that is associated with ψ^ is defined as follows:(22) Λψ^={λ1,…,λi,…,λ|Λ|}λi=(eo,eι,ωλ),eo<eιλ1=(1,1,ω1λ),λ|Λ|=(|ψ^|,|ψ^|,ω|ψ^|λ)

where the state, λi, is represented by a tuple with three elements: the left exact edge, eo, the right exact edge, eι, and the power value, ωλ. The values of the exact edges are determined through the process of Edge Thinning. In this process, the exact edge, e, is evaluated from the corresponding thick edge, π. One method for edge thinning is argmax method where the value of e equals the sample index that produces the maximum indicator vector value, Iψ^. This is defined as:(23) eio=argmaxIψ^(n),∀n∈πieiι=argmaxIψ^(n),∀n∈πi+1i∈{1,3,5,…}

where the left exact edge, eio, is selected from a thick edge, πi, i.e., eio∈πi and the right exact edge, eiι, is selected from a thick edge, πi+1, i.e., eiι∈πi+1.

The other method of edge thinning is the mid-point method. The center point of the thick, πi, is selected as the exact edge. This is shown as follows:(24) eio=nio+niι2,eiι=ni+1o+ni+1ι2i∈{1,3,5,…}

As both of the left and right exact edges of the state, λi are determined, the power value of the state, ωiλ, is evaluated as the median, M, of the power values in ψ^ corresponding to each sample index in the state, λi. This is defined as the following:(25) ωiλ=Mωkk=eioeiι

where ωk, is the power values of ψ^ at the sample index, k.

The sequence of states, Λ, that represents ψ^ is defined as follows:(26) Λψ^={λ1,…,λi,…,λ|Λ|}λi=(eio,eiι,ωλ)

such that Λ contains all the features that distinguish one SUP from another. These features are used for SUP classification and clustering [62].

7. SUP Clustering

Typically, disaggregated PCDs comprise a set of SUPs per appliance where each SUP represents an activation with a particular AOM. This section discusses how to use DTW to group SUPs that belong to the same AOM in clusters [63]. The DTW distance measure is used in HYDROSAFE as a measure of similarity among SUPs. This similarity is used to create clusters of appliance SUPs where the members of each cluster share the same operation mode. The DTW distance is calculated between any two temporal sequences, Q and P, such that Q={qi}i=1n and P={pj}j=1m. DTW maps the elements of Q and P to minimize the distance between Q and P based on a warping path [55], W∈W={wk}k=1K over all possible paths, W. This is defined as follows:(27) DTW(Q,P)=minWW∈W∑k=1Kℵ(wk)max(m,n)≤K<m+n−1

where wk=(i,j) is the pair of indices, and ℵ(wk) is the distance element that belongs to the warping path W that aligns the elements of both Q and P such that the distance between them is minimized. The minimization is obtained through iteratively minimizing the distance of the current element and the adjacent elements within the distance matrix, ℵ, such that:(28) ℵ(i,j)=de(qi,pj)+min{ℵ(i−1,j−1),ℵ(i−1,j),ℵ(i,j−1)}

where de(qi,pj) is the Euclidean distance between qi and pj. The optimal warping path is found by tracing ℵ backward, choosing the adjacent points with the lowest distance [55].

Generally, SUPs that belong to a specific operation mode have a smaller DTW distance among each other, and hence, higher similarity. On the other hand, pairwise DTW distance which is the distance between two SUPs that belong to different operation modes have higher distance and thus less similarity. To ensure the uniformity in the distances, the normalized pairwise DTW distance, δ¯, between two SUPs, ψpi and ψpj, is defined as the following:(29) δ¯ψpi,ψpj=DTWψpi,ψpj|ψpi|+|ψpj|pi,pj∈Pa,ψpi∈Ψad,pi,ψpj∈Ψad,pj

The distance matrix, Δ, is a (|Ψad|×|Ψad|) square matrix that contains the normalized pairwise distances, δ¯, for all SUPs ψp∈Ψad. The distance matrix is defined as:(30) Δ=Δi,j=δ¯ψip0,ψjp0i,j∈{1,…,|Ψad,p0|}⋱Δi,j=δ¯ψipk,ψjpki,j∈{|Ψad,pk−1|,…,|Ψad,pk|−|Ψad,pk−1|}

where the distance matrix, Δ, is a symmetric square matrix, i.e., Δi,j=Δj,i since each of its elements is compared to all other elements in Δ. The element Δi,j represents the distance between ψipk and ψjpl, such that:(31) Δi,j=δ¯ψipk,ψjpl∀{ψipk,ψjpl}∈Ψad

Since Δ is a symmetric square matrix, the upper triangle in Δ contains the same values in the lower triangle. The diagonal values of Δ are defined as:(32) Δi,j=0,∀i=j

which refers to the zero distance between a SUP and itself.

The SUPs clustering is based on the Density And Dynamic Time Warping Based Spatial Clustering For Appliance Operation Modes (DDTWSC) [63]. DDTWSC is a clustering algorithm for SUPs based on the DTW distance. DDTWSC utilizes two hyperparameters: ϵ,μ [64] where ϵ is the Eps-neighborhood hyperparameter that determines the maximum radius in which all SUPs within that radius will be considered for further steps. μ represents the minimum number of adjacent elements located in the given region surrounded by ϵ. The clustering of the SUPs is modeled as follows:(33) {{Ψap}p∈P,Ψao}=DDTWCS(Ψa,μ,ϵ)

such that, by the end of the algorithm, the set of all SUPs, Ψa is clustered into |Pa| clusters. Each cluster, Ψap, contains all SUPs that belongs to the operation mode, p, while the outlier SUPs set is Ψao.

Based on the calculated matrix, Δi,j, a subset of directly density-reachable SUPs, Ψa*, is selected from Ψa that contains all SUPs, ψj, with a distance, δ(ψi,ψj), less than a predetermined threshold, ϵ, such that:(34) Ψa*=ψj∈Ψa∣δ¯(ψi,ψj)<ϵi=j=1|Ψa|,j≠i

The next step in the clustering process is when the next hyperparameter, μ, is used. Three different subsets are formed upon applying μ and ϵ on Ψa*, namely the core SUPs set, Ψac, the border SUPs set, Ψab, and the outlier SUPs set, Ψao. These subsets are defined as follows corresponding to the value of μ:(35) Ψao⇐Ψao∪Ψa*,|Ψa*|=0Ψab⇐Ψab∪Ψa*,0≤|Ψa*|<μΨac⇐Ψac∪Ψa*,|Ψa*|≥μ

where Ψao contains the SUPs that are considered outliers to any cluster. Ψac contains the core SUPs which incrementally joins other core SUPs in further iterations until it forms a cluster, ΨaP.Ψab contains the border SUPs which may join other core sets in further iterations or remain as-is until the end of the algorithm. By The end of the algorithm, the set of all SUPs, Ψa, is clustered into |Pa| clusters. Each cluster, Ψap, contains all SUPs that belongs to the operation mode, p.

Assuming that SUPs are grouped in Δ by the operation mode, each row in Δ contains a set of values that are more similar to each other in the same operation mode, such that:(36) δ¯ψpi,ψpj≈δ¯ψpi,ψpk,pi=pj=pk

while it also contains a set of values that are relatively larger. That correspond to distances with SUPs among different operation modes. This is defined as:(37) δ¯ψpi,ψpj<<δ¯ψpi,ψpk,pi=pj≠pk

A heat map is used to visualize the operation modes based on the pairwise distance among them. Figure 7 shows the distance matrix, Δ, for three appliances. The heatmap shows a gradient that refers to the degree of similarity between two corresponding SUPs. Darker color implies higher similarity while lighter color implies less similarity. For example, in Figure 7A, the dryer shows three different operation modes, as it shows three darker areas surrounded by squiggly lines. According to Equation (37), if we consider SUP-0, it is observed that the distance, δ¯, between SUP-0 and SUPs 1 to 6 is very minimal. This means that high similarity exists among this cluster of SUPs, i.e., these SUPs share the same operation mode. On the other hand, according to Equation (37), the same SUP-0 has higher distance with SUPs 7 to 8 and 9 to 25, since these SUPs belong to different operation modes. A summary of the statistics of the pairwise DTW distances for the RAE dataset [23] are listed in Table 2 and Table 3.

8. Generating Synthetic SUPs

A set of Synthetic SUPs (SySUPs), Ψ¨ap, is defined as:(38) Ψ¨ap=ψ¨ii=1|Ψ¨ap|

where ψ¨i is a SySUP for the appliance, a, with operation mode, p. The value of |Ψ¨ap| is selected to be a large number (typically |Ψ¨ap|>1000) for evaluation purposes.

A base SySUP, ψ¨∈Ψ¨ap, represents a SySUP without adding the effect of any additional tuning parameters. The base SySUP, ψ¨, is defined as follows:(39) ψ¨=ωjλj=1eλι−eλoλ∈Λψ^p

where ωλ is the power value of the state, λ∈Λψ^p. Λψ^p, is a randomly selected SUP with operation mode, p, and eλι−eλo is the length of the state, λ. The following subsections discuss the probabilistic components that is added to the base SySUP.

The base SySUP, ψ¨, forms the foundation of our synthetic dataset. It consists of sequences of power values, ωjλ, which represent the power consumption in different states λ of an appliance a operating in mode p. The set Λψ^p includes all possible states λ that an appliance can be in during the operation mode p.

8.1. The White Noise Component

Real-world PCDSs often includes noise due to various factors like sensor inaccuracies or environmental influences causing the states of a SUP not to be completely flat. To simulate this, and to better capturing the variability and stochastic nature of real-world appliance usage patterns, a random noise is added to the power values ωjλ. This noise can be modeled as a small random perturbation, typically drawn from a normal distribution centered around zero. The noise coefficient, ξ, is defined as follows:(40) ξj=Nμξ,σξ

where ξj is the added noise to the jth sample in the base SySUP, ψ¨. This noise is selected based on a normal distribution function, N, with a mean of μξ and standard deviation σξ. The set of SySUPs with the added noise, Ψ¨apξ, is defined as:(41) Ψ¨apξ=ψ¨iξi=1|Ψ¨apξ|

where the resulting SySUP with the added noise, ψ¨ξ, is defined as:(42) ψ¨ξ=ωjλ+ξjj=1eλι−eλoλ∈Λψ^p,ψ¨ξ∈Ψ¨apξ

8.2. The Switch-On Surge Component

The Switch-On Surge (SOS), or Inrush Current, is the maximum instantaneous input current consumed by electrical transformers within an electrical device when first switched on [60]. This phenomenon typically occurs within the first few samples of high-power states when a major component within the appliance is triggered. The SOS component exhibits distinct characteristics that are important to understand for accurate modeling and analysis. SOS is characterized by a sharp initial peak at the beginning of a state, which then decays in amplitude over time. The High Initial Peak occurs when an electrical device, particularly one with inductive loads such as motors or transformers, is first powered on, it draws a significantly higher current than during its steady-state operation. This surge is due to the sudden demand for energy to establish magnetic fields in inductive components. The Decay Over Time shows when the SOS decays rapidly within a short period, transitioning to the normal operating current. This decay is a critical aspect of inrush current behavior and can be modeled using various mathematical functions.

The SOS component can be modeled using different approaches. One common method used in approximated scenarios is a reciprocal function such as 1x that might be used to describe the initial rapid drop in current.

The set of SySUPs with the added SOS, Ψ¨apϑ, is defined as:(43) Ψ¨apϑ=ψ¨iϑi=1|Ψ¨apϑ|

where the resulting SySUP with the added SOS, ψ¨ϑ, is defined as:(44) ψ¨ϑ=ωjλ+ξj+ϑj1+jj=1eλι−eλoλ∈Λψ^p,ψ¨ϑ∈Ψ¨apϑ

where ϑj is the SOS coefficient that follows a normal distribution function as:(45) ϑ=Nμϑ,σϑ

The term ϑj1+j represents a reciprocal function in which this models of the SOS component simulates the behavior of SOS current at each state.

8.3. The Ripple Component

In addition to the SOS component, appliance profiles may also exhibit ripple components. Ripple refers to the small, periodic oscillations in the electrical current or voltage within the steady-state periods of an appliance’s operation. It shows as temporal fluctuation in the state power value in a sinusoidal form. These ripples can arise from various factors such as switching operations of internal components, power supply noise, or inherent characteristics of the device’s operation.

The set of SySUPs with the added ripple, Ψ¨apϱ, is defined as:(46) Ψ¨apϱ=ψ¨iϱi=1|Ψ¨apϱ|

where the resulting SySUP with the added ripple, ψ¨ϱ, is defined as:(47) ψ¨ϱ=ωjλ+ξj+ϑj1+j+γsinjρj=1eλι−eλoλ∈Λψ^p,ψ¨ϱ∈Ψ¨apϱ

where two parameters control the behavior of the ripple: the ripple amplitude, γ, and the ripple period length, ρ. The amplitude γ determines the magnitude of the oscillations in the ripple, while the period length ρ dictates the frequency of these oscillations, or how quickly they repeat over time.

The values of these parameters are selected based on a normal distribution, which allows for realistic variability in the synthetic appliance profiles. Specifically:(48) ρ=Nμρ,σρ,γ=Nμγ,σγ

here, μρ and σρ are the mean and standard deviation of the period length, respectively, while μγ and σγ are the mean and standard deviation of the ripple amplitude. By sampling from these normal distributions, each synthetic SUP can exhibit unique but realistically varying ripple characteristics. This stochastic approach ensures that the synthetic profiles capture the natural diversity observed in real appliance operation.

8.4. State Edge Position Variation

The last parameter that controls the shape of SySUPs is the Exact Edge Position (EEP), ℓ. This parameter introduces a variation factor to the position (sample index) of the two exact edges that define the boundaries of a state as defined in Equation (22). By varying the exact positions of these edges, the synthetic SUPs can better mimic the natural variability observed in real appliance profiles.

The set of SySUPs with the state edge position variation factor, Ψ¨apℓ, is defined as:(49) Ψ¨apℓ=ψ¨iℓi=1|Ψ¨apℓ|

where the resulting SySUP with the added EEP, ψ¨ℓ, is defined as:(50) ψ¨ℓ=ωjλi+ξj+ϑj1+j+γsinjρj=1(eiι+ℓiι)−(eio+ℓio)λi∈Λψ^p,ψ¨ℓ∈Ψ¨apℓλi=(eio+ℓio,eiι+ℓiι,ωλ)

such that:(51) 0≤eio+ℓio<eiι+ℓiι≤ei+1o+ℓi+1o

The variation in the exact edge positions, ℓio and ℓiι, is sampled from a normal distribution. This stochastic approach ensures that the edges of the states are not fixed but exhibit natural fluctuations, thereby adding realism to the synthetic profiles. Specifically:(52) {ℓio,ℓiι,ℓi+1o}∈Nμiℓ,σiℓ

here, μiℓ and σiℓ are the mean and standard deviation of the edge position variations, respectively. By sampling from these normal distributions, each synthetic SUP can exhibit unique, yet realistically varying state boundaries. This method ensures that the synthetic profiles can accurately reflect the dynamic nature of real appliance operation, where the exact start and end times of states can vary due to numerous factors such as load conditions, user interactions, and inherent appliance behavior.

9. Evaluation

To evaluate the impact of the tuning parameters explained in the previous section on the SySUP with respect to the SUP, two evaluation metrics are defined: δ¯ and κ¯. The first evaluation metric, δ¯, is designed to measure the average similarity between the SySUPs and the actual SUPs for a given appliance and operation mode. This metric uses the Dynamic Time Warping (DTW) distance, a well-known method for measuring similarity between time series data. The DTW distance is normalized by the sum of the lengths of the sequences being compared, ensuring that the metric is scale-invariant. The formal definition of δ¯ is defined as follows:(53) δ¯Ψ¨apξ,Ψap=1|Ψ¨apξ|∑j=1|Ψ¨apξ|1|Ψap|∑i=1|Ψap|DTWψjp¨ξ,ψip|ψip|+|ψjp¨|

here, δ¯ represents the average DTW distance between each synthetic SUP, ψ¨apϑ∈Ψ¨apξ, and every actual SUP, ψap∈Ψap. The parameter a refers to the appliance, and p refers to the operation mode. The normalization factor, |ψip|+|ψjp¨|, is the sum of the sequence lengths, ensuring that the comparison is fair across different sequence lengths.

The second evaluation metric, κ¯, is designed to measure the consistency of the DTW distances between the synthetic and actual SUPs. This metric calculates the standard deviation of the DTW distances for each synthetic SUP and then averages these standard deviations. This provides insight into the variability of the synthetic SUPs relative to the actual SUPs. The formal definition of κ¯ is as follows:(54) κ¯Ψ¨apξ,Ψap=1|Ψ¨apξ|∑j=1|Ψ¨apξ|σ1|Ψap|∑i=1|Ψap|DTWψjp¨ξ,ψip|ψip|+|ψjp¨|j=1|Ψ¨apξ|

where κ¯ represents the average of the standard deviations of the DTW distances between each synthetic SUP, ψ¨apξ∈Ψ¨apξ, and every actual SUP, ψap∈Ψap. The notation σ denotes the standard deviation. By averaging the standard deviations, κ¯ provides a measure of how consistently the synthetic SUPs match the actual SUPs in terms of their DTW distances.

Together, these metrics, δ¯ and κ¯, provide a comprehensive evaluation of the synthetic SUPs. δ¯ assesses the overall similarity, while κ¯ evaluates the consistency of this similarity across different synthetic SUPs. This dual approach ensures a robust evaluation of the synthetic profiles against the real-world data, highlighting both the average performance and the variability of the synthetic SUPs.

9.1. Evaluating the Effect of the White Noise Component

The provided plot in Figure 8 illustrates the impact of the noise coefficient, ξ, on the Dynamic Time Warping (DTW) distance metrics for a dryer appliance across three different Appliance Operation Modes (AOMs). The metrics δ¯ and κ¯, as defined in Equation (53) and Equation (54), respectively, are used to assess the performance and consistency of synthetic SUPs (ψ¨apξ) relative to the real SUPs (Ψap).

The plot shows the effect of the noise coefficient standard deviation on the DTW distance metrics across three AOMs for a dryer. The range of σξ values is from 1 to 300 samples, with a distribution mean μξ=0.

For AOM-1, the average DTW distance (δ¯) shows a continuous increasing trend as σξ increases. This indicates that increasing noise levels result in higher discrepancies between the synthetic and real SUPs. The consistency metric (κ¯) for AOM-1 remains relatively constant, suggesting that the variability in DTW distances does not change significantly with increasing noise levels. For AOM-2, the average DTW distance (δ¯) initially decreases when 1≤σξ≤50, indicating that the added noise contributes to increasing the similarity between synthetic and real SUPs. However, beyond this range, δ¯ starts increasing, which means higher noise values lead to a decrease in similarity. The consistency metric (κ¯) for AOM-2 remains low and stable, indicating consistent performance in terms of DTW distances. For AOM-3, the average DTW distance (δ¯) exhibits a slight initial decrease followed by a continuous increase as σξ increases. This pattern suggests that initially, small noise levels may help in improving the similarity between synthetic and real SUPs, but as noise levels increase, the similarity decreases. The consistency metric (κ¯) for AOM-3 shows less fluctuation, indicating high consistency in DTW distances.

9.2. Evaluating the Effect of the Switch-On Surge Component

The provided plot in Figure 9 illustrates the impact of the SOS coefficient, ϑ, on the DTW distance metrics for a dryer appliance across three different AOMs. The metrics δ¯ and κ¯, as defined in Equations (53) and (54), are used to assess the performance and consistency of synthetic SUPs (ψ¨apϑ) relative to the real SUPs (Ψap).

The plot shows the effect of the SOS coefficient mean on the DTW distance metrics across three AOMs for a dryer. The range of μϑ values is from 1 to 5000 samples, with a distribution mean σϑ=100. For AOM-1, the average DTW distance (δ¯) starts at a relatively high value followed by a slight decrease that indicates the addition of the SOS components contributes to decreasing the distance between the SUPs and SySUPs. The curve then shows a slight increasing trend as μϑ increases. This indicates that changes in the SOS coefficient mean lead to a gradual increase in the discrepancy between the synthetic and real SUPs. The consistency metric (κ¯) for AOM-1 also follows an increasing trend, suggesting that the variability in DTW distances increases with higher values of μϑ.

AOM-2 shows a similar behavior to AOM-1. The average DTW distance (δ¯) shows a stable pattern, starting at a lower value compared to AOM-1 and remaining relatively constant with slight fluctuations. The consistency metric (κ¯) for AOM-2 remains low and stable, indicating a consistent performance in terms of DTW distances.

For AOM-3, the average DTW distance (δ¯) exhibits an initial increase followed by a decrease, and then rises again as μϑ increases. This non-linear pattern suggests that the SOS coefficient impacts the SUPs differently at various levels. Low and high values of SOS coefficient increase the distance difference between SUPs and SySUPs, while moderate values of μϑ≈2000 samples minimizes the distance difference. The consistency metric (κ¯) for AOM-3 shows some fluctuations, indicating varying levels of distance consistency across different μϑ values.

9.3. Evaluating the Effect of the Ripple Component

To evaluate the impact of the ripple coefficient, the metrics in Equations (53) and (54) are plotted in Figure 10 for a single AOM for a dryer. The distance metric, δ¯, evaluates the impact of the ripple parameters on the SySUP, ψ¨apϱ, with respect to the SUPs, Ψap, while κ¯ reflects the consistency of distances, δ¯.

The left plot in Figure 10 illustrates the effect of the ripple period mean μρ on the DTW distance metrics. As μρ increases, the average DTW distance (δ¯) initially decreases slightly, indicating an initial improvement in similarity between the synthetic and real SUPs. However, after a certain point, δ¯ begins to increase sharply, suggesting that excessively long ripple periods introduce significant deviations from the real SUPs. This trend reflects the non-linear impact of the ripple period on the overall shape and timing of the SUPs.

The right plot in Figure 10 shows the effect of the ripple amplitude mean μγ on the DTW distance metrics. Similarly to the effect of μρ, the plot initially decreases slightly, indicating an initial improvement in similarity between the synthetic and real SUPs. As μγ then increases, the average DTW distance (δ¯) consistently rises, indicating that larger ripple amplitudes lead to greater discrepancies between the synthetic and real SUPs. This increase is less sharp more gradual compared to the ripple period impact, suggesting a more predictable but significant effect of amplitude changes on SUP similarity.

For both ripple parameters, the consistency metric (κ¯) shows an increasing trend, but with different patterns. In the case of μρ, κ¯ remains relatively stable at lower values before increasing sharply, mirroring the trend observed in δ¯. This indicates that the consistency of DTW distances remains stable until the ripple period becomes excessively long. For μγ, κ¯ increases more steadily, indicating that larger ripple amplitudes consistently introduce more variability in the DTW distances.

Both ripple parameters, μρ and μγ, exhibit a significant impact on the DTW distance metrics, although in different ways. The ripple period mean affects the SUP similarity in a non-linear fashion, with an initial decrease followed by a sharp increase in δ¯, while the ripple amplitude mean shows a more straightforward increasing trend. This indicates that while both parameters are crucial for generating realistic synthetic SUPs, their effects on the DTW distance metrics differ in nature.

9.4. Evaluating the Effect of the State Edge Position Variation

The plot in Figure 11 depicts the impact of the EEP factor, ℓ, on the DTW distance metrics for a dryer appliance across three different AOMs: AOM-1, AOM-2, and AOM-3. The metrics δ¯ and κ¯, as defined in Equations (53) and (54), respectively, are used to assess the performance and consistency of synthetic SUPs (ψ¨apℓ) relative to the real SUPs (Ψap).

As the standard deviation of the EEP (σℓ) increases, the average DTW distance (δ¯) shows a significant increasing trend, particularly for AOM-3. This indicates that larger variations in the edge positions lead to greater discrepancies between the synthetic and real SUPs. This trend is less pronounced in AOM-1 and AOM-2, suggesting that the impact of EEP variation may be more critical for certain operation modes. The different behaviors observed in AOM-1, AOM-2, and AOM-3 indicate that the effect of EEP variation is dependent on the specific operational characteristics of each mode. AOM-3 exhibits a more pronounced increase in δ¯ with increasing σℓ, which could be due to more complex or sensitive operational patterns that are highly affected by edge position shifts.

The consistency of the DTW distances, represented by the metric κ¯, remains relatively stable across different values of σℓ. This implies that while the average distance (δ¯) increases, the variability of these distances does not fluctuate significantly. This stability in κ¯ suggests a uniform impact of the EEP variations across different samples within each AOM.

10. Conclusions and Future Work

In this paper, we presented HYDROSAFE, a novel hybrid deterministic-probabilistic model for generating synthetic appliance power consumption profiles. Our approach combines data-driven analysis with stochastic elements to enhance realism and variability. The application of DTW and MDT algorithms ensures accurate clustering and profile characterization, while the probabilistic adjustments simulate realistic usage patterns. Our evaluation demonstrates that HYDROSAFE effectively replicates real-world data, offering a valuable tool for developing and testing energy management systems. The results show a high similarity between original and synthetic profiles, with an average distance of ten samples at a 1 Hz sampling rate.

Future work will explore extending HYDROSAFE to incorporate more complex appliance interactions, such as recommender systems, and expanding its application to various residential environments, thus providing a robust test bed for validating analytical algorithms and energy management solutions. Additionally, future studies will focus on validating the model by comparing its outputs with experimental data, particularly in terms of power curves and energy consumption, to assess the differences between the proposed model and the actual behavior of functioning systems.

Author Contributions

Conceptualization, validation, writing—original draft preparation, writing—review and editing, visualization, A.J.; methodology, formal analysis, A.J. and M.A.; supervision, funding acquisition, A.H. and H.L. All authors have read and agreed to the published version of the manuscript.

Data Availability Statement

The data is generated using the proposed model.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

H	Set of households	
h	Single household	
Ah	Set of appliances of h	
a	Single appliance	
Pa	Set of operation modes for a	
p	Operation mode (AOM)	
D	Set of days	
d	Single day	
Ωad	Daily power consumption sequence	
ωn	nth instantaneous power sample value	
n*	Last sample index in d	
fs	Sampling frequency	
t	Time	
Ψad,p	Set of SUPs in d	
ψp	Single Use Profile (SUP) activated with p	
ψ^	Smoothed SUP	
Ψ¨a	Set of synthetic SUPs for a	
θs	Length of sequence s	
ns	Sample index when appliance is turned on	
ne	Sample index when appliance is turned off	
ϕ	Empty sequence	
H	HYDROSAFE generator function	
	Set of tuning parameters	
τε	Stand-by power threshold	
M	Moving median smoother function	
W	Sliding window size	
d(x,y)	Minkowski distance between sequences x,y	
r	Minkowski distance order	
E(ψ,ψ^)	L2 norm of the Minkowski pariwise distance between sequences ψ,ψ^	
Iψ^	Indicator vector of ψ^	
σ(x)	Standard deviation of sequence x	
WI	MDT window size	
kl	Left partition of the MDT window	
kr	Right partition of the MDT window	
Πψ^	Sequence of thick edges for ψ^	
π	Single thick edge	
nι	Lower bound of π	
no	Upper bound of π	
τI	Thick edges threshold	
Λψ^	Sequence of states for ψ^	
λ	Single state	
R	Size of Λ	
eo	Left exact edge of λ	
eι	Right exact edge of λ	
eoi⌟	Rising exact edge	
eoi⌝	Falling exact edge	
de(qi,pj)	Euclidean distance between qi,pj	
DDTWSC	SUPs clustering algorithm	
ϵ	Eps-neighborhood hyperparameter	
μ	Minimum number of adjacent elements	
Ψac	The core set of SUPs	
Ψab	The border set of SUPs	
Ψao	The outlier set of SUPs	
Ψa*	directly density-reachable SUPs	
ℵ	DTW distance matrix	
DTW(ψpi,ψpj)	DTW distance between ψpi,ψpj	
δ¯(ψpi,ψpj)	Normalized pairwise DTW distance between ψpi,ψpj	
Δ	Normalized pairwise distance matrix	
μ	Mean value	
N	Normal distribution	
ξ	Noise coefficient	
ψ¨ξ	SySUP with added noise	
δ¯(ψ¨,Ψ)	Mean DTW distance between a SySUP and corresponding SUPs	
κ¯(ψ¨,Ψ)	Mean of standard deviations of DTW distance between a SySUP and corresponding SUPs	
ψ¨ϑ	SySUP with added SOS	
ϑ	SOS coefficient	
ψ¨ϱ	SySUP with added ripple	
ϱ	Ripple coefficient	
γ	Ripple amplitude	
ρ	Ripple period length	
ℓ	Exact Edge Position (EEP)	
ψ¨ℓ	SySUP with variant EEPs	

Figure 1 Two SUPs for a clothes dryer. Each SUP is activated with a different AOM.

Figure 2 The annual power consumption [23] and corresponding costs for operating 3 appliances, and the potential savings by switching to the lighter operation modes.

Figure 3 The architecture of HYDROSAFE.

Figure 4 A square wave with uniform noise, moving average, and moving median.

Figure 5 The Euclidean distance between trimmed vs. smoothed multiple SUP for a dryer using moving median with variation in the window size.

Figure 6 (a) The smoothed SUP sequence ψ^(n) with the indicator vector Iψ^(n). (b) A zoom-in to a state showing its upper and lower bounds, the upper and lower bounds of thick edges, the exact edges.

Figure 7 The distance matrix, Δ, for 3 appliances in 2 houses [23]. (A) A dryer in house-2 with 3 AOMs. (B) A dryer in house-1 with 3 AOMs. (C) A clothes washer in house-1 with 2 AOMs. (D) A dishwasher in house-1 with 2 AOMs.

Figure 8 The impact of changing the noise coefficient, ξ, on the values of the distance mean, δ¯, for a dryer.

Figure 9 The impact of changing the SOS coefficient, ϑ, on the values of the distance mean, δ¯, for a dryer.

Figure 10 The impact of changing the ripple parameters, ρ and γ, on the values of the distance mean, δ¯, for a dryer.

Figure 11 The impact of EEP factor, ℓ, on the values of the distance mean, δ¯, for a dryer.

sensors-24-05619-t001_Table 1 Table 1 A comparison of HYDROSAFE and publicly available synthetic datasets and simulators.

Simulator	No. Appliances	Availability	Sampling Rate	Scope	Description	
Henriet et al. [46]	66	Public	0.033 Hz	Commercial	SHED is a stochastic-based comprehensive framework for energy disaggregation in commercial buildings, including a statistical analysis of differences between commercial and residential buildings, a generative model for simulating high-frequency current waveforms utilizing the Semi Non-negative Matrix Factorization (SNMF) algorithm [48].	
Chen et al. [44]	25	Public	1 Hz	Residential	SmartSim is a device-accurate, NILM-TK integrated [49], smart home energy trace generator that generates complete datasets for homes with second-level energy data through a generation pipeline that utilizes historical data, Distribution learning, Event marking, and Trace Generation processes.	
Buneeva et al. [42]	14	N/A	1 Hz	Residential	AMBAL is a NILM-TK integrated system for automatically generating realistic synthetic power consumption traces represented as sequences of parameterized signatures, minimizing complexity for desired accuracy.	
Zhao et al. [50]	N/A	N/A	N/A	Residential	A data generation model based on Markov chains and Variational Autoencoders (VAE) to simulate diversified and random electricity consumption data for household appliances, accounting for the residential behavior and usage patterns in Chinese households.	
Thorve et al. [17]	7	Public	Hourly	Residential	A large-scale digital-twin dataset of residential energy use for the contiguous United States, featuring synthetic hourly energy use profiles for the U.S. population using census data, statistical methods, activity-related attributes through regression models and survey data.	
Donnal [51]	Variable	Public	Variable	Residential	NILM-Synth is a synthetic dataset generation tool that creates realistic power waveforms by superimposing extracted exemplars from live power data using existing NILM infrastructure.	
Ezhilarasi et al. [40]	N/A	Public	30 min	N/A	Smart meter-SDG is a Smart Meter Synthetic Data Generator using the FBProphet library based on the UK Power Networks project.	
Meiser et al. [52]	N/A	Public	N/A	Residential	SynTiSeD is a probabilistic multi-agent-based simulation tool that generates synthetic energy data based on real-world data. The model is interactive and involves Behavior Modeling, residents, and appliances into account.	
Klemenjak et al. [43]	21	Public	5 Hz	Residential	SynD is a synthetic energy dataset that is generated using a custom simulation process based on power consumption patterns recorded from real household constantly on, periodical, single-pattern, and multi-pattern appliances in Austria.	
N/A: Information is not available.

sensors-24-05619-t002_Table 2 Table 2 The average of the pairwise DTW distance per house per appliance.

House	Appliance	AOM-1	AOM-2	AOM-3	
1	dryer	32.704	17.23	18.74	
2	dryer	77.63	203.19	208.24	
1	dishwasher	31.92	8.45	-	
2	dishwasher	0.76	-	-	
1	washer	10.04	9.064	-	
2	washer	7.65	9.29	6.24	

sensors-24-05619-t003_Table 3 Table 3 The standard deviation of pairwise DTW distance per house per appliance.

House	Appliance	AOM-1	AOM-2	AOM-3	
1	dryer	44.91	5.36	17.80	
2	dryer	45.22	0.0	93.15	
1	dishwasher	30.11	4.91	-	
2	dishwasher	0.36	-	-	
1	washer	3.69	3.74	-	
2	washer	2.75	3.15	1.65	

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
==== Refs
References

1. Ahmad T. Chen H. Potential of three variant machine-learning models for forecasting district level medium-term and long-term energy demand in smart grid environment Energy 2018 160 1008 1020 10.1016/j.energy.2018.07.084
2. Energy U. Annual Energy Review 2009 US Energy Information Administration Washington, DC, USA 2010 19 53
3. Canada Energy Regulator, Canada’s Energy Future 2021 Available online: https://bit.ly/3d8vIqH (accessed on 29 May 2023)
4. U.S. Energy Information Administration Annual Energy Outlook 2021 Available online: https://www.eia.gov/outlooks/aeo/ (accessed on 29 May 2023)
5. Canada N.R. Natural Resources Canada, Appliances for Residential Use 2021 Available online: https://bit.ly/3omEb0d (accessed on 29 May 2023)
6. AlHammadi A. AlZaabi A. AlMarzooqi B. AlNeyadi S. AlHashmi Z. Shatnawi M. Survey of IoT-Based Smart Home Approaches Proceedings of the 2019 Advances in Science and Engineering Technology International Conferences (ASET) Dubai, United Arab Emirates 26 March–10 April 2019 IEEE New York, NY, USA 2019 1 6
7. Chen J. Zhao Y. Wang M. Wang K. Huang Y. Xu Z. Power Sharing and Storage-Based Regenerative Braking Energy Utilization for Sectioning Post in Electrified Railways IEEE Trans. Transp. Electrif. 2024 10 2677 2688 10.1109/TTE.2023.3295089
8. Chen J. Hu H. Wang M. Ge Y. Wang K. Huang Y. Yang K. He Z. Xu Z. Li Y.R. Power flow control-based regenerative braking energy utilization in ac electrified railways: Review and future trends IEEE Trans. Intell. Transp. Syst. 2024 25 6345 6365 10.1109/TITS.2024.3350743
9. Gutiérrez-Peña J.A. Flores-Arias J.M. Bellido-Outeiriño F. Lopez M.O. Latorre F.Q. Smart Home Energy Management System and How to Make It Cost Affordable Proceedings of the 2020 IEEE 10th International Conference on Consumer Electronics (ICCE-Berlin) Berlin, Germany 9–11 November 2020 IEEE New York, NY, USA 2020 1 6
10. Chen Y.Y. Chen M.H. Chang C.M. Chang F.S. Lin Y.H. A smart home energy management system using two-stage non-intrusive appliance load monitoring over fog-cloud analytics based on Tridium’s Niagara framework for residential demand-side management Sensors 2021 21 2883 10.3390/s21082883 33924090
11. Jaradat A. Lutfiyya H. Haque A. Smart Home Energy Visualizer: A Fusion Of Data Analytics and Information Visualization IEEE Can. J. Electr. Comput. Eng. 2022 45 77 87 10.1109/ICJECE.2021.3134499
12. Shewale A. Mokhade A. Funde N. Bokde N.D. An Overview of Demand Response in Smart Grid and Optimization Techniques for Efficient Residential Appliance Scheduling Problem Energies 2020 13 4266 10.3390/en13164266
13. Chouaib B. Lakhdar D. Lokmane Z. Smart Home Energy Management System Architecture Using IoT ICIST New York, NY, USA 2019 10.1145/3361570.3361593
14. Jaradat A. Lutfiyya H. Haque A. Demand Response for Residential Uses: A Data Analytics Approach Proceedings of the 2020 IEEE 6th World Forum on Internet of Things (WF-IoT) New Orleans, LA, USA 2–16 June 2020 IEEE New York, NY, USA 2020 1 6
15. Himeur Y. Alsalemi A. Bensaali F. Amira A. Building power consumption datasets: Survey, taxonomy and future directions Energy Build. 2020 227 110404 10.1016/j.enbuild.2020.110404
16. Gopinath R. Kumar M. Joshua C.P.C. Srinivas K. Energy management using non-intrusive load monitoring techniques–State-of-the-art and future research directions Sustain. Cities Soc. 2020 62 102411 10.1016/j.scs.2020.102411
17. Thorve S. Baek Y.Y. Swarup S. Mortveit H. Marathe A. Vullikanti A. Marathe M. High resolution synthetic residential energy use profiles for the United States Sci. Data 2023 10 76 10.1038/s41597-022-01914-1 36746951
18. Flett G. Kelly N. Modelling of individual domestic occupancy and energy demand behaviours using existing datasets and probabilistic modelling methods Energy Build. 2021 252 111373 10.1016/j.enbuild.2021.111373
19. Marszal-Pomianowska A. Heiselberg P. Larsen O.K. Household electricity demand profiles–A high-resolution load model to facilitate modelling of energy flexible buildings Energy 2016 103 487 501 10.1016/j.energy.2016.02.159
20. Pflugradt N. Muntwyler U. Synthesizing residential load profiles using behavior simulation Energy Procedia 2017 122 655 660 10.1016/j.egypro.2017.07.365
21. Lopez J.M.G. Pouresmaeil E. Canizares C.A. Bhattacharya K. Mosaddegh A. Solanki B.V. Smart residential load simulator for energy management in smart grids IEEE Trans. Ind. Electron. 2018 66 1443 1452 10.1109/TIE.2018.2818666
22. Kabirifar M. Pourghaderi N. Rajaei A. Moeini-Aghtaie M. Safdarian A. Deterministic and probabilistic models for energy management in distribution systems Handbook of Optimization in Electric Power Distribution Systems Springer Berlin/Heidelberg, Germany 2020 343 382
23. Makonin S. Wang Z.J. Tumpach C. RAE: The Rainforest Automation Energy Dataset for Smart Grid Meter Data Analysis arXiv 2017 1705.05767
24. Happle G. Fonseca J.A. Schlueter A. A review on occupant behavior in urban building energy models Energy Build. 2018 174 276 292 10.1016/j.enbuild.2018.06.030
25. Kaselimi M. Protopapadakis E. Voulodimos A. Doulamis N. Doulamis A. Towards Trustworthy Energy Disaggregation: A Review of Challenges, Methods, and Perspectives for Non-Intrusive Load Monitoring Sensors 2022 22 5872 10.3390/s22155872 35957428
26. Sepehr M. Eghtedaei R. Toolabimoghadam A. Noorollahi Y. Mohammadi M. Modeling the electrical energy consumption profile for residential buildings in Iran Sustain. Cities Soc. 2018 41 481 489 10.1016/j.scs.2018.05.041
27. Widén J. Wäckelgård E. A high-resolution stochastic model of domestic activity patterns and electricity demand Appl. Energy 2010 87 1880 1892 10.1016/j.apenergy.2009.11.006
28. Richardson I. Thomson M. Infield D. Clifford C. Domestic electricity use: A high-resolution energy demand model Energy Build. 2010 42 1878 1887 10.1016/j.enbuild.2010.05.023
29. McKenna E. Thomson M. High-resolution stochastic integrated thermal—Electrical domestic demand model Appl. Energy 2016 165 445 461 10.1016/j.apenergy.2015.12.089
30. Lombardi F. Balderrama S. Quoilin S. Colombo E. Generating high-resolution multi-energy load profiles for remote areas with an open-source stochastic model Energy 2019 177 433 444 10.1016/j.energy.2019.04.097
31. Nilsen C.B. Hoff B. Østrem T. Framework for Modeling and Simulation of Household Appliances Proceedings of the IECON 2018-44th Annual Conference of the IEEE Industrial Electronics Society Washington, DC, USA 21–23 October 2018 IEEE New York, NY, USA 2018 3472 3476
32. Gui J. Sun Z. Wen Y. Tao D. Ye J. A review on generative adversarial networks: Algorithms, theory, and applications IEEE Trans. Knowl. Data Eng. 2021 35 3313 3332 10.1109/TKDE.2021.3130191
33. Harell A. Jones R. Makonin S. Bajić I.V. TraceGAN: Synthesizing appliance power signatures using generative adversarial networks IEEE Trans. Smart Grid 2021 12 4553 4563 10.1109/TSG.2021.3078695
34. Harell A. Jones R. Makonin S. Bajic I.V. PowerGAN: Synthesizing Appliance Power Signatures Using Generative Adversarial Networks, 2020 arXiv 2007 2007.13645
35. Song L. Li Y. Lu N. ProfileSR-GAN: A GAN based Super-Resolution Method for Generating High-Resolution Load Profiles IEEE Trans. Smart Grid 2022 13 3278 3289 10.1109/TSG.2022.3158235
36. Sanderson E. Fragaki A. Simo J. Matuszewski B.J. mREAL-GAN: Generating Multiple Residential Electrical Appliance Load Profiles with Inter-Dependencies using a Generative Adversarial Network arXiv 2021 2112.06656
37. Liang X. Wang H. Synthesis of realistic load data: Adversarial networks for learning and generating residential load patterns Tackling Climate Change with Machine Learning 2022, Proceedings of the NeurIPS 2022 Workshop, Neural Information Processing Systems (NIPS), New Orleans, LO, USA, 28 November–9 December 2022 Mitra P. Joäo Sousa M. Roth M. Drgoňa J. Strubell E. Bengio Y. NIPS San Diego, CA, USA 1 8
38. Gkoutroumpi C. Gkalinikis N.V. Vrakas D. SGAN: Appliance Signatures Data Generation for NILM Applications Using GANs Intelligent Computing Series Title: Lecture Notes in Networks and Systems Arai K. Springer Nature Switzerland Cham, Switzerland 2024 Volume 1018 325 339 10.1007/978-3-031-62269-4_23
39. Wu A.N. Stouffs R. Biljecki F. Generative Adversarial Networks in the built environment: A comprehensive review of the application of GANs across data types and scales Build. Environ. 2022 304 109477 10.1016/j.buildenv.2022.109477
40. Ezhilarasi P. Ramesh L. Liu X. Holm-Nielsen J.B. Smart Meter Synthetic Data Generator development in python using FBProphet Softw. Impacts 2023 15 100468 10.1016/j.simpa.2023.100468
41. Li D. Bissyandé T.F. Kubler S. Klein J. Le Traon Y. Profiling household appliance electricity usage with N-gram language modeling Proceedings of the 2016 IEEE International Conference on Industrial Technology (ICIT) Taipei, Taiwan 14–17 March 2016 604 609 10.1109/ICIT.2016.7474818
42. Buneeva N. Reinhardt A. AMBAL: Realistic load signature generation for load disaggregation performance evaluation Proceedings of the 2017 IEEE International Conference on Smart Grid Communications (Smartgridcomm) Dresden, Germany 23–27 October 2017 IEEE New York, NY, USA 2017 443 448
43. Klemenjak C. Kovatsch C. Herold M. Elmenreich W. A synthetic energy dataset for non-intrusive load monitoring in households Sci. Data 2020 7 108 10.1038/s41597-020-0434-6 32242026
44. Chen D. Irwin D. Shenoy P. Smartsim: A device-accurate smart home simulator for energy analytics Proceedings of the 2016 IEEE International Conference on Smart Grid Communications (SmartGridComm) Sydney, NSW, Australia 6–9 November 2016 IEEE New York, NY, USA 2016 686 692
45. Barker S. Mishra A. Irwin D. Cecchet E. Shenoy P. Albrecht J. Smart*: An open data set and tools for enabling research in sustainable homes SustKDD August 2012 111 108
46. Henriet S. Şimşekli U. Fuentes B. Richard G. A generative model for non-intrusive load monitoring in commercial buildings Energy Build. 2018 177 268 278 10.1016/j.enbuild.2018.07.060
47. A Simulated High-Frequency Energy Disaggregation Dataset for Commercial Buildings Available online: https://nilm.telecom-paristech.fr/shed/ (accessed on 24 July 2024)
48. Ding C.H. Li T. Jordan M.I. Convex and semi-nonnegative matrix factorizations IEEE Trans. Pattern Anal. Mach. Intell. 2008 32 45 55 10.1109/TPAMI.2008.277 19926898
49. Batra N. Kelly J. Parson O. Dutta H. Knottenbelt W. Rogers A. Singh A. Srivastava M. NILMTK: An open source toolkit for non-intrusive load monitoring Proceedings of the 5th International Conference on Future Energy Systems Cambridge, UK 11–13 June 2014 265 276
50. Zhao A. Chen M. Yu J. Cui P. Simulating appliance-level household electricity data: Accounting for residential behavior and usage patterns in China J. Build. Eng. 2024 92 109804 10.1016/j.jobe.2024.109804
51. Donnal J. NILM-Synth: Synthetic Dataset Generation for Non-Intrusive Load Monitoring Algorithms Proceedings of the 2022 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT) New Orleans, LA, USA 24–28 April 2022 1 6 10.1109/ISGT50606.2022.9817461
52. Meiser M. Duppe B. Zinnikus I. SynTiSeD – Synthetic Time Series Data Generator Proceedings of the 2023 11th Workshop on Modelling and Simulation of Cyber-Physical Energy Systems (MSCPES) San Antonio, TX, USA 9 May 2023 1 6 10.1109/MSCPES58582.2023.10123429
53. Proedrou E. A comprehensive review of residential electricity load profile models IEEE Access 2021 9 12114 12133 10.1109/ACCESS.2021.3050074
54. Jaradat A. Github Repo for HYDROSAFE, 2021 Available online: https://github.com/abedjar/HYDROSAFE (accessed on 29 May 2023)
55. Berndt D.J. Clifford J. Using dynamic time warping to find patterns in time series Proceedings of the KDD Workshop Seattle, WA, USA 31 July–1 August 1994 Volume 10 359 370
56. Menke W. Menke J. Environmental Data Analysis with MatLab Academic Press Cambridge, MA, USA 2016
57. Nguyen T. Qin X. Dinh A. Bui F. Low resource complexity R-peak detection based on triangle template matching and moving average filter Sensors 2019 19 3997 10.3390/s19183997 31527502
58. An X. K. Stylios G. Comparison of motion artefact reduction methods and the implementation of adaptive motion artefact reduction in wearable electrocardiogram monitoring Sensors 2020 20 1468 10.3390/s20051468 32155984
59. Tan P.N. Steinbach M. Kumar V. Introduction to Data Mining Pearson Education India Bangalore, India 2016
60. Patel K.J. Effects of Transformer Inrush Current Bachelor’s Thesis University of Southern Queensland Toowoomba, QLD, Australia 2013
61. Fried R. On the robust detection of edges in time series filtering Comput. Stat. Data Anal. 2007 52 1063 1074 10.1016/j.csda.2007.06.011
62. Jaradat A. Alarbi M. Lutfiyya H. Haque A. Appliances Operation Modes Identification Using States Clustering Proceedings of the 2023 International Conference on Smart Applications, Communications and Networking (SmartNets) Istanbul, Turkiye 25–27 July 2023 1 6 10.1109/SmartNets58706.2023.10215762
63. Jaradat A. Lutfiyya H. Haque A. Density And Dynamic Time Warping Based Spatial Clustering For Appliance Operation Modes Proceedings of the 2023 IEEE PES Conference on Innovative Smart Grid Technologies-Middle East (ISGT Middle East) Abu Dhabi, United Arab Emirates 12–15 March 2023 IEEE New York, NY, USA 2023 1 5
64. Ester M. Kriegel H.P. Sander J. Xu X. A density-based algorithm for discovering clusters in large spatial databases with noise Proceedings of the KDD Portland, OR, USA 2–5 August 1996 Volume 96 226 231
