Next Article in Journal
Federated Learning and Neural Circuit Policies: A Novel Framework for Anomaly Detection in Energy-Intensive Machinery
Next Article in Special Issue
A Method for Restoring Power Supply to Distribution Networks Considering the Coordination of Multiple Resources Under Typhoon-Induced Waterlogging Disasters
Previous Article in Journal
Investigation of Water-in-Diesel Emulsion Behavior Formulated for Performance Conditions in a Single-Cylinder Diesel Engine
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Energy Trading Strategies for Integrated Energy Systems Considering Uncertainty

1
Key Laboratory of Energy Digitalization, College of Electrical Engineering and Automation, Fuzhou University, Fuzhou 350108, China
2
Department of Electrical Engineering, Yuan Ze University, Taoyuan 32003, Taiwan
*
Author to whom correspondence should be addressed.
Energies 2025, 18(4), 935; https://doi.org/10.3390/en18040935
Submission received: 16 January 2025 / Revised: 7 February 2025 / Accepted: 12 February 2025 / Published: 15 February 2025

Abstract

:
To improve the stable operation and promote the energy sharing of the integrated energy system (IES), a comprehensive energy trading strategy considering uncertainty is proposed. Firstly, an IES model incorporating power-to-gas (P2G) and a carbon capture system (CCS) is established to reduce carbon emissions. Secondly, this model is integrated into a four-level robust optimization to address the fluctuation of renewable energy sources in IES operations. This not only considers probability distribution scenarios of renewable energy and the uncertainty of its output, but also effectively reduces the model’s conservatism by constructing a multi-interval uncertainty set. On this basis, a Nash–Harsanyi bargaining method is used to solve the issue of benefit allocation among multiple IESs. Finally, the energy trading model is solved using a distributed algorithm that ensures an equitable distribution of benefits while protecting the privacy of each IES. The simulation results validate the effectiveness of the proposed strategy.

1. Introduction

As traditional fossil fuel resources gradually deplete and environmental pollution worsens, the global energy system faces unprecedented challenges. This makes the energy transition a vital pathway to achieving sustainable development [1]. To address the growing global demand for green energy, further rapid advancements in related technologies are necessary [2]. Against this backdrop, integrated energy systems (IESs) provide an effective approach to optimizing energy resource allocation and improving energy efficiency through the coordination of power generation, energy storage, and load management [3,4].
Currently, several scholars have investigated the optimal operation of IESs. In [5], the optimal capacity configuration of an IES was determined by considering its economic performance. In [6], an IES planning scheme was proposed to improve the utilization of renewable energy. In [7], power-to-gas (P2G) technology was adopted to reduce the gas purchasing costs of IESs. In [8], a deep learning approach was employed to address the nonlinear optimization problem in IES energy management. In [9], the operating cost of an IES was reduced by proposing a multi-objective weight optimization method.
Refs. [5,6,7,8,9] primarily focused on optimizing the operation of a single IES, neglecting the collaborative and complementary interactions among IESs. In practice, multiple IESs within the same region are interconnected through networks to facilitate energy trading. However, each IES operates independently, leading to challenges in benefit distribution. To address this issue, many scholars have employed Nash bargaining methods to balance conflicts of interest among subjects, thereby enhancing the overall operational efficiency of the system. In [10], the Nash bargaining method was employed to address the benefit distribution issue between an IES and users. In [11], an asymmetric Nash bargaining approach was adopted to reduce the operating costs of each IES. In [12], a Nash bargaining model was developed for electricity trading among multiple IESs to reduce carbon emissions. In [13], the benefits of an IES were improved by using the Nash bargaining method. In [14], the energy utilization efficiency of each IES was improved by using the Nash bargaining method.
Although [10,11,12,13,14] employed the Nash bargaining method to ensure an equitable distribution of benefits among IESs, they overlooked the impact of renewable energy uncertainty on the stable operation of IESs. To address such uncertainty issues, stochastic programming and robust optimization are commonly used methods. Refs. [15,16] adopted stochastic programming to mitigate the impact of uncertainties in IES operations. However, using a large number of sampled scenarios significantly increases the optimization time. In contrast, robust optimization seeks a set of solutions based on the fluctuation range of uncertain variables. In [17], a robust optimization method was used to reduce the impact of renewable energy. Both [18,19] utilized a two-stage robust optimization to address uncertainty issues in IES energy trading. However, their optimization results were overly conservative, leading to excessively high operational costs for the system.
Table 1 summarizes the main characteristics of the above references. Therefore, the following content can be considered as research gaps in the existing literature. (1) There is a large body of research on energy trading strategies for IESs. However, most of the studies primarily use the Nash bargaining method, which fails to measure the bargaining power of individual agents. (2) Regarding the uncertainty issues in integrated energy systems, previous studies mostly use the stochastic programming or two-stage robust optimization to address the uncertainty in IES operation optimization, which suffers from high solution difficulty and excessive conservatism. To address these issues, this paper proposes a energy trading strategy for IESs that accounts for uncertainty, aiming to reduce the operating cost of each subject. The specific contributions are as follows:
(1)
A four-level robust optimization model is developed for the IES to improve the stability of system’s operation. This model comprehensively considers the probability distribution scenarios of renewable energy and the uncertainty of its output, while employing multiple interval uncertainty sets to ensure that the scheduling results are closer to actual conditions.
(2)
A column-and-constraint generation (C&CG) algorithm based on an alternating iteration strategy (AIS) is proposed to address the issue of excessive iterations due to the nonlinear terms in the subproblems. This method effectively reduces the number of iterations and ensures efficient problem-solving.
(3)
The Nash–Harsanyi method is used to resolve the issue of benefit allocation among multiple IESs. This method considers the bargaining power of each IES, effectively encouraging active participation in energy cooperation.
The rest of this paper is organized as follows. Section 2 introduces the energy trading framework and system model. A four-level robust optimization model is formulated in Section 3. Section 4 proposes the cooperative strategy. Section 5 discusses the experimental results, and the conclusion is given in Section 6.

