Reinforcement learning green certificate transaction method based on privacy protection in energy internet
Through the method of combining federated learning and sparse network deep reinforcement learning, the problem of data privacy leakage and low decision-making efficiency in green certificate transactions is solved, the privacy protection and economic environment dual optimization of green certificate transactions are realized, and the consumption of renewable energy is promoted. Sodium and carbon emissions reduction.
Patent Information
- Application Number
- CN202410900157.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-15
AI Technical Summary
Existing green certificate trading methods have the risk of data privacy leakage and fail to effectively consider economic and environmental factors in decision-making, making it difficult to obtain optimal scheduling decisions.
A wind power generation data prediction model based on federated learning is used to avoid privacy leakage issues in data transmission by building a local model and aggregating parameters on the server. At the same time, a deep reinforcement learning algorithm using sparse networks is used to combine transactions in the green certificate market and the electricity market. rules to optimize green certificate trading strategies.
It achieves the protection of data privacy, improves the accuracy of wind power forecasting and the practical availability of green certificate transactions, promotes the consumption of renewable energy and reduces carbon emissions.
Smart Images

Figure CN118780914A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of energy internet, and specifically relates to a privacy-protected reinforcement learning green certificate trading method in energy internet. Background Art
[0002] The substantial growth of global carbon emissions has led to various climate issues, and the energy industry accounts for a very high proportion of greenhouse gas emissions. Sustainable investment and clean energy technology must be deployed at an accelerated pace to achieve the goal of zero net emissions, and increasing the proportion of renewable energy generation has become an important measure to achieve this goal.
[0003] At present, the newly installed capacity of renewable energy is increasing year by year, but due to the randomness, volatility and intermittency of renewable energy, the phenomenon of wind and solar power abandonment is becoming more and more serious. To alleviate this situation, Marchenko et al. proposed a green certificate market mechanism. Green certificate trading under the quota system can further promote the green transformation of the energy structure and accelerate the consumption of renewable energy. Through green certificate trading, renewable energy power plants can obtain a part of market-based environmental subsidies, and thermal power plants can indirectly increase their power generation quotas by purchasing green certificates.
[0004] Green certificate trading plays an important role in promoting the consumption of renewable energy. However, how to consider the impact of the green certificate trading model in the energy internet is a challenging issue. Since green certificates are linked to wind power output, green certificate scheduling requires the prediction of wind power capacity in advance. Applying the data information of multiple wind farms together to wind power generation prediction can further improve the accuracy of the model. Then accurate renewable energy generation prediction is very important for power and green certificate scheduling under the green certificate trading model, which requires a large amount of historical data as support, but since wind farms may belong to different power generation groups, it is easy to cause industry commercial competition and security issues in the data transmission process. Zhang Yao et al. and Goncalves et al. proposed a privacy protection method for wind power prediction using the multiplier alternating direction method structure, but the central node in this method can recover confidential data, resulting in data privacy leakage. Ferdowsi and Saad proposed a BGAN generative model algorithm for generating data when multiple agents are unwilling to share data due to privacy issues. However, the samples generated by each agent in the BGAN architecture are similar not only to their own data set, but also to adjacent data sets, which will affect the decision of the operator and is not effectively suitable for renewable scenario generation.
[0005] There have been quite a lot of studies on market dispatch under green certificate trading, but most of the current studies focus on the economic impact of green certificate trading on power generation dispatch. There are fewer studies on the environmental impact of green certificate trading, which ignores the main purpose of the green certificate market to a certain extent. At the same time, most of the current studies use the green certificate price as a fixed parameter to participate in market dispatch, which makes its feasibility in reality relatively low and reduces the impact of real market trading behavior on power generation and green certificate dispatch decisions to a certain extent.
[0006] In summary, the existing green certificate trading methods still have the risk of data privacy leakage. Moreover, since the existing methods do not include both economic and environmental factors into the scope of decision-making objectives, and do not use the green certificate price as a fixed parameter in the model construction, it is difficult to obtain the best scheduling decision using the existing methods. Summary of the invention
[0007] The purpose of the present invention is to solve the risk of data privacy leakage in existing methods and the problem of difficulty in obtaining the best scheduling decision, and propose a privacy-preserving reinforcement learning green certificate trading method in energy Internet.
[0008] The technical solution adopted by the present invention to solve the above technical problems is:
[0009] A privacy-preserving reinforcement learning green certificate trading method in energy internet, the method specifically comprising the following steps:
[0010] Step 1: construct a wind power generation data prediction model based on federated learning, wherein the wind power generation data prediction model based on federated learning includes a plurality of clients and a server;
[0011] After training the local models deployed on each client, the parameters of each local model are sent to the server, where the parameters of each local model are aggregated and the aggregated results are used as the parameters of the final prediction model.
[0012] Step 2: Use the final prediction model to predict the power generation of the wind power plant, and then calculate the number of green certificates generated by the wind power plant based on the wind power plant power generation prediction results and user load;
[0013] Step 3: Take the total carbon emissions of thermal power plants as the objective function of the green certificate trading stage, and realize the green certificate trading of wind power plants and thermal power plants by minimizing the objective function value.
[0014] The beneficial effects of the present invention are:
[0015] In order to avoid the data security and privacy protection issues in the transmission and calculation of the original data of each client, the present invention adopts federated learning for wind power forecasting, and trains a wind power forecasting model that can be used by multiple wind power plants without transmitting training data, thus avoiding the risk of data leakage. Based on the wind power forecast results, a green certificate generation and trading model including green certificate market and electricity market transactions is proposed. The model takes into account the economic and environmental costs caused by green certificate and electricity transactions, and uses the current green certificate market trading rules to improve the practical usability of the model. Finally, a deep reinforcement learning algorithm based on a sparse network is used to obtain the optimal scheduling strategy. The experimental results based on real data show that the model considering the green certificate market proposed by the present invention can further promote the consumption of renewable energy and reduce carbon emissions while smoothly carrying out green certificate transactions. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is the architecture diagram of the wind power prediction model using federated learning;
[0017] Figure 2 It is a diagram of the new energy consumption framework of the green certificate market and the power market;
[0018] Figure 3a This is the prediction result diagram of the first wind turbine under the first client;
[0019] In the figure, the horizontal axis is time, and the vertical axis is the power generation prediction result;
[0020] Figure 3b This is the prediction result diagram of the second wind turbine under the first client;
[0021] Figure 3c This is the prediction result diagram of the first wind turbine under the second client;
[0022] Figure 3d This is the prediction result diagram of the second wind turbine under the second client;
[0023] Figure 3e This is the prediction result diagram of the first wind turbine under the third client;
[0024] Figure 3f This is the prediction result diagram of the second wind turbine under the third client;
[0025] Figure 4a This is the prediction result graph of the first wind turbine under the client that did not participate in the training;
[0026] Figure 4b This is the prediction result graph of the second wind turbine under the client that did not participate in the training;
[0027] Figure 5 This is the power dispatch result diagram during the green certificate generation phase;
[0028] Figure 6 This is a training comparison chart of the DS-TD3 algorithm and the TD3 algorithm in the green certificate generation stage;
[0029] Figure 7 This is a comparison chart of the results of the method of the present invention and the benchmark strategy on the test set during the green certificate generation stage;
[0030] Figure 8 It is a comparison chart of green certificate trading volume in the green certificate market during the green certificate trading stage;
[0031] Fig. 9 This is a comparison chart of the training efficiency of the DS-TD3 algorithm and the TD3 algorithm during the green certificate trading stage;
[0032] Fig.10 This is a comparison chart of the test results in the green certificate trading stage. DETAILED DESCRIPTION
[0033] Specific implementation method 1: The green certificate trading method based on privacy protection in energy internet in this implementation method specifically includes the following steps:
[0034] Step 1: construct a wind power generation data prediction model based on federated learning, wherein the wind power generation data prediction model based on federated learning includes a plurality of clients and a server;
[0035] After training the local models deployed on each client, the parameters of each local model are sent to the server, where the parameters of each local model are aggregated and the aggregated results are used as the parameters of the final prediction model.
[0036] Step 2: Use the final prediction model to predict the power generation of the wind power plant, and then calculate the number of green certificates generated by the wind power plant based on the wind power plant power generation prediction results and user load;
[0037] Step 3: Take the total carbon emissions of thermal power plants as the objective function of the green certificate trading stage, and realize the green certificate trading of wind power plants and thermal power plants by minimizing the objective function value.
[0038] The characteristics of the present invention are as follows:
[0039] (1) A wind power prediction model based on federated learning was constructed to address the data sharing willingness and data transmission security issues between wind farms. The local model uses a diffusion model-based structure to generate a wind power prediction model that can be used by multiple clients in a more stable and accurate manner. Experiments using real wind power data verified the prediction accuracy of the model.
[0040] (2) Based on the generated wind power forecast data, a renewable energy consumption model based on certificate trading was constructed. Compared with the traditional power generation scheduling model considering green certificates, this model more comprehensively considers the impact of green certificate trading on economic benefits and social and environmental benefits, and makes full use of the existing green certificate trading model, which is more suitable for the current reality of the electricity market and certificate market.
[0041] (3) The generation and trading of green certificates is expressed as an optimization problem, and in the face of a complex and dynamic environment, a reinforcement learning algorithm with dynamic sparse training is used to minimize system costs and carbon emissions. The results based on real data sets show that compared with the benchmark strategy, the algorithm of the present invention has significantly improved efficiency and results, and can smoothly carry out green certificate trading while significantly outperforming the benchmark strategy in terms of renewable energy consumption.
[0042] Specific implementation method 2: Combination Figure 1 This embodiment is different from the first embodiment in that each client uses local data to train a local model, and the local model uses a TimeGrad network, which includes an RNN model and a diffusion model.
[0043] For any client, the training process of the local model is:
[0044] Step 1: Local historical wind power generation data As training data, the training data passes through the RNN output hidden state h t-1 ;
[0045] Step 2, initialization time n=1;
[0046] Step 3: Generate data through the forward process of the diffusion model ε is Gaussian noise, Intermediate variable α s =1-β s , β s is the variance of the Gaussian noise added at the sth moment, s = 1, 2, …, n;
[0047] Step 4: Based on the data The inverse process prediction noise of the diffusion model Update the parameters of the local model by stochastic gradient descent, that is, by minimizing To update the parameters of the local model, ▽ θ is the gradient with respect to θ, where θ is the parameter of the local model;
[0048] Step 5: Determine whether n=N is satisfied, where N is the total number of moments;
[0049] If n=N, the training process is completed;
[0050] If n=N is not satisfied, set n=n+1 and return to step 3.
[0051] The other steps and parameters are the same as those in the first embodiment.
[0052] The TimeGrad model is an autoregressive model for multivariate probabilistic time series prediction. It mainly uses RNN to encode past time information and covariate information into hidden states, and then inputs the state into the diffusion model to model the distribution.
[0053] The diffusion model is mainly divided into two stages: forward diffusion process and reverse denoising process. Gaussian noise is added n times, and finally a standard normal distribution is obtained The reverse denoising process trains the network Fitting the true inverse process Gradually restore the true distribution of data.
[0054] The goal of the denoising training process can be to predict a noise Make it infinitely close to generation The noise ε used. The algorithm for training the diffusion model neural network is shown in Table 1:
[0055] Table 1
[0056]
[0057] When training the diffusion model, first take a data Output from RNN The corresponding hidden state h t-1 ; Then randomly select a time n from 1,...,N for training; then randomly select a Gaussian noise ε to perform the forward diffusion process to generate The generated h t-1 and n is passed to the network To predict the noise, the network is optimized using gradient descent on the loss function. After the network training is completed, the diffusion model network can perform the reverse denoising process.
[0058] Specific implementation method three: This implementation method is different from specific implementation methods one or two in that the parameters of each local model are aggregated on the server, specifically:
[0059]
[0060] Among them, N rrepresents the number of data indexes in the rth client, and N represents the sum of the number of data indexes in all clients. is the local model parameter trained by the rth client, w t+1 is the aggregated local model parameter, R is the number of clients participating in the training (based on the client ratio C and the total number of clients N participating in the model training r 'calculate).
[0061] The other steps and parameters are the same as those in the first or second embodiment.
[0062] For example, there are 3 clients, each of which has two wind turbines, then N r = 2, N = 6. The weights of the RNN model and the diffusion model in the local network are uploaded to the federation server for aggregation, and the present invention adopts the federation average algorithm to perform parameter aggregation update.
[0063] For a set of N r 'Renewable energy generation sites C i ,i=1,2,...,N r ′. Assume that the historical data of each site is D i ={x1,x2,...,x T},i=1,2,...,N r ′, D i As the input data of the local model. Client devices are deployed at each site. During the training process, each client device communicates with the server, uses the federated average algorithm to aggregate parameters, and trains a prediction model that can be used together, as shown in Table 2:
[0064] Table 2
[0065]
[0066] The federated average algorithm optimizes the key properties of federated learning, such as non-IID, imbalanced characteristics, and communication constraints. First, the local data set on the client device is used to train the local model, and then the parameters of each client are aggregated, which effectively improves the accuracy and generalization performance of the federated model; second, because client devices usually use data sets with different quantitative structures, the aggregated model is capable of processing heterogeneous data; finally, because each client only uploads the relevant parameters of the local model, it reduces a certain amount of communication overhead and reduces the number of communication rounds between the client and the server.
[0067] Specific implementation method four: Combination Figure 2 The present embodiment is different from the first to third embodiments in that the wind power plant power generation is predicted using the final prediction model, specifically:
[0068] Step (1), the historical power generation data of the wind power plant is passed through the RNN model to obtain the hidden state h t ' -1 ;
[0069] Step (2), randomly initialize a data set that conforms to the Gaussian distribution Initialize n = N;
[0070] Step (3), calculate the current denoised data
[0071]
[0072] in, is the data after the last denoising, α n =1-β n , β n is the variance of the removed Gaussian noise, z is a random number that conforms to the Gaussian distribution, and the intermediate variable σ θ =β n or
[0073] Step (4), determine whether n=1 is satisfied;
[0074] If n=1 is not satisfied, set n=n-1 and return to step (3);
[0075] If n = 1, then the obtained That is the predicted power generation of the wind power plant at time t.
[0076] The other steps and parameters are the same as those in Specific Embodiments 1 to 3.
[0077] For example, if we want to predict the wind power generation data for the first hour in the future, we input the historical data into the RNN network, and after predicting the wind power generation data for the first hour in the future according to the output of the RNN network, we use the wind power generation data for the first hour in the future as historical data to predict the wind power generation data for the second hour in the future, and so on. This implementation method can be used to denoise any set of noise data, thereby restoring a data distribution that is close to the real data. The specific algorithm is shown in Table 3:
[0078] Table 3
[0079]
[0080]
[0081] The reverse denoising process first converts the randomly sampled data And the hidden state h calculated by RNN t-1Input; let the time step from N to 1, calculate the mean and variance of the predicted noise at each moment, and get the distribution of the previous moment
[0082] Specific implementation method 5: This implementation method is different from any one of specific implementation methods 1 to 4 in that, in step 2, the number of green certificates generated by the wind power plant is calculated based on the wind power plant power generation forecast result and load, and the specific process is as follows:
[0083] The electricity market is defined as including m wind power plants, n thermal power plants and an energy storage device. According to the wind power plant power generation forecast results and user load demand D t Calculate the total cost of the electricity market, and then calculate the power generation of the wind power plant that minimizes the total cost of the electricity market;
[0084] The number of green certificates is then obtained based on the calculated power generation of the wind power plant.
[0085] The other steps and parameters are the same as those in Specific Embodiments 1 to 4.
[0086] Specific implementation method 6: This implementation method is different from the specific implementation methods 1 to 5 in that the cost of the wind power plant at time t is for:
[0087]
[0088] in, represents the operating cost of the wind power plant at time t, represents the load loss cost caused by inaccurate prediction of wind power generation of the wind power plant at time t;
[0089]
[0090] in, represents the calculated power generation of the j-th wind power plant at time t (calculated according to the DS-TD3 algorithm, which will be further explained later), It represents the coefficient that converts wind power output into power generation cost;
[0091] At the same time, the instability of current renewable energy generation forecasts will lead to weak control over renewable energy generation. Due to different degrees of forecast errors in load and wind power generation, when the actual load demand of the power grid is greater than the forecast or the actual wind power generation is less than the planned generation, the system will not be able to meet the load and bear certain penalty costs. In this model, it is assumed that only the situation where the actual wind power generation is lower than the planned generation is considered. However, since wind power forecasts cannot be completely accurate, a certain range of load losses is allowed. Beyond this range, the load loss penalty cost is included in the cost of the wind power plant:
[0092]
[0093] Among them, ζ is the load loss penalty factor, μ is the load loss ratio allowed by wind power, is the actual power generation of the jth wind power plant at time t;
[0094] The cost of a thermal power plant at time t for:
[0095]
[0096] in, represents the power generation of the i-th thermal power plant at time t, and Indicates the coefficient used to calculate the power generation cost (which can be determined according to actual conditions); parameter It refers to the fixed cost of a thermal power plant and has nothing to do with the amount of electricity generated by the thermal power plant;
[0097] Cost of energy storage equipment at time t for:
[0098]
[0099] Among them, c r is the cost of each full charge and discharge, c r =c / h, c is the purchase cost of the energy storage equipment, h is the number of times it is used without damage; C s is the capacity of the energy storage device; is the charging power at time t; is the discharge power at time t; is the charging mark at time t, Indicates that the energy storage device is charged. Indicates that the energy storage device stops charging; is the discharge mark at time t, Indicates that the energy storage device is discharged. Indicates that the energy storage device stops discharging;
[0100] The total cost F of the electricity market is:
[0101]
[0102]
[0103]
[0104]
[0105]
[0106]
[0107]
[0108]
[0109]
[0110] Wherein, T is the total number of hours (the specific value of T can be set according to actual conditions. If the green certificate generation stage only considers 1 hour, then T=1. If the green certificate generation stage considers several days at a time, then the total number of hours is the number of days multiplied by 24). a, b and c are importance factors, D t is the user load demand during the green certificate generation phase, is the power generation of the jth wind farm at time t output by the final prediction model obtained in step 1, represents the minimum power generation of the ith thermal power plant at time t, represents the maximum power generation of the i-th thermal power plant at time t, ΔT represents the length of the time period between time t and time t-1, represents the power generation of the i-th thermal power plant at time t-1, represents the maximum upward climbing rate of the i-th thermal power plant, represents the maximum downward climbing rate of the i-th thermal power plant, Indicates the minimum power for charging the energy storage device. Indicates the maximum power of the energy storage device charging, Indicates the minimum power of energy storage device discharge, Indicates the maximum power of the energy storage device discharged, represents the capacity of the energy storage device at time t, represents the capacity of the energy storage device at time t-1, C S Indicates the maximum capacity of the energy storage device;
[0111] The power generation of the jth wind farm at time t is calculated by minimizing the total cost F According to Calculate the number of green certificates for the jth wind power plant at time t Among them, α represents the proportion of wind power generation converted into green certificates.
[0112] The other steps and parameters are the same as those in Specific Implementation Methods 1 to 5.
[0113] In the total cost, is the set of all decision variables, a, b, c are importance factors, a+b+c=1,(a,b,c>0). The constraint of formula (1) ensures that the total power generation in the system should be equal to the total demand. The constraint of formula (2) ensures that the planned output of the wind power plant is not greater than the predicted power generation. The constraints of formula (3) and formula (4) ensure that the output of the thermal power plant does not exceed the capacity range and does not exceed the tolerable ramp rate of the power plant. The constraints of formula (5), formula (6), formula (7), formula (8) and formula (9) represent the constraints related to energy storage equipment. Formula (5) and formula (6) are responsible for constraining the charging and discharging power of the energy storage equipment, formula (7) and formula (8) indicate that the energy storage does not exceed the maximum capacity after performing the charging and discharging tasks, and formula (9) constrains the charging and discharging actions.
[0114] This model can be viewed as a sequential decision-making problem, and the interaction between the agent and the environment in reinforcement learning is such a process. The Markov Decision Process (MDP) is a mathematical framework used to describe sequential decision-making problems, assuming that the next state of the system is only related to the current state and the current operation. It provides a mathematical method for calculating the optimal strategy, that is, selecting the optimal action in each state to achieve the goal of maximizing the overall reward. Therefore, the present invention uses deep reinforcement learning to design a cost minimization strategy, and uses the Markov assumption to describe the environment of reinforcement learning, thereby simplifying the reinforcement learning modeling process. MDP can be expressed as a four-tuple in is the state set, For action sets, To perform action a PD After the state s PD Transformed to state s′ PD The probability of Is to perform action a PD The immediate reward function obtained.
[0115] Specific implementation method 7: This implementation method is different from any one of specific implementation methods 1 to 6 in that the DS-TD3 algorithm is used to minimize the total cost;
[0116] During the training process of the DS-TD3 algorithm, the system state, action, and reward functions are:
[0117] The system status is s PD = {D,W,P w,f ,P g,l}, where D is the predicted load, W is the capacity of the energy storage device before the current moment, is the maximum wind power generation of each wind farm, is the initial power generation of each thermal power plant;
[0118] Action is aPD = {P w ,P g,c ,P s},in, represents the decision-making power generation of each wind farm, represents the decision-making power generation ramp of each thermal power plant, P s =[p C ,p D ] represents the charge and discharge capacity of the energy storage device;
[0119] Reward Function for:
[0120]
[0121] in, is the cost of the j-th wind farm, is the cost of the i-th thermal power plant, C s (p C ,p D ) is the cost of energy storage equipment, represents the expectation, W′ is the set of wind power plants, and G is the set of thermal power plants.
[0122] The other steps and parameters are the same as those in Specific Embodiments 1 to 6.
[0123] After calculating the immediate reward, the system changes the state from s PD,t Update to s PD,t+1 At this time, after the thermal power plant ramps up and the energy storage equipment charges and discharges, the system needs to update the states W(t) and P g,l (t). If the energy storage device is charged or discharged, W(t) needs to be updated, and the status of the thermal power unit is also updated.
[0124] The goal of power generation scheduling and green certificate generation is to minimize the total cost, that is, to maximize the cumulative total reward, then:
[0125]
[0126] Among them, γ PD ∈[0,1] is the discount factor. If all power can satisfy the power balance constraint, the system will get a total reward R PD , otherwise there will be a penalty.
[0127] Specific implementation eight: This implementation differs from any one of specific implementations one to seven in that the objective function of the green certificate trading stage is:
[0128]
[0129]
[0130]
[0131]
[0132]
[0133]
[0134] 0≤C t ≤βW t (16)
[0135] in, is a set of decision variables (including thermal power plant generation scheduling And the number of green certificate transactions q i,j,t ), E p is the total carbon emissions, δ i is the carbon emission intensity per unit power of the i-th thermal power plant, D t ′ is the user load demand in the green certificate trading stage, k represents the number of thermal power plants participating in the green certificate trading stage, q i,j,t represents the number of green certificates traded between the i-th thermal power plant and the j-th wind power plant at time t, is the number of green certificates of the j-th wind power plant at time t-1, is the green certificate price of the j-th wind farm, is the minimum price of the green certificate stipulated. is the maximum price of the green certificate stipulated, is the expected price of the ith thermal power plant, is the minimum expected price of the thermal power plant, is the maximum expected price of the thermal power plant, C t is the final total cost of the thermal power plant, β is the maximum cost parameter allowed by the power plant, W t is the total revenue of the thermal power plant in the electricity market at time t.
[0136] The other steps and parameters are the same as those in Specific Embodiments 1 to 7.
[0137] The constraint of formula (10) ensures the balance of supply and demand of the power system. Formula (11) and formula (12) constrain the power generation range and ramp rate of thermal power plants. Formula (13), formula (14) and formula (15) are green certificate trading-related constraints, which jointly affect the power generation and carbon emission costs of thermal power plants. Among them, formula (13) means that the total number of certificates sold by wind power plants does not exceed the number of certificates redeemed at the previous moment. Formula (14) and formula (15) are green certificate price constraints, which constrain the green certificate prices of both parties to the transaction not to exceed the specified range. Finally, formula (16) constrains the total cost of thermal power plants, where W tis the total revenue from power generation at time t, obtained by multiplying the power generation by the electricity price. i,j,t represents the number of green certificates in a transaction and is an integer value, making the goal NP-hard.
[0138] Specific implementation method 9: This implementation method is different from specific implementation methods 1 to 8 in that the green certificate quotation of the wind power plant for:
[0139]
[0140] in, is the number of green certificates that the j-th wind power plant plans to put into the market at time t, and a1, b1 and c1 are the quotation function parameters;
[0141] Expected price of thermal power plants for:
[0142]
[0143] Among them, a2, b2 and c2 are the demand function parameters of thermal power plants. The number of green certificates planned to be purchased by the i-th thermal power plant at time t:
[0144]
[0145] Among them, η is the maximum carbon emission quota per unit of electricity;
[0146] The final total cost of the thermal power plant is C t for:
[0147]
[0148] in, represents the power generation cost of the i-th thermal power plant, C Penalty Penalize thermal power plants for excess carbon emissions that exceed their carbon emission limits;
[0149]
[0150] Among them, q i,j,t is the number of green certificates traded between wind power plant j and thermal power plant i at time t, E t is the carbon emission limit of thermal power plants, E t =ηP Dt , is the total power generation of thermal power plants participating in the green certificate trading stage, and f is the penalty for each carbon emission of the thermal power plant.
[0151] The other steps and parameters are the same as those in Specific Embodiments 1 to 8.
[0152] Specific implementation method 10: This implementation method is different from the specific implementation methods 1 to 9 in that the objective function of minimizing the green certificate trading stage adopts the DS-TD3 algorithm;
[0153] During the DS-TD3 algorithm training process, the system state, action, and reward functions are:
[0154] System Status CA,t = {D'(t),Q w,T (t),P g,l (t)}, where D′(t) is the predicted load demand, is the number of green certificates held by each wind power plant, is the initial power generation of the thermal power plant participating in the green certificate trading phase at time t;
[0155] System Action CA,t = {P g,c (t),Q w,s,T (t)}, where Indicates the power generation ramp-up of thermal power plants participating in the green certificate trading phase, Indicates the number of green certificates that each wind power plant has invested in the green certificate market;
[0156] The reward function is:
[0157]
[0158] in, is the calculated power generation of the i-th thermal power plant at time t.
[0159] The system status changes from s CA,t Update to s CA,t+1 , at this time, D′(t) and Q need to be updated according to the data w,T (t), while the thermal power unit is climbing, the system updates the status of the thermal power unit The goal of this model is to minimize the total carbon emissions of thermal power plants, that is, to maximize the cumulative total reward, then:
[0160]
[0161] If all powers can satisfy the power balance constraint, the system will get a total reward R CA , otherwise there will be a penalty.
[0162] The other steps and parameters are the same as those in Specific Embodiments 1 to 9.
[0163] TD3 is an algorithm based on the Actor-Critic framework. TD3 mainly consists of three modules: current network, target network, and experience replay pool. The current network is responsible for generating detailed strategies, mainly including two current critic networks and one current actor network. The target network is used to calculate the target value to assist the current critic network training. It has the same structure as the current network but slightly different parameters. The experience replay pool is used to store experience tuples (s i ,a i ,r i ,s i+1 ), when the network is trained, it will obtain random experience from the experience replay pool to break the correlation of the experience data.
[0164] In each training, the current Critic network parameter θ is updated using the randomly sampled tuple i :
[0165]
[0166]
[0167] Among them, γ is the discount factor, r is the current reward, s′ is the next state, and σ is the noise proposed by TD3 to increase network stability. At the same time, every d time steps, update the current Actor network parameters
[0168]
[0169] Among them, α is the learning rate of the current TD3 network.
[0170] The target network can be seen as a version of the current network with different parameters. In the TD3 algorithm, each time the current Actor network is updated, the target network parameters are updated. Both θ1′ and θ2′ will be soft updated:
[0171]
[0172] θ i ′=τθ i +(1-τ)θ i '
[0173] Where τ∈[0,1] is the update coefficient of the network parameters. The larger τ is, the greater the update degree of the target network is.
[0174] Ghada Sokar et al. first introduced the principle of dynamic sparse training into the field of deep reinforcement learning, and then proposed the DS-TD3 algorithm. This algorithm further reduced the system computing cost and improved the learning efficiency of the network. Based on the TD3 algorithm, this algorithm mainly made three improvements in network initialization, topology adaptation, and sparsity level maintenance.
[0175] In order to further improve the learning efficiency of the reinforcement learning algorithm, the DS-TD3 algorithm replaces the fully connected network in reinforcement learning with a sparse network. At the beginning of training, DS-TD3 uses sparse topology to initialize each Critic and Actor network, allocates sparse connections between the l-1 layer and the l layer hidden neurons, and uses the Erdos-Renyi graph method to randomly generate the sparse topology structure between each layer. The probability of generating connection j is:
[0176]
[0177] Among them, λ l represents the sparsity level of layer l, n l With n l-1 M are the number of hidden neurons in the l-1th layer and the lth layer respectively. j ∈{0,1},M j When the value of is 1, it means that there is a weight in position j, M j When the value of is 0, it means that there is no connection at this location. On this basis, a sparse topology is created for the Critic and Actor networks at each layer:
[0178]
[0179]
[0180] where ⊙ is an element-wise multiplication operator, and Represents the sparse weights in the current Actor network and the two current Critic networks respectively. The initial sparsity level of the network is not changed during training.
[0181] The parameters of the target Actor network and the target Critic network are θ1′ and θ2′. Initially, the sparse topology and weights of the target network are the same as those of the current network. After the topology and weights of all networks are initialized, the agent uses a pure exploration strategy to explore in the state space and then trains after collecting enough data.
[0182] In the process of network weight optimization, only the values of existing connections are updated, but the fixed network structure can easily lead to missing some very effective connections. The DS-TD3 algorithm proposes a topology adaptation process every e time steps. This allows the newly added connection weights to have time to develop to better evaluate their importance while creating a more effective topology. The entire adaptive process includes two steps: the first step is to remove the κ least important connections in each layer, which include the minimum positive weight subset and the maximum negative weight subset of all existing connections, that is, to remove the connections with weight values closest to zero; the second step is to add κ connections at random positions from the unused connections in each layer.
[0183] Finally, TD3 performs a delayed update of the target network every d steps, and the target network is soft-updated at a ratio of τ, rather than making the target network completely match the current network, which leads to a slow deviation between the sparse topology of the target network and the main network. Therefore, in the DS-TD3 network, the target network will slowly increase the number of non-zero connections over time. To solve this problem, the DS-TD3 algorithm will delete unnecessary connections (weight values closest to zero) after each target network update, so that the total number of connections is equal to the initial number of connections.
[0184] Table 4
[0185]
[0186]
[0187] The proposed green certificate generation or trading problems are summarized in Table 4. The network training process of the two problems is basically the same. The main difference is that in the interaction between the agent and the environment, the input state parameters, the action dimensions obtained, and the rewards calculated by the environment are different. First, the agent initializes the parameters of the three main networks, creates their sparse topology and updates them to the corresponding target network. At the beginning of each step, the data is first called to initialize the state parameters, and then trained in sequence from 1 to t. First, the state S is input into the Actor network to obtain the action a, where is the power generation dispatch strategy generated by the network, ∈ represents the random exploration of the agent. Next, the agent interacts with the green certificate generation environment to obtain the reward R imm and the next state s′, and (s,a,R imm ,s′) is stored in the playback buffer. Then, N records are taken from the playback buffer and y is calculated. PDThe Critic network is updated with the value. At the same time, according to the delayed Actor network update proposed by TD3, the Actor network is updated every d steps to minimize the loss in the Actor network. As shown in rows 11 and 12 in Table 4, since the optimal network structure cannot be found at one time during the training process, an adaptive scheme is used to update the sparse topology of the network every e steps during the training process. In addition, as the Actor network is updated, the target network is soft-updated. And because the delayed update of TD3 will cause the target network to be inconsistent with the current network structure, the algorithm will periodically delete additional connections to ensure the sparse connection level of the target network, as shown in row 14 in Table 4.
[0188] Experimental Section
[0189] The federated learning wind power forecasting framework of the present invention uses wind power data from multiple parties to jointly train an accurate and efficient wind power forecasting model while protecting data transmission security. The present invention uses real wind power data for network training, with a total of three clients, each of which has two wind turbines participating in the training.
[0190] This paper demonstrates the effect of federated learning in various client test sets, such as Figure 3a to Figure 3f As shown, the two images in each row are the prediction results of two wind turbines under a client. Since the Timegrad model predicts the power generation distribution of the wind turbine, in order to show the prediction results of federated learning, the present invention randomly selects 100 values in each prediction distribution, and then marks the predicted median, 50% and 90% distribution intervals of each prediction distribution value. The experimental results show that the trained model can basically fit the actual wind power generation situation in the next 24 hours in each client.
[0191] Figure 4a and Figure 4b This is the test result in a data set that does not participate in the training data distribution. At the same time, the prediction model trained by federated learning can be used to basically fit the data distribution. The experimental results on this data set show that the federated learning wind power prediction model proposed in the present invention has a certain migration ability and still has a certain prediction ability in the untrained data set.
[0192] At the same time, the present invention uses continuous ranked probability score (CRPS), standard deviation (ND) and normalized root mean square error (NRMSE) to evaluate the comparison results of the federated learning model for each client distribution prediction and the true value. Table 5 is the comparison result of the test results of the client test set participating in the training and the new distribution test set under different evaluation indicators. It can be clearly seen that the prediction results of the model under the new data distribution are slightly different from the prediction results of the distribution test set used by the client for training. It further shows that the model trained by the federated learning wind power prediction algorithm proposed in the present invention can be directly predicted on the data distribution that has not participated in the training.
[0193] Table 5 Comparison of test results under different evaluation indicators
[0194]
[0195] From the above experimental results, it can be seen that the federated learning wind power prediction model proposed in the present invention has good prediction accuracy and strong migration ability.
[0196] The performance of the proposed method was evaluated using Python and a real data set. All experiments were performed on a PC with a Core i7 CPU and 16.00GB RAM. The present invention considers a power generation module consisting of 6 thermal power plants, 3 wind power plants, and 1 energy storage device. The correlation coefficients of the thermal power plant are shown in Table 6;
[0197] Table 6 Unit parameters
[0198]
[0199] In the experiment, the actual wind power data and user load data are from Openei and NREL, and the wind power forecast data is obtained based on the federated learning wind power forecast model proposed in this invention. The activation function is set to (tanh(x)+1) / 2. The size of the Mini-batch is set to 100, and the maximum episodes in the green certificate generation stage is set to 6000. The algorithm network is set to update the sparse structure every 50 steps, and the sparse structure ratio is 0.05 each time.
[0200] In order to verify the performance of the green certificate generation algorithm, we introduced three benchmarking strategies at this stage:
[0201] (1) TD3-based algorithm: Change the reinforcement learning algorithm to TD3.
[0202] (2) Based on hill climbing algorithm: Use hill climbing algorithm to perform power generation scheduling during the green certificate generation stage.
[0203] (3) Based on simulated annealing algorithm: Use simulated annealing algorithm to perform power generation scheduling in the green certificate generation stage.
[0204] 1. Experimental results and numerical analysis of green certificate generation stage
[0205] The power dispatch results obtained based on the training are as follows: Figure 5 As shown, from Figure 5 It can be seen that the reinforcement learning algorithm can effectively dispatch wind and thermal power generation when given the predicted wind power generation, ensuring the effective and multiple generation of wind power while meeting the remaining load requirements by dispatching thermal power and balancing the market load demand.
[0206] Compare the proposed algorithm with the benchmark test. Figure 6 The training efficiency of different algorithms is demonstrated. Compared with the algorithm based on TD3, the algorithm of the present invention has a certain improvement in convergence speed. The reward value of the algorithm based on TD3 fluctuates greatly before reaching equilibrium, and the algorithm proposed by the present invention is better than the algorithm based on TD3 after reaching equilibrium. The specific reason is that the DS-TD3 algorithm continuously deletes some useless connections or connections that have a negative impact on the reward value during training, which enables it to eliminate the influence of useless connections faster than the TD3 algorithm, achieve convergence of the reward value, and produce better results.
[0207] When testing the trained algorithm on the test set, the present invention uses the data set of the same region at different times as the test set for testing, and compares and analyzes the test results with the three benchmark strategies, such as Figure 7 As shown, the results of the method of the present invention and the benchmark algorithm in the same test set are shown in the figure, which shows the daily power generation cost within five days. As can be seen from the figure, the costs calculated by the method of the present invention within 5 days are all lower than the costs of each benchmark algorithm. The power generation cost calculated by the algorithm based on TD3 is significantly lower than the cost calculated by the other two benchmark methods. The study found that because common heuristic algorithms such as hill climbing and simulated annealing require a detailed and accurate description of the environment, they are not adaptable enough to the complex unknown environment of power market dispatch; at the same time, because the present invention is a time series decision problem, it leads to more parameters required to calculate the power dispatch and green certificate generation plan within 5 days. Simple heuristic algorithms have insufficient computing power for high-dimensional action environments, especially simulated annealing algorithms. Due to the high dimensionality of the action, it is difficult to find new solutions for the later disturbances and meet their range requirements, thereby increasing the computing time of the computer and insufficient traversal range of the state space. Reinforcement learning can find the best action sequence from an unknown environment, which can effectively deal with dynamic decision-making problems and obtain better decisions.
[0208] 2. Experimental results and performance analysis of green certificate trading phase
[0209] The final output action result of the green certificate generation stage of the present invention is the power generation scheduling task at each moment. By processing the wind power generation task data therein, the number of green certificates held by the wind power plant at each moment can be obtained, which is the data input for the green certificate trading stage, thereby conducting training for the green certificate trading stage.
[0210] During the green certificate trading stage training, the amount of wind power green certificates held at each moment is used as input for reinforcement learning training to generate a 5-day green certificate trading strategy. Figure 8 The trading status of the green certificate market is shown after the trained model outputs the green certificate trading strategy in the testing phase. Figure 8 The amount of green certificates invested by wind power plants in the market within 5 days and the amount of green certificates successfully traded by power plants are listed in the table. It can be seen that after the reinforcement learning model training, under the influence of the current green certificate trading rules, wind power plants and thermal power plants can influence the successful trading of most green certificates in the market through their common trading intentions.
[0211] In order to verify the performance of the algorithm proposed in this invention, the following two benchmarking strategies are introduced in the green certificate trading stage:
[0212] (1) TD3-based algorithm: Change the reinforcement learning algorithm to TD3.
[0213] (2) Based on hill climbing algorithm: Use hill climbing algorithm to calculate the transaction content of green certificates.
[0214] (3) Based on simulated annealing algorithm: Use simulated annealing algorithm to calculate the green certificate transaction content.
[0215] Then, a comparative analysis was gradually conducted between the benchmark strategy and the algorithm of the present invention in terms of training efficiency, training results, etc. Fig. 9 The training efficiency of the environment under the algorithm of the present invention and the benchmark algorithm is demonstrated. Fig. 9 It can be seen that the algorithm of the present invention is significantly better than the algorithm based on TD3. Compared with the algorithm based on TD3, the algorithm of the present invention can significantly reduce the convergence time of learning without reducing the final result. The reason is that the DS-TD3 algorithm of the present invention further reduces the dense network in training to a sparse subnet, reducing the learning operations of useless or inefficient connections in the network. It can be obtained that during the training process, optimizing the sparse topology to adapt to the incoming data can increase the learning speed, so that the present invention reaches a convergence state faster than the algorithm based on TD3.
[0216] The trained algorithm is used to make green certificate trading decisions on the test set, and the data used in the test set are the data not used in training. Fig.10The results of the proposed algorithm and the benchmark algorithm in the same test set are shown. Fig.10 The carbon emissions for each of the five days are shown. Fig.10 It can be seen that the carbon emissions generated by the power generation strategies based on the two deep reinforcement learning algorithms are significantly smaller than the carbon emissions calculated by the two heuristic algorithms.
[0217] comprehensive Fig. 9 and Fig.10 It can be seen that in the green certificate trading stage, the algorithm proposed in this invention realizes the consumption of renewable energy through green certificate trading, while ensuring the cost of thermal power plants and effectively reducing carbon emissions. At the same time, its training efficiency in the green certificate trading environment is much higher than that of the algorithm based on TD3, and it can achieve a training effect that is almost the same as that of the TD3 algorithm in a shorter training time and training steps.
[0218] The above calculation examples of the present invention are only used to explain the calculation model and calculation process of the present invention in detail, and are not intended to limit the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the scope of protection of the present invention.
Claims
1. A privacy-preserving reinforcement learning green certificate trading method in energy internet, characterized in that: The method specifically comprises the following steps: Step 1: construct a wind power generation data prediction model based on federated learning, wherein the wind power generation data prediction model based on federated learning includes a plurality of clients and a server; After training the local models deployed on each client, the parameters of each local model are sent to the server, where the parameters of each local model are aggregated and the aggregated results are used as the parameters of the final prediction model. Step 2: Use the final prediction model to predict the power generation of the wind power plant, and then calculate the number of green certificates generated by the wind power plant based on the wind power plant power generation prediction results and user load; Step 3: Take the total carbon emissions of thermal power plants as the objective function of the green certificate trading stage, and realize the green certificate trading of wind power plants and thermal power plants by minimizing the objective function value.
2. The privacy-preserving reinforcement learning green certificate trading method in energy internet according to claim 1 is characterized in that: Each client trains a local model using local data, wherein the local model adopts a TimeGrad network, which includes an RNN model and a diffusion model; For any client, the training process of the local model is: Step 1: Local historical wind power generation data As training data, the training data passes through the RNN output hidden state h t-1 ; Step 2, initialization time n=1; Step 3: Generate data through the forward process of the diffusion model ε is Gaussian noise, Intermediate variable α s =1-β s , β s is the variance of the Gaussian noise added at the sth moment, s = 1, 2, …, n; Step 4: Based on the data The inverse process prediction noise of the diffusion model Update the parameters of the local model by stochastic gradient descent, that is, by minimizing To update the parameters of the local model, is the gradient with respect to θ, where θ is the parameter of the local model; Step 5: Determine whether n=N is satisfied, where N is the total number of moments; If n=N, the training process is completed; If n=N is not satisfied, set n=n+1 and return to step 3.
3. The privacy-preserving reinforcement learning green certificate trading method in the energy internet according to claim 2 is characterized in that: The parameters of each local model are aggregated on the server, specifically: Among them, N r represents the number of data indexes in the rth client, and N represents the sum of the number of data indexes in all clients. is the local model parameter trained by the rth client, w t+1 is the aggregated local model parameter, and R is the number of clients participating in the training.
4. The privacy-preserving reinforcement learning green certificate trading method in the energy internet according to claim 3 is characterized in that: The method of using the final prediction model to predict the power generation of the wind power plant is as follows: Step (1), the historical power generation data of the wind power plant is passed through the RNN model to obtain the hidden state h t ' -1 ; Step (2), randomly initialize a data set that conforms to the Gaussian distribution Initialize n = N; Step (3), calculate the current denoised data in, is the data after the last denoising, α n =1-β n , β n is the variance of the removed Gaussian noise, z is a random number that conforms to the normal distribution, and the intermediate variable σ θ =β n or Step (4), determine whether n=1 is satisfied; If n=1 is not satisfied, set n=n-1 and return to step (3); If n = 1, then the obtained That is the predicted power generation of the wind power plant at time t.
5. The privacy-preserving reinforcement learning green certificate trading method in the energy internet according to claim 4 is characterized in that: In the step 2, the number of green certificates generated by the wind power plant is calculated based on the wind power plant power generation forecast result and load, and the specific process is as follows: The electricity market is defined as including m wind power plants, n thermal power plants and an energy storage device. According to the wind power plant power generation forecast results and user load demand D t Calculate the total cost of the electricity market, and then calculate the power generation of the wind power plant that minimizes the total cost of the electricity market; The number of green certificates is then obtained based on the calculated power generation of the wind power plant.
6. The privacy-preserving reinforcement learning green certificate trading method in the energy internet according to claim 5 is characterized in that: The cost of the wind power plant at time t for: in, represents the operating cost of the wind power plant at time t, represents the load loss cost caused by inaccurate prediction of wind power generation of the wind power plant at time t; in, represents the calculated power generation of the jth wind farm at time t, It represents the coefficient that converts wind power output into power generation cost; Among them, ζ is the load loss penalty factor, μ is the load loss ratio allowed by wind power, is the actual power generation of the jth wind power plant at time t; The cost of a thermal power plant at time t for: in, represents the power generation of the i-th thermal power plant at time t, and Indicates the coefficient used to calculate the cost of electricity generation; Cost of energy storage equipment at time t for: Among them, c r is the cost of each full charge and discharge; C s is the capacity of the energy storage device; is the charging power at time t; is the discharge power at time t; is the charging mark at time t, Indicates that the energy storage device is charged. Indicates that the energy storage device stops charging; is the discharge mark at time t, Indicates that the energy storage device is discharged. Indicates that the energy storage device stops discharging; The total cost F of the electricity market is: Where T is the total number of hours, a, b and c are importance factors, D t is the user load demand during the green certificate generation phase, is the power generation of the jth wind farm at time t output by the final prediction model obtained in step 1, represents the minimum power generation of the ith thermal power plant at time t, represents the maximum power generation of the i-th thermal power plant at time t, ΔT represents the length of the time period between time t and time t-1, represents the power generation of the i-th thermal power plant at time t-1, r i down represents the maximum upward climbing rate of the i-th thermal power plant, r i up represents the maximum downward climbing rate of the i-th thermal power plant, Indicates the minimum power for charging the energy storage device. Indicates the maximum power of the energy storage device charging, Indicates the minimum power of energy storage device discharge, Indicates the maximum power of the energy storage device discharged, W t s represents the capacity of the energy storage device at time t, represents the capacity of the energy storage device at time t-1, C S Indicates the maximum capacity of the energy storage device; The power generation of the jth wind farm at time t is calculated by minimizing the total cost F According to Calculate the number of green certificates for the jth wind power plant at time t Among them, α represents the proportion of wind power generation converted into green certificates.
7. The privacy-preserving reinforcement learning green certificate trading method in the energy internet according to claim 6 is characterized in that: The DS-TD3 algorithm is used to minimize the total cost; During the training process of the DS-TD3 algorithm, the system state, action, and reward functions are: The system status is s PD = {D,W,P w,f ,P g,l }, where D is the predicted load, W is the capacity of the energy storage device before the current moment, is the maximum wind power generation of each wind farm, is the initial power generation of each thermal power plant; Action is a PD = {P w ,P g,c ,P s },in, represents the decision-making power generation of each wind farm, represents the decision-making power generation ramp of each thermal power plant, P s =[p C ,p D ] represents the charge and discharge capacity of the energy storage device; Reward Function for: in, is the cost of the j-th wind farm, is the cost of the i-th thermal power plant, C s (p C ,p D ) is the cost of energy storage equipment, represents the expectation, W′ is the set of wind power plants, and G is the set of thermal power plants.
8. The privacy-preserving reinforcement learning green certificate trading method in the energy internet according to claim 7 is characterized in that: The objective function of the green certificate trading stage is: 0≤C t ≤βW t (16) in, is the set of decision variables, E p is the total carbon emissions, δ i is the carbon emission intensity per unit power of the i-th thermal power plant, D t ′ is the user load demand in the green certificate trading stage, k represents the number of thermal power plants participating in the green certificate trading stage, q i,j,t represents the number of green certificates traded between the i-th thermal power plant and the j-th wind power plant at time t, is the number of green certificates of the j-th wind power plant at time t-1, is the green certificate price of the j-th wind farm, is the minimum price of the green certificate stipulated. is the maximum price of the green certificate stipulated, is the expected price of the ith thermal power plant, is the minimum expected price of the thermal power plant, is the maximum expected price of the thermal power plant, C t is the final total cost of the thermal power plant, β is the maximum cost parameter allowed by the power plant, W t is the total revenue of the thermal power plant in the electricity market at time t.
9. The privacy-preserving reinforcement learning green certificate trading method in the energy internet according to claim 8 is characterized in that: Green certificate quotation of the wind power plant for: in, is the number of green certificates that the j-th wind power plant plans to put into the market at time t, and a1, b1 and c1 are the quotation function parameters; Expected price of thermal power plants for: Among them, a2, b2 and c2 are the demand function parameters of thermal power plants. The number of green certificates planned to be purchased by the i-th thermal power plant at time t: Among them, η is the maximum carbon emission quota per unit of electricity; The final total cost of the thermal power plant is C t for: in, represents the power generation cost of the i-th thermal power plant, C Penalty Penalize thermal power plants for excess carbon emissions that exceed their carbon emission limits; Among them, q i,j,t is the number of green certificates traded between wind power plant j and thermal power plant i at time t, E t is the carbon emission limit of thermal power plants, E t =ηP Dt , is the total power generation of thermal power plants participating in the green certificate trading stage, and f is the penalty for each carbon emission of the thermal power plant.
10. The privacy-preserving reinforcement learning green certificate trading method in the energy internet according to claim 9 is characterized in that: The objective function of minimizing the green certificate trading stage adopts the DS-TD3 algorithm; During the DS-TD3 algorithm training process, the system state, action, and reward functions are: System Status CA,t = {D'(t),Q w,T (t),P g,l (t)}, where D′(t) is the predicted load demand, is the number of green certificates held by each wind power plant, is the initial power generation of the thermal power plant participating in the green certificate trading phase at time t; System Action CA,t = {P g,c (t),Q w,s,T (t)}, where Indicates the power generation ramp-up of thermal power plants participating in the green certificate trading phase, Indicates the number of green certificates that each wind power plant has invested in the green certificate market; The reward function is: in, is the calculated power generation of the i-th thermal power plant at time t.
Citation Information
Cited By
Regional power grid day-ahead scheduling method based on reinforcement learning and carbon-green evidence coupling
CN119944653A
