A multi-market subject-oriented power-carbon-green certificate coupling multi-agent construction method

By constructing a heterogeneous agent model and a cross-interaction relationship graph, and combining evolutionary game theory and the Cross-MAPPO algorithm, the problem of cross-market coupling characteristics in the electricity, carbon, and green certificate markets was solved. This enabled accurate modeling and strategy optimization for multi-agent decision-making, and improved the adaptability and stability of the coordinated operation of electricity, carbon, and green certificates.

CN123159936APending Publication Date: 2026-11-24STATE GRID TIANJIN ELECTRIC POWER COMPANY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611052024.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-15
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies fail to effectively integrate the cross-market coupling characteristics of the electricity, carbon, and green certificate markets, resulting in multi-agent decision-making models being unable to adapt to the needs of collaborative operation. Furthermore, they lack accurate representation and strategy optimization of cross-market interaction relationships, which can easily lead to policy overreach, low training convergence accuracy, and an inability to verify multi-dimensional equilibrium.

Method used

We construct a heterogeneous agent ontology differentiation abstract model, and through cross-interaction relationship graph and evolutionary game dynamic modeling, combined with the Cross-MAPPO algorithm, we realize the quantification of cross-market coupling characteristics of multi-agent agents and policy optimization. We introduce cross-market coupling constraints and graph attention weights to ensure that policy evolution is within the feasible domain, and adopt multi-dimensional equilibrium verification to output the optimal policy.

Benefits of technology

It enables precise modeling and strategy optimization for multiple market participants, systematically quantifies the intensity of cross-market interactions, reduces the risk of strategy overreach, improves the adaptability and stability of decision-making, and adapts to the needs of coordinated operation of electricity, carbon, and green certificates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159936A_ABST
    Figure CN123159936A_ABST
Patent Text Reader

Abstract

This invention relates to the field of power market coupling interaction and multi-agent decision-making technology, and discloses a method for constructing a coupled multi-agent system for power-carbon-green certificates with multiple market participants. The method sequentially completes the abstraction of heterogeneous agents, the construction of a cross-interaction relationship graph, the establishment of joint strategy feasible domain constraints, the evolutionary game modeling of fused cross-interactions, and the training and optimization of the Cross-MAPPO algorithm. After multi-dimensional equilibrium determination, the optimal decision-making strategy for each market participant is output. This invention solves the problems of existing methods, such as difficulty in accurately representing the cross-market coupling characteristics of heterogeneous entities, the ease with which strategies may exceed limits, and the imperfect equilibrium verification system. This invention is adaptable to the characteristics of three-market coupling operation, improves the rationality and stability of multi-agent decision-making, and is applicable to multi-agent decision-making scenarios involving the coordinated operation of power-carbon-green certificates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electricity market coupling interaction and multi-agent decision-making technology, and in particular to a method for constructing a coupled multi-agent system for electricity-carbon-green certificates for multiple market participants. Background Technology

[0002] With the gradual implementation of the coordinated operation mechanism of the national electricity spot market, carbon market, and green certificate market, the three markets of electricity, carbon, and green certificates are showing complex characteristics of strong coupling, multiple participants, and heterogeneous interaction.

[0003] In existing technologies, decision-making models for electricity market participants mostly consider only the benefits of a single market and do not integrate the cross-market coupling characteristics of carbon constraints and green certificate benefits. Traditional multi-agent modeling methods do not perform heterogeneous ontology differentiation abstraction for power generators, users, aggregators, and regulatory agencies, and cannot represent the cross-market correlation characteristics of the states, actions, and benefits of multiple agents.

[0004] Meanwhile, existing multi-agent game models do not construct a cross-market interaction graph, and the strategy space lacks coupling constraints, which can easily lead to strategy evolution going out of bounds. Traditional evolutionary game equations do not introduce cross-interaction correction terms and graph attention weights, and the evolutionary trajectory cannot conform to the coupling law of the three markets. Conventional proximal strategy optimization (MAPPO) algorithms do not perceive cross-market interaction relationships, resulting in low training convergence accuracy. Moreover, existing technologies lack a multi-dimensional equilibrium judgment system of individual-group-system, which cannot verify the evolutionary stable strategy (ESS) under the coupling of the three markets, making multi-agent decision-making unable to adapt to the needs of coordinated operation of electricity-carbon-green certificates.

[0005] Therefore, there is an urgent need in this field for a method to construct a power-carbon-green certificate coupled multi-agent system that can characterize the cross-market coupling features of heterogeneous entities, quantify the cross-interaction relationship, constrain the feasible domain of the strategy, optimize the coupled game algorithm, and determine the equilibrium in a multi-dimensional manner. Summary of the Invention

[0006] To address the shortcomings of existing technologies, the present invention aims to provide a method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants. This technical solution sequentially includes: heterogeneous agent ontology differentiation abstraction, construction of a multi-agent cross-interaction relationship graph, construction of joint strategy feasible domain coupling constraints, evolutionary game dynamic modeling of fusion cross-interactions, Cross-MAPPO algorithm training, and multi-dimensional cross-equilibrium determination. This addresses technical problems such as the difficulty of multi-agent collaborative decision-making, inaccurate cross-market interaction representation, and easy policy overstepping in the electricity-carbon-green certificate coupled market.

[0007] A method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants includes the following steps:

[0008] S1: Define a set of four types of heterogeneous intelligent agent identifiers, including power generators, electricity users, renewable energy aggregators, and regulatory agencies. Represent each type of intelligent agent ontology as a heterogeneous intelligent agent general model that includes a state space, action space, reward function, and constraint set. Configure corresponding parameters for each type of intelligent agent.

[0009] S2: Construct an undirected weighted cross-interaction relationship graph, sequentially generate the node set corresponding to the four types of intelligent agents and the edge set representing the four types of cross-market interaction relationships, and use the information entropy-grey relational method to calculate the cross-interaction weight matrix;

[0010] S3: Define the independent policy space of a single agent, integrate the cross-action weights and cross-market coupling coefficients, construct the cross-market coupling constraint function, combine the single agent policy boundary constraints, eliminate infeasible policies, and form the feasible region of multi-agent joint policy.

[0011] S4: Set the core parameters of the evolutionary game, substitute the cross-action weight matrix into the evolutionary game dynamic equation, incorporate the cross-action correction term and the graph attention weight term, construct the coupled evolutionary game dynamic equation, introduce the policy space projection operator, ensure that the policy evolution trajectory is always within the joint policy feasible region, and iterate until the policy proportion is stable.

[0012] S5: Set the training parameters for the Cross-MAPPO algorithm. Iteratively train the algorithm using the stable policy proportion as the initial policy input through the policy network and value network. During the training process, perform joint policy feasible region verification and projection correction periodically until the algorithm converges and outputs the initial optimal policy.

[0013] S6: Perform equilibrium verification sequentially from the dimensions of individual benefit, group strategy proportion, and system cross-interaction stability, and perform evolutionary stability strategy anti-disturbance verification. After all verifications pass, output the optimal strategy set, the final cross-interaction relationship graph topology, and auxiliary results.

[0014] Furthermore: In step S1, the state space of the heterogeneous intelligent agent general model is used to characterize the cross-market environment in which the intelligent agent is located and its own operating state, the action space is used to characterize the cross-market decision-making behaviors that the intelligent agent can execute, the revenue function quantifies the cross-market revenue level corresponding to the intelligent agent's decision-making behavior, and the constraint set limits the reasonable boundary of the intelligent agent's decision-making behavior.

[0015] Furthermore: In step S1, the parameter configurations for the four types of heterogeneous intelligent agents are specifically as follows:

[0016] The power generator's intelligent agent has the following characteristics: its state space includes unit output, carbon emissions, green certificate holdings, and prices in the three markets; its action space covers electricity pricing, carbon trading, green certificate application, and unit output adjustment; its revenue function integrates electricity generation revenue, carbon trading revenue, green certificate revenue, and cross-market coupling penalty terms; and its constraint set includes unit output constraints, carbon emission constraints, and green certificate holding constraints.

[0017] The electricity user intelligent agent has the following characteristics: its state space includes actual electricity consumption, demand response potential, green certificate holdings, electricity spot price, green certificate price, and cross-market coupling coefficient; its action space includes electricity consumption declaration volume, green certificate trading volume, and demand response adjustment volume; its revenue function integrates electricity consumption cost, demand response subsidy, green certificate trading cost, and cross-market coupling penalty term; and its constraint set includes electricity consumption constraint, demand response potential constraint, and green certificate holdings constraint.

