Method Article - (2024) Volume 12, Issue 3

Analyzing the Energy Consumption of Smart Home and Price Prediction
Milka Kutseva*
 
Department of Computer Systems and Technologies, Technical University of Sofia, Tzanko Dustabanov, Bulgaria
 
*Correspondence: Milka Kutseva, Department of Computer Systems and Technologies, Technical University of Sofia, Tzanko Dustabanov, Bulgaria, Email:

Received: Mar 05, 2024, Manuscript No. IJCSMA-24-133037; Editor assigned: Mar 08, 2024, Pre QC No. IJCSMA-24-133037 (PQ); Reviewed: Mar 13, 2024, QC No. IJCSMA-24-133037 (Q); Revised: Mar 15, 2024, Manuscript No. IJCSMA-24-133037 (R); Published: Mar 19, 2024

Abstract

This paper describes a system that is used to gather data from Smart Home sensors measuring energy consumption, analyze and predict future consumption by using machine learning algorithm for prediction. It focuses on the architecture of the system as well as the need for such system to exist in practice – why the consumption should be measured at all and how that measurement can be put to good use for achieving energy efficiency.

Keywords

Internet of things; Smart home; Machine learning; Consumption prediction

Introduction

The emergence of a new computing era known as cloud computing, or more simply the cloud, was made possibleby the advancement of technology and the incorporation of networks, storage, and processing power.

A technology paradigm known as "cloud computing" enables on-demand access to pooled computing resourcesover the internet. It is regarded as a role model for managing, storing, and analyzing data online. On-demandservices, network connectivity through the Internet as a medium, shared resources, which are resources that arepooled together to be used by multiple clients, and scalability, which maintains resource elasticity, are some aspectsof cloud computing. Three different delivery methods are used by cloud computing to offer various services,including:

Software as a Service (SaaS): This enables cloud customers to access apps (PA) from providers online.

Platform as a Service (PaaS): This enables customers to publish their apps on a platform made available by aCloud Service Provider (CPS).

Infrastructure as a Service (IaaS): This lets users rent, store, and process data inside of CPS's infrastructure [1].Modern energy system management is faced with a variety of difficulties as a result of the advent of renewableenergy sources and the quick change in load patterns. The gathering, processing, and archiving of a significantvolume of data for system parameters and the quick and precise transmission of control information are of utmostsignificance for the long-term operation of complex systems like electricity and the individual components withinthem. A smart electric power grid's smart meter installation location for a residential customer is shown in figure 1a residential building's smart meter is situated at the point where the building connects to the electric grid. Dataabout metered electrical energy use can be transmitted to a power utility's distant data center, which is the mainbenefit of utilizing smart meters in a smart grid.

Home Energy Management System (HEMS)

Numerous innovative use cases are possible with the automated gathering of customer electrical energy usage data and the Artificial Intelligence (AI) analysis of this data. A consumer-side monitoring system, like a building-level Home Energy Management System (HEMS), is different from the smart meter in figure 1 from the grid-level monitoring standpoint. In order to monitor household items like electrical home appliances in a home setting, such a HEMS can interface with monitoring devices such wirelessly networked plug-level power meters. A smart house is a new paradigm for a connected home environment. It is characterized as a dwelling designed with Artificial Intelligence of Things (AIoT) technologies to facilitate the provision of practical, user-centric services to its residents. As one such service applicable to appliance-level monitoring, this study analyzes time-series load modeling and forecasting for smart home automation, rather than addressing the building-level or grid-level monitoring perspective.

ijcsma-consumer

Figure 1: Smart meter installed for a residential consumer in a smart electric power grid.

In order to monitor electrical energy consumption at the building and grid levels, the smart meter in figure 1 which is situated at the building's electric grid connection entry point, can obtain circuit-level data. However, it is unable to separate this data into electrical energy consumption data at the appliance level. A standard HEMS uses plug-level power meters, or smart plugs, that are directly attached to electrical appliances to determine the electrical energy consumption of each relevant item in order to accomplish appliance-level monitoring. Installing and yearly maintenance expenses are included in the high investment burden of this load monitoring technique, which is an invasive load monitoring approach that necessitates the field deployment of these HEMS sensors [2].

