Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

17 October 2026

30 Pages

Human-Centered Energy Consumption Advising System of Smart Home

,
,
,
and
1
Institute of Information and Computational Technologies, Almaty 050010, Kazakhstan
2
Federal Research Center for Information and Computational Technologies, Novosibirsk 630090, Russia
3
Sobolev Institute of Mathematics of the Siberian Branch of the Russian Academy of Sciences, Novosibirsk 630090, Russia
4
School of Applied Mathematics, Tikhonov Moscow Institute of Electronics and Mathematics, National Research University “Higher School of Economics”, Moscow 101000, Russia
This article belongs to the Special Issue Power System Dynamics and Stability

Abstract

This article examines concepts of human–machine interaction that support a human-centered approach: cybersocial systems of Industry 5.0 and symbiotic systems. It analyzes the potential for creating symbiotic smart home systems. It also looks into the most common tasks solved by smart homes in the area of electricity consumption, such as analyzing and forecasting energy consumption within the system and developing recommendations for smart home ecosystem participants based on this analysis and forecast. The mutual influence of these tasks in a symbiotic smart home system is demonstrated. It proposes an approach to identifying typical energy consumption scenarios and interpreting consumer behavior. It develops an ensemble learning algorithm for time series forecasting based on clustering. The article also explores the feasibility of implementing the concept of rational consumption and generating recommendations for shifting consumption to periods with lower tariffs based on household electricity consumption forecasting.

1. Introduction

Modern engineering solutions related to digitalization and the implementation of AI in various economic sectors increasingly address the issues of interaction between technology, humans, and the environment, taking them into account in the products, systems, and services being developed. Today, this interaction must be structured for the purpose of not only considering the interests of all participants but also ensuring mutual benefit and development. To varying degrees, this idea is present in many concepts today.
The concept of Industry 5.0 defines human-centricity as one of its core principles [1]. The development and improvement of technologies for interaction between humans and machines is aimed at achieving synergistic effects that foster an environment stimulating the creation and rapid implementation of new technologies and innovations in product development and work practices.
Industry 5.0 is focused on production systems. However, its principles are also applicable to other areas, such as providing services, resource allocation, and the management of access to them, since processes in these areas today are also based on the interaction of people with smart devices.
In production systems, the regulation of self-organizing human–machine systems, which are their foundation, is supported by setting certain common goals and rules, as well as monitoring emerging critical situations that affect the stable functioning of such systems. Regulation, however, should not limit self-organization to such an extent that its benefits cannot be realized.
In human–machine systems, in the tasks of providing services, regulating access to resources, making decisions at the private level, and in individual processes, the interaction between humans and smart devices or services should also be based on the implementation of the principle of human-centricity.
The development of artificial intelligence has not only highlighted the prospects for rapid growth in human intellectual productivity through the automation of many of its stages and processes, but has also raised questions about the long-term mutual benefits of collaboration between humans and smart devices or programs. This is especially important for long-term processes involving interactions within artificial ecosystems.
The concept of symbiotic systems is based on the concept of symbiosis, which is primarily associated with biology and the interaction of living organisms.
The symbiosis of man and machine was first explored in early publications in the mid-20th century, during the early stages of AI development [2], as well as in later studies, when information technology and the internet began to develop rapidly, and their potential to accelerate human mental activity became better understood [3].
In [3], a symbiotic system is defined as follows: a system in which computer and human each actively contribute in a synergistic way towards solving a problem. It is also noted that the development of the computer component took into account the human perception of visual information, and the target task is the effective use of human creative potential. Also, ref. [3] identifies important features of symbiotic systems that can be interpreted not only in the context of human–computer interaction, but also more broadly in the context of human interaction with smart devices. The concept of a “domain expert” is emphasized, i.e., a human in a symbiotic system with smart devices must have a thorough understanding of the interaction domain and its tasks, as well as the ability to interpret information from smart devices within the context of the domain. This enables collaborative control and a high degree of synergy.
Interaction in a symbiotic human–machine system should be aimed at activating and supporting the human creative process. This ensures the effective implementation of the human-centered approach in a wide variety of human–machine systems, especially in AI-enabled systems and services. Therefore, symbiotic systems are designed to solve problems for which fully automated, interactive, or manual methods cannot provide appropriate solutions.
Modern articles devoted to the development of Symbiotic System Science (SSS) place even greater emphasis on understanding the role of humans in mutually beneficial interaction and collaboration with smart devices and programs [4] and single out the field of research on human-centered symbiotic systems (HCSS) [5,6,7].
Electricity consumption in the private sector is one area where the application of symbiotic systems principles can provide solutions that promote smarter consumption.
Modern buildings integrate biological and technical components and systems that interact with and adapt to the environment [8]. Biological systems include people, animals, plants, and biological materials. Technical systems include adaptive building structures, materials, technologies, technical components, and smart devices. Their symbiotic interaction and joint process regulation help ensure sustainability, dynamic equilibrium, and well-being for the sake of human health, ecology, and the environment.
Today, it is the synergistic effect of interaction between humans and smart devices that many concepts rely on. The main concepts and approaches to regulating electricity consumption in the private sector, which are based on the interaction between electricity producers and consumers, are as follows.
  • Demand Side Management (DSM) [9,10] involves implementing solutions on both the equipment and consumer sides. On the equipment side, the strategy aims to improve the efficiency of electricity use by equipment and processes. On the consumer side, the strategy aims to adjust demand in response to supply or constraints: reducing consumption during peak hours, filling periods of low demand, and shifting consumption from periods of high demand to periods of low demand.
  • Dynamic pricing [11,12,13] is aimed at managing electricity consumption and reducing the risks of peak consumption loads by adjusting tariffs depending on supply and demand factors in real time. Two main approaches are Real-time pricing (RTP) and Time-of-use (TOU).
  • Distributed energy resources (DER) [14,15,16] is based on the use of low-power resources on the consumer side (electricity storage systems, rooftop solar photovoltaic panels, wind turbines, electric vehicle chargers, etc.) depending on changes in market prices and energy efficiency measures. This approach is aimed to enhance energy flexibility, grid stability and system self-organization.
Another model, which is not only related to energy distribution but also aligns with the concept of symbiotic systems, is the smart home [7,17].
The smart home concept can be viewed from various perspectives. In terms of hardware and software implementation, a smart home can be considered a microgrid system [18]. The key components of such a network are:
  • Energy sources for the microgrid, including renewable and non-renewable sources;
  • Energy storage systems accumulate excess energy generated by the microgrid, which can be used when demand exceeds production, following the DER principles;
  • Distribution infrastructure is the physical infrastructure for delivering electricity from sources to consumers;
  • The control system includes tools for managing electricity supply depending on electricity demand, as well as metering equipment for electricity production and consumption;
  • Point of common coupling is the physical point of connection of the microgrid to the main power grid.
Smart home devices include:
  • Central controller;
  • Communication network;
  • User interface;
  • Sensors;
  • Actuators;
  • Household appliances;
  • Security devices;
  • Tools for integration with external systems.
Initial smart home concepts focused primarily on ensuring interaction between devices, without considering people as active participants in regulating energy or other resource consumption who are aware of all the nuances of this field. This resulted in conflicts within the system or failure by residents to utilize certain smart home services and capabilities. Modern smart home models involve continuous system learning based on monitoring the behavior and interests of their residents.
In terms of energy and other resource consumption, a smart home must meet the following requirements:
  • Facilitate interaction between the user and the power grid operator, including remote meter reading and payment, allowing the user to receive not only complete information on consumption volumes and potential, but also recommendations on rational energy use, participation in energy conservation, and environmental protection;
  • Implement remote interactive mode with other participants in the smart home ecosystem;
  • Monitor and interact with the home remotely using various communication networks, which allows for information about emerging faults and problems and prompt resolution;
  • Flexibly and effectively adapt to consumer needs when the quantitative and qualitative indicators of consumption or resource supply change;
  • Ensure a reliable supply of resources and protect internal and external supply networks from various threats and risks;
  • Have the possibility to expand networks when new consumers (people and equipment), as well as internal and external resource sources, are connected.
An essential feature of a smart home is the self-regulating heating, ventilation, and air conditioning (HVAC) system [19].
Using the principles of symbiotic systems in implementing the smart home concept improves collaboration between humans and equipment in a home microgrid and implements DSM principles for demand management on both the consumer and smart devices sides, as methods for increasing the energy efficiency of equipment and processes in this case will be implemented and improved in collaboration with consumers. Ref. [17] also cites a high level of smart services among the requirements for a smart home.
Paper [7] examines the core principles of human-centered symbiotic artificial intelligence:
  • Transparency ensures the availability of critical information about how the AI model was trained and structured. The key dimensions are Explainability and Interpretability.
  • Fairness is characterized by two dimensions: Rightful Information and Non-Discrimination. Providing accurate and complete information is essential for explaining AI decisions. Model training must be conducted in accordance with ethical and social norms that minimize discriminatory behavior.
  • Automation level is characterized by two dimensions: “Human-on-the-loop” and “Human-in-the-loop.” “Human-on-the-loop” assesses the possibility to appropriately supervise humans when interacting with AI systems so that they can verify, monitor, and control the system’s behavior. “Human-in-the-loop” assesses human oversight in situations where humans need to actively participate in decision-making.
  • Protection covers a wide range of aspects, with Privacy, Safety and Security being the main dimensions.
