| With the extensive interconnection of microgrids,when multiple microgrids with integrated production and consumption are engaged in energy trading,issues such as data security,transaction efficiency and cost control in the trading market will become more prominent.The optimization of microgrid splitting rod can better solve the consumption rate of renewable energy and reduce transaction costs.At the same time,due to its openness and decentralization,blockchain technology has a high degree of fit with microgrid transactions,which provides new solutions and technical support for solving existing problems in energy transactions and building a new transaction mode that controls the middle and opens the two ends.To address the issues of cost optimization and renewable energy consumption in inter-microgrid transactions,this paper proposes a two-stage distributed robust cooperative game microgrid transaction model based on blockchain technology,and applies it to the optimization of multi-microgrid system.By coordinating the economic scheduling within and between microgrids,optimize the economic costs and energy consumption of each microgrid main body,such as electricity selling cost,carbon trading cost,energy storage heat purchase,etc.At the same time,use blockchain technology to solve data information barriers and security problems existing in energy exchanges.This paper first introduces the characteristics of multi-microgrid energy trading and the relevant technologies and development status of blockchain,and analyzes the implementability and application value of the combination of multi-microgrid trading and blockchain technology.Then,a multi-microgrid cooperative game trading model based on blockchain technology is established.In order to realize the goal of maximizing the interests of the producers and consumers within the microgrids and realizing the full consumption of energy among the microgrids,a sharing and cooperation mode based on Nash bargaining is proposed.Two-stage distributed robust optimization is also used,and the solution is performed by the Alternating Direction Method of Multipliers(ADMM)algorithm while ensuring that the overall energy efficiency is maximized.Finally,an example is given to verify that the model is effective in improving the economy of microgrid and reducing carbon emissions.Secondly,combined with the current electric reform ideas,while ensuring security,increase the open sharing of data information and reduce information barriers.A new electric power trading scheme is designed with blockchain technology as the core.By building an alliance chain platform and deploying information contracts,trading contracts,scheduling contracts and other functional contracts in each chain,Raft consensus algorithm is optimized,and double credit value is used as consensus constraint to ensure the reliability of energy traders trading in the spot market,so as to better serve the new way of energy and power trading.Due to the complexity and coupling of the actual power system,this study simulates the electric heating power transaction between micro grid users on the alliance chain in the form of deployment and operation of smart contracts,and uses blockchain technology to complete the transaction settlement and other related operations.Finally,the blockchain trading system is built to simulate the power and heat energy trading,settlement,supervision and other functional operations of microgrid users.Under the constraints of functional smart contract and consensus mechanism of each chain,energy transfer and fund settlement are completed.In the whole process of transaction,microgrid users and managers can query all kinds of information through blockchain,reduce data barriers and maintain data security.The experimental system shows that intelligent power trading contracts can meet the needs of new power trading applications. |