Abstract

Smart grid is a new vision of the conventional power grid to integrate green and renewable technologies. Smart grid (SG) has become a hot research topic with the development of new technologies, such as IoT, edge computing, artificial intelligence, big data, 5G, and so on. The efficiency of SG will be increased by smart embedded devices that have intelligent decision-making ability. Various types of sensors and data sources will collect data of high resolution. One of the vital challenges for IoT is to manage a large amount of data produced by sensors. Sending this massive amount of data directly to the cloud will create problems of latency, security, privacy, and high bandwidth utilization. This issue is addressed by edge computing (EC). In EC, the data are processed at the edge of the network that is near the embedded gadgets. This paper provides a comprehensive review of the smart grid systems, based on IoT and EC. The development in the rising technologies, the framework for EC-IoT-based SG, and requirements to implement the EC-IoT-based SG system are highlighted in the paper. Framework for EC-IoT-based SG is examined, and important requirements to implement the EC-IoT-based SG system are outlined. Finally, some critical issues and challenges faced in the implementation of EC-IoT-based SG systems are identified. Some important open research issues are also identified.

1. Introduction

An immense number of loosely interlinked synchronous alternate current grids are involved in traditional power grids. Generation, transmission, and distribution of electrical power are the three main activities of traditional grids [1]. The direction of power flow in this system is unidirectional. Electrical energy is generated by a large number of power plants like hydroelectric power plants, coal-fired power plants, nuclear power plants, and diesel-fired power plants. Then, the produced electricity is transmitted through high-voltage transmission lines to distant load centres. At the distribution end, the electrical power is distributed to consumers by the electrical distribution systems at a lower voltage. A centralized system is used to monitor and control each grid so that the energy generated by the power plants should be sufficient for the needs of consumers and within the limits of the power plants. All these tasks (generation, transmission, and distribution) are performed by utility companies, who supply electrical power to consumers, and a billing mechanism is used for the recovery of their costs and earning profit. The consumption of electrical energy has increased dramatically since 1970 [2]. A notable amount of energy is wasted because of ineffectual appliances of consumers, smart technology absence, irregular monitoring, communication, and system’s deficiency to stock produced electrical energy [3]. Nowadays, power grids are facing some challenges like security, reliability, growing renewable energy sources, and rising energy demands.

The smart grid is an optimal solution to these challenges. There are numerous types of sensors and power terminals in smart grids like temperature sensors, humidity sensors, video sensors, current leakage sensors, vibration sensors, and humidity sensors. These are supported by intelligent power systems based on IoT [4]. One of the wide-ranging applications of IoT is the smart grid [5]. SG has a bidirectional information flow between consumers and service providers. Smart grid is equipped with unofficial usage detection, smart meters, advanced metering infrastructure (AMI), load balancing, and fault tolerance [68].

According to the need for energy, SG makes important decisions like electrical energy consumption scheduling, real-time pricing, self-healing, and power usage. The power quality and the efficiency of the grid can be improved by these decisions [8]. Automation, connectivity, and tracking of an immense number of devices require analysis, distributed monitoring, two-way communications, and high-speed control. These are the main objectives of the smart grid. Distributed automation of the smart grid is required to achieve these objectives.

IoT is a mesh of physical things or objects that are connected to the Internet. These objects interconnect with external and internal environments with the help of embedded technology. Such physical things analyze, sense, control, and decide independently or in alliance with other things by way of two-way communication and high-speed control. This is also essential for the smart grid [9]. IoT is the result of current progress in embedded processing, wireless, and sensing technologies. IoT offers improved and structured control and monitoring services [10]. Applications like smart home, health care, smart building, smart grid, smart industry, smart city, and smart agriculture are covered by IoT [11]. The number of objects connected to the Internet exceeded the number of people present in the world [1]. IoT-based smart grids need six fundamental technologies which include software-defined objects, model protocols, edge computing-based analysis, intelligent sensing, low cost, and network information security. Edge computing is the major technology to attain real-time demand response for IoT-based smart grids [12, 13].

