Adaptive wind turbine power probability interval curve modeling method and its application system

Through the adaptive wind turbine power probability interval curve modeling method, using QRBiLSTM neural network and particle swarm algorithm, the problem of low prediction accuracy of traditional wind turbines is solved, high-precision wind turbine power prediction and environmental adaptability are achieved, and a better Reliable wind power assessment and decision support.

CN118133677BActive Publication Date: 2024-09-06LANZHOU UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410340988.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-25
Publication Date
2024-09-06
Estimated Expiration
2044-03-25

AI Technical Summary

Technical Problem

Traditional deterministic wind power curve modeling methods cannot effectively capture the volatility and uncertainty of wind energy, resulting in low wind turbine output prediction accuracy and inability to adapt to environmental changes, limiting the accurate assessment and reliable prediction of wind turbine performance.

Method used

The adaptive wind turbine power probability interval curve modeling method is adopted, and the QRBiLSTM neural network model is combined with the particle swarm algorithm. By adaptively optimizing the network structure and training parameters, a wind turbine power probability interval curve model that can be flexibly adjusted is constructed to provide probability distribution information. and confidence intervals, reflecting the characteristics of the actual power output of the wind turbine.

Benefits of technology

It achieves high-precision wind turbine power prediction, provides more reliable performance evaluation and decision support for the wind power industry, and can adjust the model in real time according to environmental changes, improving the accuracy and reliability of the prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118133677B
    Figure CN118133677B
Patent Text Reader

Abstract

The present invention relates to an adaptive wind turbine power probability interval curve modeling method and its application system, the method comprising: obtaining target data of a wind turbine group, the target data comprising: wind speed data and power data; preprocessing the target data, constructing a QRBiLSTM neural network model, using a particle swarm algorithm to adaptively optimize the network structure parameter search space and training parameters of the QRBiLSTM neural network model, and obtaining an optimal QRBiLSTM neural network model; inputting the preprocessed target data into the optimal QRBiLSTM neural network model, and obtaining a wind turbine power probability interval curve. The present invention comprehensively displays the characteristics of the actual power output of the wind turbine by providing power probability distribution information and confidence intervals, can flexibly adjust the model according to changes in the surrounding environment of the wind turbine, improve prediction accuracy, provide more reliable and accurate performance evaluation for the wind power generation industry, and provide a credible basis for decision making.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data-driven power curve modeling in the wind power industry, and in particular to a method for adaptively modeling a wind turbine power probability interval curve and an application system thereof. Background Art

[0002] In the field of wind power generation, power curve modeling is the core of evaluating wind turbine performance and predicting wind power generation. Traditional deterministic models cannot capture the volatility and uncertainty of wind energy, which limits the accurate prediction of wind turbine output. Moreover, the prediction model deployed by the existing power modeling system is a fixed model with fixed parameters and structure. It cannot statically consider the dynamic changes in the actual operation of the unit and cannot adapt to environmental changes, which reduces the prediction accuracy and hinders the accurate evaluation and reliable prediction of wind turbine performance.

[0003] Compared with the deterministic power curve model, the power probability interval curve model more comprehensively considers the impact of wind speed volatility and determinism on power fluctuation. In probability interval prediction, interval prediction is related to confidence intervals, which are determined by quantiles, represent different positions of probability distribution, and reflect the upper or lower limit of the prediction results. Neural networks can automatically learn key features in input data through multi-level feature extraction and abstraction, accurately capture the relationship between wind speed and power, and thus make better predictions. Past methods proposed to use the cumulative distribution function of wind power probability in the historical period and the regression coefficient matrix corresponding to the preset probability to correct the cumulative distribution function of wind power probability prediction at the prediction moment to achieve power probability prediction. This correction based on regression coefficients has a certain dependence on data quality and model generalization. Past methods also proposed a conditional empirical distribution based on subset error set and wind power prediction results at each moment and conditional empirical distribution to obtain wind power probability prediction results. This method based on conditional empirical distribution is heavily dependent on the assumption of prior distribution. Summary of the invention

[0004] The purpose of the present invention is to address the limitations of traditional deterministic wind power curve modeling methods, propose an adaptive wind turbine power probability interval curve modeling method and its application system, and develop a highly accurate wind turbine power probability interval curve modeling method that fully considers uncertainty. By providing probability distribution information and confidence intervals, the characteristics of the actual power output of the wind turbine are fully displayed, and the model can be flexibly adjusted according to changes in the environment around the wind turbine to improve prediction accuracy, provide more reliable and accurate performance evaluation for the wind power industry, and provide a credible basis for decision making.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] The adaptive wind turbine power probability interval curve modeling method includes:

[0007] Acquire target data of the wind turbine generator set, wherein the target data includes: wind speed data and power data;

[0008] Preprocess the target data, build a QRBiLSTM neural network model, and use a particle swarm algorithm to adaptively optimize the network structure parameter search space and training parameters of the QRBiLSTM neural network model to obtain an optimal QRBiLSTM neural network model;

[0009] The preprocessed target data is input into the optimal QRBiLSTM neural network model to obtain a wind turbine power probability interval curve.