In a smart home microgrid system, people and devices are equal participants. The system includes the following components:
  • A smart device connected to the IoT network that transmits information about network connection, disconnection, consumption volume, and any problems that arise.
  • Non-AI equipment, characterized by specific consumption data and connection statis-tics, that can participate in the system through an associated software agent or digital twin.
  • The user is not permanently connected to the IoT network. The user can transmit data about equipment connection/disconnection to the network, decide whether to connect new equipment or a new user, make decisions regarding connection to power sources, and select service formats. Different users can be granted different permissions regarding these decisions. In the system, the user is characterized by consumption data and statistics, including indoor comfort assessments. The user can be represented in the system by a software agent or digital twin.
  • Electricity sources or energy storage systems, of which the main one can be identified. They are characterized by their power, access conditions, and usage statistics. They can be connected to the IoT and provide data and statistics about connected devices or households.
This list does not include other previously mentioned biological objects that may be present in a private home—pets and plants. Their participation in regulation can be achieved either through humans or through devices that measure their condition, as is done in agriculture. In the system, they can also be represented by appropriate software agents or digital twins.
When implementing these concepts, human–device interactions impact all levels of control, including power generation, transmission, and distribution.
The most important task in managing electricity consumption in a smart home is developing a control strategy that reduces energy usage and total costs while maintaining an acceptable level of indoor comfort, accounting for constantly changing weather, building occupancy patterns, and long-term thermal dynamics.
There are numerous approaches to implementing management [20]. The operation of HVAC systems is a sequential process, as a building’s thermal state changes over time, and the effects of control actions on indoor temperature, energy consumption, and comfort levels invariably involve a time lag. This characteristic—the delayed response—necessitates the use of proactive control strategies.
Comfort parameters provided by HVAC systems—such as temperature, humidity, air quality, lighting, and noise levels—are achieved in various smart home implementations through different solutions that depend on more than just power consumption [21,22]. The review [23] presents findings regarding user attitudes toward smart home systems and their level of engagement in managing them. This and other studies of smart home users demonstrate that awareness and hands-on experience with smart home technologies play a pivotal role in shaping a positive perception of these systems: greater knowledge and practical experience correlate with higher approval ratings and fewer concerns or objections regarding system decisions. This is largely achieved by integrating analysis, forecasting, and recommendation tools, thereby making the system’s recommendations more understandable and transparent to the user.
Another important aspect involves viewing the management of smart homes and larger consumer communities as a self-organizing socio-technical system, where regulation is driven not only by rational factors but also by emotional components—often rooted in awareness of other consumers’ behavior and preferences, as well as consumption forecasts. The specific characteristics of such regulation are examined in [24,25].
Symbiotic systems focused on dialogue, understanding, and the coordination of decisions within self-organizing human–machine smart home environments represent one of the most promising approaches to designing HVAC systems.
The key components in implementing such systems for managing electricity consumption include:
  • Analysis and forecasting energy consumption in the system;
  • Generating recommendations for smart home ecosystem participants based on the analysis and forecast.
At the same time, it is important that solutions to both of these issues be improved through interaction between participants, and that participants be motivated to collaborate and improve management methods. Figure 1 shows a diagram of the mutual impact of the solutions to these problems and the interactions between participants in solving them. It does not represent a one-way system of analysis and advice for humans, but rather involves interaction between humans and devices not only in generating performance assessments but also in improving the management system for the benefit of the residents.
Figure 1. Interactions in the advising system of a smart home: existing connections within the smart home system, including the hardware and software infrastructure; messages containing analysis and forecast results that may influence changes in the current behavior or attitudes of biological entities and intelligent technical systems; data and calculation results used to improve the functionality of the recommendation system and enhance the quality of recommendations.
Let us consider the interaction of the components of this system using the example of recommendations for determining tariffs using electricity consumption forecasting.
Section 2 discusses implementation of the part of the recommender system associated with the electricity consumption analysis and forecasting (Figure 1).
Section 3 presents the energy user recommender part of the recommender system. In this case, as shown in Figure 1, it is necessary to take into account the results of the analysis and forecast of electricity consumption, which may influence the selected scenarios, periods of activity of smart equipment, and the use of other technical facilities. To provide more accurate recommendations, the possibility of additionally taking into account the forecast of electricity consumption in the region was considered.

2. Analysis and Forecasting of Energy Consumption in a Symbiotic Smart Home System

For a symbiotic system, it is important that the analysis and forecasting stage consider both the actions and plans of biological entities (people, animals, plants, etc.) living in the smart home, as well as technical objects. It is also important to consider the results of their interactions and prioritize human interests. Segmenting historical smart home energy consumption data into clusters at this stage, followed by transmission of this data to the advising system, the Energy Usage Recommender, and the technical and biological smart home objects, for example, using integrated information agents or models, facilitates the involvement of consumer participants in smart home management.
This allows, in particular, to estimate and possibly reduce potential electricity costs for specific consumption scenarios based on forecast results. Furthermore, consumption tariffs set by electricity supply companies, which are based on consumer behavior to avoid peak loads (see Section 3), should be considered as an external factor. Energy consumption forecasting is often conceptualized as a time series forecasting problem. Time series analysis is also a key task in data mining.

2.1. Materials and Methods

Let us assume a time series Y = (y1,…, yM), i.e., a set of values of a certain indicator obtained at time instants t1,…, tM (assuming that adjacent instants are equally spaced). The time series forecasting problem is to find a function (forecast model) F, whose value y ^ M + h = F ( y 1 , … , y M , h ) best approximates the actual value yM+h, where h ∈ {1,…, H} is the number of steps for generating the forecast and H is the forecast horizon. In this case, it is necessary to optimize the quality indicator: Q ( y ^ ,   y ) → min , where y ^ = ( y ^ M + 1 , … , y ^ M + H ) are the predicted values, y = (yM+1,…, yM+H) are the actual values of the time series, and Q is some quality indicator (for example, a quality metric determined by a section of the series that was not used at the stage of constructing the forecast model).
Constructing a time series forecasting model involves the following main tasks:
  • Time series preparation to improve data quality;
  • Feature generation;
  • Feature selection—filtering and selecting features for building a forecasting model;
  • Training and testing the forecasting model using the prepared features;
  • Tuning the forecasting model’s hyperparameters to achieve a more accurate forecast.
Let us consider the specifics of time series analysis and forecasting when solving the problem of forecasting energy consumption for a symbiotic smart home system.
In order to implement the above-discussed principles of human-centered symbiotic artificial intelligence [7] in a symbiotic smart home system, primarily transparency and automation level (which corresponds to the user’s involvement in interaction with smart home devices to solve energy consumption optimization problems), it is necessary to analyze not a single time series, but a set of interconnected time series:
  • User time series: for example, heart rate, distance traveled, social media activity;
  • Environmental time series: for example, illumination, acoustic signal level, weather characteristics;
  • Resource time series: tariffs for electricity, water, and gas at different times of day;
  • Device time series: energy consumption of various types of electrical appliances, battery efficiency indicators, device wear levels, etc.
While the standard approach to energy optimization requires predicting energy consumption in order to switch to a more efficient mode in a timely manner, the symbiotic approach requires coordinating future control with the user. Instead of a standard error function, say, Loss i = ( y i − y ^ i ) 2 , a symbiotic function should be used, such as
LossSimb i = ( y i − y ^ i ) 2 + λ User_Discomfort i ,
where the parameter λ > 0, and the User_Discomfort component is estimated using a discomfort model that takes into account the frequency and level of user adjustments, the degree of “unusualness” of their behavior, etc.
For symbiotic learning, it is important to develop user behavior patterns to predict their response (in terms of the degree of deviation from the typical energy consumption scenario) to system actions.
To generate the forecast, the time series forecasting problem was reduced to a regression problem. Three groups of features necessary for forecasting were identified:
  • Temporal features: derived from date and time. For example, year, day of the year, day of the week, week, month, season indicators, etc.
  • External features: correspond to certain external factors characteristic of the object under study. For example, weather, holidays, power plant identifier, etc.
  • Shift features: correspond to the values of the target variable (and possibly some other features) several steps back. For example, the value of electricity consumed an hour ago, yesterday’s weather, etc.
For comparative analysis of methods, well-known quality metrics were used:
Mean   Absolute   Error :     MAE ( y , y ^ ) = ∑ i = 1 T y i − y ^ i T ;
Mean   Absolute   Percentage   Error :     MAPE ( y , y ^ ) = ∑ i = 1 T y i − y ^ i y i ;
Coefficient   of   determination :   R 2 ( y , y ^ ) = 1 − ∑ i = 1 T y i − y ^ i 2 ∑ i = 1 T y i − y ¯ i 2   ,
where T is the length of the predicted series obtained by the sliding window, and y ¯ is its mean value. The best quality corresponds to the minimum values of MAE, MAPE, and the highest values of R2.
The method for forecasting the time series of a symbiotic system proposed in this paper is based on the use of information on the behavior of patterns identified through ensemble cluster analysis. Let us describe the formulation and solution method for this problem.

