Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

2019 IEEE 4th Advanced Information Technology, Electronic and Automation Control Conference (IAEAC 2019)

Application of Blockchain Technology in Distributed


Generation Marketized Transaction
Hu Yan1, Bibin Huang1,Qionghui Li1 ,Yang Zhang 2
1. State Grid Energy Research Institute Ltd
2. Zhejiang Electric Power Ltd
yanhu916@126.com, huangbibin@sgeri.sgcc.com.cn, liqionghui@sgeri.sgcc.com.cn , zhangyang@zj.sgcc.com.cn

Abstract—In open market environment, the number of Blockchain is an innovative application mode of computer
prosumers is huge, and their self-interest makes them more technology in the era of Internet in distributed data storage,
demanding on fairness, privacy and non-discrimination. point-to-point transmission, consensus mechanism, encryption
Blockchain technology has characteristics of decentralization, algorithm, etc. It is considered as a subversive innovation of
transparency, security and credibility. Introducing ideas and computing model after mainframe, personal computer and
technologies of blockchain into distributed generation Internet [1], It has the characteristics of decentralization, open
transactions, makes transactions based on the principle of and transparent, safe and credible, and traceability of
cryptography, so that the whole transaction will be transparent, transactions [2,3]. The blockchain was originally used in the
safe, non-discriminatory and fully automated, effectively
financial sector, including bitcoin, asset trading, cross-border
avoiding problems such as low efficiency, high cost and low
transparency of centralized transactions. This paper first
payments, bill and supply chain finance, securities issuance and
analyzes the traditional distributed generation transaction trading [4]. At present, the application of blockchain has been
architecture and characteristics. Secondly, it proposes a extended to many fields such as medical, Internet of Things,
distributed generation transaction architecture based on intelligent manufacturing, supply chain management, digital
blockchain technology. Then it describes the specific application asset trading, and energy internet. In the field of energy, there
mechanism of blockchain technology in intelligent power are preliminary practical applications in foreign countries.
purchase contract and measurement certification. At last, German energy storage supplier Sonnen cooperates with
conclusions of this paper are given. transmission system operator TenneT to integrate solar energy
and batteries into German energy network using blockchain
Keywords—distributed generation; block chain; technology [5], LO3 Energy, USA The blockchain energy
decentralization; intelligent power purchase contracts; metrological microgrid project was launched, and 50 owners' point-to-point
certification energy transactions were realized in Brooklyn, with a target of
1000 users in 2018 [6]. In 2016, the Ministry of Industry and
I. INTRODUCTION Information Technology released the “China Blockchain White
Distributed generation uses clean energy resources nearby, Paper” to actively explore the application of blockchain. The
energy production and consumption are nearly completed, and literature [7~11] studied the blockchain in energy internet,
it has the advantages of high energy efficiency and low virtual power plant, auxiliary service, application of transaction
pollution emissions, and represents a new direction and new blocking management, but there has not been thoroughly
business form of energy development. In recent years, China's researched and applied in the field of distributed generation..
distributed generation has developed rapidly. It is expected that This paper first analyzes the traditional distributed
the proportion of total power supply will be 10% in 2020, generation transaction architecture and characteristics.
including 60 million kilowatts of distributed photovoltaics and Secondly, based on the blockchain technology, a new
15 million kilowatts of distributed natural gas. In October 2017, distributed generation transaction architecture is designed and
the National Energy Administration issued the Notice on the transaction flow is elaborated. Again, describes the
Launching a Pilot Program for Distributed generation application mechanism of blockchain technology in
Marketization (hereinafter referred to as the “Pilot Notice”), measurement certification and intelligent power purchase
which proposed to allow distributed generation owners to contract, finally gives the conclusion of this paper.
directly conduct electricity trading with 110KV internal
distribution network users. That is to say, distributed
generation owners can directly sell electricity to nearby II. TRADITIONAL DISTRIBUTED GENERATION TRANSACTION
ARCHITECTURE AND FEATURES
neighbors. At this point, in addition to the traditional "Self-
consumption, surplus to grid ", "Full to grid " mode, China's At present, all transaction settlement of distributed
distributed generation has added a direct transaction mode generation in China is handled by the grid enterprise. The Pilot
“Peer-to-peer”, greatly expanding the scope of transactions. It Notice proposes that distributed generation transactions under
can be seen that in the future, China's distributed generation marketization are handled by a separate distributed generation
will have broad market trading prospects, but how to build a trading platform. The platform functions include: applying for
cost-saving, efficient real-time, secure and credible, open and participation in distributed generation transactions, submitting
transparent trading environment is the primary consideration.. bilateral power transaction contracts, and accepting electricity
sales from distributed sales parties, transaction qualification