2. System Model

This paper presents an IoT-based architecture for energy sharing across multiple IESs, as shown in Figure 1. Each IES has an independent energy trading port and exchanges information via these ports using wireless communication technology to fully protect individual privacy. In the diagram, lines of different colors represent various types of energy, illustrating how each IES can share electrical and heat energies with others, thereby enhancing the system’s flexibility and ensuring a reliable supply–demand balance. Additionally, according to [20], it is assumed that the core components of each IES include combined heat and power (CHP), gas boiler (GB), heat pump (HP), wind turbine (WT), photovoltaic (PV), energy storage, P2G, and carbon capture storage (CCS). The energy storage can store both electrical and heat energies, improving the system’s flexibility in adapting to load fluctuations. The CCS can capture CO 2 emissions from CHP and use them in P2G, thereby reducing reliance on external natural gas. This model not only significantly improves the system’s efficiency and economy but also considers the goal of low-carbon development.

2.1. Model Constraints

(1)
CHP model.
The constraints for CHP are as follows:
P t CHP = η 1 P t CHP , g H t CHP = η 2 P t CHP , g 0 P t CHP P max CHP 0 H t CHP H max CHP
where η 1 , η 2 are the energy efficiency. P max CHP and H max CHP are the upper limits of the energy output. P t CHP , g is the natural gas power consumed at period t. P t CHP and H t CHP are the electrical energy and heat energy outputs at period t, respectively.
(2)
GB model.
The constraints for GB are as follows:
H t GB = η 3 P t GB , g 0 H t GB H max GB
where η 3 is the energy efficiency. P t GB , g is the natural gas power consumed at period t. H max GB is the upper limit of heat energy output. H t GB is the heat energy output at period t
(3)
HP model.
The constraints for HP are as follows:
H t HP = η 4 P t HP 0 H t HP H max HP
where H t HP and P t HP are the heat/electrical energy output/consumed at period t. η 4 is the energy efficiency. H max HP is the upper limit of heat energy output.
(4)
Energy trading with the grid model.
0 P t buy u t buy P max buy 0 P t sell u t sell P max sell u t buy + u t sell 1
where P max buy , P max sell are the upper limits of electrical energy traded with the grid, respectively. u t buy and u t sell are binary state variables at period t. P t buy and P t sell are the purchases and sales of electrical energy at period t, respectively.
(5)
Energy storage model.
0 P t dis u t e , dis P max 0 P t ch u t e , ch P max E t e = E t 1 h + η e , ch P t ch P t dis / η e , dis u t e , ch + u t e , dis 1
0 H t dis u t h , dis H max 0 H t ch u t h , ch H max E t h = E t 1 h + η h , ch H t ch H t dis / η h dis u t h , ch + u t h , dis 1
where P max , H max are the upper limits of charging and discharging power. η e , ch , η e , dis , η h , ch , η h , dis are the efficiency. E t e and E t h are the capacity at period t. u t e , ch , u t e , dis , u t h , ch , u t h , dis are binary state variables at period t. P t ch , P t dis , H t ch , H t dis are the charging and discharging power of the energy storage at period t, respectively.
(6)
CCS and P2G model
The constraints for a CCS and P2G are as follows:
P t CCS = η CCS C t CCS , G t C H 4 = η P 2 G P t P 2 G H g , C t CCS = λ CO 2 P t P 2 G , 0 P t CCS P max CCS , 0 P t P 2 G P max P 2 G
where P t CCS and P t P 2 G are the electrical energy consumed by a CCS and P2G at period t, respectively. C t CCS is CO 2 captured by CCS at period t. η CCS , η P 2 G , and λ CO 2 are the efficiency. G t CH 4 is CH 4 produced at period t. P max CCS and P max P 2 G are the upper limits of electrical energy consumed by a CCS and P22G at period t, respectively.
(7)
Power balance constraint
The constraints for power balance are as follows:
P t CHP + P t WT + P t PV + P t ch + P t buy = P t load + P t dis + P t sell + P t CCS + P t P 2 G + P i j , t H t CHP + H t GB + H t HP + H t dis = H t load + H t ch + H i j , t
where P t WT and P t PV are the WT and PV power at period t, respectively. P i j , t and H i j , t are the energy trading volumes among IESs at period t.

2.2. Objective Function