[0010] Optionally, preprocessing the target data includes:

[0011] The target data is cleaned, the cleaned target data is normalized, the normalized target data is split, and the data is split into a training set and a test set at a ratio of 0.8:0.2.

[0012] Optionally, before constructing the QRBiLSTM neural network model, the following steps are included:

[0013] Determine the interval distribution conditions required to construct the QRBiLSTM neural network model:

[0014] q=0.±05α

[0015] Among them, q is the quantile interval and α is the confidence level.

[0016] Optionally, adaptively optimizing the network structure parameter search space of the QRBiLSTM neural network model includes:

[0017] Setting a network structure parameter search space of the QRBiLSTM neural network model, wherein the network structure parameter search space includes: a network layer number search space and a neuron number search space;

[0018] The number of layers of the QRBiLSTM neural network model is determined by iteratively traversing each element in the network layer number search space using an outer loop of a nested loop, and for the determined number of layers, a combination of the number of neurons corresponding to the number of layers, i.e., a combination of neural network structures, is generated in an inner loop through the itertools.product function of Python and according to the set neuron number search space;

[0019] Obtain historical target data, construct several QRBiLSTM neural network models according to the neural network structure combination, define a fitness function, set the target quantile of each QRBiLSTM neural network model, perform 5-fold cross validation on the historical target data, obtain the first fitness function value corresponding to each target quantile, and take the QRBiLSTM neural network model corresponding to the minimum first fitness function value as the neural network model to be optimized.

[0020] Optionally, the fitness function is:

[0021]

[0022] Among them, Fitness is the fitness function value, mean is the mean function, MAE 0.05 、MAE 0.5 、MAE 0.95 is the absolute error, RMSE 0.05 、RMSE 0.5 、RMSE 0.95 is the root mean square error.

[0023] Optionally, adaptively optimizing the training parameters of the QRBiLSTM neural network model to obtain the optimal neural network model includes:

[0024] Setting the training parameters of the QRBiLSTM neural network model, combining the training parameters, and generating a neural network parameter combination; the training parameters include: the number of iterations and the batch size;

[0025] The neural network parameter combinations are respectively input into the neural network model to be optimized for training, a second fitness function value corresponding to the target quantile of the neural network model to be optimized is obtained, and the neural network model to be optimized corresponding to the minimum value of the second fitness function is used as the optimal neural network model.

[0026] Optionally, obtaining the optimal neural network model includes:

[0027] The performance of the optimal neural network model is evaluated based on a test set divided based on historical target data to determine whether the optimal neural network model has the optimal performance. When the optimal neural network model is not the optimal performance, the training parameters of the QRBiLSTM neural network model are adaptively optimized again until the neural network model with the optimal performance is obtained.

[0028] To achieve the above object, the present invention also provides an application system of an adaptive wind turbine power probability interval curve modeling method, comprising the following steps:

[0029] A data storage management module is used to obtain and integrate target data of wind turbines from different data sources, record relevant information of the target data, and support tracing, analysis, and backup of the target data. The target data includes wind speed data and power data.

[0030] A data quality management module is used to pre-process the target data, set data quality indicators, monitor the quality of the target data through the data quality indicators, generate data quality reports, track data quality changes, and optimize the target data based on quality changes;

[0031] The model parameter migration module is used to build a QRBiLSTM neural network model and perform data similarity judgment on the preprocessed target data. If the preprocessed target data is similar to the historical data, the parameters of the historical model corresponding to the historical data are called as the initial parameters of the QRBiLSTM neural network model.

[0032] An adaptive modeling module is used to adaptively optimize the network structure parameter search space and training parameters of the QRBiLSTM neural network model to obtain an optimal neural network model; input the preprocessed target data into the optimal neural network model to obtain a wind turbine power probability interval curve;

[0033] Visual analysis module, used to display the wind turbine power probability interval curve in a graphical way, evaluate the performance of the model in predicting the power curve, manually adjust the parameters of the optimal neural network model according to the evaluation results, and evaluate and make decisions on the performance, power generation and control strategy of the wind turbine;

[0034] The system status monitoring module is used to continuously monitor the operating status of each module. If a fault occurs, the problematic link will be displayed and an early warning will be issued.

[0035] The beneficial effects of the present invention are:

[0036] The present invention accurately predicts the wind turbine power probability interval curve: the particle swarm optimization technology is used to drive the bidirectional long short-term memory quantile regression neural network to realize the adaptive modeling of the wind turbine power probability interval curve, which not only accurately predicts the wind turbine power output, but also provides a confidence interval to fully reflect the uncertainty of the actual power output.

[0037] The adaptive modeling of the present invention can realize real-time adaptive modeling according to the settings of the operator, and flexibly adapt to different environmental conditions and data changes, which enables the prediction model to be adjusted in time, thereby improving the accuracy and reliability of the prediction.

[0038] The perfect application system design of the present invention includes a complete application system, covering multiple key modules such as data management, quality management, model parameter migration, adaptive adjustment and prediction, visualization and analysis, and system status monitoring. These modules work together to monitor the modeling status in real time, handle data quality issues, and provide a user-friendly interface and deep data exploration functions to enhance users' ability to configure models and analyze data.

