Skip to Content
Applied SciencesApplied Sciences
  • Article
  • Open Access

31 March 2026

28 Pages

Research on Coordinated Operation of Electricity–Hydrogen Multi-Agent Energy Systems Based on Asymmetric Nash Bargaining

and
School of Electrical Engineering, Xinjiang University, Urumqi 830000, China
*
Author to whom correspondence should be addressed.

Abstract

Coordinating multiple electric–hydrogen regional energy systems (EHRESs) under renewable uncertainty while ensuring rational benefit allocation remains a significant challenge. To address this issue, this paper proposes a cooperative energy mutual-assistance strategy for multiple EHRESs. An electric–hydrogen coupled operational framework integrating power-to-hydrogen technology is established, and a tiered carbon trading mechanism is incorporated to curb carbon emissions. Renewable-generation uncertainty is modeled using chance constraints. To solve the coordinated operation problem in a distributed manner, the cooperative model is decomposed into two tractable subproblems and solved using ADMM. In addition, an asymmetric Nash bargaining-based payoff allocation method incorporating aggregated contribution rates is developed to reflect heterogeneous participant contributions. Case studies are conducted to evaluate convergence, economic performance, emission reduction, and payoff allocation. The results show that the proposed method supports contribution-aware energy trading and benefit sharing among EHRESs while reducing carbon emissions by 8.54% and operating costs by up to 17.17%.

1. Introduction

1.1. Motivation

In recent years, with the continuous growth of global energy demand, the depletion of conventional energy reserves, and the increase in greenhouse gas emissions [1], renewable energy sources (RESs) such as wind power and photovoltaics (PV) have gained an increasing share in the generation mix due to their cleanliness and renewability. Accordingly, developing a new power system dominated by wind and solar energy has become a key pathway for the global green and low-carbon transition [2,3]. However, the intrinsic intermittency and uncertainty of wind and PV generation hinder their large-scale utilization in the low-carbon transition. Enabling high-penetration RES integration while ensuring power-system security has thus become an urgent issue.
Against this backdrop, hydrogen energy, as a clean energy carrier, exhibits considerable economic value and decarbonization potential in power systems and industrial applications owing to its flexibility and high efficiency [4]. Consequently, establishing an EHRES with electricity and hydrogen as coupled energy carriers has been recognized as an effective approach to facilitate large-scale wind–solar integration and enhance regional operational flexibility [5]. With the advancement of distributed energy trading and the transformation of power-system operation, EHRESs can promote local utilization of green energy and support the coordinated dispatch of multiple energy forms. In particular, they can leverage the zero-carbon potential, operational flexibility, and high efficiency of hydrogen systems [6], thereby improving renewable utilization and promoting the low-carbon transformation of energy systems.
Nevertheless, individual EHRESs may be constrained by limited scale and regulation capability, making it difficult to operate efficiently on their own. Moreover, the uncontrollability of high-penetration renewables and the strong coupling constraints in integrated operation can still lead to renewable curtailment [7]. Therefore, effective coordination of internal devices and inter-EHRES operation remains a key issue for improving renewable accommodation and promoting clean energy utilization.

1.2. Literature Review

As a key coupling link between electricity and hydrogen systems, P2H technology provides additional operational flexibility and plays an important role in carbon reduction [8,9]. Considerable research has investigated the coordinated dispatch and low-carbon operation of integrated electric–hydrogen multi-energy systems. In [10], a centralized bi-level planning model for electricity–hydrogen integration was proposed, highlighting hydrogen as both an energy carrier and a seasonal storage medium. In [11], a collaborative optimization model incorporating P2G was developed, further strengthening the linkage between decarbonization strategies and renewable utilization. In [12], a two-stage decision-making model considering electricity–hydrogen–gas interactions was established with both economic and environmental objectives. Studies in [13,14] developed coupled electricity–hydrogen models and showed that planning optimization and operational coordination can reduce external gas dependence while improving renewable accommodation. In [15], a P2H system was modeled as a flexible resource in the coupled electricity–hydrogen market, demonstrating its potential to enhance market flexibility and stability. In [16], an integrated operation system based on CHP, P2G, and CCS was established, showing that the integrated configuration could absorb 18.2% of CO2 for the P2G process and thus reduce carbon emissions. In [17], a CCS–P2G–HFC system was incorporated into an integrated energy system, increasing wind-power accommodation by 21.96% and promoting low-carbon economic operation. In [18], an industrial model covering the hydrogen industry chain, together with a long-term hydrogen storage model, was developed to improve flexibility and decarbonization performance. Overall, these studies confirm that P2H-related technologies can effectively enhance flexibility, reliability, and low-carbon performance in EHRES planning and operation. However, the role of cross-regional energy sharing and coordinated dispatch among multiple EHRESs has not been sufficiently explored.
With the deepening of electricity market reform and the rapid development of communication technologies, the interactions among different energy sectors have become increasingly close. In the coordinated optimization of multiple EHRESs, it is necessary not only to consider the internal coupling relationships of energy supply and device outputs within each region, but also to establish proper cooperation mechanisms for inter-EHRES energy transactions and benefit sharing. Such mechanisms are essential for improving overall operational efficiency and facilitating low-carbon transition. Accordingly, ref. [19] developed an inter-regional power-trading cooperative game model considering local microgrid integration and analyzed the effects of different carbon allowance schemes on cooperative profits. Using Nash bargaining theory, ref. [20] investigated the coordinated planning and operation of an electricity–hydrogen multi-agent energy system, improving both individual and coalition benefits. To address source–load uncertainties in the joint operation of virtual power plants and hydrogen conversion systems, ref. [21] proposed a stochastic bargaining game model to enhance system flexibility and economic performance. Based on Nash trading theory and a carbon trading mechanism, ref. [22] presented a cooperative game model for optimal power trading in a multi-park integrated energy system, reducing both operating costs and total carbon emissions. In [23], carbon emission constraints were incorporated into the cooperative operation of multi-energy microgrids, and a risk-averse stochastic planning and P2P trading co-optimization method was proposed. Considering bilateral contracts together with reward-and-penalty mechanisms, ref. [24] established a dynamic bi-level game model to balance stakeholder interests in a multi-agent electricity market. Based on cooperative game theory, ref. [25] formulated a bargaining model between distribution companies and demand response, ensuring fairness between supply and demand while maximizing profits for both sides. Although these studies have established effective energy trading mechanisms through cooperative games, they mainly focus on maximizing overall system benefits, while paying relatively less attention to rational profit allocation among coalition members. As a result, they may not fully motivate individual participants in multi-EHRES cooperation.
As the coupling among energy entities becomes increasingly pronounced, ensuring fair competition and rational benefit allocation among multiple stakeholders has become a key issue for EHRES operation. For the game-theoretic analysis of wind–storage enterprises in electricity markets, ref. [26] proposed a bi-level stochastic optimization model and adopted the Shapley value to allocate profits among participants. In [27], a P2P electricity–hydrogen trading framework with a netting-based sharing mechanism was developed, and Nash bargaining theory was applied to optimize energy transactions, thereby improving cooperative benefits among heterogeneous agents. Studies in [28,29] investigated cooperative game models among multiple microgrids and designed Nash bargaining-based incentive mechanisms to encourage inter-microgrid energy interaction and fair benefit sharing. However, most existing approaches implicitly assume identical bargaining power for all participants and insufficiently reflect heterogeneity in coalition contribution and surplus creation. In practice, participants differ in resource endowment, operational flexibility, and contribution to coalition success. Therefore, a fair profit-allocation mechanism should assign bargaining power in a way that better matches participants’ actual contributions.
Existing profit-allocation approaches mainly include proportional allocation, Shapley-value-based methods, and Nash-bargaining-based mechanisms. Proportional allocation is easy to implement, but lacks a solid game-theoretic foundation and may fail to reflect heterogeneous participant contributions. Shapley value can characterize marginal contributions more rigorously, but its computational burden grows rapidly with the number of participants, and it does not directly capture asymmetric bargaining positions in practice. Although symmetric Nash bargaining provides a tractable and fairness-oriented framework, it usually assumes identical bargaining power among participants. This assumption is restrictive for EHRESs with different resource endowments, operational flexibility, and carbon emission-reduction contributions. Therefore, an asymmetric Nash bargaining framework is more suitable for the cooperative benefit-allocation problem considered in this paper.
To address this issue, refs. [30,31] quantified prosumers’ contributions in cooperative energy sharing and employed an asymmetric Nash bargaining approach to promote cooperation among multi-energy microgrids. These studies showed that contribution-aware bargaining can reflect the disparities between market participants and support a more reasonable distribution of cooperative surplus. However, they mainly quantified contributions in the electricity-sharing process, while paying limited attention to the role of carbon emission reduction during energy interactions. This decarbonization-related contribution should also be incorporated to establish a more comprehensive and equitable benefit-allocation mechanism.

