Next Article in Journal
The Engineering Machine-Learning Automation Platform (EMAP): A Big-Data-Driven AI Tool for Contractors’ Sustainable Management Solutions for Plant Projects
Next Article in Special Issue
Effective Energy Management via False Data Detection Scheme for the Interconnected Smart Energy Hub–Microgrid System under Stochastic Framework
Previous Article in Journal
A Reference Model of Reverse Logistics Process for Improving Sustainability in the Supply Chain
Previous Article in Special Issue
Scenario-Based Stochastic Framework for Optimal Planning of Distribution Systems Including Renewable-Based DG Units
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Cost-Efficient-Based Cooperative Allocation of Mining Devices and Renewable Resources Enhancing Blockchain Architecture

1
Electrical Engineering Department, Faculty of Engineering, Minia University, Minia 61519, Egypt
2
Center for Artificial Intelligence Research and Optimisation, Torrens University Australia, Brisbane, QLD 4006, Australia
3
Yonsei Frontier Lab, Yonsei University, Seoul 03722, Korea
4
Faculty of Engineering, Kotelawala Defence University, Kandawala Estate, Ratmalana 10390, Sri Lanka
5
Department of Botany and Microbiology, College of Science, King Saud University, Riyadh 11451, Saudi Arabia
6
Chair of Energy Application Engineering, Institute of Technology, Estonian University of Life Sciences, 51006 Tartu, Estonia
*
Author to whom correspondence should be addressed.
Sustainability 2021, 13(18), 10382; https://doi.org/10.3390/su131810382
Submission received: 30 August 2021 / Revised: 13 September 2021 / Accepted: 14 September 2021 / Published: 17 September 2021

Abstract

:
The impressive furtherance of communication technologies has exhorted industrial companies to link-up these developments with their own abilities with the target of efficiency enhancement through smart supervision and control. With this in mind, the blockchain platform is a prospective solution for merging communication technologies and industrial infrastructures, but there are several challenges. Such obstacles should be addressed to effectively adopt this technology. One of the most recent challenges relative to adopting blockchain technology is the energy consumption of miners. Thus, providing an accurate approach that addresses the underlying cause of the problem will carry weight in the future. This work addresses managing the energy consumption of miners by using the advantage of distributed generation resources (DGRs). Along the same vein, it appears that achieving the optimal solution requires executing the modified reconfirmation of DGRs and miners (indeed, mining pool systems) in the smart grid. In order to perform this task, this article utilizes the Intelligent Priority Selection (IPS) method since this method is up to snuff for corporative allocation. In order to find practical solutions for this problem, the uncertainty is also modeled as a credible index highly correlated with the load and generation. All in all, it can be said that the outcome of this research study can help researchers in the field of enhancement of social welfare by using the proposed technology.

1. Introduction

Peer-to-peer (P2P) energy management has become a practical and technical solution since distributed grids are introduced. Research suggests that the procedure of electrification is evolving around the clock owing to the merging of microgrids and distributed generation resources (DGRs) [1]. Block chain technology is also an emerging technology in both science and the industry. Therefore, all the network’s agents will have access to information in distributed energy management [2]. Recently, researchers have become much yearned in researching the distributed energy management based on blockchain. Basically, researchers always have a thirst for investigating new topics. However, the deployment of blockchain technologies does not entrust a straightforward choice because there are challenging obstacles in its way. Thus, the present study focuses on the issue that blockchain technology can be successful in energy management, while, on the other hand, the blockchain substructure is itself an energy consumer. Accordingly, the literature review has been carried out in three subsections: 1—blockchain-based energy management; 2—energy consumption of miners; and 3—allocation-based energy management.

1.1. Blockchain-Based Energy Management

Energy management of grids with high penetration of DGRs has become more significant due to the uncertainty of renewable energy generations [3]. There are three major approaches for performing energy management in networks with microgrids: P2P energy management, centralized management, and multi-agent management [4,5,6]. P2P energy management is decentralized; all agents have access to the information, and all of them are directly interconnected with each other. Compared with two other methods, this approach is more flexible and practical [7]. Blockchain technology is the most practical tool for realizing P2P energy management owing to its abilities such as digital signature, asymmetric encryption, consensus mechanism, and so on [8]. However, much investigation has been focused on energy trading using blockchain technology. Mengelkamp et al. [9] discusses the power trading project using blockchain in New York’s Brooklyn microgrid. In Yin et al. [10] and Wang et al. [11], blockchain is responsible for protectively exchanging the users’ private information and giving them up to the energy management algorithm. In Li et al. [12], the blockchain substructure provides the security of energy trading as usual. Yang et al. [13] has proposed a framework for using blockchain in order to coordinate among DGRs. More references can be brought with regard to applications of blockchain.
From the above brief literature review, it is evident that many references have employed blockchain technology, but neither of them considers the energy consumption of blockchain hardware. This article addresses this issue. However, there are a few sources that have calculated the energy consumption of miners. In the following, the literature review dealing with energy consumption is investigated.

1.2. Energy Consumption of Miners

Different algorithms are used within blockchain technology to provide the consensus among the active nodes, validate and generate the data blocks including proof-of-work (PoW), proof-of-stack (PoS), Byzantine fault tolerance algorithm (BFTA), etc., among which the PoW is the most authenticated [14]. Using the PoW method, validation of the data blocks and consensus among the nodes is carried out by some of the validator nodes’ so called “Miners”. Based on the PoW method, the consensus is accomplished by miners by using some complicated mathematical calculations that are complex, energy demanding, and time-consuming and are known to be significant challenges relative to PoW algorithms. To overcome the high energy demand issue of the PoW method, some major works are proposed in the literature. Some literatures investigated hybrid methods wherein a combination of different methods is used to handle the consensus among the nodes in the blockchain framework. United Bitcoin is proposed on the UTBC website [15] in which the data blocks are mined by both the PoS and PoW algorithms in order to provide consensus attainment. The same view point is followed in PPCoin website [16], wherein the PoW and PoS methods are employed in a multi-stage manner. The PoW is used firstly to provide a fair environment among the nodes, and then the PoS is employed in order to assure network security. A proof-of-activity (PoA) approach is represented by Bentov et al. in [17], which benefits from both the PoS and PoW methods. In their work the nodes need to carry out some extended works to accomplish the consensus in the network. Tosh et al. [18] have represented a Cloud PoS method to provide the security of recording data in the cloud architecture. Moreover, Xue et al. [19] proposed a proof-of-contribution (PoC) to reduce the energy consumption of the miners in PoW consensus protocol. In their approach, the miners receive a reward for every successful mining instance and encourages the miners to be honest in the process instead of utilizing more machines for rewards. However, none of these and similar references have concentrated on how the energy consumption of the minors in the power network is managed, which is the main focus of this paper.

1.3. Allocation-Based Energy Management

