| At present,every country is developing and deploying renewable energies to meet the increasing energy demand with the social development,reduce environmental pollution and realize sustainable socioeconomic benefits.As the distributed renewable power is gradually connected to current power grid,traditional centralized electricity transaction mode cannot satisfy the electricity market demand opened by the power retail side orderly.Blockchain technology can solve the problems of large trading volume,high frequency and small amount,and no trusted center of distributed electricity transaction,because it has the characteristics of decentralization,openness,transparency and tamper-resistance.However,how to apply blockchain in distributed power transaction scenario and how to set the blockchain-based distributed electricity market transaction mechanism are also the key issues of current research.Main contents of thesis are as follows:(1)Aiming at the problem that the current mechanism requires to update the quotation constantly and does not meet the participators’ needs to the greatest extent,a multi-stage electricity transaction mechanism is proposed.In the first stage,the transaction matching is carried out according to double auction.In the second stage,equilibrium price is calculated with order relation analysis method to clear the demand,and power grid enterprise is introduced to join the transaction to ensure that the seller has no electricity remained and the buyer has electricity for use.The analysis of examples verifies that the mechanism is feasible and can guarantee the demand of each side,and the participators can benefit from it.(2)In order to improve the transaction efficiency of blockchain platform,an improved PBFT consensus algorithm based on integral mechanism is proposed to solve the problems of original PBFT algorithm,such as master node polling generation,big communication overhead,and so on.Theoretical analysis and simulation experiment results show that the improved algorithm has better performance in terms of transaction delay,communication overhead and throughput capacity.(3)A distributed electricity transaction platform based on Hyperledger Fabric consortium blockchain is designed and realized with the proposed transaction mechanism and improved consensus algorithm.This paper analyzes the platform demand,designs the overall framework and realizes functions from three aspects of client-side application layer,SDK layer and blockchain underlying layer,so that peerto-peer electricity transaction can be done effectively,openly and safely without a trusted center. |