For a single IES, the objective function is to minimize the operating cost C obj . It includes the equipment start-up and shutdown costs C 1 , electricity purchase and sale cost C 2 , natural gas purchase cost C 3 , and energy storage operation cost C 4 as follows:
C obj = min ( C 1 + C 2 + C 3 + C 4 )
C 1 = t = 1 T g ( u t e , ch + u t e , dis + u t h , ch + u t h , dis ) , C 2 = t = 1 T r t buy P t buy r t sell P t sell , C 3 = t = 1 T c gas · ( G t CHP + G t GB G t C H 4 ) C 4 = t = 1 T ξ e · P t ch + P t dis + ξ h · H t ch + H t dis
where g and c gas are the prices of energy storage behavior and natural gas. r t sell , r t buy are the prices of the grid. ξ e and ξ h are the prices of the energy storage operation.

3. Development and Solution of Four-Level Robust Optimization Model

This section introduces a multi-interval uncertainty set to describe the fluctuation of renewable energy. To address this uncertainty, a four-level robust optimization model for IES is established.

3.1. Construction of Uncertainty Set

The traditional uncertainty set is shown as follows:
U = u w = P t WT , P t PV R ( T ) × 2 u t w = u t w , * + u t w , + ε t w , + u t w , ε t w , ε t w , + + ε w , t w , 1 , t = 1 T ( ε t w , + + ε t w , + ) Γ w
where ε t w , + and ε t w , are binary state variables. Γ w is the robustness budget.
From (11), it is evident that the uncertainty of renewable energy always appears at the boundaries of the interval, which does not align with the actual situation. To reduce conservatism, this paper employs a multi-interval uncertainty set to describe the fluctuation range of renewable energy, as detailed below:
U = u w = P t WT , P t PV R ( T ) × 2 , u t w = u t w , * + a = 1 N a u t w , a + ε t w , a + u t w , a ε t w , a , 0 ε t w , a ± 1 , 0 a = 1 N a ε t w , a + + ε t w , a 1 , t = 1 T ε t w , a + + ε t w , a Γ w , t = 1 T a = 1 N a ε t w , a + = t = 1 T a = 1 N a ε t w , a , Λ t = 1 T a = 1 N a u t w , a + ε t w , a + u t w , a ε t w , a t = 1 T u t w , * Λ , Γ w + 1 , a Γ w , a = P w + 1 , a P w , a
From (12), it is evident that the entire single interval is divided into N a multiple intervals. Within any given period t, the uncertainty can only exhibit one deviation value within these N a intervals. Notably, the multi-interval uncertainty set proposed in this paper differs from that in [21] by taking distributional balance into account. It ensures that the sum of positive deviations is equal to the sum of negative deviations over the entire scheduling period, and that the total deviation is constrained within [ Λ , Λ ].
To avoid extreme cases of the uncertainty set, this paper establishes an uncertainty set based on the initial probability distribution, using a combined norm that includes both 1-norm and ∞-norm as constraints to restrict the deviation of probability. The details are as follows:
Ω = p s p s 0 , s = 1 , 2 , N s s = 1 N s p s = 1 s = 1 N s p s p s , 0 θ 1 max 1 s N s p s p s , 0 θ
where p s and p s , 0 are the probability distribution values of the actual scenario and the initial scenario, respectively. θ 1 and θ represent the allowable deviations for the 1-norm and θ -norm probabilities, respectively.

3.2. Four-Level Robust Model

Based on the uncertainty sets described above, the four-level robust optimization model for the IES is formulated as follows:
min x C 1 + max p s Ω max u U min y Π x , p , u s = 1 N s p s C 2 + C 3 + C 4 s . t 1 - 8 , 12 - 13
For ease of description, (14) can be expressed as follows:
min x c T x + max p s Ω max u U min y Π x , y , u s = 1 N s p s d T y s t . Bx + Cy f Π x , δ , u = y Dx + Ey g K u Ω = p s F p s h , U = u Gu k , x 0 , 1
where x and y are decision vectors. B , C , D , E , F , G , f , g , k , d are constant coefficients matrices.

3.3. Solution Method