Since lack of control and supervision can deter the optimal operation of the system, the energy management system is a proper approach to redress. The energy management system is established to regulate the power flow in the grid, wherein all components such as sources, loads, and storage converge to the optimal point [20,21].
Suitable placement of DGRs and the use of proper energy management policy in the grid have been well surveyed in the literature [22,23,24,25]. In this regard, Gözel et al. [26] has proposed a theoretical approach for the proper allocation of DGRs in radial grids to minimize the total power loss of the grid without mining admittance matrices. The method is robust and promising for a small grid, yet its efficiency and accuracy are dubious for a big network. Similarly, Prabha et al. [27] have investigated a sensitivity factor with the meta-heuristic method for optimal sizing and placement of DGRs sequentially. This method uses a multi-object fitness function for the environment of the search algorithm, but it is naturally slow and computationally takes a long period of time for a big network. Nevertheless, Khalesi et al. [28] have proposed an efficient algorithm for large power grid.
In this research, the optimal placement carries out simultaneously for the miners and DGRs in which the energy consumption of miners will be controlled. The Intelligent Priority Selection algorithm (IPS) has been proposed for solving the issue. Supplementary information about this approach is given in the next sections. The proposed algorithm is completely proper for a large grid because it decreases state space.
The renewable energy sources (RESs) have brought many promising benefits to the power systems in terms of loss reduction, reliability improvement, and air pollutants diminishment [29,30] and roles markedly in the modern power grids. Apart from the RESs’ advantages, they are of high uncertainty factor since their output power fluctuates, and this is a result from the climate changes [31]. The same issue goes for the loads of the system that could vary regularly and that are not precisely predictable. Hence, the uncertainty has been the core of attention of the body of literature during the last few years, and researchers have proposed effective approaches for handling this issue in the power systems’ problems, where some of these methods are exploited in [32]. Generally speaking, some of the main approaches for capturing the uncertainty in models can be mentioned as (I) the Monte Carlo method, (II) analytical methods, and (III) approximate methods. Some major differences are worth mentioning. The Monte Carlo provides the utmost accuracy while it retards calculation time. The analytical methods employ some simplifications in the modeling to compensate for the solution time of the first method, but it loses its preciseness by doing so. The third category brings both accuracy and speed, which is the most preferable method. The unscented transform (UT) method, which belongs to the category III, is utilized in this paper to model the uncertainty associated with the model, which will be further explained.
All in all, the main contributions in this paper can be summarized as follows:
  • Modelling and precisely formulating the blockchain structure based on the energy consumption of the miners during the process of data transactions;
  • Suggesting the modified reconfiguration of mining devices using an IPS based effective corporative allocation algorithm to improve the energy management of the blockchain technology;
  • Developing a stochastic effect based on unscented transform method to precisely model the energy management of smart grid in the presence of blockchain tech.
The rest of the paper is organized as follows: Section 2 represents the proposed blockchain tech-based security management structure. Section 3 expresses the utility function related to the energy consumption of miners. Moreover, in Section 4, the energy management framework of the smart active grid based on DGRs is discussed. In addition, the proposed IPS based corporative allocation algorithm is described in this section. Uncertainty modeling is explained to cover the uncertainty effects in Section 5. The results on the test system are discussed in Section 6. Finally, Section 6 expresses the outcomes and advantages of the proposed approach.

2. Security Achievement under Blockchain Technology

After introducing the basics of blockchain in 2008 by Nakamoto et al. [33], the deployment of this technology has recently begun to flourish in different sciences such as economics, technical sciences, etc. Recently, blockchain technology has been employed increasingly in the concept of Internet of Things (IoT) to perform tasks including identity recognition, voting, and data authenticity identification [34]. The blockchain technology is a secure platform based on a distributed manner with no central part governing the nodes, which is tolerable against concealed subversive penetrations. Thus, the blockchain substructure needs to make sure that it exploits the verified honest nodes to counteract the destructive behavior of the attackers. In the following subsections, the basic principles of the blockchain framework and the modeled attack are explained in separate parts.

2.1. Blockchain Structure

As outlined above, blockchain generally has been designed to provide security in decentralized or P2P environments. Thus, there is no longer a centralized agent in such structures, and the agents are able to exchange with each other in the blockchain network to verify the transactions, which will avoid activity on the unhealthy nodes that can sabotage the system’s operation. In addition to providing security and creating a P2P environment, there is one other important reason for employing a blockchain framework based on a decentralized network. This advantage is the faster attainment of a consensus because of the elimination of the central supervisory. In the blockchain framework, each data in a chain will be protected by assigned hash addresses (HAs) in order to avoid being tampered by a saboteur. Figure 1 depicts the mining process of blocks in the blockchain tech. From the above expressions, it is evident that the blockchain platform has several key components: 1—decentralized networks as a main substructure; 2—the consensus algorithm for verifying the performed transactions; and 3—cryptography process. Each of the items is explained briefly in the following subsections.

2.1.1. Decentralized Network

The consensus in the decentralized networks will take place if all nodes cooperate to achieve a common goal. In such structures, a transaction will be legally registered provided that all agents validate a new transaction. Therefore, what hinders consensus is the sabotage and manipulation of data. The agents attempt to overtake one another in generating new data blocks in a tough competitive space and broadcast them to the network within a specified timespan in a P2P manner. There are two main strategies of blockchain called private and public blockchains, which are different in terms of security and accessibility of data [35]. Indeed, blockchain exclusively relies on the basic principle of P2P theory (decentralized grid) in such a manner that connecting/disconnecting to the network does not interfere with the duty of other nodes.

2.1.2. Consensus Protocol and Algorithm

The decision on whether a transaction is valid or not is the responsibility of the consensus algorithm. In this regard, any nodes will attempt to collect the data blocks and then will validate the identity of each broadcasted transaction. Thus, the broadcasted data are registered when a specific number of validators confirm their identity. Therefore, if a specific number of validators confirm the data block’s identity, the broadcasted data are registered by each node and then added to the ledgers. There are several consensus protocol methods, but the “fault-tolerant consensus” seems more practical than the rest. After updating ledgers, the confirmed transaction must be added to the chain by one of the nodes. If any node successfully solves a complex equation, it can add the verified data to the chain and receive a reward. Three pivotal components are very effective in the consensus algorithm operation. The first factor is the broadcasting of data synchronously, in which the rate of coordination of the nodes is very significant. A network is called a synchronization in which all nodes simultaneously broadcast their data in iteration r and receive responses in iteration r + 1. The consensus protocol basically defines specific rules that govern the details of transactions among the nodes and guarantees an ultimate agreement in the network. As a third principle, the consensus algorithm must be robust against the improper performance of some nodes. In addition to the above three pivotal elements, the consensus algorithm must generally come off four targets. Agreement, integrity, validity, and termination are the final goals of the consensus process. Agreement is when all optative nodes admit one unique solution obtained by the algorithm. If all active nodes attempt to attain the common goal, integrity will be obtained. Validity creates stability and safety in the network through the guarantee of transactions. Finally, any algorithm must converge to the specific response that it is the termination of the process.

2.1.3. Cryptographic Process

New transactions in the system are sealed and broadcasted through the data blocks across the network. New data blocks are added to the blockchain network, followed by their validation by the nodes. If the authenticity of the block is approved, a copy of the validated data block is stored in the distributed ledgers. It is obvious that the data block consists of different parts including transactions, nonce, height, Merkle root, etc. In blockchain technology, the essential data are transmitted through data blocks, sealed, and encrypted by using cryptography HA generation mechanism, and all the nodes (agents of the system or market participants) need to confirm the data block authenticity. Moreover, each data block carries the HA of the previous block, which makes each block relevant to the previous one and forms a chain that is tolerable against intentional manipulations. After broadcasting the data blocks and receiving them by the nodes of the network, they are able to access the data blocks by a public key. The data blocks are sealed by the Has, which can be 32-bit compounded words using the hash function SHA-256, or other methods such as SHA-512, SHA-384, SHA-224, etc. The HA function generates random HAs for each data transaction process. Hence, unauthorized access or data manipulation will be immediately recognized as soon as the receiver starts processing the received data block. In order to conduct proper time analysis, the following equation can be used:
T t o t c h a i n = q × T s i g + ( T b a c k o f f + T t r m ) × 2 + t p r o d + t M i n i n g
where Tsig defines a time duration of signature verification, q indicates the average number of transactions received by a node, Tback-off is known as the back-off time which is defined by the utilized protocol by Sheikh et al. [36], Ttrm is the time takes for the data to be broadcasted from the sender to receiver, tprod is block generation time and tMining implies the time needed to mine a data block, and Ttot-chain indicates the total consumption time for the entire blockchain framework.

3. Utility Function Formulation of Mining Devices

