Capacitor compensation optimization system and method for short-term power fluctuations in wind farms

Through the long short-term memory network model and adaptive capacitance compensation algorithm, the capacitance compensation of the wind farm is dynamically adjusted, which solves the problem of grid instability in traditional methods, achieves more efficient grid operation and reduces operation and maintenance costs.

CN117674179BActive Publication Date: 2024-08-23XIANGYANG POWER SUPPLY COMPANY OF STATE GRID HUBEI ELECTRIC POWER +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311216167.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2024-08-23
Estimated Expiration
2043-12-21

AI Technical Summary

Technical Problem

Traditional capacitance compensation methods lack real-time performance and accuracy in wind farms and cannot effectively cope with short-term power fluctuations, resulting in grid instability and energy loss.

Method used

The long short-term memory network model is used to predict the power output of the wind farm, and the capacitance compensation amount is dynamically adjusted through the capacitance demand prediction unit and the compensation adjustment unit, and the capacitance compensation is optimized in real time by combining the adaptive factor and sliding mode control algorithm.

Benefits of technology

It improves the stability of the power grid, reduces the impact of power fluctuations on the power grid, reduces operation and maintenance costs, and improves the operating efficiency and economy of the wind farm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117674179B
    Figure CN117674179B
Patent Text Reader

Abstract

The present invention provides a capacitor compensation optimization system and method for short-term power fluctuations in a wind farm; wherein the system mainly includes three main components: a power prediction unit, a capacitor demand prediction unit and a capacitor compensation adjustment unit; the power prediction unit uses a long short-term memory network model (LSTM) to predict the power output of the wind farm in the next minute; based on this prediction, the capacitor demand prediction unit calculates the expected capacitor demand through a specific mathematical formula; the capacitor compensation adjustment unit uses an adaptive factor to dynamically adjust the capacitor compensation amount, and the adaptive factor is optimized in real time through an objective function to minimize the deviation between the real-time power output and the target power output; this system can not only accurately predict the power output of the wind farm, but also effectively adjust the capacitor compensation amount, thereby helping to maintain the stability of the power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electric power, and in particular to a system and method for optimizing capacitor compensation for short-term power fluctuations in a wind farm. Background Art

[0002] In wind power generation systems, the power output of wind farms often fluctuates in short periods of time due to the constant changes in wind speed and direction. Such fluctuations may cause instability in the power grid, especially when the wind farm is connected to the power grid. To solve this problem, capacitor compensation is usually required to balance the current and voltage of the power grid and maintain its stability. However, traditional capacitor compensation methods are usually based on statistical data and empirical rules, lacking real-time and precision.

[0003] With the continuous development of wind power technology, especially the emergence of large-scale wind farms, this fluctuation and instability problem has become more and more serious. This may not only affect the stable operation of the power grid, but also cause energy loss, thereby reducing the overall economic efficiency of the wind farm.

[0004] Although there are many methods for capacitor compensation, most of them lack sufficient flexibility and adaptability to effectively deal with short-term power fluctuations in wind farms. In addition, traditional methods are usually unable to optimize the amount of capacitor compensation in real time, so they perform poorly in the face of rapidly changing environmental factors such as wind speed and direction.

[0005] Therefore, there is an urgent need for a system that can dynamically and accurately perform capacitance compensation to achieve more stable and efficient wind power generation. Summary of the invention

[0006] The present application provides a system and method for optimizing capacitor compensation for short-term power fluctuations in a wind farm to maintain the stability of the power grid.

[0007] The dynamic capacitance compensation optimization system provided by the present application includes:

[0008] Power prediction unit, used to predict the power output of the wind farm in the next minute through the long short-term memory network model

[0009] Capacitor demand forecasting unit for predicting wind farm power output based on forecasts Calculate expected capacitance requirements using the following formula:

[0010]

[0011] Among them, k1, k2, k3, k4 and k5 are coefficients, which are obtained by fitting historical data through the least square method, and t is the current time;

[0012] The capacitance compensation adjustment unit is used to dynamically adjust the capacitance compensation amount C(t) of the wind farm according to the following formula:

[0013]

[0014] Among them, α and ω are coefficients, t is the current time, t-1 is a time unit before the current time t, and β is an adaptive factor between 0 and 1. Real-time optimization is performed through the following objective function:

[0015]

[0016] Where P(t) is the real-time power output of the wind power plant, P target is the target power output of the wind farm.