The C&CG algorithm is utilized in this paper to decompose (15) into a master problem and a subproblem, which are solved iteratively to ensure convergence accuracy. The detailed solution steps are as follows:
(1)
Master problem
The master problem determines the operational states of IES devices based on the worst-case scenarios transmitted from the subproblem, as detailed below:
min x c T x + η s t . Bx + Cy f , Dx + E y l g K u l η s = 1 N s p s * d T y l , η 0 , x 0 , 1 , 1 l L
where η is an auxiliary variable.
(2)
Subproblem
The subproblem aims to identify the worst-case scenario and pass it to the master problem, as detailed below:
max p s Ω max u U min y Π x , δ , u k = 1 N s p s d T y s t . D x * + Fy g K u , F p k g , Gu k
Notably, the subproblem contains two continuous variables, which makes solving the problem more challenging if computed simultaneously. To address this, it is divided into two separate subproblems, solved through the AIS algorithm. The specific details are as follows:
(a)
p s -fixed bi-lever subproblem (SP1)
S P 1 : max u U min y Π x , δ , u k = 1 K p s * d T y s t . D x * + Fy g K u , Gu k
Since the model is linear, the Karush–Kuhn–Tucker (KKT) conditions can be used to convert it into a single-level model as follows:
max u U , y Π x , p , u s = 1 N s p s * d T y s t . D x * + Fy g Ku 0 Gu k ξ T D + p s * d T = 0 , 0 ξ M 1 δ M δ g Ku D x * Ey
where ξ is a dual variable corresponding to the constraints. M is introduced as a very large positive number. δ is a binary variable.
By solving (19), the optimal solution of SP1 can be determined.
(b)
u-fixed bi-level subproblem (SP2):
max p s Ω min y Π x , p , u s = 1 N s p s d T y s t . D x * + Ey g Ku , E p s g
Although the objective function contains a nonlinear term involving the product of p s and y, SP2 does not require transformation using the KKT conditions. Since p s and y are independent, SP2 can be split into distinct independent linear programming problems.
l s * = min d T y s , s = 1 , N s s t . E p s g
The solving process of the four-level robust model is shown in Figure 2. Firstly, establish a multi-interval uncertainty set. Then, the outer loop utilizes the C&CG algorithm to optimize decision variables and passes them to the inner loop. Finally, the inner loop applies the AIS algorithm to iteratively determine and relay worst-case scenarios along with renewable energy probabilities back to the outer loop.

4. Establishment and Solution of Cooperative Model

In this paper, it is assumed that each IES is an independent subject that wishes to maximize its benefits through cooperation. However, in the process of cooperation, various factors affect the bargaining power of each subject. Therefore, the Nash–Harsanyi bargaining model is established to ensure an equitable distribution of benefits among IESs.

4.1. Model Establishment

Generally, the structure of the Nash–Harsanyi bargaining model is as follows:
max i = 1 I ( C i 0 C i ) T P i s . t C i 0 C i
where C i 0 and C i are the costs before and after cooperation, respectively. T P i is the bargaining power.

4.2. Equivalent Model

Equation (22) is a non-linear optimization problem. To solve it, we need to carry out an equivalent transformation. The specific method is to decompose it into two subproblems and solve them step-by-step. The two subproblems are represented as follows:
P1: Cost optimization subproblem.
i = 1 I C i IES s . t . P min P i j , t P max , H min H i j , t H max , ( 1 ) ( 8 ) , ( 12 ) ( 13 )
where P min , P max , H min , and H max are upper and lower limits of energy trading. When multiple energy tradings are considered, the operating cost of each IES C i IES is as follows:
C i IES = min ( C i 1 + C i 2 + C i 3 + C i 4 C i 5 )
C i 5 = i = 1 I j I i I t = 1 T r i j , t e P i j , t + r i j , t h H i j , t
where C i 5 is the cost of energy trading. r i j , t e and r i j , t h are energy negotiation prices at period t, respectively.
P2: The payment subproblem.
max i = 1 I C i 0 C i IES + C i trade TP i s . t . r min e r i j , t e r max e , r min h r i j , t h r max h , C i 0 C i IES + C i trade
where r min e , r max e , r min h , and r max h are upper and lower limits of energy trading negotiation price. C i IES is the optimal solution obtained in P1.
In (26), the bargaining power of each IES is quantified based on two factors: the marginal contribution rate and the energy trading contribution rate.
(1)
Marginal contribution rate:
S i 1 = C i 0 C i IES C i IES × 100 %
(2)
Energy trading contribution rate:
S i 2 = 1 2 · P i p 2 p i I P i p 2 p + H i p 2 p i I H i p 2 p × 100 %
where P i p 2 p and H i p 2 p are energy trading volumes.
Considering the two factors mentioned above, the total score for each participant can be obtained as follows:
S i = λ 1 S i 1 + λ 2 S i 2
In (29), λ 1 and λ 2 represent the weights of IES in reflecting the bargaining power, and they satisfy λ 1 + λ 2 = 1. By normalizing the above equation, the T P i of each participant can be obtained.
T P i = S i i I S i

4.3. Model Solution Method