1.3. Contributions

Based on the above review and analysis of the existing literature, this study proposes an asymmetric Nash bargaining-based coordinated operation strategy for an electricity–hydrogen multi-agent energy system. By effectively exploiting energy mutual assistance among heterogeneous EHRESs, the proposed strategy improves energy utilization efficiency and enables fair and rational energy trading as well as benefit allocation, thereby offering a new perspective for low-carbon and high-efficiency system operation. The main contributions of this paper are summarized as follows.
(1)
Modeling and uncertainty-aware energy sharing framework: The internal devices of each EHRES are modeled, and an electricity–hydrogen coupling model consisting of an electrolyzer, hydrogen storage system, and hydrogen fuel cell is established. By incorporating a tiered carbon trading mechanism, a cooperative game-based energy sharing framework for multiple EHRESs is further developed. In addition, considering the uncertainty of renewable generation in practical operation, chance constraints are introduced to mitigate its impact on system stability and economic performance.
(2)
Nash bargaining-based benefit balancing and contribution-aware allocation: A benefit-balancing model grounded in Nash bargaining theory is designed to optimize the operating modes of distributed resources and the energy trading strategy. Through game-theoretic optimization, the energy trading quantities and pricing strategies among EHRESs are jointly determined. The proposed model can enhance the overall benefit while maximizing the profit of each participating agent. Furthermore, an asymmetric bargaining method based on an aggregated contribution rate is proposed to accurately quantify each member’s contribution to the cooperative surplus, thereby enabling a rational payoff allocation.
(3)
Privacy-preserving distributed solution via improved ADMM: To address the nonconvex cooperative game and better protect data privacy, the proposed joint operation model is decomposed into two linearly solvable subproblems and solved in a distributed manner. An improved ADMM is developed to decouple the decision variables of aggregation members, which enhances computational performance and convergence behavior while preserving data privacy.

2. Materials and Methods

2.1. Uncertainty-Aware Coordinated Operation Optimization Model for an Electric–Hydrogen Regional Energy System

This paper establishes an interconnected cooperation framework for multiple EHRESs, where the energy flows are illustrated in Figure 1. Within this framework, individual EHRESs form a cooperative coalition through information sharing to conduct energy trading. By leveraging the heterogeneity in load demands and the complementarity of energy resources among EHRESs, the coalition improves resource allocation in the energy market.
Figure 1. Interconnected framework of multiple EHRESs and its energy flows.
Specifically, as shown in Figure 1, each EHRES is connected to the external power grid and natural gas network, from which electricity and natural gas can be purchased to satisfy local demands. Meanwhile, EHRESs can exchange electricity and heat with one another via the power network and heat pipelines, thereby enabling a rational redistribution of internal energy surpluses and deficits. Such multi-directional interconnections allow each EHRES to optimize energy prices, traded power, and heat quantities according to its operational objectives and characteristics during energy sharing and cooperative trading. Consequently, a rational dispatch strategy can be derived to meet inter-system load demands, achieving horizontal multi-energy complementarities and sharing, as well as vertical coordination among sources, networks, loads, and storage. This not only reduces dependence on external energy supplies but also improves economic performance and energy utilization efficiency.

2.1.1. EHRES System Architecture Design and Modeling

As an important component of modern power systems, EHRES plays a key role in the production, storage, and conversion of multiple forms of energy. Figure 2 illustrates the typical EHRES architecture proposed in this paper. As can be observed, the system integrates a variety of heterogeneous energy devices, thereby forming an integrated architecture with coordinated source–network–load–storage operation.
Figure 2. Typical architecture of an integrated energy system considering electricity–hydrogen coupling.
As shown in Figure 2, in this system the P2H unit is connected to a power system with a high share of renewable generation and is regulated as a controllable load. On the one hand, the hydrogen produced by the electricity–hydrogen coupling unit features zero carbon emissions, which endows EHRES with enhanced low-carbon flexibility and reduces its dependence on high-emission sources such as combined heat and power (CHP) units, gas boilers, and the external power grid. On the other hand, hydrogen serves as an efficient energy storage medium, providing an effective pathway to improve the accommodation capability of renewable energy resources, such as wind and solar power.
Therefore, by appropriately formulating the output strategies of internal devices, EHRES can flexibly provide diversified energy supplies in response to user-side demands, thereby achieving low-carbon and economic operation as well as efficient energy utilization. This strategy not only optimizes the pathways of energy production and consumption but also enhances the overall flexibility and stability of the system.

2.1.2. Electricity–Hydrogen Coupling Unit Modeling

Figure 1 and Figure 2 define the multi-EHRES interconnection framework, the internal architecture of a typical EHRES, and the associated energy interaction pathways considered in this study. Based on this physical structure, standard operational models are established for the EL, HFC, CHP, GB, and energy storage units. To improve readability and avoid overloading the main text with conventional component-level equations, the detailed formulations of these devices are provided in Appendix A.
The component-level models in Appendix A are adopted from standard EHRES formulations reported in the literature, whereas the main methodological contribution of this study lies in the coordinated low-carbon dispatch formulation retained in Section 2.2 and the subsequent asymmetric bargaining-based allocation framework.

2.2. Cooperative Game-Based Low-Carbon Economic Dispatch Model for Multiple EHRESs

Based on the multi-EHRES architecture described above and the detailed component models summarized in Appendix A, a cooperative low-carbon economic dispatch model is developed in this section. The objective is to minimize the overall operating cost of the coalition while accounting for carbon trading, renewable uncertainty, and inter-EHRES energy sharing.

2.2.1. Objective Function