[0017] Furthermore, the power output It can be obtained using the following formula:

[0018]

[0019] Among them, v1 represents wind speed, v2 represents wind direction angle, v3 represents temperature, v4 represents humidity, v5 represents atmospheric pressure, v6 represents cloud cover or sunlight exposure, v7 represents season and time factors, v8 represents geographical and terrain factors, v9 represents historical power output, v10 represents unit status, v11 represents grid compliance, v12 represents market wind power price, and f LSTM It is a trained long short-term memory network model.

[0020] Furthermore, the long short-term memory network model includes an input layer, a hidden layer and an output layer, wherein the hidden layer introduces an attention layer to improve the model's ability to extract useful information from long sequences.

[0021] Furthermore, the attention layer utilizes a multi-head attention mechanism to process multiple information streams in parallel.

[0022] Furthermore, the capacitance demand prediction unit further includes an anomaly detection mechanism for identifying power fluctuations that are significantly different from historical data.

[0023] Furthermore, the capacitance compensation adjustment unit includes a fast response mechanism for coping with instantaneous power peaks in the wind farm.

[0024] Furthermore, the LSTM network model further uses the power output of neighboring wind turbines as an additional input variable.

[0025] Furthermore, the capacitance compensation adjustment unit further includes a compensation algorithm execution module based on sliding mode control, which is used to handle large power fluctuations.

[0026] Furthermore, the dynamic capacitor compensation optimization system also includes a user interface for displaying the power fluctuation and capacitor compensation amount of the wind farm in real time.

[0027] The present application provides a method for optimizing dynamic capacitor compensation for short-term power fluctuations in a wind farm, comprising:

[0028] Predicting the power output of a wind farm in the next minute using a long short-term memory network model

[0029] Based on the predicted power output of the wind farm Calculate expected capacitance requirements using the following formula:

[0030]

[0031] Among them, k1, k2, k3, k4 and k5 are coefficients, which are obtained by fitting historical data through the least square method, and t is the current time;

[0032] The capacitance compensation amount C(t) of the wind farm is dynamically adjusted according to the following formula:

[0033]

[0034] Among them, α and ω are coefficients, t is the current time, t-1 is a time unit before the current time t, and β is an adaptive factor between 0 and 1. Real-time optimization is performed through the following objective function:

[0035]

[0036] Where P(t) is the real-time power output of the wind power plant, P target is the target power output of the wind farm.

[0037] The present application provides a dynamic capacitor compensation optimization system and method for short-term power fluctuations in a wind farm, which uses a long short-term memory (LSTM) network model to predict the next minute power output of the wind farm, and the model has higher prediction accuracy and real-time performance. The capacitor compensation adjustment unit uses an adaptive factor β, which can be optimized in real time to minimize the difference between the real-time power output and the target power output.

[0038] The dynamic capacitor compensation optimization system and method for short-term power fluctuations in wind farms provided by the present application have the following beneficial technical effects:

[0039] (1) Improving grid stability: By performing capacitor compensation in real time and accurately, the impact of wind farm power fluctuations on the grid can be effectively reduced, thereby improving the overall stability of the grid.

[0040] (2) Improve the operating efficiency of wind farms: By reducing power fluctuations, power losses and equipment wear can be reduced, thereby improving the operating efficiency and economy of wind farms.

[0041] (3) Reduce operation and maintenance costs: Accurate prediction and dynamic adjustment reduce reliance on manual intervention and can reduce the operation and maintenance costs of wind farms. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a schematic diagram of a dynamic capacitor compensation optimization system for short-term power fluctuations in a wind farm provided by the first embodiment of the present application.

[0043] Figure 2 It is a schematic diagram of the long short-term memory network model involved in the first embodiment of the present application. DETAILED DESCRIPTION

[0044] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0045] The first embodiment of the present application provides a dynamic capacitor compensation optimization system for short-term power fluctuations in a wind farm. Figure 1 , which is a schematic diagram of the first embodiment of the present application. Figure 1 A first embodiment of the present application provides a dynamic capacitor compensation optimization system for short-term power fluctuations in a wind farm.

[0046] The dynamic capacitor compensation optimization system includes a power prediction unit 101 , a capacitor demand prediction unit 102 , and a capacitor compensation adjustment unit 103 .

[0047] The power prediction unit 101 is used to predict the wind power output in the next minute through the long short-term memory network model.