In order to protect the privacy of each IES, this paper uses the alternating direction method with multipliers (ADMM) algorithm to solve the model. First, (31) is introduced for decoupling:
P t , i j + P t , j i = 0 , H t , i j + H t , j i = 0
Therefore, the augmented Lagrange function of P1 can be represented as follows:
L i = i = 1 N C i IES + i = 1 I j I { i } I t = 1 T λ t , i j e ( P t , i j + P t , j i ) + λ t , i j h ( H t , i j + H t , j i ) + i = 1 I j I { i } I t = 1 T ρ e 2 P t , i j + P t , j i 2 2 + ρ h 2 H t , i j + H t , j i 2 2
where λ t , i j e and λ t , i j e are Lagrange multipliers. ρ e and ρ h are penalty factors.
According to the ADMM algorithm, the distributed optimization model of IESi is expressed as follows:
min x C 1 + C 5 + i = 1 I j = I { i } I t = 1 T λ t e , i j P t , i j + P t , j i + λ t h , i j H t , i j + H t , j i + i = 1 I j = I { i } I t = 1 T ρ e 2 P t , i j + P t , j i 2 2 + ρ h 2 H t , i j + H t , j i 2 2 max Ω max U min y C 2 + C 3 + C 4 s . t . 1 8 , 12 13
By solving P1, substitute its optimal solution into P2 and solve. Then, introduce (34) to decouple P2:
r t , i j e r t , j i e = 0 , r t , i j h r t , j i h = 0
Therefore, the augmented Lagrange function of P2 can be represented as follows:
L i 2 = max i = 1 I C i 0 C i IES + C i 5 T P i + i = 1 I j = I { i } I t = 1 T ζ t , i j e r t , i j e r t , j i e + ζ t , i j h r t , i j h r t , j i h + i = 1 I j = I { i } I t = 1 T τ e 2 r t , i j e r t , j i e 2 2 + τ h 2 r t , i j h r t , j i h 2 2
where ζ t , i j e and ζ t , i j e are Lagrange multipliers. τ e and τ h are penalty factors.
Similarly, the distributed optimization model of IESi is given as follows:
max i = 1 I C i 0 C i IES + C i 5 T P i + i = 1 I j = I { i } I t = 1 T ζ t , i j e r t , i j e r t , j i e + ζ t , i j h r t , i j h r t , j i h + i = 1 I j = I { i } I t = 1 T τ e 2 r t , i j e r t , j i e 2 2 + τ h 2 r t , i j h r t , j i h 2 2 s . t . C i 0 C i IES C i trade
The process of solving P1 and P2 using an the ADMM algorithm is shown in Appendix A.
In summary, the solution processes of the proposed strategy in this paper are presented in Figure 3. First, the C&CG-AIS algorithm is used to solve the four-level robust model of each IES. Then, the ADMM algorithm is employed to solve SP1. Once P1 meets the convergence criteria, the optimal transaction volume is transferred to P2, which then determines the optimal negotiation price for each IES.

5. Case Study

This section demonstrates the effectiveness of the proposed strategy through simulation.

5.1. Test System Description

Three typical IESs are used as examples to validate the proposed strategy through simulation analysis over a 24-h scheduling period. According to historical data, all IESs have a renewable energy output; the deviation ranges of WT and PV are defined as 10%, 15%, and 20%, respectively [22]. Additional parameter details are provided in Table 2.

5.2. Algorithm Convergence Analysis

The convergence process of P1 and P2 for each IES is illustrated in Figure 4 and Figure 5.
Figure 4 shows that convergence is achieved after the 9th iteration in P1, while Figure 5 indicates convergence after the 8th iteration in P2. These results demonstrate that the proposed solution method ensures rapid model convergence.

5.3. Optimization Results of Nash Bargaining

The proposed energy trading strategy requires determining the trading volumes and prices among IESs. The electrical and heat energy trading among the IESs are shown in Figure 6 and Figure 7.
From Figure 6, it can be observed that during the periods of t = 00:00–08:00 and 18:00–23:00, when PV generation is absent, IES2 faces a shortage of electrical energy. During these periods, IES1, with sufficient WT energy, supplies electricity to IES2. Conversely, during the period of t = 09:00–17:00, IES2’s PV power output exceeds its demand, leading IES2 to sell surplus electricity to IES1. From Figure 7, it can be observed that during the period of t = 03:00–18:00, IES2 experiences high load demand. Hence, IES2 purchases heat energy from IES1 and IES3 to meet the load requirements. In summary, the three distinct IESs actively engage in electrical and heat energy trading, achieving multi-energy complementarity and reducing their operating costs.
The negotiated prices of electrical and heat energies for each IESs are presented in Figure 8 and Figure 9. As shown in Figure 8, the optimal transaction prices are determined through Nash–Harsanyi, with electrical energy prices falling between the grid’s purchasing and selling prices. This allows the IESs to sell electrical energy to other IESs at higher purchasing prices than that of the grid and to buy electrical energy from other IESs at lower selling prices than that of the grid, effectively reducing operational costs. Similarly, Figure 9 shows that the heat energy transaction prices also fall into the upper and lower limits.
Figure 10 and Figure 11 present the optimized energy balance results for IES1. Regarding the electrical energy balance, IES1 reduces its electricity purchases and increases the CHP generation during the high electric price period. The electrical energy storage is primarily charged during t = 07:00–09:00 and discharged during t = 17:00–20:00. Regarding the heat energy balance, it is mainly generated by CHP, GB. The output of HP and heat energy storage is reduced to lower operating costs. Other IESs exhibit similar results and are not described in detail here.

5.4. Benefit and Cost Analysis

Table 3 illustrates that the proposed method can improve benefits for all subjects involved and distribute them reasonably. Table 4 shows that the distribution of benefits varies with different methods. The Nash bargaining method aims to balance profit distribution based on equal contributions from each subject, but this is difficult to fully achieve in practice. The Shapley value method focuses solely on the marginal contributions of operators, without sufficiently considering other influencing factors. In contrast, the method proposed in this paper integrates multiple factors to achieve an equitable distribution of benefits, thereby promoting energy trading among the participants.

5.5. Uncertainty Analysis