IoT devices are generating an enormous amount of data, while the resources of IoT devices are limited. Therefore, the application tasks from the IoT devices should be offloaded to the remote cloud data centres. If all the tasks are offloaded to the cloud, then it puts a significant burden on the network. This issue can be solved by edge computing. Computation offloading is formulated as an optimization problem to minimize offloading cost and provide performance guarantees [1419]. Cloud computing resources are located at distant data centres due to which communication latency and network bandwidth become serious problems. For emerging IoT applications, EC is a better choice than cloud because computing resources are available closer to the user. Our survey deals with the integration of edge computing with IoT-based smart grid. Framework for EC-IoT-based SG is examined, and important requirements to implement the EC-IoT-based SG system are outlined. Finally, some critical issues and challenges faced in the implementation of EC-IoT-based SG systems are also identified.

This paper is organized as follows. In Section 2, surveys related to EC and IoT-based SG are provided. Section 3 provides an overview of IoT and EC. In this section, the development of key technologies in the context of the IoT domain is presented and EC is compared with fog computing and cloud computing. Section 4 reviews IoT-enabled SG. The integration of EC with IoT-enabled SG is discussed in Section 5, in which the framework for EC-IoT-based SG is presented and some important requirements to implement this framework are discussed. Open research challenges and issues are provided in Section 6. The paper is concluded in Section 7.

In this section, the literature reviews of the related terminologies such as edge computing and IoT-based smart grid are discussed.

2.1. Edge Computing

EC is classified into different groups based on architecture. Their performance is compared by bandwidth, network latency, integrity, availability, overhead, and energy consumption [20]. Research on EC and technologies implementing EC are reviewed in [21]. Reference [22] investigates the principal challenges of mobile edge computing (MEC) related to wireless resources that are based on evolutionary and classic games. The utilization of EC technology to implement IoT applications is surveyed in [23]. The technical aspects of permitting MEC into IoT are also discussed, and some insights into other integration technologies are also provided. Shahzadi et al. [24] provided a review of widespread MEC frameworks together with relative analysis of present approaches concerning different performance parameters. The relative analysis uses different parameters such as network performance, system performance, system migration overhead, and deployment overhead to estimate the usefulness of various approaches. Future research directions and state of the art for multiaccess edge computing are also investigated.

In [25], a tutorial is presented on three models of EC technologies including fog computing, cloudlets, and MEC. Architectures, principles, applications, efforts, and standardization are outlined and compared in this tutorial. The characteristics of fog computing based on radio access networks and the difference between fog computing and mobile edge computing in terms of radio access networks are also discussed. First, an overview on mobile edge networks including architecture, definition, and advantages is given and then a comprehensive review on communication techniques, computing, and caching at the edge of the network is presented in [26]. The use cases and applications of edge network are discussed, and future directions and open research challenges are also indicated. In [27], Mao et al. mainly focused on MEC research with the centre of attention joint radio and computational resource management. The main objective of [28] is to analyze challenges, security threats, and operations in edge paradigms. Venues of collaboration and potential cooperation are highlighted.

Afolabi et al. [29] described the slicing of the network concerning an end-to-end viewpoint. Key concepts, historical inheritance, solutions, and enabling technologies are also elaborated. More specifically, the work in [29] reviews the network needs and different use cases of network slicing, end-to-end arrangement and operation, preslicing period, radio access encompassing, core network, and transport network. The details of particular slicing solutions for every segment of the 5G system are also provided. The terms including cloudlets, fog computing, and MEC are investigated together under the super ordinate concept of “edge computing” [30]. The real potential of EC can be achieved by serving the SDN as an enabler to lessen the complexity barriers. A review of the MEC framework and architecture defined by ETSI and tutorial on MEC technology is presented in [31]. The reference scenarios and vital use cases where MEC can be applied are first described and then present technologies integrating MEC features to the mobile networks are surveyed, and present development in MEC standardization is discussed in [32]. Some examples of MEC placement with particular reference to IoT cases are also provided. Edge-centric vision enfolding and its future research challenges are the main objectives of [33].

None of the surveys presented above focus on the application of EC in SG. Table 1 presents the summary of the above surveys which also supports our argument. We intend to present a comprehensive review that covers the application of EC in SG.

2.2. IoT-Based Smart Grid

Turjman and Abujubbeh [34] focused on the comprehensive review of the feasibility of implementing smart meter for reliability and power quality monitoring. An overview is provided on wireless communication technologies, routing algorithms, and smart meters as enabling technologies in advanced meter infrastructure (AMI). Another survey [35] provides a short review of technologies and tools that are used in smart electricity meter data analytics. Similarly, Parra et al. [36] focused on a security tool for SG and industrial Internet of things (IIoT) named deep packet inspection. Existing models and recommendations are studied and deep packet inspection is evaluated as a security tool for smart grid. The main focus is security threats and vulnerabilities in IoT-based SG systems.