[0048] Long Short-Term Memory (LSTM) is a special recurrent neural network (RNN) architecture that aims to solve the gradient vanishing and gradient exploding problems that occur when traditional RNNs process long sequences. By introducing a gating mechanism, LSTM can learn long-term and short-term dependencies, making it suitable for a variety of sequence prediction tasks.

[0049] In the short-term power forecasting problem of wind farms, the power output is affected by multiple factors (such as wind speed, wind direction, temperature, etc.), and there are complex time dependencies between these factors. LSTM is particularly suitable for this type of problem due to its excellent sequence modeling capabilities.

[0050] LSTM can more accurately capture dependencies in time series data, thus providing more accurate short-term wind power forecasts. Compared with traditional machine learning methods, LSTM can capture more complex time dependencies, which is very important for complex systems such as wind farms that are affected by multiple factors. LSTM models can be adaptively adjusted based on new data, which is an important advantage when facing common environmental changes and equipment aging problems in wind farms.

[0051] Combine the following Figure 2 The long short-term memory network model provided in this embodiment is described in detail. The long short-term memory network model includes an input layer 201, a hidden layer 202 and an output layer 203.

[0052] The input layer 201 is composed of multiple nodes, each node corresponding to a feature.

[0053] In the input layer, considering multi-dimensional features can more accurately capture various aspects of the system, thereby improving the accuracy of short-term power prediction of wind farms. The following feature set is provided in this embodiment:

[0054] Past Wind Speed: Wind speed in the most recent time steps.

[0055] Wind direction angle: The angle of the wind direction can affect the efficiency of the wind turbine.

[0056] Temperature: Temperature affects air density, which in turn affects the power of wind power.

[0057] Humidity: Different humidity conditions may affect the efficiency of wind turbine blades.

[0058] Atmospheric Pressure: High air pressure is usually associated with stable weather and may mean stable wind speeds.

[0059] Cloud cover or sunlight exposure: Changes in cloud cover or sunlight exposure may indicate an impending change in wind speed.

[0060] Season and time of day factors: Both the season and the time of day affect wind speed and temperature.

[0061] Geographical and topographical factors: such as altitude, terrain complexity, etc.

[0062] Historical power output: The actual power output in the most recent time steps.

[0063] Unit status: The operating status of the wind turbine, such as whether it is under maintenance.

[0064] Grid load demand: real-time or predicted load demand on the grid.

[0065] Market wind power prices: Information on electricity prices, especially in dispatchable generation, may affect the optimization objectives.

[0066] Each feature can be further decomposed into multiple time series points (such as the average, maximum, and minimum values ​​over the past 1 hour, 3 hours, and 24 hours), thus forming a richer input feature matrix.

[0067] By including these multidimensional features, the prediction model will be able to more comprehensively capture the various factors that affect wind farm power, thereby improving the accuracy of power prediction and the overall performance of the model.

[0068] The hidden layer 202 is composed of multiple LSTM units, each of which includes:

[0069] (1) Forget gate: manages the unit state and decides what to forget and what to remember.

[0070] (2) Input gate: Updates the cell state with new information.

[0071] (3) Output gate: Based on the cell state and input, decides what the next hidden state should be.

[0072] An innovative attention layer is introduced in this layer. This mechanism assigns weights to different parts of the input sequence, allowing the model to more effectively extract useful information from long sequences.

[0073] An attention layer is a machine learning architecture that weights different parts of an input sequence so that the model can "pay attention" to more important or relevant information. This mechanism was originally designed to improve natural language processing tasks, but has since been widely used in a variety of sequence prediction problems.

[0074] Introducing the attention layer has the following benefits:

[0075] The attention mechanism helps the model identify and weight more relevant or important input features, thereby improving the accuracy of predictions. By observing which inputs receive higher weights, we can more easily explain the model's decision-making process, which may be very valuable in wind farm operation and maintenance and fault diagnosis. The attention layer can increase the training and reasoning speed of the model because it reduces the computational burden of unnecessary information. The attention mechanism can be seamlessly integrated with other network architectures (such as LSTM) to further improve model performance.

[0076] In the short-term power forecasting problem of wind farms, the attention layer can help the model more effectively identify the key factors that affect power output (such as sudden changes in wind speed, equipment failures, etc.), thereby achieving more accurate and reliable forecasts. This is also the main reason why it is introduced into this application.

