Load frequency control method based on deep reinforcement learning and confidence boundary

By introducing deep reinforcement learning and confidence boundary load frequency control methods in automatic power generation control, the traditional strategy is solved in coping with the problem of low efficiency when strong random load disturbances in integrated energy systems, and achieving higher load frequency control accuracy and system stability sex.

CN118889439APending Publication Date: 2024-11-01KUNMING UNIV OF SCI & TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410906869.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Traditional automatic power generation control strategies are inefficient in coping with strong random load disturbances brought by integrated energy systems and cannot meet the coordination and stability needs of heterogeneous energy subsystems.

Method used

Using the load frequency control method based on deep reinforcement learning and confidence boundaries, the reward function of area control error and control performance standards is designed, and a three-layer feedforward neural network is constructed to optimize the model characteristics by using double-precision deep Q network and maximum confidence boundary algorithm. Identify and express, balance the exploration and utilization of actions, and improve the accuracy of load frequency control.

Benefits of technology

It significantly improves the adaptability to strong random disturbances in the integrated energy system, enhances the convergence speed and convergence accuracy of reinforcement learning, reduces load frequency deviation and regional control error, and improves the control performance standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118889439A_ABST
    Figure CN118889439A_ABST
Patent Text Reader

Abstract

The invention relates to a load frequency control method based on deep reinforcement learning and a confidence boundary, and belongs to the technical field of automatic power generation control. According to the method, firstly, a double-precision deep Q network is used as a deep reinforcement learning framework, and the problem that an intelligent agent makes a decision in an uncertain and nonlinear environment is solved; secondly, designing a reinforcement learning reward function according to the regional control error and the control performance index of the load frequency control system, wherein the reward value is used for updating the network; then using a three-layer feed-forward deep neural network to complete establishment of a Q network and a target Q network so as to realize feature mapping and perform feature expression from a sample, saving a storage space in a learning process, using the network and combining a reward value to calculate an actual Q value and an expected Q value respectively, and calculating deviation loss of the actual Q value and the expected Q value; and finally updating the Q network and the target Q network by using gradient descent. And finally, introducing a maximum confidence boundary algorithm in the random exploration process of the control action to balance the selected probability of the random action, and then selecting a control action by using a greedy algorithm and combining a UCB algorithm to send the control action to the environment so as to complete control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a load frequency control method based on deep reinforcement learning and confidence boundary, and belongs to the technical field of automatic power generation control. Background Art

[0002] With the widespread use of new energy sources such as thermal energy, wind energy, and solar energy, the Integrated Energy System (IES) has become an inevitable trend in the development of the current power system. IES realizes the energy heterogeneity and multi-regional coordination of the power grid. Due to the heterogeneity of energy, strong random disturbances will occur when coordinating the heterogeneous subsystems, affecting the coordinated stability of the system. The traditional PID and PI automatic power generation control strategies can control the load by integrating historical data, current data, and predicted data of future changes in the system, but they are less efficient in solving the load disturbance problem caused by heterogeneous energy and are not suitable for the strong random disturbance problem caused by IES. The automatic power generation control strategy based on reinforcement learning is a new dynamic technology introduced to deal with the problem that the strong random disturbance caused by the integrated energy system (IES) affects the stability of the system. At the same time, the current automatic power generation control strategy based on deep reinforcement learning can solve the problem that the traditional generator set has low inertia and lacks load frequency regulation assistance, and cannot meet the coordinated stability requirements of the grid-connected heterogeneous energy subsystems. The study of the automatic power generation control strategy based on deep reinforcement learning aims to solve the problem that the traditional automatic power generation control strategy has low efficiency in dealing with the load disturbance caused by heterogeneous energy, which has important practical significance for improving the stability of the interconnected power system.

[0003] The technology of this invention is funded by the Yunnan Provincial Major Science and Technology Special Project (202302AD080002); the Industrial Innovation Talent Project of the "Xingdian Talent Support Plan" (Yunnan Development and Reform Personnel

[2019] No. 1096); the Key Project of the Yunnan Basic Research Plan (202201AS070029); and the Open Fund of the Yunnan Key Laboratory of Computer Technology Application (CB22144S073A). Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a load frequency control method based on deep reinforcement learning and confidence bounds, and to apply deep reinforcement learning to automatic power generation control to solve the problem of low efficiency of current automatic power generation control strategies in dealing with strong random load disturbances brought about by integrated energy systems.

[0005] The technical solution of the present invention is: a load frequency control method based on deep reinforcement learning and confidence bounds. The regional control error (ACE) and control performance standard 1 (CPS1) are considered in the design of the reinforcement learning reward function, and the reward value is used to update the parameters of the Q network and the target Q network. A three-layer feedforward neural network is used to build the Q network and the target Q network, the input and output dimensions are adjusted, the model feature recognition and expression effects are improved, and the network parameters are updated by gradient descent. The maximum confidence bound (UCB) algorithm is introduced in the random exploration process of control actions, and the probability of occurrence of each action is balanced in the random exploration process of actions. Finally, the intelligent agent sends a control action to the load frequency control environment, the intelligent agent makes corresponding load adjustments, and the adjusted data is fed back to the intelligent agent again.

[0006] The specific steps are:

[0007] Step 1: Use Double Deep Q-Network (DDQN) as the deep reinforcement learning framework to realize the interaction between the agent and the environment. At the same time, define sample data, initialize the weights of the Q network and the target Q network, and the data buffer size.

[0008] The agent provides control actions to the environment and records historical strategy sample data in the buffer. The environment is updated according to the control actions and feeds back the operation effect data to the agent. The sample data is used for training and updating the network in Step 4.

[0009] Step 2: According to the regional control error of the load frequency control power system, the control performance index and the number of regions of the load frequency control model environment, the reward function in the deep reinforcement learning framework is designed to adjust the reward value and penalty value of the agent's control action. The reward value is used to update the network parameters in Step 3.

[0010] Step 3: Randomly select sample data from the agent's buffer, update the Q value through iterative learning, update the deep learning network in the deep reinforcement learning framework, and use a three-layer feedforward deep neural network to complete the construction of the Q network and the target Q network to achieve feature mapping and feature expression from samples.

[0011] The network is used to train random samples selected from the buffer, and the actual Q value and the expected Q value are calculated. Finally, the Q network and the target Q network are updated by gradient descent.

[0012] Step 4: After the Q network is updated, the agent selects actions and randomly explores them. During the random exploration of actions, the maximum confidence boundary algorithm is introduced to balance the utilization and exploration of random actions.

[0013] The maximum confidence boundary algorithm calculates the confidence boundary value for the initial action set and balances the selection probability of each action when randomly selecting actions.

[0014] The maximum confidence boundary algorithm will select an action that has not been selected or an action with the maximum confidence boundary value during the random exploration of actions. This action is the control action finally selected by the intelligent agent during random action exploration.

[0015] Step 5: The agent selects the control action based on the ε-greedy algorithm, uses the Q network to select the action with the largest Q value or combines the maximum confidence boundary algorithm to select a random action, and finally selects a control action strategy to send to the environment to complete an iterative control of reinforcement learning. The environment is updated and adjusted according to the control action, and the adjusted running sample data is fed back to the agent.

[0016] Furthermore, the Step 1 is specifically as follows:

[0017] Step 1.1: The double-precision deep Q network follows the Markov decision process and defines the sample data as (s t ,a t ,r t ,s t+1 ), the one-minute moving average of the control performance index of the power system and the regional control error is used as the learning state s of the agent, the initial action set of the control action a is [-50, -40, -30, -20, -10, 0, 10, 20, 30, 40, 50], the reward value r is calculated by the reward function, the buffer size for storing historical learning data is set to 10000, and the recording of reinforcement learning sample data is completed;

[0018] Step 1.2: Initialize the weights of the Q network and the target Q network, set the initial parameters of the learning rate, ε and discount factor γ, complete the preliminary design of the reinforcement learning framework, and the agent buffer stores historical learning sample data, which is used to update network parameters.

[0019] Furthermore, the Step 2 is specifically as follows:

[0020] The control performance index CPS1 and the area control error ACE in the learning process are recorded in real time, and the reward function of reinforcement learning is designed. The reward function value is calculated according to the two cases where the control performance index value is greater than 200 and less than 200. The reward value of the action is involved in the calculation of the target Q value and is used to update the network parameters.

[0021]

[0022] m is the total number of regions in the load frequency control power system model, k is the accumulated count value 1≤k≤m, and η is the value of the adjustment penalty intensity.

[0023] Furthermore, the Step 3 is specifically as follows:

[0024] Step 3.1: Use a three-layer feedforward deep propagation neural network to build a Q network and a target Q network. The Q network is used to calculate the actual Q value, and the target Q network is used to calculate the expected Q value. The DDQN-UCB model is learned by continuously adjusting the number of input and output layers, and the learning convergence speed and convergence accuracy of the model after each adjustment are compared to determine the input and output sizes. Finally, the input and output dimensions are set to 9 and 17.

[0025] Step 3.2: After the Q network and the target Q network are built, extract some historical learning data (s t ,a t ,r t ,s t+1 ) is input into the network for training and learning.

[0026] Step 3.3: Use the Q network to calculate the input state s t The Q value of s is found t The best action is the action with the largest Q value, and then the Q network is used again to extract the Q value corresponding to the action, which is the actual Q value.

[0027] Step 3.4: For the next state s t+1 Use the Q network to calculate the Q value and find each s t+1 The best action is the action with the largest Q value.

[0028] Step 3.5: Calculate s using the target Q network t+1 The Q value of , and extract the Q value corresponding to the best action, which is the discounted Q value.

[0029] Step 3.6: Calculate the target Q value, which is the current reward r t Add s t+1 The discounted Q value, r t Calculated by the reward function described in Step 2.

[0030] Step 3.7: Use the smooth loss Huber function to calculate the loss between the actual Q value and the target Q value. The loss function combines the mean square error MSE and the mean absolute error MAE, which is more robust to outliers. The loss value is an indicator of the convergence accuracy of reinforcement learning. The smaller the value, the smaller the error between the actual Q value and the target Q value, that is, the higher the accuracy.

[0031] Step 3.8: Clear the gradient in the optimizer so that the next iteration is not affected by the previous gradient. Then back propagate to calculate the current gradient, update the network parameters by gradient descent, and complete the update of the Q network and the target Q network.

[0032] Furthermore, the Step 4 is specifically as follows:

[0033] Step 4.1: After the network parameters are updated, the agent begins to control the selection of actions and random exploration of actions. The initial reward value of each action is randomly generated using normal distribution, and the reward R∈(0,1) is initialized to increase the randomness of the probability exploration of each action in the candidate action set [-50, -40, -30, -20, -10, 0, 10, 20, 30, 40, 50] being selected in the random action exploration.

[0034] Step 4.2: After the reward is initialized in Step 4.1, perform reward prediction calculation for each control action and record the cumulative number of times each action is selected. If the cumulative number of times an action is selected is 0, select the action directly, otherwise execute Step 4.3.

[0035] Step 4.3: Calculate the confidence boundary value of each action, and use the argMax method to select the action with the largest confidence boundary value.

[0036] Furthermore, the Step 5 is specifically as follows:

[0037] Step 5.1: In the current state s t Next, we first use the Q network to calculate s t The Q-values ​​of all possible actions.

[0038] Step 5.2: Randomly generate a parameter between 0 and 1. If the parameter is greater than ε, select the action with the maximum Q value. If the parameter is less than or equal to ε, use the maximum confidence bound algorithm to select the control action.

[0039] Finally, the agent completes the selection of a control action and sends it to the environment for adjustment. The environment will adjust the data (s t ,a t ,r t ,s t+1 ) is fed back to the agent again.

[0040] The beneficial effects of the present invention are as follows: the present invention has good adaptability to the strong random disturbances brought by the integrated energy system. At the same time, compared with the existing load control strategy based on reinforcement learning, the present invention effectively improves the convergence speed and convergence accuracy of reinforcement learning, that is, the deviation between the actual Q value and the expected Q value is reduced; the accuracy of load frequency control is improved, that is, the load deviation Δf is reduced, the regional control error ACE becomes smaller, and the control performance standard CPS1 increases. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a schematic diagram of an IEEE dual-area load frequency control power system used for pre-learning and testing in an embodiment of the present invention;

[0042] Figure 2 is a comparison diagram of the convergence of pre-learning of various algorithms in the embodiment of the dual-area load frequency control power system of the present invention;

[0043] Figure 3 is a pre-learning CPS1 variation diagram of an embodiment of the present invention;

[0044] Figure 4 is a schematic diagram of a multi-area load frequency control power system for pre-learning and testing in an embodiment of the present invention;

[0045] Figure 5 is a test result diagram of a load mutation test in an embodiment of the present invention;

[0046] Figure 6 4 is a load frequency deviation test result diagram of a random load disturbance test in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The present invention will be further described below in conjunction with the accompanying drawings and specific implementation methods.

[0048] Embodiment 1: A load frequency control method based on deep reinforcement learning and confidence bound (DDQN-UCB), the specific steps are:

[0049] Step 1: Build Figure 1 The dual-area load frequency control system model shown is used as an environment for reinforcement learning.

[0050] Step 2: Initialize the weights of the reinforcement learning Q network and the target Q network, initialize parameters such as ε and γ, initialize the buffer size, initialize the action set, and define the sample data as (s t ,a t ,r t ,s t+1 ).

[0051] The agent can provide control actions to the environment and record historical strategy sample data to the buffer. The environment can be updated according to the control actions and provide feedback on the operating effect data to the agent.

[0052] Step 3: Design a reinforcement learning reward function based on the load frequency control effectiveness measurement index regional control error ACE and the control performance index CPS1. The reward function is used to update the network parameters in Step 4.

[0053] Step 4: Use a three-layer feedforward deep neural network to complete the construction of the Q network and the target Q network to achieve feature mapping and express features from the samples. According to the constructed environment, the input layer dimension is adjusted to 9 and the output layer dimension is adjusted to 17. The Q network is used to calculate the actual Q value, and the target Q network is used to calculate the expected Q value. The Huber loss function is used to calculate the error between the estimated value and the actual value. Finally, moderate descent is used to update the network parameters to complete the update of the Q network and the target Q network.

[0054] Step 5: Based on the previous four steps, the maximum confidence boundary algorithm is introduced in the process of reinforcement learning decision action exploration to balance the use of decision actions and random exploration. The initial reward value of each action is randomly generated using normal distribution, and the reward R∈(0,1) is initialized; after the reward is initialized, the reward prediction calculation is performed for each control action, and the cumulative number of times each action is selected is recorded. If the cumulative number of times an action is selected is 0, the action is directly selected, otherwise the confidence boundary value of each action is calculated, and the argMax method is used to select the action with the maximum confidence boundary value;

[0055] Step 6: After the UCB algorithm is designed, the agent selects the control action based on the ε-greedy algorithm, combined with the UCB algorithm introduced in Step 5, and finally selects an optimal strategy to feed back to the environment, completing an iterative control of reinforcement learning.

[0056] Step 7: Pre-learn 8000 segments of the DDQN-UCB algorithm built in the first six steps, and then test the control performance of the DDQN-UCB load frequency control network with a priori capability after pre-learning.

[0057] The present invention is described in detail below through specific examples:

[0058] Simulation environment construction and data description:

[0059] The present invention uses PyCharm to conduct experiments, uses transfer in the scipy package to simulate the load frequency control model, and uses the model as an environment for reinforcement learning. The present invention uses the Pytorch framework to conduct experiments, build the DDQN framework, and complete the fusion of the DDQN improvement and the maximum confidence boundary algorithm.

[0060] Implementation process:

[0061] according to Figure 1 The IEEE dual-area load frequency control model reinforcement learning environment was built, and the model parameters used in the experiment were set according to the parameters in Table 1. After the DDQN framework was built, the reward function was updated, the deep neural network was set, and the maximum confidence edge algorithm was integrated, the DDQN-UCB method was designed. The reward function of the dual-area load frequency control model was designed as follows:

[0062]

[0063]

[0064] Table 1: Power system parameter settings for pre-study and testing

[0065] According to the actual situation of load frequency control, the load frequency deviation Δf and the control performance index CPS1 are used as the measurement indicators of system stability, and the Huber loss function is used to calculate the loss value of the actual Q value and the expected Q value. This value is the convergence accuracy evaluation indicator of reinforcement learning.

[0066] The DDQN-UCB reinforcement learning method was pre-learned and compared with five other automatic power generation strategies based on reinforcement learning. A continuous sinusoidal load disturbance with an amplitude of 1000MW was connected to the load frequency control system to pre-learn each algorithm, and the changes in convergence accuracy during the pre-learning process were recorded. Figure 2 As shown, the control performance index CPS1 is recorded as Figure 3 As shown;

[0067] The DDQN-UCB controller with prior knowledge after pre-learning was put into the constructed IEEE dual-area load frequency control power system for control performance test. A sinusoidal load disturbance with an amplitude of 1000MW was connected to the load frequency control system for sinusoidal disturbance test and the test results are recorded in Table 2. A step load disturbance with an amplitude of 1000MW was connected for step disturbance test and the test results are recorded in Table 3.

[0068]

[0069] Table 2: Sinusoidal load disturbance test results

[0070]

[0071] Table 3: Step load disturbance test results

[0072] The pre-learning and control performance evaluation is extended from the dual-region interconnected power system to the load frequency control of the multi-region heterogeneous interconnected power system. Figure 4 As shown in the figure, a multi-region load frequency control model reinforcement learning environment is built, and the model parameters used in the experiment are set according to the parameters in Table 1; according to the construction of the multi-region system, the construction of the DDQN framework is updated, the reward function is updated, the input and output dimensions of the deep neural network are set, and the maximum confidence edge algorithm is integrated to design the DDQN-UCB method suitable for multi-region load frequency control. The reward function suitable for the multi-region load frequency control environment is designed as follows:

[0073]

[0074] On the basis of the above, a continuous sinusoidal load disturbance with an amplitude of 1000MW is connected to the system for pre-learning of the DDQN-UCB reinforcement learning method, and the control accuracy of the pre-learned load frequency deviation Δf, ACE and CPS1 are recorded in Table 4.

[0075]

[0076] Table 4: Multi-area load frequency control pre-learning results

[0077] The DDQN-UCB control network with prior knowledge after pre-learning was put into the multi-region load frequency control power system to test the control performance. A load disturbance with an amplitude of 1000MW was connected to the load frequency control system to simulate a sudden increase in the power system load to 1000MW, and the load change of the DDQN-UCB control network was recorded. The test results are as follows: Figure 5 As shown. Introduce random load disturbance to conduct random disturbance test and record the test results in Table 5. The adjustment change of Δf is as follows Figure 6 shown.

[0078]

[0079] Table 5: Random load disturbance test results

[0080] According to the above analysis, the method recorded in this embodiment has advantages in pre-learning convergence accuracy and convergence speed, and after a series of control performance tests, the control method proposed in the present invention is effective in improving the load frequency control accuracy of dual-area and multi-area heterogeneous interconnected power systems.

[0081] The specific implementation modes of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.

Claims

1. A load frequency control method based on deep reinforcement learning and confidence bound, characterized in that: The method comprises: Step 1: Use the double-precision deep Q network as the deep reinforcement learning framework to realize the interaction between the agent and the environment. At the same time, define the sample data, initialize the weights of the Q network and the target Q network, and the data buffer size; The agent provides control actions to the environment and records historical strategy sample data to the buffer, and the environment is updated according to the control actions and feeds back the operation effect data to the agent; Step 2: Design a reward function in the deep reinforcement learning framework according to the regional control error of the load frequency control power system, the control performance index, and the number of regions of the load frequency control model environment; Step 3: Randomly select sample data from the agent's buffer, update the Q value through iterative learning, update the deep learning network in the deep reinforcement learning framework, and use a three-layer feedforward deep neural network to complete the construction of the Q network and the target Q network; Use the network to train random samples selected from the buffer, and complete the calculation of actual Q value and expected Q value, and finally update the Q network and target Q network by gradient descent; Step 4: After the Q network is updated, the agent selects actions and randomly explores them. In the process of random exploration of actions, the maximum confidence boundary algorithm is introduced to balance the use and exploration of random actions. The maximum confidence boundary algorithm calculates the confidence boundary value of the initial action set and balances the selection probability of each action when randomly selecting actions; The maximum confidence boundary algorithm will select an action that has not been selected or an action with the maximum confidence boundary value during the random exploration of actions. This action is the control action finally selected by the agent during the random action exploration. Step 5: The agent selects the control action based on the ε-greedy algorithm, uses the Q network to select the action with the largest Q value or combines the maximum confidence boundary algorithm to select a random action, and finally selects a control action strategy to send to the environment to complete an iterative control of reinforcement learning. The environment is updated and adjusted according to the control action, and the adjusted running sample data is fed back to the agent.

2. The load frequency control method based on deep reinforcement learning and confidence bound according to claim 1, characterized in that: The Step 1 is specifically as follows: Step 1.1: The double-precision deep Q network follows the Markov decision process and defines the sample data as (s t ,a t ,r t ,s t+1 ), the one-minute moving average of the control performance index of the power system and the regional control error is used as the learning state s of the agent, the initial action set of the control action a is [-50, -40, -30, -20, -10, 0, 10, 20, 30, 40, 50], the reward value r is calculated by the reward function, the buffer size for storing historical learning data is set to 10000, and the recording of reinforcement learning sample data is completed; Step 1.2: Initialize the weights of the Q network and the target Q network, set the initial parameters of the learning rate, the random selection probability ε of the ε-greedy algorithm, and the discount factor γ, complete the preliminary design of the reinforcement learning framework, and the agent buffer stores historical learning sample data, which is used to update network parameters.

3. The load frequency control method based on deep reinforcement learning and confidence bound according to claim 1, characterized in that: The Step 2 is specifically as follows: The control performance index CPS1 and the regional control error ACE in the learning process are recorded in real time, and the reward function of reinforcement learning is designed. The reward function value is calculated according to the two cases where the control performance index value is greater than 200 and less than 200. The reward value of the action participates in the calculation of the target Q value and is used to update the network parameters. m is the total number of regions in the load frequency control power system model, k is the accumulated count value 1≤k≤m, and η is the value of the adjustment penalty intensity.

4. The load frequency control method based on deep reinforcement learning and confidence bound according to claim 1, characterized in that: The Step 3 is specifically as follows: Step 3.1: Use a three-layer feedforward deep propagation neural network to build a Q network and a target Q network. The Q network is used to calculate the actual Q value, and the target Q network is used to calculate the expected Q value. Finally, the input and output dimensions are set to 9 and 17; Step 3.2: After the Q network and the target Q network are built, extract some historical learning data (s t ,a t ,r t ,s t+1 ) is input into the network for training and learning; Step 3.3: Use the Q network to calculate the input state s t The Q value of s is found t The best action is the action with the largest Q value, and then the Q network is used again to extract the Q value corresponding to the action, which is the actual Q value; Step 3.4: For the next state s t+1 Use the Q network to calculate the Q value and find each s t+1 The best action is the action with the largest Q value; Step 3.5: Calculate s using the target Q network t+1 The Q value of the optimal action is extracted as the discounted Q value. Step 3.6: Calculate the target Q value, which is the current reward r t Add s t+1 The discounted Q value, r t Calculated by the reward function described in Step 2; Step 3.7: Use the smooth loss Huber function to calculate the loss between the actual Q value and the target Q value; Step 3.8: Clear the previous learning gradient in the optimizer, then back-propagate to calculate the current gradient, update the network parameters through gradient descent, and complete the update of the Q network and the target Q network.

5. The load frequency control method based on deep reinforcement learning and confidence bound according to claim 1, characterized in that: The Step 4 is specifically as follows: Step 4.1: After the network parameters are updated, the agent starts to control the selection of actions and random exploration of actions. The initial reward value of each action is randomly generated using normal distribution, and the reward R∈(0,1) is initialized to increase the randomness of the probability exploration of each action in the candidate action set [-50, -40, -30, -20, -10, 0, 10, 20, 30, 40, 50] being selected in the random action exploration. Step 4.2: After the reward is initialized in Step 4.1, the reward prediction calculation is performed for each control action, and the cumulative number of selections of each action is recorded. If the cumulative number of selections of an action is 0, the action is directly selected, otherwise Step 4.3 is executed; Step 4.3: Calculate the confidence boundary value of each action and select the action with the largest confidence boundary value.

6. The load frequency control method based on deep reinforcement learning and confidence bound according to claim 1, characterized in that: The Step 5 is specifically as follows: Step 5.1: In the current state s t Next, we first use the Q network to calculate s t The Q-values ​​of all possible actions; Step 5.2: Randomly generate a parameter between 0 and 1. If the parameter is greater than ε, select the action with the maximum Q value. If the parameter is less than or equal to ε, use the maximum confidence boundary algorithm to select the control action. Finally, the agent completes the selection of a control action and sends it to the environment for adjustment. The environment will adjust the data (s t ,a t ,r t ,s t+1 ) is fed back to the agent again.

Citation Information

Cited By

  • Method for controlling load frequency of power system by using deep reinforcement learning

    CN119134338A

  • Ultra-dense heterogeneous network access method, apparatus and device, and storage medium

    CN120343585A