One of the main steps of the blockchain framework is data mining. The central processing unit (CPU) carries out the data mining process. Thus, this section of blockchains is considered a huge energy consumer. This section surveys the energy consumption of the miners during the trend of data mining. Therefore, speaking about the energy consumption of miners is the energy consumption of CPU and its clock cycle indeed. The clock cycle is the number of tasks that the CPU will be able to process per second; therefore, it is in direct proportion to the energy consumption of miners. Thus, the consumption of energy by the CPU can be stated as Equation (2).
P m = S V 2 f
Each of the parameters in the above equation is defined as follows, respectively:
P m   is the energy consumption of miners;
S is a constant value associate with the CPU’s power;
V is the voltage;
f is the CPU’s frequency.
The operating frequency in Equation (2) characterizes the computational power of the CPU. On the other hand, data mining in the blockchain is in direct proportion to the hash ratio that the CPU can process per second. If the relationship between frequency and computational power of CPU is assumed to be linear, then Equation (2) can be stated in the following form.
P m = Z f Z = S V 2
After substituting Equation (2) into Equation (3) and reordering the terms, the following formulation for the energy consumption of the CPU can be defined.
P m = h Z ω
Moreover, the relative energy demand of minor i can be formulated as follows.
η = P i m j N P j m
Furthermore, it must be considered that the action of data mining could be successful or not because of data frequency. Hence, the Poisson distribution is adopted to compute the probability of successfulness of data mining. Equation (6) obtains the probability of successfulness of each miner.
Pr i = η e λ ψ t i
where ψ is a constant value and is defined by a delay factor. Moreover, t i implies the total number of transactions embedded in a new data block. As previously mentioned, the agents try to obtain more benefits by adding the block to the chain in a competitive space. This benefit can be provided through tax as a public service. In other words, each miner can earn more benefits if it plays more actively than others. Equation (7) indicates the benefit of the miner.
U B i ( P i m ) = T P i m e λ ψ t i j N P j m y i P i m
In Equation (7), please note that the role of yiPi is the cost of power demand supply for the minor, which may be considered as a benefit for the smart grid. Moreover, it should be noted that the benefits of the minors come around two main parts: (1) the power demand, which should the minor buy from either the smart grid or the smart city, and (2) the higher tax, which the minor owner would pay to the smart grid/smart city for higher security, which is needed to be provided by these agents. Therefore, the more minors exist, the more benefits the smart grid and smart city would earn.

4. Smart Grid Energy Management Considering the Miner Technology

On account of the flourishing energy demand and restricted attainable fossil fuels, the smart grid needs to be newly upgraded relative to the broad use of the smart connected devices throughout the electrical network. It is a proven fact that such a pervasive development approach can greatly accelerate the grid operation in the matter of reliability, voltage and power stability of smart grid, vulnerability, and so forth. Despite the salient properties of smartening up the grid, emerging security and privacy concerns are under debate in the context of smart grid. In another words, the tremendous potential of the smart infrastructure-based grid can be mainly unlocked if the security of the information system is guaranteed. Hence, employing a security mechanism such as blockchain technology for the smart grid is necessary in order to overwhelm the cyber-attacks aiming to muddle the information system. As described in the previous section, one underling challenge facing the blockchain structure aiming to purvey a proper security bed in smart grid is the demand-supply of the needed energy for miners during the data mining process. In other words, with the development of blockchain infrastructure, the mining devices are known as large-scale energy consumers that would challenge the conventional optimal energy management of smart grid between a rock and a hard place that is needed to be seriously dealt with. In response to this issue, this paper attempts to develop a new and powerful approach for miner energy demand-supply based on (1) the simultaneous allocation of the mining devices and (2) the local power supply by the distributed resources such as wind turbine or solar panels within the smart grid, as shown in Figure 2. According to this figure, the mining devices’ power demand may be supported either from the distributed power generators such as renewable sources or from the smart grid through the optimal allocation and management programs. On the other hand, the miners would benefit the smart grid with the higher security standard, which they can provide for any bus they are located on. Such a bidirectional connection would benefit both miners and smart grid in a wise and optimal manner. For effective realization of the proposed framework, firstly, the precise formulation of the fundamental structure of the smart grid is needed.

4.1. The Basic Formulation of the Smart Grid

