Next Article in Journal
Semantic Interaction Meta-Learning Based on Patch Matching Metric
Previous Article in Journal
Composite Ensemble Learning Framework for Passive Drone Radio Frequency Fingerprinting in Sixth-Generation Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

HYDROSAFE: A Hybrid Deterministic-Probabilistic Model for Synthetic Appliance Profiles Generation †

by
Abdelkareem Jaradat
*,
Muhamed Alarbi
,
Anwar Haque
and
Hanan Lutfiyya
The Department of Computer Science, Western University, London, ON N6A 3K7, Canada
*
Author to whom correspondence should be addressed.
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.
Sensors 2024, 24(17), 5619; https://doi.org/10.3390/s24175619
Submission received: 25 July 2024 / Revised: 26 August 2024 / Accepted: 28 August 2024 / Published: 29 August 2024
(This article belongs to the Section Intelligent Sensors)

Abstract

:
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.

1. 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:
h H = { h 1 , , h i , , 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, A h , such that:
a A h = { a 1 , , a i , , a | A h | } 1 i | A h |
where | A h | is the number of appliances in the household, h.
An operation mode, p, that belongs to the operation modes set, P a , is defined as follows:
p P a = { p 1 , , p i , , p | P a | } 1 i | P a |
where | P a | 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:
d D = { d 1 , , d | D | } 1 i | D |
where the set of days, D , is of size, | D | . A daily power consumption sequence, Ω a d , represents the power consumption samples taken in a single day, d, for the appliance, a, such that:
Ω a d = ω n n = 1 n * = { ω 1 , ω 2 , , ω n , , ω n * } 1 n n *
where ω n is the n t h instantaneous power sample value measured in (W), and n * represents the last sample index within d. When a sampling frequency, f s , is used, the value of n * for a single day is defined as follows:
n * = t . f s
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, Ω a d , from the moment of turning the appliance on, n s , to the moment that it is turned off, n e . This is defined as:
ψ p = { ω n } n = n s n e = { ω n s , ω n s + 1 , , ω n , , ω n e 1 , ω n e } ψ p Ω a d , n s n n e n *
where:
| ψ p | = n e n s + 1
and for all SUPs, ψ p Ω a d , there is no overlapping between any two SUPs such that the intersection between these SUPs.
The set of SUPs, Ψ a d , p , of size | Ψ a d , p | , that corresponds to appliance a, and labeled by the AOM p, is defined as:
Ψ a d , p = { ψ 1 p , , ψ j p , , ψ | Ψ a d , p | p }
where Ψ a d , p contains all the SUPs that run using the same AOM, p. The set of all SUPs, Ψ a d , in d is defined as the union of all disjoint subsets Ψ a d , p corresponding to every AOM p P a . This is defined as:
Ψ a d = i = 1 | P a | Ψ a d , p i = { ψ 1 p j , , ψ i p k , , ψ Z a d p l } { p j , p k , p l , } P a s . t , i = 1 | P a | Ψ a d , p i = ϕ
where Ψ a d is a set of size, | Ψ a d | , that represents the total size of all AOM subsets, such that:
| Ψ a d | = p P a | Ψ a d , 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:
Sensors 24 05619 i002
where H is the HYDROSAFE generator function, p is the selected AOM to generate SUPs in, Ψ a p is the set of extracted SUPs from the dataset, and Sensors 24 05619 i001 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, Ω a d , contains zero or more non-overlapping SUPs, such that:
ψ i p α = ω n n = n s i n e i , ψ j p β = ω n n = n s j n e j i < j { i , j } { 1 , 2 , , | Ψ a d | } 1 n s i < n e i < n s j < n e j n *
where the first SUP, ψ i p α , runs with the operation mode, p α , and starts at n = n s i and ends at n = n e i . The other SUP, ψ i p β , runs with the operation mode, p β , and starts at n = n s j and ends at n = n e j . The activation time of each SUP is before the switch off time as n s i < n e i , n s j < n e j , and both SUPs do not overlap throughout the day, such that n e i < n s j . The power consumption samples that belong to the time intervals between SUPs are defined as follows:
ω n τ ε n { n e i + 1 , n e i + 2 , , n s j 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:
ψ ^ ( 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 W 2 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:
ψ ^ after = { ψ ^ ( 1 ) , , ψ ^ ( 1 ) } W 2 ψ ^ before { ψ ^ ( | ψ ^ | ) , , ψ ^ ( | ψ ^ | ) } W 2
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 L 2 norm of the Minkowski distance, is utilized to measure this impact, namely the Normalized Euclidean Distance [59]. This is defined as follows:
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, W I , 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:
I ψ ^ ( n ) = σ ψ ^ ( n i ) M ψ ^ ( n j ) 2 M ψ ^ ( n q ) 2 n i k , n j k l , n q k r k l = n W I 2 , n W I 2 + 1 , , n , k r = n + 1 , , n + W I 2 1 , n + W I 2 k = k l k r n , 1 n | ψ ^ |
where I ψ ^ is the indicator vector corresponding to the SUP, ψ ^ . M ( ψ ^ ( n j ) ) is the median of the SUP samples corresponding to the left partition of the window as of n j k l , where k l is the list of sample indexes of the left window. M ( ψ ^ ( n q ) ) is the median of the SUP samples correspond to the right partition of the window as of n q k r , where n q is the list of indexes of the right window. σ ( ψ ^ ( n i ) ) is the standard deviation of the SUP samples of the entire window as of n i 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 ( ψ ^ ( k q ) ) , is lower that the value of the right partition median, M ( ψ ^ ( k q ) ) . 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, σ ( ψ ^ ( k i ) ) . 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:
Π ψ ^ = π i i = 1 | Π ψ ^ | , | Π ψ ^ | | ψ ^ | 2
where π i is the i t h thick edge that is defined as the following pair of sample indexes:
π i = ( n i o , n i ι ) , 1 n i o n i ι | ψ ^ |
where π i defines two boundaries, n i o as the lower bound, while the upper bound is n i ι . The sequence of thick edges, Π ψ ^ is obtained by applying a threshold, τ I , so that a thick edge, π , is defined as the following:
I ψ ^ ( n ) τ I , n n j ι + 1 , n j ι + 2 , , n k o π j = ( n j o , n j ι ) , π k = ( n k o , n k ι ) 1 n j o n j ι < n k o n k ι | ψ ^ |
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:
Λ ψ ^ = { λ 1 , , λ i , , λ | Λ | } λ i = ( e o , e ι , ω λ ) , e o < e ι λ 1 = ( 1 , 1 , ω 1 λ ) , λ | Λ | = ( | ψ ^ | , | ψ ^ | , ω | ψ ^ | λ )
where the state, λ i , is represented by a tuple with three elements: the left exact edge, e o , 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:
e i o = a r g m a x I ψ ^ ( n ) , n π i e i ι = a r g m a x I ψ ^ ( n ) , n π i + 1 i { 1 , 3 , 5 , }
where the left exact edge, e i o , is selected from a thick edge, π i , i.e., e i o π i and the right exact edge, e i ι , is selected from a thick edge, π i + 1 , i.e., e i ι π 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:
e i o = n i o + n i ι 2 , e i ι = n i + 1 o + n i + 1 ι 2 i { 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:
ω i λ = M ω k k = e i o e i ι
where ω k , is the power values of ψ ^ at the sample index, k.
The sequence of states, Λ , that represents ψ ^ is defined as follows:
Λ ψ ^ = { λ 1 , , λ i , , λ | Λ | } λ i = ( e i o , e i ι , ω λ )
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 = { q i } i = 1 n and P = { p j } j = 1 m . DTW maps the elements of Q and P to minimize the distance between Q and P based on a warping path [55], W W = { w k } k = 1 K over all possible paths, W . This is defined as follows:
D T W ( Q , P ) = min W W W k = 1 K ( w k ) max ( m , n ) K < m + n 1
where w k = ( i , j ) is the pair of indices, and ( w k ) 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:
( i , j ) = d e ( q i , p j ) + min { ( i 1 , j 1 ) , ( i 1 , j ) , ( i , j 1 ) }
where d e ( q i , p j ) is the Euclidean distance between q i and p j . 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, ψ p i and ψ p j , is defined as the following:
δ ¯ ψ p i , ψ p j = D T W ψ p i , ψ p j | ψ p i | + | ψ p j | p i , p j P a , ψ p i Ψ a d , p i , ψ p j Ψ a d , p j
The distance matrix, Δ , is a ( | Ψ a d | × | Ψ a d | ) square matrix that contains the normalized pairwise distances, δ ¯ , for all SUPs ψ p Ψ a d . The distance matrix is defined as:
Δ = Δ i , j = δ ¯ ψ i p 0 , ψ j p 0 i , j { 1 , , | Ψ a d , p 0 | } Δ i , j = δ ¯ ψ i p k , ψ j p k i , j { | Ψ a d , p k 1 | , , | Ψ a d , p k | | Ψ a d , p k 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 ψ i p k and ψ j p l , such that:
Δ i , j = δ ¯ ψ i p k , ψ j p l { ψ i p k , ψ j p l } Ψ a d
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:
Δ 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:
{ { Ψ a p } p P , Ψ a o } = D D T W C S ( Ψ a , μ , ϵ )
such that, by the end of the algorithm, the set of all SUPs, Ψ a is clustered into | P a | clusters. Each cluster, Ψ a p , contains all SUPs that belongs to the operation mode, p, while the outlier SUPs set is Ψ a o .
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:
Ψ 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, Ψ a c , the border SUPs set, Ψ a b , and the outlier SUPs set, Ψ a o . These subsets are defined as follows corresponding to the value of μ :
Ψ a o Ψ a o Ψ a * , | Ψ a * | = 0 Ψ a b Ψ a b Ψ a * , 0 | Ψ a * | < μ Ψ a c Ψ a c Ψ a * , | Ψ a * | μ
where Ψ a o contains the SUPs that are considered outliers to any cluster. Ψ a c contains the core SUPs which incrementally joins other core SUPs in further iterations until it forms a cluster, Ψ a P . Ψ a b 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 | P a | clusters. Each cluster, Ψ a p , 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:
δ ¯ ψ p i , ψ p j δ ¯ ψ p i , ψ p k , p i = p j = p k
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:
δ ¯ ψ p i , ψ p j < < δ ¯ ψ p i , ψ p k , p i = p j p k
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), Ψ ¨ a p , is defined as:
Ψ ¨ a p = ψ ¨ i i = 1 | Ψ ¨ a p |
where ψ ¨ i is a SySUP for the appliance, a, with operation mode, p. The value of | Ψ ¨ a p | is selected to be a large number (typically | Ψ ¨ a p | > 1000 ) for evaluation purposes.
A base SySUP, ψ ¨ Ψ ¨ a p , represents a SySUP without adding the effect of any additional tuning parameters. The base SySUP, ψ ¨ , is defined as follows:
ψ ¨ = ω j λ j = 1 e λ ι 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:
ξ j = N μ ξ , σ ξ
where ξ j is the added noise to the j t h 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, Ψ ¨ a p ξ , is defined as:
Ψ ¨ a p ξ = ψ ¨ i ξ i = 1 | Ψ ¨ a p ξ |
where the resulting SySUP with the added noise, ψ ¨ ξ , is defined as:
ψ ¨ ξ = ω j λ + ξ j j = 1 e λ ι e λ o λ Λ ψ ^ p , ψ ¨ ξ Ψ ¨ a p ξ

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 1 x that might be used to describe the initial rapid drop in current.
The set of SySUPs with the added SOS, Ψ ¨ a p ϑ , is defined as:
Ψ ¨ a p ϑ = ψ ¨ i ϑ i = 1 | Ψ ¨ a p ϑ |
where the resulting SySUP with the added SOS, ψ ¨ ϑ , is defined as:
ψ ¨ ϑ = ω j λ + ξ j + ϑ j 1 + j j = 1 e λ ι e λ o λ Λ ψ ^ p , ψ ¨ ϑ Ψ ¨ a p ϑ
where ϑ j is the SOS coefficient that follows a normal distribution function as:
ϑ = N μ ϑ , σ ϑ
The term ϑ j 1 + 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, Ψ ¨ a p ϱ , is defined as:
Ψ ¨ a p ϱ = ψ ¨ i ϱ i = 1 | Ψ ¨ a p ϱ |
where the resulting SySUP with the added ripple, ψ ¨ ϱ , is defined as:
ψ ¨ ϱ = ω j λ + ξ j + ϑ j 1 + j + γ s i n j ρ j = 1 e λ ι e λ o λ Λ ψ ^ p , ψ ¨ ϱ Ψ ¨ a p ϱ
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:
ρ = 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, Ψ ¨ a p , is defined as:
Ψ ¨ a p = ψ ¨ i i = 1 | Ψ ¨ a p |
where the resulting SySUP with the added EEP, ψ ¨ , is defined as:
ψ ¨ = ω j λ i + ξ j + ϑ j 1 + j + γ sin j ρ j = 1 ( e i ι + i ι ) ( e i o + i o ) λ i Λ ψ ^ p , ψ ¨ Ψ ¨ a p λ i = ( e i o + i o , e i ι + i ι , ω λ )
such that:
0 e i o + i o < e i ι + i ι e i + 1 o + i + 1 o
The variation in the exact edge positions, i o 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:
{ i o , i ι , i + 1 o } 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:
δ ¯ Ψ ¨ a p ξ , Ψ a p = 1 | Ψ ¨ a p ξ | j = 1 | Ψ ¨ a p ξ | 1 | Ψ a p | i = 1 | Ψ a p | D T W ψ j p ¨ ξ , ψ i p | ψ i p | + | ψ j p ¨ |
here, δ ¯ represents the average DTW distance between each synthetic SUP, ψ ¨ a p ϑ Ψ ¨ a p ξ , and every actual SUP, ψ a p Ψ a p . The parameter a refers to the appliance, and p refers to the operation mode. The normalization factor, | ψ i p | + | ψ j p ¨ | , 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:
κ ¯ Ψ ¨ a p ξ , Ψ a p = 1 | Ψ ¨ a p ξ | j = 1 | Ψ ¨ a p ξ | σ 1 | Ψ a p | i = 1 | Ψ a p | D T W ψ j p ¨ ξ , ψ i p | ψ i p | + | ψ j p ¨ | j = 1 | Ψ ¨ a p ξ |
where κ ¯ represents the average of the standard deviations of the DTW distances between each synthetic SUP, ψ ¨ a p ξ Ψ ¨ a p ξ , and every actual SUP, ψ a p Ψ a p . 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 ( ψ ¨ a p ξ ) relative to the real SUPs ( Ψ a p ).
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 ( ψ ¨ a p ϑ ) relative to the real SUPs ( Ψ a p ).
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, ψ ¨ a p ϱ , with respect to the SUPs, Ψ a p , 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 ( ψ ¨ a p ) relative to the real SUPs ( Ψ a p ).
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.

Funding

This 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.

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
hSingle household
A h Set of appliances of h
aSingle appliance
P a Set of operation modes for a
pOperation mode (AOM)
D Set of days
dSingle day
Ω a d Daily power consumption sequence
ω n n t h instantaneous power sample value
n * Last sample index in d
f s Sampling frequency
tTime
Ψ a d , 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
n s Sample index when appliance is turned on
n e Sample index when appliance is turned off
ϕ Empty sequence
H HYDROSAFE generator function
Sensors 24 05619 i001Set of tuning parameters
τ ε Stand-by power threshold
M Moving median smoother function
WSliding window size
d ( x , y ) Minkowski distance between sequences x , y
rMinkowski distance order
E ( ψ , ψ ^ ) L 2 norm of the Minkowski pariwise distance between sequences ψ , ψ ^
I ψ ^ Indicator vector of ψ ^
σ ( x ) Standard deviation of sequence x
W I MDT window size
k l Left partition of the MDT window
k r Right partition of the MDT window
Π ψ ^ Sequence of thick edges for ψ ^
π Single thick edge
n ι Lower bound of π
n o Upper bound of π
τ I Thick edges threshold
Λ ψ ^ Sequence of states for ψ ^
λ Single state
RSize of Λ
e o Left exact edge of λ
e ι Right exact edge of λ
e o i Rising exact edge
e o i Falling exact edge
d e ( q i , p j ) Euclidean distance between q i , p j
D D T W S C SUPs clustering algorithm
ϵ Eps-neighborhood hyperparameter
μ Minimum number of adjacent elements
Ψ a c The core set of SUPs
Ψ a b The border set of SUPs
Ψ a o The outlier set of SUPs
Ψ a * directly density-reachable SUPs
DTW distance matrix
D T W ( ψ p i , ψ p j ) DTW distance between ψ p i , ψ p j
δ ¯ ( ψ p i , ψ p j ) Normalized pairwise DTW distance between ψ p i , ψ p j
Δ 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

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. [Google Scholar] [CrossRef]
  2. Energy, U. Annual Energy Review 2009; US Energy Information Administration: Washington, DC, USA, 2010; pp. 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. In 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; pp. 1–6. [Google Scholar]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. In 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; pp. 1–6. [Google Scholar]
  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. [Google Scholar] [CrossRef] [PubMed]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  13. Chouaib, B.; Lakhdar, D.; Lokmane, Z. Smart Home Energy Management System Architecture Using IoT; ICIST: New York, NY, USA, 2019. [Google Scholar] [CrossRef]
  14. Jaradat, A.; Lutfiyya, H.; Haque, A. Demand Response for Residential Uses: A Data Analytics Approach. In 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; pp. 1–6. [Google Scholar]
  15. Himeur, Y.; Alsalemi, A.; Bensaali, F.; Amira, A. Building power consumption datasets: Survey, taxonomy and future directions. Energy Build. 2020, 227, 110404. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  20. Pflugradt, N.; Muntwyler, U. Synthesizing residential load profiles using behavior simulation. Energy Procedia 2017, 122, 655–660. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  22. Kabirifar, M.; Pourghaderi, N.; Rajaei, A.; Moeini-Aghtaie, M.; Safdarian, A. Deterministic and probabilistic models for energy management in distribution systems. In Handbook of Optimization in Electric Power Distribution Systems; Springer: Berlin/Heidelberg, Germany, 2020; pp. 343–382. [Google Scholar]
  23. Makonin, S.; Wang, Z.J.; Tumpach, C. RAE: The Rainforest Automation Energy Dataset for Smart Grid Meter Data Analysis. arXiv 2017, arXiv:1705.05767. [Google Scholar]
  24. Happle, G.; Fonseca, J.A.; Schlueter, A. A review on occupant behavior in urban building energy models. Energy Build. 2018, 174, 276–292. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  28. Richardson, I.; Thomson, M.; Infield, D.; Clifford, C. Domestic electricity use: A high-resolution energy demand model. Energy Build. 2010, 42, 1878–1887. [Google Scholar] [CrossRef]
  29. McKenna, E.; Thomson, M. High-resolution stochastic integrated thermal—Electrical domestic demand model. Appl. Energy 2016, 165, 445–461. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  31. Nilsen, C.B.; Hoff, B.; Østrem, T. Framework for Modeling and Simulation of Household Appliances. In 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; pp. 3472–3476. [Google Scholar]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  34. Harell, A.; Jones, R.; Makonin, S.; Bajic, I.V. PowerGAN: Synthesizing Appliance Power Signatures Using Generative Adversarial Networks, 2020. arXiv 2007, arXiv:2007.13645. [Google Scholar]
  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. [Google Scholar] [CrossRef]
  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, arXiv:2112.06656. [Google Scholar]
  37. Liang, X.; Wang, H. Synthesis of realistic load data: Adversarial networks for learning and generating residential load patterns. In 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., Eds.; NIPS: San Diego, CA, USA; pp. 1–8.
  38. Gkoutroumpi, C.; Gkalinikis, N.V.; Vrakas, D. SGAN: Appliance Signatures Data Generation for NILM Applications Using GANs. In Intelligent Computing; Series Title: Lecture Notes in Networks and Systems; Arai, K., Ed.; Springer Nature Switzerland: Cham, Switzerland, 2024; Volume 1018, pp. 325–339. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  41. Li, D.; Bissyandé, T.F.; Kubler, S.; Klein, J.; Le Traon, Y. Profiling household appliance electricity usage with N-gram language modeling. In Proceedings of the 2016 IEEE International Conference on Industrial Technology (ICIT), Taipei, Taiwan, 14–17 March 2016; pp. 604–609. [Google Scholar] [CrossRef]
  42. Buneeva, N.; Reinhardt, A. AMBAL: Realistic load signature generation for load disaggregation performance evaluation. In Proceedings of the 2017 IEEE International Conference on Smart Grid Communications (Smartgridcomm), Dresden, Germany, 23–27 October 2017; IEEE: New York, NY, USA, 2017; pp. 443–448. [Google Scholar]
  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. [Google Scholar] [CrossRef]
  44. Chen, D.; Irwin, D.; Shenoy, P. Smartsim: A device-accurate smart home simulator for energy analytics. In 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; pp. 686–692. [Google Scholar]
  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. [Google Scholar]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef] [PubMed]
  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. In Proceedings of the 5th International Conference on Future Energy Systems, Cambridge, UK, 11–13 June 2014; pp. 265–276. [Google Scholar]
  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. [Google Scholar] [CrossRef]
  51. Donnal, J. NILM-Synth: Synthetic Dataset Generation for Non-Intrusive Load Monitoring Algorithms. In Proceedings of the 2022 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT), New Orleans, LA, USA, 24–28 April 2022; pp. 1–6. [Google Scholar] [CrossRef]
  52. Meiser, M.; Duppe, B.; Zinnikus, I. SynTiSeD – Synthetic Time Series Data Generator. In Proceedings of the 2023 11th Workshop on Modelling and Simulation of Cyber-Physical Energy Systems (MSCPES), San Antonio, TX, USA, 9 May 2023; pp. 1–6. [Google Scholar] [CrossRef]
  53. Proedrou, E. A comprehensive review of residential electricity load profile models. IEEE Access 2021, 9, 12114–12133. [Google Scholar] [CrossRef]
  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. In Proceedings of the KDD Workshop, Seattle, WA, USA, 31 July–1 August 1994; Volume 10, pp. 359–370. [Google Scholar]
  56. Menke, W.; Menke, J. Environmental Data Analysis with MatLab; Academic Press: Cambridge, MA, USA, 2016. [Google Scholar]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef]
  59. Tan, P.N.; Steinbach, M.; Kumar, V. Introduction to Data Mining; Pearson Education India: Bangalore, India, 2016. [Google Scholar]
  60. Patel, K.J. Effects of Transformer Inrush Current. Bachelor’s Thesis, University of Southern Queensland, Toowoomba, QLD, Australia, 2013. [Google Scholar]
  61. Fried, R. On the robust detection of edges in time series filtering. Comput. Stat. Data Anal. 2007, 52, 1063–1074. [Google Scholar] [CrossRef]
  62. Jaradat, A.; Alarbi, M.; Lutfiyya, H.; Haque, A. Appliances Operation Modes Identification Using States Clustering. In Proceedings of the 2023 International Conference on Smart Applications, Communications and Networking (SmartNets), Istanbul, Turkiye, 25–27 July 2023; pp. 1–6. [Google Scholar] [CrossRef]
  63. Jaradat, A.; Lutfiyya, H.; Haque, A. Density And Dynamic Time Warping Based Spatial Clustering For Appliance Operation Modes. In 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; pp. 1–5. [Google Scholar]
  64. Ester, M.; Kriegel, H.P.; Sander, J.; Xu, X. A density-based algorithm for discovering clusters in large spatial databases with noise. In Proceedings of the KDD, Portland, OR, USA, 2–5 August 1996; Volume 96, pp. 226–231. [Google Scholar]
Figure 1. Two SUPs for a clothes dryer. Each SUP is activated with a different AOM.
Figure 1. Two SUPs for a clothes dryer. Each SUP is activated with a different AOM.
Sensors 24 05619 g001
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 2. The annual power consumption [23] and corresponding costs for operating 3 appliances, and the potential savings by switching to the lighter operation modes.
Sensors 24 05619 g002
Figure 3. The architecture of HYDROSAFE.
Figure 3. The architecture of HYDROSAFE.
Sensors 24 05619 g003
Figure 4. A square wave with uniform noise, moving average, and moving median.
Figure 4. A square wave with uniform noise, moving average, and moving median.
Sensors 24 05619 g004
Figure 5. The Euclidean distance between trimmed vs. smoothed multiple SUP for a dryer using moving median with variation in the window size.
Figure 5. The Euclidean distance between trimmed vs. smoothed multiple SUP for a dryer using moving median with variation in the window size.
Sensors 24 05619 g005
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 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.
Sensors 24 05619 g006
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 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.
Sensors 24 05619 g007
Figure 8. The impact of changing the noise coefficient, ξ , on the values of the distance mean, δ ¯ , for a dryer.
Figure 8. The impact of changing the noise coefficient, ξ , on the values of the distance mean, δ ¯ , for a dryer.
Sensors 24 05619 g008
Figure 9. The impact of changing the SOS 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.
Sensors 24 05619 g009
Figure 10. The impact of changing the ripple parameters, ρ and γ , 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.
Sensors 24 05619 g010
Figure 11. The impact of EEP factor, , 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 g011
Table 1. A comparison of HYDROSAFE and publicly available synthetic datasets and simulators.
Table 1. A comparison of HYDROSAFE and publicly available synthetic datasets and simulators.
SimulatorNo. AppliancesAvailabilitySampling RateScopeDescription
Henriet et al. [46]66Public0.033 HzCommercialSHED 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]25Public1 HzResidentialSmartSim 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]14N/A1 HzResidentialAMBAL 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/AN/AN/AResidentialA 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]7PublicHourlyResidentialA 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]VariablePublicVariableResidentialNILM-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/APublic30 minN/ASmart 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/APublicN/AResidentialSynTiSeD 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]21Public5 HzResidentialSynD 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.
Table 2. The average of the pairwise DTW distance per house per appliance.
Table 2. The average of the pairwise DTW distance per house per appliance.
HouseApplianceAOM-1AOM-2AOM-3
1dryer32.70417.2318.74
2dryer77.63203.19208.24
1dishwasher31.928.45-
2dishwasher0.76--
1washer10.049.064-
2washer7.659.296.24
Table 3. The standard deviation of pairwise DTW distance per house per appliance.
Table 3. The standard deviation of pairwise DTW distance per house per appliance.
HouseApplianceAOM-1AOM-2AOM-3
1dryer44.915.3617.80
2dryer45.220.093.15
1dishwasher30.114.91-
2dishwasher0.36--
1washer3.693.74-
2washer2.753.151.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.

Share and Cite

MDPI and ACS Style

Jaradat, A.; Alarbi, M.; Haque, A.; Lutfiyya, H. HYDROSAFE: A Hybrid Deterministic-Probabilistic Model for Synthetic Appliance Profiles Generation. Sensors 2024, 24, 5619. https://doi.org/10.3390/s24175619

AMA Style

Jaradat A, Alarbi M, Haque A, Lutfiyya H. HYDROSAFE: A Hybrid Deterministic-Probabilistic Model for Synthetic Appliance Profiles Generation. Sensors. 2024; 24(17):5619. https://doi.org/10.3390/s24175619

Chicago/Turabian Style

Jaradat, Abdelkareem, Muhamed Alarbi, Anwar Haque, and Hanan Lutfiyya. 2024. "HYDROSAFE: A Hybrid Deterministic-Probabilistic Model for Synthetic Appliance Profiles Generation" Sensors 24, no. 17: 5619. https://doi.org/10.3390/s24175619

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

Article Metrics

Back to TopTop