Photovoltaic output prediction method

By using the multi-level prediction model update method of distributed collection data and kernel recursive filtering algorithm in photovoltaic output prediction, the problems of photovoltaic output prediction accuracy and model stability are solved, and high-precision and highly reliable ultra-short-term photovoltaic output is achieved. predict.

CN118554428APending Publication Date: 2024-08-27STATE GRID JIANGSU ELECTRIC POWER CO LTD CHANGZHOU BRANCH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410600565.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Photovoltaic output prediction is affected by many factors, resulting in inaccurate prediction accuracy and model degradation and anomalies over time.

Method used

Distributed data are used to establish the first-level prediction model and the second-level prediction model, and are updated in real time through the kernel recursive filtering algorithm to reduce the impact of disturbance factors and avoid model degradation and anomalies.

Benefits of technology

It achieves high-precision and highly reliable prediction of ultra-short-term photovoltaic output, reducing the risk of model degradation and anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118554428A
    Figure CN118554428A
Patent Text Reader

Abstract

The invention relates to the technical field of photovoltaic output prediction. The invention provides a photovoltaic output prediction method comprising the following steps: S1, collecting and processing distributed collection and distribution data of a photovoltaic power station, the distributed collection and distribution data comprising historical data and real-time data; s2, according to the historical data, establishing a primary prediction model and performing prediction to obtain a historical estimated value of the photovoltaic power station; and S3, establishing a secondary prediction model based on a kernel recursive filtering algorithm according to the historical data and the historical estimation value of the photovoltaic power station, updating the secondary prediction model according to the historical data, the historical estimation value of the photovoltaic power station and the real-time data, and predicting photovoltaic output of the photovoltaic power station based on the updated secondary prediction model. And obtaining a photovoltaic output prediction value of the photovoltaic power station. According to the method, the influence of disturbance factors on the prediction model can be reduced, and model degradation and model abnormity are avoided, so that high-precision and high-reliability prediction can be carried out on ultra-short-time photovoltaic output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photovoltaic output prediction, and in particular to a photovoltaic output prediction method. Background Art

[0002] Solar photovoltaic power generation is currently one of the most environmentally friendly and sustainable energy sources. As the scale of my country's photovoltaic power stations continues to expand, there will be more and more grid-connected solar photovoltaic power stations, which will enable accurate prediction of photovoltaic output and benefit the safe and stable operation of the grid.

[0003] Photovoltaic output forecasting is a method of using computer technology to conduct data mining and theoretical modeling on the historical power, meteorological data, weather forecast and other information of photovoltaic power stations, so as to achieve photovoltaic output forecasting. Photovoltaic output forecasting can be mainly divided into direct forecasting and indirect forecasting. Direct forecasting is to establish a forecasting model of photovoltaic output and related parameters based on statistical theory, data mining and machine learning, so as to achieve ultra-short-term forecasting, short-term forecasting and medium- and long-term forecasting of photovoltaic output. Indirect forecasting takes meteorological characteristics as the main factors affecting photovoltaic output. First, a meteorological characteristic model of factors such as light intensity, temperature, humidity and wind speed is established. Then, a similar model in the historical meteorological data forecast is obtained according to the current meteorological characteristics, and photovoltaic output forecasting is achieved based on this model.

[0004] Photovoltaic output prediction is affected by many factors, including photovoltaic module type, photovoltaic power station location, altitude, geographical environment, installation direction, meteorological conditions, etc., and these parameters have characteristics such as nonlinearity, local validity, and related ambiguity, which often make the accuracy of photovoltaic output prediction inaccurate. Moreover, as time goes by, disturbance factors such as device aging and cloud cover cause model degradation and model anomalies in the online application of photovoltaic output prediction models. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a photovoltaic output prediction method, which can reduce the impact of disturbance factors on the prediction model, avoid model degradation and model anomalies, and thus can perform high-precision and high-reliability prediction of ultra-short-term photovoltaic output.