A comprehensive and axiomatic apperception of energy management can be entirely accomplished if the objective function pursued by the smart grid is well-known. On this basis, this part explicates the varied segments of the underlining objection function and the examinants of the conflicting factors relative to minimizing the relevant goals in the smart grid. Generally, Equations (8)–(20) are aimed at describing the objective function and the limitations of smart grid operation. It is true to say that the proposed function in Equation (8) can overshadow the grid operation goals, including the operation cost, start-up cost, and shot-down cost in line with the generation units. One of the essential issues relative to the effective operation of system is being aware of the active/reactive power generation limitations modeled by the Equations (12) and (13). The active power stability of electrical grid needs to be regularly checked by taking account into the load demands as defined by Equation (9). Similar to active power, Equation (10) demonstrates the balancing relationship between the reactive generation/demands. What is worth mentioning is the voltage stability of the smart grid discovered by Equation (11). The use of reserve power pertaining to the generation units can successfully assist to improve the energy management in the cases of contingency. Hence, regarding the reserve power constraints, Equations (14) and (15) are a must for the generation units. Physically, the loads and resources are coupled by the modified linear AC power flow described in detail by Sheikh et al. [37]. In this regard, the active/reactive power injection from bth bus to eth line can be calculated by Equations (16) and (17). In addition to that, the power flow through lines is restricted up to a permitted level, in compliance with the constraints of Equations (19) and (20) in which bus angles within their acceptable range are controlled by Equation (18).
m i n   G g r i d = t u [ f c ( P t , u ) + S t , u + D t , u ]
u ( P t , u )   e ( P l t , e ) = P b , t L g                                   t Ω T , b Ω b
u Q t G +   e ( Q l t , e ) = Q b , t L g                           t Ω T , b Ω b
V m i n V b , t V m a x                             t Ω T , b Ω b
P m i n z y , t P t , u P m a x z y , t                                   t Ω T , u Ω u
Q m i n z u , t Q t , u Q m a x z u , t                                                   t Ω T ,   u Ω u
P t , u P t 1 , u D G + z u , t 1                                                         t Ω T , u Ω u
P t 1 , u P t , u D G z u , t                                                     t Ω T , u Ω u
P l e = ( V b V m ) R e X e η b                                         b Ω b , m Ω m , e Ω e
Q l e = ( 1 + 2 V b ) X e 0 ( V b V m ) X e R e η b                               b Ω b , m Ω m , e Ω e
η b m i n η b , t η b m a x                                                   t Ω T , b Ω b
P l e m a x P l e , t P l e m a x                   t Ω T , e Ω e
Q l e m a x Q l t , e Q l e m a x                     t Ω T , e Ω e
The wide utilization of DGRs, especially the allocation term, within the smart grid is growing at a tremendous pace. It is a proven fact that each DGR takes into account its unique features and gives the smart grid the chance of optimally improving the energy management in the peak-load state. Hence, it seems that DGRs are able to boost the problems’ definition (high-energy consumption of miners) and are defined in the following manner. We decide to effectively use the operative units such as the storage unit, wind turbines (WTs), photovoltaic (PV), and tidal units located on the buses of the smart grid [38]. Firstly, each unit aims to pursue its cost-efficient-based objective function in accordance with Equation (21). The generation limitations related to each DGR are formulated based on the technical potential by Equations (22)–(24). Moreover, binary variables w b , i b and v b determine whether it is necessary to place the relevant DGR in bus b or not. One the main challenge facing DGR is the generated power fluctuation owing to the uncertainty concept. For this reason, all the defined DGRs are equipped by the storage unit in order to dynamically inject power to the grid in critical cases. The relevant restrictions are molded based on Equations (25)–(28). Limitation (25) provides the hourly energy level of the storage unit by taking account into the charging/discharging power of the previous hour.
m i c = m i n t , b C t , b w P t , b w w b + R t , b t i P t , b t i i b + R t , b p v P t , b p v v b + R t , b B P t , b B
P t , b w = 1 2 S   C   K ( S t , b w )   3                                                           t Ω T
P t , b t i = { 0                                                                                   0       T t , b t i   T r a t e d t i           0.5 P γ λ ( T t , b t i ) 3                                     T c u t i n t i   T t , b t i T r a t e d t i P r a t e d                                                                   T r a t e d t i     T t , b t i                                                               t Ω T
P t , b p v = Q × U t , b p v Z × ( 1 R l o s s )                         t Ω T
V t , b B = V t , b 1 B + P   t , b   B η B a t                   t Ω T
P t , b B = P   t , b   c h P   t , b   d i s                 t Ω T
P min P t , b B   P max                 t Ω T
V min V t , b B   V max                 t Ω T

4.2. The Intelligent Priority Selection Algorithm Framework

As it was previously elucidated, DGRs can be introduced in order to yield two of the most pivotal goals: (1) providing environmentally-friendly energy generation resources and (2) reliable energy-demand supply of mining devices. These aims would be comfortably realized if an adaptive location of DGRs is coincidently assigned and the mining devices use a cost-efficient-based appropriate algorithm. In the literature, the varied approaches are commonly investigated in order to obtain simultaneous allocation subordinated to basic mathematical modeling or artificial intelligence. It is a proven fact that such methods do not take the first place for simultaneous allocation owing to its long passing time and inadequate accuracy. In light of this evidence, this section of the paper recommends a cost-efficient-based algorithm to concomitantly seek the location of DGRs and miners by taking into account accuracy and runtime improvement. In the first place, being inspired from statistics concept, extracting the number of n from N matrix is computed as stated below.
( N n ) = N ! ( n ! ) . ( N n ) !
Apart from having high accuracy, the structure of such a model induces a long period of solving time due to the massive search space. Along the same vein, the proposed method revolutionizes such a model and decreases the overall runtime by smartly limiting the search space. To be clear, the following process mainly demonstrates the performance of the proposed algorithm.
Step1: First, assume that an arbitrary set P of the possible selections includes all candidate places of the problem. The number of DGRs and miners as the control variables is determined by the size of the K matrix in which the candidate places are randomly inserted in the first step. Then, the other places of set P (P-K) are saved by the set W. Merging the points of K and W matrices result in most possible states of the allocation problem. Hence, all points of the W matrix are substituted for the member of k matrix and saved in the KT matrix. The outage of sorting members of the KT matrix is modeled by the set H, the best member ith of which is selected by computing the optimal objective function, as indicated by F W 1 , K n b e s t . It is important to note that K n in Equation (33) shows the nth element of the K .
P = [ p 1 , ..... , p N ]
K = [ k 1 , ..... , k n ]
W = [ w 1 , ..... , w m ]
K T = [ w 1 k 1 = k 1         k 2         .....           k n k 1             w 1 k 2 = k 2   .....         k n k 1                   k 2       ..... w 1 k n = k n } H w 1                               F ( H w 1 ) = F w 1 , k 1 b e s t .     .     .   w m k 1 = k 1       k 2       .....         k n                                     .                                   .                                     . k 1                 k 2         .....       w m k n = k n } H w m                               F ( H w m ) = F w m , k m b e s t                             ] H w i = [ H w 1 , H w 2 , , H w m ]                                                                             i Ω i k M = [ k 1 , k 2 , , k n ]                                                                                                                 M Ω M
The objective function value of each best member of H W i is regularly saved in Equations (34) and (35). Components of K and W matrices result in F b e s t   and are indicated and stored by W j , K j matrices in Equations (36) and (37), respectively. Finally, the first level of F m b e s t   is opted as the most optimal answer.
F m b e s t = [ F w 1 , k 1 b e s t           .           . F w m , k m b e s t ]                                                                                             m Ω m
F b e s t _ s o r t = [ F w 1 k 1 b e s t           .           . F w m k m b e s t ]
w j = [ w 1 , , w m ]                                                                                             m Ω m
k j = [ k 1 , , k m ]                                                                                                   m Ω m
F = F w 1 k 1 b e s t
Step2: In this stage, we aim to obtain the new matrix K T r n e w by updating the member of W j by Equation (39), with the aim of calculating the final best objective function. After checking the old matrixes k j and w j , these matrices need to be removed, and the remaining points by matrix K 1 j n e w are updated. Merging the new points related to w j and K T r n e w results in matrix ψ r in Equation (41), where r is obtained based on m j , which include the matrix length of W and the number of the needed iteration, respectively. Then, the best objective function ( F 1 B e s t ) among the members of ψ r is opted for, and the relevant component is saved in matrix ψ B e s t , as demonstrated by Equations (42) and (43). Finally, Equation (44) shows that matrix K needs to be updated, becoming compatible with   ψ B e s t   for each iteration j.
W j = w j + 1                                                                                                                           j Ω j
K 1 j n e w = { x | x K j , x k j , x w j }                   j Ω j
ψ r = K T r n e w w j                                                                                             r = { 1 , 2 , , m j }
F 1 r = f ( ψ r )
F j = F 1 B e s t                                                                                                             j Ω j
K j = ψ B e s t                                                                                                                   j Ω j
Step3: With respect to the descending trend of sorting matrix F b e s t _ s o r t   , the first component is selected as the optimal answer in each iteration.
F b e s t _ t o t a l = F B e s t
The flowchart of the proposed allocation algorithm is shown in Figure 3.

5. Stochastic Quantization Model

The presence of DFRs in the smart grid can convince taking accurate looks at the stochastic effects on the energy management of miners in blockchain structure. Inspired from the uncertainty concept, this section intends to model the exiting uncertainty parameters by using the correlating framework-based UT approach. This method is basically organized to precisely turn the probability density function of a random point into a few discreet distribution points [39]. Focusing on a nonlinear function T = f ^ ( Q ) , the stochastic outage of vector Q results based on the main objective function f. It is important to say that Q is considered as a vector, including p number of stochastic parameters, mean value of z, and covariance matrix of A. The UT method solves the proper 2p + 1 times in order to capture the uncertainty related to the model. The following steps mainly explain the UT method process.
Step1: 2p + 1 variables are computed by Equations (45)–(47) as follows.
Q 0 = z
Q k = z + ( p 1 W 0 A a a ) k             k = 1 , 2 , , p
Q k + c = z ( p 1 W 0 A a a ) k             k = 1 , 2 , , p
In the above, matrix A a a shows the covariance values and R ¯ = z .
Step2: The weight of each point is calculated by Equations (47) and (48) is obtained by Equation (49).
W k = 1 W 0 2 p         k = 1 , 2 , , 2 p
The summation of the weights is equal to 1.
Step3: By inserting these points into the nonlinear function T k = f ^ ( Q k ) , the output values are computed by the following.
T ¯ = k = 0 2 p W k T k
P T T = k = 1 2 p W k ( T k T ¯ ) ( T k T ¯ ) R

6. Simulation Results