[0077] Furthermore, the attention layer utilizes a multi-head attention mechanism to process multiple information streams in parallel.

[0078] Here, multi-head attention is an advanced form of attention mechanism that allows the model to focus on multiple parts of the input sequence at the same time. This is done by extending the original attention mechanism and running multiple independent attention "heads". Each head focuses on different aspects of the input data, allowing the model to capture more complex and advanced dependencies in a single forward propagation.

[0079] Specifically, in the multi-head attention mechanism, the input data is first decomposed into multiple subsets or "heads". Each head is linearly transformed by an independent weight matrix and then self-attention is performed. This means that each head generates a different output representation that captures different levels and types of information in the input sequence. These outputs are then concatenated and passed through an additional linear transformation layer to generate the final output representation.

[0080] Since the multi-head attention mechanism can process multiple information streams in parallel, this enables the model to extract useful information from the input data more efficiently. This parallelism not only improves computational efficiency, but also increases the expressiveness of the model, enabling it to better capture complex dependencies and patterns.

[0081] In this embodiment, by introducing a multi-head attention mechanism into the hidden layer of the long short-term memory network (LSTM), the model can not only process the long-distance dependency of time series data, but also process multiple information flows related to wind farm power fluctuations in parallel, such as wind speed, wind direction angle, temperature, etc. This innovative structure provides a more accurate and effective method to predict short-term power fluctuations of wind farms, thereby achieving more optimized capacitor compensation.

[0082] Therefore, this attention layer that introduces a multi-head attention mechanism is obviously innovative and practical, and can significantly improve the accuracy of system prediction and the efficiency of capacitor compensation. This provides a more robust and efficient dynamic capacitor compensation solution for wind farms.

[0083] The output layer 203 is a separate node that outputs the predicted power output of the wind farm. Since this model is a regression problem, linear activation is used here.

[0084] After the model is established and trained using historical data, the trained LSTM model can be used for power prediction.

[0085] The power output It can be obtained using the following formula:

[0086]

[0087] Among them, v1 represents wind speed, v2 represents wind direction angle, v3 represents temperature, v4 represents humidity, v5 represents atmospheric pressure, v6 represents cloud cover or sunlight exposure, v7 represents season and time factors, v8 represents geographical and terrain factors, v9 represents historical power output, v10 represents unit status, v11 represents grid compliance, v12 represents market wind power price, and f LSTM It is a trained long short-term memory network model.

[0088] Furthermore, the LSTM network model further uses the power output of neighboring wind turbines as an additional input variable.

[0089] Specifically, when training and using the LSTM network model, not only the various parameters of a single wind turbine itself (such as wind speed, wind direction, temperature, etc.) are considered, but also the power output data of neighboring wind turbines are added. The reason for this is that the power output between different wind turbines in a wind farm usually has a certain degree of spatial correlation. Due to the influence of wind flow patterns and environmental factors, the power fluctuations of a wind turbine often have a certain correlation with the power fluctuations of its neighboring wind turbines. Therefore, by integrating this additional input variable, the model can more comprehensively capture the dynamic changes within the wind farm, thereby making more accurate power predictions.

[0090] In specific implementation, the power output data of neighboring wind turbines can be obtained in real time through the centralized control system of the wind farm. These data need to be properly preprocessed, such as missing value filling, noise filtering and data standardization, so that they can be more effectively used for model training and prediction together with other input variables.

[0091] The pre-processed power output data of neighboring wind turbines is used as one of the inputs of the long short-term memory network model, and then the model is trained through standard model training processes (such as back propagation algorithm and gradient descent optimization, etc.). After the model training is completed, it can be used to predict the power output of wind turbines in real time and perform dynamic capacitance compensation accordingly.

[0092] In addition, in order to further optimize the model, multimodal fusion or other advanced data fusion techniques can be considered to integrate the power output data and other input variables of neighboring wind turbines, which can further improve the accuracy and robustness of the model.

[0093] In Python, using the TensorFlow library, the following code snippet shows how to build a LSTM network model with an attention mechanism. This code is designed for the short-term power forecasting problem of a wind farm. Please note that the code is only for example and may need to be further adjusted to meet specific application requirements.

[0094] import tensorflow as tf

[0095] #Assume input_shape is the shape of the input feature, for example (number of time steps, number of features)

[0096] input_shape = (None, 12) # 12 features