[0039] This invention enhances decision-making support capabilities: This systematic design improves the reliability of wind turbine operation decisions. Combined with prediction models and historical data, users can conduct independent in-depth data exploration and make more reasonable and reliable decisions, which provides more efficient and reliable solutions for wind turbine performance evaluation, power generation evaluation, control strategy optimization and power trading. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] Figure 1 This is a schematic diagram of the QRBiLSTM quantile neural network of an embodiment of the present invention;

[0042] Figure 2 This is a flow chart of an adaptive segment optimization strategy according to an embodiment of the present invention;

[0043] Figure 3 This is a flow chart of a method for modeling a wind turbine power probability interval curve according to an embodiment of the present invention;

[0044] Figure 4 A schematic diagram of an application system of an adaptive wind turbine power probability interval curve modeling method according to an embodiment of the present invention;

[0045] Figure 5 A schematic diagram of raw data used for modeling an embodiment of the present invention;

[0046] Figure 6 A schematic diagram of preprocessed data used for modeling in an embodiment of the present invention;

[0047] Figure 7 A schematic diagram of a neural network structure parameter search space combination generation program according to an embodiment of the present invention;

[0048] Figure 8 A schematic diagram of a training parameter combination generation program according to an embodiment of the present invention;

[0049] Fig. 9 It is a schematic diagram of the power probability interval curve modeling results of an embodiment of the present invention. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0052] The present invention mainly involves two parts. The first part is a wind turbine power probability interval curve adaptive modeling method based on a bidirectional long short-term memory quantile neural network driven by particle swarm optimization, and the second part is a system for realizing online adaptive modeling using the modeling method.

[0053] The present invention uses a bidirectional long-term and short-term quantile regression neural network for probability interval modeling, which is mainly composed of a BiLSTM layer and a quantile loss function. The quantile loss function shown in the following formula is used to estimate the conditional distribution of the target variable, thereby providing prediction results corresponding to different quantiles.

[0054]

[0055] Among them, Loss q is the loss function corresponding to a certain quantile, y is the actual value, is the predicted value corresponding to the quantile q. The principle diagram of QRBiLSTM is as follows Figure 1 shown.

[0056] In order to adapt to any data set with a model with high enough accuracy, the particle swarm optimization algorithm is used to adaptively optimize the network structure parameter search space and training parameters of the QRBiLSTM neural network. When adjusting the adaptive model, in order to save computing resources, a segmented optimization strategy is adopted, and the optimization process is divided into two key stages. That is, the network structure is optimized based on the number of iterations and batch processing volume determined by experience, and then the training parameters are optimized based on the optimal network structure parameter search space. Figure 2 Shown is a segmented optimization solution.

[0057] like Figure 3As shown, the present invention discloses an adaptive wind turbine power probability interval curve modeling method, including: obtaining target data of a wind turbine group, the target data including: wind speed data and power data; preprocessing the target data, building a QRBiLSTM neural network model, adaptively optimizing the network structure parameter search space and training parameters of the QRBiLSTM neural network model, and obtaining an optimal neural network model; inputting the preprocessed target data into the optimal neural network model to obtain a wind turbine power probability interval curve.

[0058] The preprocessing of the target data includes: cleaning the target data using a comprehensive outlier cleaning method based on the quartile method and regression detection, normalizing the cleaned target data, and segmenting the normalized target data.

[0059] Data preprocessing: In this technical solution, data cleaning is one of the key steps in the entire modeling process, which aims to ensure the quality and reliability of the data used to improve the reliability and accuracy of power curve modeling. This step involves improving data quality, including missing value filling, special symbol processing, outlier identification and cleaning. Data normalization: In order to avoid the influence of dimension and data scale during model training, the data is normalized and scaled to the range of [0,1]. Data segmentation: The normalized data is segmented and the data is split into training set and test set in a ratio of 8:2.

[0060] Before building the QRBiLSTM neural network model, the following steps are included: determining the interval distribution conditions required for building the QRBiLSTM neural network model, and determining the quantiles used for modeling according to the interval modeling objectives. The quantile interval and confidence level α conversion satisfy:

[0061] q=0.5±0.5α

[0062] Among them, q is the quantile interval and α is the confidence level.

