Next Article in Journal
Stability Criterion for Mass Oscillation in the Surge Tank of a Hydropower Station Considering Velocity Head and Throttle Loss
Previous Article in Journal
Flame Spray Pyrolysis Engineering of Nanosized Mullite-Bi2Fe4O9 and Perovskite-BiFeO3 as Highly Efficient Photocatalysts for O2 Production from H2O Splitting
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Multivariate Load Trading Optimization Method for Energy Internet Based on LSTM and Gaming Theory

1
Beijing Key Laboratory of Demand Side Multi-Energy Carriers Optimization and Interaction Technique, China Electric Power Research Institute, Beijing 100192, China
2
State Grid Corporation of China, Beijing 100031, China
*
Author to whom correspondence should be addressed.
Energies 2021, 14(17), 5246; https://doi.org/10.3390/en14175246
Submission received: 8 April 2021 / Revised: 14 May 2021 / Accepted: 19 May 2021 / Published: 24 August 2021

Abstract

:
Energy Internet is a complex nonlinear system. There are many stakeholders in the load trading market, which is usually regarded as a multi-player gaming. Although gaming theory has been introduced to solve Multivariate Load trading problems, different conditions should be considered to accurately optimize the multivariate load trading problem. For example, the selling side needs to reduce the reserve capacity and improve profits, but the consumer side needs to reduce costs and minimize the impact on its own electricity consumption. These contradictory conditions require multiple Nash equilibrium to achieve obviously. To address this issue, a unified architecture of the power system cloud trading is constructed in this paper, which is combined with the multiple load classification of the power system. In addition, according to the power market operation mechanism, a price-guided multivariate load trading game strategy is designed. More importantly, a multivariate load trading optimization method based on LSTM (Long Short-Term Memory) and gaming theory is proposed in this work. LSTM is introduced for real time prediction, which can be combined with the game theory for strategy searching. The global stability and optimal solution theory prove the feasibility of the proposed neural network, and finally the effectiveness of the proposed method is verified by using numerical simulation.

1. Introduction

With the rapid development of new energy, adjustable load, energy storage, V2G (Vehicle-to-grid) charging station and other heterogeneous flexible resources in power system [1], the deviation between new energy output and load forecasting, the uncertainty of intermittent energy and load operation bring challenges to power system market operation and system regulation and control, and increase the complexity of power system regulation and control, which also provides a new regulation means for the power system. At present, the focus of power market mechanism is the competition and optimization of generation side resources, which is difficult to adapt to the rising proportion of new energy generation and the prominent contradiction of peak load. Compared with traditional generation resources, the regional dispersion of multi demand-side resources, the uncertainty of participation and the difference of mediation characteristics increase the complexity of power system regulation and control. In order to give full play to the regulation ability of interactive resources, power system operators need to improve the operation mechanism of power market, and use price signals to guide and encourage the orderly operation of interactive resources. However, the power system is a complex non-linear system, with many market players and various combinations, and the demand-side and the generation side have different interests. How to make the complex participants formulate the optimal bidding strategy in the market operation and give full play to the flexibility of interactive resources on the premise of obtaining reasonable market returns has become a key problem in the market operation.
Demand-side resources have the natural attributes of large quantity and wide distribution. How to incorporate it into the existing scheduling framework is the key to the successful implementation of dynamic demand response. The research of demand response strategy includes two aspects: one is to form a specific regulating strategy for the load of different control characteristics for system tasks [2], the other is to seek effective control strategies for the load of different control characteristics for different system tasks [3]. At present, most grid companies use demand-side resources as a day-ahead resource for scheduling [4]. The implementation process is mainly for the dispatching department or aggregators to formulate control strategies for demand-side resources through optimized dispatching [5] to achieve reduced operating costs, new energy consumption and other goals. For dynamic response, the grid company’s goal is to maximize the response speed and reduce the reserve capacity on the power generation side, and the buyer’s demand is to minimize the impact on itself. There is a contradictory relationship between the two demands, and trade-offs need to be made when designing the control strategy.
Heterogeneous and diverse demand-side resources have the characteristics of spatial dispersion and diversification of operating subjects, so how to achieve rapid response is a major problem. At present, the rapid response of demand-side resources mostly adopts centralized control [6], and also few studies adopt decentralized control. Centralized control has the advantages of high reliability, but there are problems including high investment costs and communication delays. Decentralized control has a fast response speed, but the response is more random. Distributed control based on the principle of decentralized cooperative control can solve the problem. Distributed control [7] is a global optimization management system that issues local target values to each autonomous region. The autonomous region responds to external disturbances in real time according to a specific autonomous control strategy to achieve coordinated control of internal resources in the region. When implementing distributed control decisions, the uncertainty and randomness of demand-side resources should also be considered. In addition to the consideration in the aforementioned modeling, it can also be processed in the control process by robust stochastic optimization [8] or model prediction [9].
In the multi-party game electricity trading market, the uncertainty and randomness of demand-side resources have always been a problem that needs to be considered in the existing distributed control research. Therefore, in order to avoid these uncertainties and randomness to a certain extent, it is necessary to model the uncertainty of demand-side resources based on price or incentive demand response [10], and consider the demand response in the model. In addition to modeling, robust stochastic optimization or model prediction is also a good method to deal with the uncertainty and randomness of demand response resources in the control process.
From the literature review, it can be seen that the integration of demand-side resources into existing resource scheduling frameworks, especially distributed control scheduling frameworks has not been fully studied. It is still a huge challenge to balance the conflicting interests of the generation and the demand-sides. In this work, according to the power market operation mechanism, a price-guided multivariate load trading game strategy is designed. In this strategy, a multivariate load trading optimization method based on LSTM and gaming theory is proposed in this work. On the premise of ensuring the interests of the participants in the power market, this work provides a reasonable bidding strategy for the demand-side resources of the power system, and improves the flexibility of orderly power consumption of the demand-side resources. The contributions of this paper are: (1) Based on the development of energy Internet technology, combined with the multiple load classification of the power system, a unified architecture of the power system trading is constructed; (2) According to the power market operation mechanism, a price-guided Multivariate Load trading game strategy is designed; (3) A multivariate load trading optimization method based on LSTM and gaming theory is proposed. LSTM is introduced for real time prediction, which can be combined with the game theory for strategy searching.

