Next Article in Journal
Calculation and Experimental Study of Low-Cycle Fatigue of Gas Turbine Engines Booster Drum
Next Article in Special Issue
Improvement of Fault Current Calculation and Static Security Risk for Droop Control of the Inverter-Interfaced DG of Grid-Connected and Isolated Microgrids
Previous Article in Journal
Mobile Visual Servoing Based Control of a Complex Autonomous System Assisting a Manufacturing Technology on a Mechatronics Line
Previous Article in Special Issue
A Novel Nonsingular Terminal Sliding Mode Control-Based Double Interval Type-2 Fuzzy Systems: Real-Time Implementation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Solution for Day-Ahead Scheduling Problems Using the IoT-Based Bald Eagle Search Optimization Algorithm

by
Bilal Naji Alhasnawi
1,
Basil H. Jasim
2,
Pierluigi Siano
3,4,*,
Hassan Haes Alhelou
5,* and
Amer Al-Hinai
6
1
Department of Computer Technical Engineering, College of Information Technology, Imam Ja’afar Al-Sadiq University, Al-Muthanna 66002, Iraq
2
Electrical Engineering Department, Basrah University, Basrah 61001, Iraq
3
Management and Innovation Systems Department, Salerno University, 84084 Salerno, Italy
4
Department of Electrical and Electronic Engineering Science, University of Johannesburg, Johannesburg 2006, South Africa
5
Department of Electrical Power Engineering, Tishreen University, Lattakia 2230, Syria
6
Department of Electrical and Computer Engineering, College of Engineering, Sultan Qaboos University, Muscat P.O. Box 373, Alkhoud PC 123, Oman
*
Authors to whom correspondence should be addressed.
Inventions 2022, 7(3), 48; https://doi.org/10.3390/inventions7030048
Submission received: 15 May 2022 / Revised: 10 June 2022 / Accepted: 15 June 2022 / Published: 23 June 2022
(This article belongs to the Special Issue Microgrids: Protection, Cyber Physical Issues, and Control)

Abstract

:
Advances in technology and population growth are two factors responsible for increasing electricity consumption, which directly increases the production of electrical energy. Additionally, due to environmental, technical and economic constraints, it is challenging to meet demand at certain hours, such as peak hours. Therefore, it is necessary to manage network consumption to modify the peak load and tackle power system constraints. One way to achieve this goal is to use a demand response program. The home energy management system (HEMS), based on advanced internet of things (IoT) technology, has attracted the special attention of engineers in the smart grid (SG) field and has the tasks of demand-side management (DSM) and helping to control equality between demand and electricity supply. The main performance of the HEMS is based on the optimal scheduling of home appliances because it manages power consumption by automatically controlling loads and transferring them from peak hours to off-peak hours. This paper presents a multi-objective version of a newly introduced metaheuristic called the bald eagle search optimization algorithm (BESOA) to discover the optimal scheduling of home appliances. Furthermore, the HEMS architecture is programmed based on MATLAB and ThingSpeak modules. The HEMS uses the BESOA algorithm to find the optimal schedule pattern to reduce daily electricity costs, reduce the PAR, and increase user comfort. The results show the suggested system’s ability to obtain optimal home energy management, decreasing the energy cost, microgrid emission cost, and PAR (peak to average ratio).

1. Introduction

An electric grid is a huge complex network designed for providing electricity to consumers to satisfy their growing energy demands. The International Energy Outlook in 2016 projected that there would be a notable increase in the overall energy demand of the world in the next 20 years. This growth in worldwide consumption has led to an immediate change in the conventional grid to meet the increasing demand. The conventional grid is the electricity network used for supplying and distributing electricity from the generation side to the consumer side. In other terms, it is used for connecting producers of electricity to consumers of electricity. However, the existing electric grid faces a few challenges [1]. These challenges vary from country to country based on the energy demand. The main challenges are to fulfill the required demand with the resources available and to provide accessibility to electricity with infrastructure utilities. The other challenges faced by the traditional grid are as follows: (a) It is a centralized grid in which the power is generated from a centralized location and carried to consumers. In addition, conventional grids are powered by non-renewable energy sources, i.e., natural gas, diesel, etc. (b) The grid consists of one-way communication where the consumer is just a receiver; it cannot provide any user preference, nor can a user state the required energy demand to the utility. (c) It is not well equipped to handle advanced technology and sensors. Thus, it fails to detect problems and anomalies. (d) The manual monitoring of energy distribution and the manual reading of metering infrastructure are required. All the aforementioned problems can lead to increasing grid vulnerability and power outage risks. Thus, it is necessary to overcome these challenges and make huge investments in the existing traditional grids. Additionally, owing to the worldwide rise in energy demand and significant changes in energy infrastructure, there is a need to evaluate/update the conventional grids into smart grids to address future energy demand. The smart grid (SG) represents one such solution that will make existing grids more responsive and intelligent. It is a relatively new concept with advanced information and communication technologies (ICT) and integrates two-way communication between a utility and its consumers [1]. SGs facilitate customer interactions with utilities in a bi-directional way to enhance the security, performance, reliability, and sustainability of the generation, transmission, and distribution of electricity.
One of the potential advantages of smart grids is the role they can play in making the electric grid more flexible and efficient, thanks to the integration of DER units and controlled loads. Distributed generators (DGs) and energy storage systems (ESSs) are DER units. Renewable energy sources (RES), such as solar (PV) and wind power, are commonly used in DG units [2,3,4].
The energy management of SGs has turned into a challenging topic in the literature [5]. In [6], a chance-constrained model was proposed for solving the probabilistic optimal energy management of MG systems. The authors have not yet investigated the efficiency of their model on the emission of greenhouse gases. The impact of the renewable energy sources (RESs) on the performance of islanded MG systems was studied in [7]. Though, cost allocation among MGs, the emission of greenhouse gases, and energy not supplied (ENS) were not investigated. The authors of [8] suggested the epsilon constraint method and a fuzzy model to define the best plan for the energy hubs in solving the multi-objective optimization for the water management of an MG system. Nevertheless, the uncertainties of RESs and demand response programs were not considered.
IoT-based EMSs are essential for managing problems and achieving energy savings. These systems must be able to prevent power peaks and maintain continuous energy in order to survive future trends [9,10].
Table 1 outlines the shortcomings and contributions of recent studies on demand management systems in a smart grid.
Based on the knowledge gaps described in the previous section, this article has the following potential novelties.
  • Firstly, the proposal of a new low-cost smart system design that ensures power quality for consumers’ appliances through smart monitoring and control with the help of IoT;
  • The implementation of a DSM program for smart microgrids with a variety of electrical loads. This load variation is rare in other articles;
  • This paper solves the DSM problem by considering different objective functions, including reducing consumer bills and reducing power losses;
  • This research proposes a bald eagle search optimization algorithm (BES)-based real-time optimal schedule controller for EMS;
  • Two-layer hierarchical communication architecture is implemented based on the MQTT protocol, leveraging a cloud server named ThingSpeak to enable global and local communication for neighborhood device controllers;
  • The utility authority will have control over individual consumers’ electrical loads and peak demand through IoT and smart meters. Finally, consumers will be able to track their real-time energy consumption, and related measures could be taken to reduce demand.