[0063] Adaptive optimization of the network structure parameter search space of the QRBiLSTM neural network model includes: setting the network structure parameter search space of the QRBiLSTM neural network model, combining the network structure parameter search space, and generating a neural network structure combination; the network structure parameter search space includes: the number of network layers and the number of neurons in each layer; obtaining historical target data, dividing the historical target data into a training set and a test set, and constructing several QRBiLSTM neural network models according to the neural network structure combination. According to several QRBiLSTM neural network models, the target quantile of each model is set, and the training set is cross-validated by 5 folds to obtain the fitness function corresponding to each target quantile, and the QRBiLSTM neural network model corresponding to the minimum fitness function is used as the neural network model to be optimized. The specific optimal model search process: adopt a segmented optimization process, in the first stage, fix the number of iterations epoch and batch processing batch_size, set the neural network parameter range in the particle swarm optimization program, and use the neural network structure combination generation method to generate different neural network structure combinations as the search space of the particle swarm. When the particle swarm performs the optimal search, each time a neural network structure combination is searched, it will be searched through the following Figure 1 The method shown builds a neural network model, and then uses the training set data obtained by data segmentation for model training. During model training, the 5-fold cross-validation method is used to evaluate the model performance. When using the 5-fold cross-validation method, the training set data is randomly divided into five parts, four of which are used as training data for model training each time, and the other is used as a validation set. The trained model is used to predict the predicted values ​​corresponding to different quantiles of the validation set (each quantile corresponds to a predicted value output), and then the true value and predicted value corresponding to the validation set are used to calculate the mean absolute error MAE and root mean square error corresponding to each quantile that can evaluate the performance of the model. This operation is performed five times, and each piece of data is used as a validation set to calculate the evaluation value. Finally, at the end of the 5-fold cross-validation, a formula is used to calculate an average value as the fitness value of the particle swarm algorithm.

[0064] Model structure optimization:

[0065] Model structure parameter search range definition: Set the range for parameter search of the BiLSTM network structure, including the number of neurons in each layer and the number of network layers.

[0066] Combinatorial space generation of neural network structure parameter search space.

[0067] Define the fitness function:

[0068] In each round of parameter search, the mean of the absolute error and root mean square error of the 5-fold cross validation corresponding to the target quantile is used as the fitness function of the optimization algorithm.

[0069] PSO optimization algorithm searches for the optimal parameter combination:

[0070] In each round of search, a model is built using a combination of parameters and a 5-fold cross-validation is performed. The model corresponding to the model parameter combination with the smallest mean of the absolute error and root mean square error of the 5-fold cross-validation corresponding to each target quantile is returned.

[0071] The method to obtain the fitness function is:

[0072]

[0073] Among them, Fitness is the fitness value, mean is the mean, MAE 0.05 、MAE 0.5 、MAE 0.95 is the absolute error corresponding to the quantiles 0.05, 0.5, and 0.95, RMSE 0.05 、RMSE 0.5 、RMSE 0.95 is the root mean square error corresponding to the quantiles 0.05, 0.5, and 0.95.

[0074] The training parameters of the QRBiLSTM neural network model are adaptively optimized to obtain the optimal neural network model, including: setting the training parameter range of the QRBiLSTM neural network model, combining and generating the training parameters, and generating a neural network parameter combination; the training parameters include: the number of iterations and the batch size; the neural network parameter combination is respectively input into the neural network model to be optimized for training, and the fitness function corresponding to the target quantile of the neural network model to be optimized is obtained, and the neural network model of the optimal network structure to be optimized after training corresponding to the minimum fitness function is used as the optimal neural network model.

[0075] Model parameter training optimization:

[0076] Model training parameter search range definition: set the parameter search space, such as the number of iterations, batch size, etc.

[0077] Combinatorial space generation of neural network training parameters.

[0078] The PSO optimization algorithm searches for the optimal training parameter combination: using the same fitness function and the model with the optimal neural network structure as the first stage, each time introducing different training parameters for model training, and returning the model training parameter combination with the minimum mean of the absolute error and root mean square error of the 5-fold cross validation corresponding to each target quantile.

[0079] After obtaining the optimal neural network model, it includes: evaluating the performance of the optimal neural network model based on the test set, judging whether the optimal neural network model has the optimal performance, and when the optimal neural network model is not the optimal performance, re-adaptively optimizing the training parameters of the QRBiLSTM neural network model until the neural network model with the optimal performance is obtained.

[0080] Performance Evaluation

[0081] The performance test is performed on the test set based on the optimal model composed of the optimal network structure parameter search space and the optimal training parameters obtained in the first and second stages. If the mean absolute error (MAE), root mean square error (RMSE), mean prediction interval center deviation (MPICD), and composite indicator (CI) of the fitting prediction evaluation value corresponding to the target quantile on the test set are less than the threshold, the model obtained by the optimization result is used as the probability power interval curve model of wind power data that is most suitable for a specific operation stage. If it is greater than the threshold, different parameter combinations are regenerated for optimization.

[0082] like Figure 4As shown, the application system of the adaptive wind turbine power probability interval curve modeling method includes the following steps: a data storage management module, which is used to obtain and integrate the target data of wind turbines from different data sources, and record the relevant information of the target data, support the traceability, analysis and backup of the target data, and the target data includes: wind speed data and power data; a data quality management module, which is used to preprocess the target data, set data quality indicators, monitor the quality of the target data through the data quality indicators, generate a data quality report, track data quality changes, and optimize the target data based on quality changes; a model parameter migration module, which is used to build a QRBiLSTM neural network model, and perform data similarity judgment on the preprocessed target data. If the preprocessed target data is similar to the historical data, the corresponding historical data is called The parameters of the historical model are used as the initial parameters of the QRBiLSTM neural network model; the adaptive modeling module is used to adaptively optimize the network structure parameter search space and training parameters of the QRBiLSTM neural network model to obtain the optimal neural network model; the preprocessed target data is input into the optimal neural network model to obtain the wind turbine power probability interval curve; the visualization analysis module is used to display the wind turbine power probability interval curve in a graphical manner, evaluate the performance of the model in predicting the power curve, manually adjust the parameters of the optimal neural network model according to the evaluation results, and evaluate and decide on the performance, power generation and control strategy of the wind turbine; the system status monitoring module is used to continuously monitor the operating status of each module. If a fault occurs, the problematic link will be displayed and an early warning will be issued.

