Wind power prediction method and system based on scenario binning rolling residual correction
By employing a two-layer post-processing method of scenario-based box rolling residual correction and rolling deviation calibration, the problems of inconsistent operating condition error distribution and seasonal deviation in wind power forecasting are solved, improving forecast accuracy and stability, adapting to changes in different wind speeds, forecast power and site conditions, and reducing systematic and seasonal deviations.
Patent Information
- Application Number
- CN202611392409.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-09
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2046-09-09
AI Technical Summary
Existing wind power prediction schemes have different error distributions during high wind speeds, high outputs, and ramping operations compared to normal operating conditions. A unified model output can easily lead to systematic underestimation or overestimation. The residual distributions vary significantly across different wind speed ranges, predicted power levels, and site conditions, making it difficult for static post-processing rules to balance stability and generalization. The residual distributions drift under seasonal or continuous weather events, and simple hard threshold post-processing for power curtailment or shutdowns may amplify the errors.
A two-layer progressive post-processing method of scene-based bin rolling residual correction and rolling deviation calibration is adopted. Scene bins are constructed by segmenting wind speed, predicted power, and station status. Within the rolling window, the prediction results are corrected using the historical residual statistics of the same scene, and the recent historical residuals of the same season are used for calibration first, degenerating into all historical residuals to adapt to different operating conditions and seasonal deviations.
It improves the accuracy and stability of wind power prediction, reduces systematic bias and seasonal shift under different operating conditions, avoids the shortcomings of a single global correction strategy, and enhances the prediction effect under small sample conditions through virtual residual sample generation mechanism and multi-level nested binning mechanism.
Smart Images