When cooperative interconnection is not considered (i.e., each EHRES operates independently), no information exchange or energy trading occurs among different EHRESs. Accordingly, the corresponding objective function can be formulated as formulated in Equation (1).
F i N = F i o p + F i b u y + F i c o 2 + F i u s e r + F i r i s k
After establishing interconnection and cooperation among multiple EHRESs, the power allocation between each EHRES and the upper-level energy supply network is subject to additional constraints. Therefore, a unified energy infrastructure construction company is assumed to construct the power lines and heat pipelines among service providers to realize inter-system interconnection. Accordingly, the corresponding transmission cost should be jointly borne by both trading parties, as formulated in Equation (2).
F i n e t = ∑ t = 1 T ∑ j = 1 j ≠ i M ( α e P i j e + β h P i j h )
where F i n e t denotes the network construction (infrastructure) cost, and α e and β h are the unit wheeling cost coefficients of the regional electricity network and the district heating pipeline, respectively. P i j e and P i j h denote the electric and thermal power transmitted from region i to region j at time t, respectively.
In the cooperative interconnected system, energy sharing and trading occur among multiple service providers. Accordingly, the energy trading cost among EHRESs can be expressed as Equation (3).
F i t r a d e = ∑ t = 1 T ∑ j = 1 j ≠ 1 M ( p i j e P i j e + p i j h P i j h )
where p i j e denotes the unit price of electricity transmitted from EHRES i to EHRES j at time t, and p i j h denotes the unit price of thermal energy transmitted from EHRES i to EHRES j at time t.
In addition to the cost associated with electricity trading with the power grid, the system also needs to procure energy from the external natural gas network, as formulated in Equation (4).
F i b u y = ∑ t = 1 T ( p e P t e , b u y − p e s P t s e l l + p g P t g , b u y )
where P t g , buy denotes the amount of natural gas purchased from the gas network at time t, and p g denotes the corresponding gas price.
The tiered carbon trading price applied to the system for participation in the carbon market can be further formulated as Equation (5).
p c o 2 = { − p c o 2 0 − l ≤ E c o 2 − E a < 0 p c o 2 0 0 ≤ E c o 2 − E a < l ( 1 + α ) p c o 2 0 l ≤ E c o 2 − E a < 2 l … ( 1 + N α ) p c o 2 0 E c o 2 − E a ≥ N l
where α denotes the carbon price growth coefficient, N is the number of carbon emission intervals, and l represents the length of each interval.
After cooperative interconnection is enabled, the objective function of each EHRES should further incorporate the wheeling (network usage) cost and the energy trading cost with other EHRESs on top of Equation (2). Therefore, the day-ahead optimization in this chapter aims to minimize the sum of the 24 h operating costs of all EHRESs, i.e., to maximize the overall operational benefit of the coalition. The resulting model is formulated as Equation (6).
min ∑ i = 1 N F i C = F i N + F i n e t + F i t r a d e
where F i C denotes the total 24 h operating cost of the i EHRES after cooperative interconnection.

2.2.2. Constraints

The dispatch problem includes device-level operation constraints, system-level energy balance constraints, carbon trading constraints, renewable uncertainty constraints, and inter-EHRES transaction constraints. Among them, only the constraints directly governing the coordinated dispatch behavior are retained in the main text, whereas standard device equations and intermediate derivations are presented in Appendix B for completeness and reproducibility.
The electricity supply–demand balance constraint is given in Equation (7).
P t W T / P V + P t C H P + P t F C + ∑ j = 1 j ≠ 1 M P i j e + P t b u y + P d i s , t E E S − ( P t L + P t E L + P c h a , t E E S + P t s e l l ) ≥ f − 1 ( α e ) σ t , W T / P V 2
where f − 1 ( α e ) denotes the inverse function of the standard normal cumulative distribution function.
The heat and hydrogen power balance constraints are given in Equations (8) and (9).
Q t L + P c h a , t TES = Q t CHP + Q t HFC + Q t GB + ∑ j = 1 j ≠ 1 M P i j h + P d i s , t TES
H t E L + P d i s , t H E S = H t F C + P d i s , t H E S

2.3. An Energy-Sharing Method Based on Asymmetric Nash Bargaining

Minimizing the operating cost of a multi-agent EHRES through energy trading can be formulated as a Nash bargaining model. Under a cooperative operation framework, by solving the equilibrium of the Nash bargaining model [32], the optimal energy resource allocation and trading strategy for each EHRES can be obtained, thereby effectively promoting coordinated cooperation among multiple parties and achieving operating cost minimization. The mathematical formulation of Nash bargaining is given in Equation (10).
{ max ∏ i = 1 M ( F i − F i 0 ) s . t . F i ≥ F i 0
where M denotes the set of bargaining participants, F i 0 represents the operating cost of participant iii before cooperation, i.e., the disagreement point. F i is the optimal operating cost of participant iii under cooperative operation. F i − F i 0 denotes the benefit improvement obtained by each coalition member through cooperation.
As can be seen from Equation (10), the developed EHRES energy-sharing model involves multiple optimization variables with coupling between the energy trading quantity and the energy trading price, resulting in a non-convex nonlinear optimization problem that is difficult to solve directly. Therefore, it is decomposed into two sequentially optimized subproblems, namely operating cost minimization and payoff-dominance maximization, to obtain the optimal solution of the original problem.
P1: Reformulation of the EHRES coalition operating cost minimization problem Based on the arithmetic–geometric mean inequality, when the objective in Equation (10) attains its maximum, the condition in Equation (11) must be satisfied.
∏ i = 1 M ( F i 0 − F i C ) = 1 M [ ∏ i = 1 M ( F i N , 0 − F i C ) ] M
where F i N , 0 denotes the cost without cooperative interconnection, and F i C denotes the cost under cooperative operation. Since, during energy exchange between multiple EHRESs, the trading price between two parties is identical and the traded energy quantity is equal in magnitude but opposite in direction, it can be assumed that
∑ i = 1 M F i t r a d e = 0
Under this assumption U i C = F i N + F i n e t , it can be simplified as Equation (13).
max M ln ∑ i = 1 M ( F i N , 0 − U i C ) M
It can be observed that the essence of (13) is to minimize the operating cost after energy trading among EHRESs. Since F i N , 0 is the optimal cost without cooperative interconnection, it can be regarded as a constant and thus omitted. Accordingly, the objective function can be simplified to Equation (14), which converts the original maximization problem into a minimization problem for ease of solution.
min ∑ i = 1 M U i C
U i C = F i N + F i n e t + F i t r a d e
Through the above derivation and simplification, the cooperative energy trading quantity in Equation (13) can be decoupled and extracted, thereby yielding a tractable EHRES coalition operating cost minimization problem, i.e., subproblem P1.
P2: Reformulation of the payoff-maximization allocation problem
In subproblem P1, the optimal solution is obtained from the operating cost minimization U i C , 0 and the constant term F i N , 0 . Substituting them back into Equation (11) yields subproblem P2 for payoff-allocation maximization, where the optimization variables are obtained and solved via a distributed algorithm, as shown in Equation (16):
max ln [ ∏ i = 1 M ( F i N , 0 − U i C , 0 − F i t r a d e ( P i j e , P i j h ) ]

2.3.1. Comprehensive Contribution Rate of the Electricity–Carbon Factor

When optimizing the overall objective, it is necessary to allocate the benefits in a reasonable manner. Although the standard settlement scheme in electricity trading endows all participants with identical bargaining power, it neither reflects the actual contribution of each EHRES nor enables a fair distribution of the cooperative payoff. To address this issue, this paper develops an asymmetric Nash Bargaining model based on the conventional Nash bargaining framework. By using electricity trading volume and carbon emission reduction as indicators, the model quantifies the comprehensive contribution of each EHRES and thus allocates the cooperative payoff fairly according to their respective bargaining power.
Bargaining power is positively correlated with the magnitude of energy contribution. In this section, a nonlinear energy mapping function is adopted to characterize the electrical energy contribution level of each EHRES, and the expression of the electrical energy contribution factor is given in Equations (17)–(19).
d i e = e E i s / E m a x s − e E i r / E m a x r
E i s = ∑ t = 1 T max ( 0 , P i j , t e )
E i r = − ∑ t = 1 T min ( 0 , P i j , t e )
where d i e denotes the electrical energy contribution factor, E i s and E i r represent, respectively, the total electrical energy exported by EHRES i to other EHRESs and the total electrical energy imported by EHRES i within one trading cycle. E m a x s and E m a x r denote the maximum exported and imported energy, respectively, among all regional energy systems.
The reduction in carbon emissions of each EHRES makes a significant contribution to the increase in the overall coalition profit. By calculating the proportion of the CO2 emission reduction of each EHRES to the total carbon emission reduction of the coalition, the carbon reduction contribution coefficient can be obtained, as given in Equations (20) and (21).
T i c o 2 = E i c o 2 − E i j c o 2
d i c o 2 = ( E i c o 2 − E i j c o 2 ) / ∑ i = 1 M ( E i c o 2 − E i j c o 2 )
where d i c o 2 denotes the carbon reduction contribution factor; E i c o 2 is the carbon emission of MG i before cooperation, where no energy sharing exists among MGs; E i j c o 2 is the carbon emission of MG i after cooperation, where the MGs operate cooperatively; and T i c o 2 denotes the carbon emission reduction of MG i after cooperation.
Finally, based on the electrical energy contribution factor and the carbon reduction contribution factor, the final bargaining factor can be calculated as given in Equations (22) and (23).
R i = ω 1 d i e + ω 2 d i c o 2
d i = R i / ∑ i = 1 M R i
where R i denotes the comprehensive contribution factor of the system. ω 1 and ω 2 are the weighting coefficients of the electrical energy contribution and the carbon reduction contribution, respectively, satisfying ω 1 + ω 2 = 1 , where d i represents the comprehensive contribution rate for allocating the cooperative payoff.

2.3.2. Model Solution Procedure

After the model reformulation, an improved ADMM algorithm is employed to solve the two subproblems in a distributed manner. During the trading process, only the exchanged power and trading price information between two parties needs to be communicated, which can effectively protect the privacy of each participant. Consequently, the optimal operating strategy of each EHRES and the corresponding decision variables are obtained, thereby determining the operating schedules and trading strategies that satisfy both economic and low-carbon requirements. The overall solution procedure of the proposed model is illustrated in Figure 3.
Figure 3. Solution procedure for multi-agent energy sharing based on Nash bargaining.
(1) Solution of the EHRES coalition operating cost minimization subproblem
The inter-EHRES energy exchange power satisfies P i j v = − P j i v , where v denotes the type of energy exchange. Specifically, v = 1 represents electrical energy exchange and v = 2 represents thermal energy exchange. The specific steps for constructing the augmented Lagrangian function for subproblem P1 are as follows:
min L i , 1 = U i C − ∑ t = 1 T ∑ j = 1 j ≠ 1 M ( λ i j v ( P i j v + P j i v ) + ρ 1 v 2 ( P i j v + P j i v ) )
where λ i j v and ρ 1 v denote the Lagrange multiplier and the penalty parameter of the energy-consumption minimization subproblem, respectively.
Then, at each iteration, each EHRES updates its energy exchange strategy according to Equation (25) and checks the convergence condition based on Equation (26), thereby obtaining the optimized solution.
{ p i j v ( k + 1 ) = arg min x L i , 1 = ( λ i j ( k ) , P i j v ( k ) , P j i v ( k ) ) p j i v ( k + 1 ) = arg min y L j , 1 = ( λ j i ( k ) , P i j v ( k ) , P j i v ( k ) ) λ i j ( k + 1 ) = λ i j ( k ) + ρ 1 ( P i j v ( k ) + P j i v ( k ) )
{ ∑ t = 1 T ∑ i = 1 M ‖ P i j v ( k ) + P j i v ( k ) ‖ 2 ≤ ε 1 ∑ t = 1 T ∑ i = 1 M ‖ P i j v ( k + 1 ) + P j i v ( k ) ‖ 2 ≤ δ 1
where ε 1 and δ 1 denote the convergence tolerance parameters for the operating cost minimization subproblem, respectively.
(2) Solution of the payoff-allocation maximization problem based on asymmetric bargaining
In the payoff-allocation maximization subproblem, the energy trading prices among EHRESs are coupled variables. A distributed optimization algorithm is adopted to determine the most appropriate trading prices among EHRESs, thereby obtaining the maximum payoff for each EHRES. The mathematical formulation is given in Equation (27).
{ max ∏ i = 1 M ( F i 0 − F i C − F i t r a d e ) d i s . t F i 0 > F i C + F i t r a d e
where F i 0 denotes the optimal operating cost of EHRES i before participating in cooperation, and d i denotes the comprehensive contribution rate of EHRES i.
By incorporating the optimal pre-settlement operating cost obtained from the social cost minimization subproblem, and similarly following the treatment used for the operating cost minimization subproblem, the logarithm of Equation (27) is taken to convert the maximization problem into a minimization problem for ease of solution. After the model reformulation, Equation (28) is obtained.
max d i ln [ ∏ i = 1 M ( F i N , 0 − U i C , 0 − F i t r a d e ( P i j e , P i j h ) ]
Similarly, subproblem P2 can also be solved in a distributed manner using the ADMM algorithm, and its iterative convergence procedure is analogous to that of subproblem P1; thus, it is not repeated here.
(3) Adaptive-parameter ADMM algorithm
ADMM is a commonly used algorithm for cooperative optimization and distributed game solving, featuring high computational efficiency and favorable convergence properties. However, in conventional ADMM, the selection of the penalty parameter affects the convergence speed. To accelerate the solution process and mitigate the impact of the initial penalty-factor selection on convergence performance, an adaptive step-size mechanism is adopted to update the penalty factor in real time [33], thereby balancing the convergence rates of the residuals. The dynamic adjustment of the penalty factor is given in (29).
ρ k + 1 = { μ ρ k , δ s k < r k ρ k / μ , s k > δ r k ρ k , o t h e r
where μ and δ are residual coefficients, with μ > 1 and δ > 1 .
Finally, in the MATLAB R2020a environment, subproblem P1 is solved using YALMIP (R20200930) with the CPLEX 12.9 solver, and subproblem P2 is solved using YALMIP with the MOSEK 10.1 solver.

3. Results and Discussions

3.1. Baseline Data

To verify the effectiveness of the proposed method, an EHRES in a region of North China is adopted as the simulation case study. Three independently operated EHRESs are selected to establish the game-based interactions among systems. The scheduling horizon is one day with an hourly time resolution, i.e., T = 24. Specifically, the EHRESs differ in terms of renewable energy portfolios and the diversity of electric and thermal loads. The forecasted typical-day wind and photovoltaic power profiles of each EHRES are shown in Figure 4a. The key parameters of the EHRES models are summarized in Table 1. Owing to heterogeneous user energy-consumption characteristics, the peak and off-peak periods of electricity and heat demands are not aligned across different regions. The forecasted electric and thermal load power profiles of each EHRES are presented in Figure 4b,c; the time-of-use electricity tariff and gas purchase price are listed in Table 2, and the main equipment parameters are provided in Table 3.
Figure 4. Forecasted renewable generation profiles and energy demands of each EHRES. (a) Wind and PV profiles of each EHRES. (b) Electrical load of each EHRES. (c) Thermal load of each EHRES.
Table 1. Key model parameters of different EHRESs.
Table 2. Time-of-use electricity prices and natural gas prices.
Table 3. Main operating parameters of the system.
In this study, all cost-related parameters, including electricity prices, carbon trading costs, and operating costs, are expressed in CNY, as the data are derived from the local market environment. Retaining the original currency ensures consistency with the source data and avoids additional uncertainty caused by exchange-rate conversion. For the convenience of international readers, a reference exchange rate of 1 USD = 6.89 CNY (based on the rate as of 20 March 2026) is provided.
In this work, to verify that the proposed Nash bargaining-based cooperative scheduling and energy-sharing method can effectively improve energy efficiency and economic performance, the proposed model is investigated under two case studies.
Two scenarios are considered:
Scenario 1: The three regional EHRESs operate independently, i.e., energy management is performed without energy sharing. This scenario serves as the baseline case.
Scenario 2: The three regional EHRESs operate in a coordinated manner, enabling cooperative transactions and energy sharing. This scenario corresponds to the setting considered in this paper.
This study considers a representative typical day and does not explicitly distinguish weekdays, weekends, and holidays.

3.2. Simulation Results and Analysis

This paper employs an improved ADMM-based approach to solve, in a distributed manner, the optimization problem associated with electricity/heat interactions and benefit allocation among multiple EHRESs. Figure 5 illustrates the iterative convergence of the operating cost for each EHRES after optimization.
Figure 5. Iterative convergence results for minimizing the operating cost of each EHRES.
As shown in Figure 5, as the number of iterations increases, the proposed algorithm gradually converges to an optimal steady state. After 42 iterations, the total cost of each EHRES continuously decreases and eventually stabilizes, indicating that the individual interests of all EHRESs are maintained. After participating in cooperative energy sharing, the total operating costs of the three EHRESs are 8036.52 CNY, 10,015.21 CNY, and 12,527.40 CNY, respectively. This process reflects the dynamic game among EHRESs, through which each EHRES seeks an operating strategy that minimizes its own cost.
Table 4 compares the carbon emissions, operating costs, and benefit improvements of each EHRES under two modes, i.e., independent operation and cooperative interconnection. Under the cooperative interconnection mode, the operating cost of each EHRES decreases. Specifically, the optimized operating costs are 8036.52 CNY (EHRES1), 10,015.21 CNY (EHRES2), and 12,527.40 CNY (EHRES3), corresponding to cost reductions of 1166.91 CNY, 1053.84 CNY, and 4116.72 CNY, respectively. Overall, the total operating cost of the EHRES cluster decreases from 36,916.63 CNY to 30,579.13 CNY, representing a reduction of 6337.50 CNY, or about 17.17%. This improvement is mainly attributed to the cooperative interconnection scheme, where electricity and heat trading/sharing among EHRESs reduces transactions with the upstream power grid, enhances energy utilization efficiency, and enables mutual energy benefits, thereby lowering the overall operating cost.
Table 4. Analysis of cost reduction and benefit allocation before and after cooperative interconnection.
In terms of carbon emissions, cooperative interconnection does not reduce the emissions of every EHRES individually. As shown in Table 4, the carbon emissions of EHRES1 increase from 22,664.39 kg to 24,714.10 kg, whereas the total carbon emissions of the EHRES cluster decrease from 97,863.71 kg under independent operation to 89,507.09 kg under cooperative interconnection, representing a reduction of 8356.62 kg, or about 8.54%. This indicates that the cooperative interconnection mode improves the environmental performance at the system level, although the carbon emissions of an individual EHRES may change due to the redistribution of energy supply responsibilities and internal energy trading.
Therefore, cooperative interconnection significantly reduces the total operating cost and total carbon emissions of the EHRES system, indicating that the cooperative mode can achieve better overall economic and environmental performance through internal energy trading.
Under the proposed cooperative game model, each EHRES can trade its internal energy surplus or deficit after achieving a balanced interaction based on user demand response and the operation of local energy-supply units. Therefore, it is essential to determine reasonable electricity and heat trading quantities among EHRESs. Figure 6 and Figure 7 present the optimized electricity and heat trading results after cooperative interconnection.
Figure 6. Electricity sharing among multiple EHRESs.
Figure 7. Heat sharing among multiple EHRESs.
We first analyze the electricity trading among EHRESs. As shown in Figure 6, each EHRES can flexibly participate in the trading market as either a buyer or a seller. Taking EHRES1 as an example, during nighttime hours (20:00–05:00), the wind power output is relatively high while the electrical load is low, resulting in considerable wind power curtailment. To reduce the operating cost, EHRES1 sells its surplus wind generation to EHRES2 and EHRES3. In contrast, during daytime hours (07:00–15:00), the wind generation decreases and the electrical load reaches peak levels; hence, EHRES1 needs to purchase electricity from other EHRESs.
Unlike the wind-based generation in EHRES1, EHRES2 and EHRES3 mainly rely on PV generation. For EHRES2, abundant solar power from 10:00 to 16:00 enables it to sell surplus electricity to other EHRESs, thereby reducing its operating cost. However, from 21:00 to 06:00, when the PV units are out of service, EHRES2 must purchase electricity from other EHRESs to meet its demand. By comparison, the PV generation of EHRES3 during daytime can only satisfy its own demand, leaving only a small surplus for trading. During most of the trading horizon, EHRES3 primarily meets its electricity demand by purchasing power from other EHRESs.
Figure 8 depicts the heat trading results among the EHRESs. For EHRES1, the system operates in a heat–power coupling conflict during nighttime. Specifically, from 03:00 to 08:00, the electrical load is relatively low whereas the thermal load is high. During this period, most of the electrical demand is supplied by the wind turbines, which constrains the output of the CHP unit; consequently, the thermal demand cannot be fully satisfied, and EHRES1 needs to purchase heat from other EHRESs. In contrast, from 08:00 to 16:00, the thermal load is at a trough and the available thermal capacity becomes excessive; thus, EHRES1 sells its surplus heat to other EHRESs.
Figure 8. Energy trading prices among EHRESs. (a) Electricity trading prices among EHRESs. (b) Heat trading prices among EHRESs.
For EHRES2, the thermal load is relatively low during 01:00–07:00, leaving a certain amount of heat available for sale. During 08:00–20:00, however, the thermal load increases and EHRES2 needs to purchase heat to reduce its operating cost. EHRES3 mainly has a heat surplus during 01:00–07:00 and can sell heat to other EHRESs, while its thermal demand is largely satisfied during 07:00–22:00.
Overall, by exploiting the renewable generation profiles and load characteristics across different areas, each EHRES achieves a dynamic trading equilibrium through cooperative interconnection. Over the scheduling horizon, the net exchanged electricity and heat among the EHRESs are both zero.
After energy interaction and sharing among different EHRESs, it is necessary to design differentiated pricing strategies for each EHRES based on the traded electricity and heat. The objective is to maximize the overall benefit of the game while ensuring that the individual benefit of each EHRES is also optimized. Figure 8 illustrates the negotiated electricity and heat trading prices among the EHRESs during the trading process.
As shown in Figure 8a, after cooperative interconnection, the negotiated internal electricity trading prices among EHRESs are significantly lower than the external grid time-of-use (TOU) tariffs, while remaining higher than the feed-in tariff for selling electricity to the grid. This allows EHRESs to obtain higher revenue from internal sales than from exporting electricity to the grid and meanwhile reduces their purchasing cost compared with buying electricity from the external grid. Such a pricing mechanism provides strong incentives for EHRESs to actively participate in internal electricity trading. Figure 9b shows that the internal heat supply prices among EHRESs are also lower than the selling price of the external district heating network. Therefore, this mechanism preferentially guides energy transactions within the EHRES cluster. When an individual EHRES experiences an energy surplus or deficit, it tends to trade with other EHRESs first, thereby effectively reducing dependence on external networks and improving the economic performance of each EHRES.
Figure 9. Power exchange between each EHRES and the external grid before and after optimization.
To further analyze the impacts of electricity exchange among different EHRESs on their interactions with the external power grid after cooperative interconnection, Figure 9 compares the power exchange profiles between each EHRES and the external grid before and after cooperation. As shown in Figure 9, during 01:00–08:00, the electricity demand remains higher than the combined output of renewable generation and CHP units; therefore, electricity must still be purchased from the external electricity market.
When switching from independent operation to cooperative interconnection, different EHRESs can prioritize the accommodation of renewable energy through coordinated energy exchange. Under this scheme, internal trading among EHRESs is preferred: when an individual EHRES experiences an energy surplus or deficit, it tends to trade with other EHRESs first. This strategy effectively reduces dependence on the external grid, improves the energy self-sufficiency of each EHRES, and enhances the stability of the overall network.
Consequently, under the cooperative interconnection mode, the transaction volume with the external grid is noticeably reduced, which lowers the energy purchasing cost and mitigates reliance on the upstream grid. This finding is consistent with the proposed research rationale and the optimized scheduling results presented in this study.
Figure 10 illustrates the natural gas purchasing profiles of the system from the external gas network before and after Nash bargaining. As shown in Figure 10a–c, the natural gas procurement of each EHRES is significantly reduced. This is mainly because, under cooperative operation, each EHRES can utilize surplus wind energy at night for hydrogen conversion and storage and then perform combined heat and power generation via the HFC. As a result, the operating demand of the CHP units and GBs is substantially reduced, thereby decreasing the reliance on gas purchases from the external gas network. As indicated in Figure 10d, the total natural gas purchase from the external gas network decreases from 33,757.03 m3 under independent operation to 30,010.33 m3 under cooperative operation, corresponding to a reduction of approximately 12.82%.
Figure 10. Comparison of natural gas purchases of each EHRES before and after Nash bargaining.
After cooperative interconnection, it is also necessary to balance the individual benefits of each EHRES. Table 5 lists the optimized benefit allocation results obtained by the conventional Nash bargaining model.
Table 5. Optimized benefit allocation results under the conventional Nash bargaining model.
As can be seen from Table 5, under conventional Nash bargaining, the differences in benefit improvement among the EHRESs are not significant, with an improvement of approximately 2316.54 CNY for each EHRES. This allocation approach tends to overlook the heterogeneous contribution levels of different EHRESs in cooperative trading, which may weaken the incentives of EHRESs to participate in cooperative interconnection.
Therefore, to better balance the benefits of all participants, this paper proposes an asymmetric Nash bargaining method based on the comprehensive contribution level, which quantifies the differences in EHRESs’ integrated contribution rates to coalition-based coordinated operation from both energy and low-carbon perspectives. The results are presented in Table 6.
Table 6. Optimization results of the comprehensive contribution rates of each EHRES.
Using the bargaining-power quantification function, the electricity contribution factor and the carbon emission contribution factor of each EHRES are calculated to characterize its contribution to the overall system. According to Table 6, the electricity contribution factors of the three EHRESs are 2.58, 1.72, and 0.64, respectively, while the corresponding carbon emission contribution factors are 0.84, 0.41, and −0.25. The computed comprehensive contribution rate of EHRES1 is 2.06, indicating the largest contribution to the system, followed by EHRES2 with a comprehensive contribution rate of 0.35. EHRES3 has the lowest comprehensive contribution rate, equal to 0.099. Table 7 reports the optimized benefit allocation results of each EHRES under the proposed asymmetric Nash bargaining method based on the comprehensive contribution level.
Table 7. Optimized benefit allocation results under the asymmetric Nash bargaining model.
According to Table 7, after asymmetric Nash bargaining, the benefit improvements of the EHRESs differ from one another. This is because the benefit allocation is determined based on the contribution of each EHRES, thereby safeguarding the participants’ interests to the greatest extent. Specifically, EHRES1 has a higher comprehensive contribution rate. Owing to its higher wind power penetration and abundant energy resources, it possesses stronger bargaining power in the cooperative market and is therefore allocated a larger share of the cooperative benefits. EHRES2 ranks second, whereas EHRES3 has the lowest comprehensive contribution rate and thus receives a smaller share of the allocated benefits. These results indicate a positive correlation between the allocated benefit and the comprehensive contribution rate: a higher contribution rate leads to a higher final allocated profit.
Figure 11 illustrates the overall economic improvement achieved through cooperative operation and the corresponding benefit allocation results under different bargaining schemes. Consistent with the results in Table 4, cooperative interconnection reduces the total operating cost of the EHRES coalition, confirming the economic advantage of energy sharing and multi-area coordinated operation.
Figure 11. Benefit improvement of the system before and after coordinated operation.
Regarding benefit allocation, compared with the conventional symmetric Nash bargaining scheme, the proposed asymmetric Nash bargaining method better reflects the heterogeneous contributions of different participants. By determining bargaining power through the comprehensive contribution quantification function, the proposed method enables each EHRES to obtain a profit share more consistent with its actual contribution, thereby improving the fairness and rationality of benefit allocation.
As shown in Figure 12a, different weight combinations assigned to the electricity contribution factor and the carbon emission-reduction contribution factor have a significant influence on the allocation of cooperative benefits. When a larger weight is assigned to the carbon emission-reduction contribution factor, the benefit of EHRES3 increases markedly. By contrast, as the weight of the electricity contribution factor increases, the benefit allocated to EHRES3 gradually decreases, whereas those of EHRES1 and EHRES2 increase correspondingly. This is mainly because EHRES1 and EHRES2 contribute more to electricity provision than to carbon emission reduction; therefore, increasing the weight of the electricity contribution factor enhances their comprehensive contribution rates. Overall, when the electricity contribution factor accounts for a larger proportion, EHRES1 obtains the highest benefit. These results indicate that energy system optimization requires a proper balance between electricity-related contributions and carbon emission-related contributions, so that an appropriate comprehensive contribution-rate strategy can be developed to maximize the overall system benefit.
Figure 12. Effects of different weight settings and uncertainty parameters on EHRES performance. (a) Benefit improvement under different weight settings. (b) Operating cost under different uncertainty levels.
Figure 12b presents the impact of uncertainty parameters on the operating costs of each EHRES. To evaluate the influence of renewable energy uncertainty, the confidence level for wind/PV uncertainty is varied from 0.55 to 0.95. It can be observed that, as the confidence level increases, the operating costs of all EHRESs rise continuously, with increases of 27.0%, 35.2%, and 26.1%, respectively. This is mainly because, under higher confidence levels, a wider range of renewable-generation uncertainty is incorporated into the uncertainty budget, prompting each EHRES to place greater emphasis on the fluctuation risk of renewable generation. As a result, part of the economic performance is sacrificed to improve the reliability of energy supply. Therefore, in practical scheduling, the trade-off between economy and reliability should be carefully balanced, and the decision-maker’s preference for risk and cost should be jointly considered when determining the final dispatch scheme.

4. Conclusions

To achieve low-carbon and cost-effective operation of regional power systems under uncertainty while effectively balancing benefit conflicts among heterogeneous energy entities, this paper develops an electricity–hydrogen multi-agent energy-sharing cooperation model based on Nash bargaining theory. The proposed model explicitly incorporates energy trading, payment negotiation, information privacy, and multiple sources of uncertainty. By decomposing the original optimization into two subproblems—(i) operating cost minimization and (ii) post-cooperation benefit allocation—and solving them via an improved ADMM algorithm, the cooperative benefits are finally allocated according to the comprehensive contribution level of each EHRES. With an effective pricing mechanism and cooperative scheme, the proposed framework can achieve a win–win outcome in terms of both economic and environmental performance, providing valuable insights for future energy system optimization. The main conclusions are summarized as follows:
Compared with independent operation of regional EHRESs, the proposed electricity–hydrogen-coupled coordinated operation mode can effectively incentivize cooperation among agents and reduce the energy exchange between each EHRES and the upstream networks. Consequently, the total operating cost is significantly reduced by approximately 17.17%. Moreover, the total CO2 emissions of the coalition are substantially decreased, with an emission reduction rate of 8.54%. These results verify the effectiveness of the proposed mode in enabling low-carbon and economical operation while significantly improving both the economic and low-carbon benefits of the participants.
By reformulating the proposed model into two subproblems and solving them in a distributed manner using the improved ADMM algorithm, the optimization of electricity/heat sharing and the corresponding pricing strategy among EHRESs only require exchanging the traded energy quantities and price information. This achieves satisfactory convergence and computational efficiency while effectively preserving the privacy of each participant. In addition, renewable generation uncertainty increases the risk-related operating cost. Hence, in practical decision-making, appropriate uncertainty parameters should be selected to balance the trade-off between economic performance and risk cost.
Compared with the conventional symmetric Nash bargaining benefit-allocation mechanism, the proposed asymmetric Nash bargaining scheme based on the comprehensive contribution rate allocates cooperative benefits more reasonably by quantifying the integrated contribution of each EHRES from both electricity contribution and carbon emission contribution perspectives. This effectively maintains the incentives of EHRESs to participate in cooperative games, thereby promoting the low-carbon and economic development of the overall system.
In future work, we will refine the P2H model with more detailed representations, e.g., by considering the dynamic characteristics and efficiency variations across hydrogen production and storage processes, so as to more accurately reflect practical operating conditions. Moreover, the impacts of different operating strategies in the day-ahead and intra-day stages will be investigated to accommodate the heterogeneous response characteristics of different energy carriers across time scales, thereby further improving the operational efficiency and economic performance of the system.

Author Contributions

Conceptualization, C.L.; methodology, C.L.; software, C.L.; validation, C.L. and X.Z.; formal analysis, C.L. and X.Z.; investigation, X.Z.; resources, X.Z.; data curation, X.Z.; writing—original draft, C.L. and X.Z.; writing—review and editing, X.Z.; visualization, C.L.; supervision, X.Z.; project administration, X.Z.; funding acquisition X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (52067020); the Second Batch of Major Science and Technology Special Projects of Xinjiang Uygur Autonomous Region in 2022 (“Key Technologies R&D of Large-Capacity Hybrid Shared Multi-Scenario Energy Storage for Renewable-Energy-Friendly Interaction,” Project No. 2022B01019); and the Natural Science Foundation of Xinjiang Uygur Autonomous Region (2021D01C044).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Appendix A presents the detailed operational models of the main EHRES components used in the dispatch formulation, including the EL, HFC, CHP, GB, and energy storage devices. These formulations are based on established integrated energy system models and are included here for completeness and reproducibility. The system-level optimization model retained in the main text is constructed on the basis of these device-level formulations. The detailed El and HFC formulations are adapted from representative electricity–hydrogen integrated energy system models in recent studies [34,35].
As a key coupling component of the integrated electricity–hydrogen system, the P2H subsystem can convert surplus renewable electricity into hydrogen via the electrolyzer during periods of low electrical demand and high renewable output. The hydrogen production rate of the electrolyzer is determined by its input electrical power and hydrogen production efficiency and can be expressed as Equation (A1).
H t EL = P t EL · η EL P min EL ≤ P t EL ≤ P max EL Δ P min EL ≤ P t EL − P t − 1 EL ≤ Δ P max EL
where P t EL denotes the electrical input power of the electrolyzer at time t, H t EL denotes the hydrogen production power at time t, η EL denotes the energy conversion efficiency of hydrogen production, and P m i n EL and P m a x EL are the lower and upper limits of the electrical power input to the electrolyzer, respectively. Δ P m i n EL and Δ P m a x EL represent the ramp-down and ramp-up limits of the EL, respectively.
As a key energy-coupling device in EHRES, the HFC can generate electricity from hydrogen to reduce the demand for external electricity purchases and the associated costs. This process enables an efficient and clean conversion of hydrogen into electrical energy, while the heat generated can also be effectively recovered and utilized. The corresponding electric and thermal output models are given in Equation (A2).
P t HFC = η HFC e · H t HFC Q t HFC = η HFC h · H t HFC H min HFC ≤ H t HFC ≤ H max HFC Δ H min HFC ≤ H t HFC − H t − 1 HFC ≤ Δ H max HFC κ min HFC ≤ Q t HFC / P t HFC ≤ κ max HFC
where H t HFC denotes the hydrogen consumption power at time t, and P t HFC and Q t HFC denote the electrical and thermal outputs of the HFC at time t, respectively. η HFC e and η HFC h are the electrical and thermal conversion efficiencies of the fuel cell, H m i n HFC and H m a x HFC are the lower and upper bounds of the hydrogen consumption power, Δ H min HFC and Δ H m a x HFC denote the minimum and maximum ramping powers of the HFC, and κ m i n HFC and κ m a x HFC are the lower and upper bounds of the adjustable heat-to-power ratio of the HFC, respectively.
The electrical and thermal outputs of the CHP unit are intrinsically coupled and must satisfy the associated operating constraints [36], as formulated in Equations (A3) and (A4).
P t CHP ≥ max P min CHP − C v 1 Q t CHP , C m Q t CHP − Q max CHP + P max CHP − C v 2 Q max CHP P t CHP ≤ P max CHP − C v 2 Q t CHP
Q min CHP ≤ Q t CHP ≤ Q max CHP
where P t CHP denotes the electrical output of the CHP unit at time t, C v 1 and C v 2 are the electricity-to-heat conversion coefficients corresponding to the minimum and maximum power outputs of the CHP unit, respectively. C m denotes the linear supply slope between the thermal and electrical outputs of the CHP unit, Q min CHP and Q max CHP are the lower and upper bounds of the CHP thermal output, Q t CHP denotes the thermal output of the CHP unit at time t.
As a conventional heat supply device, the GB produces thermal energy by burning natural gas and meets the heat demand through natural gas consumption. The corresponding model is given in Equation (A5).
Q t GB = η h GB G t GB H g Δ Q min GB ≤ Q t GB − Q t − 1 GB ≤ Δ Q max GB Q g , min GB ≤ Q g , t GB ≤ Q g , max GB
where Q t GB and G t GB denote the thermal output and the natural gas input (consumption) power of the GB at time t, respectively. Q g , max GB is the upper bound of the gas input power, η h GB denotes the thermal efficiency, H g is the lower heating value of natural gas, and Δ Q m i n GB and Δ Q m a x GB represent the ramp-up and ramp-down limits of the GB, respectively.
In this paper, the mathematical models of three types of energy storage devices—electrical energy storage, thermal energy storage, and hydrogen storage [37]—are formulated as Equation (A6).
E t i = 1 − δ i E t − 1 i + ( P cha , t i η cha i + P dis , t i η dis i ) 0 ≤ P cha , t i ≤ P cha , t i α cha , t i 0 ≤ P dis , t i ≤ P dis , t i α dis , t i E min i ≤ E t i ≤ E max i α cha , t i + α dis , t i ≤ 1 E 1 i = E 24 i
where i denotes the type of storage device, including EES, TES, and HES. E t i represents the energy content (state of charge) of storage type i at time t, and η cha i and η dis i are the charging and discharging efficiencies of storage type i , respectively. δ i is the self-discharge (energy loss) coefficient of storage type i . P cha , t i and P dis , t i denote the charging and discharging powers of storage type i at time t, respectively. E m i n i and E m a x i are the lower and upper bounds of the storage capacity, respectively. α cha , t i and α dis , t i are the binary indicators of the charging and discharging states of storage type i at time t, respectively. E 1 i and E 24 i denote the stored energy at the beginning and the end of the scheduling horizon, respectively.

Appendix B

Appendix B further provides the intermediate derivations of the carbon trading formulation, the uncertainty reformulation, and the detailed bilateral energy transaction consistency constraints, while only the final forms directly used in optimization are retained in the main text.
In this paper, a relatively stable allowance allocation scheme, i.e., free allocation, is adopted. The initial carbon allowances for each entity are determined using a benchmark-based (baseline) allocation method [38]. In this way, market trading and the allowance offset mechanism can reduce the carbon abatement cost for high-emission units in the system. Accordingly, the carbon emission allowance at time t is formulated as Equation (A7).
E quo ( t ) = E Grid q ( t ) + E CHP q ( t ) + E GB q ( t ) E Grid q ( t ) = δ e P t buy E CHP q ( t ) = δ g C v 1 Q t CHP + P t CHP E GB q ( t ) = δ g Q t GB
where δ e denotes the carbon allowance factor associated with electricity purchased from the external grid, P t e , buy denotes the electricity purchased from the external grid at time t, δ g denote the carbon allowance factors per unit energy consumption of the CHP unit and the GB.
EHRES can achieve low-carbon operation through carbon trading. In this paper, the carbon emission sources of EHRES include electricity purchased from the external grid, the CHP unit, and the GB. Moreover, the electricity purchased from the external grid is regarded as being generated by conventional coal-fired units. Accordingly, the total carbon emissions of the system can be expressed as Equations (A8) and (A9).
E co 2 ( t ) = E CHP ( t ) + E GB ( t ) + E Grid ( t )
E CHP ( t ) = a CHP C v 1 Q t CHP + P t CHP 2 + b CHP C v 1 Q t CHP + P t CHP + c CHP E Grid ( t ) = a Grid ( P t buy ) 2 + b Grid P t buy + c Grid E GB ( t ) = λ GB Q t GB
where λ GB denotes the unit carbon emission coefficient of the GB. a CHP , b CHP and c CHP are the carbon emission calculation coefficients of the CHP unit. a Grid , b Grid and c Grid are the carbon emission calculation coefficients of the coal-fired generation corresponding to electricity purchased from the external grid.
The actual outputs of wind power and PV generation are modeled as the sum of their forecasted values and stochastic forecast errors. Specifically, the short-term forecast error ζ t WT / PV of wind and PV generation is assumed to follow a Gaussian distribution. For wind generation, the forecast error is assumed to have zero mean and variance σ t , WT / PV 2 and can be expressed as Equation (A10).
P t WT / PV ∼ P max WT / PV + N 0 , σ t , WT / PV 2
Due to the stochastic variables associated with uncertain factors such as wind and PV generation, the electrical power balance of the system is required to satisfy the constraint given in Equation (A11).
Pr P t WT / PV + P t CHP + P t FC + ∑ j = 1 j ≠ i M P i j e + P t buy + P dis , t EES − P t L + P t EL + P cha , t EES + P t sell ≥ 0 ≥ α e
where α e denotes the confidence level of the constraint based on probability theory.
The energy interaction coupling constraints are formulated in Equations (A12) and (A13).
P ij , min e ≤ P t , i J e ≤ P ij , max e
P ij , min h ≤ P t , ij h ≤ P ij , max h
where P i j e and P i j h denote, respectively, the electric energy and thermal power exchanged between the i-th EHRES and the j-th EHRES during a scheduling interval. A positive value indicates that the i-th EHRES is energy-deficient and thus needs to receive energy from other EHRESs, whereas a negative value indicates that it has an energy surplus and can transmit energy to other EHRESs.
The electricity and heat trading prices between the buyer and the seller in EHRES interactions follow a sign convention of “positive for purchase and negative for sale”. Therefore, the corresponding bilateral prices must satisfy price-consistency (equality) constraints, as given in Equations (A14)–(A17):
P t , i j e = − P t , j i e
P t , i j h = − P t , j i h
P t , i j e = P t , j i e
P t , i j h = P t , j i h
Since the energy exchange power between any two EHRESs is equal in magnitude (but opposite in direction), the inter-EHRES exchange power must satisfy the global balance constraints, as given in Equations (A18) and (A19).
∑ i = 1 M P t , i e = 0
∑ i = 1 M P t , i h = 0

References

  1. Xu, J.; Chen, Y.; Wang, J.; Lund, P.D.; Wang, D. Ideal scheme selection of an integrated conventional and renewable energy system combining multi-objective optimization and matching performance analysis. Energy Convers. Manag. 2022, 251, 114989. [Google Scholar] [CrossRef] [Scilit]
  2. Li, J.; Li, D.; Zheng, Y.; Yao, Y.; Tang, Y. Unified modeling of regionally integrated energy system and application to optimization. Int. J. Electr. Power Energy Syst. 2022, 134, 107377. [Google Scholar] [CrossRef] [Scilit]
  3. Luo, Z.; Yang, S.; Xie, N.; Xie, W.; Liu, J.; Agbodjan, Y.S.; Liu, Z. Multi-objective capacity optimization of a distributed energy system considering economy, environment and energy. Energy Convers. Manag. 2019, 200, 112081. [Google Scholar] [CrossRef] [Scilit]
  4. Bellocchi, S.; Colbertaldo, P.; Manno, M.; Nastasi, B. Assessing the effectiveness of hydrogen pathways: A techno-economic optimisation within an integrated energy system. Energy 2023, 263, 126017. [Google Scholar] [CrossRef] [Scilit]
  5. Wang, J.; An, Q.; Zhao, Y.; Pan, G.; Song, J.; Hu, Q.; Tan, C.-W. Role of electrolytic hydrogen in smart city decarbonization in China. Appl. Energy 2023, 336, 120699. [Google Scholar] [CrossRef] [Scilit]
  6. Hesel, P.; Braun, S.; Zimmermann, F.; Fichtner, W. Integrated modelling of European electricity and hydrogen markets. Appl. Energy 2022, 328, 120162. [Google Scholar] [CrossRef] [Scilit]
  7. Chen, J.J.; Qi, B.X.; Rong, Z.K.; Peng, K.; Zhao, Y.L.; Zhang, X.H. Multi-energy coordinated microgrid scheduling with integrated demand response for flexibility improvement. Energy 2021, 217, 119387. [Google Scholar] [CrossRef] [Scilit]
  8. Oskouei, M.Z.; Mehrjerdi, H. Optimal allocation of power-to-hydrogen units in regional power grids for green hydrogen trading: Opportunities and barriers. J. Clean. Prod. 2022, 358, 131937. [Google Scholar] [CrossRef] [Scilit]
  9. Wang, C.; Chen, S.; Zhao, J.; Zhou, Y.; Wei, Z.; Zheng, S. Coordinated scheduling of integrated electricity, heat, and hydrogen systems considering energy storage in heat and hydrogen pipelines. J. Energy Storage 2024, 85, 111034. [Google Scholar] [CrossRef] [Scilit]
  10. Pan, G.; Gu, W.; Qiu, H.; Lu, Y.; Zhou, S.; Wu, Z. Bi-level mixed-integer planning for electricity-hydrogen integrated energy system considering levelized cost of hydrogen. Appl. Energy 2020, 270, 115176. [Google Scholar] [CrossRef] [Scilit]
  11. Zhang, X.; Bai, Y.; Zhang, Y. Collaborative optimization for a multi-energy system considering carbon capture system and power to gas technology. Sustain. Energy Technol. Assess. 2022, 49, 101765. [Google Scholar] [CrossRef] [Scilit]
  12. He, J.M.; Wu, Y.N.; Yong, X.K.; Tan, Q.L.; Liu, F.T. Bi-level optimization of a near-zero-emission integrated energy system considering electricity-hydrogen-gas nexus: A two-stage framework aiming at economic and environmental benefits. Energy Convers. Manag. 2022, 274, 116434. [Google Scholar] [CrossRef] [Scilit]
  13. Ghorbani, B.; Zendehboudi, S.; Afrouzi, Z.A. Multi-objective optimization of an innovative integrated system for production and storage of hydrogen with net-zero carbon emissions. Energy Convers. Manag. 2023, 276, 116506. [Google Scholar] [CrossRef] [Scilit]
  14. Zhang, X.; Zhang, Y. Environment-friendly and economical scheduling optimization for integrated energy system considering power-to-gas technology and carbon capture power plant. J. Clean. Prod. 2020, 276, 123348. [Google Scholar] [CrossRef] [Scilit]
  15. Li, X.; Mulder, M. Value of power-to-gas as a flexibility option in integrated electricity and hydrogen markets. Appl. Energy 2021, 304, 117863. [Google Scholar] [CrossRef] [Scilit]
  16. Ma, Y.; Wang, H.; Hong, F.; Yang, J.; Chen, Z.; Cui, H.; Feng, J. Modeling and optimization of combined heat and power with power-to-gas and carbon capture system in integrated energy system. Energy 2021, 236, 121392. [Google Scholar] [CrossRef] [Scilit]
  17. Wang, J.; Mao, J.; Hao, R.; Li, S.; Bao, G. Multi-energy coupling analysis and optimal scheduling of regional integrated energy system. Energy 2022, 254, 124482. [Google Scholar] [CrossRef] [Scilit]
  18. Lin, J.; Cai, R. Optimal planning for industrial park-integrated energy system with hydrogen energy industry chain. Int. J. Hydrogen Energy 2023, 48, 19046–19059. [Google Scholar] [CrossRef] [Scilit]
  19. Lyu, W.; Cui, Z.; Yuan, M.; Shan, E. Cooperation for trans-regional electricity trading from the perspective of carbon quota: A cooperative game approach. Int. J. Electr. Power Energy Syst. 2024, 156, 109773. [Google Scholar] [CrossRef] [Scilit]
  20. Ma, T.; Pei, W.; Deng, W.; Xiao, H.; Yang, Y.; Tang, C. A Nash bargaining-based cooperative planning and operation method for wind-hydrogen-heat multi-agent energy system. Energy 2022, 239, 122435. [Google Scholar] [CrossRef] [Scilit]
  21. Wang, X.; Zhao, H.; Lu, H.; Zhang, Y.; Wang, Y.; Wang, J. Decentralized coordinated operation model of VPP and P2H systems based on stochastic-bargaining game considering multiple uncertainties and carbon cost. Appl. Energy 2022, 312, 118750. [Google Scholar] [CrossRef] [Scilit]
  22. Chen, J.; Tang, Z.; Huang, Y.; Qiao, A.; Liu, J. Asymmetric Nash bargaining-based cooperative energy trading of multi-park integrated energy system under carbon trading mechanism. Electr. Power Syst. Res. 2024, 228, 110033. [Google Scholar] [CrossRef] [Scilit]
  23. Wang, Z.; Hou, H.; Zhao, B.; Zhang, L.; Shi, Y.; Xie, C. Risk-averse stochastic capacity planning and P2P trading collaborative optimization for multi-energy microgrids considering carbon emission limitations: An asymmetric Nash bargaining approach. Appl. Energy 2024, 357, 122505. [Google Scholar] [CrossRef] [Scilit]
  24. Wang, Y.; Liu, Z.; Cai, C.; Xue, L.; Ma, Y.; Shen, H.; Chen, X.; Liu, L. Research on the optimization method of integrated energy system operation with multi-subject game. Energy 2022, 245, 123305. [Google Scholar] [CrossRef] [Scilit]
  25. Fan, S.L.; Ai, Q.; Piao, L.J. Bargaining-based cooperative energy trading for distribution company and demand response. Appl. Energy 2018, 226, 469–482. [Google Scholar] [CrossRef] [Scilit]
  26. Ma, B.; Geng, S.P.; Tan, C.X.; Niu, D.X.; He, Z.J. Game Analysis of Wind Storage Joint Ventures Participation in Power Market Based on a Double-Layer Stochastic Optimization Model. Processes 2019, 7, 896. [Google Scholar] [CrossRef] [Scilit]
  27. Bo, Y.; Xia, Y.; Wei, W.; Li, Z.; Zhou, Y. Peer-to-peer electricity-hydrogen energy trading for multi-microgrids based on purification sharing mechanism. Int. J. Electr. Power Energy Syst. 2023, 150, 109113. [Google Scholar] [CrossRef] [Scilit]
  28. Wang, H.; Huang, J. Incentivizing Energy Trading for Interconnected Microgrids. IEEE Trans. Smart Grid 2018, 9, 2647–2657. [Google Scholar] [CrossRef] [Scilit]
  29. Chen, W.; Wang, J.; Yu, G.; Chen, J.; Hu, Y. Research on day-ahead transactions between multi-microgrid based on cooperative game model. Appl. Energy 2022, 316, 119106. [Google Scholar] [CrossRef] [Scilit]
  30. Chen, Y.; Pei, W.; Ma, T.; Xiao, H. Asymmetric Nash bargaining model for peer-to-peer energy transactions combined with shared energy storage. Energy 2023, 278, 127980. [Google Scholar] [CrossRef] [Scilit]
  31. Zheng, W.; Lu, H.; Zhu, J. Incentivizing cooperative electricity-heat operation: A distributed asymmetric Nash bargaining mechanism. Energy 2023, 280, 128041. [Google Scholar] [CrossRef] [Scilit]
  32. Wu, Z.; Zhou, M.; Wang, J.; Du, E.; Zhang, N.; Li, G. Profit-Sharing Mechanism for Aggregation of Wind Farms and Concentrating Solar Power. IEEE Trans. Sustain. Energy 2020, 11, 2606–2616. [Google Scholar] [CrossRef] [Scilit]
  33. Zhao, B.; Cao, X.; Duan, P. Cooperative operation of multiple low-carbon microgrids: An optimization study addressing gaming fraud and multiple uncertainties. Energy 2024, 297, 131257. [Google Scholar] [CrossRef] [Scilit]
  34. Zhao, J.; Gao, Z.; Chen, Z. Energy Management of Electric–Hydrogen Coupled Integrated Energy System Based on Improved Proximal Policy Optimization Algorithm. Energies 2025, 18, 3925. [Google Scholar] [CrossRef] [Scilit]
  35. Li, X.; Wang, B.; Pan, D.; Yu, X.; Che, Y.; Lei, Q.; Yang, L.; Wang, B.; Lu, H. Optimization of Integrated Energy System Considering Electricity and Hydrogen Coordination in the Context of Carbon Trading. Processes 2024, 12, 873. [Google Scholar] [CrossRef] [Scilit]
  36. Zhu, Y.; Niu, S.; Dai, G.; Li, Y.; Wang, L.; Jia, R. Optimal Economic Dispatch of Hydrogen Storage-Based Integrated Energy System with Electricity and Heat. Sustainability 2025, 17, 1974. [Google Scholar] [CrossRef] [Scilit]
  37. Li, J.; Huang, Q.; Zhang, N.; Han, R.; Liu, G. Research on Portfolio Strategies for Low-Carbon Transition Pathways in Electricity-Heat Nexus Systems Incorporating Multi-Device Integrated Systems. Energies 2025, 18, 4531. [Google Scholar] [CrossRef] [Scilit]
  38. Tan, Q.; Ding, Y.; Zheng, J.; Dai, M.; Zhang, Y. The effects of carbon emissions trading and renewable portfolio standards on the integrated wind–photovoltaic–thermal power-dispatching system: Real case studies in China. Energy 2021, 222, 119927. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.