[0006] The technical solution adopted by the present invention is as follows: A photovoltaic output prediction method comprises the following steps: S1, collecting and processing distributed centralized and decentralized data of a photovoltaic power station, wherein the distributed centralized and decentralized data comprises historical data and real-time data; S2, establishing a primary prediction model and performing prediction based on the historical data to obtain a historical estimated value of the photovoltaic power station, wherein the primary prediction model comprises an ultra-short prediction model and a power prediction model; S3, establishing a secondary prediction model based on a kernel recursive filtering algorithm based on the historical data and the historical estimated value of the photovoltaic power station, and updating the secondary prediction model based on the historical data, the historical estimated value of the photovoltaic power station and the real-time data, and predicting the photovoltaic output of the photovoltaic power station based on the updated secondary prediction model to obtain a photovoltaic output prediction value of the photovoltaic power station.

[0007] In addition, the photovoltaic output prediction method proposed in the present invention may also have the following additional technical features: According to one embodiment of the present invention, in step S2, the ultra-short prediction model is established based on the seasonal time series algorithm according to the historical data.

[0008] According to an embodiment of the present invention, in step S2, the power prediction model is established based on a least squares support vector machine according to the historical data.

[0009] According to one embodiment of the present invention, the secondary prediction model includes an ultra-short-time photovoltaic output prediction model.

[0010] According to one embodiment of the present invention, step S3 specifically includes: establishing an ultra-short-time photovoltaic output prediction model based on a kernel recursive filtering algorithm according to the historical data and the first photovoltaic power station historical estimation value and the second photovoltaic power station historical estimation value predicted by the ultra-short-time prediction model and the power prediction model; updating the ultra-short-time photovoltaic output prediction model according to the historical data, the first photovoltaic power station historical estimation value, the second photovoltaic power station historical estimation value and the real-time data, and performing a prediction based on the updated ultra-short-time photovoltaic output prediction model to obtain a first prediction value of the photovoltaic output of the photovoltaic power station as the photovoltaic output prediction value of the photovoltaic power station.

[0011] According to another embodiment of the present invention, the primary prediction model also includes a power error correction model, a cloud entry monitoring model, a cloud area impact model and a similar day classifier.

[0012] Furthermore, in step S2, according to the historical data, the power error correction model, the cloud entry monitoring model, the cloud area impact model and the similar day classifier are established based on a least squares support vector machine.

[0013] According to another embodiment of the present invention, the secondary prediction model also includes an ultra-short-time photovoltaic output compensation model.

[0014] According to another embodiment of the present invention, step S3 specifically includes: establishing an ultra-short-time photovoltaic output prediction model based on the kernel recursive filtering algorithm according to the first photovoltaic power station historical estimation value and the second photovoltaic power station historical estimation value predicted by the historical data and the ultra-short prediction model and the power prediction model; updating the ultra-short-time photovoltaic output prediction model according to the historical data, the first photovoltaic power station historical estimation value, the second photovoltaic power station historical estimation value and the real-time data, and predicting based on the updated ultra-short-time photovoltaic output prediction model to obtain a first prediction value of the photovoltaic output of the photovoltaic power station; and obtaining a third photovoltaic power station historical estimation value and a fourth photovoltaic power station historical estimation value according to the historical data, the first prediction value and the power error correction model, the cloud area influence model and the similar day classifier. value and the fifth photovoltaic power station historical estimated value, and establish an ultra-short-time photovoltaic output compensation model based on the kernel recursive filtering algorithm; update the ultra-short-time photovoltaic output compensation model according to the historical data, the first predicted value, the third photovoltaic power station historical estimated value, the fourth photovoltaic power station historical estimated value, the fifth photovoltaic power station historical estimated value and the real-time data, and make a prediction based on the updated ultra-short-time photovoltaic output compensation model to obtain a second predicted value of the photovoltaic output of the photovoltaic power station; determine whether the first predicted value needs to be compensated according to the sixth photovoltaic power station historical estimated value predicted by the cloud entry monitoring model, and if so, compensate the first predicted value with the second predicted value to obtain the photovoltaic output predicted value of the photovoltaic power station; otherwise, use the first predicted value as the photovoltaic output predicted value of the photovoltaic power station.

[0015] Beneficial effects of the present invention: The present invention establishes a multi-level prediction model based on historical data and real-time data, and updates the secondary prediction model in real time, thereby reducing the impact of disturbance factors on the prediction model, avoiding model degradation and model anomalies, and thus enabling high-precision and high-reliability prediction of ultra-short-term photovoltaic output. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a flow chart of a photovoltaic output prediction method according to an embodiment of the present invention; Figure 2 A schematic diagram of factors affecting photovoltaic power generation according to an embodiment of the present invention; Figure 3 This is a schematic diagram of a photovoltaic module being blocked according to an embodiment of the present invention; Figure 4 The figure is a flow chart of a photovoltaic output prediction method according to a specific embodiment of the present invention. DETAILED DESCRIPTION