[0018] The renewable energy aggregator intelligent agent has the following characteristics: its state space includes photovoltaic output, wind power output, green certificate holdings, electricity spot price, green certificate price, and cross-market coupling coefficient; its action space includes aggregator output application volume, green certificate purchase volume, photovoltaic output adjustment volume, and wind power output adjustment volume; its revenue function integrates renewable energy generation revenue, green certificate trading revenue, and cross-market coupling penalty term; and its constraint set includes photovoltaic output constraints, wind power output constraints, and green certificate holdings constraints.

[0019] The regulatory agency's intelligent agent has the following characteristics: its state space includes the prices of the three markets, the total carbon emissions in the market, the total trading volume of green certificates in the market, and the cross-market coupling coefficient; its action space includes the adjustment of electricity spot prices, the adjustment of carbon trading prices, the adjustment of green certificate prices, and the total carbon emission limit in the market; its revenue function integrates carbon emission deviation penalties, electricity price deviation penalties, and cross-market coupling penalties; and its constraint set includes reasonable fluctuation range constraints for the prices of the three markets.

[0020] Furthermore: In step S2, the node set consists of four types of heterogeneous intelligent agent entities, each node corresponds to one type of intelligent agent, and the feature vector of the node is the set of state space parameters of the corresponding intelligent agent.

[0021] The edge set includes four types of cross-market interaction edges: electricity-carbon market interaction edges, electricity-green certificate market interaction edges, carbon-green certificate market interaction edges, and regulatory-market entity interaction edges. Each edge corresponds to the cross-market interaction relationship between two types of intelligent agents.

[0022] Furthermore: In step S2, the calculation of the cross-action weight matrix using the information entropy-grey relational method specifically includes:

[0023] First, the information entropy of each interaction index is calculated based on the interaction data matrix to obtain the information entropy weight. Then, the state parameters of the two types of agents are used as the reference sequence and the comparison sequence, respectively, to calculate the gray correlation degree and obtain the gray correlation degree weight. Finally, the information entropy weight and the gray correlation degree weight are synergistically fused and normalized to obtain the final cross-action weight matrix.

[0024] Furthermore: In step S3, the single agent independent policy space represents the probability distribution of the agent's choice of each action in the corresponding state, satisfying the probability normalization constraint;

[0025] The cross-market coupling constraint function is used to quantify the degree of fit between the agent's strategy and the cross-market interaction rules. When the constraint function value is not greater than zero, the corresponding strategy is within the feasible region; otherwise, it is determined to be an infeasible strategy and is eliminated.

[0026] Single-agent policy boundary constraints set minimum and maximum probability boundaries for the selection probability of each action to prevent the agent from adopting extreme probability policies.

[0027] Furthermore: In step S4, the dynamic equation of the coupled evolutionary game is used to characterize the policy evolution rate by the time derivative of the policy proportion, taking into account the influence of the agent's own fitness, global average fitness, cross-action correction term and graph attention weight; during the iteration process, the policy proportion of each agent is calculated at each time step until the evolution rate of the policy proportion approaches zero.

[0028] The policy space projection operator uses the Euclidean distance minimum projection criterion to project and correct the out-of-bounds policy vector obtained at each evolution step, so that the corrected policy is within the joint policy feasible region and has the smallest deviation from the original policy.

[0029] Furthermore: In step S5, the Cross-MAPPO algorithm training process specifically includes:

[0030] Initialize the parameters of the policy network and value network using the proportion of stable policies as the initial input; collect multi-agent interaction samples in real time to calculate the advantage function and target value; update the network parameters using the stochastic gradient descent algorithm to minimize the objective function of the policy network and the loss function of the value network; verify the feasibility of the current policy at fixed intervals of iterations, perform projection correction on out-of-bounds policies and fine-tune the network learning rate; continuously monitor the loss values ​​of the two types of networks, and determine that the algorithm has converged when the loss drops below the convergence threshold;

[0031] Both the policy network and the value network adopt a three-layer fully connected network structure. The input layer dimension is consistent with the feature vector dimension of the agent node. The hidden layer uses the LeakyReLU activation function to extract high-order features. The policy network outputs the action selection probability distribution, and the value network outputs the value evaluation value of the corresponding state.

[0032] Furthermore: In step S6, the individual benefit dimension verification involves monitoring the benefit fluctuation range of each agent during continuous iteration to confirm that the benefit fluctuation does not exceed the preset benefit convergence threshold.

[0033] The verification of the group strategy proportion dimension involves monitoring the fluctuation range of the strategy proportion of each agent during continuous iteration, confirming that the fluctuation of the strategy proportion does not exceed the preset stable threshold of the strategy proportion and the evolution rate approaches zero.

[0034] The system cross-action stability dimension verification involves calculating the stability index of the cross-action relationship and confirming that the index value does not exceed the preset system stability threshold.

[0035] The verification of the perturbation resistance of the evolutionary stable policy involves applying a small perturbation to the initial optimal policy and comparing the policy gains before and after the perturbation. If the gains after the perturbation are lower than the gains of the original optimal policy, the perturbation resistance and evolutionary stability of the optimal policy are verified.

[0036] Furthermore: A multi-agent construction system for electricity-carbon-green certificates coupled with multiple market participants, comprising:

[0037] The module includes a heterogeneous intelligent agent modeling module, a cross-action graph construction module, a joint policy feasible domain generation module, a coupled evolutionary game evolution module, a Cross-MAPPO policy optimization module, and a multi-dimensional equilibrium verification and output module.

[0038] The heterogeneous agent modeling module is used to abstract the agents of various heterogeneous market entities in the coupled market, uniformly construct a general agent model that includes state space, action space, revenue function and constraint set, and configure corresponding operation and decision parameters for various agents.

[0039] The cross-interaction graph construction module is used to construct an undirected weighted cross-market interaction relationship graph, generate a set of nodes corresponding to various intelligent agents and a set of edges representing cross-market interaction relationships, and calculate the cross-interaction weight matrix between agents by fusing information entropy and grey relational analysis.

[0040] The joint strategy feasible region generation module is used to define the independent policy space of a single agent, integrate the cross-action weight and the cross-market coupling coefficient to construct the cross-market coupling constraint function, and combine the single agent policy boundary constraints to eliminate infeasible policies, thus forming the joint strategy feasible region of multiple agents.

[0041] The coupled evolutionary game evolution module is used to configure the core parameters of the evolutionary game, substitute the cross-action weight matrix into the dynamic equation of the evolutionary game, integrate the cross-action correction mechanism and the graph attention weight mechanism to construct the coupled evolutionary game dynamic model, and ensure that the policy evolution trajectory is always within the joint policy feasible region through the policy space projection operator, and iterate until the policy proportion of each agent is stable.

[0042] The Cross-MAPPO policy optimization module is used to configure the training parameters of the multi-agent reinforcement learning algorithm, build the policy network and the value network, and carry out iterative training with the evolutionary stable policy proportion as the initial policy input. During the training process, joint policy feasible region verification and projection correction are periodically performed until the algorithm converges and outputs the initial optimal policy.

[0043] The multi-dimensional equilibrium verification and output module is used to conduct equilibrium verification sequentially from three dimensions: individual benefits, group strategy distribution, and system interaction stability. It also performs evolutionary stable strategy anti-disturbance verification. After all verifications are passed, it outputs the optimal strategy set, the final interaction relationship graph topology, and auxiliary analysis results.

[0044] The present invention has the following beneficial effects:

[0045] It can achieve differentiated and precise modeling for various market participants. It constructs corresponding status, action, revenue and constraint systems for different operating characteristics and decision-making logics of power generators, electricity users, renewable energy aggregators and regulatory agencies. It fully integrates the coupling characteristics of the electricity, carbon and green certificate markets, and provides a clear ontology modeling foundation for cross-market collaborative decision-making.

[0046] It can systematically quantify the intensity of cross-market interactions among multiple entities, construct an undirected weighted cross-interaction relationship graph, and clearly present the linkage logic and coupling path among various entities, which helps to fully grasp the inherent connections and operational laws of the coordinated operation of the three markets.

[0047] By constructing a joint strategy feasible domain and using cross-market coupling constraints to screen and limit decision-making options, infeasible strategies that deviate from market operating rules can be effectively eliminated, ensuring that strategy evolution and decision-making processes always remain within reasonable boundaries and reducing the potential risk of strategies going out of bounds and becoming inaccurate.

[0048] By embedding cross-interaction relationships into the game evolution and reinforcement learning training process, strategy optimization can be aligned with the characteristics of the coupled operation of the three markets, guiding the strategy to gradually evolve towards a collaborative equilibrium, and improving the adaptability and rationality of decision-making schemes to the coupled market environment.