[0097] output_shape = 1 # one output (predicted wind power)

[0098] #Define model

[0099] model = tf.keras.Sequential()

[0100] #Add input layer

[0101] model.add(tf.keras.layers.InputLayer(input_shape=input_shape))

[0102] #Add LSTM layer

[0103] model.add(tf.keras.layers.LSTM(128,return_sequences=True))

[0104] #Add attention mechanism layer

[0105] model.add(tf.keras.layers.Attention())

[0106] #Add another LSTM layer

[0107] model.add(tf.keras.layers.LSTM(64,return_sequences=False))

[0108] #Add fully connected layer

[0109] model.add(tf.keras.layers.Dense(32,activation='relu'))

[0110] #Add output layer

[0111] model.add(tf.keras.layers.Dense(output_shape))

[0112] # Compile the model

[0113] model.compile(optimizer='adam',loss='mse')

[0114] #Print model structure

[0115] model.summary()

[0116] The capacitor demand prediction unit 102 is used to predict the power output of the wind farm according to the prediction. Calculate the expected capacitance requirement C1(t) using the following formula:

[0117]

[0118] Among them, t is the current time, k1, k2, k3, k4 and k5 are coefficients, which are obtained by fitting historical data through the least squares method.

[0119] The capacitor demand prediction unit 102 is a key component that is specifically used to calculate the expected capacitor demand of the wind farm. The prediction unit uses a specific algorithm formula to accurately and efficiently determine the capacitance compensation amount required next.

[0120] The capacitor demand prediction unit 102 mainly uses the following improved formula to predict the capacitor demand:

[0121]

[0122] The following is a detailed explanation of each variable and parameter:

[0123] It represents the power output of the wind farm predicted by the power prediction unit at time t.

[0124] t represents the current time point. In this embodiment, t can be any applicable time unit, such as seconds, minutes, hours, etc., depending on the requirements and configuration of the system.

[0125] k1, k2, k3, k4 and k5 are coefficients obtained by least squares fitting of historical data. Each coefficient has its specific physical or mathematical meaning and is used to quantify the relationship between capacitor demand and predicted power.

[0126] K1 and K3 are mainly related to power and capacitor requirements k2 is an offset term used to account for the baseline capacitance demand that may exist in the system. k4 and k5 are coefficients associated with the time factor t, and their purpose is to capture periodic changes that may occur over time. Finally, the term sin(k5×t) is used to capture possible periodic or seasonal fluctuations in capacitance demand. This design enables the capacitance demand forecasting unit 102 to not only respond to instantaneous changes in the wind farm, but also adapt to long-term or periodic changes.

[0127] In general, by introducing this highly accurate prediction model, the present application achieves significant advantages in the dynamic adjustment of capacitor compensation, especially in the case of complex and variable nature of wind farm power output. This not only improves the operating efficiency of the system, but also helps to extend the service life of related equipment, thereby reducing operation and maintenance costs.

[0128] Furthermore, the capacitor demand prediction unit 102 further includes an anomaly detection mechanism for identifying power fluctuations that are significantly different from historical data.

[0129] The anomaly detection mechanism here can be understood as a filter used to identify data points or data sequences that do not conform to expected or historical data patterns. In the power output of a wind farm, such anomalies may be caused by a variety of factors, such as sudden climate change, equipment failure, or other non-routine operating conditions.

[0130] Implementing this anomaly detection mechanism may employ a variety of statistical or machine learning methods. For example, the mechanism may use Z-scores, Mahalanobis distance, or an ensemble of models such as isolation forests or one-dimensional convolutional neural networks (CNNs) for anomaly detection. Regardless of the method used, the goal is to perform real-time analysis of current and recent power data to identify situations that are significantly different from historical data or expected patterns.

[0131] Once such an anomaly is detected, the mechanism can trigger a variety of responses. For example, it may issue an alarm for further manual inspection, or automatically adjust other system parameters to cope with the anomaly. In particular, in the capacitor demand forecasting unit, the anomaly detection mechanism can be used to temporarily adjust or override the prediction based on the LSTM model to more accurately estimate the next required capacitor compensation.

[0132] The introduction of this anomaly detection mechanism not only enhances the robustness of the system, but also provides an effective means to cope with unforeseen or non-periodic power fluctuations that may occur in wind farms. This functionality is particularly important in highly variable environments such as wind farms, as it helps ensure that capacitor compensation is always performed accurately and efficiently, even in the face of abnormal operating conditions.