2. Operating Model Analysis and Cloud Robot Architecture

2.1. Multivariate Load Market Operation Mode

China’s power market currently consists of a medium and long-term market and spot market. The medium and long-term market adopts transaction mode combining bilateral negotiated transactions and centralized competitive transactions, commonly used curve contracts and custom curve contracts. Through multiple organized annual, monthly, and weekly transactions, the signing and adjustment of price difference contracts can be flexibly realized. The spot market [11] includes day ahead market and real-time market, which adopts the way of full power declaration and centralized optimization clearing, through centralized optimization calculation, the unit start-up combination, time-sharing generation output curve and time-sharing spot market price are obtained.
Power market operators are divided into three categories: trading centers, demand-side buyer loads, and power generation companies such as thermal power plants, hydropower plants, and centralized new energy sources. The buyer’s load acts as the buyer to purchase electricity in the market; the generator acts as the seller to sell electricity in the market. The buyer and seller submit the electricity purchase quotation strategy and the electricity sales quotation strategy to the trading center. Under the organization of the trading center, the two parties reached an agreement on the purchase and sale of electricity.
With the continuous increase of demand-side interactive resources such as distributed energy, electric vehicle charging station, flexible buyer loads, and energy storage power stations, demand-side interactive resources have played a special role in the market [12,13]. Interactive resources can purchase more electricity from the market when the electricity market price is low, and if the electricity market price is high, buy less electricity from the market, or sell electricity to the market. It plays a virtual role in the market and makes the main body of power market operations more complicated. At the same time, in market transactions, the spot market has time-series price and position signals, and price analysis and forecasting are still indispensable and important links in spot transactions. Without the judgment of prices, trading strategies cannot be formulated. There is a strong correlation between the day ahead settlement price and the spot bidding space forecast value published by the market. With the participation of complex entities such as virtual power plant and active load, each entity in the power market needs to obtain more market price influence factors, train data more suitable for the characteristics of complex entities to reduce the forecast deviation, and provide more lean trading auxiliary decision-making suggestions for market entities.

2.2. Trading Cloud Architecture

The simplified model of cloud transaction in the future energy Internet constructed in this paper is shown in Figure 1, which includes multiple electricity sellers and buyers, which together form an energy local area network. Among them, all buyers and sellers have realized the interconnection of power flow and information flow. The buyer can actively send a distributed power purchase strategy to the cloud trading center, and the seller can formulate electricity sales quotation policy for different buyers based on received situation of total power purchase and submit the strategy to the trading center. After receiving the electricity purchase and sales strategies of both parties, it forms various transaction agreements through dynamic trading neural network algorithm.
The overall goal of simplified model is to achieve the overall benefit balance of the participants in the electricity market, so that the buyer can use the lowest price of electricity in a reasonable time, and the seller can sell the most electricity as possible to achieve the highest income. At the same time, the power grid is balanced, the new energy can generate more electricity, and the adjustable load can make more profit within the potential range. These contradictory conditions require multiple Nash equilibrium to achieve obviously. Therefore, this paper proposes a multi load trading optimization method based on LSTM and game theory. LSTM is introduced for real-time prediction, and game theory is used for strategy search. The specific construction and solution process, as well as the final experimental results will be described in detail below.

3. Construction and Solution of Non-Cooperative Model of Multivariate Load Spot Transaction

3.1. Multi-Agent Electricity Market Model