[0049] Establishing a multi-dimensional equilibrium judgment mechanism, conducting verification at multiple levels from individual benefits, group strategies, and system stability, and combining it with the disturbance resistance test of evolutionary stable strategies, can comprehensively ensure the stability and reliability of the final strategy and better adapt to the actual needs of the coordinated operation of the three markets. Attached Figure Description

[0050] Figure 1 This is a flowchart of a multi-agent construction method for a multi-market entity-coupled electricity-carbon-green certificate system. Detailed Implementation

[0051] The present invention will be further described in detail below with reference to specific embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0052] Please see the appendix Figure 1 The present invention provides an embodiment 1: a method for constructing a multi-agent coupled with electricity, carbon, and green certificates for multiple market participants, comprising the following specific implementation steps:

[0053] S1: Define a set of four types of heterogeneous intelligent agent identifiers, including power generators, electricity users, renewable energy aggregators, and regulatory agencies. Represent each type of intelligent agent ontology as a heterogeneous intelligent agent general model that includes a state space, action space, reward function, and constraint set. Configure corresponding parameters for each type of intelligent agent.

[0054] S2: Construct an undirected weighted cross-interaction relationship graph, sequentially generate the node set corresponding to the four types of intelligent agents and the edge set representing the four types of cross-market interaction relationships, and use the information entropy-grey relational method to calculate the cross-interaction weight matrix;

[0055] S3: Define the independent policy space of a single agent, integrate the cross-action weights and cross-market coupling coefficients, construct the cross-market coupling constraint function, combine the single agent policy boundary constraints, eliminate infeasible policies, and form the feasible region of multi-agent joint policy.

[0056] S4: Set the core parameters of the evolutionary game, substitute the cross-action weight matrix into the evolutionary game dynamic equation, incorporate the cross-action correction term and the graph attention weight term, construct the coupled evolutionary game dynamic equation, introduce the policy space projection operator, ensure that the policy evolution trajectory is always within the joint policy feasible region, and iterate until the policy proportion is stable.

[0057] S5: Set the training parameters for the Cross-MAPPO algorithm. Iteratively train the algorithm using the stable policy proportion as the initial policy input through the policy network and value network. During the training process, perform joint policy feasible region verification and projection correction periodically until the algorithm converges and outputs the initial optimal policy.

[0058] S6: Perform equilibrium verification sequentially from the dimensions of individual benefit, group strategy proportion, and system cross-interaction stability, and perform evolutionary stability strategy anti-disturbance verification. After all verifications pass, output the optimal strategy set, the final cross-interaction relationship graph topology, and auxiliary results.

[0059] Furthermore, in another embodiment of the present invention, in step S1, the state space of the heterogeneous intelligent agent general model is used to characterize the cross-market environment in which the intelligent agent is located and its own operating state, the action space is used to characterize the cross-market decision-making behavior that the intelligent agent can execute, the revenue function quantifies the cross-market revenue level corresponding to the intelligent agent's decision-making behavior, and the constraint set limits the reasonable boundary of the intelligent agent's decision-making behavior.

[0060] Furthermore, in another embodiment of the present invention, in step S1, the parameter configuration of the four types of heterogeneous intelligent agents is specifically as follows:

[0061] The generator agent's intelligent agent has a state space that includes unit output, carbon emissions, green certificate holdings, and prices in the three markets; an action space that includes electricity pricing, carbon trading, green certificate application, and unit output adjustment; a revenue function that integrates electricity generation revenue, carbon trading revenue, green certificate revenue, and cross-market coupling penalty terms; and a constraint set that includes unit output constraints, carbon emission constraints, and green certificate holding constraints.

[0062] The intelligent agent for electricity users has the following functions: its state space includes actual electricity consumption, demand response potential, green certificate holdings, electricity spot price, green certificate price, and cross-market coupling coefficient; its action space includes electricity consumption declarations, green certificate trading volume, and demand response adjustment volume; its revenue function integrates electricity consumption costs, demand response subsidies, green certificate trading costs, and cross-market coupling penalties; and its constraint set includes electricity consumption constraints, demand response potential constraints, and green certificate holding constraints.

[0063] The intelligent agent for renewable energy aggregators has the following characteristics: its state space includes photovoltaic output, wind power output, green certificate holdings, electricity spot price, green certificate price, and cross-market coupling coefficient; its action space includes aggregated output application volume, green certificate purchase volume, photovoltaic output adjustment volume, and wind power output adjustment volume; its revenue function integrates renewable energy generation revenue, green certificate trading revenue, and cross-market coupling penalty term; and its constraint set includes photovoltaic output constraints, wind power output constraints, and green certificate holdings constraints.

[0064] The regulatory agency's intelligent agent has the following characteristics: its state space includes the prices of the three markets, the total carbon emissions in the market, the total trading volume of green certificates in the market, and the cross-market coupling coefficient; its action space includes the adjustment of electricity spot prices, the adjustment of carbon trading prices, the adjustment of green certificate prices, and the total carbon emission limit in the market; its revenue function integrates carbon emission deviation penalties, electricity price deviation penalties, and cross-market coupling penalties; and its constraint set includes reasonable fluctuation range constraints for the prices of the three markets.

[0065] Furthermore, in another embodiment of the present invention, in step S2, the node set consists of four types of heterogeneous intelligent agent entities, each node corresponds to one type of intelligent agent, and the feature vector of the node is the set of state space parameters of the corresponding intelligent agent.

[0066] The edge set contains four types of cross-market interaction edges: electricity-carbon market interaction edges, electricity-green certificate market interaction edges, carbon-green certificate market interaction edges, and regulatory-market entity interaction edges. Each edge corresponds to the cross-market interaction relationship between two types of intelligent agents.

[0067] Furthermore, in another embodiment of the present invention, step S2, calculating the cross-action weight matrix using the information entropy-grey relational method specifically includes:

[0068] First, the information entropy of each interaction index is calculated based on the interaction data matrix to obtain the information entropy weight; then, the gray relational degree is calculated and the gray relational degree weight is obtained by using the state parameters of the two types of agents as the reference sequence and the comparison sequence respectively; finally, the information entropy weight and the gray relational degree weight are synergistically fused and normalized to obtain the final cross-action weight matrix.

[0069] Furthermore, in another embodiment of the present invention, in step S3, the single agent independent policy space represents the probability distribution of the agent's choice of each action in the corresponding state, satisfying the probability normalization constraint.

[0070] The cross-market coupling constraint function is used to quantify the degree of fit between the agent's strategy and the cross-market interaction rules. When the constraint function value is not greater than zero, the corresponding strategy is within the feasible region; otherwise, it is determined to be an infeasible strategy and is eliminated.

[0071] Single agent policy boundary constraints set minimum and maximum probability boundaries for the selection probability of each action to prevent the agent from adopting extreme probability policies.

[0072] Furthermore, in another embodiment of the present invention, in step S4, the dynamic equation of the coupled evolutionary game is characterized by the time derivative of the strategy proportion to represent the strategy evolution rate, taking into account the influence of the agent's own fitness, global average fitness, cross-action correction term and graph attention weight; during the iteration process, the strategy proportion of each agent is calculated at each time step until the evolution rate of the strategy proportion approaches zero.

[0073] The policy space projection operator adopts the Euclidean distance minimum projection criterion to project and correct the out-of-bounds policy vector obtained at each evolution step, so that the corrected policy is within the joint policy feasible region and the deviation from the original policy is minimized.

[0074] Furthermore, in another embodiment of the present invention, step S5, the Cross-MAPPO algorithm training process specifically includes:

[0075] Initialize the parameters of the policy network and value network using the proportion of stable policies as the initial input; collect multi-agent interaction samples in real time to calculate the advantage function and target value; update the network parameters using the stochastic gradient descent algorithm to minimize the objective function of the policy network and the loss function of the value network; verify the feasibility of the current policy at fixed intervals of iterations, perform projection correction on out-of-bounds policies and fine-tune the network learning rate; continuously monitor the loss values ​​of the two types of networks, and determine that the algorithm has converged when the loss drops below the convergence threshold;

[0076] Both the policy network and the value network adopt a three-layer fully connected network structure. The input layer dimension is consistent with the feature vector dimension of the agent node. The hidden layer uses the LeakyReLU activation function to extract high-order features. The policy network outputs the action selection probability distribution, and the value network outputs the value evaluation value of the corresponding state.

[0077] Furthermore, in another embodiment of the present invention, in step S6, the individual benefit dimension verification is to monitor the benefit fluctuation range of each agent during continuous iteration and confirm that the benefit fluctuation does not exceed the preset benefit convergence threshold.

[0078] The verification of the group strategy proportion dimension involves monitoring the fluctuation range of the strategy proportion of each agent during continuous iteration, confirming that the fluctuation of the strategy proportion does not exceed the preset stable threshold of the strategy proportion and the evolution rate approaches zero.