The application of IoT in electrical power and energy systems is studied in [37]. The IoT value and significance in a network of electrical power, challenges, recommendations, and environmental, economic, and collective effects of electrical power systems are investigated. In [37], the authors provide a review on smart grid technologies. It is a short survey that also includes IoT and energy management system as well as smart metering. The application of IoT in SG is presented in [38], and a short overview of challenges, opportunities, and future directions is also provided. Sun et al. [39] provided a systematized review on evolution and deployment of smart meters; the authors also presented recommendations regarding future evolution of smart energy meters. Reference [40] aims to present a comprehensive survey on the application of blockchain in SG, and important security challenges that can be directed by blockchain are identified. Several present works addressing security issues in the domain of SG by blockchain are presented, and important research challenges and future research directions of the application of blockchain in security issues of the smart grid are also discussed. The framework for SG communication’s predicted capabilities and capacities is presented in [41]. The studies and solutions in which 5G is used to empower the applicability of smart grids are surveyed. The importance of a key management system (KMS) for the security of advanced metering infrastructure (AMI) in the smart grid is highlighted in, [42]. The survey presents all the important security challenges of AMI in SG. First, the installation framework of SG, the major characteristics of AMIs, and the interconnection between AMI and SG are discussed. Then, main features of AMI are explored and security challenges and issues are introduced; finally, the challenges and future directions for KMS in AMI are summarized. Musleh et al. [43] surveyed the history, diversity, and consequences of the “False Data Injection Attacks (FDIAs)” in SG so that improved recognition algorithms could be developed to address these challenges; different techniques are used for the detection of FDIA in smart grids; the criteria for most important growing future FDIA recognition algorithms is defined under the considerations of NIST’s guidelines. A short overview of real cyberattacks on legacy energy networks and the smart metering networks is provided in [44]; various schemes are proposed to handle these attacks, and future research directions in smart grid metering networks are also investigated. Another survey [45] discusses present constraints in various microgrid configurations that relate to particular communication performance metrics with the successful functioning of microgrid with wireless and wired technologies. The impact of wired and wireless communications on the microgrid is experimentally analyzed. The survey aims to pinpoint the requirements of communication networks for solid applications of MGs and MG clusters. Reference [46] discusses the alternatives of XMPP as middleware and web services and the replacement of XML for serialization. YAM14, ICE, and ZeroMQ are the middleware that works well, and protostuff and protobuff are the serializations that will perform better. A comprehensive review of IoT-aided SG systems is presented in [47]. It consists of present architectures, implementations, and prototypes of IoT-aided SG systems. The summary of the above surveys is comparatively presented in Table 2. IoT and EC are the peer technologies for the future SG. The following section provides a brief overview of these technologies.

3. IoT and Edge Computing: An Overview

In this section, Internet of things is described to explore its various aspects.

3.1. Internet of Things

IoT is the structure of interconnected devices that can transfer data over the network, where it is interpreted on the computer by humans. Millions of smart devices are established in composite networks to deliver energetic functionalities which include monitoring and controlling important infrastructure and communications [49]. Three main concepts are focused on IoT, things-oriented, internet-oriented, and semantic-oriented. Smart devices like sensors, RFID tags, actuators, laser scanners, cameras, NFC, and GPS are involved in things-oriented concepts. The internet-oriented concept provides communication between smart devices by means of different communication technologies like WiFi, ZigBee, Bluetooth, and so on.

The semantic-oriented concept comprehends diverse applications with the assistance of smart devices. The importance of IoT technology has increased in recent years. IoT interconnects different network embedded devices that are used in daily life with the Internet. Various systems like military, healthcare, home appliances, transportation, surveillance, security, power grids, and agriculture have been automated with the help of IoT [50]. Almost every feature of IoT has been investigated in literature reviews [5154] beginning from architectural elements and the essential permissive technologies to the field of implementation and open challenges.

The wireless networks that are used for communications in IoT are investigated in [5560]. IoT objects are standard devices that are equipped with transceivers, protocol stacks, and microcontroller. Figure 1 shows the Internet of things and connected components. Completely automated systems can be realized by enabling communication of IoT devices with other devices and with external entities like humans [61]. The emerging and present technologies for the health Internet of things are reviewed in [62].