2. Problem Formulation

A home energy management system (HEMS) keeps track of household energy usage and controls appliance schedules and operations. It can be accomplished through demand-side management, which assists consumers in shifting their appliance consumption from peak to off-peak hours, lowering household electricity costs. To adjust the appliance usage pattern, it is crucial to schedule them in such a way that they meet all of the RASP’s optimization goals. Researchers have been working on providing local energy (RES) that is easy to generate, less expensive, and environmentally beneficial for several decades. According to several studies, integrating renewable energy sources into the residential sector provides the most cost-effective alternatives. Residential appliance scheduling is formulated as an optimization problem which schedules smart home appliances in such a way that electricity cost is minimized, peak-to-average ratio is minimized, and consumer comfort is maximized. The aforementioned objectives are optimization objectives. Thus, to solve this problem, the methodologies employed for the scheduling techniques involve optimization techniques [1]. In this paper, we use the bald eagle search optimization algorithm (BES) technique for appliance scheduling in the residential sector.
As shown in Figure 1, the proposed smart microgrid system includes renewable energy sources, loads, a utility power grid, and energy internet connectivity.
Data flow between MATLAB and ThingSpeak is used to model the suggested communication systems. ThingSpeak was chosen to imitate real-time cloud communication [30,31].

2.1. Modeling of the Renewable Resources and Energy Storage Devices

2.1.1. Photovoltaic

