| The rapid development of blockchain technology has now been integrated into our lives and has an increasing impact on people.Blockchain technology is a well-received Internet distributed technology with great potential for development.The biggest feature of blockchain technology is information interaction,decentralized management,peer-to-peer distributed transactions,and has a good development prospect in the energy Internet.Blockchain decentralized management,solving trust problems,distributed storage,each node can broadcast transactions,the trading blocks on the blockchain are constantly increasing in the microgrid trading system and the transaction data is irreversible,ensuring the blockchain The authenticity of the information,the data can not be tampered with,providing a transparent,open and trustworthy trading platform for the entire microgrid’s power trading system.This paper first compares traditional power trading and blockchain-based distributed transactions,and compares their performance and shortcomings.It relies on third-party institutions such as bank credit departments for traditional power system transactions to conduct electricity trading,and has many operational processes and working hours.Long-term,low-efficiency shortcomings,and based on the future of the energy market.This paper adopts the micro-grid intelligent contract application based on blockchain to realize the extended development of traditional power trading market to distributed energy trading.Similarly,the existing methods of distributed power energy trading and their drawbacks are analyzed.Researching the applicability of blockchain technology for distributed power energy P2 P transactions,based on continuous bilateral auction,competitive equilibrium price,node credit value,etc.,establish a distributed energy settlement consensus mechanism supporting distributed energy P2 P transactions,and formulate in line with China The distributed energy blockchain payment model of the policy proposes a distributed energy trading scheme based on blockchain technology including the underlying construction,system architecture and transaction process.Secondly,based on the problems of the first step,this paper studies the electricity trading in the micro grid based on the application of Ethereum platform,Linux operating system and smart contract,and designs a trading scheme based on blockchain technology.Through the design of the smart contract,the solution for the electricity trading system in the microgrid is targeted,and the key and difficult parts of the key technology are also analyzed.The operation of smart contracts simulates the retail marketization of electricity market transactions.The experimental results show that the trust cost of electricity market transactions can be reduced and the efficiency of electricity sales settlement can be improved.Finally,on the Ethereum platform,the electricity transaction in the microgrid was implemented,simulating the electricity execution transaction of the purchase and sale of electricity customers.The whole process was completed through the blockchain technology,the consensus mechanism certification was completed,and the transaction information was written.In the block,the power transaction can be completed and the scheduling problem is completed.The experimental results show that it is feasible.I selected 10 nodes and run a smart contract for purchasing and selling electricity.The success rate of the experimental results is about 93.91%.The average confirmation time for the transaction is approximately 1 second.In summary,this paper is based on the intelligent contract method of the blockchain technology of the microgrid,which can meet the requirements of the power grids in the microgrid to jointly develop the electricity and electricity prices that are dynamically changed according to their own needs,and at the same time,can guarantee the different regions.The interconnection of the electricity trading market. |