978-1-7281-1907-6/19/$31.00 ©2019 IEEE 996

Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 29,2020 at 09:41:50 UTC from IEEE Xplore. Restrictions apply.
review, transaction electricity measurement and settlement. III. DESIGN OF NEW DISTRIBUTED GENERATION
The trading platform is a typical centralized trading structure, TRANSACTION ARCHITECTURE BASED ON BLOCKCHAIN
as shown in Fig.1. All transaction related matters are completed
by the trading platform, which can greatly facilitate the A. Basic Principles of Blockchain Technology
participation of the distributed generation market participants. From a transaction perspective, blockchain technology
However, under the normalization of direct transactions in the implements peer-to-peer transactions based on P2P networks,
future, the centralized trading structure has the following and any party in the transaction can directly trade with the
disadvantages: other party in the blockchain network without the need for third
 Single point bottleneck. Under the marketization, the party intermediaries. From the perspective of data structure, a
distributed generation transaction will increase by 100 blockchain is a data link table in which a series of data blocks
times, which will directly challenge the transaction are linked, as shown in Fig.2. The transaction data is stored
processing capability of the trading platform. When the locally, and all the transaction nodes in the network store the
trading platform fails, all transactions will be forced to same data, that means the data is a full-node backup and
stop.s localized storage.

 Low transparency. The trading platform is similar to a


black box for all market trading entities, which is prone
to falsification of electricity metering, electricity price
settlement, subsidies, etc.
 Low security. On the one hand, the transaction process
lacks a security verification mechanism and has low
security; on the other hand, all data is centrally stored
and maintained by the trading platform and is
vulnerable to attack.
 High construction costs. The construction of the trading
platform requires investment in infrastructure, hardware
and software, personnel, etc., which increases the
overall transaction cost.
 More manual participation. Applying for participation
in distributed generation trading, submitting bilateral
power trading contracts, and reviewing the
qualifications of both parties to the transaction, all
require a large amount of manual participation, low  
level of automation, and reduced transaction efficiency. Fig. 2. Data structure of block chain

At every 10 minute interval, a new block is generated to


record all transaction records within 10 minutes. After the new
block is verified by all nodes and time stamped, it is actually
added to the block list. It can be seen that the data is
maintained by all nodes together. In addition, the data block
ensures that each transaction is not tampered by using
asymmetric encryption algorithms, digital signatures, and so
on. In addition, Blockchain 2.0 introduces a programmable
framework that allows users to implement the required
functionality through code, greatly extending the range of
blockchain applications. Blockchain technology is widely
used in transactions, tangible/intangible asset registration,
smart contracts, etc. due to peer-to-peer, sharing, anonymity,
security, and programmability.

B. Architecture Design
The peer-to-peer, secure, credible, and transparent technical
features of the blockchain can seamlessly connect to demand of
Fig. 1. Centralized trading architecture. distributed generation market transactions. Therefore, this
paper introduces blockchain technology to reconstruct the
distributed generation transaction architecture, as shown in
Fig.3. The top half of the figure is a simplified trading model
with a few points to note:

997

Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 29,2020 at 09:41:50 UTC from IEEE Xplore. Restrictions apply.
 All entities, including distributed generation owners, The lower part of the figure is a system hierarchy structure,
grid enterprises, users, etc., are abstracted as separate which is divided into seven layers, including a blockchain data
trading nodes, each node holds all transaction data, and layer, a P2P network layer, a core technology layer, a unified
all nodes jointly maintain transaction data. In the past, interface layer, an application adapter layer, an application
power grid enterprises were centralized nodes. Now, layer, and a user APP layer from the bottom up. The
grid companies are also treated as a peer node. blockchain essence is a database that preserves the full backup
Traditional two trading modes can be transformed into of historical transaction data, so that all historical transactions
point-to-point transactions. can be traced. All transaction nodes in the P2P network are
exchanged through the P2P network protocol. There is no
 All transaction execution is done directly by both central node, which is resistant to attack and high fault
parties without any third party involvement. tolerance. Characteristics: After a node fails, it has little impact
 Any transaction is based on an intelligent contract. The on other nodes; the core technology layer is the key technology