Regional alliance is constructed, in which the set of all microgrids is M and the set of all power users is N. Each user i N can send a power request to one or more available microgrids M i M to realize the matching of supply and demand. According to the above, through the communication and high interaction with the microgrid group M i , user i can understand the dynamic electricity price vector p i formulated and implemented by the microgrid group M i , and adjust and update its distributed power request vector r i in the microgrid group accordingly. The definitions of r i and p i are shown in Definitions 1 and 2.
Definition 1.
Distributed energy request vector r i is the combination of the number of requests made by users to the | M i | available microgrids in the regional alliance. The component r i m represents the amount of electrical energy requested by the user i to the microgrid M i M . The mathematical expression of r i is:
r i = r i 1 ,   r i 2 ,   L ,   r i m , L , r i ( | M i | ) T   ,     i N
According to Definition 1, the total amount of power requests X i sent by users to the available microgrid group M i is:
X i = m M i r i m , i N
Definition 2.
The dynamic electricity price vector p i is a combination of the dynamic electricity prices set by | M i | microgrid for user i . The component represents the dynamic electricity price set by the microgrid m, and the pricing method of the electricity price of each microgrid depends on the total power demand of all users connected to it. The mathematical expression of is:
p i = { p i 1 , p i 2 , L , p i m , L , p i ( | M i | ) } T   ,     i N
  p m is a dynamic electricity sale price formulated and executed by the microgrid m. The electricity price is the same for all users N m who request to be paired with it in the same time period namely:
p 1 m @ p 2 m @ L   @ p i m @ L   @   p | N m | m
The mathematical expression of the profit function p r m of the microgrid m is:
p r m = p m i N m r i m c m G m   ,     m M
where G m is the collection of power generation of microgrid m, and c m is the collection of unit power generation cost of microgrid m. The total amount of electrical energy requests r m received by the microgrid m is the sum of the number of electrical energy requests issued by the user group N m matched with its request.
r m = i N m r i m , m M
Since the power generation of each microgrid m is fixed and limited, the total amount r m of electrical energy requested by the user group N m for microgrid m must meet the following constraints:
r m G m ,   m M
with the user groups N m N that have transactions with microgrid m, as the demand r m for electric energy products in the regional market changes, microgrid m calculates the sales price p m based on the dynamic pricing method [14] as follows:
p m = K , w h e n   r m G m lim θ θ , w h e n   r m > G m
K = c m + ε m , w h e n   p m < c m + ε m K , w h e n   p m   c m + ε m
where ε m is the unit marginal profit of the microgrid m, specific definition is shown in Definition 3. In addition, according to reference [14], the dynamic electricity price is a quadratic function of demand, K = A m + B m r m + C m r m 2 , A m , B m and C m are constants related to the power generation properties of the microgrid m.
Definition 3.
The unit marginal profit ε m of the microgrid m is estimated by solving the difference between the marginal revenue obtained by supplying additional unit power generation and the marginal cost of producing increased power generation. The mathematical expression is:
ε m = ε m = p m r m c m r m r m = 1 , m M
Assuming that the sales electricity price p m for each microgrid m must be higher than the unit power generation cost c m , its marginal profit coefficient ε m will always be greater than 0. Therefore, under the condition that the amount of electrical energy requested by each user i satisfies the constraints given in Equations (2) and (7), p m will mainly depend on the power demand r m . The mathematical expression is as follows:
p m = A m + B m r m + C m ( r m ) 2 ,     m M
Through the extensive interconnected information architecture of the Energy Internet, after the user group knows the optimal electricity price vector p i of the microgrid group M i , user i selects the optimal power request vector r i from the perspective of minimizing its own unit power cost. Among them, p i = p i 1 ,   p i 2 ,   K ,   p i m ,   K ,   p i M i T , r i = r i 1 ,   r i 2 ,   K ,   r i m ,   K ,   r i M i T . In addition, the microgrid group’s strategy for setting electricity prices also depends on r m , and each microgrid in the microgrid group only needs to consider how to set the sales price after receiving the total amount of power requests from users. Therefore, this chapter proposes the main problems can be described as follows:
  • The strategy is initialized, and then the user group and microgrid group will fully interact;
  • Design a method to help user i determine its own distributed energy request vector r i based on the electricity price vector p i set by the available microgrid group M i .
  • Each microgrid m determines the updated power selling price p m based on the total number of power requests made by all matching users.

3.2. Electricity Trading Model