The power generated by the PV panels depends on the installed maximum power and weather conditions. Figure 2 shows an equivalent circuit based on the diode of a solar cell which can be represented as a parallel resistor, current source, diode, or as serial resistance. The current and voltage properties of solar cells are described by the standard mathematical equation [32]:
I = I p h , c e l l I o , c e l l [ exp q V + I R _ s , c e l l / a k T 1 I d , c e l l V + I R s , c e l l R p ; c e l l
where:
  • I o , c e l l is reversed leakage current;
  • I p h ,   c e l l is the photocurrent (A) of the photovoltaic cell;
  • k is the constant of Boltzmann’s ( 1.38 × 10 23   J / K );
  • q is the electron charge ( 1.602 × 10 19   C );
  • R p , c e l l is parallel resistance (Ω).
  • R s , c e l l is the series resistance (Ω);
  • T is diode temperature.
The solar cell model is ideal if the parallel and series resistance of the solar cell are not taken into account. Figure 3 illustrates the ideal electrical current and voltage curves from Equation (1) [32]. Table 2 shows the electrical parameters of the SPR-305 E-WHT-D photovoltaic cell [32].

2.1.2. Battery

The energy supplied by the battery depends on its capacity and its state of charge (SOC). Moreover, the output power is limited to enhance the lifespan of energy storage devices. The SOC represents the ratio between the energy contained in the battery and its maximum capacity [33].
ESSs play an important role in achieving green energy goals and ensuring system reliability. Therefore, in our considered HEMS scheme, an ESS is used for storing excess available energy. The energy stored in the battery in any time instant, t, is denoted by E b t and given in (2). E b t has positive value in case of charging, while it obtains negative value during discharging. The charging and discharging efficiencies of the battery are denoted by η c and η d , respectively. The constraints given in (3) and (4) are considered for limiting the maximum charging and discharging states of the battery δ b t . The binary variable at time t determines battery discharging state ( δ b t = 0 ) and charging state ( δ b t = 1 ) at time t [34].
  E b t & = E b c t η c δ b t E b d t η d 1 δ b t
0 & E b c t η c E b , m a x c t δ b t
0 & E b d t η d E b , m a x d t 1 δ b t
S O C t & = S O C t 1 + E b t C b
S O C m a x S O C t S O C m i n
The battery state of charge (SOC) characteristics are modeled in Equation (5). Equation (6) models the minimum and maximum SOC limits of battery at time t. C b is battery-rated capacity. Figure 4 illustrates a flowchart of the suggested method.

2.2. Shifting of Loads

The suggested algorithm arranges devices to bring the load curve of the consumption schedule closer to the load curve of the desired load curve [35,36,37,38]:
C 1 = min N L S H B L C H
The objective load curve B L C H   has the inverse relation with N L S H ; this relation is established as:
B L C H 1 N L S H
where N L S H is the per-hour scheduled power load, and N L   is the aggregated load of ON appliances during a particular time.
N L = A = 1 M ς × D e v P 𝓇 𝒶 𝓉 A
ς = 1; 0 is the OFF/ON status of applinces during a particular hour.
The targeted B L C H is realized using constraints in Fitness Function ( F 𝒻 ).
F 𝒻 = min F 𝓅
where F 𝓅 is calculated using:
F 𝓅 = N L 𝒾 𝓅 W L 1                         w h e n   𝒽 𝓊 𝓇 𝓅 𝒻 𝒻 N L 𝒾 𝓅 < W L 1                           w h e n   𝒽 𝓊 𝓇 𝓅 𝓃
W L 𝒾 𝓂 𝓉 1 = s u m L N 𝒽 𝓈 𝓉 𝒹 N L U 𝓃 S H
W L 𝒾 𝓂 𝓉 2 = η × m i n N L U 𝓃 S + 𝓈 𝓉 𝒹 N L U 𝓃 S H
W L 𝒾 𝓂 𝓉 3 = m e a n N L U 𝓃 S
L N 𝓇 𝓂 H = N L U 𝓃 S m i n N L U 𝓃 S / m a x N L U 𝓃 S m i n N L U 𝓃 S
The off-peak power limit ( W L 𝒾 𝓂 𝓉 1 ) and on-peak power limit W L 𝒾 𝓂 𝓉 2 are calculated so that fair load distribution at the customer’s end can be realized via a house load power-management scheduler [35,36,37,38].

3. Proposed Methodology

The bald eagle search optimization method is a meta-heuristic optimization algorithm inspired by bald eagle hunting behavior. There are three phases to this algorithm. The bald eagle chooses the best place in terms of food amount in the first step (selecting the space). The eagle seeks for prey inside the defined area in the second stage (searching in the space). In third stage, the eagle swings from the best position in the second phase to choose the best hunting place (swooping) [39].
In this stage, new positions will be generated using the equation below [39]:
S n e w 𝒾 = S best   + α 𝓇 S mean   S 𝒾
where S n e w 𝒾 is a newly generated position, S best is the best position, S mean is mean position, α is control gain [1.5, 2], and 𝓇 is a random number [0, 1].
The algorithm adjusts the position of the eagle inside this search space after assigning optimal search space ( S best ). The model for updating it is as follows [39,40]:
S new   𝒾 = S 𝒾 + 𝓃 𝒾 S 𝒾 S 𝒾 + 1 + 𝓂 𝒾 S 𝒾 S mean
where 𝓂 and 𝓃 are directional coordinates for an i t h position, they can be defined as:
𝓂 𝒾 = 𝓂 𝓇 𝒾 m a x 𝓂 𝓇 ; 𝓂 𝓇 𝒾 = 𝓇 𝒾 sin ξ 𝒾 𝓃 𝒾 = 𝓃 𝓇 𝒾 m a x 𝓃 𝓇 ; 𝓃 𝓇 𝒾 = 𝓇 𝒾 cos ξ 𝒾 ξ 𝒾 = a π   rand ; 𝓇 𝒾 = ξ 𝒾 R rand
where a is the control parameter that determines a corner between point searches in the center point and has a value of [5, 10], and R is the parameter that determines the number of search cycles and has a value of [0.5, 2]. The new positions’ fitness will be assessed, and the S best value will be adjusted in light of the findings.
Eagles approach target prey from the best-obtained position in this stage. The following is the hunting model [39,40]:
S n e w i =   rand ·   S best   + 𝓂 1 𝒾 S 𝒾 c 1 S mean + 𝓃 1 𝒾 S 𝒾 c 2 S best
where c 1 and c 2 are random numbers [1, 2]. 𝓂 1 and 𝓃 1 are directional coordinates, and can be defined as:
𝓂 1 i = 𝓂 𝓇 𝒾 m a x 𝓂 𝓇 ; 𝓂 𝓇 𝒾 = 𝓇 𝒾 sinh ξ 𝒾 𝓃 1 i = 𝓃 𝓇 𝒾 m a x 𝓃 𝓇 ; 𝓃 𝓇 𝒾 = 𝓇 𝒾 cosh ξ 𝒾 ξ 𝒾 = a π r a n d ; 𝓇 𝒾 = ξ 𝒾
A flowchart of the proposed method is shown in Figure 5. The pseudocode of the bald eagle search optimization algorithm is shown in Table 3.
The objective function and the problem constraints are represented as follows:
m i n i m i z e C E
C E = t = 1 T τ t P g r i d t Δ t
where C E is cost of energy at time T . P g r i d t is grid power, Δ t denotes interval time between two time instants, and τ (𝑡) is the price of energy at time instant 𝑡 [38,41].
The following are the equations for these constraints:
t = 1 T P P V t + P W i n d t + P g r i d t ± P B E S S t P L o a d t = 0
P P V , m i n P P V t P P V , m a x                           t T
P W i n d , m i n P W i n d t P W i n d , m a x     t T
0 P g r i d t P g r i d , m a x                             t T
E B E S S , m i n E B E S S t E B E S S , m a x       t T
E D ,   t o t a l E S , t o t a l < E D ,   t o t a l
The constraints state power balance equations at every time instant where P P V t , P W i n d t , and P g r i d t are PV, wind, and grid output power at time instant t , respectively. P L o a d t   and P B E S S t are load demand power and the discharging/charging power of the battery, respectively. The minimum and maximum power output from the PV, wind, and utility grid are shown in Equations (24)–(28). P P V , m i n and P P V , m a x are the limits of a photovoltaic output power, P W i n d , m i n and P W i n d , m a x are the boundaries of the wind output power, and P g r i d , m a x is maximum power drawn from the utility grid in the case of a grid-connected mode. E B E S S , m i n and E B E S S , m a x are the capacity limits of the battery, as shown in Equation (27). The energy deficient is represented in Equation (28).

3.1. Suggested Communication Platform

Cloud-enabled IoT is used to communicate between agents in the microgrid and data storage. The data are transmitted between neighbors using the IoT platform, and then processed in a cloud computing layer. The proposed IoE communications network is made up of five layers: the agent layer, the IoT layer, the network layer, and the layer of processing data [38,41,42,43,44].

3.1.1. The MQTT Knowledge

The three primary participants in MQTT messaging are the MQTT broker, the MQTT subscriber, and the MQTT publisher. The MQTT publisher and subscriber do not have to run at the same time because they are not directly linked by IP address. The MQTT broker serves as a network hub, collecting messages from publishers and filtering, prioritizing, and distributing them to thousands of MQTT subscribers who are continuously connected. The MQTT broker is in charge of client authorization and a handshake procedure for communication initialization. MQTT publishers use adjustable topics to publish data, which clients must subscribe to. Metadata cannot be used to label messages in the MQTT protocol. These topics could be used to express routing information [15,45,46]. Figure 6a depicts the initialization of the connection via exchanging control packets between customers and the broker (a). CONNECT, CONNAC, PUBLISH, PUBACK, SUBSCRIBE, SUBACK, and other control packets communicate information about the quality of service (QoS), topic, and payload of the transmission. Figure 6b depicts the MQTT communication components [38].

3.1.2. Proposed Architecture

Figure 7 depicts the suggested hierarchy of the cyber layer, physical layer, and regulating layer smart structures. There are two levels of communication in the proposed hybrid network. In the first layer, smart structure applications broadcast MQTT messages to consumers and subscribe to BMC’s published MQTT messages for control and protection. The second (globe) layer, which is the HTTP POST/GET architecture, is how BMC communicates to the cloud. Each device is equipped with a Wi-Fi module, is connected to a local gateway, and regularly releases data on the subject. The BMC determines both topics and has them subscribe to a cloud channel. The aggregated cloud data can be accessed through a ThingSpeak-based cloud interface with a built-in device algorithm. The findings of the algorithm are transported from the cloud to the device through BMC [15,38,45,47].

4. Results of the Proposed Method

In this section, the simulation results of the suggested approach for solving the problem of optimal power management of the studied microgrid system are presented. First, the single objective problem is solved to minimize the operational cost of the microgrid system. Afterwards, the minimization of emissions is considered as the objective function. In the next section, the two objective functions of the minimization of the total cost and emissions are considered simultaneously to solve the multi-objective optimal power management of the microgrid by implementing the suggested approach. Moreover, the results of the deterministic and stochastic optimal power management approaches for the microgrid components are compared.
The overall categorization of smart home appliances is presented in Table 4 [48].
This section discusses the impact of microgrid communication. The microgrid will exchange information such as load and energy generation when communication applications are present.
The results of the smart EMS implemented with the proposed method over a cloud platform to govern devices in a microgrid are presented and discussed in this experiment. The microcontroller is a central command and control unit in this paper that organizes the ThingSpeak platform. MQTT acts as a middleman between the main control unit and the microgrid devices that subscribe to it. The ThingSpeak platform interface designed in this paper is a simple and straightforward user interface (UI) that allows a homeowner to engage with and obtain home energy management as a service over a cloud system. The dashboard and the UI flow architecture are demonstrated in Figure 8.
The EMS includes a graphical user interface (GUI) to let consumers understand the total cost of microgrid devices and power consumption. Figure 9, Figure 10, Figure 11, Figure 12 and Figure 13 show the power consumption of all loads without and with corrective methods.
Figure 10 shows the powerful GUI of the suggested EMS without the corrective method. Figure 11 shows the cost GUI of the suggested EMS without the corrective method. Figure 12 shows the powerful GUI of the suggested EMS with the corrective method. Figure 13 shows the cost GUI of the suggested EMS with the corrective method.

5. Discussion of Results

In addition to PAR, the cost of electricity emission reduction and cost savings were analyzed in a microgrid efficiency analysis. In the ToU case, the price before applying the suggested algorithm was 910.35 (cent). However, after applying the bald eagle search optimization algorithm, the cost was found to be 722.56. Comparing the proposed technique with the conventional method, the bald eagle search optimization algorithm saved 25.98% per day. Figure 14 shows a cost comparison of price without the proposed EMS and with the proposed EMS.

6. Conclusions

The need for electricity is increasing on a daily basis. Power companies are unable to match this demand due to a scarcity of traditional energy resources and the deterioration of the current power grid. As a result, in this article, the concept of a smart grid is presented in which smart homes are built in such a way that home appliances can be coordinated with one another through an IoT-based home energy management system, and electricity consumption can be controlled by following an optimal consumption pattern. The integration of this ideal consumption pattern with renewable energy sources also minimizes waiting time, increasing customer comfort significantly. This paper presents a multi-objective version of the bald eagle search optimization algorithm (BESOA). The home energy management system architecture was investigated to analyze, control and monitor smart grid power consumption. Comparing the proposed method with the conventional method, the proposed method saved 25.98% per day.

Author Contributions

B.N.A.: writing—original draft, methodology, software, and validation; B.H.J.: supervisor, formal analysis, resources, investigation, editing, and writing—review; P.S.: supervision, writing—review, and editing; H.H.A.: formal analysis, writing, editing, and review; A.A.-H.: review, and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Shewale, A.; Mokhade, A.; Funde, N.; Bokde, N.D. A Survey of Efficient Demand-Side Management Techniques for the Residential Appliance Scheduling Problem in Smart Homes. Energies 2022, 15, 2863. [Google Scholar] [CrossRef]
  2. Youssef, H.M.M. A Control Strategy for a Microgrid Integrated with Multiple Solar-PV Units and a Large-Scale Battery Energy Storage System. Master’s Thesis, University of Toronto, Toronto, ON, Canada, 2018. [Google Scholar]
  3. Alhasnawi, B.N.; Jasim, B.H.; Anvari-Moghaddam, A.; Blaabjerg, F. A New Robust Control Strategy for Parallel Operated Inverters in Green Energy Applications. Energies 2020, 13, 3480. [Google Scholar] [CrossRef]
  4. Khalid, A.; Javaid, N. Coalition based game theoretic energy management system of a building asservice over fog. Sustain. Cities Soc. 2019, 48, 101509. [Google Scholar] [CrossRef]
  5. Javidsharifi, M.; Arabani, H.P.; Kerekes, T.; Sera, D.; Guerrero, J.M. Stochastic Optimal Strategy for Power Management in Interconnected Multi-Microgrid Systems. Electronics 2022, 11, 1424. [Google Scholar] [CrossRef]
  6. Sefidgar-Dezfouli, A.; Joorabian, M.; Mashhour, E. A multiple chance-constrained model for optimal scheduling of microgrids considering normal and emergency operation. Int. J. Electr. Power Energy Syst. 2019, 112, 370–380. [Google Scholar] [CrossRef]
  7. Park, S.H.; Hussain, A.; Kim, H.M. Impact analysis of survivability-oriented demand response on islanded operation of networked microgrids with high penetration of renewables. Energies 2019, 12, 452. [Google Scholar] [CrossRef] [Green Version]
  8. Pakdel, M.J.V.; Sohrabi, F.; Mohammadi-Ivatloo, B. Multi-objective optimization of energy and water management in networked hubs considering transactive energy. J. Clean. Prod. 2020, 266, 121936. [Google Scholar] [CrossRef]
  9. Paul, S.; Padhy, N.P. Real Time Energy Management for Smart Homes. IEEE Syst. J. 2020, 16, 1–12. [Google Scholar] [CrossRef]
  10. Sedhom, B.E.; El-Saadawi, M.M.; El Moursi, M.; Hassan, M.; Eladl, A.A. IoT-based optimal demand side management and control scheme for smart microgrid. Int. J. Electr. Power Energy Syst. 2021, 127, 106674. [Google Scholar] [CrossRef]
  11. Bahmanyar, D.; Razmjooy, N.; Mirjalili, S. Multi-objective scheduling of IoT-enabled smart homes for energy management based on Arithmetic Optimization Algorithm: A Node-RED and NodeMCU module-based technique. Knowl. Based Syst. 2022, 247, 108762. [Google Scholar] [CrossRef]
  12. Ahammed, M.T.; Khan, I. Ensuring power quality and demand-side management through IoT-based smart meters in a developing country. Energy 2022, 250, 123747. [Google Scholar] [CrossRef]
  13. Ebrahimi, J.; Abedini, M. A two-stage framework for demand-side management and energy savings of various buildings in multi smart grid using robust optimization algorithms. J. Build. Eng. 2022, 53, 104486. [Google Scholar] [CrossRef]
  14. Tostado-Véliz, M.; Arévalo, P.; Kamel, S.; Zawbaa, H.M.; Jurado, F. Home energy management system considering effective demand response strategies and uncertainties. Energy Rep. 2022, 8, 5256–5271. [Google Scholar] [CrossRef]
  15. Alhasnawi, B.; Jasim, B.; Rahman, Z.-A.; Siano, P. A Novel Robust Smart Energy Management and Demand Reduction for Smart Homes Based on Internet of Energy. Sensors 2021, 21, 4756. [Google Scholar] [CrossRef]
  16. Dinh, H.T.; Yun, J.; Kim, D.M.; Lee, K.-H.; Kim, D. A Home Energy Management System with Renewable Energy and Energy Storage Utilizing Main Grid and Electricity Selling. IEEE Access 2020, 8, 49436–49450. [Google Scholar] [CrossRef]
  17. Alhasnawi, B.N.; Jasim, B.H. SCADA controlled smart home using Raspberry Pi3. In Proceedings of the 2018 International Conference on Advance of Sustainable Engineering and Its Application (ICASEA), Wasit-Kut, Iraq, 14–15 March 2018. [Google Scholar] [CrossRef]
  18. Li, G.; Li, Q.; Liu, Y.; Liu, H.; Song, W.; Ding, R. A cooperative Stackelberg game based energy management considering price discrimination and risk assessment. Int. J. Electr. Power Energy Syst. 2022, 135, 107461. [Google Scholar] [CrossRef]
  19. Alhasnawi, B.N.; Jasim, B.H. A New Energy Management System of On-Grid/off-Grid Using Adaptive Neuro-Fuzzy In-Ference System. J. Eng. Sci. Technol. 2020, 15, 3903–3919. [Google Scholar]
  20. Alhasnawi, B.N.; Jasim, B.H. A Novel Hierarchical Energy Management System Based on Optimization for Multi-Microgrid. Int. J. Electr. Eng. Inform. 2020, 12, 586–606. [Google Scholar] [CrossRef]
  21. Rocha, H.R.; Honorato, I.H.; Fiorotti, R.; Celeste, W.C.; Silvestre, L.J.; Silva, J.A. An Artificial Intelligence based scheduling algorithm for demand-side energy management in Smart Homes. Appl. Energy 2021, 282, 116145. [Google Scholar] [CrossRef]
  22. Cao, W.; Pan, X.; Sobhani, B. Integrated demand response based on household and photovoltaic load and oscillations effects. Int. J. Hydrogen Energy 2021, 46, 39523–39535. [Google Scholar] [CrossRef]
  23. Alhasnawi, B.N.; Jasim, B.H.; Esteban, M.D.; Guerrero, J.M. A Novel Smart Energy Management as a Service over a Cloud Computing Platform for Nanogrid Appliances. Sustain. J. Rec. 2020, 12, 9686. [Google Scholar] [CrossRef]
  24. Rehman, A.U.; Wadud, Z.; Elavarasan, R.M.; Hafeez, G.; Khan, I.; Shafiq, Z.; Alhelou, H.H. An Optimal Power Usage Scheduling in Smart Grid Integrated with Renewable Energy Sources for Energy Management. IEEE Access 2021, 9, 84619–84638. [Google Scholar] [CrossRef]
  25. Alhasnawi, B.N.; Jasim, B.H. A new internet of things enabled trust distributed demand side management system. Sustain. Energy Technol. Assess. 2021, 46, 101272. [Google Scholar] [CrossRef]
  26. Abbasi, A.; Sultan, K.; Aziz, M.A.; Khan, A.U.; Khalid, H.A.; Guerrero, J.M.; Zafar, B.A. A Novel Dynamic Appliance Clustering Scheme in a Community Home Energy Management System for Improved Stability and Resiliency of Microgrids. IEEE Access 2021, 9, 142276–142288. [Google Scholar] [CrossRef]
  27. Alhasnawi, B.N.; Jasim, B.H. Adaptive Energy Management System for Smart Hybrid Microgrids. In Proceedings of the 3rd Scientific Conference of Electrical and Electronic Engineering Researches (SCEEER), Basrah, Iraq, 15–16 June 2020. [Google Scholar] [CrossRef]
  28. Sodhro, A.H.; Pirbhulal, S.; Sodhro, G.H.; Muzammal, M.; Zongwei, L.; Gurtov, A.; de Macedo, A.R.L.; Wang, L.; Garcia, N.M.; de Albuquerque, V.H.C. Towards 5G-Enabled Self Adaptive Green and Reliable Communication in Intelligent Transportation System. IEEE Trans. Intell. Transp. Syst. 2021, 22, 5223–5231. [Google Scholar] [CrossRef]
  29. Lakhan, A.; Li, J.; Groenli, T.M.; Sodhro, A.H.; Zardari, N.A.; Imran, A.S.; Thinnukool, O.; Khuwuthyakorn, P. Dynamic Application Partitioning and Task-Scheduling Secure Schemes for Biosensor HealthcareWorkload in Mobile Edge Cloud. Electronics 2021, 10, 2797. [Google Scholar] [CrossRef]
  30. Forcan, M.; Maksimović, M. Cloud-Fog-based approach for Smart Grid monitoring. Simul. Model. Pract. Theory 2019, 101, 101988. [Google Scholar] [CrossRef]
  31. Alhasnawi, B.; Jasim, B.; Siano, P.; Guerrero, J. A Novel Real-Time Electricity Scheduling for Home Energy Management System Using the Internet of Energy. Energies 2021, 14, 3191. [Google Scholar] [CrossRef]
  32. Alhasnawi, B.N.; Jasim, B.H.; Esteban, M.D. A New Robust Energy Management and Control Strategy for a Hybrid Microgrid System Based on Green Energy. Sustain. J. Rec. 2020, 12, 5724. [Google Scholar] [CrossRef]
  33. Ouramdane, O.; Elbouchikhi, E.; Amirat, Y.; Le Gall, F.; Gooya, E.S. Home Energy Management Considering Renewable Resources, Energy Storage, and an Electric Vehicle as a Backup. Energies 2022, 15, 2830. [Google Scholar] [CrossRef]
  34. Iqbal, M.M.; Zia, M.F.; Beddiar, K.; Benbouzid, M. Optimal Scheduling of Grid Transactive Home Demand Re-sponsive Appliances Using Polar Bear Optimization Algorithm. IEEE Access 2020, 8, 222285–222296. [Google Scholar] [CrossRef]
  35. Khalid, A.; Javaid, N.; Guizani, M.; Alhussein, M.; Aurangzeb, K.; Ilahi, M. Towards Dynamic Coordination Among Home Appliances Using Multi-Objective Energy Optimization for Demand Side Management in Smart Buildings. IEEE Access 2018, 6, 19509–19529. [Google Scholar] [CrossRef]
  36. Khalid, A.; Javaid, N.; Mateen, A.; Khalid, B.; Khan, Z.A.; Qasim, U. Demand Side Management using Hybrid Bacterial Foraging and Genetic Algorithm Optimization Techniques. In Proceedings of the 2016 10th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS), Fukuoka, Japan, 6–8 July 2016. [Google Scholar] [CrossRef]
  37. Khalid, A. Towards Energy Effciency in Smart Buildings Exploiting Dynamic Coordination among Appliances and Homes. Ph.D. Thesis, Computer Science COMSATS University Islamabad, Islamabad, Pakistan, 2018. [Google Scholar]
  38. Alhasnawi, B.N.; Jasim, B.H.; Mansoor, R.; Alhasnawi, A.N.; Rahman, Z.-A.S.A.; Haes Alhelou, H.; Guerrero, J.M.; Dakhil, A.M.; Siano, P. A new Internet of Things based optimization scheme of residential demand side management system. IET Renew. Power Gener. 2022, 1–15. [Google Scholar] [CrossRef]
  39. Ferahtia, S.; Rezk, H.; Abdelkareem, M.A.; Olabi, A. Optimal techno-economic energy management strategy for building’s microgrids based bald eagle search optimization algorithm. Appl. Energy 2022, 306, 118069. [Google Scholar] [CrossRef]
  40. Alsattar, H.A.; Zaidan, A.A.; Zaidan, B.B. Novel meta-heuristic bald eagle search optimisation algorithm. Artif. Intell. Rev. 2020, 53, 2237–2264. [Google Scholar] [CrossRef]
  41. Alhasnawi, B.N.; Jasim, B.H.; Sedhom, B.E.; Guerrero, J.M. Consensus Algorithm-based Coalition Game Theory for Demand Management Scheme in Smart Microgrid. Sustain. Cities Soc. 2021, 74, 103248. [Google Scholar] [CrossRef]
  42. Tajalli, S.Z.; Mardaneh, M.; Taherian-Fard, E.; Izadian, A.; Kavousi-Fard, A.; Dabbaghjamanesh, M.; Niknam, T. DoS-Resilient Distributed Optimal Scheduling in a Fog Supporting IIoT-Based Smart Microgrid. IEEE Trans. Ind. Appl. 2020, 56, 2968–2977. [Google Scholar] [CrossRef]
  43. Franco, P.; Martinez, J.M.; Kim, Y.-C.; Ahmed, M.A. A Framework for IoT Based Appliance Recognition in Smart Homes. IEEE Access 2021, 9, 133940–133960. [Google Scholar] [CrossRef]
  44. Marzal, S.; Gonzalez-Medina, R.; Salas-Puente, R.; Garcera, G.; Figueres, E. An Embedded Internet of Energy Communication Platform for the Future Smart Microgrids Management. IEEE Internet Things J. 2019, 6, 7241–7252. [Google Scholar] [CrossRef] [Green Version]
  45. Jamborsalamati, P.; Fernandez, E.; Moghimi, M.; Hossain, M.J.; Heidari, A.; Lu, J. MQTT-Based Resource Allocation of Smart Buildings for Grid Demand Reduction Considering Unreliable Communication Links. IEEE Syst. J. 2019, 13, 3304–3315. [Google Scholar] [CrossRef]
  46. Alhasnawi, B.; Jasim, B.; Rahman, Z.-A.; Guerrero, J.; Esteban, M. A Novel Internet of Energy Based Optimal Multi-Agent Control Scheme for Microgrid including Renewable Energy Resources. Int. J. Environ. Res. Public Health 2021, 18, 8146. [Google Scholar] [CrossRef] [PubMed]
  47. Alhasnawi, B.N.; Jasim, B.H.; Sedhom, B.E.; Hossain, E.; Guerrero, J.M. A New Decentralized Control Strategy of Microgrids in the Internet of Energy Paradigm. Energies 2021, 14, 2183. [Google Scholar] [CrossRef]
  48. Hafeez, G.; Islam, N.; Ali, A.; Ahmad, S.; Alimgeer, M.U.A.K.S. A Modular Framework for Optimal Load Scheduling under Price-Based Demand Response Scheme in Smart Grid. Processes 2019, 7, 499. [Google Scholar] [CrossRef] [Green Version]