[0133] The capacitance compensation adjustment unit 103 is used to dynamically adjust the capacitance compensation amount C(t) of the wind farm according to the following formula:

[0134]

[0135] Among them, α and ω are coefficients, t is the current time, t-1 is a time unit before the current time t, and β is an adaptive factor between 0 and 1. Real-time optimization is performed through the following objective function:

[0136]

[0137] Where P(t) is the real-time power output of the wind power plant, P target is the target power output of the wind farm.

[0138] The capacitance compensation adjustment unit 103 plays a key role in the present invention and is responsible for dynamically adjusting the capacitance compensation amount C(t) of the wind farm according to a specific algorithm formula. The working mechanism of this unit is as follows:

[0139] The formula used to calculate the capacitance compensation amount C(t) is as follows:

[0140]

[0141] Wherein, C(t) represents the capacitance compensation amount at the current time t. Represents the predicted capacitor demand at time t, which is usually calculated by the capacitor demand prediction unit 102. C(t-1) represents the capacitor compensation amount at time t-1, that is, one time unit before the current time t. β is an adaptive factor between 0 and 1, which is adjusted by optimizing the objective function in real time. α and ω are coefficients determined by system analysis and are used to simulate possible periodic or seasonal fluctuations in capacitor demand. t: represents the current time, which can be seconds, minutes or any other appropriate time unit.

[0142] The value of the adaptive factor β is determined by optimizing the following objective function in real time:

[0143]

[0144] Where P(t) represents the actual power output of the wind power plant at time t. target Represents the target power output of the wind power plant.

[0145] Using this formula has the following advantages:

[0146] (1) Adaptability: Since β is an adaptive factor, this allows the system to automatically adjust the capacitor compensation under different operating conditions, thereby increasing the robustness of the system. (2) Periodic adjustment: Introducing The term allows the system to capture the periodic changes in capacitance demand, increasing the accuracy of the prediction. (3) Optimization objective: By optimizing the objective function in real time, the power output of the wind power plant is ensured to be as close to the predetermined target as possible, thereby improving the stability and reliability of the power grid.

[0147] In general, the capacitor compensation adjustment unit 103 not only improves the operation efficiency of the wind farm by using advanced mathematical models, but also enhances the adaptability to complex and uncertain environmental factors, which not only helps to reduce operation and maintenance costs, but also prolongs the service life of related equipment.

[0148] Furthermore, the capacitance compensation adjustment unit 103 includes a fast response mechanism for coping with instantaneous power peaks in the wind farm.

[0149] This fast response mechanism can be understood as a subsystem that can adjust the amount of capacitor compensation in a very short time. In wind farms, instantaneous power peaks are a common phenomenon due to various environmental factors (such as sudden wind speed changes) and mechanical factors (such as angle changes of turbine blades). These peaks may have an adverse effect on grid stability.

[0150] To effectively implement this mechanism, it is first necessary to set up one or more real-time monitoring points in the system to monitor the power output of the wind farm in real time. The data from these monitoring points will be used as input for processing by the rapid response mechanism.

[0151] There are many ways to implement the fast response mechanism. One possible way is to use a sliding window algorithm to quickly identify whether there is an instantaneous power peak through power data in a short period of time. When an instantaneous peak is detected, the mechanism will immediately trigger the adjustment of the capacitor compensation.

[0152] Specifically, the quick response mechanism may use a set of pre-set parameters or parameters calculated in real time to adjust the capacitance compensation amount in an instant. This adjustment may be achieved by changing the control signal in the capacitance compensation unit or by physically adjusting the capacitor combination.

[0153] In addition, to ensure the system's responsiveness, the fast response mechanism may also include hardware acceleration, for example, using dedicated digital or analog circuits to ensure that all necessary calculations and adjustments are completed within milliseconds.

[0154] The introduction of this fast response mechanism has significant innovation and application value. It not only improves the response capability of the capacitor compensation system to instantaneous power peaks, thereby enhancing the stability of the entire wind farm grid, but also provides an effective way to make capacitor compensation more flexible and adaptive, and maintain high efficiency and stability in a changing operating environment.

[0155] This feature provides wind farms with a powerful tool to cope with complex and unforeseen operating situations, thereby further optimizing wind farm operational performance and grid stability.

