Professional Documents
Culture Documents
10.1109_GCWkshps50303.2020.9367401-
10.1109_GCWkshps50303.2020.9367401-
10.1109_GCWkshps50303.2020.9367401-
(email: sudeep.tanwar@nirmauni.ac.in)
Abstract—Bidirectional flow of power has opened up numerous tion to be a part of it. The most important characteristic of
opportunities for efficient usage of electricity. Vehicle to Grid this system has to be transparency, immutability and security.
(V2G) support has enabled easy transfer of power from the The concept of blockchain provides a way to tackle these
batteries of electric vehicles and then to the consumers itself. In
order to make this practically applicable, a well designed system issues. Blockchain uses a distributed ledger which can lead to
is needed for peer-to-peer (P2P) exchange of electricity for cur- high availability and resiliency. Due to its distributed nature,
rency. Since it involves monetary transactions, it is expected to be it doesn’t have any single point of failure (SPOF). Since, the
highly secure and auditable by the government. The blockchain system proposed could lead to the involvement of a large
technology provides a transparent and secure means to achieve section of population, it is also necessary to have a trustless
this. The distributed nature of blockchain provides resiliency to
the system and also makes it highly available. It also provides a system or not depend on any single intermediary for payments.
means of enabling government audits and immutability of data The system can lead to large amounts of currency transfer,
ensures full transparency. Motivated from these facts in this hence it needs to be audited as well and the blockchain
paper, we propose an auction model to maximize the utilization technology accounts for it. Hence, blockchain is the right
of power by trading energy for currency based on blockchain. choice for this use case based on the system requirements.
It uses geolocation as the prime parameter of visibility between
the consumers and aggregators of power and aims to create A. Motivation
an ecosystem of energy transfer. It ensures direct transactions
between suppliers and consumers of electricity within a specified This research aims to provide an end to end solution
safe range and government permissioned transfer for larger for the maximum utilization of power produced across the
transactions. globe. Instead of aggregation of power, its circulation among
Index Terms—Blockchain, V2G, VCG Auction
consumers seems to be a much better prospect. This can only
be achieved by providing incentives to the owners of EV’s to
I. I NTRODUCTION
trade power for currency. According to Global EV Outlook
Efficient use of electric power has always been one of 2019 [1], the report published by the IEA, there has been a
the concerns of every nation with the constant depletion of massive increase in the EV development sector. The global
natural resources. The traditional power systems enable only stock passed 5 million in 2018 with an increase of 63% from
unidirectional flow of electricity from grids to consumers. The the previous year. This trend was seen in countries expanding
emerging concept of V2G systems tends to improve upon the across the globe with 45% of the total being in China, 24%
existing model by enabling bidirectional flow of electricity. in Europe and 22% in the US.
This could potentially lead to maximum utilization of the Apart from the exponential rise in the number of EV’s, the
energy produced. Vehicle to Grid, commonly known as V2G number of charging points worldwide was estimated to be
proposes extension of energy transfer from consumers who approximately 5.2 million at the end of 2018, an increase of
have aggregated energy to grids that can again distribute it 44% from the previous year. This number signifies the amount
to consumers who need it. V2G charging enables an electric of investment in this sector and related fields.
vehicle to increase as well as decrease the charging instead of Considering an average electric vehicle battery having
the traditional concept of increasing by plugging in the EV and 25kWh capacity, the total amount of energy that would po-
decreasing only on consumption. The model proposed in this tentially be stored around the globe in EV’s will be 250 ∗
research paper aims to create an ecosystem where constant 106 ∗ 25 = 6250gW h. To provide an estimate of the amount
electric power is produced by the government on the daily of power we are dealing with, the following calculation has
basis and the consumers of electricity could trade it by acting been postulated.
as aggregators of power. There is a need for a system that An average household in the US uses 10,972kWh per year [2].
provides energy transfer and incentivises the general popula- By this estimate, only the batteries of EV’s around the globe
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on June 25,2021 at 08:37:53 UTC from IEEE Xplore. Restrictions apply.
this concept and introduce the Blockchain based anonymous Permissioned transfer for massive transactions: Presently,
rewarding scheme (BBARS) and further enhance the security the only way of transmitting electricity is by using transmis-
and privacy of the rewarding system. sion lines of the government. Hence, it becomes absolutely
Table I illustrates the comparative depictions of the contribu- necessary to allow the government to block transactions that
tions in this field by previous researches. could potentially lead to blowing up of the transmission lines.
However, it’s also important to obviate taking permissions for
III. D ESIGN G OALS
each and every micro transfer to make the system practically
The system aims to minimise power dissipation and max- usable.
imize energy transfer between entities involved providing IV. S YSTEM OVERVIEW
maximum use of available energy. This is done using an This section explains the architecture and overview of the
auction model where those possessing electric power could proposed system in detail.
trade it for the particular blockchain currency on which the
A. Architecture
system is built (in our case, ether), using geographical location
for limiting the visibility. Fig 1 shows the various entities that interact in the system.
Here is the detailed description of the components.
δ = Putilized = Pproduced − Pwasted Registration Authority (RA): The Registration Authority
max(δ) = max(Pproduced − Pwasted ) = min(Pwasted ) (RA) registers all users on the network. To minimize the risk
Pwasted = f (transmissiondistance) of malicious users, only owners of EV’s or having special
permissions from RA can create an auction. The RA is the
The design goals are summarised below: single point responsible for the registration of any user on the
Transparent and Audit enabled: All the transactions should network.
be transparent to the government and should be audit-able as Suppliers: Aggregators of electricity that could supply power
energy trading could lead to a major increase in income if to consumers. These suppliers act as bidmasters for the auction
aggregators start storing energies in their vehicles just to sell and these terms will be used interchangeably in this paper.
it further. Thus, this needs to be regulated in the form of taxes Every EV owner would be eligible to be a bidmaster. Apart
imposed on the income. from EV owners, the RA has the authority to allow others
Distributed: The system needs to be distributed to provide users as bid masters.
High Availability(HA) and remove any Single Points of Fail- Government Officials (GO): Government Officials (GO) are
ures(SPOF). The failure of the system could lead to loss part of the government that can block or allow the transactions
of large amounts of energy and moreover inconsistency in above the threshold based on the local conditions of that day
currency transfer. Moreover, the system needs to remove and the current situation of the transmission lines. The GO
intermediaries to prevent monopolization of the industry. can make the decision on the basis of the number of units for
Location based system: The entire system should be based on which the auction has been created.
geographical location. The project aims at the most efficient Bidders: Consumers of electricity that bid for power on their
use of electrical energy. The dissipation of power is directly respective networks. Each consumer needs to be available on
proportional to the transmission distance [Proofs section]. the blockchain network and within a specified radius of the
Thus, consumers can bid for power only within a particular bidmaster to make their respective bids. The term bidder and
distance from them. The algorithm ensures that if there is consumer will be used interchangeably in this system.
no bid within a specified time, the radius of visibility of
the bidmaster increases by 1/4th of the present radius. This B. Permissioned Registration
ensures minimum power dissipation along with maximum This section specifies the permissions needed to take up a
power transfer between suppliers and consumers. specific role in the model.
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on June 25,2021 at 08:37:53 UTC from IEEE Xplore. Restrictions apply.
Fig. 1: Entity Interaction
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on June 25,2021 at 08:37:53 UTC from IEEE Xplore. Restrictions apply.
amount of money shared between all the users may not Algorithm 1: System Overview
be conserved during the auction, but it is guaranteed that Require: Complete the entire transaction from bidding
the system returns to a consistent state once the auction is over. to transfer of energy and currency
Ensure: The total amount of currency in the system
bi = Bid(εi , p, u) (7) should be constant
1 Function Transaction()
where bi denotes the bid for the user i, εi denotes his account,
p denotes the bid price for each unit, u denotes the number of 2
A
Kpub = ECC(Kpri A
)
units for the bid. 3 a = Authorize(K pri )
A
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on June 25,2021 at 08:37:53 UTC from IEEE Xplore. Restrictions apply.
Algorithm 2: Consensus Price VI. C ONCLUSION
Require: The Bid Array, total number of units of the Efficient use of power is a major concern of the present as
auction and the minimum Bid price well as the future. The concept of V2G provides an efficient
Ensure: Calculate the consensus price based on VCG solution for tackling this issue. The blockchain technology
auction strategy could be used to implement various solutions for the problem.
1 Function ConsensusPrice(Bids,totalUnits,minBid) This research paper aimed at providing a complete design
2 initialize size = Bids.size(); of the system model for the implementation of one of it.
3 initialize consensusPrice = -1; The design provided an auction model and the VCG auction
4 sort(Bids.begin(),Bids.end()); resonates well with this use case. Optimization of social
5 if size < auctionUnits then welfare has led to the algorithm for the consensus price used
6 return consensusPrice; here. To emphasize more on the idea and exhibit application,
7 else if size == auctionUnits then a simulation of the important components of the system model
8 consensusPrice = minBid; has also been implemented.
9 else
10 consensusPrice = bidArray[auctionUnits]; R EFERENCES
11 end [1] IEA, Electric car deployment in selected countries,
2013-2018, 2019 (accessed March 25, 2020). [On-
12 return consensusPrice; line]. Available: https://www.iea.org/data-and-statistics/charts/electric-
13 end car-deployment-in-selected-countries-2013-2018
[2] EIA, Electricity Consumption estimate in US,
2019 (accessed April 5, 2020). [Online]. Available:
https://www.eia.gov/tools/faqs/faq.php?id=97t=3
The winner is determined by argmax(Vi − SVloss ). [3] V. Hassija, V. Chamola, S. Garg, N. G. K. Dara, G. Kaddoum, and
D. N. K. Jayakody, “A blockchain-based framework for lightweight
data sharing and energy trading in v2g network,” IEEE Transactions
V. SIMULATION on Vehicular Technology, 2020.
[4] HelloIOTA, 34% attack on IOTA, 2018 (accessed April 20, 2020).
Registration: A user F buys an EV and thus needs to be [Online]. Available: https://forum.helloiota.com/469/XY-Attack-Vector-
registered as a potential supplier in the network. The process IOTAs-ersion-of-the-34-attack
[5] F. Gao, L. Zhu, M. Shen, K. Sharif, Z. Wan, and K. Ren, “A blockchain-
of registration mentioned in Section IV is carried out between based privacy-preserving payment mechanism for vehicle-to-grid net-
E and H and the account creation is assumed to be successful. works,” IEEE network, vol. 32, no. 6, pp. 184–192, 2018.
This is simulated by adding the address of F, εF to the [6] Z. Zhou, L. Tan, and G. Xu, “Blockchain and edge computing based
vehicle-to-grid energy trading in energy internet,” in 2018 2nd IEEE
supplier’s list. We assume that A,B,C,D,E are five consumers Conference on Energy Internet and Energy System Integration (EI2).
located within 5 km of E’s geolocation which have also been IEEE, 2018, pp. 1–5.
added to the network. This is simulated by creating accounts [7] Z. Zhou, B. Wang, M. Dong, and K. Ota, “Secure and efficient
vehicle-to-grid energy trading in cyber physical systems: Integration of
on ethereum that provide auto-generated account addresses. blockchain and edge computing,” IEEE Transactions on Systems, Man,
Auction: On a particular day, with a fully charged EV and Cybernetics: Systems, vol. 50, no. 1, pp. 43–57, 2019.
(assumed to be 10 units), E needs only 10% charge (1 unit) [8] S. S. Hussain, S. M. Farooq, and T. S. Ustun, “Implementation of
blockchain technology for energy trading with smart meters,” in 2019
for his daily commute. Keeping 20% (2 units) as a buffer, he Innovations in Power and Advanced Computing Technologies (i-PACT),
has 70% (7 units) extra energy to trade. Thus, an auction is vol. 1. IEEE, 2019, pp. 1–5.
created for 7 units and a minimum bid price of 2 wei/unit. [9] H. Liu, Y. Zhang, S. Zheng, and Y. Li, “Electric vehicle power trading
mechanism based on blockchain and smart contract in v2g network,”
Permission: The auction created is sent to G for approval. IEEE Access, vol. 7, pp. 160 546–160 558, 2019.
Once, the permission is granted, the bidding process starts. [10] J. Moradi, H. Shahinzadeh, H. Nafisi, G. B. Gharehpetian, and
Bidding: Each of the users can specify the price and the M. Shaneh, “Blockchain, a sustainable solution for cybersecurity using
cryptocurrency for financial transactions in smart grids,” in 2019 24th
number of units for which he/she wants to bid. The minimum Electrical Power Distribution Conference (EPDC). IEEE, 2019, pp.
bid price is assumed to be 2 wei/unit. Since, pe < min bid, 47–53.
this is not added to the Bids array for calculating the consensus [11] D. Liu, D. Li, X. Liu, L. Ma, H. Yu, and H. Zhang, “Research on a
cross-domain authentication scheme based on consortium blockchain in
price. v2g networks of smart grid,” in 2018 2nd IEEE Conference on Energy
The Bids Array is formed by adding each of the accepted Internet and Energy System Integration (EI2). IEEE, 2018, pp. 1–5.
bids’ price(p) exactly units(u) number of times. The Bid Array [12] S. Garg, K. Kaur, G. Kaddoum, F. Gagnon, and J. J. Rodrigues,
“An efficient blockchain-based hierarchical authentication mechanism
formed is: for energy trading in v2g environment,” in 2019 IEEE International
Initial: Bid Array = {} Conference on Communications Workshops (ICC Workshops). IEEE,
Final:Bid Array = {5,5,5,5,5,7,7,7,7,7,8,8,8,3,3,3} 2019, pp. 1–6.
[13] H. Wang, Q. Wang, D. He, Q. Li, and Z. Liu, “Bbars: Blockchain-
End of Auction: The consensus price is 7 as it is the highest based anonymous rewarding scheme for v2g networks,” IEEE Internet
losing bid in the auction or the 8th highest bid. of Things Journal, vol. 6, no. 2, pp. 3676–3687, 2019.
The consensus Price is 7 wei/unit. The winners are C(3
units) and B (4 units).
Transfer: The actual transfers are carried out based on the
consensus price and the bids array.
Authorized licensed use limited to: College of Engineering - THIRUVANANTHAPURAM. Downloaded on June 25,2021 at 08:37:53 UTC from IEEE Xplore. Restrictions apply.