Figure 1. The components of the proposed smart grid scheme.
Figure 1. The components of the proposed smart grid scheme.
Inventions 07 00048 g001
Figure 2. The circuit of a photovoltaic cell based on a single-diode mode.
Figure 2. The circuit of a photovoltaic cell based on a single-diode mode.
Inventions 07 00048 g002
Figure 3. Typical current and voltage curves of a photovoltaic cell.
Figure 3. Typical current and voltage curves of a photovoltaic cell.
Inventions 07 00048 g003
Figure 4. The battery current curves at 0.083333C (400A) [32].
Figure 4. The battery current curves at 0.083333C (400A) [32].
Inventions 07 00048 g004
Figure 5. Flowchart of the proposed method.
Figure 5. Flowchart of the proposed method.
Inventions 07 00048 g005
Figure 6. (a) Procedure of MQTT; (b) MQTT component and topic.
Figure 6. (a) Procedure of MQTT; (b) MQTT component and topic.
Inventions 07 00048 g006
Figure 7. Communication building of the suggested system.
Figure 7. Communication building of the suggested system.
Inventions 07 00048 g007
Figure 8. ThingSpeak platform.
Figure 8. ThingSpeak platform.
Inventions 07 00048 g008
Figure 9. User interface design platform.
Figure 9. User interface design platform.
Inventions 07 00048 g009
Figure 10. Power GUI of suggested EMS without the corrective method.
Figure 10. Power GUI of suggested EMS without the corrective method.
Inventions 07 00048 g010
Figure 11. Cost GUI of suggested EMS without the corrective method.
Figure 11. Cost GUI of suggested EMS without the corrective method.
Inventions 07 00048 g011
Figure 12. Power GUI of suggested EMS with the corrective method.
Figure 12. Power GUI of suggested EMS with the corrective method.
Inventions 07 00048 g012
Figure 13. Cost GUI of suggested EMS with the corrective method.
Figure 13. Cost GUI of suggested EMS with the corrective method.
Inventions 07 00048 g013
Figure 14. Cost comparison of price without the suggested EMS and with the suggested EMS.
Figure 14. Cost comparison of price without the suggested EMS and with the suggested EMS.
Inventions 07 00048 g014
Table 1. Contributions vs. shortcomings of greatest recent studies concerning demand-side management systems.
Table 1. Contributions vs. shortcomings of greatest recent studies concerning demand-side management systems.
ReferenceContributionsShortcomings
[5]Introduced a strategy for solving the problem of the optimal power management of a microgrid system.
  • High computational complexity and a slow convergence rate.