To evaluate the effectiveness of the proposed uncertainty method, a comparison of the following three cases is conducted:
Case 1: Traditional two-stage RO model with the uncertainty set shown in (11).
Case 2: Four-level RO model without considering balance, which is proposed in [21].
Case 3: Four-level RO model considering balance, which is proposed in this paper.
Figure 12 and Figure 13 present the optimization results of WT and PV for IES1 and IES2 under the three cases, respectively. In Case 1, the WT and PV output is observed to be located at the boundaries of the interval, indicating that the optimization result under this case is the most conservative. In Case 2, the conservatism of optimization results is reduced, but due to the lack of consideration for balance, the uncertainty decisions always occur in either downward or upward trend situations. In contrast, the optimization results in Case 3 can be distributed more evenly across all intervals, resulting in the lowest level of conservatism. Overall, by constructing uncertainty sets through dividing multiple intervals, scenarios with low probability can be reduced to better approximate actual conditions, thus aligning more closely with reality.
As shown in Figure 14, taking WT as an example, the operational costs of IES1 under different cases with uncertainty budgets are compared. When the uncertainty budget is set to 12, the total costs are 2901.19 USD for Case 1, 2764.32 USD for Case 2, and 2704.22 USD for Case 3, respectively. Among them, Case 3 achieves the lowest cost under the same uncertainty budget. Additionally, as the uncertainty budget increases, the model’s uncertainty gradually increases, leading to higher operational costs for the IES. Therefore, IES operators can set an appropriate uncertainty budget to adjust their operational strategy.
In addition, the comparison of the speed of different algorithms in solving the four-level robust model of IES1 is shown in Table 5. When directly applying the C&CG algorithm, the four-level robust model can be converted to a min-max-min model, but because the four-level robust model’s subproblem is nonlinear, Baron is used to solve it. According to Table 5, when Baron is used with the Gap set to zero, it fails to obtain the best solution in a reasonable time. When using the default gap setting, the solution time is 4351.19 s, with a cost of 2618.8 USD. However, when using the C&CG-AIS algorithm, it takes just 56.38 s. The C&CG-AIS algorithm further divides the original subproblem into two subproblems, greatly improving the solution’s efficiency.

6. Conclusions

This paper presents an energy trading strategy for IESs. Firstly, a model incorporating P2G and CCS technologies is established to facilitate the low-carbon operation of the system. Secondly, a four-level robust optimization model is developed to reduce the impact of renewable energy uncertainty. To address the issue of benefit allocation among multiple IESs, the Nash–Harsanyi approach is used and decomposes the original problem into two subproblems. In P2, the bargaining power of each IES is quantified using marginal contribution and energy contribution, enabling a fair allocation of benefits. Finally, the model is solved using the ADMM algorithm to achieve fast convergence.
It is worth noting that the impact of changes in socio-economics, load, market electricity prices, and environmental competition also have a significant impact on energy trading. Additionally, IESs involve not only electrical and heat energies but also other forms of energy, such as hydrogen. These factors will be comprehensively considered in future research to develop more stable energy trading strategies.

Author Contributions

Writing—review and editing, J.G.; Writing—original draft, J.G. and F.C.; Methodology, J.G.; Formal analysis, J.G. and F.C.; Supervision, Z.S.; Conceptualization, Z.S.; Data curation, J.G. and F.C.; Validation, M.L.; Investigation, M.L. 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 under Grant 52107080.

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

Taking P1 as an example, the solution process is as follows:
Step (1): Initialization of parameters.
Step (2): Receive P i j , t , s 1 and H i j , t , s 1 from other IESs of each IES. Then, update its trading strategy P i j , t , s 1 + 1 and H i j , t , s 1 + 1 after the calculation of iteration s 1 and output P i j , t , s 1 + 1 and H i j , t , s 1 + 1 to other IESs.
Step (3): Update Lagrange multiplier:
λ 12 , t , s 1 + 1 e = λ 12 , t , s 1 e + ρ e P 12 , t , s 1 + 1 + P 21 , t , s 1 + 1 λ 13 , t , s 1 + 1 e = λ 13 , t , s 1 e + ρ e P 13 , t , s 1 + 1 + P 31 , t , s 1 + 1 λ 23 , t , s 1 + 1 e = λ 23 , t , s 1 e + ρ e P 23 , t , s 1 + 1 + P 32 , t , s 1 + 1 λ 12 , t , s 1 + 1 h = λ 12 , t , s 1 h + ρ h H 12 , t , s 1 + 1 + H 21 , t , s 1 + 1 λ 13 , t , s 1 + 1 h = λ 13 , t , s 1 h + ρ h H 13 , t , s 1 + 1 + H 31 , t , s 1 + 1 λ 23 , t , s 1 + 1 h = λ 23 , t , s 1 h + ρ h H 23 , t , s 1 + 1 + H 32 , t , s 1 + 1
Step (4): Determine the convergence of the algorithm; if it satisfies (A2), the iteration terminates.
s 1 > s 1 max or i = 1 I j I i I t = 1 T P i j , t , s 1 + 1 + P j i , t , s 1 + 1 < δ 1
Step (5): Increment iteration count s 1 by 1, i.e., s 1 = s 1 +1. Go back to Steps (2) and repeat until the convergence criteria are achieved.
The solution process for P2 is similar to that of P1 and is not detailed here.