2.1.1. The Time Series Clustering Problem and an Ensemble Method for Solving It

Let us consider a set of objects {Y1, …, YN}. In this paper, an object is defined as a time series (more precisely, a sub-series), which is a “slice” of the original time series Y over certain time intervals from ti1 to ti2. So, if Y is the original time series, then
Y i = Y t i 1 : t i 2 = y t i 1 , y t i 1 + 1 , … , y t i 2 , t i 1 < t i 2
In this paper, it is assumed that all intervals are the same length (e.g., a day).
The goal is to partition this set of time series objects into a number of homogeneous clusters according to a certain criterion.
Efficient clustering of time series describing energy consumption in a smart home makes it possible to identify typical energy consumption profiles, optimize network load, forecast demand, and detect anomalies in consumer behavior, which is especially important in the context of symbiotic systems. However, the high dimensionality, noise, and dynamic nature of such data make traditional time series clustering methods [26] not effective and robust enough.
To improve the accuracy and robustness of the analysis, an ensemble time series clustering method was developed and applied. It combines several classical clustering algorithms to produce a more robust final solution [27,28,29]. Initially, baseline solutions are constructed using various algorithms based on features extracted from the time series, and then a final (consensus) solution is formed based on these. The following algorithms were used as baseline:
  • Hierarchical (agglomerative) clustering;
  • K-means;
  • BIRCH [30].
The clustering quality of the clustering variants was assessed using the Silhouette index [31]; the optimal number of clusters yielding the best index value was selected.

2.1.2. Building a Consensus Solution Using Meta-Clusters and the Wasserstein Distance

Let us represent each time series from Y as a vector in some embedding space. Let d be the dimension of the embedding space (the number of features extracted from the main forecast time series and the accompanying contextual time series of user behavior, weather, etc.). Let some cluster analysis algorithms be used to construct a set of partitions P* = {P1,…, PL} of the observation set X = {x(1),…, x(N)}, x(i)∈ℝd into groups P l = C 1 ( l ) , … , C K l ( l ) , where Kl is the number of clusters in the l-th variant. Let us assume that all variants are obtained independently. The goal is to find a consistent (consensus) partition of the set X into K clusters. The number K is either given or must be determined in some optimal way.
We propose using the Wasserstein distance (also known as the transportation metric or the Earth Mover’s Distance) as a distance metric between groups of time series. Unlike similar ensemble clustering methods [32], the use of the Wasserstein distance makes it possible to include additional information about the cluster topology. We will refer to the proposed algorithm as the Wasserstein Hierarchy.
This paper assumes a normal distribution for each cluster. Let ξ 1 = N ( m 1 , Σ 1 ) and ξ 2 = N ( m 2 , Σ 2 ) be two non-singular normal distributions on ℝd with means m1, m2 and covariance matrices Σ1 and Σ2, respectively. Then, with respect to the Euclidean norm on ℝd, the Wasserstein distance W2 can be calculated using the following formula:
W 2 ξ 1 ,   ξ 2 = m 1 − m 2 2 2 + trace Σ 1 + Σ 2 − 2 Σ 2 1 2 Σ 1 Σ 2 1 2 1 2 .
The parameters of the normal distribution for a cluster are estimated from the sample.
Let us denote all clusters from the baseline variants as C i 1 , … , C i G , where G = ∑ l = 1 L K l . Next, a similarity/difference graph is constructed for pairs of clusters (vertices are clusters, edge weights are the Wasserstein distance between clusters) and partitioned into K meta-clusters. The final (consensus) solution is obtained by calculating the frequency of occurrence of each object in each meta-cluster based on the baseline variants and selecting the meta-cluster with the highest frequency.
Finally, according to the final partitioning of set X into clusters, a partitioning of set {Y1, …, YN} into K clusters is determined.
In addition to the ability to interpret the resulting clusters as patterns or user behavior scenarios, the proposed method enables the use of pattern information for series prediction.

2.1.3. An Ensemble Algorithm for Time Series Forecasting Based on Clustering

Let us consider clusters
C = C 1 , … , C K ,   C l = Y l 1 , … , Y n l , l = 1 , … , K , ∑ i = 1 k n i = N ,
where nl is the number of objects in cluster Cl.
For each cluster Cl we construct its own machine learning regression model ml in the embedding space. We also create a separate model on the entire training set (hereinafter, the global model) mglobal. For the current daily observations, we find the closest cluster based on the distance W2. Note that the distance to a cluster expresses the degree of deviation from the corresponding typical user behavior, and thus the User_Discomfort error component in the symbiotic loss function.
Next, the forecast for the future period was calculated as a weighted sum of the forecast of the model y ^ m l ∗ of the nearest cluster and the forecast of the global model y ^ m global (with weights w1, w2, respectively). The weights were updated dynamically, inversely proportional to the error over the last s observations. For the current observation yt, the weights were calculated as follows:
w 1 = w ~ 1 w ~ 1 + w ~ 2 , w 2 = w ~ 2 w ~ 1 + w ~ 2 ,
where
w ~ 1 = 1 mae 1 + ε , w ~ 2 = 1 mae 2 + ε , mae 1 = MAE Y t − s : t , y ^ m l ∗ t − s : t , mae 2 = MAE ( Y t − s : t , y ^ m global t − s : t ) , ε = 10 − 5 .
Here, y ^ m t − s : t denotes a series of predicted values of model m over a specified time interval.

2.2. Results

To illustrate the capabilities of the approach we developed for analyzing smart home energy consumption, numerical experiments were conducted using clustering and time series forecasting algorithms.

2.2.1. Initial Data

The following real-world data example were considered [32,33]. The first dataset represents electricity consumption measurements in a single household in the city of Sceaux (7 km from Paris, France) with a sampling frequency of one minute over almost four years (2006–2010). Data on the corresponding air temperature are also available.
The electricity consumption data contain 1.25% missing values, while the weather data contain no more than 3.4% missing values. Since features with missing values are few, they were filled with the median value of the corresponding feature for the corresponding time intervals (e.g., if there are gaps during night hours, they were filled with the median value during night hours, etc.).
Since the initial data were presented at a frequency of one minute, and the short-term forecast was considered an hour ahead, the data were aggregated by hours to train the models and build the forecast.
The second dataset represents energy consumption readings for a sample of 5567 London Households that took part in the UK Power Networks-led Low Carbon London project between November 2011 and February 2014. The customers in the trial were re-cruited as a balanced sample representative of the Greater London population. This data was also aggregated by hours to train the models and build the forecast.
To preserve the temporal order of the series, the data were divided chronologically into three consecutive subsets. The most recent two months formed the test set, the month immediately preceding it was used for validation and hyperparameters setting, and the remaining data (all observations prior to the validation period) were used for training.

2.2.2. Clustering of Energy Consumption Time Series

Time series for each day, measured in minutes, were analyzed for clustering. A total of 1461 time series were analyzed. Clustering was performed based on features extracted from the time series. The following features were identified: mean, median, standard deviation, skewness, kurtosis, minimum, maximum, range, number of peaks (local maxima), trend slope, mean of first difference, mean of second difference, and autocorrelation for unit lag.
Based on the silhouette graphs for the basic algorithms in Figure 2, it can be determined that the optimal number of clusters is four.
Figure 2. Silhouette index values for different clustering algorithms.
Figure 3 shows the series corresponding to the daily consumption clusters. Figure 4 shows the quintile ranges for the clusters.
Figure 3. Daily consumption clusters; the red line is the cluster centroid.
Figure 4. Quantile ranges for the clusters.
Based on the graphs in Figure 3 and Figure 4, we can conclude that all clusters are qualitatively similar to each other, but differ quantitatively. Differences can also be seen in some exogenous cluster characteristics.
Table 1 presents a quantitative description of the clusters.
Table 1. Description of the clusters.
Based on the energy consumption graphs (Figure 3 and Figure 4) and the data in Table 1, we can draw the following conclusions about consumer behavior patterns.
  • The first cluster is characterized by the highest median energy consumption level; there are subtle peaks in the morning and evening. This cluster includes winter time series. The cluster can be interpreted as a typical busy day.
  • The second cluster is similar to the first, but has a lower average load, making the morning and evening peaks more pronounced. It also includes winter time series, as well as the highest number of weekend days. This cluster can be interpreted as a typical workday.
  • The third cluster represents the standard consumption: low intracluster variability, average energy consumption, and the highest number of observations. This cluster includes spring and winter days. The cluster can be characterized as the base season with a standard load. These are most likely workdays when no one is home until the evening.
  • The fourth cluster corresponds to the most “economical” type: the lowest level of electricity consumption and the smallest variation. It is possible that energy was consumed during periods when residents were away during the day, and the small peaks correspond to the operation of automatic air conditioning or heating devices. This cluster includes summer days.