Developing the basic structure of blockchain technology is a vital requirement to fully cover challenges of the miner energy consumption and cyber-security which are in conflict with each other. Therefore, it is very important to find a method to reconcile two conflicting views. With the advent of these issues, we believe that picking out a proper cooperative location of the miners and renewable resources can be the best available solution to deal with challenges facing blockchain architecture. To prove the truth of the matter, in this section we try to capture more attention to the acceptance of the above solution’ effectiveness by taking account into different cases. To obtain the best knowledge, firstly, some further elucidations related to the conflicting relationship between the energy cost of miners and pretention of cyber-attacks arising from the wild fluctuations in miner hash rates must be mentioned. In addition to that, we will represent the miners that can earn more revenue through such a modified framework of the blockchain architecture within the smart grid. Moreover, by being inspired from uncertainty concept, the effects of uncertain parameters arising from DGRs on the benefits and costs of miners are completely examined.
It is worth mentioning that the smart grid is made up of some fossil fuel-based generation units, lines/buses, and electrical loads that are compatible with the IEEE 24-bus test system. In addition, renewable resources include a photovoltaic unit, wind turbine, tidal turbine system, and storage unit aiming to improve the energy management of smart grid [40,41,42,43,44]. Considering the steady state analysis of the study, the constant P-Q model is considered for the renewable energy sources. Based on the argument cited above, we consider the relative results in different studied cases:
  • Mode I: assessing the blockchain technology under various hash rates;
  • Mode II: analyzing the IPS based simultaneous allocation of mining devises and DGRs;
  • Mode III: checking the effect of uncertainty on the energy cost of miners;
  • Each mode is expressed and discussed in detail in the subsequent parts.

6.1. Assessing the Blockchain Technology under Various Hash Rates

The discussion in foregoing sections demonstrated that one underling challenge overshadowing blockchain structure within the smart grid is the required energy consumption of miners aiming to perform data mining. After examining this issue, it is evident that the energy consumption of miners can be seriously eclipsed by a number of main factors including the miner hash rate, the new block size at each time, and so forth. On the flip side, decreasing the hashing process speed of mining devices unlocks a smooth method for the high penetration of Cyber-attacks in blockchain platform. In another words, the environment of data exchanging is safely guaranteed if the hash rate is adequately raised relative to the miners embedded in the blockchain structure. Meanwhile, this work intensifies the energy consumption of miners relative to the energy management intricacy of smart grid. To make this issue clear, assume two cases, (1) low-speed hashing rate and (2) high-speed hashing rate, considered for mining devices throughout blockchain platform. In this study, the low-speed rate is 512 kilo hash per second and the low-speed rate is 256-kilo hash per rate. Furthermore, let us assume the number of 24 miners for the security framework and a decision for their location in the smart grid is required. In the light of the evidence, we focused on carrying out blockchain technology on the smart electrical grid and indicate the relevant consequences in Figure 4, Figure 5 and Figure 6. It can be deducted from Figure 4 that the needed energy of miners in order to elicit information from the new blocks’ tracks an ascending order for cases 1 and 2, respectively. In contrast, the successful probability of an FDI-based attack launched on the network for case 1 shows an upward trend, overtaking case 2 as indicated in Figure 5. These opposing trends mean that the cyber-security concept and the energy consumption of mining devices function in differently in the blockchain platform.
As it was previously mentioned, the operation cost of smart grid in the modified structure of blockchain is made up of three parts, i.e., the energy cost of non-renewable units, the cost of DGRs, and, finally, the consumed energy cost of the mining devices in virtue of cyber-security of the network. As a matter of fact, the blockchain-based secure framework may literally muddle the energy scheduling of smart grid, which in turn can force the addition outlay to the total operation cost. Such a discussion may be observed by looking at the convincing consequence shown in Figure 6. In the light of this result, the operation cost of smart grid takes an ascending trend from case 1 to 2 owing to the high energy consumption of mining devices. With finer examination results, it is very significant to find an effective method to conciliate these opposing views, the cost of miners, and cyber-security. According to Figure 6, as the hash rate of the miners increases from case 1 to case 2, higher operating costs would be experienced by the smart grid. In other words, it is true that a higher hash rate of the miners would provide higher security for the smart grid by actively using the blockchain, but on the other side the energy management cost would be increased. Therefore, one may conclude that the smart grid operator can provide an appropriate balance between requiring security and the operation costs according to his/her preferences and the system’s status.

6.2. Analyzing the IPS Based Simultaneous Allocation of Mining Devices and DGRs

In the previous subsection, we tried to prove that finding a feasible balanced solution to overthrow the underlying drawbacks between the blockchain system and the smart grid is a must. Thus, this section is organized to confirm that the safe environment of data exchanging in the smart grid can be entirely assured if the optimal adaptive area of mining devices is purposefully assigned within the blockchain tech. To this end, firstly, we carry out the allocation algorithm based on the IPS theory and demonstrate the assessment results of the proposed algorithm compared to the other well-known methods, i.e., Firefly algorithm (FA) [45], Genetic Algorithm (GA) [46], and Bacterial Foraging (BF) [47]. In the literature, the passing time and the accuracy have gained attention as two critical matters for evaluating the optimal qualified strategy [48,49,50]. Hence, Figure 7 and Figure 8 provide sheer information about the simulation outcome of varied methods for the same studied case. Figure 7 shows that the IPS method takes a potential tendency toward a descending method for optimal computing of a total cost of 4.69850 × 109(¢). Looking over Figure 8, the other algorithms failed in rivalry with the IPS and obtained high values of total cost, which means the proposed algorithm is the optimum one. As elucidated before, the appraised algorithm aims seek corporative locations of mining devices and DGRs in order to eliminate the mentioned concerns. Hence, the relevant consequences are depicted in Figure 9 and Figure 10. It can be inferred from results that the smart grid for handling the consumed energy arising from the security support system needs to be optimally assigned the 18 DGRs, made up of three PV units, nine WT units and six tidal turbine units located on buses in compatible with Figure 9. On the one hand, the blockchain tech is obligated to make an appropriate reconfiguration of miners based on the grid buses as indicated in Figure 10. This work results in energy management improvement of mining devices in the blockchain system.
Another matter that requires more attention is how the different energy supply resources in the modified framework contribute to satisfying the load demands within the smart grid. Figure 11 indicates the participation percentage of energy resources aimed at supplying the type of demands. The previous sections precisely expressed that the smart grid equipped by the blockchain technology commits to supplying both non-miner (local loads) and miner demands optimally, based on the new reconfiguration of miners. On the one hand, the smart grid is made up of a hybrid energy source for guaranteeing continuous and stable power for handling miming for blockchain. Hence, the renewable resources are mixed with non-renewable resources in order to provide energy to the system. Having looked at Figure 11, the miner demands makes up 32.55% of the total demand of grid, which needs to be supported. In the light of the evidence, the new reconfiguration gives DGRs the chance of participating in 78.71% of the miner energy supply. On the other hand, the miner demands (32.55%) merely involve the 21.29% generation capacity of the fossil fuel units, which evidently means the optimal reduction in energy cost. Results show that all DGRs including PV, WT, and tidal turbine units contribute to supporting the miner demands with values 38.83%, 46.45%, and 18.725, respectively.
Apart from these outcomes, providing the comparative results assist in ensuring the usefulness of the proposed reconfiguration of miners. To this end, we implement two strategies with the same hash rate: strategy (1), the modified framework; and strategy (2), the basic structure. The relative results are shown in Figure 12 and Table 1. In light of this evidence, assigning the optimal location of mining devices causes the operation cost the smart grid to remarkably decline from 6.92 × 109(¢) to 4.69850 × 109(¢). These results are realized for to the sake of decreasing the consumed energy cost of blockchain system. On the other hand, the data security of grid is safeguarded, the miner could earn a revenue of almost 40,000 ¢ in the modified framework. Such an energy framework results in total cost reduction in comparison with the strategy 2, which reflects the new framework’ effectiveness for miners in blockchain technology.

6.3. Checking the Effect of Uncertainty on the Energy Cost of Miners