The development of health Internet of things is underlined by three major technologies: (1) sensing, where there is an escalated push in power efficiency and miniaturization; (2) communications, where pervasive connectivity, wide availability of cloud infrastructure and standardized protocols are enabling factors; and (3) inference and data analytics, where the accessibility of massive amount of data and computational resources is transforming algorithms for characterizing inference and actions in health management. The physical Internet (PI or π) [63] has evolved as a worldwide logistics system where products are moved, stored, and handled efficiently and sustainably. To accomplish this goal, PI needs a high-level interconnectivity between the physical, operational, and informational features, enabled by an interconnected network of collaborative protocols, intermodel hubs and smart, modular, as well as standardized containers. In this frame of reference, PI is the vital contestant to benefit from the IoT revolution as it substantially provides end-to-end visibility of PI objects, systems, and operations through universal information exchange. Figure 2 shows the development of key technologies in the context of the IoT application domain.

3.2. Edge Computing

With the speedy evolution of the Internet of things, the number of smart devices connected to the Internet is increasing day by day, which has resulted in the unavailability of bandwidth, poor privacy, poor security, and low response in conventional cloud computing paradigms. To solve these issues, a new computing paradigm named “edge” has been introduced.

The development of edge computing is introduced in [64]–[66]. Weisong et al. [64] defines EC as any network and computing resources through the path between data sources and cloud data centers. The authors sketch the framework of EC in which cloud service is represented by EC downlink data, the network and computing resources among the origin of data and the pathway of cloud computing center are represented by the edge of EC and the IoT is illustrated by the uplink data. A professor at “Carnegie Mellon University” in the US named Satya Narayanan sketches edge computing as “edge computing is a new computing model that deploys computing and storage resources (such as cloudlets, microdata centres, or fog notes) at the edge of the network closer to the mobile devices or sensors” [67]. EC carries out computation at the edge of the network. It emphasizes near to the user and near to the data source. It is real-time, reliable, and faster. The problems such as excessive energy utilization by cloud computing, pressure on network bandwidth, time delay, and higher costs of cloud infrastructure can be solved by this paradigm [68]. EC can fulfil the crucial requirements of the industry related to IT in optimization of data, sharp linking, application surveillance, real-time business, privacy, and security. Nowadays, EC is the centre of research for researchers [6973].

3.2.1. Difference between Edge and Fog

Fog computing is defined by SISCO as “a highly virtualized platform that provides computing, storage, and networking services between end devices and traditional cloud computing data centres, typically but not exclusively located at the edge of the network” [74]. Fog computing provides networking, computing, and storage facilities among end-user devices and conventional cloud computing centres, and it is a supremely virtualized platform. It is generally understood as execution of edge computing [28, 75, 76]. The function of fog computing is to provide storage, disperse computing, networking potentialities, and control near to the user [77]. Table 3 provides a comparison between fog computing and edge computing.

3.2.2. Comparison of Edge and Cloud

Cloud computing is defined in NIST [78] as “a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, application, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.” The authors in [79] proposed a reference architecture for cloud computing. It presents a primal overview and recognizes the major participants and their responsibilities in cloud computing. Cloud computing consists of two-layer architecture (end device and data centre of cloud) while edge computing may have three-, four-, or five-layer architecture. In the edge paradigm, networking, storage, and computation are performed near to the end user and also in the central data centre. In cloud computing, entire data processing is in central data centre and end devices should hold up from performing subsequent step until the processed results of data are returned by the data centre. Storage and computation in EC is performed at various sites because of the accessibility of various levels of processing capacity dispersed in multi-layer infrastructures. To highlight the differences between edge computing and cloud computing, Table 4 sums up their differences regarding their technical parameters and general characteristics [28, 68, 80, 81].

IoT is the driving force behind the SG concept. It plays an important role in grid construction and improves maintenance, planning, and operations in SG. The following section discusses the integration of IoT with SG.

4. IoT-Enabled Smart Grid