All clusters have characteristic peaks in the morning and evening (9 a.m. and 8 p.m.). This can be assumed to be the “start” of the day and the return from work. This is likely the time when electricity, boilers, heating, and other electrical appliances are most used.
To verify the significance of the difference between clusters, a PERMANOVA test [34] was performed on the absolute errors with Holm’s correction and significance level α = 0.05. Results are presented in Table 2.
Table 2. p-values of PERMANOVA test.
Based on Table 2, it can be concluded that all pairs of clusters obtained using the ensemble clustering algorithm are statistically different. We also conducted a PERMANOVA test for the statistical significance of clustering as a whole. The main hypothesis was: H0 = {all clusters have the same multivariate distribution}. The obtained p-value was 0.00019, i.e., there is a statistically significant difference between the clusters in the multidimensional feature space. This also proves that the clustering itself is statistically significant.

2.2.3. Energy Consumption Time Series Forecasting

For hour-ahead forecasting, lag shifts of up to three hours back, as well as a 24 h backspacing, were used. The lag values were selected using a validation sample. The graph (Figure 5) shows a fragment of the electricity consumption time series and the 24 h forecast.
Figure 5. Fragment of the electricity consumption time series and the 24 h forecast.
The graph (Figure 6) also shows the values of the metrics calculated over a sliding window of width of 48 (i.e., two days).
Figure 6. Values of the metrics R2 and MAE.
Figure 7 shows graphs of the observed values of the series and the forecast for the proposed algorithm. The forecast graphs demonstrate good results in the model’s determination of peak electricity consumption values.
Figure 7. Graphs of the electricity consumption time series and the resulting forecast (60-min forecast horizon).
Table 3 shows the weighted quality metrics for the test set and the results of comparison with several well-known algorithms: Prophet [34], Exponential smoothing (classical Holt–Winters model), and the LSTM deep learning model [35]. Only the peak values of the time series were included in the calculation of the weighted metrics. The weight value was 3, since the average ratio of peak to off-peak prices in European countries is 177% [36].
Table 3. Weighted forecast quality metrics for various algorithms.
Based on Figure 7 and Table 3, it can be concluded that the proposed algorithm accurately captures peak values in the time series, which can be used to choose a tariff plan in the most optimal way.
To verify the significance of the difference between the forecasts, a paired Student’s t-test was performed on the absolute errors on the test set with Holm’s correction and significant value α = 0.05. Results are presented in Table 4.
Table 4. p-values of paired Student’s t-test.
Based on Table 4, it can be concluded that the proposed algorithm is statistically superior to the others.
In this article we also explored the behavior of the dynamically adjusted weights w1 and w2 over time as well as the look-back parameters that influence them. Such a parameter was the width of the retrospective window h over which errors are assessed, and which are subsequently used to update the weights; h corresponds to a number of the look-back observations (hours) for current predicted timestamp (Figure 8 and Figure 9).
Figure 8. The history of weights and forecasting errors for the global and cluster models for h = 1.
Figure 9. The history of weights and forecasting errors for the global and cluster models for h = 24.
Based on Figure 8 and Figure 9 and our observations, it can be concluded that as the window width increases, there is a slight smoothing of the model weights.

2.2.4. Complexity Analysis

Time and memory complexity of a cluster ensemble depends on the complexity of its constituent base algorithms. For example, it is linear for k-means, whereas for hierarchical clustering, the computational complexity is cubic with respect to sample size and quadratic in terms of memory.
For the proposed ensemble clustering based on the Wasserstein distance, it is necessary to consider all pairs of clusters; however, their number is typically much smaller than the original number of observations. The complexity scales linearly with sample size and quadratically with the dimensionality of feature space (since calculations involve covariance matrices).
The runtime of the proposed algorithms on a dual-core Intel Core i7 processor with a clock frequency of 2.6 GHz and 8 GB RAM was less than 3 min for building clustering ensemble, near 4 min for learning ensemble model, and 0.11 s for forecasting at each time step. This makes it possible to use the algorithms in online mode.

2.2.5. Consumption Scenarios

The algorithm we developed makes it possible to segment historical smart home electricity consumption data [30] into clusters (e.g., “weekdays with high consumption,” “weekends,” and “vacation”), enabling us to understand electricity consumption patterns, identify user behavior anomalies, and optimize tariff plans. This data, transmitted to the advising system, Energy Usage Recommender, and the technical and biological objects of the smart home (Figure 1), for example, using integrated information agents or models, improves transparency and thus facilitates the involvement of consumer participants in smart home management. For example, by creating consumption scenarios based on forecast results, potential costs can be estimated.
Let us look at a simple example of the impact of changing a user-created scenario defining two consumption zones per day for one smart home device, which consumes 20% of the total smart home energy consumption.
Previous scenario 1 (monitored for a month): the device is on from 8:00 PM to 11:00 AM and off from 11:00 AM to 8:00 PM. New scenario 2 (monitored for a month): the device is on from 11:00 PM to 7:00 AM and off from 7:00 AM to 11:00 PM.
The same smart home energy consumption data was used to simulate the scenarios. First, data is generated that implements the first scenario, i.e., the D1(t) series, corresponding to device operation according to scenario 1, is added to the original series. In D1(t), the series values are defined as D1(t) = 0 during the time when the device is not operating (from 11:00 AM to 8:00 PM), and D1(t) = 0.2 × Pavg, where Pavg is the average consumption level.
Scenario D1(t) is added for the month; a forecast is created using the proposed model.
The second scenario D2(t) is defined similarly, taking into account the change in the on-time from 11:00 PM to 7:00 AM. D1(t) is then added instead of D2(t) for the following month, and a forecast is also created.
The scenario change date is set to 1 October 2010. Figure 10 shows graphs of the original time series and the simulated data.
Figure 10. Original time series and simulated data.
For clarity, Figure 11 shows a graph only for the simulated dataset used to train the model. The model was trained over a four-year period, and its update interval was one week.
Figure 11. Artificially generated series with scenario switching.
Figure 12 shows a graph of the forecast error for the control sections of the dataset across the scenarios under consideration. It is clear that the error begins to increase from the moment of switching, as the old model expects consumption to increase (from 7 to 11 and from 20 to 23), which does not occur. After some time, the error begins to decrease and then returns to its original amplitude, indicating that the model has adapted to the new scenario.
Figure 12. Forecast error in control for switched scenarios.
Feature importance was also assessed using the Gradient Boosting method. The most important features were day shift back, hour shift back, hour number, weekend indicator, and temperature. The features are sorted in descending order of importance.
These results demonstrate the importance of considering consumption scenarios (wishes/demands) established by smart home participants when forecasting. These scenarios can be formed based on both rational and irrational motives. Irrational motives are linked to the existing habits of home occupants, their own perceptions of comfort, personal events, and so on. Rational motives related to electricity consumption can be determined by various objectives. One important objective is to reduce electricity costs. Given the policies of electricity supply companies, which determine consumption tariffs and strive to avoid peak loads, consumers can adjust consumption scenarios. At the same time, information about consumption in individual households is important for the supplier. This information exchange is a key capability of the smart home, enabling not only the implementation of the DSM concept but also the consideration of the electricity supplier as a participant in the symbiotic smart home system.
Figure 1 presents external factors as sources of initial data that is important for the advising system. This information may be related to weather conditions and other factors beyond the consumer’s control. However, the electricity supplier’s policy takes into account consumption forecasts, including those of households. Therefore, Figure 1 could be supplemented with both feedback and output information from the advising system, thereby enabling interaction.
One important task is setting tariffs based on consumption forecasts. It should be noted that smart home devices can either follow preset scenarios or, if they are not available, independently decide to shift consumption to lower-rate zones.

3. Developing Recommendations for Utilizing the Potential of Various Consumption Tariffs Based on Consumption Data

The feedback mechanism in the symbiotic system is implemented through the supplier setting consumption rates based on an analysis of consumption data from households in the serviced region, including smart devices that can independently select zones with the lowest tariffs for connection, as long as this does not conflict with the scenarios set by users. This takes into account that in a symbiotic system, users, with data on current and projected smart home consumption, can also approach the selection of scenarios more rationally, taking into account the cost of electricity in different periods and shifting their own consumption and that of their devices to zones with lower electricity costs.
The increase in the share of smart devices leads to an excessive concentration of consumption of smart devices during the period of the cheaper night tariff, so electricity consumers must interact with each other in order to redistribute consumption between the cheapest and next most expensive tariffs in order to prevent such a situation.

3.1. Materials and Methods