intelligent contract pre-determines the transaction for blockchain transactions, including encryption algorithms,
power, settlement price, settlement time, etc. in the consensus mechanisms, smart contracts, etc.; interface layer is
form of code. a series of common APIs, such as blockchain data read and
write; application adapter is a series of functional components,
 Automated execution. All trading operations are providing interfaces and SDKs for upper-layer application
performed automatically when conditions are met and development, reducing the difficulty of application
no manual intervention is required. development due to the complex logic of the blockchain itself;
the application layer is the most abundant and constantly
 When multiple transactions occur in the network at the
changing, such as intelligent power purchase contracts,
same time, as the broadcast mode is adopted, it is easy
distributed generation transaction settlement, historical
to cause network congestion. It can be solved by
transaction audits, big data analysis, transaction coins, etc.; all
priority + queue mode, that is, each transaction is set to
market entities install various client APP to perform various
priority and then added to the public buffer queue, and
transaction operations.
then taken out of the queue in order and broadcast to the
network.
C. Transaction Process
Under the blockchain-based distributed generation
transaction architecture, distributed generation owners and
users directly conduct peer-to-peer transactions, and the
transaction process is fully automated. Fig.4 shows the
transaction process of distributed generation owners A and B.
The specific steps of the transaction are as follows:
1) Distributed generation owner A broadcast the sales
information on the P2P network through the client
APP, and all nodes will receive this information.
2) User B intends to purchase the electricity sold by A,
then user B sends the purchase information to A.
3) The distributed generation source owner A and user B
sign the intelligent power purchase contract, which is
written in the form of code, including transaction
related information such as power, price, time, etc.
4) At a certain time, according to the agreed time of the
purchase contract, the distributed generation owner A
generates a transaction slip containing the transaction
related information and the digital signature itself, later
broadcasts it to the network.
5) All trading nodes will receive the transaction
information, and all nodes will obtain the right to
create transaction block by solving a math problem.
When a node is successfully solved, it creates a
transaction block with time stamps, and then
broadcasts it to the network.
6) Each node in the network verifies the correctness of
the transaction block. When all the nodes have passed
Fig. 3. Distributed generation transaction architecture based on blockchain

998

Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 29,2020 at 09:41:50 UTC from IEEE Xplore. Restrictions apply.
the verification, the transaction block is added to each  The blockchain trading platform has a unique ID for the
node in the local blockchain to form a legal blockchain. transaction and is time stamped;
7) At this point, the distributed generation owner A and  The transaction record is added to the measurement
user B complete the transaction, and user B pays the certification blockchain and cannot be tampered,
distributed generation owner A through the digital providing basic data for settlement payment;
currency, and electric quantity is also sold to the user B
by the distributed generation owner A.  Users can retroactively search for any historical
electricity transaction.
It can be seen that the entire transaction process of the
distributed generation is full automation.

Fig. 5. Measurement certification based on blockchain

B. Intelligent Power Purchase Contracts


Programmable framework and scripts are introduced in
Blockchain 2.0. Distributed generation owners and users do not
have to sign a paper purchase contract. Both parties can write
an intelligent purchase contract through code form. The
execution of the program can be automatically executed when
the agreed conditions are met. The technical features of the
blockchain ensure storage, reading and execution, so that the
entire execution process is transparent, traceable, non-
Fig. 4. Distributed generation transaction process based on blockchain tamperable and efficient. The intelligent power purchase
contract not only has a unique advantage in terms of cost
IV. APPLICATION MECHANISM OF BLOCKCHAIN efficiency, but also avoids the interference of human malicious
acts on the normal execution of the contract. The specific
TECHNOLOGY IN DISTRIBUTED GENERATION TRADING
application method is shown in Fig.6.
SERVICE
1) The distributed generation owner broadcasts a piece of
A. Measurement Certification electricity sales information in the P2P network,
Measurement is the basis for the settlement of distributed including information such as electricity sales amount,
generation transactions, and the measurement data must be true intentional selling price and so on.
and reliable. The blockchain ledger is safe, transparent, non- 2) The user voluntarily quotes to the owner according to
tamperable, and easy to track. It can be applied to distributed his actual situation, and the quotation information
generation measurement and certification, as shown in Fig.5. includes purchasing power, intention purchase price,
 The distributed generation trading platform based on the etc., and the quotation information is confidential.
blockchain is docked with the smart meter data. 3) The distributed generation owner determines one or
 Distributed generation owner A and user B conduct several contract parties according to the quotation
electricity trading, and the smart meter feeds the actual information of each user, and signs an intelligent
trading power data to the blockchain trading platform; power purchase contract with the corresponding user,
including the agreed transaction power, the agreed

