A black start wind power prediction method based on super capacity energy storage

Through a hybrid prediction model that combines deep learning and physical models, combined with reinforcement learning to optimize the super-capacity energy storage system, the problem of wind power prediction and energy storage dispatching during the black start process of the wind farm is solved, and efficient and stable power supply is achieved.

CN118523318BActive Publication Date: 2024-10-18XIAN THERMAL POWER RES INST CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410974865.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-18
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

When a wind farm encounters a power grid failure or a large-scale power outage, it is still a difficult problem how to accurately predict wind power and rationally dispatch the over-capacity energy storage system to ensure the stable and efficient operation of the black start process.

Method used

Deep learning, physical model, reinforcement learning and other technologies are used to build a hybrid prediction model. Through historical operation data and real-time monitoring data, the charging and discharging strategy of the super-capacity energy storage system is optimized to achieve collaborative optimization of wind power prediction and energy storage system dispatching.

Benefits of technology

It significantly improves the accuracy of wind power prediction and the flexible dispatching capability of over-capacity energy storage systems, and enhances the operational stability of wind farms during black start and the rapid recovery capability of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118523318B_ABST
    Figure CN118523318B_ABST
Patent Text Reader

Abstract

The present invention discloses a black start wind power prediction method based on super capacity energy storage, including collecting historical operation data and real-time monitoring data of wind farms, using deep learning algorithms to train wind power prediction models; using adaptive filtering algorithms to suppress noise and optimize sensor data, and using reinforcement learning algorithms to optimize the charging and discharging strategies of super capacity energy storage systems; integrating physical models and data-driven models to construct hybrid prediction models, and optimizing each prediction model through model integration technology; and adjusting the operation mode of the super capacity energy storage system in real time according to the results of the wind power prediction model, including dynamically adjusting the working state of the energy storage system according to the optimized charging and discharging strategy. The present invention significantly improves the operating stability of wind farms during black start, and ensures the rapid recovery and safe operation of the power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wind farm black start, and in particular to a black start wind power prediction method based on super capacity energy storage. Background Art

[0002] Wind farms play an important role in the power system, and their stable output of electricity is crucial to the safe operation of the power grid. However, wind farms are affected by many factors such as wind speed, wind direction, and meteorological conditions, and their output power is highly volatile and uncontrollable. In the event of a power grid failure or a large-scale power outage, quickly restoring power supply (i.e., black start) is a key challenge. Ultra-capacity energy storage systems are considered to be an effective solution to support black starts in wind farms due to their fast response and high power density. However, how to accurately predict wind power and reasonably dispatch energy storage systems to ensure stable and efficient operation during the black start process remains an important issue that needs to be addressed. Summary of the invention

[0003] In view of the above existing problems, the present invention is proposed.

[0004] Therefore, the present invention provides a black start wind power prediction method based on super-capacity energy storage, which improves the accuracy of wind power prediction by comprehensively utilizing advanced technologies such as deep learning, physical models and reinforcement learning, and optimizes the scheduling strategy of the super-capacity energy storage system to achieve stable and efficient operation during the black start process.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions, a black start wind power prediction method based on super capacity energy storage, comprising:

[0006] Collect historical operation data and real-time monitoring data of wind farms, and use deep learning algorithms to train wind power prediction models;

[0007] Adaptive filtering algorithms are used to suppress noise and optimize sensor data, and reinforcement learning algorithms are used to optimize the charging and discharging strategies of ultra-capacity energy storage systems.

[0008] Integrate physical models and data-driven models to build hybrid prediction models, and optimize each prediction model through model integration technology;

[0009] The hybrid prediction model is constructed by combining the physical model constructed based on the prediction of the deep learning model with the geographical and meteorological conditions of the wind farm to form a hybrid prediction model;

[0010] Use deep learning models to predict wind power in the current cycle:

[0011] ,

[0012] in, Indicates that deep learning models will The wind power forecast value at a time point, Model represents the trained deep learning model, Represents the data input to the deep learning model, including normalized sensor data,

[0013] Construct a physical model to predict wind power output based on the geographical and meteorological conditions of the wind farm; the inputs to the physical model include geographical conditions and meteorological conditions; the geographical conditions include the geographical location and terrain characteristics of the wind farm; the meteorological conditions include wind speed ,wind direction ,temperature ,humidity ;

[0014] Physical model formula:

[0015] ,

[0016] in, Indicates that the physical model will The wind power forecast value at a time point is represents the wind energy conversion efficiency, represents the air density, represents the swept area of ​​the wind wheel, Indicates the future The wind speed at a point in time, Indicates the future The wind direction at a certain point in time, Indicates the installation angle of the wind wheel;

[0017] The deep learning model predicts the results Prediction results with physical models Fusion to form a hybrid prediction model , the formula is as follows:

[0018] ,

[0019] in, For hybrid models in the future The wind power forecast value at a time point is For the fusion coefficient, adjust the weights of the deep learning model and the physical model;

[0020] Using hybrid models Predict wind power in the current period;

[0021] The optimization of each prediction model includes comprehensively optimizing the prediction results of the deep learning model, the physical model and the hybrid model using a weighted average method:

[0022] ,

[0023] in, represents the wind power forecast value after weighted average; represents the weighting coefficient, satisfying ;

[0024] The stacking ensemble method is used to further optimize the prediction results, and the prediction results of each model are used as new input features to train the unary learning model:

[0025] The first layer model output:

[0026] ,

[0027] The second layer model is the meta-learning model:

[0028] ,

[0029] Represents the output of the first layer model, which serves as the input feature of the meta-learning model; Represents a meta-learning model; represents the wind power prediction value after stacking integration;

[0030] According to the results of the wind power prediction model, the operation mode of the super-capacity energy storage system is adjusted in real time, including dynamically adjusting the working state of the energy storage system according to the optimized charging and discharging strategy.

[0031] As a preferred solution of the black start wind power prediction method based on overcapacity energy storage described in the present invention, the historical operation data and real-time monitoring data include historical wind speed data, historical wind direction data, historical temperature data, historical humidity data, power generation data, equipment operation status data, historical overcapacity energy storage system charging and discharging data, real-time wind speed data, real-time wind direction data, real-time temperature data, real-time humidity data, real-time power generation data, real-time equipment operation status data and real-time overcapacity energy storage system charging and discharging data.

[0032] As a preferred solution of the black start wind power prediction method based on super capacity energy storage described in the present invention, the training wind power prediction model includes collecting wind speed ,wind direction ,temperature ,humidity The data is normalized, and the normalization formula is:

[0033] ,

[0034] in, is the original data, and are the minimum and maximum values ​​of the data respectively;

[0035] Construct a deep neural network model, assuming that the input layer contains Nodes, representing the normalized input data:

[0036] ,

[0037] The number of nodes in each hidden layer is , the activation function is ReLU:

[0038] ,

[0039] in, is the weight matrix, is the bias vector, represents the hidden state of the previous time step;

[0040] The output layer contains one node, which represents the predicted wind power :

[0041] ,

[0042] in, is the output layer weight matrix, is the output layer bias vector, represents the output of the last hidden layer; Represents the normalized wind speed data; Represents the normalized wind direction data; Represents normalized temperature data; Represents the normalized humidity data;

[0043] For model training, the mean square error (MSE) is used as the loss function, which is defined as:

[0044] ,

[0045] in, is the sample size, is the real wind power, To predict wind power;

[0046] The Adam optimization algorithm is used to optimize the model parameters and To optimize, the update rule is:

[0047] ,

[0048] in, represents the model parameters at the t+1th iteration, Represents the model parameters at the tth iteration, including the weight matrix and bias vector; is the learning rate, and are the bias correction values ​​of the first-order moment estimate and the second-order moment estimate of the gradient, respectively, and are defined as:

[0049] ,

[0050] in, and They are the moving average of the gradient and the moving average of the square of the gradient, respectively, and the update rule is:

[0051] ,

[0052] in, and is the attenuation rate, usually taken as is a constant used to prevent the denominator from being zero. represents the moving average of the gradient at the t-1th iteration, Represents the moving average of the squared gradient at the t-1th iteration; Represents the gradient of the loss function with respect to the parameters;

[0053] The real-time monitoring data is input into the trained deep neural network model after the same normalization process to perform wind power prediction:

[0054] ,

[0055] in, is the real-time data time point, is the neural network model obtained after training based on the normalized input of real-time data. Represents the normalized input of real-time data.

[0056] As a preferred solution of the black start wind power prediction method based on super capacity energy storage described in the present invention, the adaptive filtering algorithm includes collecting sensor data , including wind speed ,wind direction ,temperature ,humidity , the Kalman filter is used to perform preliminary smoothing and noise suppression on the data, where the initial state vector and the state covariance matrix The details are as follows:

[0057] ,

[0058] ,

[0059] in, They are the initial wind speed, wind direction, temperature and humidity respectively; are the initial variances of wind speed, wind direction, temperature, and humidity respectively;

[0060] Update time and predict status and covariance , as follows:

[0061] ,

[0062] Covariance prediction:

[0063] ,

[0064] in, is the state transfer matrix, which indicates the change of state over time; B is the control matrix, represents the control vector; Represents the process noise covariance matrix; performs measurement updates and calculates the Kalman gain , and update the status and covariance ; The Kalman gain is as follows:

[0065] ,

[0066] in, represents the measurement matrix, represents the measurement noise covariance matrix;

[0067] Status Update:

[0068] ,

[0069] Covariance update:

[0070] ,

[0071] Particle filters are used to process nonlinear and non-Gaussian noise. The particle set is expressed as:

[0072] ,

[0073] in, Indicates The initial state of a particle, Indicates The initial weight of each particle;

[0074] Perform state transfer for each particle:

[0075] ,

[0076] in, Indicates that the particle state is The state transfer function under represents process noise;

[0077] Update the particle's weight based on the measurement:

[0078] ,

[0079] in, Indicates the state transition of particles; represents the update weight; Represents the measured data at time k, including wind speed ,wind direction ,temperature ,humidity ; Indicates that in the particle state Get the measured data The likelihood probability of ;

[0080] Resample the particles according to the weights to form a new particle set, and fuse the data processed by the Kalman filter and the particle filter as the final input data for the deep learning model:

[0081] ,

[0082] in, is a weight parameter used to adjust the fusion ratio of Kalman filter and particle filter, and its value range is (0,1); represents the total number of particles;

[0083] After optimizing the data Standardization is performed to eliminate the differences between data of different dimensions:

[0084] ,

[0085] represents the standardized data, represents the mean of the data, Indicates the standard deviation of the data;

[0086] Organize the standardized data into an input format acceptable to the deep learning model, usually a time series data format:

[0087] ,

[0088] A matrix representing the time series data input to the deep learning model; is the time step, indicating the use of the past Predict the data at each time point;

[0089] Use LSTM model to process time series data:

[0090] ,

[0091] in, Represents the hidden state vector of the LSTM network;

[0092] Standardized real-time data Input into the trained deep learning model for prediction:

[0093] ,

[0094] in, represents the predicted wind power value, and Model represents the trained deep learning model;

[0095] The loss function is defined using mean square error, the model parameters are optimized, and the model is iteratively trained until the preset accuracy requirements are met, as follows:

[0096] ,

[0097] in, Represents the loss function value; represents the number of samples; Indicates The predicted wind power of samples; Indicates The actual wind power of each sample.

[0098] As a preferred solution of the black start wind power prediction method based on super capacity energy storage described in the present invention, wherein: the charging and discharging strategy of optimizing the super capacity energy storage system includes defining a reinforcement learning framework, including a state space , action space And the reward function , where the state space Including wind power forecast , Current energy storage level of super-capacity energy storage system and real-time grid demand , action space Including charging power and discharge power , as follows:

[0099] State Space Refers to the system status including the current wind power forecast value , Current energy storage level of super-capacity energy storage system , real-time grid demand :

[0100] ,

[0101] Action Space , including different strategies for charging and discharging:

[0102] ,

[0103] Set the reward function based on the system's goals , calculated as follows:

[0104] ,

[0105] Adoption Depth Network DQN algorithm, definition Value Function ,Target value And the loss function ,in Value Function The calculation is as follows:

[0106] ,

[0107] Target value The calculation is as follows:

[0108] ,

[0109] Loss Function The calculation is as follows:

[0110] ,

[0111] Use the deep deterministic policy gradient DDPG algorithm to define the policy network and Q-value network , where the target Q value The calculation is as follows:

[0112] ,

[0113] Policy network update formula:

[0114] ,

[0115] Q value network update formula:

[0116] ,

[0117] in, Represents the state at time step t; represents the optimal action; Represents the state at time step t+1; Indicates in status All possible actions when θ represents the model parameters; represents the expected reward of taking action a in state s; represents the discount factor, usually =0.99; represents the reward at time step t; Represents the weight parameters of the neural network; Indicates the energy loss during charging and discharging; Indicates the remaining energy of the energy storage system; Represents the weight parameter corresponding to energy loss; Represents the weight coefficient of the remaining energy; Strategy network Represents the optimal action of output in state s; Q value network represents the expected reward for taking an action in state s; Indicates the desired action; Represents the weight parameters of the policy network; represents the gradient of the policy network;

[0118] Initialize the reinforcement learning environment, set the state space and action space, collect initial sample data and store it in the experience replay pool, use experience replay and small batches to update the policy network and Q-value network, and iteratively update the model until the strategy converges and achieves the expected goal.

[0119] As a preferred solution of the black start wind power prediction method based on super capacity energy storage described in the present invention, the dynamic adjustment of the working state of the energy storage system includes real-time monitoring during the prediction process. When the wind power forecast value is less than 40% of the rated power, it is a low wind power forecast situation; when the wind power forecast value is When the interval is [40%, 70%] of the rated power, it is a medium wind power forecast. When it is higher than 70% of the rated power, it is a high wind power forecast situation;

[0120] When high wind power is predicted, the charging operation is started to increase the power of the energy storage system. At the same time, the system will increase the charging power until the power of the energy storage system reaches 70% of the target value. On the contrary, when low wind power is predicted, the discharging operation is started to support the grid demand and reduce the power of the energy storage system until the power drops to 40% of the target value. When medium wind power is predicted, the system will maintain the current state. The system does not need to make any adjustments and only continues to monitor and maintain the existing charging and discharging status.

[0121] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, steps of a black start wind power prediction method based on super-capacity energy storage are implemented.

[0122] A computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of a black start wind power prediction method based on super-capacity energy storage are implemented.

[0123] Beneficial effects of the present invention: The present invention achieves high accuracy of wind power prediction and flexible scheduling of super-capacity energy storage system by comprehensively applying advanced technologies such as deep learning, physical models and reinforcement learning. First, by combining the deep learning model with the physical model, the historical operation data and real-time monitoring data of the wind farm are fully utilized to significantly improve the accuracy of wind power prediction. Secondly, the reinforcement learning algorithm is used to optimize the charging and discharging strategy of the super-capacity energy storage system, so that it can be flexibly adjusted according to the real-time prediction results to ensure the efficient operation of the system under different wind power conditions. In addition, through the model integration technology, the results of the deep learning model, the physical model and the hybrid prediction model are comprehensively optimized to achieve the coordinated optimization of wind power prediction and energy storage system scheduling, thereby improving the overall system performance. By establishing a real-time monitoring and feedback mechanism, the system can collect and process status data in a timely manner, and dynamically adjust the charging and discharging strategy according to the latest prediction results and the current state of the energy storage system, thereby enhancing the system's responsiveness and operational stability. In summary, the present invention significantly improves the operational stability of the wind farm during the black start process, and ensures the rapid recovery and safe operation of the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0124] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0125] Figure 1 A schematic flow chart of a method for predicting wind power during a black start based on ultra-capacity energy storage is provided as an embodiment of the present invention. DETAILED DESCRIPTION

[0126] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0127] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0128] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0129] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0130] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0131] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0132] Example 1

[0133] Reference Figure 1, which is the first embodiment of the present invention, and provides a black start wind power prediction method based on super capacity energy storage, comprising:

[0134] Collect historical operating data and real-time monitoring data of wind farms, and use deep learning algorithms to train wind power prediction models; use adaptive filtering algorithms to suppress noise and optimize sensor data, and use reinforcement learning algorithms to optimize the charging and discharging strategies of ultra-capacity energy storage systems; integrate physical models and data-driven models to build hybrid prediction models, and optimize each prediction model through model integration technology; according to the results of the wind power prediction model, adjust the operating mode of the ultra-capacity energy storage system in real time, including dynamically adjusting the working status of the energy storage system according to the optimized charging and discharging strategies.

[0135] The historical operation data and real-time monitoring data include historical wind speed data, historical wind direction data, historical temperature data, historical humidity data, power generation data, equipment operation status data, historical over-capacity energy storage system charging and discharging data, real-time wind speed data, real-time wind direction data, real-time temperature data, real-time humidity data, real-time power generation data, real-time equipment operation status data and real-time over-capacity energy storage system charging and discharging data.

[0136] The training of the wind power prediction model includes collecting the wind speed ,wind direction ,temperature ,humidity The data is normalized, and the normalization formula is:

[0137] ,

[0138] in, is the original data, and are the minimum and maximum values ​​of the data respectively;

[0139] Construct a deep neural network model, assuming that the input layer contains Nodes, representing the normalized input data:

[0140] ,

[0141] The hidden layer contains several layers, and the number of nodes in each layer is , the activation function is ReLU:

[0142] ,

[0143] in, is the weight matrix, is the bias vector, represents the hidden state of the previous time step;

[0144] The output layer contains one node, which represents the predicted wind power :

[0145] ,

[0146] in, is the output layer weight matrix, is the output layer bias vector, represents the output of the last hidden layer; Represents the normalized wind speed data; Represents the normalized wind direction data; Represents normalized temperature data; Represents the normalized humidity data;

[0147] For model training, the mean square error (MSE) is used as the loss function, which is defined as:

[0148] ,

[0149] in, is the sample size, is the real wind power, To predict wind power;

[0150] The Adam optimization algorithm is used to optimize the model parameters and To optimize, the update rule is:

[0151] ,

[0152] in, represents the model parameters at the t+1th iteration, Represents the model parameters at the tth iteration, including the weight matrix and bias vector; is the learning rate, and are the bias correction values ​​of the first-order moment estimate and the second-order moment estimate of the gradient, respectively, and are defined as:

[0153] ,

[0154] in, and They are the moving average of the gradient and the moving average of the square of the gradient, respectively, and the update rule is:

[0155] ,

[0156] in, and is the attenuation rate, usually taken as is a constant used to prevent the denominator from being zero. represents the moving average of the gradient at the t-1th iteration, Represents the moving average of the squared gradient at the t-1th iteration; Represents the gradient of the loss function with respect to the parameters;

[0157] The real-time monitoring data is input into the trained deep neural network model after the same normalization process to perform wind power prediction:

[0158] ,

[0159] in, is the real-time data time point, is the neural network model obtained after training based on the normalized input of real-time data. Represents the normalized input of real-time data.

[0160] The adaptive filtering algorithm includes collecting sensor data , including wind speed ,wind direction ,temperature ,humidity , the Kalman filter is used to perform preliminary smoothing and noise suppression on the data, where the initial state vector and the state covariance matrix The details are as follows:

[0161] ,

[0162] ,

[0163] in, They are the initial wind speed, wind direction, temperature and humidity respectively; are the initial variances of wind speed, wind direction, temperature, and humidity respectively;

[0164] Update time and predict status and covariance , as follows:

[0165] ,

[0166] Covariance prediction:

[0167] ,

[0168] in, is the state transfer matrix, which indicates the change of state over time; B is the control matrix, represents the control vector; Represents the process noise covariance matrix; performs measurement updates and calculates the Kalman gain , and update the status and covariance ; The Kalman gain is as follows:

[0169] ,

[0170] in, represents the measurement matrix, represents the measurement noise covariance matrix;

[0171] Status Update:

[0172] ,

[0173] Covariance update:

[0174] ,

[0175] Particle filters are used to process nonlinear and non-Gaussian noise. The particle set is expressed as:

[0176] ,

[0177] in, Indicates The initial state of a particle, Indicates Initial weights of particles; state transfer for each particle:

[0178] ,

[0179] in, Indicates that the particle state is The state transfer function under represents process noise;

[0180] Update the particle's weight based on the measurement:

[0181] ,

[0182] in, Indicates the state transition of particles; represents the update weight; Represents the measured data at time k, including wind speed ,wind direction ,temperature ,humidity ; Indicates that in the particle state Get the measured data The likelihood probability of ;

[0183] Resample the particles according to the weights to form a new particle set, and fuse the data processed by the Kalman filter and the particle filter as the final input data for the deep learning model:

[0184] ,

[0185] in, is a weight parameter used to adjust the fusion ratio of Kalman filter and particle filter, and its value range is (0,1); represents the total number of particles;

[0186] After optimizing the data Standardization is performed to eliminate the differences between data of different dimensions:

[0187] ,

[0188] represents the standardized data, represents the mean of the data, Indicates the standard deviation of the data;

[0189] Organize the standardized data into an input format acceptable to the deep learning model, usually a time series data format:

[0190] ,

[0191] A matrix representing the time series data input to the deep learning model; is the time step, indicating the use of the past Predict the data at each time point;

[0192] Use LSTM model to process time series data:

[0193] ,

[0194] in, Represents the hidden state vector of the LSTM network;

[0195] Standardized real-time data Input into the trained deep learning model for prediction:

[0196] ,

[0197] in, represents the predicted wind power value, and Model represents the trained deep learning model;

[0198] The loss function is defined using mean square error, the model parameters are optimized, and the model is iteratively trained until the preset accuracy requirements are met, as follows:

[0199] ,

[0200] in, Represents the loss function value; represents the number of samples; Indicates The predicted wind power of samples; Indicates The actual wind power of each sample.

[0201] Optimizing the charging and discharging strategy of the ultra-capacity energy storage system includes defining a reinforcement learning framework, including the state space , action space And the reward function , where the state space Including wind power forecast , Current energy storage level of super-capacity energy storage system and real-time grid demand , action space Including charging power and discharge power , as follows:

[0202] State Space Refers to the system status including the current wind power forecast value , Current energy storage level of super-capacity energy storage system , real-time grid demand :

[0203] ,

[0204] Action Space , including different strategies for charging and discharging:

[0205] ,

[0206] Set the reward function based on the system's goals , calculated as follows:

[0207] ,

[0208] Adoption Depth Network DQN algorithm, definition Value Function ,Target value And the loss function ,in Value Function The calculation is as follows:

[0209] ,

[0210] Target value The calculation is as follows:

[0211] ,

[0212] Loss Function The calculation is as follows:

[0213] ,

[0214] Use the deep deterministic policy gradient DDPG algorithm to define the policy network and Q-value network , where the target Q value The calculation is as follows:

[0215] ,

[0216] Policy network update formula:

[0217] ,

[0218] Q value network update formula:

[0219] ,

[0220] in, Represents the state at time step t; represents the optimal action; Represents the state at time step t+1; Indicates in status All possible actions when θ represents the model parameters; represents the expected reward of taking action a in state s; represents the discount factor, usually =0.99; represents the reward at time step t; Represents the weight parameters of the neural network; Indicates the energy loss during charging and discharging; Indicates the remaining energy of the energy storage system; Represents the weight parameter corresponding to energy loss; Represents the weight coefficient of the remaining energy; Strategy network Represents the optimal action of output in state s; Q value network represents the expected reward for taking an action in state s; Indicates the desired action; Represents the weight parameters of the policy network; represents the gradient of the policy network;

[0221] Initialize the reinforcement learning environment, set the state space and action space, collect initial sample data and store it in the experience replay pool, use experience replay and small batches to update the policy network and Q-value network, and iteratively update the model until the strategy converges and achieves the expected goal.

[0222] The hybrid prediction model is constructed by combining the physical model constructed based on the prediction of the deep learning model with the geographical and meteorological conditions of the wind farm to form a hybrid prediction model;

[0223] Use deep learning models to predict wind power in the current cycle:

[0224] ,

[0225] in, Indicates that deep learning models will The wind power forecast value at a time point, Model represents the trained deep learning model, Represents the data that is input to the deep learning model, including normalized sensor data.

[0226] Construct a physical model to predict wind power output based on the geographical and meteorological conditions of the wind farm; the inputs to the physical model include geographical conditions and meteorological conditions; the geographical conditions include the geographical location and terrain characteristics of the wind farm; the meteorological conditions include wind speed ,wind direction ,temperature ,humidity ;

[0227] Physical model formula:

[0228] ,

[0229] in, Indicates that the physical model will The wind power forecast value at a time point is represents the wind energy conversion efficiency, represents the air density, represents the swept area of ​​the wind wheel, Indicates the future The wind speed at a point in time, Indicates the future The wind direction at a certain point in time, Indicates the installation angle of the wind wheel;

[0230] The deep learning model predicts the results Prediction results with physical models Fusion to form a hybrid prediction model , the formula is as follows:

[0231] ,

[0232] in, For hybrid models in the future The wind power forecast value at a time point is For the fusion coefficient, adjust the weights of the deep learning model and the physical model;

[0233] Using hybrid models Predict the wind power in the current period.

[0234] The optimization of each prediction model includes comprehensively optimizing the prediction results of the deep learning model, the physical model and the hybrid model using a weighted average method:

[0235] ,

[0236] in, represents the wind power forecast value after weighted average; represents the weighting coefficient, satisfying ;

[0237] The stacking ensemble method is used to further optimize the prediction results, and the prediction results of each model are used as new input features to train the unary learning model:

[0238] The first layer model output:

[0239] ,

[0240] The second layer model is the meta-learning model:

[0241] ,

[0242] Represents the output of the first layer model, which serves as the input feature of the meta-learning model; Represents a meta-learning model; Represents the wind power prediction value after stacking integration.

[0243] The dynamic adjustment of the working state of the energy storage system includes real-time monitoring during the prediction process. When the wind power forecast value is less than 40% of the rated power, it is a low wind power forecast situation; when the wind power forecast value is When the interval is [40%, 70%] of the rated power, it is a medium wind power forecast. When the rated power is higher than 70%, it is considered a high wind power forecast situation.

[0244] In the case of high wind power forecast, the charging operation is started to increase the power of the energy storage system. At this time, the system will increase the charging power until the power of the energy storage system reaches 70% of the target value. On the contrary, in the case of low wind power forecast, the discharge operation is started to support the grid demand and reduce the power of the energy storage system until the power drops to 40% of the target value. In the case of medium wind power forecast, the system will maintain the current state, and the system does not need to adjust the operation, but only continue to monitor and maintain the existing charging and discharging state.

[0245] Example 2

[0246] The second embodiment of the present invention is different from the previous embodiment in that:

[0247] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0248] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0249] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0250] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0251] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0252] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A black start wind power prediction method based on ultra-capacity energy storage, Features: include, Collect historical operation data and real-time monitoring data of wind farms, and use deep learning algorithms to train wind power prediction models; Adaptive filtering algorithms are used to suppress noise and optimize sensor data, and reinforcement learning algorithms are used to optimize the charging and discharging strategies of ultra-capacity energy storage systems. Integrate physical models and data-driven models to build hybrid prediction models, and optimize each prediction model through model integration technology; The hybrid prediction model is constructed by combining the physical model constructed based on the prediction of the deep learning model with the geographical and meteorological conditions of the wind farm to form a hybrid prediction model; Use deep learning models to predict wind power in the current period: , in, Indicates that deep learning models will The wind power forecast value at a time point, Model represents the trained deep learning model, Represents the data input to the deep learning model, including normalized sensor data, Construct a physical model to predict wind power output based on the geographical and meteorological conditions of the wind farm; the inputs to the physical model include geographical conditions and meteorological conditions; the geographical conditions include the geographical location and terrain characteristics of the wind farm; the meteorological conditions include wind speed ,wind direction ,temperature ,humidity ; Physical model formula: , in, Indicates that the physical model will The wind power forecast value at a time point is represents the wind energy conversion efficiency, represents the air density, represents the swept area of ​​the wind wheel, Indicates the future The wind speed at a point in time, Indicates the future The wind direction at a certain point in time, Indicates the installation angle of the wind wheel; The deep learning model predicts the results Prediction results with physical models Fusion to form a hybrid prediction model , the formula is as follows: , in, For hybrid models in the future The wind power forecast value at a time point is For the fusion coefficient, adjust the weights of the deep learning model and the physical model; Using hybrid models Predict wind power in the current period; The optimization of each prediction model includes comprehensively optimizing the prediction results of the deep learning model, the physical model and the hybrid model using a weighted average method: , in, represents the wind power forecast value after weighted average; represents the weighting coefficient, satisfying ; The stacking ensemble method is used to further optimize the prediction results, and the prediction results of each model are used as new input features to train the unary learning model: The first layer model output: , The second layer model is the meta-learning model: , Represents the output of the first layer model, which serves as the input feature of the meta-learning model; Represents a meta-learning model; represents the wind power prediction value after stacking integration; According to the results of the wind power prediction model, the operation mode of the super-capacity energy storage system is adjusted in real time, including dynamically adjusting the working state of the energy storage system according to the optimized charging and discharging strategy.

2. A black start wind power prediction method based on super capacity energy storage as claimed in claim 1, Features: The historical operation data and real-time monitoring data include historical wind speed data, historical wind direction data, historical temperature data, historical humidity data, power generation data, equipment operation status data, historical over-capacity energy storage system charging and discharging data, real-time wind speed data, real-time wind direction data, real-time temperature data, real-time humidity data, real-time power generation data, real-time equipment operation status data and real-time over-capacity energy storage system charging and discharging data.

3. A black start wind power prediction method based on super capacity energy storage as claimed in claim 2, Features: The training of the wind power prediction model includes collecting the wind speed ,wind direction ,temperature ,humidity The data is normalized, and the normalization formula is: , in, is the original data, and are the minimum and maximum values ​​of the data respectively; Construct a deep neural network model, assuming that the input layer contains Nodes, representing the normalized input data: , The number of nodes in each hidden layer is , the activation function is ReLU: , in, is the weight matrix, is the bias vector, represents the hidden state of the previous time step; The output layer contains one node, which represents the predicted wind power : , in, is the output layer weight matrix, is the output layer bias vector, represents the output of the last hidden layer; Represents the normalized wind speed data; Represents the normalized wind direction data; Represents normalized temperature data; Represents the normalized humidity data; For model training, the mean square error (MSE) is used as the loss function, which is defined as: , in, is the sample size, is the real wind power, To predict wind power; The Adam optimization algorithm is used to optimize the model parameters and To optimize, the update rule is: , in, represents the model parameters at the t+1th iteration, Represents the model parameters at the tth iteration, including the weight matrix and bias vector; is the learning rate, and are the bias correction values ​​of the first-order moment estimate and the second-order moment estimate of the gradient, respectively, and are defined as: , in, and They are the moving average of the gradient and the moving average of the square of the gradient, respectively, and the update rule is: , in, and is the attenuation rate, usually taken as is a constant used to prevent the denominator from being zero. represents the moving average of the gradient at the t-1th iteration, Represents the moving average of the squared gradient at the t-1th iteration; Represents the gradient of the loss function with respect to the parameters; The real-time monitoring data is input into the trained deep neural network model after the same normalization process to perform wind power prediction: , in, is the real-time data time point, is the neural network model obtained after training based on the normalized input of real-time data. Represents the normalized input of real-time data.

4. A black start wind power prediction method based on super capacity energy storage as claimed in claim 3, Features: The adaptive filtering algorithm includes collecting sensor data , including wind speed ,wind direction ,temperature ,humidity , the Kalman filter is used to perform preliminary smoothing and noise suppression on the data, where the initial state vector and the state covariance matrix The details are as follows: , , in, They are the initial wind speed, wind direction, temperature and humidity respectively; are the initial variances of wind speed, wind direction, temperature, and humidity respectively; Update time and predict status and covariance , as follows: , Covariance prediction: , in, is the state transfer matrix, which indicates the change of state over time; B is the control matrix, represents the control vector; Represents the process noise covariance matrix; performs measurement updates and calculates the Kalman gain , and update the status and covariance ; The Kalman gain is as follows: , in, represents the measurement matrix, represents the measurement noise covariance matrix; Status Update: , Covariance update: , Particle filters are used to process nonlinear and non-Gaussian noise. The particle set is expressed as: , in, Indicates The initial state of a particle, Indicates Initial weights of particles; state transfer for each particle: , in, Indicates that the particle state is The state transfer function under represents process noise; Update the particle's weight based on the measurement: , in, Indicates the state transition of particles; represents the updated weight; Represents the measured data at time k, including wind speed ,wind direction ,temperature ,humidity ; Indicates that in the particle state Get the measured data The likelihood probability of ; Resample the particles according to the weights to form a new particle set, and fuse the data processed by the Kalman filter and the particle filter as the final input data for the deep learning model: , in, is a weight parameter used to adjust the fusion ratio of Kalman filter and particle filter, and its value range is (0,1); represents the total number of particles; After optimizing the data Standardization is performed to eliminate the differences between data of different dimensions: , represents the standardized data, represents the mean of the data, Indicates the standard deviation of the data; Organize the standardized data into an input format acceptable to the deep learning model, usually a time series data format: , A matrix representing the time series data input to the deep learning model; is the time step, indicating the use of the past Predict the data at each time point; Use LSTM model to process time series data: , in, Represents the hidden state vector of the LSTM network; Standardized real-time data Input into the trained deep learning model for prediction: , in, represents the predicted wind power value, and Model represents the trained deep learning model; The loss function is defined using mean square error, the model parameters are optimized, and the model is iteratively trained until the preset accuracy requirements are met, as follows: , in, Represents the loss function value; represents the number of samples; Indicates The predicted wind power of samples; Indicates The actual wind power of each sample.

5. A black start wind power prediction method based on super capacity energy storage as claimed in claim 4, Features: The optimization of the charging and discharging strategy of the ultra-capacity energy storage system includes defining a reinforcement learning framework, including a state space , action space And the reward function , where the state space Including wind power forecast , Current energy storage level of super-capacity energy storage system and real-time grid demand , action space Including charging power and discharge power , as follows: State Space Refers to the system status including the current wind power forecast value , Current energy storage level of super-capacity energy storage system , real-time grid demand : , Action Space , including different strategies for charging and discharging: , Set the reward function based on the system's goals , calculated as follows: , Adoption Depth Network DQN algorithm, definition Value Function ,Target value And the loss function ,in Value Function The calculation is as follows: , Target value The calculation is as follows: , Loss Function The calculation is as follows: , Use the deep deterministic policy gradient DDPG algorithm to define the policy network and Q-value network , where the target Q value The calculation is as follows: , Policy network update formula: , Q value network update formula: , in, Represents the state at time step t; represents the optimal action; Represents the state at time step t+1; Indicates in status All possible actions when θ represents the model parameters; represents the expected reward of taking action a in state s; represents the discount factor, usually =0.99; represents the reward at time step t; Represents the weight parameters of the neural network; Indicates the energy loss during charging and discharging; Indicates the remaining energy of the energy storage system; Represents the weight parameter corresponding to energy loss; Represents the weight coefficient of the remaining energy; Strategy network Represents the optimal action of output in state s; Q value network represents the expected reward for taking an action in state s; Indicates the desired action; Represents the weight parameters of the policy network; represents the gradient of the policy network; Initialize the reinforcement learning environment, set the state space and action space, collect initial sample data and store it in the experience replay pool, use experience replay and small batches to update the policy network and Q-value network, and iteratively update the model until the strategy converges and achieves the expected goal.

6. A method for predicting wind power during a black start based on supercapacity energy storage as claimed in claim 5, Features: The dynamic adjustment of the working state of the energy storage system includes real-time monitoring during the prediction process. When the wind power forecast value is less than 40% of the rated power, it is a low wind power forecast situation; when the wind power forecast value is When the interval is [40%, 70%] of the rated power, it is a medium wind power forecast. When it is higher than 70% of the rated power, it is a high wind power forecast situation; When high wind power is predicted, the charging operation is started to increase the power of the energy storage system. At the same time, the system will increase the charging power until the power of the energy storage system reaches 70% of the target value. On the contrary, when low wind power is predicted, the discharging operation is started to support the grid demand and reduce the power of the energy storage system until the power drops to 40% of the target value. When medium wind power is predicted, the system will maintain the current state. The system does not need to make any adjustments and only continues to monitor and maintain the existing charging and discharging status.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Improved ultra-short-term wind power prediction algorithm and model establishment method

    CN113705922A

  • Wind power prediction method and system for energy storage assisted black start

    CN117039895A