This section intends to highlight whether the presence of uncertainty can alter the cost-effective based energy operation of mining devices or not. To prove the truth of the matter, we fulfill correlation modeling among the uncertain parameters by using the unscented transform concept on the proposed studied case and underline the consequences related to the miners and DGRs. Figure 13 and Figure 14 are the comparative results of the benefit/cost associated with the miner and DGRs under uncertainty/normal states. As explicated before, the high accuracy of uncertainty-based energy management in blockchain technology guarantees the chance of having optimal energy cost scheduling for the mining devices within the smart grid. Inspecting the results in Figure 13, it is deducted that remarkable fluctuations relative to the benefit of miners can be mostly observed under a stochastic state with values 5.47% in comparison with the normal one. This discussion is also correct for the energy cost of renewable resources in the smart grid, as shown in Figure 14. To conclude, using uncertainty modeling can assist blockchain technology relative to energy management in gaining cost-effective based energy scheduling.

7. Conclusions

This article tried to remove one of the obstacles relative to the optimal operation of blockchain technology in smart grids. Such a challenge has roots in the energy consumption of miners that must be considered in energy management programs. To solve this problem, a novel stochastic framework incorporating the IPS algorithm and UT was proposed in which the placement process simultaneously included both DGRs and miners. The simulation results show that the optimal placement of miner and DGRs would require using a correct method of optimal energy management in the presence of miners. Considering the very large state of the problem, the implementation of the proposed method is not very simple because if the state space does not reduce, then solving the problem will be time consuming and impossible. In order to evaluate the quality of the proposed method, three case studies were designed: 1—assessing the blockchain technology under various hash rates; 2—analyzing the IPS based simultaneous allocation of mining devises and DGRs; and 3—checking the effect of uncertainty on the energy cost of miners. It is observed that if the place of the miner is determined according to the grid configuration, the energy management of miners rapidly converges at the optimal point. Moreover, it is observed that the proper placement provides higher security for the grid at a lower cost. Nevertheless, it is observed that higher security would require higher hash rates, which would result in higher energy management costs. Therefore, the operator needs a suitable tradeoff between the two security levels and operating costs according to preferences and smart grid situation. Finally, the present study can be completed by proposing a suitable method to calculate the required number of miners in the smart city. From the uncertainty point of view, incorporating the uncertainty effects increased the total renewable costs. This is the cost that we pay to have a more realistic and reliable study.

Author Contributions

Conceptualization, M.A.M., S.M., U.D. and A.A.; Data curation, M.A.M.; Formal analysis, M.A.M.; Investigation, M.A.M., A.A. and U.D.; Methodology, M.A.M.; Resources, M.A.M. and U.D.; Software, M.A.M.; Supervision, M.A.M. and U.D.; Validation, M.A.M., S.M., S.H.S., S.A.O. and U.D.; Visualization., M.A.M., S.M. and U.D.; Writing—original draft, M.A.M. and S.M.; Writing—review & editing, M.A.M., A.A. and S.M.; Funding acquisition, S.H.S. and S.A.O.; Project administration, S.H.S. and S.A.O.; Formal analysis, A.A. 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

The data supporting reported results are available in the manuscript.

Acknowledgments

This project was supported by Researchers Supporting Project number (RSP-2021/385), King Saud University, Riyadh, Saudi Arabia. Furthermore, the authors would like to thank the Estonian Centre of Excellence in Zero Energy and Resource Efficient Smart Buildings and Districts, ZEBE, grant TK146, funded by the European Regional Development Fund to support this research.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

Sets/Indices
e / Ω e Set/index of line
u / Ω u Set/index of generator
t / Ω T Set/index of time where Ω T = {1…24}.
b , m / Ω b , m Set/index of number of bus
Constants
X Solar radiation
R l o s s Power loss related to PV
T t t i Wind speed
T c u t i n t i   , T r a t e d t i The cut-in and rated tidal current speeds
P m The consumed energy
V, fVoltage and frequency
S Constant value
TTax rate related to security
WComputational power
Q Direct irradiation
Γ Sea water density
Λ Swept area of the turbine blades
S Wind density
C Area of rotor blades
S t , u , D t , u Shut up and shut down of the generator.
U t p v Capacity of the PVs
P   b , t L g , Q   b , t L g Electrical demands of the smart grid
V min , V max Maximum and minimum value of the storage system energy
P   t L g The demand of the microgrid
P m i n , P m a x                       Limits of generation active power
Q m i n , Q m a x                       Limits of generation reactive power
D G +         Limits of reserve
f c Generation price of the generator.
R t w , R t t i , R t p v , R t B Prices of the WT, tidal, PV, and storage system, respectively
P l e max , P l e min , Q l e max , Q l e min Maximum and minimum of the transaction power of the line
z , A Value of the average and variance
W 0 Weight of the mean value
A a a Covariance matrix
PNumber of uncertain parameters
Variables
P   t   B , P t w , P t t i , P t p v Power output of the storage, WT, tidal and PV, respectively
Q t , u , Q l e , t The generation reactive power of the generators and the line reactive power flow
F b e s t _ s o r t Sorted matrix of the best values of the objective function
F 1 r Objective function of the elements of matrix ψ r
F 1 B e s t Best solution of the matrix F 1 r
H w i Matrix of k n
I   t c h , I   t d c h Binary variables of charging and discharging modes of EH energy storage
K Matrix of control variables
P t , u ,   P l e , t                   The generation active power of the generators and the line active power flow
P t c h , P t d i s Ch/Dis powers of storage
z t , u Binary variables of the generator
V b , η b     Voltage and angle of the bus
V   t   B Energy of the storage system
m i n   G g r i d Costs of the smart grid