999

Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 29,2020 at 09:41:50 UTC from IEEE Xplore. Restrictions apply.
transaction price, the contract execution period, the technology can well construct this trading environment. In the
deposit, etc. The owner and the user need reserve a blockchain-based distributed generation transaction
certain margin in their respective accounts. After the architecture, the transaction entity can automatically establish a
contract is signed, the margin account is frozen. trust mechanism, sign an intelligent power purchase contract,
realize point-to-point real-time transaction settlement, and the
4) The intelligent power purchase contract will be shared transaction data is also transformed into a new asset
automatically executed when the specified time limit is through data analysis into value-added services, expanding
reached. profit channels and improving service levels. However, due to
5) The intelligent power purchase contract is settled the breakthrough of related technologies such as blockchain,
according to the actual power generation amount of the this paper proposes that the distributed generation transaction
electricity meter. If the actual power generation architecture based on blockchain still has the following
amount is less than the agreed power generation limitations: First, the transaction scope is still limited to a small
amount, the distributed generation owner needs to community, and the future needs to be considered in a larger
compensate the user for additional power purchase cost, scope. Second, the payment method of the transaction only
specifically for deducting from the user's margin proposes to use digital currency, but digital currency needs to
account. C1 amount to the distributed generation consider the initial source and the acceptance of the transaction
owner account, deducting the C3 amount from the subject. Third, the digital transaction behavior should be
distributed generation owner account to the user unified with the physical power flow, when the transaction
account; otherwise, directly according to the agreed payment is completed, how to ensure that the power is truly
power generation amount, deducting the C2 amount transferred, it requires a visit mechanism between intelligent
from the user margin account to the distributed power purchase contract and metering device.
generation owner account.
6) Here, C1 is equal to actual power generation * agreed ACKNOWLEDGMENT
transaction price; C2 is equal to contracted transaction The work is supported by Science and Technology Project
power* agreed transaction price; C3 is equal to of State Grid Corporation of China - Research and verification
contracted transaction power - actual transaction power) on key technologies of intelligent power consumption new
* user external purchase price. business service under the environment of open
7) The margin account is thawed and the remaining market(SGTYHT/17-JS-199). The authors thanks State Grid
margin is returned to both, and transaction is over. Corporation of China, State Grid Zhejiang Electric Power Ltd
for funding the project.

REFERENCES
[1] http://mt.sohu.com/20161021/n470943606.shtml
[2] Arshdeep Bahga, Vijay K. Madisetti. Blockchain Platform for Industrial
Internet of Things[J]. Journal of Software Engineering and Applications,
2016, 9, 533-546.
[3] .LI Xiaochi, HU Yeqianwen.A summary of Blockchain Technology[J].
Investment,Financing and Trade,2016,(02):97-109.
[4] Wang Sheng. Research on Blockchain of Legal Tender System[J].
Capital Market,2016,(09):77-85.
[5] http://www.jinse.com/news/blockchain/19853.htmll.
[6] http://www.jinse.com/news/blockchain/17041.html.
[7] YAN Yong, ZHAO Junhua4, WEN Fushuan, et al. Blockchain in
Energy Systems: Concept, Application and Prospect[J]. Electric Power
Construction, 2017, 38(02):12-20.
[8] TAI Xue, SUN Hongbin, GUO Qinglai. Electricity Transactions and
Congestion Management Based on Blockchain in Energy Internet[J].
Power System Technology, 2016, 40(12):3630-3638.
[9] ZHANG Ning, WANG Yi, KANG Chongqing, et al. Blockchain
Technique in the Energy Internet: Preliminary Research Framework and
Fig. 6. Intelligent power purchase contract based on blockchain Typical Applications [J]. Proceedings of the CSEE, 2016,36(15):4011-
4023.
[10] LI Bin, CAO Wangzhang, QI Bing. Overview of Application of Block
V. CONCLUSIONS Chain Technology in Ancillary Service Market[J]. Power System
Technology,2017,41(03):736-744.
In the future marketization of distributed generation, [11] HE Qilin, AI Qian. Application Prospect of Block Chain Technology in
transactions require a peer-to-peer, open and transparent, Virtual Power Plant[J]. Appliance and energy efficiency management
secure and credible trading environment, and blockchain technology,2017,41(03):14-18.

1000

Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 29,2020 at 09:41:50 UTC from IEEE Xplore. Restrictions apply.

You might also like