[0156] Furthermore, the capacitance compensation adjustment unit further includes a compensation algorithm execution module based on sliding mode control, which is used to handle large power fluctuations.

[0157] Sliding mode control is a nonlinear control strategy with the advantage of being highly robust and able to maintain system performance under model uncertainty and external disturbances. In the capacitor compensation scenario, large power fluctuations are often caused by sudden changes in wind speed or unit state changes, which are highly unpredictable and difficult to accurately simulate. Therefore, the introduction of a compensation algorithm execution module based on sliding mode control can effectively reduce the negative impact of these uncertainties and disturbances.

[0158] In a specific implementation, the sliding mode control module first defines a sliding surface, which is a function that depends on the system state and the control input. When the system state changes along this sliding surface, the system output (i.e., the capacitance compensation amount) will reach the desired performance index. The sliding mode controller achieves this goal by making the system state reach and maintain on the sliding surface as quickly as possible.

[0159] For this system, the selection and design of the sliding surface can be carried out according to the specific operating conditions and performance requirements of the wind farm. Once the sliding surface is defined, the control input (i.e., the capacitance compensation amount) can be determined in real time through a series of mathematical calculations and logical judgments.

[0160] This module can cooperate with the power prediction unit and the capacitor demand prediction unit described above. Specifically, the compensation algorithm execution module based on sliding mode control can use the predicted power and predicted capacitor demand provided by these units as its input parameters, and then dynamically adjust the capacitor compensation amount by comprehensively considering this information and the real-time system status.

[0161] In general, by introducing the compensation algorithm execution module based on sliding mode control, this dynamic capacitor compensation optimization system has obvious advantages and innovations in dealing with large power fluctuations. It can not only provide faster and more stable responses, but also maintain its high performance under model uncertainty and external disturbances, which is of great practical value for ensuring the stable operation of wind farms and improving the reliability of power grids.

[0162] Furthermore, the dynamic capacitor compensation optimization system also includes a user interface for displaying the power fluctuation and capacitor compensation amount of the wind farm in real time.

[0163] This user interface is designed to display the power fluctuations of the wind farm and the amount of capacitor compensation in real time. This real-time display not only provides instant feedback on the system status, but also allows operators or other relevant personnel to more effectively monitor and manage the entire capacitor compensation process.

[0164] A user interface is usually a graphical interface, displayed on dedicated hardware or on a general-purpose computer. The interface usually consists of multiple sections or panes, each of which is used to display a specific type of information.

[0165] In one possible implementation, the user interface would include a time series graph showing the power output of the wind farm over time. This display would help the user quickly identify any unusual power fluctuations or trends.

[0166] At the same time, the user interface may also include one or more dashboard-style displays for displaying the current capacitance compensation amount in real time. These displays may indicate the size and direction of the capacitance compensation amount in the form of numbers, pointers, or graphics.

[0167] Furthermore, the user interface may provide operation options, such as adjusting capacitance compensation parameters, enabling or disabling a specific compensation mode, etc. These operation options may generally be implemented through touch screen operations, physical buttons, or input devices such as a mouse and keyboard.

[0168] Additionally, the user interface may also include warning and notification systems that automatically alert the user when an abnormal condition is detected. For example, if the system detects a sudden, large power fluctuation, it may display a warning signal in the user interface and may trigger an audible or visual warning.

[0169] Overall, the dynamic capacitor compensation optimization system is more complete and user-friendly by adding a user interface for real-time display of wind farm power fluctuations and capacitor compensation. This feature not only increases the usability and ease of use of the system, but also provides operators with more control and adjustment options, thereby helping to maintain grid stability and improve overall operational efficiency.

[0170] In the above-mentioned embodiment, a dynamic capacitor compensation optimization system for short-term power fluctuations in a wind farm is provided. Correspondingly, the present application also provides a dynamic capacitor compensation optimization method based on short-term power fluctuations in a wind farm. Since this embodiment, i.e., the second embodiment, is basically similar to the system embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The system embodiment described below is only illustrative.

[0171] The second embodiment of the present application provides a dynamic capacitor compensation optimization method for short-term power fluctuations in a wind farm, comprising:

[0172] Predicting the power output of a wind farm in the next minute using a long short-term memory network model

[0173] Based on the predicted power output of the wind farm Calculate expected capacitance requirements using the following formula:

[0174]