[11]The authors introduced the multi-objective scheduling of IoT-enabled intelligent houses for energy management based on the arithmetic optimization algorithm.
  • The optimum cost-effective EMS process based on the bald eagle search optimization algorithm (BESOA) was not investigated.
[12]Proposed a low-cost smart meter design that ensures power quality for consumers’ appliances through smart monitoring and control with the help of IoT.
  • Pollutant emissions, low efficiency, and expensive operating and maintenance costs.
[13]Introduced a two-stage framework for demand-side management and energy savings for various buildings in a multi smart grid using the improved grey wolf optimization (IGWO) algorithm.
  • Data storage and processing using the ThingSpeak platform were not considered.
[14]Developed a home energy management system (HEMS) that included three novel demand response (DR) routines focused on peak clipping and demand-flattening strategies.
  • These algorithms were lacking in terms of accuracy and computational time.
[15]
Based on the energy internet, the authors proposed a new robust intelligent energy management and demand reduction system for intelligent households.
  • Data storage and processing on the ThingSpeak platform were not taken into account.
[16]
The authors proposed a residential energy management system using the main grid and selling electricity, as well as utilizing energy storage and renewable energy.
  • The most cost-effective DSMS operation based on an AI optimization problem supplemented with ToU was not investigated.
[17]
The authors proposed a Raspberry Pi3-based supervisory control and data acquisition (SCADA)-controlled smart home.
  • The most cost-effective DSMS operation based on an AI optimization problem supplemented with ToU was not investigated.