The results of analyzing and forecasting the volume and structure of resource consumption in a smart home, primarily electricity, provide information necessary both for energy consumers to assess economic costs, potential reductions, and appropriate recommendations, and for energy suppliers in a given region to prevent peak demand and develop tariff policies. Smart home functionality that ensures the transparency of these results and the recommendations derived from them for consumers enables the implementation of DSM, DER, and other concepts aimed at promoting sustainable consumption.
Dynamic pricing is a concept whose implementation depends significantly on the synergy between the electricity supplier and consumer.
The introduction identified two types of devices that are components of a smart home: smart devices and non-AI equipment. Devices of the first type can regulate their connection times, including selecting connection times with lower rates. Non-AI devices have their connection times determined by the user, including connection times based on recommendations from the smart home system.
The smart home consumption system is also affected by energy storage elements, used to connect household appliances during higher tariff periods, which charge during the lowest tariff period [37].
Developing recommendations for an individual household involves not only analyzing and forecasting consumption in its network, but also taking into account the consumption of all households in a specific area of a specific supplier.
Let us examine the impact of analyzing consumption data for households in the service region, including smart devices capable of independently selecting zones with the lowest tariff for connection, on the supplier’s decision to change tariffs if this does not conflict with the scenarios defined by users. We will also consider that in a symbiotic system, users can also approach the selection of scenarios more rationally, taking into account the cost of electricity in different periods and shifting their own consumption and the consumption of their devices to zones with lower electricity costs. In this case, the consumer has access to data on the current and projected consumption of the smart home.
Let n be the number of households in a given region. For the r-th household, (r = 1,…, n) is the share of energy consumption by smart devices, Er is the total electricity consumption of the r-th household, and E ¯ r is the volume of electricity accumulated by the internal energy sources of the r-th household.
Then, the share of energy consumption by smart devices in the r-th household is determined as follows:
s r =   s ~ r +   E ¯ r E r , r = 1 , … , n .
A smart home system, as noted in the introduction, implements a symbiotic system model, the modeling of which requires taking into account the dynamics of changes in its elements over time. Such a model for the k-th state of the system, in accordance with the k-th established tariff plan, can be represented as follows:
xk+1= Ak+1 xk + vk, k ≥ 0,
where Ak+1 is the system matrix; vk is the Gaussian noise of the system states, which, in this problem, defines changes in electricity consumption associated with the forecast of changes in energy consumption described in Section 1, as well as with weather conditions, changes in daylight hours, weekdays and weekends, etc.; and xk is the social state vector, which, in the problem under consideration, defines the electricity consumption of each of the n households at each hour of the day and is determined as:
x k = x 1 , 1 k x 1 , 2 k … x 1 , 24 k … x n , 1 k x n , 2 k … x n , 24 k
Then, the daily electricity consumption in the r-th household (r = 1,…, n) is calculated using the formula
E r k = ∑ j = 1 24 x r , j k ,
and the total daily electricity consumption is calculated using the formula
E k = ∑ j = 1 24 E r k .

3.1.1. Developing Recommendations for Using a Three-Rate Tariff

Let us consider the problem of demonstrating to consumers the need to switch between tariff plans under static and dynamic supplier pricing.
The primary goal of introducing new tariff plans is to reduce peak load
E peak k = max j ∑ r = 1 n x r , j k ,
and obtain a more uniform load shifting ratio, characterized by the following coefficient:
C uniform k = ∑ j = 1 24 E k 24 −   ∑ r = 1 n x r , j k / 24 .
This option is based on a number of limitations and assumptions, outlined below in points (a)–(c).
(a) The following possible models for establishing a three-rate tariff are considered:
Model 1 involves using tariffs set by the electricity supplier with three rate types (the duration and value of each rate type are set) and the ability to configure smart devices to select connection times. Consumers can use this data to connect non-smart equipment and manage their own consumption.
Model 2 involves the electricity supplier’s response to household consumption analysis and forecasts. Based on continuous consumption monitoring, dynamic tariffs are set, adjusting the duration and amount of each rate type, providing consumers with new information for adjusting their consumption.
(b) In both three-rate billing models, tariffs are divided into off-peak (night), shoulder (mid-peak), and peak periods.
The shoulder rate equals the base flat-rate tariff in both the first and second models; for the second model, it remains unchanged across all iterations.
The off-peak rate is lower than the flat rate and also remains unchanged for all iterations of the second model.
The peak rate is higher than the flat rate. The night rate period is not divided into separate intervals and is defined as a single time block. The possibility of splitting both the peak and shoulder modes into two separate zones is considered; in practice, this can accommodate higher morning and evening electricity consumption in a specific region.
The peak and shoulder rate periods can be split into separate time intervals that do not follow one another continuously. In the simulation, electricity price adjustments are made only once per hour, exactly at the beginning of the hour. In our case, we will consider only the division of the peak rate into two separate time intervals.
Let T 1 k , T 2 k ,   T 3 k   be sets whose elements are the hour numbers of the day (from 1 to 24). T 1 k = T 1 , 1 k ∪   T 1 , 2 k is the set of hour numbers for the peak tariff (where the morning peak tariff hours and evening peak tariff hours are set). Accordingly, their durations (number of hours of operation) are defined as:
t 1 k = | T 1 k | ,       t 1 , 1 k = | T 1 , 1 k | ,     t 1 , 2 k =   | T 1 , 2 k | ,
T 2 k —is the set of hour numbers for the off-peak (night) tariff; its duration is t 2 k = | T 2 k | .
T 3 k —is the set of hour numbers for the shoulder (mid-peak) tariff; its duration is t 3 k = | T 3 k | .
S 1 , 1 k ,   S 1 , 2 k ,     S 2 ,   S 3 —represent the rates for the morning peak, evening peak, off-peak, and shoulder tariffs, respectively, S0 is the rate of the current flat-rate tariff.
(c) A simplified case is considered where the information on tariff changes will be used solely to generate recommendations for connecting smart appliances.
Transitioning from a flat-rate tariff to a more complex three-rate system is viable if, under «ideal» uniform consumption, electricity costs under the three-tier tariff are lower than those under the flat-rate tariff:
t 1 S 1 + t 2 S 2 + t 3 S 3 24 S 0 = c 1 t 1 + c 2 t 2 + t 3 24 = l < 1 .
where c1 = S1/S3, c2 = S2/S3 are coefficients characterizing the tariff ratios.
Parameter l will be used later to set the variable portion of the peak tariff rate in the flexible model.

3.1.2. Modeling of Consumer Behavior

(a) Model 1. Let sr be the share of energy consumption by smart devices in the r-th household (r = 1,…, n), and assume this consumption is initially distributed uniformly. Then, the share of energy consumption by smart devices across all households is
s = 1 E 0 ∑ r = 1 n s r E r 0 .
Assuming that, after the implementation of the three-rate tariff system, all smart devices are turned on only during the off-peak (night) period and, moreover, are distributed uniformly (i.e., the volume of energy consumption by smart devices is identical for each hour of the off-peak tariff), matrix A1 in formula (6) takes a block-diagonal form:
A 1 = A 1 1 … 0 ⋮ ⋱ ⋮ 0 … A n 1
where A r   1 ∈ R 24 × 24 , r = 1,…, n, and the elements of any A r   1 satisfy the following condition:
a ij 1 = δ ij − s r 24 ,           i ∈ T 1 ∪ T 3 ,   j = 1 , … , 24 ,
a ij 1 = δ ij + s r 24   t 1 + t 3 t 2 ,             i ∈ T 2 ,   j = 1 , … , 24 ,
where δij is the Kronecker delta.
Then, the total energy consumption during the peak and shoulder tariff periods is defined by the following formula:
∑ j ∈ T 1 ∪ T 3 ∑ i = 1 n x i , j 1 = 1 − s ∑ j ∈ T 1 ∪ T 3 ∑ i = 1 n x i , j 0 ,
and during the off-peak tariff period by the formula:
∑ j ∈ T 2 ∑ i = 1 n x i , j 1 = ∑ j ∈ T 2 ∑ i = 1 n x i , j 0 + E 2 1 + ,
where E 2 1 +   is the additional off-peak (night) energy consumption:
E 2 1 + = s t 2 ∑ j ∈ T 1 ∪ T 3 ∑ i = 1 n x i , j 0 .
(b) Model 2. Paper [38] shows that when constructing a flexible feedback-based tariff billing model, it is expedient at any iteration to set the off-peak (night) rate using the same discount coefficient c2 relative to the base flat-rate tariff, and for peak energy consumption periods, only one free parameter should be used: the coefficient c 1 k (where k is the iteration number of the tariff-setting process, or, in other words, the sequence number of the system state in formula (6)), which is applied to each of the peak tariff time intervals with a weight proportional to the average electricity consumption in that interval.
Let us consider a flexible scheme for scheduling tariff periods. Since the electricity supplier is interested in ensuring uniform energy consumption, the off-peak (low) rate will be assigned to the time period when consumption at the previous step was lower than the average consumption at that step, S av k , by at least h percent. The shoulder (mid-peak) rate will be applied when consumption at the previous step deviated from the average by less than h percent, and the peak rate will be set when it was higher than the average by at least h percent. Parameter h is determined experimentally—the value of h is chosen as the maximum value for which no sharp consumption spikes occur under the given specific electricity consumption structure.
The actions of the electricity supplier are identical at all steps, starting from the first one. At the k-th iteration step, the tariff periods are established based on the considerations presented above.
When setting tariff rates, it is also expedient to account for the requirement that the total consumer costs do not increase.
In the base three-rate billing model, S3 = S0, S1 = c1S0 (c1 > 1), S2 = c2S0 (c2 < 1). Similar to the base scheme, let us consider the following tariff setting option:
  • The off-peak (night) rate at any iteration is set using the same reduction coefficient c2 relative to the base flat-rate tariff;
  • The shoulder (mid-peak) rate equals the flat-rate tariff;
  • The peak rate uses such mark-up coefficients c 1 k and weights w 1 k ,     w 2 k , that, based on the durations of all three tariff periods, uniform electricity consumption at the previous volume ensures that the constraint ratio is satisfied at each iteration:
    w 1 k c 1 k t 1 , 1 k + w 2 k c 1 k t 1 , 2 k + c 2 t 2 k + t 3 k 24 = l < 1 ,