[0175] Among them, k1, k2, k3, k4 and k5 are coefficients, which are obtained by fitting historical data through the least square method, and t is the current time;

[0176] The capacitance compensation amount C(t) of the wind farm is dynamically adjusted according to the following formula:

[0177]

[0178] Among them, α and ω are coefficients, t is the current time, t-1 is a time unit before the current time t, and β is an adaptive factor between 0 and 1. Real-time optimization is performed through the following objective function:

[0179]

[0180] Where P(t) is the real-time power output of the wind power plant, P target is the target power output of the wind farm.

[0181] A third embodiment of the present application provides an electronic device, the electronic device comprising:

[0182] processor;

[0183] The memory is used to store a program, and when the program is read and executed by the processor, the dynamic capacitance compensation optimization method provided in the second embodiment of the present application is executed.

[0184] The fourth embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the dynamic capacitance compensation optimization method provided in the second embodiment of the present application is executed.

[0185] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

Claims

1. A dynamic capacitor compensation optimization system for short-term power fluctuations in a wind farm, characterized in that: include: Power prediction unit, used to predict the power output of the wind farm in the next minute through the long short-term memory network model Capacitor demand forecasting unit for predicting wind farm power output based on forecasts Calculate expected capacitance requirements using the following formula: Where t is the current time, k1, k2, k3, k4 and k5 are coefficients, which are obtained by fitting historical data through the least squares method; The capacitance compensation adjustment unit is used to dynamically adjust the capacitance compensation amount C(t) of the wind farm according to the following formula: Among them, α and ω are coefficients, t is the current time, t-1 is a time unit before the current time t, and β is an adaptive factor between 0 and 1. Real-time optimization is performed through the following objective function: Where P(t) is the real-time power output of the wind power plant, P target is the target power output of the wind farm.

2. The dynamic capacitance compensation optimization system according to claim 1, characterized in that: The power output It can be obtained using the following formula: Among them, v1 represents wind speed, v2 represents wind direction angle, v3 represents temperature, v4 represents humidity, v5 represents atmospheric pressure, v6 represents cloud cover or sunlight exposure, v7 represents season and time factors, v8 represents geographical and terrain factors, v9 represents historical power output, v10 represents unit status, v11 represents grid compliance, v12 represents market wind power price, and f LSTM It is a trained long short-term memory network model.

3. The dynamic capacitance compensation optimization system according to claim 1, characterized in that: The long short-term memory network model includes an input layer, a hidden layer and an output layer, wherein the hidden layer introduces an attention layer to improve the model's ability to extract useful information from long sequences.

4. The dynamic capacitance compensation optimization system according to claim 3, characterized in that: The attention layer utilizes a multi-head attention mechanism to process multiple information streams in parallel.

5. The dynamic capacitance compensation optimization system according to claim 1, characterized in that: The capacitance demand prediction unit further includes an anomaly detection mechanism for identifying power fluctuations that are significantly different from historical data.

6. The dynamic capacitance compensation optimization system according to claim 1, characterized in that: The capacitance compensation adjustment unit includes a fast response mechanism for coping with instantaneous power peaks in a wind farm.

7. The dynamic capacitance compensation optimization system according to claim 1, characterized in that: The LSTM network model further uses the power output of neighboring wind turbines as an additional input variable.

8. The dynamic capacitance compensation optimization system according to claim 1, characterized in that: The capacitance compensation adjustment unit further includes a compensation algorithm execution module based on sliding mode control, which is used to handle large power fluctuations.

9. The dynamic capacitance compensation optimization system according to claim 1, characterized in that: Also included is a user interface for real-time display of power fluctuations at the wind farm and the amount of capacitor compensation.

10. A method for optimizing dynamic capacitance compensation for short-term power fluctuations in a wind farm, characterized in that: include: Predicting the power output of a wind farm in the next minute using a long short-term memory network model Based on the predicted power output of the wind farm Calculate expected capacitance requirements using the following formula: Among them, k1, k2, k3, k4 and k5 are coefficients, which are obtained by fitting historical data through the least square method, and t is the current time; The capacitance compensation amount C(t) of the wind farm is dynamically adjusted according to the following formula: Among them, α and ω are coefficients, t is the current time, t-1 is a time unit before the current time t, and β is an adaptive factor between 0 and 1. Real-time optimization is performed through the following objective function: Where P(t) is the real-time power output of the wind power plant, P target is the target power output of the wind farm.