Next Article in Journal
MSDA-NMF: A Multilayer Complex System Model Integrating Deep Autoencoder and NMF
Next Article in Special Issue
BlockCrime: Blockchain and Deep Learning-Based Collaborative Intelligence Framework to Detect Malicious Activities for Public Safety
Previous Article in Journal
Enhanced Evaluation Method of Musical Instrument Digital Interface Data based on Random Masking and Seq2Seq Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Blockchain and Double Auction-Based Trustful EVs Energy Trading Scheme for Optimum Pricing

1
Department of Computer Science and Engineering, Institute of Technology, Nirma University, Ahmedabad 382481, Gujarat, India
2
National Research and Development Institute for Cryogenic and Isotopic Technologies—ICSI Rm. Valcea, Uzinei Street, No. 4, P.O. Box 7 Raureni, 240050 Râmnicu Valcea, Romania
3
Software Engineering Department, College of Computer and Information Sciences, King Saud University, Riyadh 12372, Saudi Arabia
4
Computer Science Department, Community College, King Saud University, Riyadh 11437, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Mathematics 2022, 10(15), 2748; https://doi.org/10.3390/math10152748
Submission received: 4 July 2022 / Revised: 26 July 2022 / Accepted: 31 July 2022 / Published: 3 August 2022
(This article belongs to the Special Issue Blockchain Technology Applied in Accounting)

Abstract

:
Electric vehicles (EVs) have gained prominence in smart transportation due to their unparalleled benefits of reduced carbon footprints, improved performance, and intelligent energy trading mechanisms. These potential benefits have increased EV adoption at massive scales, but energy management in EVs is a critical study problem. The problem is further intensified due to the scarcity of charging stations (CSs) in near EV proximity. Moreover, as energy transactions occur over open channels, it presents critical security, privacy, and trust issues among decentralized channels. To address the open limitations of trusted energy management and optimize the pricing control among EV entities (i.e., prosumers and consumers), the paper proposes a scheme that integrates blockchain and a truthful double auction strategy for trustful EV trading. To address the transaction scalability, we integrate an Interplanetary File System (IPFS) with a double auction mechanism handled through the Remix Smart Contract environment. The double auction leverages an optimal payoff condition between peer EVs. To address the communication latency, we present the scheme at the backdrop of Fifth Generation (5G) networks that minimizes the optimal payoff response time. The scheme is simulated against parameters such as convergence, profit for consumers, computation time, and blockchain analysis regarding node commit latency, collusion attacks, and EV energy consumption. The results indicate the scheme’s viability against traditional (non-blockchain) approaches with high reliability, scalability, and improved cost-efficiency.

1. Introduction

The enormous growth of intelligent transportation systems (ITS) is adversely affecting the green environment of smart cities due to the persistent depletion of non-renewable resources such as fossil fuels, coal, and natural gas. Over the last few years, industries and government institutions have tried to control the emission of harmful greenhouse gases in the urban areas [1,2]. As a result, automotive industries have transitioned from petrol or fossil fuel vehicles to electric vehicles (EVs) so that drivers can also be satisfied with ITS for affordable traveling [3]. EVs utilize renewable resources such as solar energy, nuclear power plant, wind power plant, etc., proving to be a plausible solution for a green and safe environment [4]. Many authors have considered electric mobility in their research work to highlight the benefits of its usage by understanding the basic architecture, charging technologies, and consumer behavior towards the EV market [5]. For example, Secinaro et al. [6] performed the bibliometric analysis to identify the relevant business models for the EVs considering the discussion on various charging technologies, components, and resource optimization to enable a sustainable environment for EV deployment. However, despite the low cost, modest energy consumption, and low greenhouse gas emissions, the management of EV’s energy demand seems to be a gruesome task to tackle due to the limited deployment of charging infrastructure. Therefore, it entails an energy trading system in which EVs can act as a prosumer or consumer to deal with the high charging prices, fluctuating energy requirements, and distant locations of charging stations (CSs) [7,8,9].
To address the aforementioned issues, many researchers across the globe have incorporated the energy trading mechanism to fulfill the energy requirement of EVs. For example, the authors in [10] discussed the energy trading between EVs and mobile CSs by formulating an incentive mechanism to provide a fair and trusted environment for EVs involved in energy trading [11]. However, the inclusion of mobile CS can be a disadvantage for massive EVs arriving for charging. Bhattacharya et al. [12] proposed a blockchain-based energy trading scheme, named EVBlocks, in Vehicle-to-Anything (V2X) scenarios. A non-cooperative game model is proposed for optimization of cost payoff, and a proof-of-greed (PoG) consensus mechanism is proposed to handle fluctuations in charging and discharging EVs. However, the authors did not discuss the scenario of charging scarcity in the trading environment. Thus, to mitigate the scarcity of charging infrastructure, Xiaoguang et al. [13] developed an energy trading system to enable the optimal scheduling between EVs and temperature-controlled loads while providing a green environment. Later, Chung et al. [14] proposed an optimal EV energy trading and demand response scheme utilizing the cloud server to optimize the profit for users. However, most of the energy trading schemes discussed depend on the centralized authority to store data at a cloud server arising the security and trust issues in the system.
Therefore, many researchers have adopted a trustful and decentralized blockchain-based framework to secure the data transactions involved in energy trading due to its dynamic applications in various domains such as healthcare, agri-food, energy, accounting management, and supply chain management [15,16,17]. For example, supply chain and its complex operations can be tackled with the secure and decentralized blockchain technology by executing the self-executable smart contracts [18]. Additionally, blockchain is utilized to reduce the cost associated with the supply chain management for a sustainable business models for energy management [19]. Moreover, blockchain technology seems to yield better results for the energy sectors in terms of secure, transparent, and tamper-proof transactions by discussing the consensus mechanisms and components of the blockchain to improve the performance and efficiency of energy market [20,21]. Hasselgren et al. [22] discussed about how usage of blockchain can improve the security and services in the health care sector. Moreover, blockchain technology can be applied for agri-food supply chain management to ensure the secure and optimal incentive mechanism for the participants involved in the market [23].
To highlight the advantages of blockchain technology in energy trading, Kakkar et al. [24] discussed a blockchain and multiple linear regression-based energy trading scheme to deal with security and privacy issues of data storage of EVs. However, they did not consider the various security attacks such as Denial-of-Service (DoS), data manipulation, and cyber against the data storage of users. Baza et al. [25] investigated a privacy-preserved energy trading scheme by leveraging the blockchain technology with the introduced anonymous payment system to tackle the privacy issues arising in the system. Later, the authors of [26] discussed a lightweight authenticated dynamic EV contactless charging integrated with the blockchain-based energy trading system. They have focused on providing a secure and transparent environment to the EVs for contactless charging. Then, Tanwar et al. [27] designed a blockchain-based EV charging reservation scheme for optimum pricing. They have adopted a double auction mechanism to provide maximal payoff between users in the system. The solutions provided by the researchers mainly deal with the security and privacy issues in the blockchain-based energy trading scheme [28]. Still, they did not discuss the optimal payoff, profit, computation time, and data storage cost for the EVs participating in the energy trading. The authors in [27] focused on optimizing the profit for EVs utilizing the double auction mechanism but ignoring the truthfulness and individual rationality of the bidders.
Therefore, to overcome the aforementioned challenges, we have proposed a blockchain and IPFS-based energy trading scheme based on a truthful double auction mechanism to obtain the optimal payoff between EVs, i.e., prosumers and consumers [29]. The applied double auction mechanism optimizes the gain between EVs, encouraging them to bid in energy trading. The truthful and individual rationality characteristics of the formulated double auction mechanism enable the bidders to bid their true strategy. The data storage cost issues are being tackled with the help of the employed IPFS peer-to-peer (P2P) protocol which acquires low cost when integrated with the blockchain in energy trading. Similarly, EVs energy trading data can be stored and retrieved efficiently with low computation time in the blockchain-enabled IPFS framework [30]. Moreover, the data transactions are performed reliably over a 5G wireless network to guarantee a highly scalable energy trading between EVs.
Based on the above discussion, the motivation of this research work can be defined as follows:
  • Most conventional energy trading schemes have focused on the security aspect of the EVs while neglecting the optimal payoff between them;
  • As per the literature, researchers have addressed the security and privacy issues of EVs energy trading schemes. As a result, authors in [12,24,25,26] investigated the blockchain-based energy trading scheme to strengthen the security and transparency of the EVs communication. However, they have ignored the price optimality aspect of EVs along with other factors such as profit for consumers, computation time, and data storage computation. Moreover, authors of [27] have adopted a double auction mechanism for optimality, but they did not consider the truthfulness and individual rationality of the EVs;
  • Therefore, a blockchain and IPFS-enabled energy trading scheme is a plausible solution to overcome the price optimality and trust issues of the EVs based on the trustful double auction mechanism. Furthermore, the IPFS and 5G wireless technology ensures the highly reliable, scalable, and efficient data communication between EVs in energy trading.
Following are the research contributions of this research work:
  • We propose a blockchain-based secure and truthful energy trading scheme for optimal payoff between EVs, i.e., prosumers and consumers;
  • We employ a P2P IPFS protocol with the blockchain to provide a low cost data storage for EV energy trading;
  • We formulate a truthful double auction mechanism to enable the optimized payoff for EVs in energy trading due to its truthfulness and individual rationality;
  • Finally, the simulation of the proposed energy trading scheme has been presented in terms of various aspects such as convergence, profit for consumers, computation time, and data storage cost computation.
The rest of the paper is organized as follows: Section 3 discusses the related work. Section 4 presents the system model and problem formulation. Section 5 describes the proposed scheme, which presents the truthful double auction mechanism. Section 6 shows the performance evaluation of the proposed scheme and, finally, the research work is concluded in Section 7.