Figure CN122908144B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of new energy power prediction technology, and in particular to a wind power prediction method and system based on scenario-based rolling residual correction, which is applicable to short-term power prediction, ultra-short-term power prediction, and rolling prediction scenarios for grid dispatch. Background Technology
[0002] With the continuous expansion of new energy grid connection, the accuracy of wind power forecasting directly affects grid dispatching plans, power balance, reserve capacity configuration, and wind farm operation control. Existing wind power forecasting schemes typically use the historical active power of the target wind farm and meteorological data as input, and use machine learning regression models, time series models, or deep learning models to output future power values.
[0003] The above-mentioned scheme can achieve certain predictive effects under normal weather conditions, but it still has the following shortcomings in engineering applications: First, the error distribution under high wind speed, high power output and climbing processes is different from that under normal operating conditions, and a unified model output is prone to systematic underestimation or overestimation; Second, the residual distribution varies significantly under different wind speed ranges, different predicted power levels and different station conditions, and using a unified deviation value or fixed rules for post-processing can easily lead to overcorrection or undercorrection; Third, the residual distribution exhibits continuous drift under different seasons, months and continuous weather processes, and static post-processing rules are difficult to balance stability and generalization; Fourth, simple hard threshold post-processing for power curtailment or shutdown may suppress the actual climbing or power recovery process, thereby amplifying the underestimation error.
[0004] Furthermore, meteorological data can come from a single meteorological station, numerical weather prediction grid points, or multiple meteorological stations. However, simply increasing the sources of input data cannot fully solve the problems of scenario-based errors and continuity biases in the model output. Therefore, a wind power prediction technology solution is needed that can adaptively select historical residuals according to the operating scenario in addition to the basic model prediction, and calibrate seasonal or continuity biases within a rolling window. Summary of the Invention
[0005] The purpose of this invention is to provide a wind power prediction method and system based on scene-based box rolling residual correction. Through a two-layer progressive post-processing of scene-based box rolling residual correction and rolling deviation calibration, the method overcomes the problems of inconsistent error distribution under different operating conditions and seasonal deviation, thereby improving the accuracy and stability of wind power prediction.
[0006] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows: A wind power prediction method based on scene-based bin rolling residual correction includes the following steps: Acquire historical power data, capacity data, and meteorological data of the target wind farm, and perform preprocessing. Training samples are constructed based on preprocessed data, including meteorological features, time features, lag features, station status features, and theoretical power curve features. A basic power prediction model is trained using a machine learning regression model, and basic prediction results are obtained based on the basic power prediction model. Scenario bins are constructed based on the target time wind speed segment, the basic predicted power segment, and the station status segment. Historical samples that are consistent with the target sample scenario bins are selected within the rolling time window before the target sample. The residual statistics of the historical samples are used to perform rolling residual correction on the basic prediction results to obtain the scenario correction results. Rolling bias calibration is performed on the scenario correction results based on historical residuals. The average residual of historical samples in the same season as the target sample is preferentially used as the calibration amount. When the number of historical samples in the same season is insufficient, it degenerates to using the average residual of all historical samples within the rolling time window as the calibration amount, and outputs the final wind power prediction result.
[0007] Furthermore, the meteorological data includes one or more of the following: wind speed, wind direction, and temperature at the meteorological station or numerical weather forecast grid point corresponding to the target wind farm, and may further include current or lagging characteristics of nearby meteorological stations around the target wind farm; the preprocessing includes time alignment, capacity normalization, missing data handling, and outlier cleaning; the theoretical power curve features are constructed based on the cut-in wind speed, rated wind speed, and rated power. When the wind speed is less than the cut-in wind speed, the theoretical power is zero. When the wind speed is between the cut-in wind speed and the rated wind speed, the theoretical power increases with the wind speed according to a preset nonlinear function. When the wind speed reaches the rated wind speed, the theoretical power is constrained by the rated power.
[0008] Furthermore, the station status segment includes a normalized power status segment for the same time on the previous day. When the normalized power status for the same time on the previous day is missing, a seasonal label, a monthly label, or an operational status label is used instead. The wind speed segment includes at least a low wind range, a medium wind range, and a high wind range. The basic predicted power segment is divided according to the normalization ratio of the installed capacity.
[0009] Furthermore, the rolling residual correction includes: when the number of historical samples that are consistent with the target sample scene binning is not less than the minimum sample size threshold, the median of the residuals of the historical samples is used as the correction amount to correct the basic prediction result. When the number of historical samples that are consistent with the target sample scenario bin is less than the minimum sample size threshold, virtual residual samples are generated based on the historical residual distribution characteristics of adjacent scenario bins. The virtual residual samples and real historical samples together constitute a statistical sample set for calculating the residual statistics. When the adjacent scenario bin samples are also insufficient, the process degenerates to using global rolling window samples or not performing scenario residual correction.
[0010] Furthermore, the virtual residual samples are generated in any of the following ways: statistically analyzing the historical median and standard deviation of residuals in adjacent scene bins, constructing a virtual residual probability density function based on the median and standard deviation using kernel density estimation, and sampling from it to generate the virtual residual samples; or generating the virtual residual samples by linear interpolation based on the median of residuals in adjacent scene bins.
[0011] Furthermore, the residual of the historical sample is the difference between the historical base prediction power and the corresponding historical actual power; when the median of the residual is positive, the current base prediction result is adjusted down; when the median of the residual is negative, the current base prediction result is adjusted up.
[0012] The rolling deviation calibration further sets a maximum absolute value limit on the calibration amount and performs non-negative truncation and capacity limit truncation before outputting the final wind power prediction result; the rolling deviation calibration uses the historical residuals of the target sample over the previous 30 days to calculate the calibration amount.
[0013] Furthermore, the basic predicted power segmentation is adaptively divided according to the residual distribution characteristics of the basic power prediction model on the training set: the segmentation is denser in the residual fluctuation range and sparser in the residual stable range.
[0014] Furthermore, the scenario sub-bins adopt a multi-level nested structure. The first level is segmented according to wind speed, the second level is segmented according to the basic predicted power within each wind speed segment, and the third level is segmented according to the station status within each power segment. When a target sample falls into a certain sub-bin and the historical samples of that sub-bin are insufficient, it automatically degenerates to the parent sub-bin of the upper level to perform residual statistics, forming a multi-level coverage from fine to coarse.
[0015] Furthermore, the degradation mechanism of the rolling residual correction is executed step by step according to the path of the multi-level nested structure: when there are insufficient samples in the same scene, it first degrades to the adjacent power segment of the same wind speed segment, then degrades to the adjacent wind speed segment of the same power segment, and finally degrades to the global rolling window sample; each time degradation occurs, the upper limit of the correction amplitude is relaxed simultaneously, so that the correction amount gradually converges with the degradation level.
[0016] A wind power prediction system based on scene-based binning rolling residual correction, used to implement the above-mentioned wind power prediction method, includes: The data acquisition module is used to acquire historical power data, capacity data, and meteorological data of the target wind farm; The data processing module, connected to the data acquisition module, is used to perform preprocessing on the historical power data, capacity data, and meteorological data; The feature construction module, connected to the data processing module, is used to construct training samples based on the preprocessed data. The training samples include meteorological features, time features, lag features, station status features, and theoretical power curve features. The basic prediction module, connected to the feature construction module, is used to train the basic power prediction model and output the basic prediction results; The scene residual correction module is connected to the basic prediction module. It is used to construct scene bins based on wind speed segmentation, basic prediction power segmentation and station status segmentation, filter historical samples of the same scene within the rolling time window before the target sample, perform rolling residual correction on the basic prediction results, and output scene correction results. The rolling deviation calibration module, connected to the scenario residual correction module, is used to preferentially use the average residual of historical samples in the same season as the target sample as the calibration quantity. When the number of historical samples in the same season is insufficient, it degenerates to using the average residual of all historical samples within the rolling time window. The rolling deviation calibration is performed on the scenario correction result, and the final wind power prediction result is output.
[0017] The beneficial effects of this invention are: This invention constructs scenario bins by jointly segmenting wind speed, predicted power, and wind farm status. Within a rolling window, it uses historical residual statistics from the same scenario to correct prediction results, reducing systematic biases under different operating conditions. Through rolling deviation calibration, it prioritizes recent historical residuals from the same season and, when samples are insufficient, degenerates into all historical residuals within the rolling window, reducing overall overestimation or underestimation caused by consecutive months, seasonal transitions, or continuous weather events. By using scenario bin rolling residual correction as the first layer of post-processing and rolling deviation calibration as the second layer, it corrects local operating condition errors and overall residual drift respectively, avoiding the problem that a single global correction strategy cannot accommodate multiple operating scenarios. Through parameter constraints such as minimum sample size, window length, upper limit of correction magnitude, non-negative truncation, and capacity upper limit truncation, it reduces the risk of overcorrection and facilitates separate start-up, shutdown, and adjustment for different wind farms.
[0018] To address the engineering challenge of scarce subdivided scene samples caused by 3D joint binning, this invention introduces a virtual residual sample generation mechanism. When there are insufficient real samples for subdivided scenes, virtual residual samples are generated based on the residual distribution of adjacent scenes to participate in the statistics, avoiding direct degradation to coarse-grained global binning that loses scene features, and further improving the correction effect under small sample conditions.
[0019] Adaptive basic prediction power segmentation is adopted, which divides the power interval based on the residual distribution characteristics of the basic model itself. In the interval where the model error fluctuates drastically, the bins are automatically densified, and in the interval where the residual is stable, the segments are sparsely segmented, so that the bin boundaries are adapted to the model error characteristics and the residual statistics are more targeted.
[0020] A multi-level nested scenario binning is adopted to construct a layered, comprehensive coverage system from fine to coarse. A customized progressive degradation path is provided to prioritize the retention of scenario information in the dimensions of wind speed and power, and then degrade to the global sample. The degradation level and the upper limit of the correction range are adjusted in conjunction to balance the retention of scenario features and the risk of over-correction, and to adapt to the unique physical operation mechanism of wind power prediction.
[0021] This invention does not rely on a specific meteorological data source and is compatible with single-station meteorological data, numerical weather prediction grid data, or optional data from nearby meteorological stations, which facilitates engineering deployment. Attached Figure Description
[0022] Figure 1 This is a schematic diagram of the overall process of the wind power prediction method according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the scenario-based binning rolling residual correction process according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the rolling deviation calibration process according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the wind power prediction system according to an embodiment of the present invention. Detailed Implementation
[0023] To facilitate understanding of the present invention, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Those skilled in the art should understand that the embodiments described are merely illustrative of the invention and should not be considered as specific limitations thereof.
[0024] Example 1: Data Acquisition and Preprocessing like Figure 1 The diagram shows the overall flow of a wind power prediction method based on scene-based box rolling residual correction according to the present invention. The method first performs data acquisition and preprocessing steps.
[0025] Obtain historical power data of the target wind farm, including at least timestamps and active power values; obtain capacity data, including installed capacity or time-of-use capacity time series tables; obtain meteorological data, which may be meteorological station data corresponding to the target wind farm, numerical weather forecast grid data, or other data that can be used to characterize the wind conditions at the target time, including at least wind speed data, and may further include one or more of wind direction, temperature, or air pressure.
[0026] Power data and meteorological data are aligned at a uniform time granularity, such as 15 minutes, 30 minutes, or 1 hour. Power values are normalized according to installed capacity. For stations with time-varying capacity, a capacity time series table is used for time-period mapping. Missing value processing and outlier cleaning are performed on the aligned samples. Among them, outlier cleaning can identify shutdown, power restriction, or fault samples based on the wind speed-power curve relationship, and can be filtered by combining power upper and lower limits, continuous zero power duration, and wind speed threshold.
[0027] Example 2: Construction of Basic Features Training samples are constructed based on the preprocessed data. Features include at least the meteorological characteristics at the target time, meteorological lag characteristics, temporal characteristics, station status characteristics, and theoretical power curve characteristics. Temporal characteristics may include time point, month, season, and sine / cosine periodic encoding; station status characteristics may include normalized power characteristics at the same time the previous day.
[0028] Specifically, the meteorological lag characteristics retain 1 to 24 time steps to express the short-term evolution of wind conditions near the target station; the theoretical power curve characteristics can be constructed based on the cut-in wind speed, rated wind speed, and rated power: when the wind speed is less than the cut-in wind speed, the theoretical power is zero; when the wind speed is between the cut-in wind speed and the rated wind speed, the theoretical power increases with the wind speed according to a preset nonlinear function; when the wind speed reaches the rated wind speed, the theoretical power is constrained by the rated power.
[0029] As an optional supplement, meteorological data may also include current characteristics of nearby meteorological stations and lag characteristics of at least one preset time step, which, together with the meteorological characteristics corresponding to the target station, are input into the basic power prediction model.
[0030] Example 3: Basic Model Training A machine learning regression model is used to train the basic power prediction model. The machine learning regression model can be a gradient boosting tree model, a random forest model, a support vector regression model, a neural network model, or a combination of these models. In this embodiment, the basic power prediction model is a gradient boosting tree model. The training objective is to normalize the active power. After training, the normalized basic predicted power is output, and the prediction results are subjected to non-negative truncation, capacity cap truncation, and necessary moving average smoothing.
[0031] Example 4: Scene-based binning rolling residual correction like Figure 2 The diagram shown illustrates the scene binning rolling residual correction process of this invention. After completing the basic prediction, the process proceeds to the first post-processing layer: scene binning rolling residual correction.
[0032] For each target sample to be predicted, a scenario key is constructed based on the wind speed range at the target time, the basic predicted power range, and the site status. The wind speed range can be segmented into low wind, medium wind, high wind, and extremely high wind segments; the predicted power range can be segmented according to the normalization ratio of installed capacity; the site status can be segmented using the power at the same time of the previous day. When the power field at the same time of the previous day is missing, seasonal labels or monthly labels can be used instead.
[0033] Within the rolling time window preceding the target sample, historical samples with the same scene key value as the target sample are selected, and the prediction residuals of these historical samples are calculated. When the number of historical samples for the same scene is not less than the minimum sample size threshold, the median of the residuals is used as the correction factor to adjust the current base prediction result; the prediction residual can be defined as the difference between the base prediction power and the actual power. When the number of samples is insufficient, the method can degenerate to samples from adjacent scenes, global rolling window samples, or not perform scene residual correction.
[0034] When the median residual is positive, it indicates that the basic model tends to overestimate the value in this scenario, and the current basic prediction result should be adjusted downwards. When the median residual is negative, it indicates that the basic model tends to underestimate the value in this scenario, and the current basic prediction result should be adjusted upwards.
[0035] When the number of historical samples for the same scenario is insufficient, the median and standard deviation of the historical residuals of adjacent scenario bins are statistically analyzed. Virtual residual samples are generated by sampling using a virtual residual probability density function constructed through kernel density estimation, or by generating virtual residual samples based on linear interpolation of the median residuals of adjacent scenarios. Virtual residual samples and real samples participate in residual statistics together. If the number of samples from adjacent scenarios is still insufficient, the process degenerates into global rolling window samples or does not perform scenario residual correction. To reduce the risk of overcorrection, a maximum absolute value limit is set for the amount of correction per instance, and non-negative truncation and capacity limit truncation are performed on the corrected prediction results.
[0036] Specifically, for power plants with an installed capacity of 100MW, a historical window of the past 60 days is used, and a correction is triggered when the number of historical samples in the same scenario is no less than 20. For power plants with an installed capacity of 50MW and a short available replay interval, a historical window of the past 45 days is used, and a correction is triggered when the number of historical samples in the same scenario is no less than 8. The above parameters can be adjusted according to the amount of data at the power plant, the prediction granularity, and the error stability.
[0037] The wind speed at 120 meters per second at the current time of prediction is 12 m / s, the basic predicted power output by the basic power prediction model is 78 MW, and the normalized power at the same time the previous day is 0.75. The system can divide the current sample into high wind speed range, high output range, and high load state, and the corresponding scenario bin is "high wind speed + high output + high load state".
[0038] The system searches for historical samples of the same scenario bin within a 60-day rolling window prior to the current moment. If 35 historical samples of the same scenario are found, and the median residual of these samples is -4MW, it indicates that the basic model tends to underestimate the scenario overall. In this case, the scenario correction result can be obtained by subtracting the median residual from the basic predicted power, i.e., 78MW - (-4MW) = 82MW. If the maximum correction magnitude per instance is set to 6MW, then the 4MW correction in this instance does not exceed the upper limit, and 82MW can be used as the scenario correction result.
[0039] Example 5: Adaptive segmentation, multi-level nested binning, and progressive degradation mechanism The basic predicted power segmentation is not uniform, but adaptively divided based on the residual distribution characteristics of the basic power prediction model on the training set. Specifically, the standard deviation or mean absolute error of the residuals of the basic power prediction model in each power interval of the training set is statistically analyzed. Segmentation is denser in intervals with drastic residual fluctuations and sparser in intervals with stable residuals. For example, for a wind farm with an installed capacity of 100MW, residual analysis of the training set shows that the standard deviation of the residuals is 8.5MW in the 60%–80% installed capacity interval and 12.3MW in the 80%–100% interval. Therefore, the 80%–100% interval is further subdivided into two sub-segments: 80%–90% and 90%–100%, while the 60%–80% interval remains a single segment. The resulting basic predicted power segmentation is directly corrected based on the known error characteristics distribution of the basic model, making subsequent residual correction more targeted.
[0040] The scenario bins employ a multi-level nested structure. The first level is segmented by wind speed, for example, into four intervals: low wind (0–6 m / s), medium wind (6–10 m / s), high wind (10–14 m / s), and extremely high wind (>14 m / s). The second level further subdivides each wind speed segment by the adaptively segmented base predicted power. The third level segments each power segment by station status; for example, a normalized power greater than 0.7 at the same time the previous day indicates a high load status, 0.3–0.7 indicates a medium load status, and less than 0.3 indicates a low load status. When a target sample falls into a specific sub-bin (e.g., "high wind + 80%–90% power + high load status") and the historical samples for that sub-bin are insufficient, it automatically degenerates to the parent sub-bin (e.g., "high wind + 80%–90% power" or "high wind") to perform residual statistics, forming a multi-level coverage from fine to coarse, ensuring that any operating condition is covered by at least one level.
[0041] The degradation mechanism of rolling residual correction is executed step-by-step according to a multi-level nested structure. When the historical samples of the target sample's subdivided scene bins are insufficient, it does not directly degrade to a global sample. Instead, it first degrades to adjacent power segments of the same wind speed segment (preserving wind speed characteristics), then to adjacent wind speed segments of the same power segment (preserving power characteristics), and only in the third step does it degrade to a global rolling window sample. The upper limit of the correction magnitude is simultaneously widened with each degradation, allowing the correction amount to gradually converge with the degradation level. For example, the maximum correction magnitude for the initial subdivided scene is 4MW, widened to 6MW when degrading to adjacent power segments, to 8MW when degrading to adjacent wind speed segments, and to 10MW when degrading to the global sample; or a preset attenuation coefficient is used, such as increasing the upper limit by a factor of 1.5 with each level. This strategy ensures that the correction after regression is still better than no correction and avoids the complete loss of scene characteristics due to direct global degradation.
[0042] For example, for a power station with an installed capacity of 100MW, residual analysis of the training set shows significant fluctuations in the residuals of the base predicted power within the 70%–100% installed capacity range. Therefore, this range is adaptively and densely divided into two segments: 70%–85% and 85%–100%, while the 0%–70% range remains a single segment. The wind speed at 120 meters per second at the current time of prediction is 12 m / s, and the base predicted power output by the base power prediction model is 78MW. The normalized power at the same time the previous day was 0.75.
[0043] The system first classifies the current sample into the high-wind range (10–14 m / s) in the first-level wind speed segment; in the second-level basic predicted power segment, since 78MW falls into the 70%–85% adaptive segment, it is also classified into this power sub-segment; in the third-level station status segment, 0.75 is classified into the high-load state. The subdivided scenario bins constructed in this way are "high wind + 70%–85% power + high-load state".
[0044] If the historical samples for this specific scenario are insufficient (e.g., only 5, below the minimum sample size threshold), then stratified degradation is initiated: The first step degrades to adjacent power segments of the same wind speed segment (high wind), querying "high wind + 85%–100% power + high load status" or "high wind + 0%–70% power + high load status" (taking the adjacent one), at which point the maximum correction range is increased from 4MW to 6MW; if still insufficient, the second step degrades to adjacent wind speed segments of the same power segment (70%–85%), querying "medium wind + 70%–85% power + high load status" or "extremely high wind + 70%–85% power + high load status", with the range limit increased to 8MW; if still insufficient, the third step degrades to global rolling window samples, with the range limit increased to 10MW, and correction is performed based on the median of the global sample residuals.
[0045] The aforementioned adaptive segmentation determines the binning boundary, multi-level nesting provides a coverage path from fine to coarse, hierarchical degradation is executed step by step along the path, and the upper limit of the correction magnitude at each level of degradation converges according to a preset attenuation coefficient (such as 1.5 times / level). The three together form a closed-loop correction system of adaptive binning – nested coverage – hierarchical degradation.
[0046] A wind farm with an installed capacity of 100MW uses a three-layer nested structure for its scenario sub-modules: the first layer is divided into low wind (0–6m / s), medium wind (6–10m / s), and high wind (10–14m / s) based on wind speed; the second layer is divided into low power (0–70%), medium power (70%–85%), and high power (85%–100%) based on two adaptive thresholds of 70% and 85% based on base prediction power; and the third layer is divided into high load (>0.7), medium load (0.3–0.7), and low load (<0.3) based on the previous day's power.
[0047] The current sample to be predicted falls into the sub-scenarios of "high wind + medium power (70%–85%) + medium load". In the past 60-day rolling window, there are only 5 historical samples for this scenario, which is below the minimum sample size threshold of 20. The adjacent scenario "high wind + medium power + high load" has 35 historical samples with a median residual of -2MW and a standard deviation of 1.5MW; "high wind + low power + medium load" has 28 historical samples with a median residual of -5MW and a standard deviation of 2.0MW.
[0048] Based on the residual distribution of adjacent scene bins, the system constructs a virtual residual probability density function for the target scene using kernel density estimation (KDE). The system uses the weighted average of the median residuals of adjacent scenes as the location parameter and the weighted average of the standard deviations of the residuals of adjacent scenes as the scale parameter, from which 15 virtual residual samples are generated. The median residual of the 20 samples (5 real + 15 virtual) is -3.2MW, which is used to correct the basic prediction results. This maintains the accuracy of the subdivided scenes without degrading to coarse-grained "high-wind" global binning, avoiding over-correction or under-correction caused by degradation.
[0049] Example 6: Rolling Deviation Calibration like Figure 3 The diagram shown illustrates the rolling deviation calibration process of this invention. After completing the scene residual correction, the process proceeds to the second post-processing layer, where rolling deviation calibration is performed on the scene correction results.
[0050] Specifically, historical residuals are statistically analyzed within a preset rolling window preceding the current target sample. Historical samples with the same season as the current target sample are prioritized for selection, and their average residuals are calculated. When the number of historical samples in the same season is insufficient, the average residual of all historical samples within the rolling window is used as the calibration value. The historical residuals are calculated based on the difference between the historical scene correction power and the historical true power. A maximum absolute value limit is set for the calibration value to avoid overcalibration when local samples are offset.
[0051] Rolling bias calibration uses residuals from the past 30 days, prioritizing samples from the same season. If samples are insufficient, it degenerates into global rolling window samples. Rolling bias calibration is suitable for correcting consecutively underestimated or overestimated months, but when combined with scenario residual correction, an upper limit for the correction magnitude should be configured.
[0052] If the scenario correction result is 82MW, the system further calculates the historical scenario correction residuals within a 30-day rolling window prior to the current moment. Assuming the current sample is in winter, and the number of historical samples from the same winter period within the past 30 days meets the minimum sample size requirement, the calculated average residual for historical samples in the same season is +2MW. This indicates that after scenario correction, the recent overall data for the same season still has an overestimation of approximately 2MW. The final prediction result can then be obtained by subtracting this average residual from the scenario correction result: 82MW - 2MW = 80MW. If the number of historical samples in the same season is insufficient, for example, below the preset minimum sample size threshold, the system can degenerate by using the average residual of all historical samples within the past 30-day rolling window as the calibration value.
[0053] Before outputting the final wind power prediction result, non-negative truncation and capacity limit truncation are performed to ensure that the prediction result is within a physically reasonable range.
[0054] Example 7: System Structure like Figure 4 The diagram shown is a schematic representation of the wind power prediction system of the present invention. The wind power prediction system includes a data acquisition module, a data processing module, a feature construction module, a basic prediction module, a scenario residual correction module, a rolling deviation calibration module, and an output module.
[0055] The data acquisition module is used to acquire historical power data, capacity data, and meteorological data. The data processing module is connected to the data acquisition module and is used to perform time alignment, capacity normalization, missing data handling, and outlier cleaning. The feature construction module is connected to the data processing module and is used to construct meteorological features, time features, lag features, station status features, and theoretical power curve features. The basic prediction module is connected to the feature construction module and is used to train and call the basic power prediction model. The scenario residual correction module is connected to the basic prediction module and is used to perform scenario-based rolling residual correction. The rolling deviation calibration module is connected to the scenario residual correction module and is used to perform seasonal-priority rolling deviation calibration. The output module is connected to the rolling deviation calibration module and is used to output the final predicted power, prediction curve, and evaluation index.
[0056] The data processing module includes a time alignment unit, a capacity normalization unit, a missing data handling unit, and an outlier sample cleaning unit; the feature construction module includes a meteorological feature construction unit, a time feature construction unit, a lag feature construction unit, a station status feature construction unit, and a theoretical power curve feature construction unit.
[0057] The scene residual correction module also includes a virtual sample generation unit, which generates virtual residual samples based on the historical residual distribution of adjacent scene bins when there are insufficient historical samples in the same scene; the rolling deviation calibration module also includes a feedback update unit, which feeds back the final residual to the historical residual library of the scene residual correction module, dynamically updates the residual statistics, and forms a closed-loop feedback.
[0058] Example 8: Experimental Verification The above technical solution was used to conduct offline playback verification on two wind farms. The test results are shown in the table below. The evaluation criterion is: daily accuracy = 1 - daily RMSE / installed capacity, and the overall accuracy is the arithmetic mean of the daily accuracy within the test period. The improvement value of each post-processing step comes from the corresponding independent experiment or ablation experiment, and cannot be simply linearly added together as the final combined improvement.
[0059] Table 1: Summary Table of Experimental Results
[0060] For station 1111301000107, with an installed capacity of 100MW, the replay period is from January 1, 2025 to December 22, 2025. Scenario-specific rolling residual correction improved by approximately 1.02 percentage points on the validation set and by approximately 0.57 percentage points across the entire range; rolling deviation calibration improved by approximately 0.24 percentage points on the validation set and by approximately 0.18 percentage points across the entire range.
[0061] For station 01111301000148, with an installed capacity of 50MW, the replay period is from September 5, 2025 to December 29, 2025. Scenario-specific rolling residual correction improved the performance by approximately 2.67 percentage points on the validation set and approximately 1.42 percentage points across the entire range, reducing the average deviation of the validation set from approximately -5.99MW to approximately -0.50MW; rolling deviation calibration improved the performance by approximately 3.07 percentage points on the validation set and approximately 0.25 percentage points across the entire range.
[0062] The above experiments show that the technical solution provided by the present invention can improve the prediction performance of wind farms under scenarios of spatial wind field evolution, high power underestimation, ramping and seasonal deviation, and has good engineering application value.
[0063] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A wind power prediction method based on scene-based bin rolling residual correction, characterized in that, Includes the following steps: Acquire historical power data, capacity data, and meteorological data of the target wind farm, and perform preprocessing. Training samples are constructed based on preprocessed data, including meteorological features, time features, lag features, station status features, and theoretical power curve features. A basic power prediction model is trained using a machine learning regression model, and basic prediction results are obtained based on the basic power prediction model. Scenario bins are constructed based on the target time wind speed segment, the basic predicted power segment, and the station status segment. Historical samples that are consistent with the target sample scenario bins are selected within the rolling time window before the target sample. The residual statistics of the historical samples are used to perform rolling residual correction on the basic prediction results to obtain the scenario correction results. Rolling bias calibration is performed on the scenario correction results based on historical residuals. The average residual of historical samples in the same season as the target sample is preferentially used as the calibration amount. When the number of historical samples in the same season is insufficient, it degenerates to using the average residual of all historical samples within the rolling time window as the calibration amount, and outputs the final wind power prediction result.
2. The wind power prediction method according to claim 1, characterized in that, The meteorological data includes one or more of the following: wind speed, wind direction, and temperature at the meteorological station corresponding to the target wind farm or at the numerical weather forecast grid point. It may further include the current or lag characteristics of the meteorological stations surrounding the target wind farm. The preprocessing includes time alignment, capacity normalization, missing data handling, and outlier cleaning. The theoretical power curve features are constructed based on the cut-in wind speed, rated wind speed, and rated power. When the wind speed is less than the cut-in wind speed, the theoretical power is zero. When the wind speed is between the cut-in wind speed and the rated wind speed, the theoretical power increases with the wind speed according to a preset nonlinear function. When the wind speed reaches the rated wind speed, the theoretical power is constrained by the rated power.
3. The wind power prediction method according to claim 1, characterized in that, The station status segment includes the normalized power status segment for the same time on the previous day. When the normalized power status for the same time on the previous day is missing, seasonal labels, monthly labels, or operating status labels are used instead. The wind speed segment includes at least low wind range, medium wind range, and high wind range. The basic predicted power segment is divided according to the normalization ratio of installed capacity.
4. The wind power prediction method according to claim 1, characterized in that, The rolling residual correction includes: when the number of historical samples that are consistent with the target sample scenario binning is not less than the minimum sample size threshold, the median of the residuals of the historical samples is used as the correction amount to correct the basic prediction result. When the number of historical samples that are consistent with the target sample scene binning is less than the minimum sample size threshold, virtual residual samples are generated based on the historical residual distribution characteristics of adjacent scene binning. The virtual residual samples and real historical samples together constitute a statistical sample set for calculating the residual statistics. When the adjacent scene binning samples are also insufficient, the process degenerates to using global rolling window samples or not performing scene residual correction. The virtual residual samples are generated in any of the following ways: statistically analyzing the historical median and standard deviation of residuals in adjacent scene bins, constructing a virtual residual probability density function based on the median and standard deviation using kernel density estimation, and sampling from it to generate the virtual residual samples; or generating the virtual residual samples by linear interpolation based on the median of residuals in adjacent scene bins.
5. The wind power prediction method according to claim 4, characterized in that, The residual of the historical sample is the difference between the historical base prediction power and the corresponding historical actual power; when the median of the residual is positive, the current base prediction result is adjusted down; when the median of the residual is negative, the current base prediction result is adjusted up.
6. The wind power prediction method according to claim 1, characterized in that, The rolling deviation calibration sets a maximum absolute value limit on the calibration amount and performs non-negative truncation and capacity upper limit truncation before outputting the final wind power prediction result; the rolling deviation calibration uses the historical residuals of the target sample over the previous 30 days to calculate the calibration amount.
7. The wind power prediction method according to claim 1, characterized in that, The basic predicted power segmentation is adaptively divided according to the residual distribution characteristics of the basic power prediction model on the training set: dense segmentation is performed in the residual fluctuation range, and sparse segmentation is performed in the residual stable range.
8. The wind power prediction method according to claim 7, characterized in that, The scenario bins adopt a multi-level nested structure. The first level is segmented by wind speed, the second level is segmented by basic predicted power within each wind speed segment, and the third level is segmented by station status within each power segment. When a target sample falls into a bin and the historical samples of that bin are insufficient, it automatically degenerates to the parent bin at the next higher level to perform residual statistics, forming a multi-level coverage from fine to coarse.
9. The wind power prediction method according to claim 8, characterized in that, The degradation mechanism of the rolling residual correction is executed step by step according to the path of the multi-level nested structure: when there are insufficient samples in the same scene, it first degrades to the adjacent power segment of the same wind speed segment, then degrades to the adjacent wind speed segment of the same power segment, and finally degrades to the global rolling window sample; each time degradation occurs, the upper limit of the correction amplitude is relaxed synchronously, so that the correction amount gradually converges with the degradation level.
10. A wind power prediction system based on scene-based binning rolling residual correction, used to implement the wind power prediction method according to any one of claims 1-9, characterized in that, include: The data acquisition module is used to acquire historical power data, capacity data, and meteorological data of the target wind farm; The data processing module, connected to the data acquisition module, is used to perform preprocessing on the historical power data, capacity data, and meteorological data; The feature construction module, connected to the data processing module, is used to construct training samples based on the preprocessed data. The training samples include meteorological features, time features, lag features, station status features, and theoretical power curve features. The basic prediction module, connected to the feature construction module, is used to train the basic power prediction model and output the basic prediction results; The scene residual correction module is connected to the basic prediction module. It is used to construct scene bins based on wind speed segmentation, basic prediction power segmentation and station status segmentation, filter historical samples of the same scene within the rolling time window before the target sample, perform rolling residual correction on the basic prediction results, and output scene correction results. The rolling deviation calibration module, connected to the scenario residual correction module, is used to preferentially use the average residual of historical samples in the same season as the target sample as the calibration quantity. When the number of historical samples in the same season is insufficient, it degenerates to using the average residual of all historical samples within the rolling time window. The rolling deviation calibration is performed on the scenario correction result, and the final wind power prediction result is output.
Citation Information
Patent Citations
Wind power prediction method based on data restoration and residual correction
CN118484662A
Water flow real-time forecasting method based on LSTM (Long Short Term Memory) time sequence prediction and residual analysis
CN122072807A