[0017] 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.

[0018] like Figure 1 As shown, the photovoltaic output prediction method according to the embodiment of the present invention comprises the following steps: S1, collect and process distributed centralized and distributed data of photovoltaic power stations, wherein the distributed centralized and distributed data includes historical data and real-time data.

[0019] In one embodiment of the present invention, Figure 2 The factors affecting photovoltaic power generation shown in the figure select the distributed data of the photovoltaic power station that needs to be collected, where the historical data may include: historical power data of the photovoltaic power station, environmental data of the photovoltaic power station, cloud shielding data, inverter operation data, and meteorological data. The environmental data of the photovoltaic power station may include the temperature, humidity, wind speed, and light intensity of the location of the photovoltaic power station, the cloud shielding data may include the distribution location of the inverter and the type of shielding cloud, the inverter operation data may include parallel resistance data, series resistance data, saturation current data, and photocurrent data, and the meteorological data includes meteorological forecast data that can be divided into four types of meteorological characteristics: mainly sunny, mainly cloudy, mainly overcast, and mainly rainy and snowy.

[0020] In a specific embodiment of the present invention, the daily collection time of the historical power data of the photovoltaic power station can be from 6:00 to 17:45, with a collection frequency of once every 15 minutes, and the time from 18:00 to 5:45 the next day is recorded as 0; the collection location of the temperature, humidity and wind speed at the location of the photovoltaic power station is the center of the photovoltaic power station, each of which is collected by a set of equipment; the light intensity at the location of the photovoltaic power station is collected by installing a set of light intensity sensors in the photovoltaic arrays at the edge of the power station space and the center of the power station; the inverter operation data is the operation data of each photovoltaic module in the photovoltaic array; the weather forecast data comes from the weather forecast for the photovoltaic power station issued by the meteorological station.

[0021] In a specific embodiment of the present invention, it is necessary to perform unit conversion and normalization processing on historical power data, environmental data of the photovoltaic power station and historical power data of the photovoltaic power station, and convert the collected data into linear data between 0 and 1; according to the collected operation data of each photovoltaic component in the photovoltaic array, the inverter operation state can be divided into three states, namely, no operation, shielding state and normal operation, which are respectively recorded as Class A, B, and C and recorded in the inverter operation data; meteorological data can be divided into mainly sunny, mainly cloudy, mainly rainy and snowy, and severe extreme weather according to the collected weather forecast for the photovoltaic power station issued by the meteorological station, which are respectively recorded as Class I, Class II, Class III, and Class IV.

[0022] S2, based on historical data, establish a first-level prediction model and perform prediction to obtain historical estimated values ​​of the photovoltaic power station, wherein the first-level prediction model includes an ultra-short prediction model and a power prediction model.

[0023] In one embodiment of the present invention, an ultra-short prediction model can be established based on historical data and a seasonal time series algorithm, wherein the model established based on the seasonal time series algorithm (SARIMA, Seasonal Autoregressive Integrated Moving Average) can be expressed as:

[0024] in, p is the non-seasonal autoregressive order, d is the order of ordinary differences, q is the non-seasonal moving average order.

[0025] In one embodiment of the present invention, 4 hours, 12 hours, 1 week and 3 months can be used as a cycle respectively, the data of the photovoltaic power station in the past year is used as the sample data used by the seasonal time series algorithm, and the data of the last day is used as the detection data used by the seasonal time series algorithm, and 4 ultra-short prediction models are established based on the seasonal time series algorithm.

[0026] Specifically, the process of establishing the ultra-short prediction model is as follows: Based on the sample data input , then the ultra-short prediction model can be expressed as:

[0027] in, is a non-seasonal autoregressive polynomial, is the seasonal autoregressive polynomial, is the seasonal sliding mean polynomial, where L is the delay operator, p is the non-seasonal autoregressive order,d is the order of ordinary differences, q is the non-seasonal moving average order, P is the seasonal autoregressive order, Q is the seasonal autoregressive order, D is the order of seasonal differencing, s is the cycle length, It's noise.