[0079] The system cross-action stability dimension verification involves calculating the stability index of the cross-action relationship and confirming that the index value does not exceed the preset system stability threshold.

[0080] The verification of the perturbation resistance of the evolutionary stable policy involves applying a small perturbation to the initial optimal policy and comparing the policy gains before and after the perturbation. If the gains after the perturbation are lower than the gains of the original optimal policy, the perturbation resistance and evolutionary stability of the optimal policy are verified.

[0081] An embodiment 2 of the present invention provides: a multi-agent construction system for electricity-carbon-green certificates coupled with multiple market participants, comprising:

[0082] The module includes a heterogeneous intelligent agent modeling module, a cross-action graph construction module, a joint policy feasible domain generation module, a coupled evolutionary game evolution module, a Cross-MAPPO policy optimization module, and a multi-dimensional equilibrium verification and output module.

[0083] The heterogeneous agent modeling module is used to abstract the agents of various heterogeneous market entities in the coupled market, uniformly construct a general agent model that includes state space, action space, revenue function and constraint set, and configure corresponding operation and decision parameters for various agents;

[0084] The cross-interaction graph construction module is used to construct an undirected weighted cross-market interaction relationship graph, generate the node set corresponding to various intelligent agents and the edge set representing the cross-market interaction relationship, and calculate the cross-interaction weight matrix between agents by fusing information entropy and grey relational analysis.

[0085] The joint strategy feasible region generation module is used to define the independent policy space of a single agent, integrate the cross-action weights and cross-market coupling coefficients to construct the cross-market coupling constraint function, and combine the single agent policy boundary constraints to eliminate infeasible policies, thus forming the multi-agent joint strategy feasible region.

[0086] The Coupled Evolutionary Game Evolution Module is used to configure the core parameters of the evolutionary game, substitute the cross-action weight matrix into the dynamic equation of the evolutionary game, integrate the cross-action correction mechanism and the graph attention weight mechanism to construct the Coupled Evolutionary Game Dynamic Model, and ensure that the policy evolution trajectory is always within the joint policy feasible region through the policy space projection operator, and iterate until the policy proportion of each agent is stable.

[0087] The Cross-MAPPO policy optimization module is used to configure the training parameters of the multi-agent reinforcement learning algorithm, build the policy network and the value network, and carry out iterative training with the evolutionary stable policy proportion as the initial policy input. During the training process, joint policy feasible region verification and projection correction are periodically performed until the algorithm converges and outputs the initial optimal policy.

[0088] The multi-dimensional equilibrium verification and output module is used to conduct equilibrium verification from three dimensions: individual benefits, group strategy distribution, and system interaction stability. It also performs evolutionary stable strategy anti-disturbance verification. After all verifications are passed, it outputs the optimal strategy set, the final interaction relationship graph topology, and auxiliary analysis results.

[0089] An application example provided by this invention:

[0090] S1: Differentiated Abstraction of Heterogeneous Intelligent Agent Ontology

[0091] Clarify the correspondence between the four types of heterogeneous intelligent agents and define the identifier set i∈{g,u,a,r};

[0092] Where g corresponds to the generator intelligent agent, u corresponds to the user intelligent agent, a corresponds to the renewable energy aggregator intelligent agent, and r corresponds to the regulatory agency intelligent agent; secondly, all types of intelligent agent ontologies are uniformly represented as a heterogeneous intelligent agent general model, realizing the comprehensive integration of cross-market coupling characteristics. The mathematical expression of this general model is:

[0093]

[0094] In the formula, Let i be the state space of agent i, representing the cross-market environment in which the agent exists and its own operating state; Let i be the action space of agent i, representing the cross-market decision-making behaviors that agent i can execute;

[0095] Let i be the revenue function of agent i, which quantifies the cross-market revenue level corresponding to the agent's decision-making behavior; Let be the set of constraints for agent i, which limits the reasonable boundaries of the agent's decision-making behavior.

[0096] The specific parameter definitions and quantization formulas for various intelligent agents are as follows:

[0097] 1.1 Generator Intelligent Agent (g)

[0098] State Space: Fully integrates the output of thermal power, hydropower, and new energy units, carbon emissions, green certificate holdings, and prices in the electricity, carbon, and green certificate markets. It also introduces cross-market coupling coefficients to accurately characterize the operating status of power generators in the coupled markets. The specific expression is as follows:

[0099]

[0100] In the formula, The power output of the generator units at time t (unit: MW) covers the combined power output of thermal power, hydropower and various new energy units; The carbon emissions of the generator at time t (unit: tCO2).

[0101] The number of green certificates held by the issuer at time t (unit: certificates); The spot price of electricity at time t (unit: yuan / MWh); The carbon trading price at time t (unit: yuan / tCO2); Price of green certificate at time t (unit: yuan / certificate); Let be the cross-market coupling coefficient of the generator at time t, with a value range of [0,1], used to quantify the degree of interaction between the generator and the electricity, carbon, and green certificate markets.

[0102] Action space: encompasses the core decision-making behaviors of power generators in the three markets, specifically expressed as:

[0103]

[0104] In the formula, The spot electricity price quoted by the power generator at time t (unit: yuan / MWh); Let t represent the carbon trading volume of the generator at time t (unit: tCO2), where a positive value indicates the purchase of carbon allowances and a negative value indicates the sale of carbon allowances; The number of green certificates applied for by the issuer at time t (unit: certificates); The power output adjustment of the generator unit at time t (unit: MW) is used to make fine adjustments to the power output to adapt to market demand and its own constraints.

[0105] The revenue function integrates revenue from electricity generation, carbon trading, and green certificates, and introduces a cross-market coupling penalty term to quantify the comprehensive revenue of power generators' decisions. The specific expression is as follows:

[0106]

[0107] In the formula, is the coupling penalty coefficient, with a value range of [10, 50], used to penalize generators for deviations from the ideal level in cross-market coupling states; This is the benchmark value for cross-market coupling of power generators, with a default value of 0.5, representing the ideal coupling state of power generators operating collaboratively in the three markets; Cross-market coupling deviation value This quantifies the degree of deviation between the actual coupling state and the ideal state.

[0108] Constraint Set: Based on the actual operational needs of power generators, three core constraints are set: unit output, carbon emissions, and green certificate holdings, to ensure the rationality of decision-making. The specific expression is as follows:

[0109]

[0110] In the formula, , These are the minimum and maximum outputs of the generator set (unit: MW), which are determined by the unit's own technical parameters. The upper limit of carbon emissions for power generators (unit: tCO2) is determined by carbon market quotas and environmental policies. The maximum number of green certificates a green certificate issuer can hold (unit: certificates) is determined by the green certificate trading rules and its own profit targets.

[0111] 1.2 Electricity User Intelligent Agent (u)

[0112] State space: Focuses on the electricity consumption, demand response, and green certificate-related status of electricity users, while incorporating cross-market coupling coefficients. The specific expression is as follows:

[0113]

[0114] In the formula, The actual electricity consumption of the user at time t (unit: MW); The demand response potential of users at time t (unit: MW) represents the scale of adjustable electricity load for users. The number of green certificates held by electricity users at time t (unit: certificates); , , The definition is consistent with that of the generator intelligent agent, in which It characterizes the degree of coupling between electricity users and the electricity and green certificate markets.

[0115] Action space: encompasses electricity users' electricity consumption declarations, green certificate transactions, and demand response adjustment behaviors, specifically expressed as:

[0116]

[0117] In the formula, The electricity consumption declaration amount (unit: MW) of users at time t is used to submit electricity demand to the electricity market. The number of green certificates traded by electricity users at time t (unit: certificates);

[0118] The demand response adjustment amount for electricity users at time t (unit: MW) is used to adjust the electricity load according to market prices and policies.

[0119] The revenue function quantifies the electricity costs, demand response subsidies, and green certificate transaction costs for electricity users, and introduces a coupling penalty term. The specific expression is as follows:

[0120]

[0121] In the formula, The demand response subsidy price at time t (unit: yuan / MWh) is set by the regulatory agency to incentivize users to participate in demand response. , The definition is consistent with that of a generator intelligent agent. The default value is 0.5.

[0122] Constraint set: Set constraints on electricity consumption, demand response potential, and green certificate holdings. The specific expression is:

[0123]

[0124] In the formula, , These are the minimum and maximum electricity consumption for each user (unit: MW), determined by the user's own electricity demand and grid constraints. Maximum potential response to user demand (unit: MW); The minimum number of green certificates that can be redeemed for a user (unit: certificates) is determined by the green certificate redemption policy.