[18]
Risk assessment and price discrimination were considered as part of a cooperative Stackelberg game-based energy management proposal.
  • Did not consider the trade-offs between user discomfort and minimizing electricity bills.
[19]
The authors proposed novel demand-side management of off-grid/on-grid, utilizing a neuro-fuzzy system.
  • Data storage and processing using IoT were not considered.
[20]
The authors introduced a demand management scheme based on optimization for a multi microgrid.
  • In this reference, a stable, accurate, and efficient performance was achieved at the cost of high execution time.
[21]
The authors suggested an artificial intelligence-based scheduling system for energy management in intelligent households.
  • IoT data storage and processing were not taken into account.
[22]
The authors introduced an optimization procedure proposed based on integrated demand response (IDR) and degree of tolerance for home energy management.
  • The researchers did not account for real-time changes in user demand.
[23]
For nano grid devices, the authors proposed a novel intelligent energy management as a cloud service.
  • The most cost-effective DSMS operation based on an AI optimization issue supplemented with ToU was not investigated.
[24]
The authors proposed optimum power scheduling in microgrids combined with renewable energy sources for the demand management system.
  • Did not consider the trade-offs between minimizing electricity bills and user discomfort.
[25]
The authors proposed a new IoT-enabled distributed energy management system with a high level of trust.
  • The most cost-effective DSMS operation based on an AI optimization problem supplemented with ToU was not investigated.