2. Materials and Methods

In this section, we have discussed about the insights of blockchain-based secure and decentralized energy trading scheme for EVs. Foremost, we have explored the relevant blockchain-based EVs energy trading schemes to identify the research gaps that is being handled by the proposed trustful blockchain-based EV energy trading scheme. To identify the research gaps, authors have references from several research works from high quality research databases such as ACM digital library, Science Direct, IEEEXplore, Springer Nature, Elsevier, Wiley Online, Google Scholar, Scopus, and technical blogs. The proposed scheme can be traversed with the help of keywords, i.e., Blockchain, electric vehicles, IPFS, truthful double auction, etc. Furthermore, Figure 1 shows the prisma diagram of the proposed scheme in which research gaps have been identified by exploring the relevant research works to highlight the advantages of the proposed scheme.

3. Related Works

As per literature, many researchers have been reported to utilize centralized authority for optimal EV energy trading schemes. However, a centralized system can easily exploit the security of data transactions involved in energy trading. Therefore, a blockchain incorporated with the EV energy trading mechanism proves to be an effective solution to secure and preserve the data transactions involved in EV energy trading schemes. As a result, Neagu et al. [31] adopted a new vision for prosumers’ optimal energy trading with the execution of smart P2P contracts. They have deployed the proposed scheme in a real microgrid network to improve the scheme’s feasibility.
Later, Ashfaq et al. [32] considered a consortium blockchain network to strengthen the security and privacy in EV energy trading. The authors considered the k-Nearest Neighbor algorithm that reduces the consumption of resources and computation power for efficient EV energy trading. Furthermore, to improve the storage cost and high latency issues of [32], the authors of [33] designed a P2P smart contract-based energy trading scheme, i.e., ET-Deal, to manage the energy load of EVs. However, the ET-Deal scheme proposed by the researchers has not considered the computation time required to add data transactions to the blockchain, which can reduce the system’s scalability. To enhance the scalability of the system, Chen et al. [34] adopted a blockchain framework to ensure a highly scalable energy trading scheme integrated with the distributed optimization algorithm to eliminate the dishonest participants from the network. Later, Chung et al. [14] proposed the demand response and energy trading combinatorial framework to reduce the charging cost for EVs participating in the system for their profit. The research work conducted in [14] surpasses the energy trading scheme of [34] in terms of profit and charging cost. Then, the authors of [35] extended their research work to investigate a blockchain-based energy trading framework using Proof of Solution that handles the optimization problem, which is not being considered in [14].
To the best of our knowledge, as per the literature, most authors/researchers have integrated blockchain networks in their research work to secure energy trading for EVs. However, they did not discuss the various parameters, i.e., optimal payoff, profit for consumers, computation time, and data storage computation, which can deteriorate the efficiency and performance of the EV energy trading. Thus, we have proposed a blockchain and double auction-based trustful EV energy trading scheme for optimum pricing. The proposed system ensures the optimal payoff and trusting environment to perform the energy trading for EVs. Table 1 shows the comparative analysis of various state-of-the-art energy trading schemes with the proposed scheme to highlight the benefits of optimal and trustful energy trading for EVs.

4. System Model and Problem Formulation

This section describes the system model and problem formulation of the blockchain-based secure energy trading scheme with the optimum price.

4.1. System Model

Figure 2 depicts the blockchain-based secure energy trading scheme between EVs grouped into prosumers ( E α ) and consumers ( E β ) with the additionally introduced entities such as an IPFS and 5G-enabled network. The incorporated blockchain network secures the data transaction of prosumers and consumers participating in the energy trading by storing their data in a decentralized and immutable manner. The advantages of secure blockchain network also increase the sustainability of EVs in the smart city. Therefore, adoption of blockchain technology in the proposed energy trading scheme seems to be en efficient solution for prosumers and consumers [37]. The number of EVs, i.e., prosumers can choose to generate energy ( ξ α ) from renewable energy sources at their home only. They can utilize the solar panel to convert energy into electricity transferred to the EVs through the charger. Thus, we have considered that some prosumers already contain the energy generated from renewable sources such as solar panels and small wind systems that can be deployed at home. Prosumers can communicate with the consumers to sell their additional energy with the authenticated EVs by registering them with the e-KYC. Registering authority θ R a has been introduced to manage the authentication of the EVs. Moreover, consumers can also opt to purchase energy from the smart grid based on the fluctuating price and distance from the prosumers. A truthful double auction mechanism is employed to decide the strategy for optimal energy trading between prosumers and consumers in the blockchain network. Consumers validated after registering with e-KYC can participate in the truthful double auction bid with the prosumers, which are being authenticated with the execution of the smart contract to add information about the energy trading in the blockchain securely. The wireless 5G communication network along with its features such as high data rate, improved bandwidth, and low latency strengthen the reliability of the proposed energy trading scheme.
Furthermore, Figure 3 depicts the three-layered architecture of the blockchain-based energy trading scheme grouped into prosumer layer, blockchain and auction layer, and consumer layer. The layers can be explained as follows.

4.1.1. Prosumer Layer

The three-layered architecture initiates with the prosumer layer, which comprises several EVs, i.e., prosumers, and the advantage of energy generation from renewable energy sources such as solar power and small wind systems that supply surplus energy to the EVs via an electric charger. However, we have considered that only a certain number of prosumers can generate energy for themselves. Additionally, they can trade the generated energy with the consumers in the consumer layer by spending the amount from their wallet. However, before discussing the communication between prosumer and consumer in the consumer layer, the security aspect of energy trading needs to be highlighted. For that, registering authority is introduced to validate the identity of EVs by registering them through e-KYC. Furthermore, registering authority allows them to participate in the energy trading scheme with the generated public-private key pair. Thus, EVs can request to store their energy trading data in the IPFS with the improved data storage cost. The security aspect of data storage in IPFS is discussed in the blockchain and auction layer to secure the communication between EVs for energy trading.

4.1.2. Blockchain and Auction Layer

The blockchain and auction layer serves as a middle layer to secure the communication between the prosumer and consumer layer. The data storage request of EVs in the prosumer layer has to fulfilled in the blockchain and auction layer. The EV energy trading data and the certificate assigned by the registering authority θ R a can be forwarded to the IPFS for data storage. Furthermore, a smart contract executes to certify EVs data storage in the IPFS. The accredited charging certificate by smart contract enables transparent EV data storage in IPFS. Otherwise, a certificate found illegitimate by the smart contract can be discarded while maintaining the security of data transactions in the blockchain network. The auction layer is described with the truthful double auction mechanism devised between EVs, i.e., prosumer and consumer, to yield the optimal payoff during the energy trading via a 5G wireless communication network. The employed wireless technology facilitates efficient and reliable data transactions for energy trading. Algorithm 1 presents the secure data storage of EVs in energy trading based on the blockchain network, which will be explained in detail as follows:
  • Blockchain-based secure data storage algorithm
    In Algorithm 1, the two entities, i.e., prosumer α r and consumer β o , are considered along with their data D t α r and D t β o needed to be stored in the IPFS beforehand certified by the registering authority θ R a . After obtaining the legitimate certificate from θ R a , EVs can store their energy trading data in the IPFS that further generates the corresponding hash keys for them. Furthermore, public key cryptography associated with the public-private key pair for the EVs can be used to ensure authenticity and transparency in the energy trading based on the blockchain network [38]. The complete procedure of blockchain-based secure data storage for p and q number of EVs, i.e., prosumer and consumer, can be computed in terms of the time complexity of O(p) and O(q).
Algorithm 1 Blockchain-based algorithm to perform secure data transactions for EVs
Input: α r , β o , I P F S h a s h k , D t α r , D t β o , θ R a
Output: Add data transactions to the blockchain
1:
procedureSecure_data( ϵ α r , P u k α r , P r k α r , φ P u k , D S P r k , H d )
2:
    if  E E α r  then
3:
        for  x = 1 , 2 , , p  do
4:
            I P F S h a s h k d a t a _ r e q u e s t s ( α r )
5:
            α r ϵ α r θ R a
6:
           Execute smart contract
7:
           if  α r ∈ authorized( ϵ α r ) then
8:
                α r P u k α r , P r k α r θ R a
9:
                I P F S h a s h k D t α r
10:
                α r σ α r I P F S h a s h k
11:
                b l o c k c h a i n D t α r A d d _ d a t a ( α r )
12:
               if  φ P u k α r ( D S P r k α r ) ( H d ) ∈ validate σ α r  then
13:
                   Data can be added to the blockchain
14:
               else
15:
                   Invalid user
16:
               end if
17:
           else
18:
               Illegitimate certificate
19:
           end if
20:
        end for
21:
    else if  E E β o  then
22:
        for  y = 1 , 2 , , q  do
23:
            I P F S h a s h k d a t a _ r e q u e s t s ( β o )
24:
            β o μ β o θ R a
25:
           Execute smart contract
26:
           if  β o ∈ authorized( μ β o ) then
27:
                β o P u k β o , P r k β o θ R a
28:
                I P F S h a s h k D t β o
29:
                β o τ β o I P F S h a s h k
30:
                b l o c k c h a i n D t β o A d d _ d a t a ( β o )
31:
               if  φ P u k α r ( D S P r k α r ) ( H d ) ∈ validate τ β o  then
32:
                   Data can be added to the blockchain
33:
               else
34:
                   Invalid user
35:
               end if
36:
           else
37:
               Illegitimate certificate
38:
           end if
39:
        end for
40:
    end if
41:
end procedure

4.1.3. Consumer Layer