Energy decomposition, which is a component of a (HEMS), is the process of converting electrical energy consumption data at the circuit level, or smart meter data, into electrical energy consumption data at the appliance level without the need for additional plug-level power meters. This reduces the (HEMS's) installation and yearly maintenance costs. A thorough analysis of current developments in energy decomposition may be found in [3, 4].

A number of practical user-centric use cases may be supported by smart meter data collected, for example, in residential settings and evaluated using energy decomposition based on signal processing and artificial intelligence techniques [5, 6]. Home automation is one of these use cases, which includes Activities of Daily Living (ADLs) identification for healthcare applications and anomaly detection for home security [7-9].

The specialized cloud (private cloud) will provide services for summarizing and formatting of the data in a uniform format for storage in databases, making analyzes and forecasts. In this cloud NoSQL databases will be used, on which methods from the field of big data, such as MapReduce, Elastic Search, Data Fusion, to discover interesting relationships, patterns and dependencies in the data applicable to consumption planning of electricity and infrastructure development.

Benefits of Measuring

Each of these sensors and subsystems consume electrical power, even if it is pretty small amount compared to themeasured values, therefore it is wise for the results of the measuring to be put to good use to justify that extraexpense. Some of the purposes are:

• security/stability

• scalability

• prediction

The measuring can determine whether there is a problem with the power supply or with any device. This can easily be indicated by drastically changed measured consumption. This information can then be used by AI to take actions to either inform about the problem or to take precautions like, for instance, cutting the power supply of certain areas [10].

The information about the consumed power can be used by the power supplier to decide if enough power can be provided to the system or reserved powers should be turned on in case of a shortage. Also, the electricity distribution company can use that information to ensure that the existing power supply network can handle the transmitted energy seamlessly. This is especially true during the winter when the weather is cold and therefore the consumed electrical power for heating may grow repeatedly. In this case, the current density may exceed the limit and a breakdown may occur.

Equation

where:

J – the current density usually measured in A/mm2

I – the current measure in A

S – the cross section of the cable measure in mm2 or m2

If the current density exceeds curtain limit (usually 6A/mm2 for high voltage networks) then the cable melts or breaks.

The electricity distribution company can place sensors on strategic positions and use their measurements in real time to determine the location or the area of eventual breakdown.

Based on curtain measurements AI can decide to turn off some optional devices in order to lower down the consumption to achieve energy efficiency in Smart Home. Also, it can decide to turn on some of the devices during the specific time of the day or night when the cost of the consumed power is lower.

The benefits and the downsides of the prediction will be discussed broadly in the next chapter of this paper.

Prediction of Consumed Energy and Its Use

The measuring of consumed energy can be used for predictions. The main uses of which are achieving energyefficiency and best pricing. The former is done by the electric power suppliers – they can use the data to predict theconsumption either in a long term or in ‘day ahead’ matter and ensure that there is enough energy produced andavailable. The best pricing is tight to the free market and the contracts with the electric power suppliers. The unitprice on the free market varies, however, if a customer signs a contract, usually with a duration of at least one yearwith a power supplier or a trader then the unit price can be fixed and lower than the one on the free market, but thecustomer must announce the needed energy (for each individual month in advance). For such contracts, if acustomer does not consume all of the announced energy, then the remaining (not consumed) energy gets sold backto the supplier at half price. If the customer consumes more than the announced energy, then the quantity thatexceeds the announced one is paid by the customer at double price. This can make the use of AI to predict the futureconsumption extremely beneficial. This can also be combined with means of storing energy. For example, if onehas a way to store energy usually in a battery, then the AI can decide to do it when the monthly consumption islower than the announced one instead of selling it back at half price. Of course, in order to achieve that the AI mustknow how much energy it can store and how much time it takes to store it. Then during months when the consumedenergy is about to exceed the announced one, this stored energy can be used for compensation instead of buying atdouble price. Such long term contracts have one disadvantage – they rely on the stability of the system. Forexample, if a new consumer is either is added to or removed from the system then the predicted (announced)quantities of energy will differ from the actual ones and this will affect the bills [11].

In practice, the proposed system utilizes a machine learning algorithm for prediction of consumed energy. By analyzing previously gathered monthly data as a time-series, forecasting algorithm is used to anticipate the amount of energy that will be consumed in the upcoming month. By default, the algorithm predicts the consumption for the next 12 months (a horizon of 12). The user can then see the quantities of energy for each month and their prices based on a unit price entered by the user. The algorithm also calculates and displays the lowest and the highest possible consumptions with a probability of 95%, so the user can decide which case suits him best. For instance, if the user expected a new consumer to be attached to the system, then picking up values around the highest possible consumption (upper bound limit) would be best.

Results

Figure 2 presents the results from the prediction. The chosen machine learning algorithm is Singular SpectrumAnalysis (SSA). During the evaluation process, the two determined errors - Mean Absolute Error (MEA) and RootMean Squared Error (RMSE) determine how accurately the predictions were made.

ijcsma-prediction

Figure 2: Results from prediction.

The SSA implementation in ml.net is flexible, allowing users to choose different values for the parameters neededfor prediction. These parameters are window size, with a suggested value of 12, train size, with a suggested valueequal to the total number of records/points, and horizon, with a default value of 1. The window size, train size, andhorizon parameters together define the number of predicted points. The user can also specify the confidence level,which the method uses to calculate the prediction's lower and upper bounds.

If data for the following month is accessible during the runtime, the user can "refresh" (add) the model withoutretrieving all previously obtained data.

Conclusions

With the help of ml.net, this paper predicts the smart home's monthly energy consumption. Machine learningmethods, such as forecasting and more specifically the SSA algorithm, are employed in smart homes to achieveenergy efficiency. Making forecasts about future behavior involves using historical time-series data. Theimplementation of the UI application that displays the data graphically, predicts future usage and makes priceprediction is presented in this study.

Acknowledgment

This work has been supported by the European Regional Development Fund within the Operational Programme“Science and Education for Smart Growth 2014 - 2020” under the Project Center of Competence “Intelligentmechatronics, eco and energy-saving systems and technologies” BG05M2OP001-1.002-0023-C0.

References