Construct a dynamic evolutionary game model of power purchase strategy for each buyer and multiple available sellers in the energy local area network. Each buyer selects a more efficient strategy through repeated evolution to achieve evolution. In this chapter, the elements of dynamic trading neural network optimization method are proposed as follows:
Group: A set of distributed power purchase strategies of buyer i . Assuming that each buyer i has a certain power demand X i , that is, the group size corresponding to each buyer i N is fixed, buyer 1’s distributed power purchase vector r 1 constitutes group 1 and buyer 2’s distributed power purchase vector r 2 constitutes group 2 and so on.
Group proportion η i m : The proportion of the m-th pure strategy component in the total power purchase demand proposed by buyer i to the total group size X i , that is the proportion of electricity sold by the seller m M i to the buyer in the total electricity purchased by the buyer i :
η i m = r i m X i  
Group proportion income U i m : The income corresponding to the group proportion η i m , that is the horizontal m component of power consumption satisfaction level of each buyer i selected to match the supply and demand with the seller. The construction of the buyer satisfaction function is related to the quantity of electricity purchased by the buyer in the seller and the expenditure cost. The mathematical expression is as follows:
U i m = f r i m , N m P m r i m
Among all the buyers N m matched with the seller m, each buyer i tries to consume more power from the seller m to meet its overall power demand due to the constraints of the seller m’s power generation. Therefore, it can be assumed that f r i m , N m is a strictly increasing non-negative concave function, which is related to the seller’s power generation and the buyer’s demand. The mathematical expression is as follows:
f r i m , N m = r i m p m G m m M i r i m
Seller’s electricity price function p m : Seller m’s electricity price function. Based on Formulas (8) and (9), each seller m can determine the optimal electricity price vector p m . The relationship between microgrid revenue and the elasticity of demand price should also be considered. Because the buyer’s strategy adjustment will be based on the initial value of p m , and if the value of p m is set too high, it will restrain the power purchase demand of power and if the value of p m is set too low, it will reduce seller m’s electricity sales income. Therefore, the electricity price function p m of seller m is a linear positive correlation with the sum of its dynamic price and the number of received energy requests. The mathematical expression is as follows:
P m r m = p m r m , m M  
while p m and r m have been respectively defined in the above Formulas (6) and (8).
Based on the above analysis, define the group proportional income U i m that buyer i chooses to match the electricity request with seller m as follows:
U i m = r i m p m G m m M i r i m P m r i m
Buyer’s income function: The income function U i of each buyer i is determined by its net income, and the specific definition is the satisfaction level of electricity service obtained by consuming the total amount of electricity required X i .
Defining U i as a concave function, the mathematical expression is as follows:
U i = m M i U i m
Substituting Equation (16), we can get:
U i = m M i ( r i m p m G m m M i X i η i m p m X i η i m )
The seller’s revenue function: the seller’s revenue ψ m is defined as the profit obtained by each seller m after providing the requested quantity r m of electric energy to all the buyers connected with it, which is divided into two parts including the electricity selling fee charged to the buyer and the generation cost to be deducted. According to the electricity price function (15), the Equation (5) is updated as:
ψ m = P m r m c m G m , m M

3.3. Solving Nash Equilibrium of Non-Cooperative Game Model

Game theory in economics is often used to solve the problem of competition between multiple subjects. In the theory of game theory, cooperative game theory focuses on predicting the group alliances that may be formed among the participants, the joint actions that the group alliances will take, and the resulting benefits, while non-cooperative game is a game in which competition is among the participants and the participants cannot form an alliance and must compete independently. In the electricity distribution market, buyers on the demand-side and sellers such as generators compete with each other on the premise of knowing the other’s electricity quotation strategy and power purchase quotation. The buyer expects a lower electricity price in a reasonable time, while the seller expects a higher income on the premise of maintaining the balance of the power grid. The two compete independently, so it is more reasonable to establish a non-cooperative game model.
Nash equilibrium is also called non-cooperative game equilibrium. When any participant in the game determines the strategy of other participants, the strategy chosen by itself is optimal, and the game reaches the Nash equilibrium. According to the idea of non-cooperative game, both the seller and the buyer, as participants in the electricity market, trade in the electricity market with the goal of maximizing their own profits. As participants in the game, their balancing strategies are all to achieve the maximum expected return. Therefore, Nash equilibrium is a more reasonable solution in this scenario.
The Nash equilibrium solution to the above non-cooperative game model is a multi-objective optimization problem. With the help of the particle swarm optimization algorithm in the field of intelligent algorithm, the continuous iteration and operation can gradually approach the equilibrium solution, which can better deal with this kind of problem than the traditional analytical method. In particle swarm optimization (PSO) algorithm, each potential solution is a particle in the search space. Firstly, a group of random particles (random solution) are initialized. The particles only have two attributes: speed and position. Speed represents the speed of movement, and position represents the direction of movement. Each particle searches for the optimal solution separately in the search space, and records it as the current individual extreme value pbest, and shares the individual extreme value with other particles in the whole particle swarm. And then the optimal individual extreme value is found as the current global optimal solution gbest of the whole particle swarm. All particles in the particle swarm adjust their speed and position according to the current individual extremum they find and the current global optimal solution shared by the whole particle swarm, the speed and position updating rules are as follows:
v i = v i + c 1 × r a n d ( ) × p b e s t x i + c 2 × r a n d ( ) × g b e s t x i
x i = x i + v i
Among them, in Formula (20) v i is the memory item, which represents the shadow of the magnitude and direction of the velocity last time. c 1 × r a n d ( ) × p b e s t x i is a vector from the current point to the best point of the particle itself. Representing the action of a particle is based on my experience and the rest part is a vector from the current point to the best point of particle swarm, which reflects the cooperation and knowledge sharing among particles. The particle decides the next movement through its own experience and the best experience of its peers. Equations (20) and (21) form the standard particle swarm optimization algorithm. On the basis of Equation (21), the inertia factor w is introduced into the memory term, that is:
v i = w × v i + c 1 × r a n d ( ) × p b e s t x i + c 2 × r a n d ( ) × g b e s t x i
The dynamic ω can obtain better optimization results than the fixed value. The dynamic ω may change linearly during the PSO search process, or dynamically according to a measure function of PSO performance. At present, the strategy of linear decreasing weight is widely used. ω decreases linearly from the maximum inertia weight ω m a x to ω m i n with iteration, where k m a x is the maximum number of iterations set by the algorithm, that is:
w = w m a x k   w m a x w m i n k m a x
with the introduction of ω, the performance of the PSO algorithm has been greatly improved. For different search problems, the global and local search capabilities can be adjusted, and the PSO algorithm has been successfully applied to many practical problems. Therefore, for non-cooperative game models in the electricity market, The Nash equilibrium solution can be got according to the algorithm flow of particle swarm optimization. Suppose X = U 1 , U 2 U i , ψ 1 , ψ 2 ψ m is the strategy combination of buyer and seller established by non-cooperative game model, where U i and ψ m are corresponding to the buyer’s and seller’s income as described above. The solution steps are as follows:
  • Initialize the particle swarm size N p , the maximum number of iterations k m a x , w and the accuracy requirement ε , randomly initialize the particle swarm and position and speed of particles.
  • Calculate the fitness value of the example according to the fitness function, and find the individual extreme value and the overall extreme value of the particle according to the fitness value of the particle.
  • Calculate the inertia factor ω.
  • According to Formulas (23) and (24), update the solution of each particle, and then update the strategy combination and proceed to the next iteration.
  • When the number of iterations reaches k m a x or the obtained group extreme value can make the fitness function meet the accuracy requirements, the equilibrium solution X of the game model is obtained at this time, that is the optimal strategy combination of the buyer and the seller to achieve their respective income expectations.