The IoT technology offers a remarkable role in the construction of the grid. The main objective of the smart grid is to enhance planning, operations, and maintenance by verifying that every component of the grid is capable of “listening” and “talking.” If there is any disruption in the service, then it is known by the utility company only when the customer complains about that disruption. In SG, the disconnection of service will be automatically known by the utility because particular modules of the smart grid-like smart meters will send the collected data from the sensors. In this scenario, the IoT plays an important role because each component in the smart grid will have an IP address and it should support two-way communication. This is achieved with the help of IoT. Cooperation is required for the realization of high-speed, real-time, and two-way sharing of data across different applications [82]. The implementation of IoT in smart grids is categorized into three types, predicted on IoT three-layered architecture [83, 84]. First, IoT is implemented for the deployment of different smart devices that monitor the states of various components of SG (at IoT perception layer). Second, with the help of IoT smart devices, information is collected from the equipment through different communication technologies (at the network layer of IoT). Third, the IoT is implemented to control the SG by application interfaces (at the IoT application layer). The sensing devices of IoT generally consist of RFIDs, wireless sensors, cameras, machine-e-machine devices, infrared sensors, GPS, and laser scanners. SG information sensing is highly improved and supported by IoT technology. The IoT technology contributes a lot to the deployment of transmission and data sensing infrastructure for the SG, and it assists in network construction, maintenance, operation, security monitoring, safety management, user interaction, information collection, measurement, etc.

Moreover, the integration of power flow, distribution flow, and information flow in the SG is also enabled by IoT [85]. The main focus of existing SG architectures is to fulfil the necessities of power distributors to control the entire power grid [86]. A network of smart meters is used to access the consumers with the help of the “General Packet Radio Service (GPRS).”

A smart grid consists of four major subsystems, power generation, transmission, distribution, and power utilization. The application of IoT circles all these subsystems. In the power generation domain, IoT can be applied to control and monitor the energy consumption, equipment, units, pollutants’ discharge, gas emissions, power connection, and energy storage, as well as for the management of distributed power plants, wind power, pumped storage, photo-voltaic, and biomass power plants [87, 88]. In power transmission, IoT can be applied for controlling and monitoring transmission lines and substations and protection of transmission tower. In power distribution, IoT can be applied for distribution automation and equipment and operation management. In the power utilization domain, the IoT can be applied for automated meter reading, smart homes, charging and discharging of electric vehicles, energy consumption, home appliance information, controlling of power load, management and monitoring of energy efficiency, and management of power demand.

4.1. Smart Grid Communication Networks

There are three communication network layers of SG in terms of IoT technology and communication technologies: (a) home area networks (HANs), (b) neighbor area networks (NANs), and (c) wide area networks (WANs) [89].

4.1.1. Home Area Networks

HANs control the on-demand energy requirements of the consumers and comprise home appliances (air conditioners, televisions, washing machines, ovens, and refrigerators), smart devices, electrical vehicles, and renewable energy resources. It is deployed in commercial buildings, industrial plants, and residential units, and it provides the connection between electrical appliances and smart meters [2]. The communication technologies that are preferably used in HANs are WiFi, Bluetooth, ZigBee (Wireless technologies), and power line communications (wired technology). Wireless technologies are more suitable for HANs because their configuration is simple and nodes are excessive. The HAN uses the signal that has lower power with a short data range and lower frequencies [90]. Generally, there are three major components of HAN: gateways, communication protocols, and devices. All the devices communicate with each other through gateways. The compatibility between hardware devices and the exchange of data among them is ensured by the communication protocol. The devices are utilized to deliver information for the aim of energy management [91]. The function of IoT and advance sensing for the monitoring of energy flow in the smart grid is presented in [92].

4.1.2. Neighbor Area Networks

NANs are deployed in the distribution domain [93]. It is the second communication network layer of SG and contains smart meters that belong to numerous HANs. NAN facilitates communication among field devices and distribution substations. It gathers metering and service information and then it sends this information to data collectors that connect the NANs to the WAN [2].

The main purpose of NAN in the SG is to perform as a communication bridge, linking HAN to WAN, and through this, real-time energy consumption data of smart appliances placed in HAN are transmitted [94]. Both wired and wireless communication technologies are suitable for NAN. The ability of 5G and optical fibre to handle real-time latency applications makes them supreme technologies for NAN applications. NAN is largely deployed in AMI, and its range of application areas is expanding, e.g., distributed energy resource integration and advanced distribution automation [95]. In [96], the authors provide a structured approach to produce a scale-free topology for wireless-mesh NANs in SG. To confirm the scale-free property generated from the proposed approach, theoretical analysis is performed. Reference [97] presents a “constrained broadcast scheme with minimized latency (CBS-ML)” for NAN communications. The broadcast is constrained to a less number of core nodes to keep away from traffic congestion.

4.1.3. Wide Area Networks

