Synchronizing of Smart Homes in Microgrids using Whale Optimization Algorithm
Subject Areas : International Journal of Smart Electrical EngineeringFarhad Nourozi 1 , Navid Ghardash khani 2 *
1 - Department of Electrical Engineering, Ahrar Institute of Technology and Higher Education, Rasht, Iran
2 - Department of Electrical Engineering, Bandar Anzali Branch, Islamic Azad University, Bandar Anzali, Iran
Keywords: Chaos Whale optimization (CWOA), Distributed Energy Resources (DER), Household Energy Management System (HEMS), Particle Swarm Optimization (PSO), Renewable Energy Systems (RES), Smart time Scheduling (SS),
Abstract :
The household energy management system (HEMS) can optimally schedule home appliances for transferring loads from peak to off-peak times. Consumers of smart houses have HEM, renewable energy sources and storage systems to reduce the bill. In this article, a new HEM model based on the time of usage pricing planning with renewable energy systems is proposed to use the energy more efficiently. The new meta-heuristic whale optimization algorithm (WOA) and the common meta-heuristic of particle swarm optimization (PSO) are used to achieve that. To improve the performance, a mapping chaos theory (CWOA) is proposed. Also, an independent solar energy source is used as a support of the microgrid to achieve a better performance. It is concluded that the energy saving achieved by the proposed algorithm is able to decrease the electricity bill by about 40-50% rather than the WOA and PSO methods. The proposed system is simulated in MATLAB environment.
237 International Journal of Smart Electrical Engineering, Vol.13, No.1, Winter 2024 ISSN: 2251-9246
EISSN: 2345-6221
pp. 1:8 |
Synchronizing of Smart Homes in Microgrids using Whale Optimization Algorithm
Farhad Nourozi1, Navid Ghardash Khani2*
1Department of Electrical Engineering, Ahrar Institute of Technology and Higher Education, Rasht, Iran, farhadnorouzi97@gmail.com
2Department of Electrical Engineering, Bandar Anzali Branch, Islamic Azad University, Bandar Anzali, Iran, navid_gh@aut.ac.ir
Abstract
The household energy management system (HEMS) can optimally schedule home appliances for transferring loads from peak to off-peak times. Consumers of smart houses have HEM, renewable energy sources and storage systems to reduce the bill. In this article, a new HEM model based on the time of usage pricing planning with renewable energy systems is proposed to use the energy more efficiently. The new meta-heuristic whale optimization algorithm (WOA) and the common meta-heuristic of particle swarm optimization (PSO) are used to achieve that. To improve the performance, a mapping chaos theory (CWOA) is proposed. Also, an independent solar energy source is used as a support of the microgrid to achieve a better performance. It is concluded that the energy saving achieved by the proposed algorithm is able to decrease the electricity bill by about 40-50% rather than the WOA and PSO methods. The proposed system is simulated in MATLAB environment.
Keywords: Chaos Whale optimization (CWOA), Distributed Energy Resources (DER), Household Energy Management System (HEMS), Particle Swarm Optimization (PSO), Renewable Energy Systems (RES), Smart time Scheduling (SS)
Article history: Received 2024/01/14; Revised 2024/02/20; Accepted 2024/03/10, Article Type: Research paper
© 2024 IAUCTB-IJSEE Science. All rights reserved
https://doi.org/10.82234/ijsee.2024.1074781
1. Introduction
The smart grid phrase refers to modernizing the electrical grid by merging different technologies such as distributed manufacturing, planable loads, communicational systems and storage devices which are used effectively for electricity transmission sustainably, economically and safely. Energy management plays a vital role in preserving sustainability and smart grid reliability, which in turn helps prevent power outages. Energy management is a complex task on the side of consumers and requires efficient time scheduling of home appliances with minimum suspension to reduce the peak to average ratio (PAR) and energy consumption costs. Distributed energy resources (DER), which are placed alongside the final consumer loads, provide a replacement for constructing new central mass production power plants or establishing transmission lines or renewing them. DERs are relatively small energy resources with a nominal capacity of several kilowatts in residential buildings to several megawatts in the distribution grid. DER can be commonly used as micro turbines and diesel generators or in the form of renewable energy sources (RES) such as photovoltaic (PV), wind turbines and biomass converters. Due to the concerns of climate change, RES is intensely preferred over common resources. Even though the periodicity of the RES is one of the biggest problems with integrating it, the RES random output factors and the uncertain consumer behavior make it hard to keep production balanced and make system operators want to work there. Energy storage has the potential to alleviate uncertainty regarding the existence of production and demand, but this approach is currently inappropriate or excessive on a large scale. As a result of population growth and the spread of residential customers, today's electrical energy consumption is on the rise. One of the most important methods to manage and reduce the electricity bill is the household energy management system, especially for devices such as washing machines, air conditioners, etc. As household energy management gets more complicated, synchronization and efficient scheduling of home appliances has become essential in a way that, by determining an optimization issue and choosing a suitable optimization solution, certain benefits can be obtained for residential consumers and help the electrical energy providers with energy usage reduction. This has caused many models and algorithms to be proposed and improved in the field of synchronization and household energy management while considering different concerns. Authors in [1] proposed a short term power load forecasting using learning models for energy management in a smart community. For the purpose of energy management in a smart community, they focused on investigating and evaluating machine learning models for accurately predicting user power profiles. The simulation results show that the Radial Basis Function (RBF) kernel is the best machine learning model for forecasting the short term power consumption of a single household. Eight regression models were evaluated for the purpose of predicting the power consumption of a single household. A pyramid-CNN based deep learning model for power load forecasting of similar-profile energy customers based on clustering is investigated in [2]. They significantly improved forecasting results for randomly selected users from different clusters. Customers' MAPE improved by up to 10% as a result of the clustering-based model training strategy. The summary of the study is that energy customers can be grouped into clusters and then a representative model could be developed/ trained, which can accurately forecast power load for individual energy-customer. Moreover, towards energy efficiency and power trading, exploiting renewable energy in cloud data centers is investigated in [3]. Authors utilize real-time data requests, weather data, and pricing data for performing simulations and the cost and carbon emission of cloud DCs. In [4] authors proposed a deep learning framework for short term power load forecasting. A case study of individual household energy customer results affirms the effectiveness and productiveness of the proposed method to mitigate energy.
Authors in [5] proposed quality learning (RSOTHA-QL), a real-time scheduling of household appliances' operational times based on reinforcement learning. The proposed RSOTHA-QL design operates in two phases. In the first phase, the Q learning factors operate in response to the smart home’s environment and receive a reward. The amount of reward for planning the operation time of home appliances is used in the next step to ensure minimal energy consumption. In the second phase, the dissatisfaction derived from the home appliance operation schedule of the household user is maintained by classifying home appliances into three groups of deferrable, non-deferral and controllable. A combined resistance stochastic optimization model for smart home energy management in daily and real-time energy markets in which the uncertainties of energy prices and PV production in the proposed model is proposed by authors in [6]. A flexible resistance optimization method for creating a problem-solving equation and uncertainty management of the day-ahead market prices are used when PV production is assumed to be at its worst. In [7] authors proposed a daily energy management algorithm for synchronizing smart homes with reproducible energy resources and energy. Daily decentralized synchronization with home appliance time scheduling and energy sharing among smart homes vary to minimize the consumer electricity bills in pricing. In another study, authors proposed an algorithm based on local search for minimum conflict, combined with Grey Wolf Optimizer for the power time scheduling matter in the smart home [8]. The home appliance time scheduling issue of the smart home is in accordance with the variable pricing outlines for flattening users' power consumption. The aim of the method is reduction in electricity bills and to improve the user’s comfort and to maintain the power systems' function [8]. In [9] authors focused on the energy management of a smart home equipped with a plug-in electrical vehicle (PEV) and home and PV battery storage which offers an energy price signal for the entire energy storage equipment connected to the smart home system. The combination of methods including optimization and prioritization is demonstrated in this article according to the rule. The proposed algorithm creates a priority order between PEV, home batteries and the imported power from the grid based on the energy resources. The proposed energy the executives calculation is after the base expense of complete energy for the brilliant home and the PEV proprietor while satisfying the family power requests and the stockpiling hardware charge necessities. For residential appliance time scheduling, authors in [10] presented the model of demand-side management based on optimization evolutionary algorithms for binary particle swarm, genetic algorithm, and cuckoo search). The model is reproduced in the hour of purpose (ToU) valuing climate for three sorts of customary homes, smart homes and smart homes with RES. The mentioned research focused on the field of smart homes synchronization with chaotic whale optimization algorithm (CWOA) in providing loads for efficient timing determination for distributed resources. The smart distribution possibility of scheduled resources by an EMS decentralized energy management system which is able to ideally schedule the entire storage and production resources in microgrids.
The comparison between present study and some other similar methods
Disadvantage | Advantage | Method | Reference |
The sampled data is limited | Simple implementation No need for gradient information (can pass through local optimal points) Includes a wide range of samples. |
CWOA |
Current Study
|
Inability to solve problems with sampling discontinuities. |
Simple process Easily generalizable | Genetic Grey Wolf Algorithm | [11] |
High executive and practical costs | The nature of random search in the sampling area The best answers because of competition (survival conflict) |
Genetic Algorithm | [12] |
Includes additional mechanisms such as retreat and local search mechanisms. |
Convergence to the optimal answer is guaranteed. | Ant Colony Optimization | [14] |
2. Smart Home Synchronization Modeling
One of the most important challenges for renewable energy systems is their power production unpredictability, because of wind speed or sun irradiation variations, which complicates energy management. Also, for energy consumption by electricity consumers, not all consumers can be bound to consume specific devices at a specific time, which also complicates the power management study to reduce energy costs. In this case for modeling the smart home synchronized system, the EMS is used efficiently in a household for home appliance synchronization to consume energy from the grid and RES stored energy. The HEMS includes several pieces of equipment. Home grid (HG), electrical appliances and a home display device. The household owns home appliances, smart time scheduling (SS) and a decision system which is embedded in HEMS and synchronizes equipment. Three types of consumers are considered. A household’s daily energy consumption is exclusively simulated and operates as a consumer and producer of electrical energy, which is called a professional consumer. A household equipped with a RES system or local energy production is a smart counter which provides energy price signals and a collection of electrical appliances which consume energy. In this model, each day is divided into 25 time periods. The SS efficiently calculates the ON-OFF schedule of home appliances. Each home contains a collection of appliances Ɲ= {𝑎1, 𝑎2 … 𝑎𝑁} and |Ɲ|=𝛮. Assume that the observation period is H and there are two types of loads, which are intermittent loads and base loads. The first collection includes a washing machine, a clothes-dryer, an electrical auto and an electrical water heater.
Similarly, the second collection includes a refrigerator and a light source. When the intermittent equipment is activated, it can be postponed at any time. For a synchronization matter, the number of portable devices is more than zero hence 𝐴> 0. The goal of the user is obtained with optimized control measures for portable loads. Assume that 𝛼𝑎𝑖, is a collection of portable equipment that hasn’t been scheduled in the h time period and base loads. This assumption is considered because the user isn’t willing to reschedule those loads. Each home appliance has a constant number of time intervals (LOT) and each home appliance must operate within 24 hours and accomplish its duty. Each home appliance can only tolerate a certain amount of delay (𝜁𝑎𝑖) which is demonstrated as (1) because the SS operates based on charge transfer.
|
|
𝛹1≤𝜁𝑎𝑖≤𝛹2 |
|
Where 𝛹1=24−𝛽𝑀𝑎𝑥 and 𝛹2=24−𝛽𝑀𝑖𝑛. If is the energy consumption of 𝑎𝑖 appliance in h time period, then the demand of the entire household (
) is calculated as below.
|
|
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
𝜁𝑀𝑎𝑥,≤24−𝛽𝑎𝑖 |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
Definition | Parameter | ||
Time of Usage |
| ||
Distance to Target |
| ||
Position in the next iteration |
| ||
Position vector is the best answer |
| ||
Present iteration |
| ||
Random Parameter ( Between 0 to 1) |
| ||
Spiral position ( between 0.5 to 1) |
| ||
Number of fixed time intervals, for each consumer |
| ||
The amount of time delay for ith consumer |
| ||
Delay time range (upper limit and lower limit) | Y | ||
A binary variable is given that is between 0 and 1 | dh,ai | ||
Consumption of energy related to the device by time | Eh,ai | ||
Range oscillation vector |
| ||
Vector Coefficient | C | ||
Random vector between 0 and 1 |
| ||
Efficiency |
| ||
A coefficient for determining the shape of a logarithmic helix |
|
Power (KW) | Utilization Time | Appliances | Type |
1 | 1 to 2 and 13 to 15 | Washing machine | A |
4 | 1 to 5,9 to 11 and 19 to 21 | Dryer | |
3 | 5 to7, 9 to 10 and 20 to 24 | Electrical auto | |
4.5 | 1 to 2, 4 to 5, 19 to 21 and 17 to 22 | Water heater | |
1 | 24 hours | Refrigerator and fridge | B |
1.5 | 24 hours | Light |
Fig. 3. Pricing plan of time usage [10]
Controlling parameters in WOA and PSO algorithms
Control Parameter | Value | ||
Maximum repetition | 600 | ||
Decision Factors | 24×6 | ||
Population | 100 | ||
Spiral position ( | 0.5-1 |
PAR | Bill Saving (%) | Total cost ($) | Optimization method |
4.5 | 0 | 1383.88 | Without planning |
1.88 | 43 | 783.59 | Coordinated with PSO |
1.46 | 52 | 657.38 | Coordinated with WOA |
1.44 | 58 | 576.6 | Coordinated with CWOA |
References
[1] K. Aurangzeb, "Short Term Power Load Forecasting using Machine Learning Models for energy management in a smart community," 2019 International Conference on Computer and Information Sciences (ICCIS), 2019, pp. 1-6, doi: 10.1109/ICCISci.2019.8716475.
[2] K. Aurangzeb, M. Alhussein, K. Javaid and S. I. Haider, "A Pyramid-CNN Based Deep Learning Model for Power Load Forecasting of Similar-Profile Energy Customers Based on Clustering," in IEEE Access, vol. 9, pp. 14992-15003, 2021, doi: 10.1109/ACCESS.2021.3053069.
[3] S. Aslam, S. Aslam, H. Herodotou, S. M. Mohsin and K. Aurangzeb, "Towards Energy Efficiency and Power Trading Exploiting Renewable Energy in Cloud Data Centers," 2019 International Conference on Advances in the Emerging Computing Technologies (AECT), 2020, pp. 1-6, doi: 10.1109/AECT47998.2020.9194169.
[4] K. Aurangzeb and M. Alhussein, "Deep learning framework for short term power load forecasting, a case study of individual household energy customer," 2019 International Conference on Advances in the Emerging Computing Technologies (AECT), 2020, pp. 1-5, doi: 10.1109/AECT47998.2020.9194153.
[5] M. Khan, J. Seo and D. Kim, "Real-Time Scheduling of Operational Time for Smart Home Appliances Based on Reinforcement Learning," in IEEE Access, vol. 8, pp. 116520-116534, 2020, doi: 10.1109/ACCESS.2020.3004151.
[6] Alireza Akbari-Dibavar, Sayyad Nojavan, Behnam Mohammadi-Ivatloo, Kazem Zare, Smart home energy management using hybrid robust-stochastic optimization, Computers & Industrial Engineering, Volume 143, 2020, doi:10.1016/j.cie.2020.106425.
[7] B. Celik, R. Roche, D. Bouquain and A. Miraoui, "Decentralized Neighborhood Energy Management With Coordinated Smart Home Energy Sharing," in IEEE Transactions on Smart Grid, vol. 9, no. 6, pp. 6387-6397, Nov. 2018, doi: 10.1109/TSG.2017.2710358.
[8] Sharif Naser Makhadmeh, Ahamad Tajudin Khader, Mohammed Azmi Al-Betar, Syibrah Naim, Ammar Kamal Abasi, Zaid Abdi Alkareem Alyasseri, A novel hybrid grey wolf optimizer with min-conflict algorithm for power scheduling problem in a smart home, Swarm and Evolutionary Computation, Volume 60, 2021, 100793, doi:10.1016/j.swevo.2020.100793.
[9] S. Aznavi, P. Fajri, A. Asrari and F. Harirchi, "Realistic and Intelligent Management of Connected Storage Devices in Future Smart Homes Considering Energy Price Tag," in IEEE Transactions on Industry Applications, vol. 56, no. 2, pp. 1679-1689, March-April 2020, doi: 10.1109/TIA.2019.2956718.
[10] N. Javaid, "An Intelligent Load Management System With Renewable Energy Integration for Smart Homes," in IEEE Access, vol. 5, pp. 13587-13600, 2017, doi: 10.1109/ACCESS.2017.2715225.
[11] Qinghua Gu , Xuexian Li and Song Jiang, “Hybrid Genetic Grey Wolf Algorithm for Large-Scale Global Optimization”, Hindawi Complexity Volume 2019, 18 pages, doi:10.1155/2019/2653512.
[12] A. Al-Duais, M. Osman, M. H. Shullar and M. A. Abido, "Optimal Real-Time Pricing-Based Scheduling in Home Energy Management System Using Genetic Algorithms," 2021 IEEE 4th International Conference on Renewable Energy and Power Engineering (REPE), 2021, pp. 243-248, doi: 10.1109/REPE52765.2021.9617067.
[13] S. Korjani, A. Serpi and A. Damiano, "A Genetic Algorithm Approach for Sizing Integrated PV-BESS Systems for Prosumers," 2020 2nd IEEE International Conference on Industrial Electronics for Sustainable Energy Systems (IESES), 2020, pp. 151-156, doi: 10.1109/IESES45645.2020.9210700.
[14] F. Lezama, R. Faia, J. Soares, P. Faria and Z. Vale, "Learning Bidding Strategies in Local Electricity Markets using Ant Colony optimization," 2020 IEEE Congress on Evolutionary Computation (CEC), 2020, pp. 1-8, doi: 10.1109/CEC48606.2020.9185520.
[15] Seyedali Mirjalili, Andrew Lewis, “The Whale Optimization Algorithm, Advances in Engineering Software,” Volume 95, 2016, Pages 51-67, doi:10.1016/j.advengsoft.2016.01.008.
[16] Petra Snaselova, Frantisek Zboril, Genetic Algorithm using Theory of Chaos, Procedia Computer Science, Volume 51, 2015, Pages 316-325, doi:10.1016/j.procs.2015.05.248.
Related articles
-
-
A Fuzzy Controlled PWM Current Source Inverter for Wind Energy Conversion System
Print Date : 2014-04-01
The rights to this website are owned by the Raimag Press Management System.
Copyright © 2021-2025