4. Discussion

4.1. LSTM Model

In market transactions, the spot market has time series price and position signals. Price analysis and forecasting are indispensable and important links in spot transactions. The accurate estimation of prices can help formulate more scientific and reasonable trading strategies. With the complexity and diversity of participants in the electricity market, traditional methods based on probability statistics cannot accurately predict the data with complex subject characteristics. However, some deep learning methods, such as recurrent neural network (RNN) [13], not only consider the input of the previous time, but also give the network a memory function of the previous content, so it is an effective method to solve the sequence problem prediction. It can be applied to the time series price prediction in the spot market to provide more lean trading assistant decision-making suggestions for the market participants.

4.2. Model Discussion

RNN is a network containing cycles, which can transfer information from the previous step to the next step, allow information persistence and retain memory of the current state. But RNN information can only be transferred to adjacent successors, when the output information is close to its related input information, ordinary RNN is competent. However, when analyzing and estimating the time series price data in electricity market transactions, it is necessary to memorize the historical data for a longer period of time. Ordinary RNN cannot guarantee the long-term memory, which will lead to some deviation in the estimation results. Therefore, it is necessary to use a variant of RNN—long-term memory neural network (LSTM) [14] to solve the problem of long-term memory in application scenarios. The difference on structural units between RNN and LSTM is shown in the Figure 2 below.
For the RNN unit, h t = tan h W h h t     1 , x t   +   b h , the hidden layer information of the RNN at this moment only comes from the current input and the hidden layer information of the previous moment, and there is no memory function. In order to solve the problem of long-term dependence and vanishing gradient of RNN, LSTM was proposed. From the unit structure of the two, it can be seen that LSTM is much more complicated. From a microscopic point of view, LSTM introduces the cell state, and uses input gate, forget gate, and output gate to maintain and control information. Specifically, the calculation formula of a certain timestep of LSTM is as follows:
The forget gate ( f t ) decides which information to discard. The calculation method is:
f t = σ W f h t 1 , X t + b f
The input gate i t represents the information to be saved or the information to be updated, which is the result of the connection vector of h t 1 and the current input vector X t after the sigmoid layer calculation.
i t = σ   W i h t 1 , X t   +   b i
Then the state of the LSTM unit needs to be updated. The calculation result of the input gate is multiplied by the calculation result of the connection vector of h t 1 and X t after the tanh layer calculation, and then added to the information retained after calculation of the previous neuron cell. The result is the final output C t .
C t =   t a n h W c h t 1 , X t   +   b c
C t   =   f t · C t 1   +   i t · C t
The output gate O t determines the hidden vector h t output by the current neuron cell, which is the result of the dot multiplication operation of the calculation result of the output gate and the calculation result of C t after tanh calculation:
O t = σ W o h t 1 , X t + b o
h t = O t ·   t a n h C t
There are many paths for gradient propagation in LSTM. The most important one is the process of LSTM unit state update. In this process, there are only element-wise multiplication and addition operations. The gradient flow is the most stable, so there is almost no gradient disappearance or gradient explosion. From a macro perspective, there is a straight line between the cell states of each timestep of LSTM. The line combines the information of the input gate and the forget gate. That is to say, as long as the input gate and the forget gate are set reasonably, LSTM can be controlled to memory the value of a certain timestep cell state for a long term to solve the problem of long-term information dependence.
After determining to use LSTM as the method of time series price forecasting in the electricity market, it is also necessary to determine the specific network structure. Comprehensively considering the complexity and predicting result of the network, a multi-layer LSTM network is designed for training. The structure of the multi-layer LSTM neural network is shown in the Figure 3.
The overall framework is proposed as Figure 4. After gathering the input data of all stakeholders, a marketing gaming model is built. Based on the gaming model, a Nash equilibrium can be achieved. Meanwhile the LSTM prediction module is predicting the new values for the stakeholders. Based on the new data, new Nash equilibrium can be reach. And then there are new iterations of then LSTM and the Nash equilibrium. After verifying those equilibrium results, an optimization solution could be achieved.