WAN is considered as a backbone network in the power system as it provides the connection between the major core network and widely expanded smaller networks (NAN, IAN, and BAN). It provides unification between power transmission systems, renewable energy sources, bulk generation systems, and control systems [2]. PMUs that are deployed on the bus bar of the substation record the voltage and current phasor data. The data obtained from these PMUs are sent to the territorial transmission operator via WAN. The energy management system makes use of these data for protection, monitoring, and real-time control of the grid [98]. High bandwidth is required by WAN to transmit data from the backhaul network to the principal control centre. So, the communication technologies that are used for WAN generally have larger bandwidth, high data rate, low latency, and the largest range. Both wired and wireless technologies can be utilized in WAN connectivity. Fibre optics and PLC provide the efficient and secure transfer of data; however, cellular technologies are preferred by more utility vendors to connect WAN to the AMI system [99]. Cellular technologies are efficient and fast WAN connectivity solutions.

4.2. IoT-Enabled SG Architectures

Several architectures are proposed for IoT-based smart grid. A three-layer architecture is extensively used in the literature for IoT-based SG systems. The three-layer architecture proposed in [100105] is comprised of three layers, perception layer, network layer, and application layer. The perception layer utilizes various types of sensors, tags, and readers to collect data from devices or terminals. It is also called the device layer. The network layer consists of various kinds of wired and wireless communication networks (like WiFi, ZigBee, 2G, 3G, 4G, cable, broadband, and private networks) and the Internet. Due to its mature technologies, the network layer is widely accepted. It maps the information collected by the sensors in the perception layer to the communication protocols. These mapped data are routed and transmitted to the application layer. The IoT information and management centres are also related to the network layer. The application layer processes the information obtained from the network layer and then it troubleshoots and monitors the IoT devices in real time, based on the processed information. It makes use of various types of IoT technologies to handle a wide set of IoT applications and has an application structure.

Application structure manages the computing, information processing, and interface with resources. The integration of communication technologies through the application layer can be accomplished by IoT.

Reference [106] presents a four-layer architecture that consists of the application layer, cloud layer, network layer, and device layer. The device layer consists of two sublayers, a thin layer and a gateway layer. Thing layer contains various type of sensors, tags, actuators, and smart meters. The gateway layer contains communication modules, microcontrollers, storage, and local display. The services are provided to end user by application layer, and it includes dynamic pricing, demand response management, and energy management. Wang et al. [107] also proposed a four-layer architecture for IoT-based SG systems. It is comprised of the master station layer, remote communication layer, fieldwork layer, and terminal layer. In this architecture, the master station layer relates to the application layer of the IoT, the remote communication layer relates to the network layer, and the field network and terminal layers are related to the perception layer of the IoT. In [108], the authors reviewed the four-layer and three-layer models. They also proposed a four-layer model that consists of the social layer at the top followed by the perception layer, network layer, and application layer. The IoT applications are regulated by the social layer.

A five-layer architecture model named “Smart Grid Architecture Model (SGRAM)” is the outcome of EU Mandate M/490’s architecture group [109]. It is comprised of component, communication, information, function, and business layers as given in Table 5. These are defined as interoperability layers [110]. Every interoperability layer consists of SG plane that deals with information management zones and electrical domains. The main objective of this model is the interaction of various domains with each other over information management zones.

5. Integration of Edge Computing with IoT-Enabled Smart Grid

The smart grid is a pioneering technology that is transforming the conventional grids so that utility costs and global warming could be turned down using smart appliances, renewable energy resources, and smart meters. The IoT-enabled smart grid has already been largely adopted in terms of information sensing, processing, and transmission. Traditional cloud computing has not been able to fulfil the needs of IoT data processing because cloud servers are located geographically in distant areas that need multihop communication. The communication delay is not acceptable in some real-time applications. IoT devices transmit raw data to the clouds that impose a massive load on the communication network. Therefore, response time and latency become unreliable. The data gathered by IoT contain private or sensitive information related to the user, so if the raw data are directly sent to the public cloud, then the third party can approach that data and it will raise security and privacy concern. To address these issues, EC performs data processing at the edge of the IoT system. EC reduces the network load as well as the latency for real-time applications. EC is considered a favorable solution to overcome the drawbacks of cloud computing in the smart grid as it provides storage resources and intensive computation at the edge of the network [111].

5.1. Framework of EC-IoT-Enabled SG