where
c m k = R m k R 1 k + R 2 k , R m k = 1 t m k ∑ j ∈ T m k ∑ i = 1 n x i , j k ,       m = 1 , 2 .
Then
c 1 k = 24 l − c 2 t 2 k − t 3 k w 1 k t 1 , 1 k + w 2 k t 1 , 2 k .
Thus, the new tariff at the k-th iteration is set.
Now, let us describe the actions of energy consumers at the k-th (k ≥ 2) iteration. Since the establishment of a flexible tariff for the state k = 1 does not differ from the establishment of the base tariff, they are described by matrix (15) with the same elements that were used in the transition to the base tariff.
Let, as before, the share of energy consumption by smart devices in the r-th household (r = 1,…, n), be sr, and assume that, initially, this consumption is distributed evenly; the share of energy consumption by shiftable devices in all households is s.
Provided that after the establishment of the three-rate tariffs all smart devices are turned on only during the night tariff period, and evenly so, the matrices Ak in formula (6) will take a block-diagonal form:
A k = A 1 k … 0 ⋮ ⋱ ⋮ 0 … A n k ,
where A r   k ∈ R 24 × 24 , r = 1,…, n. Since matrix A is block-diagonal and thus highly sparse, the computational cost is of the order O(n).
However, the block-diagonal form of these matrices does not imply that the dynamics of electricity consumption for each household specified by system (6) can be considered independently of the others, since the peak, shoulder, and night tariff hours are determined by the energy consumption of the entire population of households. Furthermore, the formulas for the elements of these submatrices will be more complex than for the elements of the submatrices A r   1 , since after the first iteration, the consumption of smart devices is distributed unevenly, unlike in the initial state, and the specific features of the Ak−1, matrix, which led to the emergence of the xk vector, must be taken into account. Thus:
a ij 1 = δ ij ,             i ∈ T 1 k ∪ T 3 k ∧ i ∈ T 1 k − 1 ∪ T 3 k − 1 ,   j = 1 , … , 24 ,
a ij 1 = δ ij − s r 24 t 1 k − 1 + t 3 k − 1 t 2 k − 1 ,           i ∈ T 1 k ∪ T 3 k ∧ i ∈ T 2 k − 1 ,     j = 1 , … , 24 ,
a ij 1 = δ ij + s r 24 t 1 k + t 3 k t 2 k − t 1 k − 1 + t 3 k − 1 t 2 k − 1 ,           i ∈ T 2 k ∧ i ∈ T 2 k − 1 ,   j = 1 , … , 24 ,
a ij 1 = δ ij + s r 24 t 1 k + t 3 k t 2 k ,           i ∈ T 2 k ∧ i ∈ T 1 k − 1 ∪ T 3 k − 1 ,   j = 1 , … , 24 .
Similar to Model 1, energy consumption during the peak and shoulder tariff periods is determined by the following formula:
∑ j ∈ T 1 k ∪ T 3 k   ∑ i = 1 n x i , j 1 = 1 − s ∑ j ∈ T 1 k ∪ T 3 k   ∑ i = 1 n x i , j 0 ,
and during the night tariff period by the formula:
∑ j ∈ T 2 k ∑ i = 1 n x i , j 1 = ∑ j ∈ T 2 k ∑ i = 1 n x i , j 0 + E 2 k + ,
where E 2 k + is the additional nighttime energy consumption:
E 2 k + = s t 2 k ∑ j ∈ T 1 k ∪ T 3 k   ∑ i = 1 n x i , j 0 .
The cycle then repeats itself: the supplier changes tariffs again, and consumers respond according to the principle described above.
The increased share of smart devices leads to excessive concentration of smart device consumption during the cheaper night tariff period. In this situation, to distribute electricity consumption more evenly, the supplier would be wise to return to a single-rate tariff.
The critical situation we described is possible if smart device consumption is not regulated by scenarios that dictate consumption during other periods. It can be resolved through interaction between electricity consumers and incentives for rational behavior. Consumption will then be distributed between the lowest-priced night tariff and the more expensive shoulder tariff.
If the analysis of current consumption or the consumption forecast (Section 1) shows that electricity consumption by smart devices during the night tariff period is above a certain threshold value s*, then for s > s* the interaction of all consumption participants among all consumers will aim to distribute consumption across the zones covered by other tariffs.
Let the consumption share transferred to the shoulder tariff zones for the r-th household be equal to
s r ∗ = s r s ∗ s ,
Let s r k + be the portion of electricity consumption by smart devices of the r-th household during the shoulder tariff period at the k-th iteration, which will transfer from the night tariff period. The remaining consumption will stay within the night tariff zone.
The balance of the electricity consumption shift by smart devices, taking into account the limitations specified above, is determined by the relation:
s r ∗ t 1 k + t 3 k 24 = s r t 1 k 24 + s r k + t 3 k 24 ,
where
s r k + = s r ∗ − s r − s r ∗   t 1 k t 3 k .
In a situation where s r k + < 0, there will be no transfer of energy consumption by smart devices from the shoulder tariff period, and even during the peak tariff period, a portion of their consumption will remain. However, in real tariffs t 3 k > t 1 k ; therefore, for s r ≤ 2 s r ∗ (it is precisely this situation, where the share of smart devices exceeds the threshold by no more than 2 times, that we will consider below), s r k +   ≥ 0 .
Thus, in Formula (15), the following relations hold for the elements of any submatrix
a ij 1 = δ ij − s r 24 ,           i ∈ T 1 ,   j = 1 , … , 24 ,
a ij 1 = δ ij + s r t 1 + s r 1 + t 3 24 t 2 ,           i ∈ T 2 ,   j = 1 , … , 24 ,
a ij 1 = δ ij − s r 1 + 24 ,           i ∈ T 3 ,   j = 1 , … , 24 ,
and for the elements of any submatrix A r   k (k ≥ 2):
a ij k = δ ij ,           i ∈ T 1 k ∧ i ∈ T 1 k − 1 ,           j = 1 , … , 24 ,
a ij k = δ ij − s r t 1 k − 1 + s r k − 1 + t 3 k 24 t 2 k − 1 ,           i ∈ T 1 k ∧ i ∈ T 2 k − 1 ,     j = 1 , … , 24 ,
a ij k = δ ij − 1 − s r k − 1 + 24 ,           i ∈ T 1 k ∧ i ∈ T 3 k − 1 ,   j = 1 , … , 24 ,
a ij k = δ ij + s r t 1 k + s r k + t 3 k 24 t 2 k + s r 24 ,           i ∈ T 2 k ∧ i ∈ T 1 k − 1 ,   j = 1 , … , 24 ,
a ij k = δ ij + s r t 1 k + s r k + t 3 k 24 t 2 k + s r t 1 k − 1 + s r k − 1 + t 3 k 24 t 2 k − 1 ,           i ∈ T 2 k ∧ i ∈ T 2 k − 1 ,           j = 1 , … , 24 ,
a ij k = δ ij + s r t 1 k + s r k + t 3 k 24 t 2 k + s r k − 1 + 24 ,           i ∈ T 2 k ∧ i ∈ T 3 k − 1 ,           j = 1 , … , 24 ,
a ij k = δ ij − s r k + 24 + s r 24 ,           i ∈ T 3 k ∧ i ∈ T 1 k − 1 ,           j = 1 , … , 24 ,
a ij k = δ ij − s r k + 24 − s r t 1 k − 1 + s r k − 1 + t 3 k 24 t 2 k − 1 ,           i ∈ T 3 k ∧ i ∈ T 2 k − 1 ,           j = 1 , … , 24 ,
a ij k = δ ij − s r k + 24 + s r k − 1 + 24 ,           i ∈ T 3 k ∧ i ∈ T 3 k − 1 ,           j = 1 , … , 24 .
As before, energy consumption during the peak tariff period is determined by the following formula:
∑ j ∈ T 1 k   ∑ i = 1 n x i , j k = 1 − s ∑ j ∈ T 1 k   ∑ i = 1 n x i , j 0 ,
Assuming that the sr values are equal for all households, meaning that
s r = s ,           s k + = s ∗ − s − s ∗ t 1 k t 3 k ,           r = 1 , … , n ,  
the formula for energy consumption during the shoulder tariff period, depending on each of the s r k + values, is written similarly
∑ j ∈ T 3 k   ∑ i = 1 n x i , j k = 1 − s k + ∑ j ∈ T 3 k   ∑ i = 1 n x i , j 0 ,
Then, energy consumption during the night tariff period is determined by the formula:
∑ j ∈ T 2 k   ∑ i = 1 n x i , j k = ∑ j ∈ T 2 k   ∑ i = 1 n x i , j 0 + E 2 k + ,
where E 2 k + is the additional nighttime energy consumption:
E 2 k + = s t 1 k 24 ∑ j ∈ T 1 k   ∑ i = 1 n x i , j 0 + s k + t 3 k 24 ∑ j ∈ T 3 k   ∑ i = 1 n x i , j 0 .

3.2. Results