[0083] The application system of the adaptive wind turbine power probability interval curve modeling method mainly includes a data storage management module, a data quality management module, a historical model parameter migration module, a model adaptive adjustment and prediction module, a visualization and analysis module, and a system status monitoring module. Figure 4 As shown. The units and functions implemented by each module are as follows:

[0084] 1. Data storage management module:

[0085] Data Integration and Consolidation Unit:

[0086] Function: Responsible for collecting data from different wind turbine SCADA systems and meteorological data sources, and integrating them into a unified format for subsequent processing and analysis, and recording data sources, collection time, geographic location information, etc. to support data traceability and analysis.

[0087] Data storage and archiving unit:

[0088] Function: Responsible for the secure storage and archiving of data, ensuring long-term data preservation and providing fast and reliable retrieval capabilities.

[0089] Historical model and parameter storage unit:

[0090] Function: Record historical models and parameters, classify and manage historical models and parameters to facilitate the distinction and call of model parameters corresponding to different types of data, and support model tracing, calling and management.

[0091] Data backup and recovery unit:

[0092] Function: Back up data regularly and provide data recovery function to prevent data loss or damage.

[0093] 2. Data Quality Management Module

[0094] Data cleaning and exception handling unit:

[0095] Function: Responsible for identifying and processing anomalies, noise, duplications, and missing values ​​in data to ensure data quality and accuracy.

[0096] Data Standardization and Normalization Unit:

[0097] Function: Convert data to suit neural network training.

[0098] Quality measurement and monitoring unit:

[0099] Function: Establish and monitor data quality indicators, identify data problems in a timely manner, and make adjustments and optimizations.

[0100] Quality Reporting and Recording Unit:

[0101] Function: Generate data quality reports, track data quality changes, and propose improvement measures to maintain and improve data quality levels.

[0102] 3. Model parameter migration module

[0103] Historical model and parameter calling unit:

[0104] Function: Call historical models and their corresponding parameters, and maintain records of historical models and parameters.

[0105] Data similarity judgment unit:

[0106] Function: Compare new data types with historical data types and evaluate similarities to determine the possibility of model parameter migration.

[0107] Parameter initialization support unit:

[0108] Function: If the new data is similar to the historical data type, the parameters of the historical model can be used as initial values ​​for initializing the parameters of the new model.

[0109] 4. Adaptive Modeling Module

[0110] Data receiving unit:

[0111] Function: Receive data transmitted by other modules, and be responsible for processing and preparing data for use by the model. Its main task is to effectively receive, integrate and prepare data from various modules to meet the input requirements of the model.

[0112] Adaptive parameter optimization unit:

[0113] Function: Use the PSO algorithm to adjust model parameters, including structure and training parameters, in real time to adapt to changing data and environment.

[0114] Adaptive prediction and output unit:

[0115] Function: Use the adaptively adjusted model to make real-time predictions and generate wind turbine power probability interval curves or related prediction results.

[0116] Performance monitoring and feedback unit:

[0117] Function: Regularly monitor the performance of the model on real data, evaluate the accuracy and effectiveness of the model's predictions, and identify potential problems or inaccuracies in the model. Provide a feedback mechanism so that the model can be adjusted and optimized based on the monitored performance indicators to achieve continuous performance improvement and adapt to environmental changes.

[0118] 5. Visualization and analysis module

[0119] Data Visualization Unit:

[0120] Function: Responsible for displaying the wind turbine probability power range curve, wind speed distribution and other data under different environmental conditions in a graphical way to facilitate users' intuitive understanding and analysis.

[0121] Interactive interface unit:

[0122] Function: Create an interactive interface that allows operators to set parameters and conditions for model adjustment to meet specific forecasting requirements, such as accuracy, time range, etc.

[0123] Data exploration, analysis and decision-making unit:

[0124] Function: Allows operators to use models and data for in-depth analysis to evaluate and make decisions on wind turbine performance, power generation, control strategies, etc.

[0125] Real-time feedback and adjustment unit:

[0126] Function: Based on real-time data and model output, evaluate the performance of the model in predicting the power probability interval curve, present the evaluation results in a graphical form, provide instant feedback, and support users to set and adjust system parameters, models, evaluation indicators and other parameters to optimize the prediction effect and system performance.

[0127] 6. System status monitoring module:

[0128] Real-time monitoring unit: Continuously monitors the system operation status, including data update status, model training progress, etc., to ensure stable system operation.