[0028] When establishing an ultra-short-term prediction model, we first need to Zero mean is performed, and the calculation formula is:

[0029] in, for The mean of for The variance of .

[0030] Secondly, by using the autocorrelation function and partial correlation function to transform the zero-mean ,Right now , perform stabilization processing, and obtain the difference order d and D .

[0031] Then, based on minimizing the Akaike Information Criterion, p , q , P and Q range, and obtain the reference ultra-short prediction model.

[0032] Finally, the nonlinear least squares method is used to estimate and the minimum variance of the residual sequence is selected as the objective function to obtain the reference ultra-short prediction model. p , q , P and Q , and the reference ultra-short prediction model p , q , P and Q A test is performed to determine whether the reference ultra-short prediction model is applicable, until the optimal reference ultra-short prediction model is obtained as the final ultra-short prediction model.

[0033] In one embodiment of the present invention, a power prediction model is established based on a least squares support vector machine according to historical data.

[0034] In one embodiment of the present invention, a consistency check may be performed on the four established ultra-short prediction models and the power prediction model, and the parameters of each model may be adjusted according to the consistency check to improve the prediction accuracy of each model.

[0035] It should be noted that the least squares support vector machine (LSSVM) replaces the inequality constraints in the traditional support vector machine with equality constraints, and replaces the convex quadratic programming problem in the traditional support vector machine by solving a series of linear equations. It can be used for fitting and classification. The power prediction model is a prediction model obtained by fitting the environmental data of the photovoltaic power station in the historical data based on the least squares support vector machine.

[0036] The classification and prediction model based on the least squares support vector machine will be described in detail below.

[0037] In high-dimensional space, LSSVM can be used to calculate a variable x The estimation and classification of are expressed as:

[0038] in, is the weight vector in the feature space, is a nonlinear function, Represents the input space X Map to F , b For deviation.

[0039] It can be seen that the optimization problem of LSSVM is to solve and b process.

[0040] Assume that the training sample set of LSSVM is , No. n The estimated error of the sample The calculation formula is:

[0041] in, For the n Estimates of samples.

[0042] Based on the principle of minimizing system structure risk and empirical risk

[0043] in, is the objective function, is the penalty coefficient.

[0044] The solution is:

[0045] in, is the coefficient vector.

[0046] Introduce a kernel function that satisfies the positive definite condition:

[0047] in, is the kernel function width parameter.

[0048] The final prediction and classification model can be obtained:

[0049] In one embodiment of the present invention, the primary prediction model may also include a power error correction model, a cloud entry monitoring model, a cloud area impact model and a similar day classifier.

[0050] In one embodiment of the present invention, according to historical data, a power error correction model, a cloud entry monitoring model, a cloud area impact model and a similar day classifier are established based on a least squares support vector machine.

[0051] Specifically, a power error correction model can be established based on the fitting of the least squares support vector machine according to the environmental data of the photovoltaic power station in the historical data and the historical power data of the photovoltaic power station; a cloud area influence model can be established based on the fitting of the least squares support vector machine according to the cloud shading data in the historical data and the historical power data of the photovoltaic power station; a cloud entry monitoring model can be established based on the classification of the least squares support vector machine according to the cloud shading data and the inverter operation data in the historical data; a similar day classifier can be established based on the classification of the least squares support vector machine according to the meteorological data in the historical data and the historical power data of the photovoltaic power station.

[0052] S3, according to the historical data and the historical estimated values ​​of the photovoltaic power station, a secondary prediction model is established based on the kernel recursive filtering algorithm, and the secondary prediction model is updated according to the historical data, the historical estimated values ​​of the photovoltaic power station and the real-time data, and the photovoltaic output of the photovoltaic power station is predicted based on the updated secondary prediction model to obtain the photovoltaic output prediction value of the photovoltaic power station.

[0053] In one embodiment of the present invention, the secondary prediction model may include an ultra-short-term photovoltaic output prediction model.

[0054] The following will specifically describe how to update the secondary prediction model based on the kernel recursive filtering algorithm according to historical data, historical estimated values ​​of photovoltaic power plants and real-time data.

[0055] Assume that the secondary prediction model established by the current density quantized kernel recursive filtering algorithm (KRLS, Kernel Recursive LeastSquares) is:

[0056] in, The dictionary center of the secondary prediction model is obtained from the sample data according to the density quantization algorithm. Select from the list to participate in the construction of the secondary prediction model. The Dictionary Center j samples, q is the number of samples in the center of the dictionary, For the j The weight coefficient of the samples, is the kernel function.

[0057] Assign a capacity parameter to each dictionary center and the density radius threshold is , and set the minimum capacity threshold of each dictionary center to , the maximum capacity threshold of each dictionary center is , the maximum number of windows is m.

[0058] For new samples obtained from real-time data , find the nearest dictionary center:

[0059] in, The location information of the center of the dictionary.

[0060] like , then update the capacity parameter and weight parameter:

[0061] in, yes In the ( i +1) weight coefficient in the iteration, It is the step size update coefficient, and does not update the parameters of the current online model; like or , then update the dictionary center , and update the parameters of the current secondary prediction model.

[0062] In one embodiment of the present invention, step S3 may specifically include the following steps: According to the historical data and the ultra-short prediction model and the power prediction model, the historical estimated value of the first photovoltaic power station and the historical estimated value of the second photovoltaic power station are predicted, and an ultra-short-term photovoltaic output prediction model is established based on the kernel recursive filtering algorithm; According to the historical data and the historical estimated value of the first photovoltaic power station, the historical estimated value of the second photovoltaic power station and the real-time data, the ultra-short-time photovoltaic output prediction model is updated, and a prediction is made based on the updated ultra-short-time photovoltaic output prediction model to obtain a first predicted value of the photovoltaic output of the photovoltaic power station as the photovoltaic output prediction value of the photovoltaic power station.

[0063] In another embodiment of the present invention, the secondary prediction model may further include an ultra-short-time photovoltaic output compensation model.

[0064] Step S3 may specifically include the following steps: According to the historical data and the ultra-short prediction model and the power prediction model, the historical estimated value of the first photovoltaic power station and the historical estimated value of the second photovoltaic power station are predicted, and an ultra-short-term photovoltaic output prediction model is established based on the kernel recursive filtering algorithm; The ultra-short-term photovoltaic output prediction model is updated according to the historical data and the historical estimated value of the first photovoltaic power station, the historical estimated value of the second photovoltaic power station and the real-time data, and a prediction is performed based on the updated ultra-short-term photovoltaic output prediction model to obtain a first predicted value of the photovoltaic output of the photovoltaic power station; An ultra-short-term photovoltaic output compensation model is established based on a kernel recursive filtering algorithm according to the historical data, the first predicted value, the power error correction model, the cloud area impact model, and the historical estimated value of the third photovoltaic power station, the historical estimated value of the fourth photovoltaic power station, and the historical estimated value of the fifth photovoltaic power station predicted by the similar day classifier; According to the historical data, the first predicted value, the third photovoltaic power station historical estimated value, the fourth photovoltaic power station historical estimated value, the fifth photovoltaic power station historical estimated value and the real-time data, the ultra-short-time photovoltaic output compensation model is updated, and a prediction is performed based on the updated ultra-short-time photovoltaic output compensation model to obtain a second predicted value of the photovoltaic output of the photovoltaic power station; According to the historical estimated value of the sixth photovoltaic power station obtained by the cloud entry monitoring model, it is judged whether the first predicted value needs to be compensated. If so, the second predicted value is compensated to the first predicted value to obtain the photovoltaic output predicted value of the photovoltaic power station; otherwise, the first predicted value is used as the photovoltaic output predicted value of the photovoltaic power station.

[0065] It should be noted that when the edge photovoltaic modules and the central photovoltaic modules of the photovoltaic power station are inconsistent in operation, the cloud entry monitoring model can classify the inverter operation status into A, B, and C categories based on the historical estimated value and real-time data of the sixth photovoltaic power station and record it as the inverter operation status estimated value in the historical estimated value of the sixth photovoltaic power station. If the inverter operation status estimated value is A or B, it means that there is cloud cover or other faults in the current photovoltaic power station. When predicting the photovoltaic output of the photovoltaic power station, it is necessary to compensate the first predicted value based on the second predicted value; if the historical estimated value of the sixth photovoltaic power station is C, it is considered that the entire photovoltaic power station is operating normally and no compensation is required, which can be expressed by the following formula:

[0066] in, Y 11 is the first predicted value, Y 21is the second predicted value, It is the predicted value of the final photovoltaic output of the photovoltaic power station.

[0067] like Figure 4 As shown, in a specific embodiment of the present invention, the photovoltaic output prediction method specifically includes the following steps: Collect and process distributed data of photovoltaic power plants, where the distributed data of photovoltaic power plants include historical data and real-time data; A photovoltaic array model with photovoltaic modules as the smallest unit is established. The photovoltaic array model can calculate the output of the edge photovoltaic array and the output of the center photovoltaic array to detect whether the photovoltaic power station is blocked by clouds. According to historical data, the cloud area impact model M8 was established based on the least squares support vector machine; The operation of photovoltaic power stations is divided into four situations according to the impact of meteorological conditions on photovoltaic output in historical data; According to historical data, cloud entry monitoring model M7 and similar day classifier M9 are established based on least squares support vector machine. Model M9 can predict the photovoltaic output of photovoltaic power stations on days similar to these four situations. According to historical data, multi-scale ultra-short forecasting models M1, M2, M3, and M4 are established based on seasonal time series algorithms; According to historical data, a power prediction model M5 and a power error correction model M6 are established based on the least squares support vector machine; The output values ​​of models M1, M2, M3, M4, and M5 at the same time, i.e., the historical estimated values ​​Y1, Y2, Y3, Y4 of the first photovoltaic power station and the historical estimated value Y5 of the second photovoltaic power station, are used as training data, and the historical power data of the photovoltaic power station at the same time in the historical data is used as output. An ultra-short-term photovoltaic output prediction model Model1 is established based on the kernel recursive filtering algorithm; According to historical data, Y1, Y2, Y3, Y4, Y5 and real-time data, Model1 is updated, and prediction is performed based on the updated Model1 to obtain a first prediction value Y11 of the photovoltaic power station's photovoltaic output; The output values ​​of models M6, M8, and M9, namely the historical estimated value Y6 of the third photovoltaic power station, the historical estimated value Y8 of the fourth photovoltaic power station, and the historical estimated value Y9 of the fifth photovoltaic power station, are used as training data, and the deviation between the historical power data of the photovoltaic power station at the same time in the historical data and Y11 is used as output, and an ultra-short-time photovoltaic output compensation model Model2 is established based on the kernel recursive filtering algorithm; According to the historical data, Y6, Y8, Y9, Y11 and real-time data, Model2 is updated, and prediction is performed based on the updated Model2 to obtain a second prediction value Y21 of the photovoltaic power station's photovoltaic output; Model M7 classifies the output of the edge photovoltaic array and the output of the central photovoltaic array of the photovoltaic power station. If the classification result shows that the output of the edge photovoltaic array and the output of the central photovoltaic array are of different categories, that is, Pedge! =pcenter, it is considered that the photovoltaic array is blocked by clouds; if the classification result shows that the output of the edge photovoltaic array and the output of the central photovoltaic array are of the same category, it continues to judge whether there are other disturbance factors in the photovoltaic power station. When the difference between Y5 and Y9 and the deviation value of Y11 exceeds 10%, that is, |Y5-Y9| / Y11<10%, it is considered that the photovoltaic array has a sudden disturbance, otherwise it is considered that the entire photovoltaic power station is operating normally; When the output result of model M7 is that the photovoltaic array is blocked by clouds or there is a sudden disturbance in the photovoltaic array, the first prediction value is compensated according to the second prediction value to obtain the photovoltaic output prediction value of the photovoltaic power station; when the output result of model M7 is that the entire photovoltaic power station is operating normally, there is no need to compensate the first prediction value; the first prediction value is used as the photovoltaic output prediction value of the photovoltaic power station. According to the photovoltaic output prediction method of an embodiment of the present invention, by establishing a multi-level prediction model based on historical data and real-time data, and updating the secondary prediction model in real time, it is possible to reduce the impact of disturbance factors on the prediction model, avoid model degradation and model anomalies, and thus make high-precision and high-reliability predictions of ultra-short-term photovoltaic output.

[0068] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.