[0125] 1.3 Renewable Energy Aggregator Intelligent Agent (a)

[0126] State space: Focusing on the aggregated output, green certificate holdings, and cross-market coupling status of renewable energy (photovoltaics and wind power), the specific expression is as follows:

[0127]

[0128] In the formula, , The figures represent the combined output of photovoltaic and wind power at time t (unit: MW), respectively, characterizing the scale of renewable energy power generation integrated by the aggregator. The number of green certificates held by the aggregator at time t (unit: certificates); , , The definition is consistent with the aforementioned intelligent agent. This characterizes the degree of coupling between aggregators in the electricity and green certificate markets.

[0129] Action space: encompasses aggregated power output declaration, green certificate trading, and renewable energy power output adjustment behavior, specifically expressed as:

[0130]

[0131] In the formula, The renewable energy aggregated output declared by the aggregator at time t (unit: MW); The number of green certificates applied for by the aggregator at time t (unit: certificates); , These represent the adjustments to photovoltaic and wind power output at time t (unit: MW), used to adapt to market demand and fluctuations in renewable energy output.

[0132] The revenue function integrates revenue from renewable energy generation and revenue from green certificate trading, and introduces a coupling penalty term. The specific expression is as follows:

[0133]

[0134] In the formula, The cost of acquiring green certificates (unit: yuan / certificate) represents the average cost for aggregators to acquire green certificates. , The definition is consistent with the aforementioned intelligent agent. The default value is 0.5.

[0135] Constraint Set: Set constraints for photovoltaic and wind power output and green certificate holdings. The specific expression is as follows:

[0136]

[0137] In the formula, , These are the maximum output of photovoltaic and wind power respectively (unit: MW), determined by the installed capacity of renewable energy. The maximum number of green certificates held by the aggregator (unit: certificates) is determined by the green certificate trading rules and its own profit targets.

[0138] 1.4 Regulatory Agency Intelligent Agent (r)

[0139] State space: Focuses on the regulatory status of the three markets by regulatory agencies, covering market prices, total carbon emissions, total green certificate trading volume, and cross-market coupling coefficients. The specific expression is as follows:

[0140]

[0141] In the formula, The total carbon emissions at time t in the electricity-carbon-green certificate coupled market (unit: tCO2). The total trading volume of green certificates in the market at time t (unit: certificates); , , , The definition is consistent with the aforementioned intelligent agent. It represents the degree of coupling between regulatory agencies and the three market entities.

[0142] Action Scope: This encompasses regulatory actions regarding adjustments to prices in the three markets and restrictions on total carbon emissions, specifically expressed as follows:

[0143]

[0144] In the formula, , , These represent the adjustments to the spot electricity price, carbon trading price, and green certificate price at time t (units: yuan / MWh, yuan / tCO2, yuan / certificate), used to regulate market operation. The total market carbon emission limit at time t (unit: tCO2) is determined by environmental policies and carbon peaking and carbon neutrality targets.

[0145] The revenue function quantifies the regulatory effectiveness of regulatory agencies by introducing penalties for carbon emission deviations, electricity price deviations, and coupled penalties. The specific expression is as follows:

[0146]

[0147] In the formula, , This is a regulatory penalty coefficient used to penalize behaviors such as deviations in total carbon emissions from the market from the limit value and deviations in electricity prices from the benchmark value. The benchmark electricity price (unit: yuan / MWh) is set by the regulatory agency. , The definition is consistent with the aforementioned intelligent agent. The default value is 0.5.

[0148] Constraint set: Sets the reasonable fluctuation range of prices in the three markets, specifically expressed as:

[0149]

[0150] In the formula, , These are the minimum and maximum limits for the spot price of electricity, respectively. , These are the minimum and maximum limits for carbon trading prices, respectively. , These are the minimum and maximum limits for the price of green certificates, both set by regulatory agencies based on market conditions.

[0151] S2: Construction of a Multi-Agent Interaction Relationship Map

[0152] Define a mathematical model for the cross-interaction relationship graph, which is an undirected weighted graph, with the specific expression as follows:

[0153] In the formula, For a set of graph nodes, For the set of graph edges, The specific definitions, construction methods, and control algorithms for each parameter of the cross-action weight matrix are as follows:

[0154] 2.1 Node Set Build

[0155] Node set It consists of four types of heterogeneous intelligent agent ontology abstracted by S1. Each node corresponds to one type of intelligent agent and is used to represent the core state of that type of intelligent agent in the coupled market. The specific expression is as follows:

[0156]

[0157] Here, the feature vector of each node is the set of state space parameters of the corresponding agent. This is used to quantify the running state of a node, and its feature vector expression is:

[0158]

[0159] In the formula, The feature vector of the i-th type of intelligent agent node has a dimension of 7 and covers the agent's power output / electricity consumption, carbon emissions, green certificate holdings, prices in the three markets, and cross-market coupling coefficients, providing basic data for subsequent calculation of cross-action weights.

[0160] 2.2 Edge Set Build

[0161] edge set This is used to characterize four types of cross-market interaction, with each edge corresponding to the cross-market interaction relationship between two types of agents. Specifically, it includes the following four types of edges, and the definitions and interaction meanings of each type of edge are as follows:

[0162] The role of the electricity-carbon market: connecting power generators with intelligent agents ( ) and regulatory agency intelligence ( The core function of the carbon constraint policy formulated by the regulatory agency is to characterize the impact of the power generation decision-making of power generators (such as unit output and bidding), as well as the feedback effect of the carbon emissions of power generators on the total carbon emission control of the regulatory agency.

[0163] The role of the electricity-green certificate market: connecting intelligent entities that aggregate renewable energy ( ) and the intelligent agent of electricity users ( The core function of green certificate trading is to characterize the impact of green certificate trading on electricity consumption decisions of electricity users (such as electricity consumption declaration volume) and the power output declaration decisions of renewable energy aggregators, thereby promoting the coordinated development of new energy consumption and the green certificate market.

[0164] The role of the carbon-green certificate market: connecting power generators with intelligent agents ( ) and renewable energy aggregator intelligent body ( The core function of green certificate write-offs is to characterize the offsetting effect of green certificate write-offs on the carbon emissions of power generators, as well as the impact of power generators' carbon trading demand on aggregators' green certificate subscription decisions, thereby achieving synergistic linkage between the carbon market and the green certificate market.

[0165] Regulation - Market Entity Role Side: Connecting Regulatory Agencies' Intelligent Agents ( ) and three types of intelligent entities (power generators, electricity users, and renewable energy aggregators) Its core function is to characterize the constraints and guidance of policies such as price adjustments and carbon emission restrictions formulated by regulatory agencies on the decision-making of various market entities, as well as the feedback effect of market entities' behavior on the adjustment of regulatory policies.

[0166] 2.3 Cross-interaction weight matrix calculate

[0167] Cross-action weight matrix ,in This represents the interaction strength between agent i and agent j, with a value ranging from [0,1]. The larger the value, the closer the cross-market interaction between the two types of intelligent agents; this invention uses the information entropy-grey relational method to calculate... To balance the uncertainty and correlation of interactive data, the specific control algorithm steps are as follows:

[0168] 2.3.1 Calculate the information entropy weights

[0169] Information entropy weights are used to quantify the uncertainty of interaction metrics, reflecting the degree of influence of various interaction metrics on the strength of interactions between agents. The specific calculation steps are as follows:

[0170] The first step is to construct the interaction data matrix for two types of intelligent agents, i and j. , where m is the number of samples (selecting data from m consecutive moments of the coupled market), and n is the number of interaction indicators (selecting core interaction parameters between two types of agents, such as price, output, and trading volume).

[0171] The second step is to calculate the information entropy of the k-th interaction metric. The expression is:

[0172]

[0173] In the formula, This is the normalized value of the t-th sample on the k-th interaction index, used to eliminate the influence of index dimensions;

[0174] The third step is to calculate the information entropy weight of the k-th interaction metric. The expression is:

[0175]

[0176] The fourth step is to calculate the information entropy weights of agents i and j. The expression is:

[0177]

[0178] 2.3.2 Calculating the weight of grey relational degree

[0179] Grey relational weighting is used to quantify the degree of correlation between the state parameters of two types of agents, reflecting the tightness of the interaction relationship. The specific calculation steps are as follows:

[0180] The first step is to determine the reference sequence and the comparison sequence: the state parameters of agent i are used as the reference sequence. Using the state parameters of agent j as the comparison sequence:

[0181]

[0182] The second step is to calculate the correlation coefficient. The expression is:

[0183]

[0184] In the formula, The resolution coefficient is set to 0.5 and is used to adjust the resolution of the correlation coefficient.

[0185] It is the minimum difference between two levels. The maximum difference between the two levels;

[0186] The third step is to calculate the grey relational degree. The expression is:

[0187]

[0188] The fourth step is to calculate the grey relational weights. The expression is:

[0189]

[0190] 2.3.3 Calculate the final cross-effect weights

[0191] The information entropy weight and the grey relational degree weight are synergistically fused, and the final cross-interaction weight is obtained through normalization. The expression is:

[0192]

[0193] In the formula, the numerator is the combined value of information entropy weight and gray relational degree weight, taking into account both the uncertainty and correlation of interactive data; the denominator is the normalization coefficient, ensuring that the sum of the weights in the same row is 1, which meets the quantification requirements of the weight matrix.

[0194] S3: Construction of Coupled Constraints for the Feasibility Region of the Joint Strategy

[0195] 3.1 Definition of Independent Policy Space for Intelligent Agents

[0196] Define the independent policy space for the i-th class of agents. , indicating that agent i is in state Select action The probability distribution is expressed as follows:

[0197] In the formula, For agent i in state Select action The probability satisfies the probability normalization constraint:

[0198]

[0199] This constraint ensures that the agent's decision-making behavior is reasonable, and the sum of the probabilities of action selection in each state is 1.

[0200] 3.2 Feasible Domain of Joint Strategy Mathematical definition

[0201] Joint Strategy Feasibility Domain It is the set of all feasible strategies for all agents, and infeasible strategies are eliminated through cross-market coupling constraint functions. Specifically, it is mathematically defined as:

[0202]

[0203] In the formula, For cross-market coupling constraint functions, incorporate cross-action weights. Coupling coefficient across markets This is used to quantify the degree of fit between the agent's strategy and cross-market interaction patterns. The specific expression is:

[0204]

[0205] The parameters are explained below:

[0206] The cross-market coupling coefficients for agents i and j correspond one-to-one with the four types of cross-interaction edges in step two, and their specific values ​​are: electricity-carbon market coupling coefficients. Electricity-Green Certificate Market Coupling Coefficient Carbon-Green Certificate Market Coupling Coefficient Regulatory-market entity coupling coefficient The value is determined based on the degree of coupling among the three markets;

[0207] This is the upper limit of the joint strategy, with a value of 1.0, used to ensure that the total strength after the interaction of strategies among the agents does not exceed the limit, and to avoid market imbalance caused by excessive concentration of strategies;

[0208] Constraint decision rule: When At that time, it indicates the agent's policy. It is within the feasible region and meets the cross-market coupling constraint; when If the strategy goes out of bounds, it needs to be corrected by the projection operator in subsequent steps.

[0209] 3.3 Supplement to Boundary Constraints for Single-Agent Policies

[0210] To avoid decision failure caused by extreme agent policies (such as a probability of 0 or 1 for a certain action), a single agent policy boundary constraint is added, specifically expressed as:

[0211] In the formula, , , which are the minimum and maximum probability boundaries of the agent's strategy, respectively, to ensure that the agent's decision-making has a certain degree of flexibility and rationality, while avoiding market risks brought about by extreme strategies.

[0212] S4: Evolutionary Game Dynamic Modeling of Integration and Interaction

[0213] 4.1 Setting Core Parameters for Evolutionary Game Theory

[0214] Based on the operational characteristics of the electricity-carbon-green certificate coupled market, the core parameters of the evolutionary game are set as follows:

[0215] Cross-action correction factor It is used to adjust the strength of the cross-action correction term to adapt to the compensation needs of cross-market interaction deviations;

[0216] Graph Attention Network (GAT) Node Feature Dimensions The dimension is consistent with the feature vector dimension of the agent node;

[0217] Attention weight vector , used for calculating graph attention weights, with a dimension twice that of node features;

[0218] The LeakyReLU activation function has a slope of 0.2, which is used to avoid gradient vanishing during the graph attention weight calculation process;

[0219] Initial value of strategy proportion This means that the strategies of the four types of agents are equally distributed at the initial moment, ensuring fairness in the evolution process.

[0220] 4.2 Construction and Solution of Dynamic Equations for Coupled Evolutionary Game

[0221] The cross-action weight matrix calculated by S2 Substituting the terms into the evolutionary game dynamic equation, and incorporating the cross-action correction term and the graph attention weight term, a coupled evolutionary game dynamic equation is constructed to calculate the evolution rate of the agent's policy proportion at each time step. .

[0222] First, define the strategy proportion. Let represent the proportion of agents of type i that adopt the current optimal strategy at time t, satisfying the normalization constraint. ;

[0223] Secondly, the dynamic equation of the coupled evolutionary game is constructed, and its specific expression is as follows:

[0224]

[0225] In the formula, This is the time derivative of the policy proportion, i.e., the policy evolution rate; Let the fitness function of the i-th type of agent be (derived from the reward function). Quantification);

[0226] The global average fitness;

[0227] This is a cross-action correction term. For cross-market effect bias;

[0228] The graph attention weights are calculated by the graph attention network and are expressed as follows:

[0229]

[0230] Let be the set of neighboring agents of the i-th type of agent.

[0231] Finally, the weight matrix Substitute each parameter into the equation to calculate the evolution rate of the policy proportion at each time step. The policy proportion at each time step is obtained through numerical integration. .

[0232] 4.3 Policy Space Projection Operator Correction

[0233] To ensure that the strategy evolution trajectory always lies within the joint strategy feasible region Internally, a policy space projection operator is introduced. The policy vector obtained at each evolution step is projected and corrected. The specific implementation process is as follows:

[0234] The policy space projection operator uses the Euclidean distance minimum projection criterion, and its expression is:

[0235]

[0236] In the formula, This is the original evolutionary strategy vector (which may go out of bounds). This is the feasible policy vector after projection; It is the L2 norm, ensuring that the deviation between the projected policy and the original policy is minimized.

[0237] After performing projection correction on each evolutionary strategy, iterative evolution is performed. When the iteration reaches 1000 steps, the strategy proportion tends to stabilize, at which point the strategy proportion of each agent is... , , , Satisfying normalization constraints And the rate of evolution This completes the dynamic evolution of evolutionary game theory.

[0238] S5: Cross-MAPPO Algorithm Training

[0239] 5.1 Cross-MAPPO Algorithm Training Parameter Settings

[0240] Based on the decision-making requirements of a coupled multi-agent system involving electricity, carbon, and green certificates, the training parameters for the Cross-MAPPO algorithm are set as follows:

[0241] Learning rate This is used to adjust the network parameter update speed;

[0242] Batch size The number of samples used for each parameter update;

[0243] Maximum number of iterations This is used to limit training duration;

[0244] clip parameter This is used to limit the magnitude of policy updates and prevent excessive updates from causing training instability.

[0245] KL divergence penalty coefficient This is used to penalize distribution bias during the policy update process;

[0246] Discount factor , used to quantify the weights of future returns;

[0247] Convergence threshold This is used to determine whether the network training has converged.

[0248] 5.2 Network Structure Design

[0249] Both the policy network and the value network adopt a 3-layer fully connected network, and the specific network structure design is as follows:

[0250] Input layer: 7 neurons, corresponding to the dimension of the agent node feature vector; the input is the agent state. and cross-effect weights ;

[0251] Hidden layer: 64 neurons, using the LeakyReLU activation function to extract high-order features of state and interaction information;

[0252] Output layer: corresponds to the action dimension of each agent;

[0253] The policy network output is the action selection probability. The value network output is state value. .

[0254] 5.3 Algorithm Training Process

[0255] The first step is to initialize the policy network parameters. With value network parameters The proportion of stable strategies obtained from S4 As initial policy input;

[0256] The second step is to collect multi-agent interaction samples in real time, including agent states. ,action ,income and the state at the next moment ;

[0257] The third step is to calculate the dominance function based on the collected samples. With target value The expression for the dominance function is: The target value expression is:

[0258]

[0259] The fourth step involves updating the network parameters using the stochastic gradient descent (SGD) algorithm to minimize the objective function of the policy network and the loss function of the value network. The objective function of the policy network is:

[0260]

[0261] The value network loss function is ;

[0262] Fifth, after every 100 iterations, perform joint policy feasibility region verification on the current policy and substitute the current policy into the cross-market coupling constraint function. ,like Then through the projection operator Make corrections and fine-tune the network parameters (reduce the learning rate by 10%) to ensure that the policy always remains within the feasible region;

[0263] Step 6: Monitor the policy network loss and value network loss in real time. When both types of loss decrease to the convergence threshold... If the following conditions are met, the algorithm is considered to have reached convergence and training is stopped; if the maximum number of iterations has been reached... If convergence is still not achieved, adjust the clip parameter. With KL divergence penalty coefficient Restart training.

[0264] During actual training, when the iteration reached 6800 epochs, both the policy network loss and the value network loss dropped below 1e-3, satisfying the convergence condition. Training was then stopped, and the initial optimal policy for each agent was output. This provides a foundation for subsequent multi-dimensional balance determination.

[0265] S6: Multi-dimensional Cross-Equalization Determination and Output

[0266] 6.1 Multi-dimensional balance judgment parameter settings

[0267] Based on the operational characteristics and interaction patterns of the coupled multi-agent system of electricity, carbon, and green certificates, multi-dimensional equilibrium judgment parameters are set to ensure the accuracy of the judgment results. The specific parameters are as follows:

[0268] Return convergence threshold This is used to determine whether the gains of each agent tend to stabilize;

[0269] Stable threshold for strategy proportion This is used to determine whether the policy proportions of each agent have reached a stable state.

[0270] System stability threshold This is used to determine whether the interaction relationship among multiple agents is stable.

[0271] Disturbance strategy amplitude It is used in ESS verification to apply a small perturbation to the optimal policy and verify the stability of the policy.

[0272] 6.2 Multi-dimensional equilibrium determination process

[0273] 6.2.1 Individual Dimension Validation

[0274] The core of individual-level verification is to determine whether the actual returns of each agent after convergence tend to stabilize and whether the fluctuation range meets the preset threshold requirements. The specific implementation process is as follows:

[0275] Initial optimal strategy based on S5 output Substitute into the profit function of each agent Calculate the actual optimal reward for each agent after convergence. Simultaneously, monitor the revenue fluctuations of each agent during 100 consecutive iterations to verify whether the requirements are met. ( ).

[0276] The actual benefits for each agent after convergence are calculated as follows: Generator Yuan / day, electricity users Yuan / day, renewable energy aggregator Yuan / day, regulatory agencies Yuan / day.

[0277] In 100 consecutive iterations, the fluctuations in the returns of each agent all satisfy the following conditions. Individual dimensions are balanced and meet the standards.

[0278] 6.2.2 Group Dimension Validation

[0279] The core of group-level verification is to determine whether the policy proportions of the four types of agents tend to stabilize and the evolution rate approaches 0. The specific implementation process is as follows:

[0280] Extracting the policy proportions of each agent at S5 convergence Monitor the fluctuation of the strategy proportion during 50 consecutive iterations to verify whether it meets the requirements. ( ), while verifying the evolution rate of strategy proportion .

[0281] Monitoring revealed fluctuations in the proportion of each agent's strategy after convergence. And the rate of evolution of strategy proportion It meets the requirements for determining the balance of the group dimension, and the balance of the group dimension is achieved.

[0282] 6.2.3 System-level verification

[0283] The core of system-level verification is to determine whether the interaction relationships among multiple agents have reached a stable state. The specific implementation process is as follows:

[0284] Based on the cross-interaction relationship map constructed using S2, the stability index of cross-interaction relationships was calculated. This indicator is used to quantify the stability of the interactions between four types of agents, and its expression is:

[0285]

[0286] Verify whether it is satisfied ( );

[0287] The stability index of cross-interaction relationship was calculated. This indicates that the cross-market interaction among multiple agents has reached a stable state, and the system dimensions are balanced and meet the standards.

[0288] 6.2.4 ESS Validation

[0289] The core of Evolutionarily Stable Policy (ESS) verification is to determine the perturbation resistance of each agent's optimal policy, that is, whether the optimal policy can remain stable and achieve optimal returns when subjected to small perturbations. The specific implementation process is as follows:

[0290] The optimal policies for each agent output by S5 Apply a small perturbation, the amplitude of which satisfies After obtaining the perturbation strategy ;

[0291] Calculate the payoff under the optimal strategy respectively Returns under the perturbation strategy Verify whether it meets the requirements. .

[0292] Verification showed that after applying a small perturbation to the optimal strategy of each agent, the post-perturbation payoff was less than the optimal strategy payoff, which met the ESS verification requirements. This indicates that the optimal strategy has good anti-perturbation ability and can adapt to small fluctuations in the coupled market.

[0293] 6.3 Final Result Output

[0294] After the balance determination of the individual dimension, group dimension, and system dimension, as well as the ESS verification, are all passed, the final result of the method of this invention is output, which specifically includes the following three parts:

[0295] 6.3.1 Optimal Strategy Set

[0296] The optimal decision-making strategies for each agent in the electricity-carbon-green certificate coupled market are as follows:

[0297] Power generator intelligent agent: Optimal spot electricity price Yuan / MWh, optimal carbon trading volume tCO2 / day (negative values ​​indicate carbon quotas sold);

[0298] Electricity User Intelligent Agent: Optimal Electricity Consumption Reporting Volume MW;

[0299] Renewable Energy Aggregator Intelligent Agent: Optimal Green Certificate Application Quantity Zhang / Tian;

[0300] Regulatory agency intelligent agent: Optimal carbon price adjustment Yuan / tCO2.

[0301] 6.3.2 Final Cross-Interaction Relationship Topology

[0302] Weight matrix of the final cross-action relationship graph Consistent with the results calculated by S2, the quantitative relationship of the cross-interaction strength between agents is maintained; the graph node features are updated to the optimal state parameters of each agent after convergence, including optimal power output / power consumption, carbon emissions, green certificate holdings, three market prices and cross-market coupling coefficients, accurately characterizing the operating characteristics of each agent in equilibrium state.

[0303] 6.3.3 Auxiliary Output

[0304] The auxiliary outputs are used to support subsequent engineering applications and effect verification, and specifically include:

[0305] Optimal payoff set for each agent Electricity distributors: 86,200 yuan / day; electricity users: -125,600 yuan / day; renewable energy aggregators: 58,900 yuan / day; regulatory agencies: -3,200 yuan / day.

[0306] Joint Strategy Feasibility Domain That is, the range of cross-market coupling constraints that can be satisfied by the strategies of each intelligent agent after multiple rounds of verification;

[0307] The policy evolution trajectory curve visually illustrates the iterative progression of each agent's policy proportion from the initial value (0.25) to a stable value (...). , , , The entire process of ).

[0308] The above embodiments demonstrate that the method of the present invention can accurately construct a coupled multi-agent model of electricity-carbon-green certificates, realize the collaborative optimization and stable equilibrium of multi-agent strategies, adapt to the needs of coordinated operation of three markets, and improve the strategy convergence speed by 32% and the decision-making accuracy by 27% compared with traditional methods, thus having good engineering application value.

[0309] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants, characterized in that: Includes the following steps: S1: Define a set of four types of heterogeneous intelligent agent identifiers, including power generators, electricity users, renewable energy aggregators, and regulatory agencies. Represent each type of intelligent agent ontology as a heterogeneous intelligent agent general model that includes a state space, action space, reward function, and constraint set. Configure corresponding parameters for each type of intelligent agent. S2: Construct an undirected weighted cross-interaction relationship graph, sequentially generate the node set corresponding to the four types of intelligent agents and the edge set representing the four types of cross-market interaction relationships, and use the information entropy-grey relational method to calculate the cross-interaction weight matrix; S3: Define the independent policy space of a single agent, integrate the cross-action weights and cross-market coupling coefficients, construct the cross-market coupling constraint function, combine the single agent policy boundary constraints, eliminate infeasible policies, and form the feasible region of multi-agent joint policy. S4: Set the core parameters of the evolutionary game, substitute the cross-action weight matrix into the evolutionary game dynamic equation, incorporate the cross-action correction term and the graph attention weight term, construct the coupled evolutionary game dynamic equation, introduce the policy space projection operator, ensure that the policy evolution trajectory is always within the joint policy feasible region, and iterate until the policy proportion is stable. S5: Set the training parameters for the Cross-MAPPO algorithm. Iteratively train the algorithm using the stable policy proportion as the initial policy input through the policy network and value network. During the training process, perform joint policy feasible region verification and projection correction periodically until the algorithm converges and outputs the initial optimal policy. S6: Perform equilibrium verification sequentially from the dimensions of individual benefit, group strategy proportion, and system cross-interaction stability, and perform evolutionary stability strategy anti-disturbance verification. After all verifications pass, output the optimal strategy set, the final cross-interaction relationship graph topology, and auxiliary results.

2. The method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants as described in claim 1, characterized in that, In step S1, the state space of the heterogeneous intelligent agent general model is used to characterize the cross-market environment in which the intelligent agent is located and its own operating state, the action space is used to characterize the cross-market decision-making behavior that the intelligent agent can execute, the revenue function quantifies the cross-market revenue level corresponding to the intelligent agent's decision-making behavior, and the constraint set limits the reasonable boundary of the intelligent agent's decision-making behavior.

3. The method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants as described in claim 1, characterized in that, In step S1, the parameter configurations for the four types of heterogeneous intelligent agents are specifically as follows: The power generator's intelligent agent has the following characteristics: its state space includes unit output, carbon emissions, green certificate holdings, and prices in the three markets; its action space covers electricity pricing, carbon trading, green certificate application, and unit output adjustment; its revenue function integrates electricity generation revenue, carbon trading revenue, green certificate revenue, and cross-market coupling penalty terms; and its constraint set includes unit output constraints, carbon emission constraints, and green certificate holding constraints. The electricity user intelligent agent has the following characteristics: its state space includes actual electricity consumption, demand response potential, green certificate holdings, electricity spot price, green certificate price, and cross-market coupling coefficient; its action space includes electricity consumption declaration volume, green certificate trading volume, and demand response adjustment volume; its revenue function integrates electricity consumption cost, demand response subsidy, green certificate trading cost, and cross-market coupling penalty term; and its constraint set includes electricity consumption constraint, demand response potential constraint, and green certificate holdings constraint. The renewable energy aggregator intelligent agent has the following characteristics: its state space includes photovoltaic output, wind power output, green certificate holdings, electricity spot price, green certificate price, and cross-market coupling coefficient; its action space includes aggregator output application volume, green certificate purchase volume, photovoltaic output adjustment volume, and wind power output adjustment volume; its revenue function integrates renewable energy generation revenue, green certificate trading revenue, and cross-market coupling penalty term; and its constraint set includes photovoltaic output constraints, wind power output constraints, and green certificate holdings constraints. The regulatory agency's intelligent agent has the following characteristics: its state space includes the prices of the three markets, the total carbon emissions in the market, the total trading volume of green certificates in the market, and the cross-market coupling coefficient; its action space includes the adjustment of electricity spot prices, the adjustment of carbon trading prices, the adjustment of green certificate prices, and the total carbon emission limit in the market; its revenue function integrates carbon emission deviation penalties, electricity price deviation penalties, and cross-market coupling penalties; and its constraint set includes reasonable fluctuation range constraints for the prices of the three markets.

4. The method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants as described in claim 1, characterized in that, In step S2, the node set consists of four types of heterogeneous intelligent agent entities, each node corresponds to one type of intelligent agent, and the feature vector of the node is the set of state space parameters of the corresponding intelligent agent. The edge set includes four types of cross-market interaction edges: electricity-carbon market interaction edges, electricity-green certificate market interaction edges, carbon-green certificate market interaction edges, and regulatory-market entity interaction edges. Each edge corresponds to the cross-market interaction relationship between two types of intelligent agents.

5. The method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants as described in claim 1, characterized in that, In step S2, the calculation of the cross-action weight matrix using the information entropy-grey relational method specifically includes: First, the information entropy of each interaction index is calculated based on the interaction data matrix to obtain the information entropy weight. Then, the state parameters of the two types of agents are used as the reference sequence and the comparison sequence, respectively, to calculate the gray correlation degree and obtain the gray correlation degree weight. Finally, the information entropy weight and the gray correlation degree weight are synergistically fused and normalized to obtain the final cross-action weight matrix.

6. The method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants as described in claim 1, characterized in that, In step S3, the single agent independent policy space represents the probability distribution of the agent's choice of each action in the corresponding state, satisfying the probability normalization constraint. The cross-market coupling constraint function is used to quantify the degree of fit between the agent's strategy and the cross-market interaction rules. When the constraint function value is not greater than zero, the corresponding strategy is within the feasible region; otherwise, it is determined to be an infeasible strategy and is eliminated. Single-agent policy boundary constraints set minimum and maximum probability boundaries for the selection probability of each action to prevent the agent from adopting extreme probability policies.

7. The method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants as described in claim 1, characterized in that, In step S4, the dynamic equation of the coupled evolutionary game is used to characterize the policy evolution rate by the time derivative of the policy proportion, taking into account the effects of the agent's own fitness, global average fitness, cross-action correction term and graph attention weight. During the iteration process, the policy proportion of each agent is calculated at each time step until the evolution rate of the policy proportion approaches zero. The policy space projection operator uses the Euclidean distance minimum projection criterion to project and correct the out-of-bounds policy vector obtained at each evolution step, so that the corrected policy is within the joint policy feasible region and has the smallest deviation from the original policy.

8. The method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants as described in claim 1, characterized in that, In step S5, the Cross-MAPPO algorithm training process is specifically as follows: Initialize the parameters of the policy network and value network using the proportion of stable policies as the initial input; collect multi-agent interaction samples in real time to calculate the advantage function and target value; update the network parameters using the stochastic gradient descent algorithm to minimize the objective function of the policy network and the loss function of the value network; verify the feasibility of the current policy at fixed intervals of iterations, perform projection correction on out-of-bounds policies and fine-tune the network learning rate; continuously monitor the loss values ​​of the two types of networks, and determine that the algorithm has converged when the loss drops below the convergence threshold; Both the policy network and the value network adopt a three-layer fully connected network structure. The input layer dimension is consistent with the feature vector dimension of the agent node. The hidden layer uses the LeakyReLU activation function to extract high-order features. The policy network outputs the action selection probability distribution, and the value network outputs the value evaluation value of the corresponding state.

9. The method for constructing a multi-agent coupled electricity-carbon-green certificate system for multiple market participants according to claim 1, characterized in that, In step S6, the individual benefit dimension verification involves monitoring the benefit fluctuation range of each agent during continuous iteration and confirming that the benefit fluctuation does not exceed the preset benefit convergence threshold. The verification of the group strategy proportion dimension involves monitoring the fluctuation range of the strategy proportion of each agent during continuous iteration, confirming that the fluctuation of the strategy proportion does not exceed the preset stable threshold of the strategy proportion and the evolution rate approaches zero. The system cross-action stability dimension verification involves calculating the stability index of the cross-action relationship and confirming that the index value does not exceed the preset system stability threshold. The verification of the perturbation resistance of the evolutionary stable policy involves applying a small perturbation to the initial optimal policy and comparing the policy gains before and after the perturbation. If the gains after the perturbation are lower than the gains of the original optimal policy, the perturbation resistance and evolutionary stability of the optimal policy are verified.

10. A multi-agent construction system for electricity-carbon-green certificates coupled with multiple market participants, applied to the multi-agent construction method for electricity-carbon-green certificates coupled with multiple market participants as described in any one of claims 1-9, characterized in that, include: The module includes a heterogeneous intelligent agent modeling module, a cross-action graph construction module, a joint policy feasible domain generation module, a coupled evolutionary game evolution module, a Cross-MAPPO policy optimization module, and a multi-dimensional equilibrium verification and output module. The heterogeneous agent modeling module is used to abstract the agents of various heterogeneous market entities in the coupled market, uniformly construct a general agent model that includes state space, action space, revenue function and constraint set, and configure corresponding operation and decision parameters for various agents. The cross-interaction graph construction module is used to construct an undirected weighted cross-market interaction relationship graph, generate a set of nodes corresponding to various intelligent agents and a set of edges representing cross-market interaction relationships, and calculate the cross-interaction weight matrix between agents by fusing information entropy and grey relational analysis. The joint strategy feasible region generation module is used to define the independent policy space of a single agent, integrate the cross-action weight and the cross-market coupling coefficient to construct the cross-market coupling constraint function, and combine the single agent policy boundary constraints to eliminate infeasible policies, thus forming the joint strategy feasible region of multiple agents. The coupled evolutionary game evolution module is used to configure the core parameters of the evolutionary game, substitute the cross-action weight matrix into the dynamic equation of the evolutionary game, integrate the cross-action correction mechanism and the graph attention weight mechanism to construct the coupled evolutionary game dynamic model, and ensure that the policy evolution trajectory is always within the joint policy feasible region through the policy space projection operator, and iterate until the policy proportion of each agent is stable. The Cross-MAPPO policy optimization module is used to configure the training parameters of the multi-agent reinforcement learning algorithm, build the policy network and the value network, and carry out iterative training with the evolutionary stable policy proportion as the initial policy input. During the training process, joint policy feasible region verification and projection correction are periodically performed until the algorithm converges and outputs the initial optimal policy. The multi-dimensional equilibrium verification and output module is used to conduct equilibrium verification sequentially from three dimensions: individual benefits, group strategy distribution, and system interaction stability. It also performs evolutionary stable strategy anti-disturbance verification. After all verifications are passed, it outputs the optimal strategy set, the final interaction relationship graph topology, and auxiliary analysis results.