The consumer layer involves the number of EVs, i.e., consumers participating in the energy trading with the number of prosumers defined in the prosumer layer. Prosumers in the prosumer layer can trade energy with the consumers in the consumer layer after ensuring data storage security through the middle layer, i.e., the blockchain and auction layer. Both of the bidders can bid in the truthful double auction mechanism to trade electricity by disbursing the amount from their wallet. The main aim of EVs is to surpass each other in terms of profit. However, we have incorporated the truthful double auction mechanism and the smart grid operated by renewable energy sources such as solar energy, nuclear power plant, and biomass energy to balance the overall payoff of energy trading. Therefore, prosumers can sell energy to the consumers through the blockchain and auction layer authenticating the energy trading procedure.

4.2. Problem Formulation

The blockchain-based secure energy trading scheme involves several entities in which p number of prosumers { α 1 , α 2 , , α p } ∈ α r associated with the energy levels, i.e., { ζ α 1 , ζ α 2 , , ζ α p } ∈ ζ α r at a location that is being indicated by latitude and longitude { ( ψ α 1 , Ψ α 1 ) , ( ψ α 2 , Ψ α 2 ) , , ( ψ α p , Ψ α p )} ∈ ( ψ α r , Ψ α r ) can trade with c number of consumers { β 1 , β 2 , , β c } ∈ β o located at the distance which can be computed with the latitude and longitude { ( ξ β 1 , Ξ β 1 ) , ( ξ β 2 , Ξ β 2 ) , , ( ξ β c , Ξ β c )} ∈ ( ξ β o , Ξ β o ) and the available energy { ρ β 1 , ρ β 2 , , ρ β c } ∈ ρ β o to fulfill the charging requirement by trading through the v number of Volt coins { V c β 1 , V c β 2 , , V c β c } ∈ V c β o . The energy level indicator indicates the excess amount of energy along with corresponding energy prices { κ ζ α 1 , κ ζ α 2 , , κ ζ α p } ∈ κ ζ α r in green that k number of prosumers ( k < p ) can sell to the consumers willing to purchase the energy with the optimum price. The prosumers and consumers along with their data, D t α r and D t β o , i.e.,  ζ α r , ( ψ α r , Ψ α r ), κ ζ α r , ( ξ β o , Ξ β o ) , V c β o can trade energy with the help of their wallet address Δ α r and δ β o . The above-mentioned associations can be represented as follows:
α r ( Δ α r ) ζ α r β o ( δ β o ) a n d β o ( δ β o ) ζ α r α r ( Δ α r )
α r ( ( ψ α r , Ψ α r ) , κ ζ α r ) ζ α r o = 1 c β o ( ( ξ β o , Ξ β o ) , ρ β o , V c β o )
β o ( ( ξ β o , Ξ β o ) , ρ β o ) V c β o r = 1 p α r ( ( ψ α r , Ψ α r ) , κ ζ α r )
s.t.
k p , c c , p p
where p and c denote the number of prosumers and consumers communicating for the energy trading with the energy level ζ α r associated with the k number of prosumers through the available Volt coins V c β o associated with the consumer. To enable secure and efficient energy trading between prosumers and consumers in the blockchain network, they need to register themselves with the registering authority ( θ R a ) via the e-KYC. Registering authority assigns them the unique certificate ( ϵ α r , μ β o ) to provide authentic energy trading in the blockchain network. θ R a verifies if the prosumer contains sufficient energy, i.e., threshold value ( T h ζ α r ) to sell and whether consumer contains the sufficient Volt coins (i.e., threshold number of coins ( T h V c β o ) and sufficient available energy ( T h ρ β o ) for the secure energy trading in the network. After obtaining the authenticity certificate, the registering authority permits prosumers and consumers to participate in the energy trading by allocating them the public-private key pair ( P u k α r , P r k α r ) and ( P u k β o , P r k β o ). The above-mentioned associations of prosumer and consumer with the registering authority can be represented as follows:
ζ α r > T h ζ α r
V c β o > T h V c β o
α r ( ( ψ α r , Ψ α r ) , κ ζ α r ) ϵ α r a = 1 r θ R a a
β o ( ( ξ β o , Ξ β o ) , ρ β o ) μ β o a = 1 r θ R a a
where r signifies the number of registering authorities associated with the prosumers and consumers. After obtaining the authorization rights from the registering authority, prosumers and consumers can decide to store the energy trading data ( E t d ) in the IPFS. Before that, we need to compute the distance between prosumer and consumer at the remote locations to simplify the energy trading process for both of them. The Euclidean distance can be calculated considering the latitude and longitude of the EVs ( ψ α r , Ψ α r ) and ( ξ β o , Ξ β o ) , which can be mentioned as follows [1]:
E u ( α r , β o ) d = ( ξ β o ψ α r ) 2 + ( Ξ β o Ψ α r ) 2
Energy trading between prosumers and consumers can be improved by considering the factors such as temperature ( T R ) and atmospheric pressure ( A P ) based on the climate condition that can affect the generated renewable energy level in the prosumers. We have considered the renewable sources such as solar panels { S p α 1 , S p α 2 , , S p α p } ∈ S p α r and small wind systems { ϕ α 1 , ϕ α 2 , , ϕ α p } ∈ ϕ α r through which prosumers energy is getting generated to avail it for consumers. Considering the scenario of solar panels as a renewable energy source, the amount of energy level of prosumers depends on the temperature factors, i.e., { T l , T h , T m } . If temperature T R tends to be high, then the energy generated will be increased by the temperature factor T h . On the other hand, if the temperature seems to be low, then the energy generated will be decreased by the temperature factor T l . There can be one more possible scenario in which temperature tends to be moderate due to which energy of the prosumers gets affected by the temperature factor. Due to the moderate temperature range, then the energy of the prosumers will get affected by the traffic factor T m that lies between T l and T h . Prosumers should contain sufficient energy even during the temperature effecting parameter. Otherwise, prosumers cannot initiate energy trading with the consumers. These associations can be represented as follows:
ζ α r ( S p α r ) = ζ α r T l , when temperature is low ζ α r + T h , when temperature is high ζ α r + T m , when temperature is moderate
ζ α r + T l ( S p α r ) > T h ζ α r
One more factor, i.e., atmospheric pressure A P ∈ { A l , A h , A m } has to be considered for computing the effect on the energy level of the prosumers generated from the small wind systems. If  A P is high, then the energy level of the prosumer tends to be increased by the atmospheric pressure factor A h . On the other hand, a decrease in the wind pressure exertion leads to a reduction in the energy level of the prosumers by the factor, i.e.,  A h . Wind exertion can also vary between low and high leading to moderate wind pressure, denoted by A m . Due to this, energy level generation increases by the factor A m , which is less than the energy generated in high wind pressure. Moreover, prosumers affected by the atmospheric pressure factor (in case of low pressure) should contain energy greater than the threshold energy to execute the trading with consumers in the blockchain network. Therefore, the impact of atmospheric pressure on the energy level of prosumers can be represented as follows:
ζ α r ( ϕ α r ) = ζ α r A l , if low atmospheric pressure ζ α r + A h , if high atmospheric pressure ζ α r + A m , if moderate atmospheric pressure
ζ α r A l ( ϕ α r ) > T h ζ α r
Therefore, prosumers should contain sufficient energy to initiate trading with consumers. However, low energy generation in case of low temperature and atmospheric pressure factors, i.e.,  T R and A P , leads to the requirement of a smart grid ( Θ ) that is being located at a distance computed with the help of latitude and longitude ( ι Θ , Λ Θ ) . It means the consumer can opt to utilize the smart grid for energy trading with a lower price ( μ Θ ) than the prosumer associated with a low energy level. The association between consumer and smart grid for energy trading can be represented as follows:
ζ α r ( S p α r , ϕ α r ) ζ α r Θ ( ι Θ , Λ Θ ) ( μ Θ )
Additionally, we need to consider one more scenario for energy trading based on the distance of consumers willing to purchase energy and the price of energy associated with the smart grid and prosumer to decide the profitable energy trading for consumers. First and foremost, we have to determine the distance between the consumer along with the latitude and longitude ( ξ β o , Ξ β o ) and smart grid along with the latitude and longitude ( ι Θ , Λ Θ ) similar to the Euclidean distance calculated between prosumer and consumer. The Euclidean distance between smart grid Θ and consumer β o with the latitude and longitude ( ι Θ , Λ Θ ) and ( ξ β o , Ξ β o ) can be determined as follows:
E u ( Θ , β o ) d = ( ξ β o ι Θ ) 2 + ( Ξ β o Λ Θ ) 2
Now, we can contemplate the scenarios for energy trading based on the prosumer energy level affecting parameters such as atmospheric pressure A P and temperature T R . If we consider the case of low temperature T l and low atmospheric pressure A l , then it reduces the energy generation level of the prosumers. In that case, consumers can adopt the smart grid Θ in which factors such as energy price associated with the prosumer and smart grid, i.e.,  κ ζ α r and μ Θ and distance of the smart grid and prosumer to the consumer that is denoted by E u ( Θ , β o ) d and E u ( α r , β o ) d impact the willingness of the consumer for energy trading in terms of profit. Thus, if consumers have to pay the minimum price and travel the shortest distance by opting the smart grid for energy trading, then the scenario seems beneficial for them. In another scenario, the consumer can be allocated with a smart grid for energy trading if they have to pay the maximum price but travel the shortest distance. However, if the price and distance from the smart grid are maximum, the scenario is not favorable for consumers. Similarly, if consumers are willing to utilize energy from the smart grid with the minimum price but travel the longest route, which can deteriorate the energy level of the consumers. Then, it is not the ideal scenario for consumers to trade energy with the smart grid. The scenario of energy trading between consumers and the smart grid with the condition of low energy generation of prosumers can be mentioned as follows:
β o ζ α r ( S p α r , ϕ α r ) l ( ξ β o , Ξ β o ) = Θ ( m i n ( μ Θ , E u ( Θ , β o ) d ) ) Θ ( m a x ( μ Θ ) , m i n ( E u ( Θ , β o ) d ) )
β o ζ α r ( S p α r , ϕ α r ) l ( ξ β o , Ξ β o ) = α r ( m a x ( κ ζ , E u ( α r , β o ) d ) ) α r ( m i n ( κ ζ ) , m a x ( E u ( α r , β o ) d )
We need to highlight another scenario in which prosumers contain a moderate energy level due to moderate atmospheric pressure and temperature. In this scenario, consumers can opt for a smart grid for energy trading based on the price and distance from consumers. Therefore, consumers utilizing the smart grid with minimum price and traveling the shortest distance can be beneficial for them. Alternatively, if the energy price associated with the smart grid tends to be the maximum, they have to travel the minimum distance. Then, the above-mentioned scenario can be quite favorable to the consumers for energy trading. Therefore, the scenario of energy trading between consumers and the smart grid when the prosumer contains a moderate energy level can be mentioned as follows:
β o ζ α r ( S p α r , ϕ α r ) m ( ξ β o , Ξ β o ) = Θ ( m i n ( μ Θ , E u ( Θ , β o ) d ) ) Θ ( m a x ( μ Θ ) , m i n ( E u ( Θ , β o ) d ) )
Thus, we have discussed the possible scenarios of energy trading between prosumers and consumers by introducing the smart grid based on the low and moderate energy levels of prosumers. However, data associated with the entities must be secure in the blockchain. To attain the security, we have highlighted the registering authority that allocated the certificate to the EVs that can be used as a security token to initiate the energy trading by storing the data in an intermediary IPFS protocol. Then, a smart contract as a self-executable code involves authorizing the verifiability of the EVs by confirming the certificate assigned by the registering authority. After obtaining the authentic certificate, IPFS permits prosumers and consumers to store information about energy trading. Thus, they can trade energy securely over the blockchain network. After the successful and secure data storage in IPFS, it assigns the hash keys σ α r ∈ { σ α 1 , σ α 2 , , σ α p } and τ β o ∈ { τ β 1 , τ β 2 , , τ β c } to the prosumer and consumer so that blockchain can access the hash keys to verify and add the transactions in the network. The procedure of assigning the hash keys to prosumer and consumer can be denoted by { α r , β o } = { σ α p , τ β c } . To achieve high security in the network, public-key cryptography can be used to ensure authenticity between prosumers and consumers during the energy trading with the public and private key pair of prosumer, i.e., ( P u k α r , P r k α r ), which can be mentioned as follows [1]:
H d ( α r , β o ) = ( σ α p , τ β c )
φ P u k α r ( D S P r k α r ) ( H d ( α r , β o ) ) = H d ( α r , β o )
where H d signifies the hash digest of the transactions between α r and β o . φ P u k denotes the decryption of prosumer with its public key P u k α r , and D S highlights the digital signature of prosumer with its private key P r k . Therefore, prosumers can trade energy with the consumers over the blockchain by securely performing the transactions in the network.

5. The Proposed Scheme: Truthful Double Auction

This section discusses the incorporated truthful double auction mechanism for p number of prosumers { α 1 , α 2 , , α p } ∈ α r to trade energy with c number of consumers { β 1 , β 2 , , β c } ∈ β o . The smart grid Θ in the energy trading is decided based on the price and distance between the prosumers and consumers. It means consumers along with their v number of Volt coins V c β o in the wallet and the available energy ρ β o can bid to trade energy with the prosumers associated with the energy level ζ α r and the energy prices κ ζ α r . However, if consumers bidding for utilizing the energy are less than or equal to the number of prosumers, then the consumer can request energy from prosumers directly. However, when the number of consumers is greater than the number of prosumers, then a truthful double auction mechanism has to be introduced in the energy trading scheme with the involvement of a smart grid considering the price and distance parameters of EVs (prosumers).
The truthful double auction mechanism is formulated considering the 5G wireless communication network with P2P IPFS protocol. However, the dominant strategy and truthfulness feature of the double auction mechanism ensures the optimal payoff during the energy trading between multiple prosumers and consumers along with the smart grid [39]. Therefore, the truthfulness of the double auction mechanism along with its characteristics can be considered to enhance the security and efficiency of energy trading between prosumers and consumers.
Furthermore, we need to discuss several scenarios of the double auction mechanism between consumers and prosumers to improve the overall payoff of the system. Initially, when prosumers contain sufficient energy that can be traded with the consumers optimally. However, considering the energy prices and distance from the prosumer, consumers can acquire the smart grid to gain the profit surpassing the prosumers. Therefore, scenarios are designed based on the willingness of consumers to pay the minimum price and travel the shortest distance to achieve the optimal payoff. Another scenario is when consumers have to pay the maximum price but travel the shortest distance, which helps in optimizing the available energy of the consumers. Thus, the payoff π β o l , m for consumers by adopting the smart grid along with the price and distance can be mentioned as follows:
π β o = { Θ ( m i n ( μ Θ , o = 1 c E u ( Θ , β o ) d ) ) }
π β o = { m a x ( μ Θ ) , m i n ( o = 1 c E u Θ , β o } d )
s.t.
c p , ζ α r T h ζ α r
V c β o T h V c β o , ρ β o T h ρ β o
where c and c denote the number of consumers involved in the energy trading to gain the payoff in their favor. Another scenario can be when prosumers want consumers to utilize their energy based on the price and distance beneficial for them considering the low, high, and moderate energy level. Despite adopting the smart grid, prosumers may be willing that consumers should utilize energy with the maximum energy price and pay the longest distance for trading. Thus, consumers opting for the prosumers deteriorate a higher amount of energy leading to the probability of paying high energy prices. In another scenario, if consumers pay the minimum price, but they have to travel the longest distance, further deteriorating the available energy. The payoff π α r l , h , m of prosumers considering the scenarios can be mentioned as follows:
π α r l , h , m = { α r ( m a x ( κ ζ , r = 1 p o = 1 c E u ( α r , β o ) d ) ) }
π α r l , h , m = { m i n ( κ ζ ) , m a x ( r = 1 p o = 1 c E u ( α r , β o ) d ) }
where p and p number of prosumers can trade energy with c and c number of consumers for gaining the maximum payoff. Therefore, we have highlighted the various scenarios of a truthful double auction mechanism between prosumers and consumers in which both the EVs are bidding their true strategy to gain the maximal payoff from the energy trading. The combined payoff of prosumers and consumers can be expressed based on the different scenarios, which can be mentioned as follows:
π β o C = ( π β o , π β o )
π α r l , h , m C = ( π α r l , h , m , π α r l , h , m )
Based on the evaluated optimal payoff of the prosumers and consumers, it can be perceived that both of them are bidding their true strategy to gain the optimum profit during the energy trading based on the adaptation of the smart grid. However, there can be a conflict between prosumers and consumers, which can discourage them from participating in the energy trading scheme. Therefore, we have reached a stable state, i.e., Nash Equilibrium, in which payoff between prosumers and consumers can be expressed by determining the mid point of the respective payoff:
π α r , β o = π β o + π α r l , h , m 2 , π β o + π α r l , h , m 2
Finally, we have determined the optimal payoff for energy trading between prosumers and consumers considering the payoff of both EVs.

5.1. Truthful and Individual Rationality Characteristics of the Double Auction Mechanism

We can discuss the truthful and individual rationality characteristics of the proposed double auction mechanism in which payoff for EVs has been determined at a stable state, i.e., Nash Equilibrium, which attains a trustful and beneficial energy trading for prosumers and consumers.
Definition 1.
The truthful double auction mechanism between bidders, i.e., prosumers and consumers, works on the principle that each bidder trades energy to maximize their profit by bidding their true utility value, i.e., the payoff that maintains the trustworthiness of the EVs in the energy trading. Moreover, if the double auction mechanism between prosumers and consumers is truthful, then they should also fulfill the criteria of individual rationality. We can mention the truthfulness in the double auction mechanism considering the true utility value of prosumers and consumers, which can be mentioned as follows [40,41]:
π α r , β o π α r , β o , α , β Π
where Π represents the information about the bid of prosumer and consumer.
Proof. 
The truthfulness of the double auction mechanism can be proved based on the bid value of prosumers and consumers that is denoted by the energy prices κ ζ α r and Volt coins V c β o . For that, we have considered the true and false bid value for prosumers and consumers that can be defined as { t α r , f α r } a n d { t β o , f β o } to determine the truthfulness of the double auction mechanism, which can be explained with the following cases:
  • If f α r < t α r , then prosumers trade energy with the bid value less than its true value. However, prosumers bidding with the energy price less than their true value can deviate them from the energy trading due to the incurred loss;
  • If f α r > t α r , then prosumers trade energy with the bid value greater than its true value, which seems to be a beneficial choice for them. However, consumers may not be willing to participate in the energy trading due to the high energy prices for EVs.
  • Similarly, if  f β o < t β o and f β o > t β o , then, based on the first case, consumers trade energy with the bid value less than its true value and, in the second case, consumers trade energy with the bid value greater than its true value. However, the first case is not beneficial for prosumers due to the willingness of consumer to trade energy with less number of Volt coins. Alternatively, the second case is not favorable for consumers due to the higher bidding value (more number of Volt coins) in the energy trading scheme.
Therefore, we have considered the true valuation for prosumers and consumers, i.e., threshold energy prices and threshold number of Volt coins to enable a profitable energy trading. Furthermore, we have formulated the double auction mechanism to balance the true utility of EVs in terms of optimal payoff at a Nash Equilibrium.    □
Definition 2.
In the truthful double auction mechanism, individual rationality is defined between the bidders, i.e., prosumers should trade energy with the corresponding energy prices (greater than the threshold energy prices T h κ ζ α r and consumers associated with the available energy along with the number of Volt coins V c β o (greater than the threshold number of coins T h V c β o ). According to the individual rationality, EVs can not outgain each other in terms of profit by surpassing the other EV’s strategy. It means that EVs can not have the negative payoff leading to a profitable auction for users. The individual rationality between bidders can be satisfied in the form of positive payoff, which can be defined as follows [41,42]:
π α r , β o 0
Therefore, the truthful double auction mechanism applied in the blockchain-based energy trading scheme satisfies the features of truthfulness and individual rationality to improve the experience of EVs in the energy trading scheme.

5.2. Truthful Double Auction Mechanism Algorithm for EVs Optimal Payoff

Algorithm 2 presents the applied truthful double auction mechanism between EVs based on the low, moderate, and high energy levels of prosumers. The algorithm shows that the consumers can adopt the smart grid due to the fluctuating price and distance from the prosumer. Before that, EVs should satisfy the preconditions, i.e., sufficient energy for trading, and consumers should contain the threshold number of Volt coins to participate in the proposed scheme. If conditions are satisfied, then consumers may want to trade energy with the smart grid due to its beneficial price and distance with the payoff π β o C . On the other hand, prosumers may want to trade energy with the consumers for their profit with the payoff π α r l , h , m C . Finally, we have evaluated the optimal payoff for p and q number of EVs, i.e.,  π α r , β o at a Nash equilibrium stable state with the time complexity of O(p) and O(q).
Algorithm 2 The truthful double auction mechanism between EVs for optimal payoff
Input: ξ β o , ι Θ , Ξ β o , Λ Θ , E u d
Output: π α r , β o
1:
procedureDouble_Auction( V c β o , T h V c β o , ρ β o , T h ρ β o , π β o C , π α r l , h , m C )
2:
    if  V c β o T h V c β o a n d ρ β o T h ρ β o  then
3:
        if  E ( E α r , E Θ )  then
4:
           for  x = 1 , 2 , , p  do
5:
                E u ( Θ , β o ) d = ( ξ β o ι Θ ) 2 + ( Ξ β o Λ Θ ) 2
6:
                π β o = { Θ ( m i n ( μ Θ , o = 1 c E u ( Θ , β o ) d ) ) }
7:
                π β o = { m a x ( μ Θ ) , m i n ( o = 1 c E u Θ , β o ) } d )
8:
           end for
9:
        end if
10:
    else if  E ( E β o , E α r )  then
11:
        for  y = 1 , 2 , , q  do
12:
            E u ( α r , β o ) d = ( ξ β o ψ α r ) 2 + ( Ξ β o Ψ α r ) 2
13:
            π α r l , h , m = { α r ( m a x ( κ ζ , o = 1 c E u ( α r , β o ) d ) ) }
14:
            π α r l , h , m = { m i n ( κ ζ ) , m a x ( o = 1 c E u α r , β o ) } d )
15:
        end for
16:
    end if
17:
    for  x = 1 , 2 , , p  do
18:
        for  y = 1 , 2 , , q  do
19:
            π β o C = ( π β o , π β o )
20:
            π α r l , h , m C = ( π α r l , h , m , π α r l , h , m )
21:
            π α r , β o = π β o + π α r l , h , m 2 , π β o + π α r l , h , m 2
22:
        end for
23:
    end for
24:
end procedure

6. Performance Evaluation

This section highlights the simulation results of the formulated truthful double auction mechanism between prosumers and consumers to ensure the optimal payoff between EVs by introducing the smart grid in blockchain-based energy trading. In the proposed scheme, we consider an EV energy management ecosystem supported by a public blockchain network. We consider an energy trading mechanism between peer EVs (prosumers and consumers), in which excess energy of EVs can be traded in real time to near-location EVs. As the considered network is dynamic (EVs are mobile) in the vehicular network, a new EV initially registers itself to the public blockchain and publishes its public key and certificate to other EVs. Nearby location area aggregators guide the EV authentication process, and the details are stored in the IPFS node. Finally, the registration details are hashed, and the content key of 32 bytes is generated, which is stored as meta-information in the public blockchain network.
During the energy trading mechanism, we consider that the trading is facilitated post the double auction mechanism, which fixates the optimal price condition between prosumers and consumers. The contracts are executed over the Remix Integrated Development Environment (IDE) platforms, and the implementation is carried out over the Rinkeby Test network. The contracts are executed over the Ethereum virtual machine (EVM), where to process the contract, a gas fee is deducted from the EV owner’s wallet, and the traded energy unit is marked on the contract. The contracts are designed in the Solidity programming language and are executed over low-level contract API calls. Finally, once the contract is deployed, it is published over the IPFS node, and the content URL is shared among all EVs. The experimental results, along with the parameters, are described in the following subsections.

6.1. Convergence

Figure 4 depicts the convergence analysis of the proposed scheme with the conventional blockchain-based EV charging scheme. The graph highlights the improved optimal payoff of the proposed scheme to the conventional scheme with the increase in the number of transactions. The reason for obtaining the best response of the payoff is due to the applied truthful double auction mechanism in the proposed energy trading scheme. It ensures the trustworthiness of the bidding as per the strategies of bidders, i.e., EVs. However, the conventional double auction mechanism proposed in [27] does not guarantee the truthfulness of the user’s strategy, which can also discourage EVs from bidding. Moreover, they have also ignored the individual rationality for applied double auction mechanism, which can demotivate users from participating in energy trading. In the proposed truthful double auction mechanism, bidders, i.e., prosumer and consumer, bid their true strategy to gain the maximum payoff considering the effecting parameters, i.e., temperature and atmospheric pressure. However, we have defined the strategy for EVs by introducing the smart grid to decide the optimal profit in which consumers can utilize the energy based on the price and distance between prosumers and the smart grid. Finally, the optimal payoff is determined considering the scenarios of strategy for both of the EVs with the balanced profit.

6.2. Profit for Consumers

Figure 5 shows the profit for consumers with the increase in the number of prosumers in blockchain-based energy trading. We have considered a scenario in which the increasing number of prosumers α r want to trade energy with consumers β o located at a remote location. However, the probability of consumers β o to trade energy with the smart grid Θ is high due to its associated minimum price and distance. Therefore, the above-mentioned scenario has been considered in the truthful double auction mechanism, which yields improved profit for consumers by adapting the smart grid with the increased number of prosumers in the energy trading.

6.3. Computation Time

The computation time is important to measure the reliability of the transactions between prosumers and consumers in the blockchain-enabled energy trading scheme. Thus, the computation time to store or retrieve the information of EVs about the energy trading in the blockchain needs to be considered. Moreover, the execution of a smart contract written as a self-executable code decides the authorization of the EVs for data storage in the blockchain, which can be performed in 0.08 s [43]. On the other hand, if a combinatorial blockchain and IPFS energy trading scheme is utilized for EVs, then data storage time through the usage of IPFS can be determined as 0.11 s [44]. The use of intermediary IPFS yields somewhat moderately higher computation time than with the blockchain. However, IPFS as a decentralized and P2P protocol stores data with low cost in a distributed manner than the blockchain, which improves the cost-efficiency of the system.
Thus, we have considered the IPFS protocol to enable the cost-efficient data storage of energy trading in the blockchain. Now, we need to contemplate the data retrieving procedure from the blockchain. The data retrieving time directly from the blockchain can be evaluated in 6 × 10 2 s [45] by applying the encryption using the SHA-256 algorithm. However, in the proposed scheme, EV energy trading data can be retrieved in 7.5 × 10 2 s [43], with the employed IPFS data storage protocol that works on the principle of data storage by generating the hash of a block of data. It can be distinguished from the data storing and retrieving procedure that computation time associated with data storage in the blockchain combined with the IPFS seems relatively lower than in the blockchain.

6.4. Blockchain Analysis

In this subsection, we discuss the performance of blockchain in the energy trading ecosystem. We discuss three important metrics: the node commit latency, the auction fairness (impact of collusion attack), and the consumed energy by active EVs. The details are presented as follows.
  • Node Commit Latency—In this subsection, we discuss an important metric, the node commit latency of the proposed scheme. The node commit latency is the elapsed time when a transaction is proposed, and it is finalized in the block with the consensus validation. Figure 6 presents the results. Thus, the node commit latency is directly proportional to the consensus mechanism employed in the system, and the value of miner difficulty M D . We compare the results with Kumari et al., which uses a Proof-of-Stake (PoS) consensus. Let us consider that q EV transactions are finalized, with a difficulty M D . Thus, in the PoS consensus, the finalized blocks B f i n a l satisfy the condition as follows:
    B f i n a l = B f i n a l b l o c k i × a g e i M D
    where b l o c k i denotes the time elapsed for finalizing a block by any i t h miner, and c o i n i presents the stake of the i t h miner. Thus, the product b l o c k i × c o i n i is the coin-age, and is the overall stake of the i t h miner. Once a miner is selected, we set c o i n i as 0 to ensure fairness in the system. As we have a large number of transactions to be finalized, b l o c k i is generally large. In our proposed approach, we consider a sharded PoS approach, where the entire blockchain network is divided into w shards. Thus, the finalizing time of each shard is B f i n a l / w . Once the payoffs are finalized by an auction, we consider the load γ of transactions proposed to a shard. In this case, if γ is sufficiently high, we reduce the election time of the i t h miner by reducing the value of c o i n i , which reduces the latency. In overall, the node commit latency in a shard is proportional to 1 w times of b l o c k i × c o i n i M D , which improves the commit latency. In the figure, we consider the load as percentage of processed blocks, which is F ( B ) / T ( B ) , where F ( B ) is the finalized blocks, and T ( B ) is the total blocks. Thus, at γ = 0.25 , means 1/4 of total blocks are finalized, the commit latency in the non-shared (Kumari et al.) approach is 1150 seconds (s). With w = 10 shards, the commit time reduces to ≈125 s. Similarly, at γ = 0.5 (one-half of total blocks are finalized), the commit time is 2500 s in a non-sharded approach, which becomes 250 s in our approach.
  • Collusion Attack Scenario—Next, we present the importance of blockchain in mitigating the collusion attacks. Figure 7 presents the results. In the scheme, we discuss a truthful double auction between p prosumers and c consumers. We consider a scenario where the k among the p prosumers can collude to decrease the energy level ζ α r , which would lead to price inflation for consumers. This situation would not be solved by an auction pricing mechanism as it would only determine a faulty optimal payoff condition. Instead, once the energy units are fixed by p, the details of energy price per unit are also fixed, and then the auction starts. As the details are stored in the blockchain, the colluding parties’ higher bids would not be considered by other nodes during validation.
    Intuitively, auction fairness in the real sense is defined as the trading condition where no payoff condition brings a price loss to the buyer and seller nodes. In the proposed double auction mechanism, considering n nodes in the network, we assume that, if the offered price o p to a particular seller node s is less than a designated base (nodal price) n p , then an additional compensation amount c is also paid to s. Thus, the seller node’s auction fairness (selling price) condition is depicted as follows:
    f p s = o p + c , i f o p < n p f p s = o p , i f o p n p
    where f p s denotes the final price to seller node. In the case of collusions, the bidding price is lowered by buyer nodes to lower the profit of the seller. In such a case, the auction designer increases the nodal (base) price to cover the loss. On the other hand, if the seller node is collusive, then also fairness is guaranteed as the base price is stored in the blockchain. Thus, all buyer nodes are aware of the n p , and the bidding starts with a price just higher than n p . For the buyer nodes, the fairness condition is presented as follows:
    f p b = c p c , i f o p n p f p b = c p , i f o p n p
    where f p b denotes the final price of buyer node, and c p denotes the cost price of the traded energy. The auction fairness condition is dynamic and depends on the underlying auction conditions [46]. The details of auction fairness are presented on similar lines.
    We compare our approach to Aujla et al. [47], which proposes a Stackelberg game formation for energy trading among EVs and CS. In the figure, a collusion indicator of 0.3 indicates that, out of the total participating entities (p prosumers and c consumers), we assume that 30% of the population is not fair, or have made parties with others. In the consensus formation, we consider a sharded PoS, which elects a miner based on a reputation score R.
    In any event E, out of total users, we consider the R value for each node between 0 and 1, i.e., 0 < R < 1 , and is defined as B F i n a l T b l o c k s , where B F i n a l is the final verified blocks, and T b l o c k s is the total number of blocks. As B F i n a l increases during the auction phase, the fair energy allocation decreases in a non-BC approach, whereas, in the proposed scheme, we see a gradual drop in auction fairness. At 0.5 collusion scenario (50% dishonest entities), the fairness indicator is 0.68 in our scheme, which means that still 68% of the traded transactions are fair, compared to 0.41 in the non-BC approach. The reason is trivial: once the prices are stored, they cannot be altered, and the sharded PoS elects a miner based on a high value of R, and, thus, there are less chances for the miner to be biased. This leads to fair block proposals in most auction events.
  • Energy consumption by EVs- Lastly, we simulate the energy consumption by EVs against consensus approaches like Proof-of-Work (PoW), and PoS. Figure 8 depicts the results. As shared PoS has a low transactional finality time, thus less time is required to form the collective voting decision to add the next block. However, in both PoW and PoS, the network requires multiple message confirmations to finalize the block. In PoW, we consider t miners in the ecosystem; then, the average expected time P o W [ T E A v g ] to finalize a block is presented as follows [48]:
    P o W [ T E A v g ] = T D i = 1 t P i .
    where P i is the computational power of i t h node, and T D is the target difficulty. In PoS, the expected time for t-miner ecosystem is as follows [49]:
    P o S [ T E A v g ] = T D i = 1 t s t a k e i × l i f e i .
    where s t a k e i denotes the stake of i t h miner, and l i f e i is the lifetime value of s t a k e i based on last win chance. In both PoW and PoS, the time to add a block is further delayed by T d e l , and is presented as follows:
    T d e l = M c × T E A v g
    where M C is the communication delay for propagation of node updates. Both PoW and PoS thus have a low transactional throughput. However, with a sharded approach, the overall network is divided into k shards, and thus each shard only has 1 / k number of transactions to validate. Most communications are managed through a shard manager, and thus T d e l reduces drastically. Thus, the expected time [ T E A v g ] also reduces, and less energy is required to communicate in the network. On these discussions, we model the energy consumption of energy trading between active EVs, and compare our scheme with PoS and PoW blockchains. As an example, for 150 active EVs, PoW has a high energy dissipation of 2400.1 kiloJoule (kJ), PoS has 1767.19 kJ energy dissipation, and the energy dissipation in our scheme is 1100.46 KJ, respectively.

6.5. Data Storage Cost Computation

This section describes the data storage cost of blockchain and IPFS-enable energy trading scheme for prosumers and consumers. The Ethereum blockchain as an open-source and decentralized framework provides EVs a platform to store their data transactions securely utilizing the IPFS data storage protocol. IPFS protocol enables data accessing and storage cost-efficient for EVs involved in the energy trading scheme. We can compute the cost required for data storage in blockchain considering the parameter, i.e., gas price of a single word ( S w ) and determine the gas for data storage of 1 KB of data with S w . The gas required for a single word and 1 KB of data can be mentioned as follows:
1 S w = 20 × 10 3 G a s ( G a = 20 k )
G s K B = ( 2 10 / 256 ) × ( 20 × 10 3 ) G a s
Furthermore, gas price ( G s p r b = 23.186 g w e i ) and Ethereum price ( E p r b = 232.96 USD) can be used to enumerate the data storage cost ( D c K ) of K number of words in the blockchain. Thus, we can represent the calculation of D c K for data storage of K words contemplating the parameters 1 E = 10 9 in the form of expression, which can be mentioned as follows:
D c K = ( k × G a ) / E
Finally, data storage cost of K words in USD can be determined by observing the parameters D c K , G s p r b , E p r b that can be represented as follows:
D c K U S D = ( G s p r b × D c K ) * E p r b
Therefore, incorporating the IPFS with blockchain improves the data storage cost D c K U S D for EVs due to the cryptographic hash generation of the data that can be used to execute real-time transactions in the blockchain network [50].

7. Conclusions and Future Scope

In this paper, we presented an integrative scheme that combined blockchain and truthful double auction strategy to assure trusted energy transactions, supported through an optimal payoff between the prosumers and consumer EVs. Once EVs are registered in the network, we store the authentication details on the IPFS network which addresses the scalability issue of public blockchain. The energy trading is facilitated through smart contracts, once the payoff scenarios are finalized, and payoff convergence is reached. This assures that both parties (prosumers and consumers) have achieved optimal trading benefits, which is validated via convergence to the Nash equilibrium state. Furthermore, to ensure low latency and high reliability in network communication, a 5G-assisted network is considered. The scheme is validated for auction and blockchain parameters, and the comparative analysis suggests the potential improvements in terms of n terms of optimal profit, high reliability, individual rationality, and trustworthiness.
However, there are certain limitations with the proposed scheme. Firstly, as we integrate the contracts on public blockchain networks, these contracts are still vulnerable to attacks like dependency injection, gas overflow, and buffer attacks. Thus, security validation is a future direction of the work. Secondly, the trading environment is dynamic, where energy fluctuations between the energy sources (smart grids), CS, and EVs are common. Hence, a consensus strategy is required to dampen the transient fluctuations. For the same, reinforcement learning based strategies can be considered by researchers, where an agent learns about the environment conditions, and forms an optimal reward policy that minimizes the energy fluctuations. This would address the intermittent energy spikes, and make the network more stable that would optimize the auction mechanism.

Author Contributions

Conceptualization: R.G., F.A. and S.T.; writing—original draft preparation: R.K., S.A., R.G. and M.S.R.; methodology: S.T., A.T., P.B. and F.A.; writing—review and editing: R.G., A.T., M.S.R. and S.T.; Software: P.B., R.G. and S.A.; Visualization: R.K., A.T. and R.G.; Investigation: S.A., M.S.R., F.A. and S.T. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the Researchers Supporting Project No. (RSP2022R509) King Saud University, Riyadh, Saudi Arabia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No data are associated with this research work.

Acknowledgments

This work was funded by the Researchers Supporting Project No. (RSP2022R509) King Saud University, Riyadh, Saudi Arabia. This paper supported by Subprogram 1.1. Institutional performance-Projects to finance excellence in RDI, Contract No. 19PFE/30.12.2021 and a grant of the National Center for Hydrogen and Fuel Cells (CNHPC)—Installations and Special Objectives of National Interest (IOSIN). UEFISCDI Romania and MCI through projects AISTOR, FinSESco, CREATE, I-DELTA, DEFRAUDIFY, Hydro3D, FED4FIRE-SO-SHARED, AIPLAN-STORABLE, EREMI, SMARDY, STACK, ENTA, PREVENTION and by European Union’s Horizon 2020 research and innovation program under grant agreements No. 872172 (TESTBED2) and No. 101037866 (ADMA TranS4MErs).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Abishu, H.N.; Seid, A.M.; Yacob, Y.H.; Ayall, T.; Sun, G.; Liu, G. Consensus Mechanism for Blockchain-Enabled Vehicle-to-Vehicle Energy Trading in the Internet of Electric Vehicles. IEEE Trans. Veh. Technol. 2022, 71, 946–960. [Google Scholar] [CrossRef]
  2. Tanwar, S.; Popat, A.; Bhattacharya, P.; Gupta, R.; Kumar, N. A taxonomy of energy optimization techniques for smart cities: Architecture and future directions. Expert Syst. 2022, 39, e12703. [Google Scholar] [CrossRef]
  3. Austmann, L.M. Drivers of the electric vehicle market: A systematic literature review of empirical studies. Financ. Res. Lett. 2021, 41, 101846. [Google Scholar] [CrossRef]
  4. Alshaeri, A.; Younis, M. A Blockchain-based Energy Trading Scheme for Dynamic Charging of Electric Vehicles. In Proceedings of the 2021 IEEE Global Communications Conference (GLOBECOM), Madrid, Spain, 7–11 December 2021; pp. 1–6. [Google Scholar] [CrossRef]
  5. Secinaro, S.; Calandra, D.; Lanzalonga, F.; Ferraris, A. Electric vehicles’ consumer behaviours: Mapping the field and providing a research agenda. J. Bus. Res. 2022, 150, 399–416. [Google Scholar] [CrossRef]
  6. Secinaro, S.; Brescia, V.; Calandra, D.; Biancone, P. Employing bibliometric analysis to identify suitable business models for electric cars. J. Clean. Prod. 2020, 264, 121503. [Google Scholar] [CrossRef]
  7. Adil, M.; Mahmud, M.P.; Kouzani, A.Z.; Khoo, S. Energy trading among electric vehicles based on Stackelberg approaches: A review. Sustain. Cities Soc. 2021, 75, 103199. [Google Scholar] [CrossRef]
  8. Bayram, I.S.; Devetsikiotis, M.; Jovanovic, R. Optimal design of electric vehicle charging stations for commercial premises. Int. J. Energy Res. 2022, 46, 10040–10051. [Google Scholar] [CrossRef]
  9. Ray, P.; Bhattacharjee, C.; Dhenuvakonda, K.R. Swarm intelligence-based energy management of electric vehicle charging station integrated with renewable energy sources. Int. J. Energy Res. 2021, 1–21. [Google Scholar] [CrossRef]
  10. Thi Kim, O.T.; Le, T.H.T.; Shin, M.J.; Nguyen, V.; Han, Z.; Hong, C.S. Distributed Auction-Based Incentive Mechanism for Energy Trading Between Electric Vehicles and Mobile Charging Stations. IEEE Access 2022, 10, 56331–56347. [Google Scholar] [CrossRef]
  11. Alphonse, A.R.A.; Raj, A.P.P.G.; Arumugam, M. Simultaneously allocating electric vehicle charging stations (EVCS) and photovoltaic (PV) energy resources in smart grid considering uncertainties: A hybrid technique. Int. J. Energy Res. 2022, 1–22. [Google Scholar] [CrossRef]
  12. Bhattacharya, P.; Tanwar, S.; Bodkhe, U.; Kumar, A.; Kumar, N. EVBlocks: A blockchain-based secure energy trading scheme for electric vehicles underlying 5G-V2X ecosystems. Wirel. Pers. Commun. 2021, 1–41. [Google Scholar] [CrossRef]
  13. Zhou, X.; Wang, F.; Qi, R.; Cao, R.; Wang, L.; Zheng, Y. Optimal Scheduling of Hierarchical Energy Systems with Controllable Load Demand Response. In Proceedings of the 2022 5th International Conference on Energy, Electrical and Power Engineering (CEEPE), Chongqing, China, 22–24 April 2022; pp. 1178–1183. [Google Scholar] [CrossRef]
  14. Chung, H.M.; Maharjan, S.; Zhang, Y.; Eliassen, F.; Strunz, K. Optimal Energy Trading With Demand Responses in Cloud Computing Enabled Virtual Power Plant in Smart Grids. IEEE Trans. Cloud Comput. 2022, 10, 17–30. [Google Scholar] [CrossRef]
  15. Abad-Segura, E.; Infante-Moro, A.; González-Zamar, M.D.; López-Meneses, E. Blockchain Technology for Secure Accounting Management: Research Trends Analysis. Mathematics 2021, 9, 1631. [Google Scholar] [CrossRef]
  16. Tiron-Tudor, A.; Deliu, D. Big Data’s Disruptive Effect on Job Profiles: Management Accountants’ Case Study. J. Risk Financ. Manag. 2021, 14, 376. [Google Scholar] [CrossRef]
  17. Kumari, D.A.; Gupta, R.; Tanwar, S. Amalgamation of Blockchain and IoT for Smart Cities underlying 6G Communication: A Comprehensive Review. Comput. Commun. 2021, 172, 102–118. [Google Scholar] [CrossRef]
  18. Saberi, S.; Kouhizadeh, M.; Sarkis, J.; Shen, L. Blockchain technology and its relationships to sustainable supply chain management. Int. J. Prod. Res. 2019, 57, 2117–2135. [Google Scholar] [CrossRef] [Green Version]
  19. Calandra, D.; Secinaro, S.; Massaro, M.; Dal Mas, F.; Bagnoli, C. The link between sustainable business models and Blockchain: A multiple case study approach. Bus. Strategy Environ. 2022, 1–15. [Google Scholar] [CrossRef]
  20. Andoni, M.; Robu, V.; Flynn, D.; Abram, S.; Geach, D.; Jenkins, D.; McCallum, P.; Peacock, A. Blockchain technology in the energy sector: A systematic review of challenges and opportunities. Renew. Sustain. Energy Rev. 2019, 100, 143–174. [Google Scholar] [CrossRef]
  21. Gupta, R.; Shukla, A.; Mehta, P.; Bhattacharya, P.; Tanwar, S.; Tyagi, S.; Kumar, N. VAHAK: A Blockchain-based Outdoor Delivery Scheme using UAV for Healthcare 4.0 Services. In Proceedings of the IEEE INFOCOM 2020—IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Toronto, ON, Canada, 6–9 July 2020; pp. 255–260. [Google Scholar] [CrossRef]
  22. Hasselgren, A.; Kralevska, K.; Gligoroski, D.; Pedersen, S.A.; Faxvaag, A. Blockchain in healthcare and health sciences—A scoping review. Int. J. Med. Inform. 2020, 134, 104040. [Google Scholar] [CrossRef] [PubMed]
  23. Mirabelli, G.; Solina, V. Blockchain-based solutions for agri-food supply chains: A survey. Int. J. Simul. Process Model. 2021, 17, 1–15. [Google Scholar] [CrossRef]
  24. Kakkar, R.; Gupta, R.; Obaidiat, M.S.; Tanwar, S. Blockchain and Multiple Linear Regression-based Energy Trading Scheme for Electric Vehicles. In Proceedings of the 2021 International Conference on Computer, Information and Telecommunication Systems (CITS), Istanbul, Turkey, 11–13 November 2021; pp. 1–5. [Google Scholar] [CrossRef]
  25. Baza, M.; Sherif, A.; Mahmoud, M.M.E.A.; Bakiras, S.; Alasmary, W.; Abdallah, M.; Lin, X. Privacy-Preserving Blockchain-Based Energy Trading Schemes for Electric Vehicles. IEEE Trans. Veh. Technol. 2021, 70, 9369–9384. [Google Scholar] [CrossRef]
  26. Alshaeri, A.; Younis, M. Lightweight Authentication and Authorization Protocol for Dynamic Charging of Electric Vehicles. In Proceedings of the 2022 IEEE 19th Annual Consumer Communications & Networking Conference (CCNC), Las Vegas, NV, USA, 8–11 January 2022; pp. 550–556. [Google Scholar] [CrossRef]
  27. Tanwar, S.; Kakkar, R.; Gupta, R.; Raboaca, M.S.; Sharma, R.; Alqahtani, F.; Tolba, A. Blockchain-based electric vehicle charging reservation scheme for optimum pricing. Int. J. Energy Res. 2022, 1–14. [Google Scholar] [CrossRef]
  28. Kaur, M.; Gupta, S.; Kumar, D.; Verma, C.; Neagu, B.C.; Raboaca, M.S. Delegated Proof of Accessibility (DPoAC): A Novel Consensus Protocol for Blockchain Systems. Mathematics 2022, 10, 2336. [Google Scholar] [CrossRef]
  29. Gao, J.; Wong, T.; Wang, C.; Yu, J.Y. A Price-Based Iterative Double Auction for Charger Sharing Markets. IEEE Trans. Intell. Transp. Syst. 2022, 23, 5116–5127. [Google Scholar] [CrossRef]
  30. Kakkar, R.; Gupta, R.; Tanwar, S.; Rodrigues, J.J.P.C. Coalition Game and Blockchain-Based Optimal Data Pricing Scheme for Ride Sharing Beyond 5G. IEEE Syst. J. 2021, 10, 1–10. [Google Scholar] [CrossRef]
  31. Neagu, B.C.; Ivanov, O.; Grigoras, G.; Gavrilas, M. A New Vision on the Prosumers Energy Surplus Trading Considering Smart Peer-to-Peer Contracts. Mathematics 2020, 8, 235. [Google Scholar] [CrossRef] [Green Version]
  32. Ashfaq, T.; Javaid, N.; Javed, M.U.; Imran, M.; Haider, N.; Nasser, N. Secure Energy Trading for Electric Vehicles using Consortium Blockchain and k-Nearest Neighbor. In Proceedings of the 2020 International Wireless Communications and Mobile Computing (IWCMC), Limassol, Cyprus, 15–19 June 2020; pp. 2235–2239. [Google Scholar] [CrossRef]
  33. Kumari, A.; Shukla, A.; Gupta, R.; Tanwar, S.; Tyagi, S.; Kumar, N. ET-DeaL: A P2P Smart Contract-based Secure Energy Trading Scheme for Smart Grid Systems. In Proceedings of the IEEE INFOCOM 2020—IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Toronto, ON, Canada, 6–9 July 2020; pp. 1051–1056. [Google Scholar] [CrossRef]
  34. Chen, S.; Shen, Z.; Zhang, L.; Yan, Z.; Li, C.; Zhang, N.; Wu, J. A trusted energy trading framework by marrying blockchain and optimization. Adv. Appl. Energy 2021, 2, 100029. [Google Scholar] [CrossRef]
  35. Chen, S.; Mi, H.; Ping, J.; Yan, Z.; Shen, Z.; Liu, X.; Zhang, N.; Xia, Q.; Kang, C. A blockchain consensus mechanism that uses Proof of Solution to optimize energy dispatch and trading. Nat. Energy 2022, 7, 495–502. [Google Scholar] [CrossRef]
  36. Chen, S.; Zhang, L.; Yan, Z.; Shen, Z. A Distributed and Robust Security-Constrained Economic Dispatch Algorithm Based on Blockchain. IEEE Trans. Power Syst. 2022, 37, 691–700. [Google Scholar] [CrossRef]
  37. Lazaroiu, C.; Roscia, M.; Saatmandi, S. Blockchain strategies and policies for sustainable electric mobility into Smart City. In Proceedings of the 2020 International Symposium on Power Electronics, Electrical Drives, Automation and Motion (SPEEDAM), Sorrento, Italy, 24–26 June 2020; pp. 363–368. [Google Scholar] [CrossRef]
  38. Zhang, P.; Hong, Y.; Kumar, N.; Alazab, M.; Alshehri, M.; Jiang, C. BC-EdgeFL: Defensive Transmission Model Based on Blockchain Assisted Reinforced Federated Learning in IIoT Environment. IEEE Trans. Ind. Inform. 2021, 18, 3551–3561. [Google Scholar] [CrossRef]
  39. Doan, H.T.; Cho, J.; Kim, D. Peer-to-Peer Energy Trading in Smart Grid Through Blockchain: A Double Auction-Based Game Theoretic Approach. IEEE Access 2021, 9, 49206–49218. [Google Scholar] [CrossRef]
  40. Zhai, X.; Zhou, T.; Zhu, C.; Chen, B.; Fang, W.; Zhu, K. Truthful Double Auction for Joint Internet of Energy and Profit Optimization in Cognitive Radio Networks. IEEE Access 2018, 6, 23180–23190. [Google Scholar] [CrossRef]
  41. Patel, Y.S.; Malwi, Z.; Nighojkar, A.; Misra, R. Truthful online double auction based dynamic resource provisioning for multi-objective trade-offs in IaaS clouds. Clust. Comput. 2021, 24, 1855–1879. [Google Scholar] [CrossRef] [PubMed]
  42. Zhang, J. Influence of individual rationality on continuous double auction markets with networked traders. Phys. A Stat. Mech. Appl. 2018, 495, 353–392. [Google Scholar] [CrossRef]
  43. Eisenring, L. Performance Analysis of Blockchain Off-Chain Data Storage Tools. Bachelor’s Thesis, University of Zurich Department of Informatics (IFI), Zürich, Switzerland, 2018. [Google Scholar]
  44. Nyaletey, E.; Parizi, R.M.; Zhang, Q.; Choo, K.K.R. BlockIPFS-Blockchain-Enabled Interplanetary File System for Forensic and Trusted Data Traceability. In Proceedings of the 2019 IEEE International Conference on Blockchain (Blockchain), Atlanta, GA, USA, 14–17 July 2019; pp. 18–25. [Google Scholar] [CrossRef]
  45. Shrimali, B.; Patel, H.B. Blockchain State-of-the-Art: Architecture, Use Cases, Consensus, Challenges and Opportunities. J. King Saud Univ. Comput. Inf. Sci. 2021, 1319–1578. [Google Scholar] [CrossRef]
  46. Kaleta, M. Price of fairness on networked auctions. J. Appl. Math. 2014, 2014, 860747. [Google Scholar] [CrossRef] [Green Version]
  47. Aujla, G.S.; Kumar, N.; Singh, M.; Zomaya, A.Y. Energy trading with dynamic pricing for electric vehicles in a smart city environment. J. Parallel Distrib. Comput. 2019, 127, 169–183. [Google Scholar] [CrossRef]
  48. Nakamoto, S. Bitcoin: A peer-to-peer electronic cash system. Decentralized Bus. Rev. 2008, 21260. Available online: https://www.debr.io/article/21260-bitcoin-a-peer-to-peer-electronic-cash-system (accessed on 31 October 2008.).
  49. Wood, G. Ethereum: A secure decentralised generalised transaction ledger. Ethereum Proj. Yellow Pap. 2014, 151, 1–32. [Google Scholar]
  50. Gupta, R.; Nair, A.; Tanwar, S.; Kumar, N. Blockchain-assisted secure UAV communication in 6G environment: Architecture, opportunities, and challenges. IET Commun. 2021, 15, 1352–1367. [Google Scholar] [CrossRef]
Figure 1. Prisma diagram of the proposed scheme.
Figure 1. Prisma diagram of the proposed scheme.
Mathematics 10 02748 g001
Figure 2. System model of the proposed scheme.
Figure 2. System model of the proposed scheme.
Mathematics 10 02748 g002
Figure 3. The three-layered architecture of the proposed scheme.
Figure 3. The three-layered architecture of the proposed scheme.
Mathematics 10 02748 g003
Figure 4. Convergence analysis.
Figure 4. Convergence analysis.
Mathematics 10 02748 g004
Figure 5. Profit for consumers.
Figure 5. Profit for consumers.
Mathematics 10 02748 g005
Figure 6. Comparative analysis of node commit latency.
Figure 6. Comparative analysis of node commit latency.
Mathematics 10 02748 g006
Figure 7. Comparative analysis of fairness in the auction mechanism.
Figure 7. Comparative analysis of fairness in the auction mechanism.
Mathematics 10 02748 g007
Figure 8. Energy consumption by active EVs.
Figure 8. Energy consumption by active EVs.
Mathematics 10 02748 g008
Table 1. Comparative analysis of various state-of-the-art energy trading schemes with the proposed scheme.
Table 1. Comparative analysis of various state-of-the-art energy trading schemes with the proposed scheme.
AuthorYearObjectiveBlockchain PlatformProsCons
Ashfaq et al. [32]2020Presented a consortium blockchain-based secure energy trading for EVsYesOptimized charging and execution cost, resource efficientIgnorance of price optimality and data storage cost
Kumari et al. [33]2020Designed a smart contract-based energy trading scheme for smart gridYesImproved storage cost, low latencyNo consideration of optimal pricing
Chen et al. [34]2021Discussed a blockchain-based trusted energy trading by adopting an optimization schemeYesEnhanced scalability and computation timeNeed to focus on security against cyber, data spoofing, and DoS attacks
Chung et al. [14]2021Designed a energy trading and demand response framework for EVs using smart gridNoReduced charging cost, optimized revenueShould focus on security and privacy issues
Bhattacharya et al. [12]2021Presented a blockchain-based EVs energy trading platform for vehicle-to-anything systemYesImproved optimized, communication, and computation costsNeed to provide security against malicious attacks
Chen et al. [36]2022Investigated a robust blockchain-based dispatch frameworkYesHighly robustSecurity issues against malicious attack, no discussion on optimality
Chen et al. [35]2022Proposed a blockchain-based energy trading framework for an optimal solutionYesOptimum solution, less complexOptimal payoff and computation time is ignored
Thim Kim et al. [10]2022Discussed an energy trading incentive mechanism between EVs and mobile CSsNoEnhanced computational efficiencyNeed to focus on optimality and computation time
The proposed system2022Proposed a blockchain and double auction-based trustful EV energy trading scheme for optimum pricingYesHighly secure, efficient, and optimized payoff-
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kakkar, R.; Gupta, R.; Agrawal, S.; Bhattacharya, P.; Tanwar, S.; Raboaca, M.S.; Alqahtani, F.; Tolba, A. Blockchain and Double Auction-Based Trustful EVs Energy Trading Scheme for Optimum Pricing. Mathematics 2022, 10, 2748. https://doi.org/10.3390/math10152748

AMA Style

Kakkar R, Gupta R, Agrawal S, Bhattacharya P, Tanwar S, Raboaca MS, Alqahtani F, Tolba A. Blockchain and Double Auction-Based Trustful EVs Energy Trading Scheme for Optimum Pricing. Mathematics. 2022; 10(15):2748. https://doi.org/10.3390/math10152748

Chicago/Turabian Style

Kakkar, Riya, Rajesh Gupta, Smita Agrawal, Pronaya Bhattacharya, Sudeep Tanwar, Maria Simona Raboaca, Fayez Alqahtani, and Amr Tolba. 2022. "Blockchain and Double Auction-Based Trustful EVs Energy Trading Scheme for Optimum Pricing" Mathematics 10, no. 15: 2748. https://doi.org/10.3390/math10152748

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