[0129] Fault detection and early warning unit: monitors abnormal conditions in model training and prediction, and issues early warnings when necessary for timely adjustments and repairs.

[0130] As Figure 5-6 Taking the data shown in and as examples, the wind turbine probability interval power curve adaptive modeling method based on the particle swarm optimization-driven bidirectional long short-term memory quantile neural network proposed in the present invention is used to perform adaptive probability power interval curve modeling on two different types of data sets.

[0131] Step 1: Data Reception

[0132] Receive wind speed and power data of wind turbines within a certain period of time, such as Figure 1 Data shown.

[0133] Step 2: Data Preprocessing

[0134] The data were processed using the data preprocessing method described in the protocol technology. The processing results are shown in Figure 6 shown.

[0135] Step 3: Data Normalization

[0136] In order to avoid the influence of dimension and data scale during model training, the data is normalized and scaled to the range of [0,1].

[0137] The normalization formula is as follows:

[0138] Step 4: Data segmentation

[0139] The data is split into training set and test set in a ratio of 8:2.

[0140] Step 5: Determine the distribution conditions

[0141] Taking the confidence level of 90% as an example, the probability power curve modeling is performed. The confidence level of 90% is the confidence interval consisting of the quantile 0.05 and the quantile 0.95.

[0142] Step 6: Adaptive Probabilistic Power Interval Modeling

[0143] Phase 1: Model structure optimization

[0144] Model structure parameter search range definition: Set the parameter search range of the QRBiLSTM network, including the number of neurons in each layer and the number of network layers. The number of neurons in each layer is set to [16,32,64,128], and the number of network layers is set to [2,3,4,5,6].

[0145] Neural network structure combination generation: using Figure 7 The procedure shown generates a combination of neural network structures.

[0146] First, determine the number of network layers and neurons in each layer. For example, the number of layers = [2, 3, 4, 5], the number of neurons = [16, 32, 64, 128], and use nested loops to traverse all possible combinations in these two parameter spaces. First, the outer loop iterates through each element in the number of layers to determine the number of BiLSTM layers. In the inner loop, the present invention determines the number of layers of the QRBiLSTM neural network model by using the outer loop of the nested loop to iterate through each element in the network layer search space. For the determined number of layers, in the inner loop, the itertools.product function of Python is used to generate a combination of the number of neurons corresponding to the number of layers according to the set number of neurons search space, that is, a combination of neural network structures, so that the present invention can fully explore the parameter space, thereby improving the performance and accuracy of the model.

[0147] according to Figure 3 , 1360 combinations of neural network structure parameter search spaces will be generated, such as [16,16], [16,32], [16,64],..., [16,32,64] and other different neural network structure combinations.

[0148] Define the fitness function

[0149] In each round of parameter search, the mean of the absolute error and root mean square error of the 5-fold cross validation corresponding to the target quantile is used as the fitness function of the optimization algorithm.

[0150]

[0151] PSO optimization algorithm searches for the optimal parameter combination:

[0152] In each round of search, a model is built using a combination of parameters. The procedure for building the model is shown in the supplementary figure. A 5-fold cross-validation is performed on the model training set based on the searched parameter combination, and the model with the smallest mean of the absolute error and root mean square error of the 5-fold cross-validation corresponding to each target quantile is returned and saved. The results of the neural network structure optimization for data sets 1 and 2 are (16, 16, 64, 32) and (32, 64, 64, 128, 128), respectively, that is, the optimal neural network structure of data set 1 is a total of 4 layers, with 16 neurons in the first layer, 16 neurons in the second layer, 64 neurons in the third layer, and 32 neurons in the fourth layer; the optimal neural network structure of data set 2 is a total of 5 layers, with 32 neurons in the first layer, 64 neurons in the second layer, 64 neurons in the third layer, 128 neurons in the fourth layer, and 128 neurons in the fifth layer.

[0153] The 5-fold cross validation is performed on the training set. The specific implementation process is to divide the training set into 5 parts, and then select four parts as training sets for model training each time, and one part as validation set for model performance evaluation, and calculate the evaluation value, that is, MAE and RMSE corresponding to each quantile. This operation is performed 5 times, so that each data set is used as a validation machine, and the other four data sets are used to train a model. Finally, the evaluation values ​​calculated each time are averaged, and the average value is used as the fitness value of the particle swarm optimization algorithm. As for how to obtain the model with the smallest mean, it is achieved by searching the particle swarm optimization algorithm for the minimum mean of the evaluation values ​​of the 5-fold validation corresponding to different parameter combinations. The goal of particle swarm optimization is to find the minimum value of the fitness function.

[0154] Phase 2: Model training parameter optimization

[0155] Model training parameter search range definition: Set the parameter search space, such as the number of iterations, batch size, etc. The number of iterations is selected = [64, 128, 256, 512], the batch size is selected = [32, 64, 128, 256];

[0156] Neural network structure combination generation: using Figure 8 The program generates different combinations of iteration numbers, batch processing, and