To simulate the approaches described here to setting tariffs and recommendations for their use by smart equipment or smart agents/digital twins of participants in the symbiotic smart home system, the following data on consumption and tariff plans were used: rate ratios S1/S3 = 1.2, S2/S3 = 0.7; time intervals for the peak tariff are 7:00–10:00, 17:00–21:00; for the shoulder tariff 10:00–17:00, 21:00–23:00; and for the night tariff 23:00–7:00.
The initial data on hourly electricity consumption are presented in Table 5 [38]. The total daily consumption is 23,035 thousand kWh. The results of evaluating the smart home system’s behavior with varying consumption by smart equipment are shown in Figure 13 and Figure 14.
Table 5. Initial data on daily electricity consumption.
Figure 13. Daily electricity consumption, flexible model.
Figure 14. Daily electricity consumption, flexible model with cooperation.
The experimental studies were conducted as follows. First, the values of the parameter h, which determines the limits of consumption deviation from the average value, were varied when setting the time intervals for the shoulder, night, and peak tariffs. It was found that if this deviation exceeds 10%, then even with a very small share of consumption by smart equipment, sharp (albeit short-lived—lasting 1–2 h) consumption spikes are observed, which, of course, is highly undesirable. Therefore, further calculations were conducted with h = 10%.
Next, the share of consumption by smart equipment was varied incrementally. The calculation results for the model with dynamic tariffs at s = 0.18, 0.20, are shown in Figure 13.
Experiments have shown that for small values of the share of consumption by smart equipment, s, the fluctuations in hourly consumption reach a minimum after a relatively small number of iterations, after which they begin to increase. The iteration corresponding to this minimum is considered the most acceptable electricity consumption for a given value of s from both the supplier’s and smart actors’ perspectives, and therefore the tariff for this iteration is declared stationary.
This pattern persists until the share of consumption by smart equipment, s, reaches a critical value of approximately 0.20. If this value is exceeded in adjacent iterations, an inversion of the peak and off-peak tariff periods occurs, with a massive shift of energy consumption by smart equipment into the low tariff period and, most worryingly, consumption spikes. In such a situation, to ensure a more or less even distribution of electricity consumption, it is advisable for the supplier to return to a single-rate tariff.
Thus, cooperation among smart actors, where each actor will maintain a portion of their energy consumption during the shoulder tariff period, begins at s > s* = 0.18.
The results of calculations using the flexible model using cooperation for s = 0.25 and 0.30 are shown in Figure 14. The figure shows that, even here, starting at a certain value of s, unacceptable spikes in consumption begin.
The primary goal of introducing new tariff plans is to reduce peak load and achieve a more uniform load shifting ratio (see formulas (10) and (11)). This goal was achieved: while the initial data yielded E peak 0 = 1111 and C uniform 0 = 115.9, calculations using the flexible model without cooperation yielded E peak k = 1014 and C uniform k = 42.6 at s = 0.18 (here and below k denotes the final iteration number), E peak k = 1373 and C uniform k = 57.9 at s = 0.20. Consequently, the increase in peak load at s = 0.20 necessitated the use of the flexible model with cooperation; calculations using this model yielded E peak k = 990 and C uniform k = 14.9 at s = 0.25; E peak k = 1009 and C uniform k = 18.0 at s = 0.30.

4. Discussion

Modern households are typically human–machine systems. The development of devices that monitor human actions, the state of equipment and residential premises, along with the emergence of smart equipment, has led to the need to understand and account for the interaction of all participants in these processes. Modern concepts of electricity consumption also imply active interaction between consumers and energy suppliers.
The concept of human-centered symbiotic systems is well suited to situations where it is necessary to consider and assess the impact of rational and irrational motives that guide its participants when setting consumption scenarios, their volume and structure, purchasing new equipment or services that involve electricity consumption, and choosing tariff plans.
The full implementation of this concept is complex and requires the use of comprehensive digital modeling—most ideally, the creation of a digital twin of the smart home, as well as digital twins of its participants.
The small aspect of interaction in a smart home system related to electricity consumption discussed in this article—namely, the impact on consumption of the consumption period that smart devices can independently manage based on tariffs set by the supplier—well illustrates the potential for improving this process through interaction between participants and the mutual benefits thereof. The choice made by devices can be limited by scenarios established by the people living in the home. In turn, smart equipment can also analyze these scenarios and, more generally, the behavior of the person or device using its services, and determine its ability to choose more cost-effective tariffs.
Having a consumption forecast for both the overall and individual components of a smart home, taking into account the equipment’s ability to independently analyze and regulate, allows people to make informed recommendations and helps consumers develop a conscious, rational attitude toward consumption, as suggested, for example, by the DSM concept.
The forecasting and recommendation generation processes identified for this study are crucial for implementing a symbiotic smart home system, as they provide the informational basis for shaping the preferences of smart home system participants in setting consumption scenarios. These processes are also important for the supplier, if they rely on a detailed analysis of consumption patterns in their region.
To implement forecasting functionality in the system shown in Figure 1, an approach to identifying electricity consumption patterns was developed based on time series clustering methods. The developed ensemble clustering algorithm in a nested space based on the Wasserstein metric demonstrated its effectiveness on real data, identifying stable and interpretable consumption patterns that can be used for energy optimization and tariff planning. Consumer behavior classification, in particular, allows for the selection of the most optimal options for using additional capacity (wind turbines, energy storage devices, etc.) to minimize costs. An approach to the problem of symbiotic forecasting of time series based on the global forecast and local features of the identified energy consumption patterns is also proposed, which has also proven its effectiveness.
The approach that was developed has several limitations. The need for a feature engineering stage can lead to the use of low-informative indicators, which can degrade forecast quality. At the stage of constructing the cluster ensemble, the computational complexity of the algorithm increases, as it must find multiple clustering options for the datasets. Theoretical guarantees of the effectiveness of the approach are beyond the scope of this article, and experimental confirmation is provided using the energy consumption of just one smart home.
These limitations can be mitigated by employing deep learning methods with automatic generation of nested feature spaces and parallelizing ensemble clustering algorithms. The effectiveness of this approach can be improved by introducing and exploring the properties of probabilistic models for symbiotic forecasting, as well as by using additional datasets.

5. Conclusions

Developing recommendations for consumers in a symbiotic smart home system is no longer a one-way process.
Smart home participants must align their preferences and scenarios based on external information, the most important of which is the existing and projected tariff plan of the electricity supplier, which is based on consumption analytics in the region, forecasts of electricity consumption by the smart home and its components, existing consumption scenarios for smart home elements, and possible (acceptable) changes to optimize consumption.
The electricity consumption forecasting models and flexible closed-loop tariff metering models discussed in this article allow smart home owners to rationally plan their electricity consumption by scheduling smart devices to consume electricity during the lowest tariff period.
The results of a study of smart devices that can independently shift their consumption to a lower tariff zone showed that their consumption should not exceed a certain critical value. Otherwise, a critical situation could arise whereby excessive consumption by smart devices is concentrated during the lowest tariff period. To prevent this, cooperation among smart devices is advisable, with each consuming a portion of energy during the shoulder tariff period as well.
The research we conducted demonstrated the importance of using the concept of human-centered symbiotic systems to improve and develop smart home control systems. Important tasks include developing methods and tools for participant interaction and joint decision-making, as well as integrating external participants that influence consumption into the system.

Author Contributions

Conceptualization, M.K.; methodology, V.B. (Vladimir Barakhnin) and V.B. (Vladimir Berikov); software, K.A. and D.K.; validation, M.K.; formal analysis, V.B. (Vladimir Barakhnin) and V.B. (Vladimir Berikov); investigation, V.B. (Vladimir Barakhnin) and V.B. (Vladimir Berikov); resources, M.K.; data curation, M.K.; writing—original draft preparation, V.B. (Vladimir Barakhnin) and V.B. (Vladimir Berikov); writing—review and editing, M.K.; visualization, K.A. and D.K.; supervision, M.K.; project administration, M.K.; funding acquisition, M.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Committee of Science under the Ministry of Science and Higher Education of the Republic of Kazakhstan (grant AP23490529).

Data Availability Statement

The data supporting the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

GenAI was not used in the writing of this article.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AIArtificial intelligence
HCSSHuman-centered symbiotic systems
DSMDemand side management
RTPReal-time pricing
TOUTime-of-use
DERDistributed energy resources
HVACHeating, ventilation, and air conditioning
MAEMean absolute error
MAPEMean absolute percentage error
BIRCHBalanced iterative reducing and clustering using hierarchies
LSTMLong short-term memory