5. Simulation Example

5.1. Algorithm Simulation

Use simulation software MATLAB to evaluate the performance of the method proposed in this chapter. Use the method proposed in this paper to calculate the respective income of the game participants when the power transaction between the buyer and the seller reaches the evolutionary equilibrium in the Energy Internet, and compare the result with similar algorithms.

5.2. Simulation Settings

Assuming that there are 10 electric energy sellers and 200–1000 electric energy buyers in an Energy LAN (local area network), the buyers are all clean energy power generation, the installed capacity ranges from 200–500 MWh, and the energy generation cost is about 50 yuan/MWh. The buyer’s load demand is between 20–90 MWh. The load usage of the electric energy sellers and the energy generation situation of the electric energy seller group are randomly initialized. In order to meet its own energy demand and maintain regional grid balance, each buyer selects a group of available electric energy seller groups from the large electric energy seller groups, and sends distributed power purchase strategy to each seller simultaneously through the transaction cloud robot. From the trading cloud robot, each seller receives part of the electric energy demand from the buyer who chooses to match its supply and demand, and formulates its own electricity price strategy based on the sum of electric energy purchase strategies of buyer group.

5.3. Comparison Benchmark

Compare the system performance of the two methods proposed in this paper: the load transfer method [15,16] and the user-side energy storage method [17]. The load transfer method is to reduce the energy consumption of the electric energy buyer and transfer the peak load to off-peak hours, striving to maximize the overall income of the electric energy buyer group while reducing the power generation cost of the electric energy seller group. The user-side energy storage method is based on the multi-master and multi-slave Stackelberg game. A household energy management scheme considering the user-side energy storage configuration is designed, and the electric energy utilization (charging and discharging) curve of the buyer group is researched and analyzed. Research and analysis. Neither of these two methods consider the scenario where the buyer sends electric energy requests to multiple sellers at the same time. So first of all, relatively speaking, using distributed electric energy request methods can significantly improve reliability of electric energy supply and utilization of regional grid.

5.4. Evaluation Index

This section evaluates the system performance of the proposed method through the following two dimensions.
(1) Electric Energy Customer
(1) Electric energy sales: for the convenience of comparison with the other two methods, this section uses the average value of the final consumption of the buyer to express the buyer’s satisfaction with energy consumption. The average satisfaction coefficient is defined as the ratio between the average value of energy consumption of the buyer and the average value of electric energy request. In addition, the high-power consumption level of buyer also indicates that the seller’s remaining power generation is less, and there will be no serious abandonment of wind and light.
(2) Electricity expenditure: each buyer hopes to consume more electric energy and pay less at the same time, but there is a certain balance between the quantity of energy consumption and electricity expenditure, and the buyer can only ensure the minimum cost of electricity expenditure per unit.
(2) Electric Energy Seller
(1) Electric energy sales: the total amount of electric energy provided by each seller to all its paired buyers, which is also equal to the electric energy generation of the seller. Therefore, each seller tries to maximize the sales of electric energy, so as to ensure the maximum revenue return on its power generation capacity.
(2) Profit: the difference between the seller’s revenue from the sale of the requested electric energy and the total generation cost. Each seller wants to maximize this parameter.

5.5. Simulation Results and Discussion