[0157] The PSO optimization algorithm searches for the optimal training parameter combination: using the above fitness function and the model of the optimal neural network structure, each time different training parameters are introduced for model training, and the model training parameter combination with the minimum mean of the absolute error and root mean square error of the 5-fold cross validation corresponding to each target quantile is returned. The training parameter optimization result of the data set 1 of the present invention is the number of iterations = 128, the batch size = 64, and the training parameter training result of the data set 2 is the number of iterations = 256, the batch size = 128.

[0158] Optimal model training performance evaluation

[0159] The performance test is performed on the test set based on the optimal model composed of the optimal network structure parameter search space and the optimal training parameters obtained in the first and second stages. If the mean absolute error MAE, root mean square error RMSE, mean prediction interval center deviation MPICD, and comprehensive performance index CI of the fitting prediction evaluation value corresponding to the target quantile on the test set are less than the set threshold, the model obtained by the optimization result is used as the probability power interval curve model that best suits the wind power data in a specific operation stage. If it is greater than the threshold, the parameter search range is readjusted for optimization.

[0160] Mean absolute error (MAE):

[0161] Root mean square error RMSE:

[0162] Mean Prediction Interval Central Deviation MPICD:

[0163] Comprehensive performance index CI: CI = PINAW / PICP

[0164] Prediction interval coverage:

[0165] Normalized mean width of prediction intervals:

[0166] Where N is the total number of predicted data points, p i is the actual value of the ith power, is the ith power prediction value, u i is the confidence upper bound prediction value of the i-th power interval prediction, l i It is the confidence lower bound prediction value of the i-th power interval prediction.

[0167] The optimal model is used to model the wind power probability interval power curve on the entire data set. The modeling results are as follows: Fig. 9 shown.

[0168] In the application system of the adaptive wind turbine power probability interval curve modeling method proposed in the present invention, taking the construction of a power probability interval curve of a specific wind power data set as an example, the operations of each module and unit are as follows.

[0169] When the operator starts adaptive modeling, the interactive interface unit of the visualization and analysis module provides a user-friendly interface that allows setting modeling requirements.

[0170] When receiving the modeling command, the data storage management module data integration and consolidation unit is responsible for collecting and integrating data from different data sources to ensure data integrity, while recording relevant information of the data, supporting data traceability and analysis, and the data backup and recovery unit backs up the data to prevent data loss.

[0171] The data cleaning and exception handling unit of the data quality management module receives the data integrated by the data integration and consolidation unit and starts to identify and process the anomalies, noise, duplicates and missing values ​​in the data to ensure data quality. Then the data standardization and normalization unit converts the data to ensure the normal training of the neural network. At the same time, the quality measurement and monitoring unit monitors the data quality according to the real-time feedback of the operator in the visualization and analysis module and the data quality indicators set in advance by the adjustment unit, timely discovers data problems and makes adjustments and optimizations. At the same time, the quality reporting and improvement unit generates data quality reports, tracks changes in data quality, and proposes improvement measures to maintain and improve the data quality level.

[0172] The processed data is passed to the data similarity judgment unit in the model parameter migration module to judge the data similarity. If the historical model in the data and data storage management module is similar to the historical data in the parameter storage unit, the similar model and parameters are called from the historical records as the initial values ​​of the new model through the historical model and parameter calling unit, and then the parameter initialization support unit in the model parameter migration module sets the parameters of the similar model as the initialization parameters of the new model.

[0173] Then the data receiving unit of the adaptive modeling module receives, integrates and prepares the data from the data quality management module, the historical model parameter migration module, and the visualization and analysis module and passes it to the adaptive parameter optimization unit, which uses the particle swarm optimization algorithm (PSO) to adjust the QR-BiLSTM model parameters to construct a power probability interval curve model under a specific environment; then the adaptive prediction and output unit uses the adjusted model and processed data to perform probability interval power curve modeling and prediction to generate a probability interval power curve; at the same time, the performance monitoring and feedback unit regularly monitors the accuracy of the model prediction and provides a feedback mechanism to optimize the model performance.

[0174] The predicted probability interval power curve and performance data are displayed graphically through the data visualization unit of the visualization and analysis module, which is convenient for users to intuitively understand and analyze; the real-time feedback and adjustment unit will evaluate the performance of the model in predicting the power curve based on real-time data and model output, present the evaluation results in the form of charts, and provide instant feedback. Users can directly adjust the system parameters or models manually according to the visual evaluation results to optimize the prediction effect and system performance; at the same time, operators can also use the data exploration analysis and decision-making unit to conduct in-depth analysis based on the visualization results, using the model prediction results and data to evaluate and make decisions on the performance, power generation, control strategy, etc. of the wind turbine. The models, parameters and data obtained from each optimization will be classified, integrated and saved through the historical model and parameter storage unit in the data storage management module to support later model tracing, calling and management.

[0175] The real-time monitoring unit of the system status monitoring module continuously monitors the system operation status during the entire system operation, including data update status, model training progress, etc., to ensure the stable operation of the system. If a problem or failure is found in the system during the modeling operation, the fault detection and early warning unit will promptly display the link where the problem occurs and issue an early warning so that the operator can make timely adjustments and repairs.