[0069] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0070] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0071] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0072] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0073] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0074] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0075] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0076] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0077] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A photovoltaic output prediction method, characterized in that: The following steps are involved: S1, collecting and processing distributed centralized and distributed data of a photovoltaic power station, wherein the distributed centralized and distributed data includes historical data and real-time data; S2, based on the historical data, establishing a primary prediction model and performing prediction to obtain a historical estimated value of the photovoltaic power station, wherein the primary prediction model includes an ultra-short prediction model and a power prediction model; S3, establishing a secondary prediction model based on the kernel recursive filtering algorithm according to the historical data and the historical estimated values ​​of the photovoltaic power station, and updating the secondary prediction model according to the historical data, the historical estimated values ​​of the photovoltaic power station and the real-time data, and predicting the photovoltaic output of the photovoltaic power station based on the updated secondary prediction model to obtain the photovoltaic output prediction value of the photovoltaic power station.

2. The photovoltaic output prediction method according to claim 1, characterized in that: In step S2, the ultra-short prediction model is established based on the historical data and the seasonal time series algorithm.

3. The photovoltaic output prediction method according to claim 2, characterized in that: In step S2, the power prediction model is established based on the least squares support vector machine according to the historical data.

4. The photovoltaic output prediction method according to claim 3, characterized in that: The secondary prediction model includes an ultra-short-term photovoltaic output prediction model.

5. The photovoltaic output prediction method according to claim 4, characterized in that: Step S3 specifically includes: Establishing an ultra-short-time photovoltaic output prediction model based on a kernel recursive filtering algorithm according to the historical data and the first photovoltaic power station historical estimation value and the second photovoltaic power station historical estimation value predicted by the ultra-short-time prediction model and the power prediction model; According to the historical data, the historical estimated value of the first photovoltaic power station, the historical estimated value of the second photovoltaic power station and the real-time data, the ultra-short-time photovoltaic output prediction model is updated, and prediction is performed based on the updated ultra-short-time photovoltaic output prediction model to obtain a first predicted value of the photovoltaic output of the photovoltaic power station as the photovoltaic output prediction value of the photovoltaic power station.

6. The photovoltaic output prediction method according to claim 4, characterized in that: The first-level prediction model also includes a power error correction model, a cloud entry monitoring model, a cloud area impact model and a similar day classifier.

7. The photovoltaic output prediction method according to claim 6, characterized in that: In step S2, according to the historical data, the power error correction model, the cloud entry monitoring model, the cloud area impact model and the similar day classifier are established based on a least squares support vector machine.

8. The photovoltaic output prediction method according to claim 7, characterized in that: The secondary prediction model also includes an ultra-short-time photovoltaic output compensation model.

9. The photovoltaic output prediction method according to claim 8, characterized in that: Step S3 specifically includes: Establishing an ultra-short-time photovoltaic output prediction model based on a kernel recursive filtering algorithm according to the historical data and the first photovoltaic power station historical estimation value and the second photovoltaic power station historical estimation value predicted by the ultra-short-time prediction model and the power prediction model; According to the historical data, the historical estimated value of the first photovoltaic power station, the historical estimated value of the second photovoltaic power station and the real-time data, the ultra-short-time photovoltaic output prediction model is updated, and a prediction is performed based on the updated ultra-short-time photovoltaic output prediction model to obtain a first predicted value of the photovoltaic output of the photovoltaic power station; An ultra-short-time photovoltaic output compensation model is established based on a kernel recursive filtering algorithm according to the historical data, the first predicted value and the power error correction model, the cloud area influence model and the third photovoltaic power station historical estimated value, the fourth photovoltaic power station historical estimated value and the fifth photovoltaic power station historical estimated value predicted by the similar day classifier; According to the historical data, the first predicted value, the third photovoltaic power station historical estimated value, the fourth photovoltaic power station historical estimated value, the fifth photovoltaic power station historical estimated value and the real-time data, the ultra-short-time photovoltaic output compensation model is updated, and prediction is performed based on the updated ultra-short-time photovoltaic output compensation model to obtain a second predicted value of the photovoltaic output of the photovoltaic power station; According to the historical estimated value of the sixth photovoltaic power station obtained by the cloud entry monitoring model, it is judged whether the first predicted value needs to be compensated. If so, the second predicted value is compensated to the first predicted value to obtain the photovoltaic output predicted value of the photovoltaic power station; otherwise, the first predicted value is used as the photovoltaic output predicted value of the photovoltaic power station.