The area contains 200–1000 electric energy customers. For simulation needs, suppose that the electric energy buyer calculates the power request vector sent to the available electric energy seller group every 10 s until the stable state. Adjust the size of the electric energy buyer group and observe the average energy consumption level of all customers as shown in Figure 5.
Figure 5 and Figure 6 show the average value of electric energy consumption and the corresponding average value of electricity expenditure of all buyers. From Figure 5, it can be observed that as the number of buyers increases, the amount of energy supplied by the seller group to each buyer will decrease, which is determined by the limited electric energy generation capacity of the seller. However, using the proposed electric energy request method, each buyer can consume 0.03–0.32% and 7–13.5% more power per unit than using other methods (load transfer method and user-side energy storage method). In other words, each consumer using the distributed electric energy request method can achieve a higher level of energy consumption satisfaction than using the load transfer method and the user-side energy storage method. In addition, it can also be calculated that each consumer using the distributed energy request method can reduce electricity expenditure by 5.7–29.56% compared to the user-side energy storage method, as shown in Figure 6.
In order to analyze the income of the electric energy seller, the number of electric energy customers is adjusted within the range of 200–800, and the energy generation capacity of each electric energy seller under the three methods is compared as shown in Figure 7. It can be observed that using the distributed electric energy request method, the amount of energy sold by each seller is almost the same. Therefore, compared with the other two methods, distribution network line load can be more evenly distributed. From Figure 6, it can be seen that the electric energy utilization rate between the available power sellers using the distributed electric energy request method is about 17–36% higher than that of the user-side energy storage method and load transfer method. In Figure 8, it is observed that the electricity price set by each seller is close to the same. The electricity price using the distributed electric energy request method is about 21–32% lower than the other two methods, but the profit of each electricity seller has increased, which cannot be achieved by the user-side energy storage method and load transfer method.

6. Conclusions

In this work, a Multivariate Load trading optimization method is proposed based on LSTM and gaming theory. LSTM is introduced for real time prediction, which can be combined with the game theory for strategy searching. Based on the idea of non-cooperative game, this paper integrates the generation side and the demand-side into the existing resource scheduling framework, and uses the recurrent neural network to drive the Nash equilibrium required by the system to seek the optimal solution of cooperative control. Therefore, this method can be used to find the balance point in the conflict of interests between the generation side and the demand side, so as to ensure the benefits of the participants in the power market and improve the flexibility and speed of orderly power consumption of demand-side resources. The global stability and optimal solution theory prove the feasibility of the proposed neural network, and finally the effectiveness of the proposed method is verified by numerical simulation.

Author Contributions

Conceptualization, M.P.; Methodology, S.T.; Project administration, J.Y.; Writing—review & editing, S.C.; Supervision S.H.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