[0176] These modules and units are interconnected through data transmission and processing, forming a complete adaptive modeling process, providing operators with an efficient and accurate modeling platform.

[0177] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. The adaptive wind turbine power probability interval curve modeling method is characterized by: include: Acquire target data of the wind turbine generator set, wherein the target data includes: wind speed data and power data; Preprocess the target data, build a QRBiLSTM neural network model, and use a particle swarm algorithm to adaptively optimize the network structure parameter search space and training parameters of the QRBiLSTM neural network model to obtain an optimal QRBiLSTM neural network model; Adaptively optimizing the network structure parameter search space of the QRBiLSTM neural network model includes: Setting a network structure parameter search space of the QRBiLSTM neural network model, wherein the network structure parameter search space includes: a network layer number search space and a neuron number search space; The number of layers of the QRBiLSTM neural network model is determined by iteratively traversing each element in the network layer number search space using an outer loop of a nested loop, and for the determined number of layers, a combination of the number of neurons corresponding to the number of layers, i.e., a combination of neural network structures, is generated in an inner loop through the itertools.product function of Python and according to the set neuron number search space; Obtain historical target data, construct several QRBiLSTM neural network models according to the neural network structure combination, define a fitness function, set the target quantile of each QRBiLSTM neural network model, perform 5-fold cross validation on the historical target data, obtain the first fitness function value corresponding to each target quantile, and use the QRBiLSTM neural network model corresponding to the minimum value of the first fitness function as the neural network model to be optimized; The preprocessed target data is input into the optimal QRBiLSTM neural network model to obtain a wind turbine power probability interval curve.

2. The adaptive wind turbine power probability interval curve modeling method according to claim 1 is characterized in that: Preprocessing the target data includes: The target data is cleaned, the cleaned target data is normalized, the normalized target data is split, and the data is split into a training set and a test set at a ratio of 0.8:0.

2.

3. The adaptive wind turbine power probability interval curve modeling method according to claim 1 is characterized in that: Before constructing the QRBiLSTM neural network model, the following steps are included: Determine the interval distribution conditions required to construct the QRBiLSTM neural network model: q=0.5±0.5α Among them, q is the quantile interval and α is the confidence level.

4. The adaptive wind turbine power probability interval curve modeling method according to claim 1, characterized in that: The fitness function is: Among them, Fitness is the fitness function value, mean is the mean function, MAE 0.05 、MAE 0.5 、MAE 0.95 is the absolute error, RMSE 0.05 、RMSE 0.5 、RMSE 0.95 is the root mean square error.

5. The adaptive wind turbine power probability interval curve modeling method according to claim 1, characterized in that: Adaptively optimizing the training parameters of the QRBiLSTM neural network model to obtain the optimal neural network model includes: Setting the training parameters of the QRBiLSTM neural network model, combining the training parameters, and generating a neural network parameter combination; the training parameters include: the number of iterations and the batch size; The neural network parameter combinations are respectively input into the neural network model to be optimized for training, a second fitness function value corresponding to the target quantile of the neural network model to be optimized is obtained, and the neural network model to be optimized corresponding to the minimum value of the second fitness function is used as the optimal neural network model.

6. The method for modeling the adaptive wind turbine power probability interval curve according to claim 5, characterized in that: After obtaining the optimal neural network model, the method includes: The performance of the optimal neural network model is evaluated based on a test set divided based on historical target data to determine whether the optimal neural network model has the optimal performance. When the optimal neural network model is not the optimal performance, the training parameters of the QRBiLSTM neural network model are adaptively optimized again until the neural network model with the optimal performance is obtained.

7. An application system of an adaptive wind turbine power probability interval curve modeling method, characterized in that: Based on the adaptive wind turbine power probability interval curve modeling method according to any one of claims 1 to 6, the system comprises the following steps: A data storage management module is used to obtain and integrate target data of wind turbines from different data sources, record relevant information of the target data, and support tracing, analysis, and backup of the target data. The target data includes wind speed data and power data. A data quality management module is used to pre-process the target data, set data quality indicators, monitor the quality of the target data through the data quality indicators, generate data quality reports, track data quality changes, and optimize the target data based on quality changes; The model parameter migration module is used to build a QRBiLSTM neural network model and perform data similarity judgment on the preprocessed target data. If the preprocessed target data is similar to the historical data, the parameters of the historical model corresponding to the historical data are called as the initial parameters of the QRBiLSTM neural network model. An adaptive modeling module is used to adaptively optimize the network structure parameter search space and training parameters of the QRBiLSTM neural network model to obtain an optimal neural network model; input the preprocessed target data into the optimal neural network model to obtain a wind turbine power probability interval curve; Visual analysis module, used to display the wind turbine power probability interval curve in a graphical way, evaluate the performance of the model in predicting the power curve, manually adjust the parameters of the optimal neural network model according to the evaluation results, and evaluate and make decisions on the performance, power generation and control strategy of the wind turbine; The system status monitoring module is used to continuously monitor the operating status of each module. If a fault occurs, the problematic link will be displayed and an early warning will be issued.