An EC system for IoT-enabled SG is proposed in [12] to overcome the drawbacks of the present cloud computing paradigm. The paper proposes an EC hardware and software framework for SG which is comprised of 5 layers (device layer, network layer, data layer, application layer, and cloud computing layer). It is presented in three layers: the device layer, the edge layer, and the cloud layer. The device layer is the first layer that functions as a communication bridge between SG devices, and it consists of IoT objects like actuators, controllers, and sensors that monitor equipment, smart meters, smart appliances, services, or activities in SG operation. The IoT devices can perform preprocessing on the data, but these devices are not capable of fully processing the data because of their limited computation and memory. Therefore, they offload the rest of the computation to the upper layers. Normally, a wireless standard is applied in IoT environments such as Bluetooth, WiFi, ZigBee, 4G/5G, and so on [112].

Edge is the central layer in the framework. It is situated at the edge of the network and comprises a large number of edge nodes. In this layer, the data produced in the device layer are filtered and preprocessed and then transferred to the cloud. Various edge nodes at different locations in the SG system send real-time data to the edge server where necessary computation is performed and the results are sent to the central data centre in the cloud. Edge gateways are computers with larger capacities that perform the function of intersection among the IoT layer devices and the cloud. This layer also includes network management, computing management, and memory management modules [12]. The edge computing devices ensure the secure access of various objects in the device layer and maintain themselves and the cloud computing layer to work collectively through application program interfaces (APIs). As edge servers are deployed close to the users, by providing storage and computational resources at the edge, EC can reduce the latency for end devices and can provide a real-time response for end-user applications [113].

Cloud computing is the third layer in the framework. EC does not suggest that cloud computing will be forbidden; it is still a key element of hierarchical structure for IoT and is a combined storage and computing platform. It is comprised of storage devices and various high-performance servers that can store and process large-scale data and provide various application services. It is in charge of permanent data storage and computational analysis of datasets. This layer receives summarized data from each edge node and carries out a global analysis of the received data. Moreover, the cloud computing layer forwards policies to the edge layer to enhance the quality of latency-sensitive services [114].

The purpose of EC in SG is to compensate for the high-latency, drastic network energy consumption of the cloud and to provide security and real-time response to end users. This framework can solve the problems of real-time requirements, the heterogeneous connection of massive data, and intelligence in the SG system.

5.2. EC-IoT-Enabled SG Requirements

To turn the vision of EC-enabled SG into reality, some core requirements are outlined and explained. These requirements include compatibility, sustainability, reliability and scalability, resource management, flexibility, security, and privacy.

5.2.1. Compatibility

Compatibility is the ability of various systems to understand and make use of each other functions. Compatibility or interoperability is one of the critical requirements in the design of EC-IoT-enabled SG systems. The challenge of compatibility in EC-IoT-enabled SG arises because of a large number of heterogeneous devices using different protocols. To empower smooth operation, EC frameworks must be able to deliver support for compatibility as shown in Figure 3. It can be implemented in SGs by open-source frameworks and utilizing interoperable interfaces.

5.2.2. Sustainability

Another important requirement for designing EC infrastructure for SG is sustainability. It is referred to as the utilization of renewable energy resources and energy-efficient designs to minimize the universal carbon footprint. The three major aspects that are connected to the sustainability of EC-IoT-enabled SG are energy-efficient design [115, 116], energy harvesting [117119], and use of renewable energy sources [120]. There are three important characteristics of energy-efficient design, such as energy-efficient resource management, energy-efficient hardware, and energy-efficient software. The function of energy harvesting is to extract the energy from external sources to operate small devices such as wearable devices and sensors.

5.2.3. Reliability and Scalability

In the smart grid, there will be a large number of sensors, actuators, and other smart devices, due to which data traffic will be increased exceptionally. EC gives a solution to enable latency-sensitive and resource-intensive SG applications. To establish a scalable EC infrastructure, we have to contemplate reliable performance for the increasing number of smart devices, diverse networks, and end users [121]. Scalability in EC infrastructure can be obtained by adding the new service providing points. Scalable hardware and scalable software are required for the inclusion of new serving points. On the other hand, elevated issues of reliability in EC infrastructure can be raised due to its hardware/software failures and dynamic nature.

5.2.4. Resource Management

For efficient management of computation, storage, and communication resources among various players in SG for the optimization of overall system performance, we must come up with resource management schemes that contemplate latency [122], energy [123125], user-defined utility [126], and capacity of traffic handling [127] to optimize comprehensive system performance.

5.2.5. Flexibility