References

  1. Yang, H.; Chu, Y.; Ma, Y.; Zhang, D. Operation strategy and optimization configuration of hybrid energy storage system for enhancing cycle life. J. Energy Storage 2024, 95, 112560. [Google Scholar] [CrossRef]
  2. Liu, S.; Shen, J.; Zhang, J. A novel configuration optimization approach for IES considering exergy-degradation and non-energy costs of equipment. Energy 2024, 312, 133600. [Google Scholar] [CrossRef]
  3. Chu, X.; Fu, L.; Liu, Q.; Yu, S. Optimal allocation method of oxygen enriched combustion-carbon capture low-carbon integrated energy system considering uncertainty of carbon-source-load. Int. J. Electr. Power Energy Syst. 2024, 162, 110220. [Google Scholar] [CrossRef]
  4. Ghafoor, A.; Aldahmashi, J.; Apsley, J.; Djurović, S.; Ma, X.; Benbouzid, M. Intelligent Integration of Renewable Energy Resources Review: Generation and Grid Level Opportunities and Challenges. Energies 2024, 17, 4399. [Google Scholar] [CrossRef]
  5. Wu, X.; Yang, L.; Zheng, B. Joint capacity configuration and demand response optimization of integrated energy system considering economic and dynamic control performance. Energy 2024, 301, 131723. [Google Scholar] [CrossRef]
  6. Ren, X.Y.; Li, L.L. Optimization and performance analysis of integrated energy systems considering hybrid electro-thermal energy storage. Energy 2024, 2024, 134172. [Google Scholar] [CrossRef]
  7. Wu, M.; Wu, Z.; Shi, Z. Low carbon economic dispatch of integrated energy systems considering utilization of hydrogen and oxygen energy. Int. J. Electr. Power Energy Syst. 2024, 158, 109923. [Google Scholar] [CrossRef]
  8. Dou, J.; Wang, X.; Liu, Z.; Sun, Q.; Wang, X.; He, J. Towards Pareto-optimal energy management in integrated energy systems: A multi-agent and multi-objective deep reinforcement learning approach. Int. J. Electr. Power Energy Syst. 2024, 159, 110022. [Google Scholar] [CrossRef]
  9. Li, J.; Wu, Y.; Ma, S.; Zhang, J.; Sun, X. Multi-objective optimization scheduling of integrated energy systems considering regional time-of-use electricity prices and weight sensitivity. Electr. Power Syst. Res. 2024, 236, 110905. [Google Scholar] [CrossRef]
  10. Zhou, C.; Zheng, C.B. Energy Trading Strategy for Heat and Electricity-Coupled Microgrid Based on Cooperative Game. Appl. Sci. 2022, 12, 6568. [Google Scholar] [CrossRef]
  11. 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]
  12. Zhang, Y.; Wu, Q.; Ren, H.; Li, Q.; Zhou, W. A multi-agent distributed electricity-carbon shared trading strategy considering regional carbon inclusion. Renew. Energy 2024, 239, 122075. [Google Scholar] [CrossRef]
  13. 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]
  14. Xu, D.; Zhou, B.; Liu, N.; Wu, Q.; Voropai, N.; Li, C.; Barakhtenko, E. Peer-to-peer multienergy and communication resource trading for interconnected microgrids. IEEE Trans. Ind. Inform. 2020, 17, 2522–2533. [Google Scholar] [CrossRef]
  15. Wang, L.; Zhang, Y.; Song, W.; Li, Q. Stochastic cooperative bidding strategy for multiple microgrids with peer-to-peer energy trading. IEEE Trans. Ind. Inform. 2021, 18, 1447–1457. [Google Scholar] [CrossRef]
  16. Singh, K.; Gadh, R.; Singh, A.; Dewangan, C.L. Design of an optimal P2P energy trading market model using bilevel stochastic optimization. Appl. Energy 2022, 328, 120193. [Google Scholar] [CrossRef]
  17. Khan, S.S.; Ahmad, S.; Naeem, M. On-grid joint energy management and trading in uncertain environment. Appl. Energy 2023, 330, 120318. [Google Scholar] [CrossRef]
  18. Gao, J.; Shao, Z.; Chen, F.; Chen, Y.; Lin, Y.; Deng, H. Distributed robust operation strategy of multi-microgrid based on peer-to-peer multi-energy trading. Iet Energy Syst. Integr. 2023, 5, 376–392. [Google Scholar] [CrossRef]
  19. Siqin, Z.; Niu, D.; Wang, X.; Zhen, H.; Li, M.; Wang, J. A two-stage distributionally robust optimization model for P2G-CCHP microgrid considering uncertainty and carbon emission. Energy 2022, 260, 124796. [Google Scholar] [CrossRef]
  20. Wang, S.; Wang, S.; Zhao, Q.; Dong, S.; Li, H. Optimal dispatch of integrated energy station considering carbon capture and hydrogen demand. Energy 2023, 269, 126981. [Google Scholar] [CrossRef]
  21. Zhong, J.; Li, Y.; Cao, Y.; Tan, Y.; Peng, Y.; Zhou, Y.; Nakanishi, Y.; Li, Z. Robust coordinated optimization with adaptive uncertainty set for a multi-energy microgrid. IEEE Trans. Sustain. Energy 2022, 14, 111–124. [Google Scholar] [CrossRef]
  22. Gao, J.; Shao, Z.; Chen, F.; Lak, M. Robust optimization for integrated energy systems based on multi-energy trading. Energy 2024, 308, 132302. [Google Scholar] [CrossRef]