[26]
For better microgrid stability and robustness, the authors implemented a new dynamic appliance clustering mechanism into the community household energy management system.
  • Use of the cloud for energy management systems in the smart grid was not examined in this reference.
[27]
For smart microgrids, the authors presented an adaptive demand management strategy.
  • Results were obtained with high computational complexity;
  • Data storage and processing using the IoT layer platform were not considered.
[28]
A 5G-based green and reliable communication system for a self-adaptive vehicular network in ITS is proposed to facilitate the end-users at cost-effective rates.
  • The optimal cost-effective DSMS operation based on BESOA was not investigated.
[29]
Devised a dynamic application-partitioning workload task-scheduling secure (DAPWTS) algorithm framework consisting of different schemes including min-cut algorithm, searching node, energy-enabled scheduling, failure scheduling, and security schemes.
  • The optimal cost-effective DSMS operation based on BESOA was not investigated.
Table 2. Electrical parameters of the SPR-305 E-WHT-D photovoltaic cell [32].
Table 2. Electrical parameters of the SPR-305 E-WHT-D photovoltaic cell [32].
ParametersValue
Voltage   of   open   circuit   V o c 64.2   V
Maximum   voltage   V m p 54.7   V
Temperature   coefficient   of   V o c 0.27269   ( % / ° C )
Short - circuit   current   I s c 5.96   A
Maximum   current   I m p 5.58   A
Temperature   coefficient   of   I s c 0.061745   ( % / ° C )
Shunt   resistance   R s h 269.5934 Ω
Series   resistance   R s 0.37152 Ω
Diode ideality factor0.945
Diode   saturation   current   I o 6.3 × 10 1 (A)
PV typeSPR-305E-WHT-D
Table 3. The pseudocode of the bald eagle search optimization algorithm [40].
Table 3. The pseudocode of the bald eagle search optimization algorithm [40].
1.
Random   initialize   point   P i for n-point
2.
Calculate   the   fitness   values   of   initial   point
3.
While (the termination conditions are not met)
Select Space
4.
For (Each point i in the population)
5.
P n e w = P b e s t + α × r a n d P m e a n P i
6.
I f   f P n e w < f P i
7.
P i = P n e w
8.
I f   f P n e w < f P b e s t
9.
P b e s t = P n e w
10.
End IF
11.
End IF
12.
End For
Search in space
13.
For (each point i in the population)
14.
P n e w = P i + y i × P i + P i + 1 + x i × P i P m e a n
15.
I f   f P n e w < f P i
16.
P i = P n e w
17.
I f   f X n e w < f P b e s t
18.
P b e s t = P n e w
19. 
End If
20. 
End If
21. 
End For
Swoop
22.
For (Each point i in the population)
23.
  P n e w = r a n d × P b e s t + x 1 i × P i c 1 × P m e a n + y 1 i × P i c 2 × P b e s t