Flexibility in EC avoids underallocation and overallocation of computing resources. It can be recognized in SG infrastructure by delivering flexible services based on the resources which can shrink and grow dynamically according to the demand [128, 129]. For flexibility, it is necessary to adequately predict user demand using edge service providers before assigning computational resources, like storage, bandwidth, and processing power. EC-based smart devices should be flexible. Reference [130] presents a protective scheme that is based on automatic computing and reinforcement learning concepts. Techniques of autoscaling can be horizontal, vertical, or hybrid [131, 132]. Horizontal scaling is to resize the resource allocation between a cluster of nodes cluster, whereas vertical scaling is to resize the resource allocation at the same node [133]. The hybrid approach integrates both horizontal and vertical schemes [134].

5.2.6. Security and Privacy

There are two major aspects of security in EC: physical security and cybersecurity of devices.

Cybersecurity is related to the protection of data, network, and computing infrastructure from attacks. Privacy defines some set of rules that provide protection levels. Restrictions are placed by privacy on the authorization of data access. At the centre of EC paradigms, there are various technology enablers, e.g., wireless networks, virtualization, and peer-to-peer and distributed systems. Figure 4 shows the EC-IoT-enabled SG requirements. Therefore, physical security of edge devices is mandatory and it is also very challenging because edge nodes have distributed nature. Powerful cryptographic techniques can also be utilized to prevent attacks from the attacker.

6. Open Research Issues and Challenges

Security mechanisms in EC may be centralized or decentralized. Centralized security needs uninterrupted accessibility of centralized infrastructure. It has the edge of easier management, but it is at risk of failure if the centralized server is exposed to any attack. While a mechanism of decentralized security has the benefits of less vulnerability to attacks and reduction in delay, this mechanism is more complex than the centralized one because of its distributed nature.

EC-IoT-based SG systems will operate in unfavorable conditions, like power transmission lines monitoring. So, it will be helpful to inspect requirements for hybrid communication technologies and coverage of signals in unfavorable environmental conditions, in terms of compatibility, availability, and reliability. IoT sensors and end devices run on batteries in various applications of SG systems. For example, various sensors, backbone nodes, and video cameras are installed on the transmission lines and transmission towers for the monitoring of power transmission. Normally, these devices run on batteries. Therefore, the source of energy for power consumption is a critical problem. To solve this issue, efficient resources of energy storage and energy generation devices that are coupled with energy harvesting by using energy conversion should be designed. Information and communication networks are critical for the transmission and cooperation of edge servers and IoT devices. EC-IoT-based SG systems use a combination of different communication networks at various stages in the same operation. The communication path proceeds through several terminals, devices, local network, gateways, edge servers, and finally to the cloud, utilizing different protocols every time. This means that SG systems require rigid network support despite multiple network providers and fragmented communication phases.

The EC should be configurable and information aware to take on massive packet traffic. The utilization of big data technology is feasible to increase the self-organizing abilities in EC. Edge devices collect a large volume of data and transmit them to the cloud; it puts a huge burden on the front haul/backhaul. To handle this, preexecution of data mining in EC can be performed. Moreover, the computing of incomplete and uncertain data is a big problem that needs advanced data mining algorithms. Harvesting of energy can also be performed from eco-friendly resources such as thermal, solar, and wind. Renewable energy resources involve geothermal, biomass, and wind energy. Algorithms of resource management should be adaptive, and they should perform management according to the nature of applications to enable cost-efficient operation for a better quality of service. To handle system failures, EC infrastructure must be used within SGs that are resilient to software/hardware failures.

7. Conclusion

SG is an underlying technology that will provide significant changes to the present power grid, energy resources, and consumer lives. It will solve the problems of unidirectional energy flow, growing energy demand, energy wastage, security, and reliability in the conventional power grid. SG consists of a large number of data sources and sensors that continuously gather high-resolution data. Handling this massive amount of data is a bottleneck for IoT and cloud-centric designs, particularly when latency-sensitive and real-time services exist. EC is envisioned as a provisioning solution to enable the cost-effective, efficient, and reliable two-way energy and information flow in SG because it provides computation and storage resources at the edge of the network. In this paper, we have presented a comprehensive review on EC-IoT-enabled SG. Framework for EC-IoT-based SG is examined, and important requirements to implement the EC-IoT-based SG system are outlined. Finally, some critical issues and challenges faced in the implementation of EC-IoT-based SG systems are identified.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.