This work was supported by Basic Prospective Project of State Grid Corporation of China under the project name “Research on rapid response of complex demander-side resources to improve grid flexibility” (No. 5442YD190013).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhihan, X.; Tieyi, C.; Li, X.; Kai, L.; Jindou, Y. Demand Response Dispatching Strategy in Load Aggregator Mode. In Proceedings of the 2020 4th International Conference on Power and Energy Engineering (ICPEE), Xiamen, Fujian, China, 19–21 November 2020; pp. 119–123. [Google Scholar]
  2. Wu, N.; Wang, H.; Yin, L.; Yuan, X.; Leng, X. Application Conditions of Bounded Rationality and a Microgrid Energy Management Control Strategy Combining Real-Time Power Price and Demand-Side Response. IEEE Access 2020, 8, 227327–227339. [Google Scholar] [CrossRef]
  3. Duan, Q. A price-based demand response scheduling model in day-ahead electricity market. In Proceedings of the 2016 IEEE Power and Energy Society General Meeting (PESGM), Boston, MA, USA, 17–21 July 2016; pp. 1–5. [Google Scholar]
  4. Xu, Y.Y.; Liao, Q.F.; Liu, D.C.; Peng, S.C.; Yang, Z.; Zou, H.L. Multiagent intra day joint optimal dispatch of regional integrated energy system based on integrated demand response and game. Grid Technol. 2019, 43, 2506–2518. [Google Scholar] [CrossRef]
  5. Shen, Y.; Yue, Y.Y.; Yan, H.G.; Chen, X.; Li, D.Z.; Yi, Y.X. Research on resource aggregation and regulation strategy of regional power grid demand response. Grid Technol. 2017, 41, 3341–3348. [Google Scholar] [CrossRef]
  6. Lu, S.; Samaan, N.; Diao, R.; Elizondo, M.; Jin, C.; Mayhorn, E.; Zhang, Y.; Kirkham, H. Centralized and decentralized control for demand response. In Proceedings of the ISGT 2011, Anaheim, CA, USA, 17–19 January 2011; pp. 1–8. [Google Scholar] [CrossRef]
  7. Wang, H.Y.; Li, K.; Zhang, C.H.; Ma, X. Distributed cooperative optimal operation strategy of community integrated energy system based on master-slave game. Chin. J. Electr. Eng. 2020, 40, 5435–5445. [Google Scholar] [CrossRef]
  8. Peng, X.; Jirutitijaroen, P.; Singh, C. A distributionally robust optimization model for unit commitment considering uncertain wind power generation. IEEE Trans. Power Syst. 2017, 32, 39–49. [Google Scholar]
  9. Xie, L.T.; Xie, L.; Su, H.Y. Comparative study on robust and stochastic model predictive control algorithms for uncertain systems. Acta Autom. Sin. 2017, 43, 969–992. [Google Scholar] [CrossRef]
  10. Jiang, L.; Zheng, Q.W.; Wang, F.; Fu, M.L.; Liu, J.; AI, X.M. Transmission network expansion planning considering direct load control and wind power uncertainty. Power Syst. Prot. Control. 2020, 48, 138–146. [Google Scholar] [CrossRef]
  11. Zhou, M.; Wu, Z.Y.; He, Y.H.; Li, G.Y.; Zhao, T.; Long, S.Y. A day ahead market clearing model considering both medium and long term trading and wind power participation. China Sci. Inf. Sci. 2019, 49, 1050–1065. [Google Scholar]
  12. Nazemi, S.D.; Mahani, K.; Ghofrani, A.; Amini, M.; Kose, B.E.; Jafari, M.A. Techno-economic analysis and optimization of a microgrid considering demand-side management. In Proceedings of the 2020 IEEE Texas Power and Energy Conference (TPEC), College Station, TX, USA, 6–7 February 2020; pp. 1–6. [Google Scholar] [CrossRef] [Green Version]
  13. Khan, T.A.; Kalimullah; Hafeez, G.; Khan, I.; Ullah, S.; Waseem, A.; Ullah, Z. Energy Demand Control Under Dynamic Price-based Demand Response Program in Smart Grid. In Proceedings of the 2020 International Conference on Electrical, Communication, and Computer Engineering (ICECCE), Istanbul, Turkey, 12–13 June 2020; pp. 1–6. [Google Scholar] [CrossRef]
  14. Xu, R.C.; Yan, W.W.; Wang, G.L.; Yang, J.C.; Zhang, X. Research on time series forecasting method and electricity price forecasting based on periodic modeling. Acta Autom. Sin. 2020, 46, 1136–1144. [Google Scholar] [CrossRef]
  15. Wang, X.; Wu, J.; Liu, C.; Yang, H.Y.; Du, Y.L.; Niu, W.S. Fault time series prediction based on LSTM recurrent neural network. J. Beijing Univ. Aeronaut. Astronaut. 2018, 44, 772–784. [Google Scholar] [CrossRef]
  16. Wu, H.C.; Wang, C.; Yin, F.G.; Chen, Y.J.; Liu, K.; Zuo, Y.L. Demand response strategy of smart community considering load transfer and multiple game. Grid Technol. 2019, 43, 4550–4557. [Google Scholar] [CrossRef]
  17. Guo, J.Y.; Liu, Y.; Guo, Y.L.; Xu, L.X. Energy storage allocation evaluation and operation optimization model for different typical users. Power Grid Technol. 2020, 44, 4245–4254. [Google Scholar] [CrossRef]
Figure 1. Simplified Model of Cloud Transactions in the Future Energy Internet.
Figure 1. Simplified Model of Cloud Transactions in the Future Energy Internet.
Energies 14 05246 g001
Figure 2. The difference on structural units between RNN (a) and LSTM (b).
Figure 2. The difference on structural units between RNN (a) and LSTM (b).
Energies 14 05246 g002
Figure 3. The structure of the multi-layer LSTM neural network.
Figure 3. The structure of the multi-layer LSTM neural network.
Energies 14 05246 g003
Figure 4. The overall framework of the optimization method.
Figure 4. The overall framework of the optimization method.
Energies 14 05246 g004
Figure 5. Energy Consumption of Each Customer using different methods.
Figure 5. Energy Consumption of Each Customer using different methods.
Energies 14 05246 g005
Figure 6. Comparison of average electricity cost of buyer under different methods.
Figure 6. Comparison of average electricity cost of buyer under different methods.
Energies 14 05246 g006
Figure 7. Energy Supplied by Each Micro-grid using different methods.
Figure 7. Energy Supplied by Each Micro-grid using different methods.
Energies 14 05246 g007
Figure 8. Price Decided by Each Micro-grid using different methods.
Figure 8. Price Decided by Each Micro-grid using different methods.
Energies 14 05246 g008
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Pan, M.; Tian, S.; Yuan, J.; Chen, S.; He, S. A Multivariate Load Trading Optimization Method for Energy Internet Based on LSTM and Gaming Theory. Energies 2021, 14, 5246. https://doi.org/10.3390/en14175246

AMA Style

Pan M, Tian S, Yuan J, Chen S, He S. A Multivariate Load Trading Optimization Method for Energy Internet Based on LSTM and Gaming Theory. Energies. 2021; 14(17):5246. https://doi.org/10.3390/en14175246

Chicago/Turabian Style

Pan, Mingming, Shiming Tian, Jindou Yuan, Songsong Chen, and Sheng He. 2021. "A Multivariate Load Trading Optimization Method for Energy Internet Based on LSTM and Gaming Theory" Energies 14, no. 17: 5246. https://doi.org/10.3390/en14175246

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