References

  1. Mohamed, M.A.; Hajjiah, A.; Alnowibet, K.A.; Alrasheedi, A.F.; Awwad, E.M.; Muyeen, S.M. A secured advanced management architecture in peer-to-peer energy trading for multi-microgrid in the stochastic environment. IEEE Access 2021, 9, 1. [Google Scholar] [CrossRef]
  2. Deng, L.; Sun, H.; Chen, R.; Guo, Q. Research on nodal energy price of combined heat and power system for Energy Internet. Power Syst. Technol. 2016, 40, 3375–3382. [Google Scholar]
  3. Rezaei, M.; Dampage, U.; Das, B.K.; Nasif, O.; Borowski, P.F.; Mohamed, M.A. Investigating the Impact of Economic Uncertainty on Optimal Sizing of Grid-Independent Hybrid Renewable Energy Systems. Processes 2021, 9, 1468. [Google Scholar] [CrossRef]
  4. Tan, H.; Yan, W.; Ren, Z.; Wang, Q.; Mohamed, M.A. A robust dispatch model for integrated electricity and heat networks considering price-based integrated demand response. Energy 2022, 239, 121875. [Google Scholar] [CrossRef]
  5. Zou, H.; Tao, J.; Elsayed, S.K.; Elattar, E.E.; Almalaq, A.; Mohamed, M.A. Stochastic multi-carrier energy management in the smart islands using reinforcement learning and unscented transform. Int. J. Electr. Power Energy Syst. 2021, 130, 106988. [Google Scholar] [CrossRef]
  6. Tan, H.; Ren, Z.; Yan, W.; Wang, Q.; Mohamed, M.A. A Wind Power Accommodation Capability Assessment Method for Multi-Energy Microgrids. IEEE Trans. Sustain. Energy 2021. [Google Scholar] [CrossRef]
  7. Mohamed, M.A.; Jin, T.; Su, W. Multi-agent energy management of smart islands using primal-dual method of multipliers. Energy 2020, 208, 118306. [Google Scholar] [CrossRef]
  8. Wang, J.; Wang, Q.; Zhou, N.; Chi, Y. A Nove l Electricity Transaction Mode of Microgrids Based on Blockchain and Continuous Double Auction. Energies 2017, 10, 1971. [Google Scholar] [CrossRef] [Green Version]
  9. Mengelkamp, E.; Gärttner, J.; Rock, K.; Kessler, S.; Orsini, L.; Weinhardt, C. Designing microgrid energy markets: A case study: The Brooklyn Microgrid. Appl. Energy 2018, 210, 870–880. [Google Scholar] [CrossRef]
  10. Yin, F.; Hajjiah, A.; Jermsittiparsert, K.; Al-Sumaiti, A.S.; Elsayed, S.K.; Ghoneim, S.S.; Mohamed, M.A. A secured social-economic framework based on PEM-blockchain for optimal scheduling of reconfigurable interconnected microgrids. IEEE Access 2021, 9, 40797–40810. [Google Scholar] [CrossRef]
  11. Wang, S.; Taha, A.F.; Wang, J.; Kvaternik, K.; Hahn, A. Energy Crowdsourcing and Peer-to-Peer Energy Trading in Blockchain-Enabled Smart Grids. IEEE Trans. Syst. Man Cybern. Syst. 2019, 49, 1612–1623. [Google Scholar] [CrossRef] [Green Version]
  12. Li, Z.; Kang, J.; Yu, R.; Ye, D.; Deng, Q.; Zhang, Y. Consortium blockchain for secure energy trading in industrial internet of things. IEEE Trans. Ind. Inform. 2017, 14, 3690–3700. [Google Scholar] [CrossRef] [Green Version]
  13. Yang, Q.; Wang, H. Exploring Blockchain for the Coordination of Distributed Energy Resources. In Proceedings of the 2021 55th Annual Conference on Information Sciences and Systems (CISS), Baltimore, MD, USA, 14–26 March 2021. [Google Scholar]
  14. Eyal, I.; Emin, G.S. Majority is not enough: Bitcoin mining is vulnerable. In International Conference on Financial Cryptography and Data Security; Springer: Berlin/Heidelberg, Germany, 2014. [Google Scholar]
  15. UTBC. Available online: http://utbc.net/ (accessed on 5 February 2021).
  16. PPCoin. Available online: https://peercoin.net/ (accessed on 1 March 2021).
  17. Bentov, I.; Lee, C.; Mizrahi, A.; Rosenfeld, M. Proof of activity: Extending bitcoin’s proof of work via proof of stake [extended abstract] y. ACM SIGMETRICS Perform. Eval. Rev. 2014, 42, 34–37. [Google Scholar] [CrossRef]
  18. Tosh, D.; Shetty, S.; Foytik, P.; Kamhoua, C.; Njilla, L. CloudPoS: A proof-of-stake consensus design for blockchain integrated cloud. In Proceedings of the 2018 IEEE 11th International Conference on Cloud Computing (CLOUD), San Francisco, CA, USA, 2–7 July 2018. [Google Scholar]
  19. Xue, T.; Yuan, Y.; Ahmed, Z.; Moniz, K.; Cao, G.; Wang, C. Proof of contribution: A modification of proof of work to increase mining efficiency. In Proceedings of the 2018 IEEE 42nd Annual Computer Software and Applications Conference (COMPSAC), Tokyo, Japan, 23–27 July 2018; Volume 1. [Google Scholar]
  20. Kanchev, H.; Lu, D.; Colas, F.; Lazarov, V.; Francois, B. Energy Management and Operational Planning of a Microgrid with a PV-Based Active Generator for Smart Grid Applications. IEEE Trans. Ind. Electron. 2011, 58, 4583–4592. [Google Scholar] [CrossRef] [Green Version]
  21. Palma-Behnke, R.; Benavides, C.; Lanas, F.; Severino, B.; Reyes-Chamorro, L.; Llanos, J.; Saez, D. A Microgrid Energy Management System Based on the Rolling Horizon Strategy. IEEE Trans. Smart Grid 2013, 4, 996–1006. [Google Scholar] [CrossRef] [Green Version]
  22. Min, L.; Alnowibet, K.A.; Alrasheedi, A.F.; Moazzen, F.; Awwad, E.M.; Mohamed, M.A. A stochastic machine learning based approach for observability enhancement of automated smart grids. Sustain. Cities Soc. 2021, 72, 103071. [Google Scholar] [CrossRef]
  23. Al-Ghussain, L.; Ahmad, A.D.; Abubaker, A.M.; Mohamed, M.A. An integrated photovoltaic/wind/biomass and hybrid energy storage systems towards 100% renewable energy microgrids in university campuses. Sustain. Energy Technol. Assess. 2021, 46, 101273. [Google Scholar]
  24. Mohamed, M.A.; Abdullah, H.M.; El-Meligy, M.A.; Sharaf, M.; Soliman, A.T.; Hajjiah, A. A novel fuzzy cloud stochastic framework for energy management of renewable microgrids based on maximum deployment of electric vehicles. Int. J. Electr. Power Energy Syst. 2021, 129, 106845. [Google Scholar] [CrossRef]
  25. Lan, T.; Liu, X.; Wang, S.; Jermsittiparsert, K.; Alrashood, S.T.; Rezaei, M.; Al-Ghussain, L.; Mohamed, M.A. An advanced machine learning based energy management of renewable microgrids considering hybrid electric vehicles’ charging demand. Energies 2021, 14, 569. [Google Scholar] [CrossRef]
  26. Gözel, T.; Hocaoglu, M.H. An analytical method for the sizing and siting of distributed generators in radial systems. Electr. Power Syst. Res. 2009, 79, 912–918. [Google Scholar] [CrossRef]
  27. Prabha, D.R.; Jayabarathi, T. Optimal placement and sizing of multiple distributed generating units in distribution networks by invasive weed optimization algorithm. Ain Shams Eng. J. 2016, 7, 683–694. [Google Scholar] [CrossRef] [Green Version]
  28. Khalesi, N.; Rezaei, N.; Haghifam, M.-R. DG allocation with application of dynamic programming for loss reduction and reliability improvement. Int. J. Electr. Power Energy Syst. 2011, 33, 288–295. [Google Scholar] [CrossRef]
  29. Chen, X.; Yue, H.; Yu, K. Perturbed stochastic fractal search for solar PV parameter estimation. Energy 2019, 189, 116247. [Google Scholar] [CrossRef]
  30. Joseph, T.; Tyagi, B.; Kumar, V. Dynamic state estimation of generators using spherical simplex unscented transform-based unbiased minimum variance filter. IET Gener. Transm. Distrib. 2020, 14, 2997–3005. [Google Scholar] [CrossRef]
  31. Ma, H.; Liu, Z.; Li, M.; Wang, B.; Si, Y.; Yang, Y.; Mohamed, M.A. A two-stage optimal scheduling method for active distribution networks considering uncertainty risk. Energy Rep. 2021, 7, 4633–4641. [Google Scholar] [CrossRef]
  32. Jalonen, H. The uncertainty of innovation: A systematic review of the literature. J. Manag. Res. 2012, 4, 1. [Google Scholar] [CrossRef] [Green Version]
  33. Nakamoto, S. Bitcoin: A peer-to-peer electronic cash system. Decentralized Bus. Rev. 2008, 13, 21260. [Google Scholar]
  34. Shetty, S.S.; Kamhoua, C.A.; Njilla, L.L. (Eds.) Blockchain for Distributed Systems Security; John Wiley & Sons: Hoboken, NJ, USA, 2019. [Google Scholar]
  35. Mohamed, M.A.; Awwad, E.M.; El-Sherbeeny, A.M.; Nasr, E.A.; Ali, Z.M. Optimal scheduling of reconfigurable grids considering dynamic line rating constraint. IET Gener. Transm. Distrib. 2020, 14, 1862–1871. [Google Scholar] [CrossRef]
  36. Sheikh, M.; Aghaei, J.; Chabok, H.; Roustaei, M.; Niknam, T.; Kavousi-Fard, A.; Shafie-Khah, M.; Catalao, J.P.S. Synergies between Transportation Systems, Energy Hub and the Grid in Smart Cities. IEEE Trans. Intell. Transp. Syst. 2021, 1–15. [Google Scholar] [CrossRef]
  37. Sheikh, M.; Aghaei, J.; Letafat, A.; Rajabdorri, M.; Niknam, T.; Shafie-Khah, M.; Catalão, J.P. Security-Constrained Unit Commitment Problem with Transmission Switching Reliability and Dynamic Thermal Line Rating. IEEE Syst. J. 2019, 13, 3933–3943. [Google Scholar] [CrossRef]
  38. Sheikh, M.; Aghaei, J.; Rajabdorri, M.; Shafie-khah, M.; Lotfi, M.; Javadi, S.M.; Catalão, P.J. Multiobjective Congestion Management and Transmission Switching Ensuring System Reliability. In Proceedings of the 2019 IEEE International Conference on Environment and Electrical Engineering and 2019 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Genoa, Italy, 11–14 June 2019; pp. 1–5. [Google Scholar]
  39. Daneshvar, M.; Mohammadi-Ivatloo, B.; Asadi, S.; Anvari-Moghaddam, A.; Rasouli, M.; Abapour, M.; Gharehpetian, G.B. Chance-constrained models for transactive energy management of interconnected microgrid clusters. J. Clean. Prod. 2020, 271, 122177. [Google Scholar] [CrossRef]
  40. Arteaga, J.; Zareipour, H. A Price-Maker/Price-Taker Model for the Operation of Battery Storage Systems in Electricity Markets. IEEE Trans. Smart Grid 2019, 10, 6912–6920. [Google Scholar] [CrossRef]
  41. Majidi, M.; Zare, K. Integration of Smart Energy Hubs in Distribution Networks under Uncertainties and Demand Response Concept. IEEE Trans. Power Syst. 2018, 34, 566–574. [Google Scholar] [CrossRef]
  42. Mohamed, M.A.; Almalaq, A.; Abdullah, H.M.; Alnowibet, K.A.; Alrasheedi, A.F.; Zaindin, M.S.A. A Distributed Stochastic Energy Management Framework Based-Fuzzy-PDMM for Smart Grids Considering Wind Park and Energy Storage Systems. IEEE Access 2021, 9, 46674–46685. [Google Scholar] [CrossRef]
  43. Wang, P.; Wang, D.; Zhu, C.; Yang, Y.; Abdullah, H.M.; Mohamed, M.A. Stochastic management of hybrid AC/DC microgrids considering electric vehicles charging demands. Energy Rep. 2020, 6, 1338–1352. [Google Scholar] [CrossRef]
  44. Duan, Q.; Quynh, N.V.; Abdullah, H.M.; Almalaq, A.; Do, T.D.; Abdelkader, S.M.; Mohamed, M.A. Optimal Scheduling and Management of a Smart City Within the Safe Framework. IEEE Access 2020, 8, 161847–161861. [Google Scholar] [CrossRef]
  45. Banerjee, S.; Sarkar, D. BFO-based firefly algorithm for multi-objective optimal allocation of generation by integrating renewable energy sources. Int. J. Grid Util. Comput. 2021, 12, 67–80. [Google Scholar] [CrossRef]
  46. Mirjalili, S.; Dong, J.S.; Sadiq, A.S.; Faris, H. Genetic Algorithm: Theory, Literature Review, and Application in Image Reconstruction. Nov. Bioinspired Actuator Des. Robot. 2020, 69–85. [Google Scholar] [CrossRef]
  47. Kanwar, N.; Meena, N.; Yang, J.; Parashar, S. Modified Bacterial Foraging Optimization and Application. In Swarm Intelligence Algorithms; Informa UK Limited: London, UK, 2020; pp. 29–41. [Google Scholar]
  48. Liu, Y.; Jin, T.; Mohamed, M.A.; Wang, Q. A Novel Three-Step Classification Approach Based on Time-Dependent Spectral Features for Complex Power Quality Disturbances. IEEE Trans. Instrum. Meas. 2021, 70, 1–14. [Google Scholar]
  49. Mohamed, M.A.; Eltamaly, A.M.; Alolah, A. Swarm intelligence-based optimization of grid-dependent hybrid renewable energy systems. Renew. Sustain. Energy Rev. 2017, 77, 515–524. [Google Scholar] [CrossRef]
  50. Wang, Q.; Jin, T.; Mohamed, M.A. A Fast and Robust Fault Section Location Method for Power Distribution Systems Considering Multisource Information. IEEE Syst. J. 2021, 1–11. [Google Scholar] [CrossRef]