Figure 1. The energy trading structure among IESs.
Figure 1. The energy trading structure among IESs.
Energies 18 00935 g001
Figure 2. Four-level robust model-solving process.
Figure 2. Four-level robust model-solving process.
Energies 18 00935 g002
Figure 3. Flowchart of the proposed strategy solution.
Figure 3. Flowchart of the proposed strategy solution.
Energies 18 00935 g003
Figure 4. The iterative convergence result of P1.
Figure 4. The iterative convergence result of P1.
Energies 18 00935 g004
Figure 5. The iterative convergence result of P2.
Figure 5. The iterative convergence result of P2.
Energies 18 00935 g005
Figure 6. Electrical energy trading among IESs.
Figure 6. Electrical energy trading among IESs.
Energies 18 00935 g006
Figure 7. Heat energy trading among IESs.
Figure 7. Heat energy trading among IESs.
Energies 18 00935 g007
Figure 8. The price of electrical energy trading after Nash–Harsanyi.
Figure 8. The price of electrical energy trading after Nash–Harsanyi.
Energies 18 00935 g008
Figure 9. The price of heat energy trading after Nash–Harsanyi.
Figure 9. The price of heat energy trading after Nash–Harsanyi.
Energies 18 00935 g009
Figure 10. The electrical energy balance of IES1.
Figure 10. The electrical energy balance of IES1.
Energies 18 00935 g010
Figure 11. The heat energy balance of IES1.
Figure 11. The heat energy balance of IES1.
Energies 18 00935 g011
Figure 12. The optimization results of WT under different cases.
Figure 12. The optimization results of WT under different cases.
Energies 18 00935 g012
Figure 13. The optimization results of PV under different cases.
Figure 13. The optimization results of PV under different cases.
Energies 18 00935 g013
Figure 14. The optimization results of costs under different cases.
Figure 14. The optimization results of costs under different cases.
Energies 18 00935 g014
Table 1. Comparison of the proposed strategy with related works.
Table 1. Comparison of the proposed strategy with related works.
RefBargaining PowerUncertaintiesProbability Distribution ScenariosPrivacy Protection
[5]××××
[6]××××
[7]×××
[8]××××
[9]××××
[10]×××
[11]××
[12]×××
[13]×××
[14]×××
[15]×××
[16]×××
[17]×××
[18]×
[19]×××
Proposed strategy
Table 2. Specific parameters of IES.
Table 2. Specific parameters of IES.
ParametersValue
η 1 , η 2 0.35, 0.9
η 3 , η 4 0.9, 4.5
ρ e , ρ h 0.01, 0.01
τ e , τ h 100, 100
P max CHP 2500
H max CHP 2500
H max HP 1000
H max GB 2000
c g a s 2.7
ξ e , ξ h 0.4, 0.2
g0.1
η CCS , η P 2 G 0.5, 0.55
Table 3. The distribution of the benefits of the proposed method.
Table 3. The distribution of the benefits of the proposed method.
IES NumberIES1IES2IES3
Cost before cooperation/USD2630.13912.52880.3
Final cost/USD2174.23593.42495.1
Increase value/USD455.9319.1385.2
Table 4. Comparison of benefits of different methods.
Table 4. Comparison of benefits of different methods.
MethodsIESs NumberRevenue/USDIncreased Percentage
Nash solutionIES1303.133.2%
IES2305.233.4%
IES3303.933.3%
Shapley value methodIES1478.241.7%
IES2273.523.9%
IES3394.134.4%
Method of this paperIES1455.939.3%
IES2319.127.5%
IES3385.233.2%
Table 5. Comparison of different methods.
Table 5. Comparison of different methods.
C&CG (Gap = 0)C&CG (Default Gap)C&CG-AIS
SolverBaronBaronGurobi
Solving time/s4351.1956.38
Cost/USD2618.82630.1
Outer/inner loop iterations3/—3/(2;3;2)
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.

Share and Cite

MDPI and ACS Style

Gao, J.; Shao, Z.; Chen, F.; Lak, M. Energy Trading Strategies for Integrated Energy Systems Considering Uncertainty. Energies 2025, 18, 935. https://doi.org/10.3390/en18040935

AMA Style

Gao J, Shao Z, Chen F, Lak M. Energy Trading Strategies for Integrated Energy Systems Considering Uncertainty. Energies. 2025; 18(4):935. https://doi.org/10.3390/en18040935

Chicago/Turabian Style

Gao, Jin, Zhenguo Shao, Feixiong Chen, and Mohammadreza Lak. 2025. "Energy Trading Strategies for Integrated Energy Systems Considering Uncertainty" Energies 18, no. 4: 935. https://doi.org/10.3390/en18040935

APA Style

Gao, J., Shao, Z., Chen, F., & Lak, M. (2025). Energy Trading Strategies for Integrated Energy Systems Considering Uncertainty. Energies, 18(4), 935. https://doi.org/10.3390/en18040935

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop