Wind power plant distributed voltage optimization control method and system based on deep learning
Through the decentralized voltage optimization control method of wind farms based on deep learning, the deep learning model is used to predict the state vector and construct the optimization problem, which solves the communication dependence and global control problems in the existing technology, and achieves voltage stability and accurate prediction in the wind farm. Improved performance and suitable for real-time applications in large-scale wind farms.
Patent Information
- Application Number
- CN202410739873.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-01
AI Technical Summary
Existing wind farm voltage control methods rely on accurate system models and high-quality communication, resulting in heavy computational burdens and high communication costs, and decentralized control methods are difficult to achieve global optimal control in the absence of communication.
The decentralized voltage optimization control method of wind farms based on deep learning is used to predict the state vector at the next moment through the pre-trained deep learning model, and construct an optimization problem to solve the optimal control variables to realize the control of wind turbine output power increment , eliminates communication dependence and is suitable for real-time applications.
It improves the stability and prediction accuracy of voltage distribution in wind farms, reduces the need for frequent model maintenance, and achieves near-global optimal control without communication, making it suitable for real-time applications in large-scale wind farms.
Smart Images

Figure CN118739446A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wind farm voltage control, and in particular to a wind farm distributed voltage optimization control method and system based on deep learning. Background Art
[0002] The development and integration of wind farms has become an irreversible global trend. Random fluctuations in wind energy and external grid voltage disturbances can lead to severe voltage fluctuations and voltage deviations in WFs. Voltage control is an effective way to improve the voltage stability of wind farms. In order to address the impact of voltage fluctuations caused by the uncertainty of intermittent wind energy and the voltage disturbance of the external grid, modern wind farms need to coordinate the power output of individual wind turbines (WTs) to stabilize the wind farm bus voltage and improve its operating performance.
[0003] Existing studies on wind farm voltage control are based on complex physical models with prior parameter information, which makes it difficult to ensure the accuracy and calculation speed of wind farm models. Existing control methods are all developed based on analytical models of wind farms, which are complex systems with high-order, time-varying and coupled characteristics. Accurate wind farm models are computationally very expensive, limiting the real-time application of model-based methods. Therefore, it is crucial to find a modeling method that strikes the right balance between simplicity and accuracy. Deep learning (DL) is able to model highly complex nonlinear functions and reveal complex mapping relationships from raw data alone through multiple levels of abstraction and nonlinear processing layers that can be trained from beginning to end. In recent years, several deep learning-based data-driven modeling methods for wind farms have been proposed to replace traditional mathematical modeling methods. These methods have achieved good prediction accuracy and reduced the computational burden, laying the foundation for data-driven control methods for wind farms. With the development of sensing technology and computing power in the power industry, deep learning-based data-driven modeling methods and corresponding control schemes have been shown to have great potential in addressing the shortcomings of traditional wind farm model-based control methods.
[0004] Traditional centralized voltage control methods are highly dependent on accurate wind farm system models and high-quality communications, resulting in heavy computational burdens and high communication costs, which are particularly prominent in large-scale wind farms. Existing distributed control methods rely heavily on communication systems, where communication delays and data integrity issues will affect the response speed of the control system and control effectiveness. Decentralized control methods rely only on local measurements, have no communication burden, and are easy to implement, so they have become a research trend in recent years. However, existing decentralized control algorithms are highly dependent on the setting of wind farm network parameters and key coefficients, which are difficult to obtain due to the different operating modes of wind farms and the uncertainty of parameters. In addition, this method is only based on local information and lacks coordination. In the absence of communication, it is difficult for local controllers to simultaneously consider the global information of all wind farms, so the global optimum cannot be guaranteed, and the control effect in most steady-state situations is significantly inferior to centralized optimization control. Summary of the invention
[0005] Technical problem to be solved by the present invention: In view of the above-mentioned problems of the prior art, a deep learning-based distributed voltage optimization control method and system for wind farms are provided. The present invention aims to maintain the terminal voltage of wind turbines within an acceptable range and improve the bus voltage distribution within the wind farm.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: A wind farm distributed voltage optimization control method based on deep learning comprises the following steps: S101, obtaining a historical input data set of a wind farm; S102, using a pre-trained deep learning-based wind turbine prediction model to predict the historical input data set of the wind farm to obtain a T-step prediction state vector at the next moment; S103, constructing the main optimization problem of the distributed voltage optimization control of the wind farm with the next T-step predicted state vector sequence, optimization objectives and constraints, and using a preset optimizer to solve and obtain the optimal control variables to control the operation of the wind farm, wherein the control variables represent the output power increment vectors of n wind turbines.
[0007] Optionally, in step S102, when the historical input data set of the wind farm is predicted by using a pre-trained deep learning-based wind turbine prediction model to obtain a T-step predicted state vector at the next moment, the historical input data set of the wind farm includes a T-step state variable vector at the current moment and a T-step control variable vector at the current moment, and the state variables in the T-step state variable vector represent the terminal voltage amplitude vectors of n wind turbines, and the function expression thereof is: , In the above formula, is the state variable, is the terminal voltage amplitude vector of n wind turbines, ~ Respectively represent the terminal voltage amplitudes of the 1st to nth wind turbines; the control variable in the control variable vector of the first T steps represents the output power increment vector of the n wind turbines, and its function expression is: , , , In the above formula, is the control variable, and are the output active power increment and output reactive power increment of n wind turbines at time k, and are the output active power increment and output reactive power increment of n wind turbines at each moment, ~ They represent the output active power increments of the 1st to nth wind turbine generators respectively, ~ They represent the output reactive power increments of the 1st to nth wind turbines respectively; the function expression of the wind turbine prediction model based on deep learning is: , In the above formula, and are the state variables at time k+1 and k respectively, is the control variable at time k, the state matrix Take a cell matrix of size n×n , control matrix The function expression is: , , , In the above formula, is the voltage power sensitivity matrix of the wind farm, The dimension size is n×2n, is the voltage-active power sensitivity matrix, is the voltage-reactive sensitivity matrix, when , hour, is the terminal voltage amplitude of the i-th wind turbine, is the output active power increment of the i-th wind turbine generator, is the output reactive power increment of the i-th wind turbine; is the sensitivity coefficient of the terminal voltage amplitude of the i-th wind turbine to the active power injected into the i-th wind turbine, is the sensitivity coefficient of the terminal voltage amplitude of the i-th wind turbine to the injected reactive power of the i-th wind turbine.
[0008] Optionally, the pre-trained deep learning-based wind turbine prediction model in step S102 is a prediction model based on a convolutional neural network CNN and a long short-term memory network LSTM, and the prediction model based on the convolutional neural network CNN and the long short-term memory network LSTM includes an input layer, a convolution layer, a pooling layer, a node expansion layer, multiple long short-term memory network LSTM layers, a fully connected layer and an output layer connected in sequence, and the historical input data set of the wind farm is used to predict the T-step prediction state vector at the next moment by using the pre-trained deep learning-based wind turbine prediction model to include: the historical input data set of the wind farm is input into the input layer of the prediction model based on the convolutional neural network CNN and the long short-term memory network LSTM after data cleaning and normalization, and then a one-dimensional convolution operation is performed through the convolution layer, a pooling operation is performed through the pooling layer, and then a feature expansion is performed through the node expansion layer, and then a prediction output is obtained through multiple long short-term memory network LSTM layers, a fully connected layer and an output layer. The sequence of predicted T-step prediction state vectors at the next moment is output.
[0009] Optionally, before step S102, the step also includes training a prediction model based on a convolutional neural network CNN and a long short-term memory network LSTM, and the loss function used when training the prediction model based on the convolutional neural network CNN and the long short-term memory network LSTM is to minimize the average absolute error between the predicted state vector sequence of the next T steps after the predicted output and the actual value.
[0010] Optionally, the function expression of the optimization objective of the main optimization problem of the wind farm decentralized voltage optimization control constructed in step S103 is: , In the above formula, is the objective function of the optimization goal, is the control variable vector of the previous T steps at the current moment, is the control variable vector at the current moment, is a slack variable greater than 0, To predict the next T-step predicted state vector, represents the rated value of the state variable, and is the weight coefficient, is the penalty factor; the function expression of the constraint condition of the main optimization problem is: , , , in, is a wind turbine prediction model based on deep learning. and are the minimum and maximum values of the state variables, and are the minimum and maximum values of the control variable, , , , are scaling factors.
[0011] Optionally, in step S103, using a preset optimizer to solve and obtain the optimal control variable to control the operation of the wind farm includes: using the preset optimizer to solve and obtain the optimal control variable as the nominal control variable , the final optimal control variables are calculated according to the following formula to control the operation of the wind farm: , In the above formula, is the final optimal control variable, To obtain the control variables of the auxiliary optimization problem using the auxiliary state feedback controller.
[0012] Optionally, the step of acquiring the control variable of the auxiliary optimization problem by using the auxiliary state feedback controller includes: S201, based on the disturbance estimator, estimate the multi-step disturbance variable vector at the previous moment according to the following formula : , In the above formula, is the multi-step disturbance variable vector of the previous moment, is the measurement vector composed of the T-step state variables and control variables at the previous moment, is the actual measured value of the state variable, is a multi-step predictor right The prediction results of the multi-step predictor Based on real data sets Trained, and have: , In the above formula, Collect data for the T-step time series of state variables of an actual wind farm with disturbances. Collect data for the T-step time series of the control variables of the actual wind farm with disturbances, N is the number of T-step time series of the data set of the actual wind farm with disturbances; S202, the multi-step disturbance variable vector of the previous moment The T-step state variable error prediction model based on deep learning is used to obtain the T-step state variable error at the current moment according to the following formula: : , In the above formula, is the T-step state variable error at the current moment, represents the T-step state variable error prediction model based on deep learning, is the T-step state variable error variable of the previous moment, is the T-step control variable error variable of the previous moment, and the T-step state variable error prediction model based on deep learning is composed of the error data set Trained, and have: , In the above formula, is the T-step time series data of the error between the actual state variable and the nominal state variable, is the T-step time series data of the error between the actual control variable and the nominal control variable, is the disturbance variable vector T-step time series data; S203, based on the T-step state variable error at the current moment Establish the auxiliary optimization problem shown in the following formula:
[0013] In the above formula, To assist in the optimization problem, is the T-step vector of the error between the actual control variable and the nominal control variable at the previous moment, is the T-step vector of the error between the actual state variable and the nominal state variable at the current moment, is a slack variable greater than 0, and is the weight, is the penalty factor; the constraints of the auxiliary optimization problem are: , , , , , , In the above formula, ~ is the error between the actual state variable and the nominal state variable at time k - k + T-1, ~ is the error between the actual control variable and the nominal control variable at time k - k + T-1, is the error between the actual state variable and the nominal state variable at time k, is the error between the actual control variable and the nominal control variable at time k, and are the minimum and maximum values of the state error variable, respectively. and are the minimum and maximum values of the control error variable, respectively; S204, solving the optimal control feedback variable sequence for the auxiliary optimization problem The error vector Minimize and optimize the control feedback variable sequence The first variable in As the control variable of the auxiliary optimization problem obtained by using the auxiliary state feedback controller Output; where is the actual optimal control variable vector, is the nominal optimal control variable vector, is the error vector between the actual state variable and the nominal state variable, is the error vector between the actual control variable and the nominal control variable.
[0014] In addition, the present invention also provides a wind farm distributed voltage optimization control system based on deep learning, comprising an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the wind farm distributed voltage optimization control method based on deep learning.
[0015] In addition, the present invention also provides a computer-readable storage medium, which stores a computer program / instruction, and the computer program / instruction is programmed or configured to execute the deep learning-based distributed voltage optimization control method for wind farms through a processor.
[0016] In addition, the present invention also provides a computer program product, including a computer program / instruction, which is programmed or configured to execute the deep learning-based distributed voltage optimization control method for a wind farm through a processor.
[0017] Compared with the prior art, the present invention mainly has the following advantages: the method of the present invention includes obtaining a historical input data set of a wind farm; using a pre-trained deep learning-based wind turbine prediction model to predict the historical input data set of the wind farm to obtain a T-step prediction state vector at the next moment; constructing a main optimization problem of distributed voltage optimization control of the wind farm using the T-step prediction state vector sequence at the next moment and the optimization target and constraint conditions, and using a preset optimizer to solve and obtain the optimal control variable to control the operation of the wind farm. The present invention uses historical data to learn the system model through a deep learning-based wind turbine prediction model, which can improve the ability to capture and process the time correlation of wind farm input and output data and enhance the prediction accuracy; constructing the main optimization problem of distributed voltage optimization control of the wind farm using the T-step prediction state vector sequence at the next moment and the optimization target and constraint conditions eliminates the necessity of frequent manual model maintenance, is suitable for real-time applications, and can achieve control close to the global optimality using only local information without communication, thereby maintaining the terminal voltage of the wind turbine generator within an acceptable range and improving the bus voltage distribution inside the wind farm. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 Schematic diagram of the principle of the method of the embodiment of the present invention.
[0019] Figure 2 Schematic diagram of the structure of a wind turbine prediction model based on deep learning in an embodiment of the present invention.
[0020] Figure 3 It is a schematic diagram of the principle of controlling the operation of a wind farm in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] See also Figure 1 , the wind farm distributed voltage optimization control method based on deep learning in this embodiment includes the following steps: S101, obtaining a historical input data set of a wind farm; S102, using a pre-trained deep learning-based wind turbine prediction model to predict the historical input data set of the wind farm to obtain a T-step prediction state vector at the next moment; S103, constructing the main optimization problem of the distributed voltage optimization control of the wind farm with the next T-step predicted state vector sequence, optimization objectives and constraints, and using a preset optimizer to solve and obtain the optimal control variables to control the operation of the wind farm, wherein the control variables represent the output power increment vectors of n wind turbines.
[0022] In step S102 of this embodiment, when the historical input data set of the wind farm is predicted by using the pre-trained wind turbine prediction model based on deep learning to obtain the next T-step prediction state vector, the historical input data set of the wind farm includes the previous T-step state variable vector at the current moment and the previous T-step control variable vector at the current moment. The state variables in the previous T-step state variable vector represent the terminal voltage amplitude vectors of n wind turbines, and the function expression thereof is: , In the above formula, is the state variable, is the terminal voltage amplitude vector of n wind turbines, ~ Respectively represent the terminal voltage amplitudes of the 1st to nth wind turbines; the control variable in the control variable vector of the first T steps represents the output power increment vector of the n wind turbines, and its function expression is: , , , In the above formula, is the control variable, and are the output active power increment and output reactive power increment of n wind turbines at time k, and are the output active power increment and output reactive power increment of n wind turbines at each moment, ~ They represent the output active power increments of the 1st to nth wind turbine generators respectively, ~ They represent the output reactive power increments of the 1st to nth wind turbines respectively; the function expression of the wind turbine prediction model based on deep learning is: , In the above formula, and are the state variables at time k+1 and k respectively, is the control variable at time k, the state matrix Take a cell matrix of size n×n , control matrix The function expression is: , , , In the above formula, is the voltage power sensitivity matrix of the wind farm, The dimension size is n×2n, is the voltage-active power sensitivity matrix, is the voltage-reactive sensitivity matrix, when , hour, is the terminal voltage amplitude of the i-th wind turbine, is the output active power increment of the i-th wind turbine generator, is the output reactive power increment of the i-th wind turbine; is the sensitivity coefficient of the terminal voltage amplitude of the i-th wind turbine to the active power injected into the i-th wind turbine, is the sensitivity coefficient of the terminal voltage amplitude of the i-th wind turbine to the reactive power injected by the i-th wind turbine. The wind turbine prediction model based on deep learning can also be expressed as: , In the above formula, the downward curly brackets indicate the equivalence of symbols. Represents the terminal voltage amplitude vector of all WTs in WF; defines the control variable , represents the output active power increment vector of WT; Represents the output reactive power increment vector of WT; definition ,definition represents the voltage-power sensitivity matrix of WF; represents the voltage-active power sensitivity matrix; represents the voltage-reactive sensitivity matrix; is the terminal voltage amplitude of the i-th WT, n represents the number of WTs (wind turbines) in the WF (wind farm); is the increase in active power output by the i-th WT; is the reactive power increment of the ith WT output, where “ " means "defined as".
[0023] The WF state space model based on the local nominal model and the non-local perturbation model is: , in: Representation Matrix The diagonal elements of The diagonal matrix formed by represents the disturbance variable vector, represents the disturbance variable of the i-th wind turbine.
[0024] Ignoring the disturbance part, the nominal voltage prediction model is defined as: , in: represents the nominal state variable, represents a nominal control variable.
[0025] The wind turbine prediction model based on deep learning in this embodiment can be further expressed as: , , , , in represents the variable at time k+j predicted based on the variable at time k; express and Map to The function of .
[0026] like Figure 2 As shown, the pre-trained deep learning-based wind turbine prediction model in step S102 of this embodiment is a prediction model based on convolutional neural network CNN and long short-term memory network LSTM, and the prediction model based on convolutional neural network CNN and long short-term memory network LSTM includes an input layer, a convolution layer, a pooling layer, a node expansion layer, a plurality of long short-term memory network LSTM layers, a fully connected layer and an output layer connected in sequence, and the historical input data set of the wind farm is used to predict the T-step prediction state vector of the next moment by using the pre-trained deep learning-based wind turbine prediction model, including: the historical input data set of the wind farm is input into the input layer of the prediction model based on convolutional neural network CNN and long short-term memory network LSTM after data cleaning and normalization, and then a one-dimensional convolution operation is performed through the convolution layer, and a pooling operation is performed through the pooling layer, and then a feature expansion is performed through the node expansion layer, and then a plurality of long short-term memory network LSTM layers, a fully connected layer and an output layer are used to obtain a sequence of predicted state vectors of the T-step prediction of the next moment. As shown Figure 2 As shown, based on the WF voltage power sensitivity coefficient matrix, the WF voltage prediction physical model is obtained, and the WF state space model based on the local nominal model (the wind turbine prediction model based on deep learning in this embodiment is) and the non-local disturbance model is obtained; the state variable vector of the first T steps of the nominal voltage prediction model at the current moment is selected and the T-step control variable vector at the current moment As the input of the CNN-LSTM prediction model, select the T-step state variable vector at the next moment As the output of the CNN-LSTM prediction model, train a deep learning based wind farm T-step nominal prediction model: The specific steps of training are as follows: collect input and output data sets from the wind farm system, and select time series data as the feature quantity of the CNN-LSTM prediction model: , where the lth nominal state variable sequence is: , Represents the nominal state variable data sampled at time t, the lth nominal control variable sequence: , Represents the nominal control variable data sampled at time t. Label quantity selection for CNN-LSTM prediction model . Input data After the connection, the data is cleaned, normalized, and sent to the input layer of CNN-LSTM. After the one-dimensional CNN convolution operation, the pooling operation is performed, and then the node is expanded and input to the LSTM layer. After the three-layer LSTM layer, it is input to the fully connected layer, and finally the output is obtained. .
[0027] Before step S102 of this embodiment, the prediction model based on convolutional neural network CNN and long short-term memory network LSTM (CNN-LSTM model) is also included, and the loss function used in training the prediction model based on convolutional neural network CNN and long short-term memory network LSTM is to minimize the average absolute error between the predicted state vector sequence of the next moment after T steps of the predicted output and the actual value. The goal of the CNN-LSTM model is to learn the fitting function , so that the average absolute error between the predicted value and the actual value is minimized, which can be described as the following objective function:
[0028] st: , in, is the actual value of the nominal state variable from t+1 to t+T, is the predicted value of the nominal state variable from t+1 to t+T, and N is the number of time series in the data set. is the fitting function corresponding to each time series. Figure 1 As shown in the figure, the state variables and control variables of the previous T steps at the current moment are collected in real time from the local WT system as the input of the established CNN-LSTM model, and the predicted state vector of the next T steps is predicted through the model; the predicted state vector of the next T steps is brought into the main optimization problem of the established local WT based on DL; in each control cycle, the differential evolution algorithm (DE) optimizer is used to solve the above main optimization problem, calculate the optimal control sequence within a limited range, apply the first step control variables to the WT system, and then repeat the optimization process.
[0029] The main optimization problem of the wind turbine prediction model based on deep learning (the local WT prediction model based on DL) in this embodiment is mainly used to minimize the deviation between the terminal voltage of the wind turbine generator and the rated value within T steps and minimize the reactive power fluctuation of the wind turbine generator. Specifically, the function expression of the optimization objective of the main optimization problem of the wind farm distributed voltage optimization control constructed in step S103 of this embodiment is: , In the above formula, is the objective function of the optimization goal, is the control variable vector of the previous T steps at the current moment, is the control variable vector at the current moment, is a slack variable greater than 0, To predict the next T-step predicted state vector, represents the rated value of the state variable, and is the weight coefficient, is the penalty factor; the function expression of the constraint condition of the main optimization problem is: , , , in, is a wind turbine prediction model based on deep learning. and are the minimum and maximum values of the state variables, and are the minimum and maximum values of the control variable, , , , are scaling factors.
[0030] The T-step state variable error prediction model based on deep learning with disturbance can be expressed as: , , , , in, is the actual T-step state variable vector, is the vector of state variables and control variables at the previous moment T steps, is the disturbance variable vector of the last T steps, represents a multi-step disturbance variable vector.
[0031] Given an initial measurement vector , based on the trained multi-step predictor and the actual state measurement value To estimate the T-step disturbance variable: , in, From real data sets Trained, and is the measured value of the actual wind farm system with disturbance, Means "defined as". The modeling error of the state and control variables between the actual system and the nominal model is defined as: , in, Indicates the difference between the actual state quantity and the nominal state quantity; Indicates the difference between the actual control quantity and the nominal control quantity.
[0032] In step S103 of this embodiment, using a preset optimizer to solve and obtain the optimal control variable to control the operation of the wind farm includes: using the preset optimizer to solve and obtain the optimal control variable as the nominal control variable , the final optimal control variables are calculated according to the following formula to control the operation of the wind farm: , In the above formula, is the final optimal control variable, In order to obtain the control variables of the auxiliary optimization problem using the auxiliary state feedback controller, represents the nominal model control law, Indicates the auxiliary state feedback control rate.
[0033] like Figure 3 As shown, the method of obtaining the control variables of the auxiliary optimization problem by using the auxiliary state feedback controller in this embodiment includes: S201, based on the disturbance estimator, estimate the multi-step disturbance variable vector at the previous moment according to the following formula : , In the above formula, is the multi-step disturbance variable vector of the previous moment, is the measurement vector composed of the T-step state variables and control variables at the previous moment, is the actual measured value of the state variable, is a multi-step predictor right The prediction results of the multi-step predictor Based on real data sets Trained, and have: , In the above formula, Collect data for the T-step time series of state variables of an actual wind farm with disturbances. Collect data for the T-step time series of the control variables of the actual wind farm with disturbances, N is the number of T-step time series of the data set of the actual wind farm with disturbances; S202, the multi-step disturbance variable vector of the previous moment The T-step state variable error prediction model based on deep learning is used to obtain the T-step state variable error at the current moment according to the following formula: : , In the above formula, is the T-step state variable error at the current moment, represents the T-step state variable error prediction model based on deep learning, is the T-step state variable error variable of the previous moment, is the T-step control variable error variable of the previous moment, and the T-step state variable error prediction model based on deep learning is composed of the error data set Trained, and have: , In the above formula, is the T-step time series data of the error between the actual state variable and the nominal state variable, is the T-step time series data of the error between the actual control variable and the nominal control variable, is the disturbance variable vector T-step time series data; S203, based on the T-step state variable error at the current moment Establish the auxiliary optimization problem shown in the following formula:
[0034] In the above formula, To assist in the optimization problem, is the T-step vector of the error between the actual control variable and the nominal control variable at the previous moment, is the T-step vector of the error between the actual state variable and the nominal state variable at the current moment, is a slack variable greater than 0, and is the weight, is the penalty factor; the constraints of the auxiliary optimization problem are: , , , , , , In the above formula, ~ is the error between the actual state variable and the nominal state variable at time k - k + T-1, ~ is the error between the actual control variable and the nominal control variable at time k - k + T-1, is the error between the actual state variable and the nominal state variable at time k, is the error between the actual control variable and the nominal control variable at time k, and are the minimum and maximum values of the state error variable, respectively. and are the minimum and maximum values of the control error variable, respectively; S204, solving the optimal control feedback variable sequence for the auxiliary optimization problem The error vector Minimize and optimize the control feedback variable sequence The first variable in As the control variable of the auxiliary optimization problem obtained by using the auxiliary state feedback controller Output; where is the actual optimal control variable vector, is the nominal optimal control variable vector, is the error vector between the actual state variable and the nominal state variable, is the error vector between the actual control variable and the nominal control variable.
[0035] like Figure 3 As shown, the DL-DOVC-based control strategy of the method of this embodiment designs an auxiliary state feedback controller based on the main controller of the local WT, which is mainly used to find the optimal control feedback variable to eliminate the error between the nominal model and the actual model, and achieve the global optimal control effect using only local measurements. The specific implementation steps are as follows: S1: Offline training of the nominal prediction model based on deep learning (CNN-LSTM model): S2: Solving the nominal optimal control variable of the main optimization problem of the local WT ; S3: Establish a T-step prediction model for an actual wind farm with disturbances; S4: Given an initial measurement vector , we can use the trained multi-step predictor and the actual state measurement value To estimate the T-step disturbance variable; S5: train the error prediction function and establish the modeling error model of the state and control variables between the actual system and the nominal model S6: establish the auxiliary optimization problem and find the best control feedback variable to minimize the error vector. S7: The first variable of the sequence As the output of the auxiliary state variable feedback controller.
[0036] In summary, this embodiment discloses a deep learning-based decentralized optimal voltage control method for wind farms (DL-DOVC), which aims to maintain the terminal voltage of wind turbines (WTs) within an acceptable range and improve the bus voltage distribution inside the wind farm. First, a deep learning-based wind turbine prediction model is established, which uses historical data to learn the system model and adopts the CNN-LSTM network architecture to improve the ability to capture and process the time correlation of wind farm input and output data and enhance the prediction accuracy. Secondly, a deep learning-based data-driven prediction controller is developed, which adopts the concept of rolling optimization. The controller uses the constructed deep learning-based wind turbine prediction model to predict the time series data of the next time period and solves a constrained optimization problem to obtain the optimal control sequence within a limited time range. It eliminates the necessity of frequent manual model maintenance and is suitable for real-time applications. Finally, a fully decentralized deep learning-based T-step state variable error prediction model is proposed, and a DL-DOVC method suitable for WF voltage optimization is proposed to minimize voltage deviation. By designing an auxiliary feedback controller, the influence of non-local WTs control variables on the local WT terminal voltage is implicitly considered. Moreover, by adopting the DL-DOVC method, a control close to the global optimum is achieved by using only local information without communication. In view of the problems and shortcomings in the prior art, inspired by the existing data-driven control method based on deep learning, the purpose of the present invention is to use deep learning technology to learn the wind farm prediction model, which can be achieved by extracting knowledge from existing prior information and a large amount of data without explicitly building a physical model. In order to explore a completely data-driven modeling method to learn the dynamic model of the wind farm and achieve optimal voltage control without a communication system, the present embodiment method proposes a wind farm decentralized optimal voltage control (DL-DOVC) based on data-driven modeling of deep learning. The present embodiment method adopts a data-driven modeling method based on deep learning, which has a hybrid CNN-LSTM architecture, can directly learn complex features and time correlations from the original wind farm output time series, and the present embodiment method implements a data-driven prediction controller based on deep learning for local WT to minimize the voltage deviation from the rated voltage. In order to enhance the global optimality of the local WT controller, an auxiliary state feedback controller is designed to compensate for the impact of non-local WTs control variables on the local WT voltage. Therefore, the DL-DOVC strategy of the embodiment method can achieve a control effect close to the global optimality using only local measurement information.The contribution of the method of this embodiment is that the wind farm prediction model based on deep learning proposed in this embodiment has achieved good prediction performance, and can predict the voltage trajectory of WF under different working conditions, without knowing the detailed network parameters of the wind farm in advance, and can predict the system state trajectory only based on the system input and output data. In addition, the proposed deep learning-DOVC distributed control method is adopted, and the influence of non-local WTs control variables on the local WT terminal voltage is implicitly considered by designing an auxiliary feedback controller. In the absence of communication, only local information is used to achieve control close to the global optimality, which can effectively reduce the computational burden and communication burden of the central controller of the wind farm, and is conducive to ensuring the information privacy of the wind farm.
[0037] In addition, this embodiment also provides a wind farm distributed voltage optimization control system based on deep learning, including an interconnected microprocessor and a memory, wherein the microprocessor is programmed or configured to execute the wind farm distributed voltage optimization control method based on deep learning.
[0038] In addition, this embodiment also provides a computer-readable storage medium, which stores a computer program / instruction, and the computer program / instruction is programmed or configured to execute the deep learning-based distributed voltage optimization control method for wind farms through a processor.
[0039] In addition, this embodiment also provides a computer program product, including a computer program / instruction, which is programmed or configured to execute the deep learning-based distributed voltage optimization control method for a wind farm through a processor.
[0040] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. 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 produce 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 process Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0041] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A wind farm distributed voltage optimization control method based on deep learning, characterized in that: The steps include: S101, obtaining a historical input data set of a wind farm; S102, using a pre-trained deep learning-based wind turbine prediction model to predict the historical input data set of the wind farm to obtain a T-step prediction state vector at the next moment; S103, constructing the main optimization problem of the distributed voltage optimization control of the wind farm with the next T-step predicted state vector sequence, optimization objectives and constraints, and using a preset optimizer to solve and obtain the optimal control variables to control the operation of the wind farm, wherein the control variables represent the output power increment vectors of n wind turbines.
2. The method for wind farm distributed voltage optimization control based on deep learning according to claim 1, characterized in that: In step S102, when the historical input data set of the wind farm is predicted by using the pre-trained deep learning-based wind turbine prediction model to obtain the next T-step prediction state vector, the historical input data set of the wind farm includes the previous T-step state variable vector at the current moment and the previous T-step control variable vector at the current moment. The state variables in the previous T-step state variable vector represent the terminal voltage amplitude vectors of n wind turbines, and the function expression thereof is: , In the above formula, is the state variable, is the terminal voltage amplitude vector of n wind turbines, ~ Respectively represent the terminal voltage amplitudes of the 1st to nth wind turbines; the control variable in the control variable vector of the first T steps represents the output power increment vector of the n wind turbines, and its function expression is: , , , In the above formula, is the control variable, and are the output active power increment and output reactive power increment of n wind turbines at time k, and are the output active power increment and output reactive power increment of n wind turbines at each moment, ~ They represent the output active power increments of the 1st to nth wind turbine generators respectively, ~ They represent the output reactive power increments of the 1st to nth wind turbines respectively; the function expression of the wind turbine prediction model based on deep learning is: , In the above formula, and are the state variables at time k+1 and k respectively, is the control variable at time k, and the state matrix Take a cell matrix of size n×n , control matrix The function expression is: , , , In the above formula, is the voltage power sensitivity matrix of the wind farm, The dimension size is n×2n, is the voltage-active power sensitivity matrix, is the voltage-reactive sensitivity matrix, when , hour, is the terminal voltage amplitude of the i-th wind turbine, is the output active power increment of the i-th wind turbine generator, is the output reactive power increment of the i-th wind turbine; is the sensitivity coefficient of the terminal voltage amplitude of the i-th wind turbine to the active power injected into the i-th wind turbine, is the sensitivity coefficient of the terminal voltage amplitude of the i-th wind turbine to the injected reactive power of the i-th wind turbine.
3. The method for decentralized voltage optimization control of wind farms based on deep learning according to claim 2, characterized in that: The pre-trained deep learning-based wind turbine prediction model in step S102 is a prediction model based on a convolutional neural network CNN and a long short-term memory network LSTM. The prediction model based on the convolutional neural network CNN and the long short-term memory network LSTM includes an input layer, a convolution layer, a pooling layer, a node expansion layer, a plurality of long short-term memory network LSTM layers, a fully connected layer and an output layer connected in sequence. The historical input data set of the wind farm is predicted by using the pre-trained deep learning-based wind turbine prediction model to obtain the T-step prediction state vector at the next moment, including: the historical input data set of the wind farm is input into the input layer of the prediction model based on the convolutional neural network CNN and the long short-term memory network LSTM after data cleaning and normalization, and then a one-dimensional convolution operation is performed through the convolution layer, a pooling operation is performed through the pooling layer, and then a feature expansion is performed through the node expansion layer, and then a prediction output is obtained through multiple long short-term memory network LSTM layers, a fully connected layer and an output layer. The sequence of the predicted state vectors of the next moment after the T-step prediction is output.
4. The method for wind farm distributed voltage optimization control based on deep learning according to claim 3 is characterized in that: Before step S102, it also includes training a prediction model based on a convolutional neural network CNN and a long short-term memory network LSTM, and the loss function used when training the prediction model based on the convolutional neural network CNN and the long short-term memory network LSTM is to minimize the average absolute error between the predicted state vector sequence of the next T steps after the predicted output and the actual value.
5. The method for decentralized voltage optimization control of wind farms based on deep learning according to claim 1, characterized in that: The function expression of the optimization objective of the main optimization problem of the wind farm distributed voltage optimization control constructed in step S103 is: , In the above formula, is the objective function of the optimization goal, is the control variable vector of the previous T steps at the current moment, is the control variable vector at the current moment, is a slack variable greater than 0, To predict the next T-step predicted state vector, represents the rated value of the state variable, and is the weight coefficient, is the penalty factor; the function expression of the constraint condition of the main optimization problem is: , , , in, is a wind turbine prediction model based on deep learning. and are the minimum and maximum values of the state variables, and are the minimum and maximum values of the control variable, , , , are scaling factors.
6. The method for wind farm distributed voltage optimization control based on deep learning according to claim 5, characterized in that: In step S103, using a preset optimizer to solve and obtain the optimal control variable to control the operation of the wind farm includes: using the preset optimizer to solve and obtain the optimal control variable as the nominal control variable , the final optimal control variables are calculated according to the following formula to control the operation of the wind farm: , In the above formula, is the final optimal control variable, To obtain the control variables of the auxiliary optimization problem using the auxiliary state feedback controller.
7. The method for wind farm distributed voltage optimization control based on deep learning according to claim 6, characterized in that: The method of obtaining the control variables of the auxiliary optimization problem by using the auxiliary state feedback controller includes: S201, based on the disturbance estimator, estimate the multi-step disturbance variable vector at the previous moment according to the following formula : , In the above formula, is the multi-step disturbance variable vector of the previous moment, is the measurement vector composed of the T-step state variables and control variables at the previous moment, is the actual measured value of the state variable, is a multi-step predictor right The prediction results of the multi-step predictor Based on real data sets Trained, and have: , In the above formula, Collect data for the T-step time series of state variables of an actual wind farm with disturbances. Collect data for the T-step time series of the control variables of the actual wind farm with disturbances, N is the number of T-step time series of the data set of the actual wind farm with disturbances; S202, the multi-step disturbance variable vector of the previous moment The T-step state variable error prediction model based on deep learning is used to obtain the T-step state variable error at the current moment according to the following formula: : , In the above formula, is the T-step state variable error at the current moment, represents the T-step state variable error prediction model based on deep learning, is the T-step state variable error variable of the previous moment, is the T-step control variable error variable of the previous moment, and the T-step state variable error prediction model based on deep learning is composed of the error data set Trained, and have: , In the above formula, is the T-step time series data of the error between the actual state variable and the nominal state variable, is the T-step time series data of the error between the actual control variable and the nominal control variable, is the disturbance variable vector T-step time series data; S203, based on the T-step state variable error at the current moment Establish the auxiliary optimization problem shown in the following formula: In the above formula, To assist in the optimization problem, is the T-step vector of the error between the actual control variable and the nominal control variable at the previous moment, is the T-step vector of the error between the actual state variable and the nominal state variable at the current moment, is a slack variable greater than 0, and is the weight, is the penalty factor; the constraints of the auxiliary optimization problem are: , , , , , , In the above formula, ~ is the error between the actual state variable and the nominal state variable at time k - k + T-1, ~ is the error between the actual control variable and the nominal control variable at time k - k + T-1, is the error between the actual state variable and the nominal state variable at time k, is the error between the actual control variable and the nominal control variable at time k, and are the minimum and maximum values of the state error variable, respectively. and are the minimum and maximum values of the control error variable, respectively; S204, solving the optimal control feedback variable sequence for the auxiliary optimization problem The error vector Minimize and optimize the control feedback variable sequence The first variable in As the control variable of the auxiliary optimization problem obtained by using the auxiliary state feedback controller Output; where is the actual optimal control variable vector, is the nominal optimal control variable vector, is the error vector between the actual state variable and the nominal state variable, is the error vector between the actual control variable and the nominal control variable.
8. A wind farm distributed voltage optimization control system based on deep learning, comprising an interconnected microprocessor and a memory, characterized in that: The microprocessor is programmed or configured to execute the deep learning-based distributed voltage optimization control method for a wind farm as described in any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program / instruction stored therein, characterized in that: The computer program / instructions are programmed or configured to execute the deep learning-based distributed voltage optimization control method for a wind farm through a processor as described in any one of claims 1 to 7.
10. A computer program product comprising a computer program / instructions, characterized in that The computer program / instructions are programmed or configured to execute the deep learning-based distributed voltage optimization control method for a wind farm through a processor as described in any one of claims 1 to 7.