Figure 1. The blockchain network process.
Figure 1. The blockchain network process.
Sustainability 13 10382 g001
Figure 2. The modified smart grid structure based on miners.
Figure 2. The modified smart grid structure based on miners.
Sustainability 13 10382 g002
Figure 3. The framework of the IPS algorithm.
Figure 3. The framework of the IPS algorithm.
Sustainability 13 10382 g003
Figure 4. Illustration of energy consumption of mining devices.
Figure 4. Illustration of energy consumption of mining devices.
Sustainability 13 10382 g004
Figure 5. Successful probability of attack.
Figure 5. Successful probability of attack.
Sustainability 13 10382 g005
Figure 6. The operation cost of smart grid.
Figure 6. The operation cost of smart grid.
Sustainability 13 10382 g006
Figure 7. Convergence diagram of the IPS algorithm.
Figure 7. Convergence diagram of the IPS algorithm.
Sustainability 13 10382 g007
Figure 8. Comparison of different algorithms for the allocation problem.
Figure 8. Comparison of different algorithms for the allocation problem.
Sustainability 13 10382 g008
Figure 9. The location diagram of DGRs.
Figure 9. The location diagram of DGRs.
Sustainability 13 10382 g009
Figure 10. The miner allocation.
Figure 10. The miner allocation.
Sustainability 13 10382 g010
Figure 11. The participation percentage of energy supply resources.
Figure 11. The participation percentage of energy supply resources.
Sustainability 13 10382 g011
Figure 12. The financial estimates of miners and DGRs.
Figure 12. The financial estimates of miners and DGRs.
Sustainability 13 10382 g012
Figure 13. The comparative results related to the benefit of miners under uncertainty/normal conditions.
Figure 13. The comparative results related to the benefit of miners under uncertainty/normal conditions.
Sustainability 13 10382 g013
Figure 14. The comparative results related to the energy cost of DGRs under uncertainty/normal conditions.
Figure 14. The comparative results related to the energy cost of DGRs under uncertainty/normal conditions.
Sustainability 13 10382 g014
Table 1. Comparison among different cases.
Table 1. Comparison among different cases.
Different CasesCost of Smart Grid (¢)Total Cost (¢)
The modified framework4,698,441,7344,698,505,720
The basic structure6,921,944,5316,921,904,376
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Mohamed, M.A.; Mirjalili, S.; Dampage, U.; Salmen, S.H.; Obaid, S.A.; Annuk, A. A Cost-Efficient-Based Cooperative Allocation of Mining Devices and Renewable Resources Enhancing Blockchain Architecture. Sustainability 2021, 13, 10382. https://doi.org/10.3390/su131810382

AMA Style

Mohamed MA, Mirjalili S, Dampage U, Salmen SH, Obaid SA, Annuk A. A Cost-Efficient-Based Cooperative Allocation of Mining Devices and Renewable Resources Enhancing Blockchain Architecture. Sustainability. 2021; 13(18):10382. https://doi.org/10.3390/su131810382

Chicago/Turabian Style

Mohamed, Mohamed A., Seyedali Mirjalili, Udaya Dampage, Saleh H. Salmen, Sami Al Obaid, and Andres Annuk. 2021. "A Cost-Efficient-Based Cooperative Allocation of Mining Devices and Renewable Resources Enhancing Blockchain Architecture" Sustainability 13, no. 18: 10382. https://doi.org/10.3390/su131810382

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop