| Microgrids,as a bridge to connect distributed energy sources to large-scale power grids,have received increasing attention from society in recent years.Blockchain technology,which is gaining momentum in the financial field,is exactly the same as the direction of China’s power market reform in terms of data storage or value transfer.At present,the micro-grid market has problems such as low sharing,high security risks,difficulty in matching electricity and electricity prices,and insufficient transparency and credibility.The power system itself also has physical problems such as low renewable energy utilization and incapable power quality.Blockchain is essentially a distributed database technology that can perform intelligent settlement and settlement,store data from various parties,and share data among multiple nodes.It has a good agreement with the microgrid and can provide a fair and open set of economic operations for the microgrid.Just solution.Therefore,this paper introduces blockchain technology to serve the economic operation mechanism of microgrids.The main research contents are as follows:First,a brief summary of the research status of domestic and foreign power market transactions and energy blockchains is introduced.The basic structure and key technologies of the blockchain are introduced,and the feasibility of conformity with the microgrid is proved in principle.On this basis,we see the problems existing in the application of blockchain technology to microgrids and propose solutions.Next,in response to the current enthusiasm of users participating in the market,a set of schemes for active participation of consumers in the market were developed,and a smart contract platform for electricity trading between users was established,which demonstrated the registration,bidding,matching,and settlement of smart contracts.step.Then,a micro-grid electricity market trading mechanism based on smart contracts and taking into account the security verification and punishment mechanism is proposed.This mechanism forms a reservation order based on the subjective quotation of buyers and sellers based on the principle of optimal price.The core eliminated the flow of the line and then decided whether to form a formal transaction.Iterative matching will be performed again if it does not meet the security verification standards.The check eliminates the out-of-bounds flow of the line,and penalties for breach of contract during the transaction to ensure the fairness of the market.The entire process of smart contracts is automatically modified and executed to ensure that transactions are transparent,open,secure and credible.In the simulation experiment stage,an IEEE 33 node was used to establish a test case,and the feasibility and effectiveness of the automatic and secure execution of the smart contract and the economic operation mechanism proposed in this paper were verified for the two special scenarios of power flow violation and breach of contract. |