References

  1. Tόth, A.; Nagy, L.; Kennedy, R.; Bohuš, B.; Abonyi, J.; Ruppert, T. The human-centric Industry 5.0 collaboration architecture. MethodsX 2023, 11, 102260. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Licklider, J.C.R. Man-Computer Symbiosis. IRE Trans. Hum. Factors Electron. 1960, HFE-1, 4–11. [Google Scholar] [CrossRef] [Scilit]
  3. Scriabin, M.; Kotak, D.B.; Whale, K.G. Symbiotic systems: Exploiting human creativity. Eur. J. Oper. Res. 1995, 84, 227–234. [Google Scholar] [CrossRef] [Scilit]
  4. Mitchell, D.; Blanche, J.; Zaki, O.; Roe, J.; Kong, L.; Harper, S.; Robu, V.; Lim, T.; Flynn, D. Symbiotic system of systems design for safe and resilient autonomous robotics in offshore wind farms. IEEE Access 2021, 9, 141421–141452. [Google Scholar] [CrossRef] [Scilit]
  5. Fiorini, R.A. From autonomous systems to symbiotic system science. In Proceedings of the 2019 IEEE 18th International Conference on Cognitive Informatics & Cognitive Computing (ICCI*CC), Milan, Italy, 23–25 July 2019; pp. 254–260. [Google Scholar] [CrossRef] [Scilit]
  6. Fiorini, R.A. Human-centered symbiotic system science. In Proceedings of the 2019 IEEE 18th International Conference on Cognitive Informatics & Cognitive Computing (ICCI*CC), Milan, Italy, 23–25 July 2019; pp. 286–292. [Google Scholar] [CrossRef] [Scilit]
  7. Calvano, M.; Curci, A.; Desolda; Esposito, G.; Lanzilotti, A.; Piccinno, R. Building symbiotic artificial intelligence: Reviewing the ai act for a human-centred, principle-based framework. Minds Mach. 2026, 36, 1–26. [Google Scholar] [CrossRef] [Scilit]
  8. Schaumann, D.; Vande Moere, A.; Kahlon, Y.; Nguyen, A.; Liu, Y.; Mohammed, U.; Chen, S.; Fischer, T.; Herr, C.M. Buildings as symbiotic systems: Cybernetic adaptation between technical and biological systems in architecture. In Proceedings of the CAAD Futures 2025–Catalytic Interfaces: Conference Proceedings, Hong Kong, 2–4 July 2025; Volume I, pp. 81–95. [Google Scholar] [CrossRef]
  9. Williams, B.; Bishop, D.; Gallardo, P.; Chase, J.G. Side management in industrial, commercial, and residential sectors: A review of constraints and considerations. Energies 2023, 16, 5155. [Google Scholar] [CrossRef] [Scilit]
  10. Bakare, M.S.; Abdulkarim, A.; Zeeshan, M.; Shuaibu, A.N. A comprehensive overview on demand side energy management towards smart grids: Challenges, solutions, and future direction. Energy Inf. 2023, 4, 1–59. [Google Scholar] [CrossRef] [Scilit]
  11. Koch, O.; Möller, C.; Zdrallek, M.; Anders, T. Real-time pricing tariffs for flexible energy storage systems considering the market and grid conditions. In Proceedings of the 27th International Conference on Electricity Distribution (CIRED 2023), Rome, Italy, 12–15 June 2023; pp. 1075–1079. [Google Scholar] [CrossRef] [Scilit]
  12. Yunusov, T.; Torriti, J. Distributional effects of Time of Use tariffs based on electricity demand and time use. Energy Policy 2021, 156, 112412. [Google Scholar] [CrossRef] [Scilit]
  13. Real-Time Pricing (RTP). Available online: https://www.carboncollective.co/sustainable-investing/real-time-pricing-rtp (accessed on 26 July 2026).
  14. A Complete Guide to Distributed Energy Resources (DERs) and Their Role in a Sustainable Future. Available online: https://enode.com/blog/guide/distributed-energy-resources (accessed on 26 July 2026).
  15. González, D.; García, J. Opportunities and challenges of mainstreaming distributed energy resources towards the transition to more efficient and resilient energy markets. Renew. Sustain. Energy Rev. 2022, 157, 112018. [Google Scholar] [CrossRef] [Scilit]
  16. A Complete Guide to Distributed Energy Resources (DERs). Available online: https://www.dynamicratings.com/solutions/smart-infrastructure-solutions/distributed-energy-resources (accessed on 26 July 2026).
  17. Li, M.; Gu, W.; Chen, W.; He, Y.; Wu, Y.; Zhang, Y. Smart home: Architecture, technologies and systems. Procedia Comput. Sci. 2018, 131, 393–400. [Google Scholar] [CrossRef] [Scilit]
  18. Bielecki, S.; Skoczkowski, T.; Wołowicz, M. Microgrids as a tool for energy self-sufficiency. Sensors 2025, 25, 6707. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  19. Al Sayed, K.; Abhinandana, B.; Sadeghian Broujeny, R.; Beddiar, K. Reinforcement learning for HVAC control in intelligent buildings: A technical and conceptual review. J. Build. Eng. 2024, 95, 110085. [Google Scholar] [CrossRef] [Scilit]
  20. Dawood, S.; Hatami, A.; Homod, R. HVAC system modeling and control methods: A review and case study. J. Energy Manag. Technol. 2022, 6, 217–231. [Google Scholar] [CrossRef]
  21. Li, H.; Xu, J.; Zhao, Q.; Wang, S. Economic model predictive control in buildings based on piecewise linear approximation of predicted mean vote index. IEEE Trans. Autom. Sci. Eng. 2024, 21, 3384–3395. [Google Scholar] [CrossRef] [Scilit]
  22. Biemann, M.; Gunkel, P.A.; Scheller, F.; Huang, L.; Liu, X. Data center HVAC control harnessing flexibility potential via real-time pricing cost optimization using reinforcement learning. IEEE Internet Things J. 2023, 10, 13876–13894. [Google Scholar] [CrossRef] [Scilit]
  23. Singh, D.; Psychoula, I.; Kropf, J.; Hanke, S.; Holzinger, A. Users’ perceptions and attitudes towards smart home technologies. In Smart Homes and Health Telematics, Designing a Better Future: Urban Assisted Living; Mokhtari, M., Abdulrazak, B., Aloulou, H., Eds.; Lecture Notes in Computer; Springer International Publishing: Cham, Switzerland, 2018; Volume 10898, pp. 203–214. [Google Scholar] [CrossRef] [Scilit]
  24. Maltseva, S.; Kornilov, V.; Barakhnin, V.; Gorbunov, A. Self-organization in network sociotechnical systems. Complexity 2022, 2022, 5714395. [Google Scholar] [CrossRef] [Scilit]
  25. Maltseva, S.; Golubtsov, P.; Barakhnin, V. Modelling network informational interactions in cyber-physical-social systems. Comput. Technol. 2026, 31, 5–22. (In Russian) [Google Scholar] [CrossRef] [Scilit]
  26. Paparrizos, J.; Yang, F.; Li, H. Bridging the gap: A decade review of time-series clustering methods. arXiv 2024. [Google Scholar] [CrossRef] [Scilit]
  27. Golalipour, K.; Akbari, E.; Hamidi, S.S.; Lee, M.; Enayatifar, R. From clustering to clustering ensemble selection: A review. Eng. Appl. Artif. Intell. 2021, 104, 104388. [Google Scholar] [CrossRef] [Scilit]
  28. Berikov, V.; Pestunov, I. Ensemble clustering based on weighted co-association matrices: Error bound and convergence properties. Pattern Recognit. 2017, 63, 427–436. [Google Scholar] [CrossRef] [Scilit]
  29. Vázquez, I.; Villar, J.R.; Sedano, J.; Simić, S.; de la Cal, E. An ensemble solution for multivariate time series clustering. Neurocomputing 2021, 457, 182–192. [Google Scholar] [CrossRef] [Scilit]
  30. Zhang, T.; Ramakrishnan, R.; Livny, M. BIRCH: An efficient data clustering method for very large databases. In Proceedings of the 1996 ACM SIGMOD International Conference on Management of Data (SIGMOD ’96), Montreal, QC, Canada, 4–6 June 1996; pp. 103–114. [Google Scholar] [CrossRef] [Scilit]
  31. Rousseeuw, P.J. Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. J. Comput. Appl. Math. 1987, 20, 53–65. [Google Scholar] [CrossRef] [Scilit]
  32. Home Energy Consumption Prediction Based on Smart Meter Data. Available online: https://github.com/snehapadgaonkar/Household-energy-consumption-prediction (accessed on 26 July 2026).
  33. SmartMeter Energy Consumption Data in London Households. Available online: https://data.london.gov.uk/dataset/smartmeter-energy-consumption-data-in-london-households-vqm0d (accessed on 26 September 2026).
  34. Taylor, S.J.; Letham, B. Forecasting at scale. Am. Stat. 2018, 72, 37–45. [Google Scholar] [CrossRef] [Scilit]
  35. Hochreiter, S.; Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  36. Schleich, J.; Klobasa, M. How much shift in demand? Findings from a field experiment in Germany. In Proceedings of the ECEEE 2013 Summer Study–Rethink, Renew, Restart, Saint-Raphaël, France, 2–7 June 2013; Volume 1, pp. 1919–1925. Available online: https://publica.fraunhofer.de/entities/publication/d0d2912b-06ff-4c6a-aca9-b04d2d44d696/fullmeta (accessed on 28 September 2026).
  37. Mimi, S.; Ben Maissa, Y.; Tamtaoui, A. Optimization Approaches for Demand-Side Management in the Smart Grid: A Systematic Mapping Study. Smart Cities 2023, 6, 1630–1662. [Google Scholar] [CrossRef] [Scilit]
  38. Barakhnin, V.; Maltseva, S.; Kalimoldaev, M.; Alekankin, K. Modelling of electricity consumption in a sociotechnical system using flexible tariffs. Comput. Technol. 2025, 30, 5–22. (In Russian) [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.