24.
I f   f P n e w < f P i
25.
P i = P n e w
26.
I f   f P n e w < f P b e s t
27.
P b e s t = P n e w
28.
End If
29.
End If
30.
End For
31.
Set k = k + 1
32. 
End While
Table 4. Smart home appliance classification and parameters [48].
Table 4. Smart home appliance classification and parameters [48].
CategoriesTypePower (kW)Length of Operational Time (hour)
Shiftable appliancesWashing machine1.41–3
Dish washer1.321–3
Hair straightener0.00551–2
Hair dryer1.81–2
Microwave1.23–5
Computer0.156–12
Oven2.41–3
Iron2.42–4
Toaster0.83–5
Electric kettle21–2
Printer0.0111–2
Non-shiftable appliancesTV0.0956–14
Refrigerator1.750–23
Controllable appliancesAir conditioner1.146–8
Lightning0.112–20
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Alhasnawi, B.N.; Jasim, B.H.; Siano, P.; Alhelou, H.H.; Al-Hinai, A. A Novel Solution for Day-Ahead Scheduling Problems Using the IoT-Based Bald Eagle Search Optimization Algorithm. Inventions 2022, 7, 48. https://doi.org/10.3390/inventions7030048

AMA Style

Alhasnawi BN, Jasim BH, Siano P, Alhelou HH, Al-Hinai A. A Novel Solution for Day-Ahead Scheduling Problems Using the IoT-Based Bald Eagle Search Optimization Algorithm. Inventions. 2022; 7(3):48. https://doi.org/10.3390/inventions7030048

Chicago/Turabian Style

Alhasnawi, Bilal Naji, Basil H. Jasim, Pierluigi Siano, Hassan Haes Alhelou, and Amer Al-Hinai. 2022. "A Novel Solution for Day-Ahead Scheduling Problems Using the IoT-Based Bald Eagle Search Optimization Algorithm" Inventions 7, no. 3: 48. https://doi.org/10.3390/inventions7030048

Article Metrics

Back to TopTop