Method and device for predicting output power of photovoltaic power generation equipment, computer equipment, readable storage medium and program product
Through multi-model aggregation and deterministic factor evaluation, combined with geographical, device and weather factor data, the prediction accuracy of photovoltaic power output power is improved, and the problem of low prediction accuracy of traditional single model is solved.
Patent Information
- Application Number
- CN202410880241.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-11-29
AI Technical Summary
Traditional single model is difficult to accurately capture the relationship between weather conditions, geographical location and complex factors in the power output power of photovoltaic power generation equipment, resulting in low prediction accuracy of photovoltaic power generation output power.
Multiple pre-constructed output power prediction models are used to obtain the deterministic factor values of each model, select the target model or perform model aggregation, and predict it with geographical, device and weather factor data to form an output power superposition value to improve prediction accuracy.
By evaluating the model prediction accuracy, the problem of inaccurate prediction of a single model due to spatial and temporal differences is reduced, and the prediction accuracy of photovoltaic power output power is improved.
Smart Images

Figure CN119047607A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of photovoltaic power prediction, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for predicting the output power of photovoltaic power generation equipment. Background Art
[0002] Photovoltaic power generation is a clean energy technology that converts light energy directly into electrical energy. However, photovoltaic power generation equipment is affected by many factors, such as weather conditions, geographical location, and photovoltaic device performance, resulting in fluctuations in power output. Therefore, accurate prediction of the power output of photovoltaic power generation equipment is crucial for the operation and management of photovoltaic power generation equipment.
[0003] Currently, the output power of photovoltaic power generation equipment is mainly predicted by a single model. However, the traditional single model prediction method is difficult to accurately capture the relationship between complex factors such as weather conditions, geographical location and photovoltaic device performance, resulting in low prediction accuracy of photovoltaic power output. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for predicting the output power of photovoltaic power generation equipment in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for predicting the output power of a photovoltaic power generation device, comprising:
[0006] Obtaining current certainty factor values of respective pre-built multiple output power prediction models;
[0007] When there is at least one output power prediction model whose certainty factor value is greater than the certainty threshold, determining a target output power prediction model from the multiple output power prediction models;
[0008] According to the geographical factor data of the photovoltaic power generation equipment, the performance factor data of the photovoltaic device, the weather factor data and the target output power prediction model, the output power prediction value of the photovoltaic power generation equipment is obtained;
[0009] When the certainty factor values of the multiple output power prediction models are all less than the certainty threshold, obtaining multiple output power prediction values according to the geographical factor data, photovoltaic device factor data, weather factor data of the photovoltaic power generation equipment and the multiple output power prediction models;
[0010] Aggregating and superimposing the multiple output power prediction values to obtain an output power superposition value;
[0011] The output power superposition value is used as the output power prediction value of the photovoltaic power generation equipment.
[0012] In one of the embodiments, before obtaining the current certainty factor value of each of the plurality of pre-built output power prediction models, the method further includes:
[0013] The data of the same geographical influencing factor at different times in the geographical factor data are taken as geographical sub-factor data;
[0014] According to the correlation factor between each group of geographical sub-factor data and photovoltaic power generation efficiency, geographical sub-factor training data is determined from multiple groups of geographical sub-factor data;
[0015] The data of the same photovoltaic device performance factor at different times in the photovoltaic device performance factor historical data are used as photovoltaic device performance sub-factor historical data;
[0016] Determining photovoltaic device performance sub-factor training data from multiple groups of photovoltaic device performance sub-factor historical data according to the correlation factor between each group of photovoltaic device performance sub-factor historical data and photovoltaic power generation efficiency;
[0017] The data of the same weather factor at different times in the weather factor historical data are used as the weather sub-factor historical data;
[0018] Determine weather sub-factor training data from multiple sets of weather sub-factor historical data according to the correlation factor between each set of weather sub-factor historical data and photovoltaic power generation efficiency;
[0019] Model training is performed based on the geographic sub-factor training data, the photovoltaic device performance sub-factor training data, and the weather sub-factor training data to obtain a plurality of pre-constructed output power prediction models.
[0020] In one embodiment, the obtaining of the current certainty factor value of each of the plurality of pre-built output power prediction models includes:
[0021] For any output power prediction model, obtaining the total number of prediction samples of any output power prediction model within a preset time period and the output power prediction value corresponding to each prediction sample;
[0022] According to the output power prediction value corresponding to each prediction sample and the output power actual value, the prediction accuracy value corresponding to each prediction sample is obtained;
[0023] According to the prediction accuracy value and accuracy boundary value corresponding to each prediction sample, a high prediction accuracy sample is determined;
[0024] According to the number of high prediction accuracy samples and the total number of prediction samples, the current certainty factor value of any output power prediction model is obtained.
[0025] In one of the embodiments, when there is at least one output power prediction model whose certainty factor value is greater than a certainty threshold, determining a target output power prediction model from the multiple output power prediction models includes:
[0026] When there is at least one output power prediction model whose certainty factor value is greater than the certainty threshold, determining the maximum value among the multiple current certainty factor values as the target certainty factor value;
[0027] The output power prediction model corresponding to the target certainty factor value is determined as the target output power prediction model.
[0028] In one of the embodiments, aggregating and superimposing the multiple output power prediction values to obtain an output power superposition value includes:
[0029] Obtaining an aggregation factor of each of the multiple output power prediction models;
[0030] According to the aggregation factors of the multiple output power prediction models, the multiple output power prediction values are weighted and summed to obtain an output power superposition value.
[0031] In one of the embodiments, before obtaining the aggregation factors of the respective output power prediction models, the method further includes:
[0032] For any output power prediction model, according to the output power prediction value corresponding to each prediction sample of any output power prediction model and the actual output power value, a root mean square error and an average value of the root mean square error are obtained;
[0033] Obtaining the variance of any output power prediction model according to the root mean square error and the root mean square error average;
[0034] According to the variance, an aggregation factor of any output power prediction model is obtained.
[0035] In a second aspect, the present application also provides a device for predicting the output power of a photovoltaic power generation device, comprising:
[0036] A certainty factor value determination module, used to obtain the current certainty factor value of each of the plurality of pre-built output power prediction models;
[0037] A target model acquisition module, configured to determine a target output power prediction model from among the multiple output power prediction models when there is at least one output power prediction model whose certainty factor is greater than a certainty threshold;
[0038] A prediction value acquisition module is used to obtain the output power prediction value of the photovoltaic power generation equipment according to the geographical factor data of the photovoltaic power generation equipment, the performance factor data of the photovoltaic device, the weather factor data and the target output power prediction model;
[0039] The prediction value acquisition module is also used to obtain multiple output power prediction values according to the geographical factor data, photovoltaic device factor data, weather factor data and the multiple output power prediction models of the photovoltaic power generation equipment when the certainty factor values of the multiple output power prediction models are all less than the certainty threshold; aggregate and superimpose the multiple output power prediction values to obtain an output power superposition value; and use the output power superposition value as the output power prediction value of the photovoltaic power generation equipment.
[0040] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the above method.
[0041] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to execute the above method.
[0042] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and the computer program is executed by a processor to execute the above method.
[0043] The above-mentioned photovoltaic power generation equipment output power prediction method, device, computer equipment, computer-readable storage medium and computer program product obtain the current deterministic factor value of each of the pre-built multiple output power prediction models; when there is at least one output power prediction model whose deterministic factor value is greater than the deterministic threshold, determine the target output power prediction model in the multiple output power prediction models; obtain the output power prediction value of the photovoltaic power generation equipment according to the geographical factor data, photovoltaic device performance factor data, weather factor data and target output power prediction model of the photovoltaic power generation equipment; when the deterministic factor values of multiple output power prediction models are all less than the deterministic threshold, obtain multiple output power prediction values according to the geographical factor data, photovoltaic device factor data, weather factor data and multiple output power prediction models of the photovoltaic power generation equipment; aggregate and superimpose multiple output power prediction values to obtain an output power superposition value; use the output power superposition value as the output power prediction value of the photovoltaic power generation equipment. The present application uses deterministic factors to evaluate and analyze the prediction accuracy of different output power prediction models, and obtains the output power prediction value of the photovoltaic power generation equipment according to the evaluation and analysis results, reduces the problem of inaccurate prediction of a single model caused by spatial and temporal differences, and improves the prediction accuracy of photovoltaic power generation output power. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 A diagram of an application environment of a method for predicting output power of a photovoltaic power generation device in one embodiment;
[0046] Figure 2 A schematic diagram of a flow chart of a method for predicting output power of a photovoltaic power generation device in one embodiment;
[0047] Figure 3 is a schematic diagram of factors affecting output power in one embodiment;
[0048] Figure 4 A three-dimensional matrix schematic diagram of influencing factors in one embodiment;
[0049] Figure 5 A three-dimensional surface relationship diagram of influencing factors and photovoltaic power generation efficiency in one embodiment;
[0050] Figure 6 A schematic diagram of a process of model training and verification in one embodiment;
[0051] Figure 7 A schematic diagram of a process for obtaining an output power superposition value in one embodiment;
[0052] Figure 8 It is a schematic flow chart of a method for predicting output power of a photovoltaic power generation device in another embodiment;
[0053] Fig. 9 It is a structural block diagram of a device for predicting output power of a photovoltaic power generation device in one embodiment;
[0054] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0056] The present application embodiment provides a method for predicting the output power of a photovoltaic power generation device. The present embodiment can be executed by a computer device, such as Figure 1As shown, the computer device can obtain the current certainty factor value of each of the multiple pre-built output power prediction models, and then obtain the output power prediction value of the photovoltaic power generation device. It can be understood that the computer device can be implemented by a server, or by a terminal, or by an interactive system between a terminal and a server. In this embodiment, the method includes Figure 2 The steps shown are:
[0057] Step S201, obtaining the current certainty factor value of each of a plurality of pre-built output power prediction models.
[0058] The output power prediction model can predict the output power of photovoltaic power generation equipment based on the geographical factor data of photovoltaic power generation equipment, photovoltaic device performance factor data, and weather factor data.
[0059] The certainty factor can characterize the prediction accuracy of the output power prediction model. The larger the certainty factor value is, the higher the prediction accuracy of the output power prediction model is.
[0060] The geographical factor data, photovoltaic device performance factor data and weather factor data of the photovoltaic power generation equipment can be collected at set time intervals, and the deterministic factor value of the output power prediction model can be obtained based on the geographical factor data, photovoltaic device performance factor data and weather factor data of the photovoltaic power generation equipment.
[0061] The current certainty factor value refers to the certainty factor value of the output power prediction model for the current set period.
[0062] Step S202: when there is at least one output power prediction model whose certainty factor value is greater than a certainty threshold, determining a target output power prediction model from a plurality of output power prediction models.
[0063] The certainty threshold σ can be set according to actual conditions.
[0064] When the certainty factor value of at least one output power prediction model is greater than the certainty threshold, it indicates that at least one output power prediction model has a high prediction accuracy. A target output power prediction model can be determined from multiple output power prediction models with high prediction accuracy to obtain an output power prediction value of the photovoltaic power generation equipment.
[0065] Step S203, obtaining an output power prediction value of the photovoltaic power generation equipment according to the geographical factor data of the photovoltaic power generation equipment, the performance factor data of the photovoltaic device, the weather factor data and the target output power prediction model.
[0066] like Figure 3As shown in Figure 1, the factors that directly affect the output power (or power generation efficiency) of photovoltaic power generation equipment are the intensity of solar radiation and the device performance of photovoltaic power generation equipment. Weather factors and geographical factors will indirectly affect the output power (or power generation efficiency) of photovoltaic power generation equipment by affecting the intensity of solar radiation.
[0067] Weather factors may include wind direction, wind speed, cloud cover, air quality, air humidity, temperature, shadow area and light intensity; geographical factors may include altitude, longitude and latitude and surface cover area; factors affecting photovoltaic device performance may include battery temperature and photovoltaic module life.
[0068] By inputting the geographical factor data, photovoltaic device performance factor data and weather factor data of the photovoltaic power generation equipment into the target output power prediction model, the output result of the target output power prediction model can be obtained, and the output result of the target output power prediction model is used as the output power prediction value of the photovoltaic power generation equipment.
[0069] Step S204, when the certainty factor values of multiple output power prediction models are all less than the certainty threshold, multiple output power prediction values are obtained according to the geographical factor data, photovoltaic device factor data, weather factor data of the photovoltaic power generation equipment and multiple output power prediction models.
[0070] Step S205, aggregating and superimposing multiple output power prediction values to obtain an output power superposition value.
[0071] Step S206: taking the output power superposition value as the output power prediction value of the photovoltaic power generation equipment.
[0072] When the certainty factor values of multiple output power prediction models are all less than the certainty threshold, it means that the prediction accuracy of the multiple output power prediction models is low. At this time, the geographical factor data, photovoltaic device factor data and weather factor data of the photovoltaic power generation equipment can be input into each output power prediction model to obtain the output power prediction value output by each output power prediction model, thereby forming multiple output power prediction values.
[0073] Aggregating and superimposing multiple output power prediction values, which can also be called weighted summation of multiple output power prediction values, can obtain an output power superposition value, and use the output power superposition value as the output power prediction value of the photovoltaic power generation equipment, thereby reducing the problem of inaccurate prediction of a single model caused by spatial and temporal differences, thereby improving the prediction accuracy of photovoltaic power generation output power.
[0074] In the above-mentioned method for predicting the output power of photovoltaic power generation equipment, a deterministic factor is used to evaluate and analyze the prediction accuracy of different output power prediction models. According to the evaluation and analysis results, the output power prediction value of the photovoltaic power generation equipment is obtained, which reduces the problem of inaccurate prediction of a single model caused by spatial and temporal differences, and improves the prediction accuracy of photovoltaic power generation output power.
[0075] In one of the embodiments, before obtaining the current deterministic factor values of each of the pre-built multiple output power prediction models, the method provided by the present application also includes: taking the data of the same geographical influencing factor in the geographical factor data at different times as geographical sub-factor data; determining geographical sub-factor training data in multiple groups of geographical sub-factor data according to the correlation factors between each group of geographical sub-factor data and photovoltaic power generation efficiency; taking the data of the same photovoltaic device performance factor in the photovoltaic device performance factor historical data at different times as photovoltaic device performance sub-factor historical data; determining photovoltaic device performance sub-factor training data in multiple groups of photovoltaic device performance sub-factor historical data according to the correlation factors between each group of photovoltaic device performance sub-factor historical data and photovoltaic power generation efficiency; taking the data of the same weather factor in the weather factor historical data at different times as weather sub-factor historical data; determining weather sub-factor training data in multiple groups of weather sub-factor historical data according to the correlation factors between each group of weather sub-factor historical data and photovoltaic power generation efficiency; performing model training based on the geographical sub-factor training data, photovoltaic device performance sub-factor training data and weather sub-factor training data to obtain multiple pre-built output power prediction models.
[0076] Exemplarily, based on the geographical factor data, a geographical influencing factor matrix Ly(t) as shown in formula (1) can be obtained, where different rows of the matrix Ly(t) represent data under different geographical influencing factors, and different columns represent data at different times under the same geographical influencing factor. Then, each row of the geographical influencing factor matrix Ly(t) corresponds to a set of geographical sub-factor data.
[0077] (1)
[0078] The correlation coefficient shown in formula (2) can be used to measure the size of the correlation factor. The larger the absolute value of the correlation factor, the greater the impact of the factor on photovoltaic power generation efficiency, and the more suitable it is as a training data set for the output power prediction model.
[0079] R = cov ( A , B ) σ A σ B = E [( A - μ A )( B - μ B )] σ A σ B (2)
[0080] In the formula, R represents the correlation factor between variables A and B; cov(A,B) represents the covariance of variables A and B; μ A represents the mean difference of the samples of variable A; μ B represents the mean difference of the B variable samples; σ A represents the standard deviation of the sample of variable A; σ B represents the standard deviation of the B variable sample; E represents the expected value.
[0081] According to formula (2), the correlation factor between each group of geographical sub-factor data and photovoltaic power generation efficiency can be obtained, as shown in formula (3). At this time, the A variable in formula (2) represents each group of geographical sub-factor data, and the B variable represents the photovoltaic power generation efficiency.
[0082] R y,i = ∑ k =0 n [( Y i ( t k ) - Y i ¯ ) * ( η ( t k ) - η ¯ )] ∑ k =0 n [( Y i ( t k ) - Y i ¯ ) 2 * ∑ k =0 n ( η ( t k ) - η ¯ ) 2 ] (3)
[0083] Where: Ry,i represents the absolute value of the correlation factor between geographical factors and photovoltaic power generation efficiency; Y i (t k ), represents the number of geographical sub-factor data (also called the number of geographical influencing factor sequences) in t k The value of the moment; i represents the average value of geographical factors; η(t k ) indicates that at t k Photovoltaic power generation efficiency at all times; It represents the average value of photovoltaic power generation efficiency during the statistical period; n represents the number of geographical sub-factor data groups collected (also known as the time series number).
[0084] The absolute value boundary ξ of the correlation factor can be set according to actual needs. For example, the geographical factor boundary value ξ1 can be set according to the absolute value of the correlation factor between each group of geographical sub-factor data and photovoltaic power generation efficiency.
[0085] According to the correlation factor of each group of geographical sub-factor data with photovoltaic power generation efficiency and the relative size of the geographical factor boundary value ξ1, the geographical sub-factor training data with a strong correlation with photovoltaic power generation efficiency can be determined among multiple groups of geographical sub-factor data. For example, when the correlation factor of a group of geographical sub-factor data with photovoltaic power generation efficiency is greater than the geographical factor boundary value ξ1, the group of geographical sub-factor data is determined as the geographical sub-factor training data.
[0086] Based on the historical data of photovoltaic device performance factors, the photovoltaic device performance factor matrix Lz(t) as shown in formula (4) can be obtained, where different rows of the matrix Lz(t) represent data under different photovoltaic device performance influencing factors, and different columns represent data at different times under the same photovoltaic device performance influencing factor. Then, each row of the photovoltaic device performance factor matrix Lz(t) corresponds to a set of photovoltaic device performance sub-factor training data.
[0087] (4)
[0088] According to formula (2), the correlation factor between each group of historical data of photovoltaic device performance sub-factors and photovoltaic power generation efficiency can be obtained, as shown in formula (5). At this time, the variable A in formula (2) represents the historical data of each group of photovoltaic device performance sub-factors, and the variable B represents the photovoltaic power generation efficiency.
[0089] R z,i = ∑ k =0 n [( Z i ( t k ) - Z i ¯ ) * ( η ( t k ) - η ¯ )] ∑ k =0 n [( Z i ( t k ) - Z i ¯ ) 2 * ∑ k =0 n ( η ( t k ) - η ¯ ) 2 ] (5)
[0090] Where: Rz,i represents the absolute value of the correlation factor between the photovoltaic device performance factor and the photovoltaic power generation efficiency; Z i (t k ), represents the historical data of each i-group photovoltaic device performance sub-factor (also known as the sequence of factors affecting the performance of each i-photovoltaic device) at t k The value of the moment; i Represents the average value of photovoltaic device performance factors; η(t k ) indicates that at t k Photovoltaic power generation efficiency at all times; It represents the average value of photovoltaic power generation efficiency during the statistical period; n represents the number of historical data groups of photovoltaic device performance sub-factors collected (also known as the number of time series).
[0091] The absolute value boundary ξ of the correlation factor can be set according to actual needs. For example, the photovoltaic device performance factor boundary value ξ2 can be set according to the absolute value of the correlation factor between each group of photovoltaic device performance sub-factor historical data and photovoltaic power generation efficiency.
[0092] According to the correlation factor of each group of photovoltaic device performance sub-factor historical data with photovoltaic power generation efficiency and the relative size of the photovoltaic device performance factor boundary value ξ2, photovoltaic device performance sub-factor training data with a strong correlation with photovoltaic power generation efficiency can be determined from multiple groups of photovoltaic device performance sub-factor historical data. For example, when the correlation factor of a group of photovoltaic device performance sub-factor historical data with photovoltaic power generation efficiency is greater than the photovoltaic device performance factor boundary value ξ2, the group of photovoltaic device performance sub-factor historical data is determined as photovoltaic device performance sub-factor training data.
[0093] Based on the historical data of weather factors, the weather factor matrix Lx(t) as shown in formula (6) can be obtained, where different rows of the matrix Lx(t) represent data under different weather factors, and different columns represent data at different times under the same weather factor. Then, each row of the weather factor matrix Lx(t) corresponds to a set of weather sub-factor training data.
[0094] (6)
[0095] According to formula (2), the correlation factor between each set of weather sub-factor historical data and photovoltaic power generation efficiency can be obtained, as shown in formula (7). At this time, the A variable in formula (2) represents each set of weather sub-factor historical data, and the B variable represents the photovoltaic power generation efficiency.
[0096] R x,i = ∑ k =0 n [( X i ( t k ) - X i ¯ ) * ( η ( t k ) - η ¯ )] ∑ k =0 n [( X i ( t k ) - X i ¯ ) 2 * ∑ k =0 n ( η ( t k ) - η ¯ ) 2 ] (7)
[0097] Where: Rx,i represents the absolute value of the correlation factor between weather factors and photovoltaic power generation efficiency; X i (tk), represents the historical data of each i-th group of weather sub-factors (also known as each i-th geographical influencing factor sequence) at t k The value of the moment; i represents the average value of weather factors; η(t k ) indicates that at t k Photovoltaic power generation efficiency at all times; It represents the average value of photovoltaic power generation efficiency during the statistical period; n represents the number of historical data groups of weather sub-factors collected (also known as the number of time series).
[0098] The absolute value boundary ξ of the correlation factor can be set according to actual needs. For example, the weather factor boundary value ξ3 can be set according to the absolute value of the correlation factor between each group of weather sub-factor historical data and photovoltaic power generation efficiency.
[0099] According to the correlation factor of each group of weather sub-factor historical data with photovoltaic power generation efficiency and the relative size of the weather factor boundary value ξ3, weather sub-factor training data with a strong correlation with photovoltaic power generation efficiency can be determined from multiple groups of weather sub-factor historical data. For example, when the correlation factor of a group of weather sub-factor historical data with photovoltaic power generation efficiency is greater than the weather factor boundary value ξ3, the group of weather sub-factor historical data is determined as weather sub-factor training data.
[0100] The matrices Ly(t), Lz(t) and Lx(t) can be of the same dimension to facilitate three-dimensional surface analysis. Insufficient matrix elements are replaced by zeros, and each element needs to be divided by the average value of all data in the row where the element is located to perform averaging processing to unify the dimension.
[0101] Real-time photovoltaic power generation data from different regions, such as meteorological data, photovoltaic power generation device characteristics and geographical information, can be collected to form regional diversified data. The three-dimensional matrix of the regional diversified data sequence can be obtained from the matrices Ly(t), Lz(t) and Lx(t), such as Figure 4 The three-dimensional matrix elements of the regional diversified data sequence and the corresponding photovoltaic power generation efficiency data can be intuitively expressed as follows: Figure 5 The three-dimensional surface shown.
[0102] Model training is performed according to the geographical sub-factor training data, the photovoltaic device performance sub-factor training data and the weather sub-factor training data. Specifically, the convolutional neural network model (CNN), the temporal convolutional network architecture model (TCN), the recurrent neural network model (RNN), the long short-term memory network model (LSTM), the gated recurrent unit network (GRU) model, the generative adversarial network model (GAN) and the bidirectional long short-term memory network model (Bi-directional Long Short-Term Memory, Bi-LSTM) can be trained to obtain multiple pre-built output power prediction models.
[0103] The geographical sub-factor training data, photovoltaic device performance sub-factor training data and weather sub-factor training data can be collectively referred to as the associated data set. The model training and verification process is as follows: Figure 6As shown, part of the associated data set is used as a training set and the other part is used as a validation set. The allocation of the two data sets can be determined according to actual engineering needs. The larger the training set, the more accurate the model prediction, but the larger the amount of data to be processed, and the higher the requirements for training equipment.
[0104] The photovoltaic power generation efficiency and photovoltaic power generation power can be converted into each other. The photovoltaic power generation output power P out for:
[0105] (8)
[0106] Where: η is the photovoltaic power generation efficiency, G is the solar intensity, and C is the photovoltaic power generation area.
[0107] The prediction results of each model can be converted into power, expressed as P CNN , P TCN , P RNN , P LSTM , P GRU , P GAN , P BiLSTM , which are indicated by marking serial numbers in the formula calculation of this application, for example, the photovoltaic predicted power of model j is P j , j=1,2,3,⋯.
[0108] In this embodiment, sub-factor data is determined in each factor data, and according to the correlation factor between each group of sub-factor data and photovoltaic power generation efficiency, sub-factor training data with a strong correlation with photovoltaic power generation efficiency is determined in multiple groups of sub-factor data, and model training is performed according to the sub-factor training data to obtain multiple pre-constructed output power prediction models. The correlation factor analysis is used to process the factors affecting the photovoltaic power generation power prediction, improve the effectiveness of the training data, and thus improve the prediction accuracy of the output power prediction model as a whole.
[0109] In one of the embodiments, the current certainty factor value of each of the pre-built multiple output power prediction models is obtained, and the specific steps are as follows: for any output power prediction model, the total number of prediction samples of any output power prediction model within a preset time period and the output power prediction value corresponding to each prediction sample are obtained; based on the output power prediction value corresponding to each prediction sample and the actual output power value, the prediction accuracy value corresponding to each prediction sample is obtained; based on the prediction accuracy value and the accuracy boundary value corresponding to each prediction sample, a high prediction accuracy sample is determined; based on the number of high prediction accuracy samples and the total number of prediction samples, the current certainty factor value of any output power prediction model is obtained.
[0110] Exemplarily, for the output power prediction model A, the total number of prediction samples of the output power prediction model A in the previous month is obtained, and it is determined whether the total number of prediction samples is greater than the total number threshold. If not, the output power prediction value corresponding to each prediction sample can be obtained; according to the output power prediction value corresponding to each prediction sample and the actual output power value, the prediction accuracy value corresponding to each prediction sample is obtained; according to the prediction accuracy value corresponding to each prediction sample and the accuracy boundary value of 85%, the high prediction accuracy sample is determined; for example, if the number of high prediction accuracy samples is 800 and the total number of prediction samples is 1000, then 800 is divided by 1000 to obtain the current certainty factor value of 0.8 of the output power prediction model A.
[0111] In this embodiment, when the total number of prediction samples is less than the total number threshold, the prediction accuracy value corresponding to each prediction sample is calculated based on the output power prediction value and the actual output power value corresponding to each prediction sample, and a more accurate current certainty factor value is obtained based on the prediction accuracy value corresponding to each prediction sample.
[0112] In one of the embodiments, the current certainty factor value of each of the pre-built multiple output power prediction models is obtained, and the specific steps are as follows: for any output power prediction model, the total number of prediction samples of any output power prediction model within a preset time period is obtained; when the total number of prediction samples is greater than the total number threshold, the preset time period is divided into multiple sub-periods, and the prediction accuracy value corresponding to the sub-period is obtained according to the average value of the output power prediction value of the prediction samples in each sub-period and the average value of the output power actual value of the prediction samples in the sub-period; according to the prediction accuracy value and the accuracy boundary value corresponding to each sub-period, it is determined as a high prediction accuracy sub-period; according to the number of high prediction accuracy sub-periods and the total number of sub-periods, the current certainty factor value of any output power prediction model is obtained.
[0113] For example, for output power prediction model A, the total number of prediction samples of output power prediction model A in the previous month is obtained, and it is determined whether the total number of prediction samples is greater than the total number threshold. When the total number of prediction samples is greater than the total number threshold, the previous month can be divided into m sub-periods, and the average value of the output power prediction value of the prediction samples in each sub-period is calculated, and the average value of the output power actual value of the prediction samples in each sub-period is calculated. According to the average value of the output power prediction value and the average value of the output power actual value, the prediction accuracy value corresponding to the sub-period is obtained, as shown in formula (9). The prediction accuracy can be measured by the root mean square error (RMSE). RMSE reflects the degree of deviation between the model prediction result and the actual situation. Its value is represented by ERMSE, and the prediction accuracy τ=100%-ERMSE.
[0114] (9)
[0115] Where: M,j Represents the actual average power (average value of actual output power value) of photovoltaic power generation equipment (photovoltaic power station) in sub-period j; P,j represents the predicted average power of the photovoltaic power generation equipment in the j-period (the average value of the output power prediction value); m represents the total number of error statistical time segments; S j It represents the sum of the rated powers of photovoltaic power generation equipment (photovoltaic power stations) turned on in sub-period j.
[0116] The accuracy boundary value can be set according to actual conditions, for example, the accuracy boundary value can be set to 90%.
[0117] When the prediction accuracy value corresponding to a sub-period is greater than the accuracy boundary value, the sub-period is determined as a high prediction accuracy sample sub-period.
[0118] According to the number of high prediction accuracy sub-periods and the total number of sub-periods, the current certainty factor value of any output power prediction model is obtained, as shown in formula (10).
[0119] (10)
[0120] Where: l M,j is the current certainty factor value of output power prediction model j, α j is the number of high prediction accuracy sub-periods of output power prediction model j, and n is the total number of sub-periods of output power prediction model j.
[0121] In this embodiment, the prediction accuracy value corresponding to each sub-period is calculated based on the output power prediction value corresponding to the prediction sample in each sub-period and the actual output power value, and a more accurate current certainty factor value is obtained based on the prediction accuracy value corresponding to each sub-period.
[0122] In one of the embodiments, when there is at least one output power prediction model whose certainty factor value is greater than a certainty threshold, a target output power prediction model is determined among multiple output power prediction models, and the specific steps are as follows: when there is at least one output power prediction model whose certainty factor value is greater than the certainty threshold, the maximum value among multiple current certainty factor values is determined as the target certainty factor value; the output power prediction model corresponding to the target certainty factor value is determined as the target output power prediction model.
[0123] The certainty factor can characterize the prediction accuracy of the output power prediction model. The larger the certainty factor value, the higher the prediction accuracy of the output power prediction model. Therefore, when there is at least one output power prediction model whose certainty factor value is greater than the certainty threshold, the maximum value of the certainty factor value can be determined as the target certainty factor value; the output power prediction model corresponding to the target certainty factor value is determined as the target output power prediction model.
[0124] The output power prediction value of the target output power prediction model can be called the optimal value P best , which can be expressed as:
[0125] (11)
[0126] Where, t=t|max{l M,1 , l M,2 ,⋯,l M,k-1 , l M,k} represents the model number corresponding to the maximum value of the certainty factor, and k is the total number of output power prediction models.
[0127] In this embodiment, the output power prediction model corresponding to the maximum value of the certainty factor value is determined as the target output power prediction model, and an output power prediction model with higher prediction accuracy is obtained, thereby improving the prediction accuracy of photovoltaic power generation output power.
[0128] In one of the embodiments, multiple output power prediction values are aggregated and superimposed to obtain an output power superposition value, and the specific steps are as follows: obtaining an aggregation factor of each of the multiple output power prediction models; and performing weighted summation of the multiple output power prediction values according to the aggregation factors of each of the multiple output power prediction models to obtain an output power superposition value.
[0129] The aggregation factors of the multiple output power prediction models can be obtained. According to the aggregation factors of the multiple output power prediction models, the multiple output power prediction values are weighted and summed to obtain the output power superposition value, as shown in formula (12). Figure 7 shown.
[0130] (12)
[0131] Where k is the total number of output power prediction models, P h is the output power superposition value, ω j is the aggregation factor of the jth output power prediction model, P j is the output power prediction value of the j-th output power prediction model.
[0132] In this embodiment, a weighted sum is performed on a plurality of output power prediction values according to respective aggregation factors of a plurality of output power prediction models to obtain an output power superposition value with higher prediction accuracy.
[0133] In one of the embodiments, before obtaining the aggregation factors of each of the multiple output power prediction models, the method provided in the present application also includes: for any output power prediction model, obtaining the root mean square error and the root mean square error average value based on the output power prediction value corresponding to each prediction sample of any output power prediction model and the output power actual value; obtaining the variance of any output power prediction model based on the root mean square error and the root mean square error average value; and obtaining the aggregation factor of any output power prediction model based on the variance.
[0134] For any output power prediction model, the root mean square error corresponding to each prediction sample of any output power prediction model can be obtained based on the output power prediction value and the actual output power value corresponding to each prediction sample of the output power prediction model, and the average root mean square error corresponding to the output power prediction model can be obtained based on the root mean square error corresponding to each prediction sample.
[0135] According to the root mean square error and the average value of the root mean square error, the variance of any output power prediction model is obtained, as shown in formula (13).
[0136] (13)
[0137] Where: βj represents the variance corresponding to model j, Eij represents the root mean square error of model j in the i-th prediction sample; j represents the average root mean square error of model j, and n represents the total number of prediction samples.
[0138] According to the variance, the aggregation factor of any output power prediction model is obtained, as shown in formula (14).
[0139] (14)
[0140] Where: represents the aggregation factor corresponding to model j, βj represents the variance corresponding to model j, and k is the total number of output power prediction models.
[0141] In this embodiment, based on the output power prediction value corresponding to each prediction sample of any output power prediction model and the output power actual value, a high-accuracy aggregation factor of any output power prediction model is obtained through calculation and processing.
[0142] In order to better understand the above method, an application example of the method for predicting the output power of a photovoltaic power generation device of the present application is described in detail below. Figure 8 shown.
[0143] Meteorological data, photovoltaic power generation device characteristics and geographic information of different regions can be collected to obtain geographic factor data of photovoltaic power generation equipment, photovoltaic device performance factor data and weather factor data to form an original multivariate data set.
[0144] The original multivariate data set is screened, and the data of the same geographical influencing factor at different times in the geographical factor data are taken as geographical sub-factor data; according to the correlation factors between each group of geographical sub-factor data and photovoltaic power generation efficiency, the geographical sub-factor training data are determined in multiple groups of geographical sub-factor data; the data of the same photovoltaic device performance factor at different times in the photovoltaic device performance factor historical data are taken as photovoltaic device performance sub-factor historical data; according to the correlation factors between each group of photovoltaic device performance sub-factor historical data and photovoltaic power generation efficiency, the photovoltaic device performance sub-factor training data are determined in multiple groups of photovoltaic device performance sub-factor historical data; the data of the same weather factor at different times in the weather factor historical data are taken as weather sub-factor historical data; according to the correlation factors between each group of weather sub-factor historical data and photovoltaic power generation efficiency, the weather sub-factor training data are determined in multiple groups of weather sub-factor historical data.
[0145] Model training and verification are performed based on geographical sub-factor training data, photovoltaic device performance sub-factor training data, and weather sub-factor training data to obtain multiple pre-built output power prediction models.
[0146] For any output power prediction model, the total number of prediction samples of any output power prediction model within a preset time period and the output power prediction value corresponding to each prediction sample are obtained; the prediction accuracy value corresponding to each prediction sample is obtained based on the output power prediction value corresponding to each prediction sample and the actual output power value; high prediction accuracy samples are determined based on the prediction accuracy value and accuracy boundary value corresponding to each prediction sample; the current certainty factor value of any output power prediction model is obtained based on the number of high prediction accuracy samples and the total number of prediction samples.
[0147] When there is at least one output power prediction model whose certainty factor value is greater than the certainty threshold, the maximum value among the multiple current certainty factor values is determined as the target certainty factor value; the output power prediction model corresponding to the target certainty factor value is determined as the target output power prediction model. Based on the geographical factor data of the photovoltaic power generation equipment, the photovoltaic device performance factor data, the weather factor data and the target output power prediction model, the output power prediction value of the photovoltaic power generation equipment is obtained, which can also be called the optimal value.
[0148] When the certainty factor values of multiple output power prediction models are all less than the certainty threshold, multiple output power prediction values are obtained according to the geographical factor data, photovoltaic device factor data, weather factor data and multiple output power prediction models of the photovoltaic power generation equipment. For any output power prediction model, the root mean square error and the root mean square error average value are obtained according to the output power prediction value corresponding to each prediction sample of any output power prediction model and the actual output power value; the variance of any output power prediction model is obtained according to the root mean square error and the root mean square error average value; the aggregation factor of any output power prediction model is obtained according to the variance. According to the respective aggregation factors of multiple output power prediction models, the multiple output power prediction values are weighted and summed to obtain the output power superposition value, which can also be called the model aggregation superposition value. The output power superposition value is used as the output power prediction value of the photovoltaic power generation equipment.
[0149] In the above-mentioned method for predicting the output power of photovoltaic power generation equipment, a deterministic factor is used to evaluate and analyze the prediction accuracy of different output power prediction models. According to the evaluation and analysis results, the output power prediction value of the photovoltaic power generation equipment is obtained, which reduces the problem of inaccurate prediction of a single model caused by spatial and temporal differences, and improves the prediction accuracy of photovoltaic power generation output power.
[0150] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0151] Based on the same inventive concept, the embodiment of the present application also provides a photovoltaic power generation equipment output power prediction device for implementing the photovoltaic power generation equipment output power prediction method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more photovoltaic power generation equipment output power prediction devices provided below can refer to the limitations of the photovoltaic power generation equipment output power prediction method above, and will not be repeated here.
[0152] In an exemplary embodiment, Fig. 9 As shown, a device for predicting the output power of a photovoltaic power generation device is provided, wherein:
[0153] The certainty factor value determination module 901 is used to obtain the current certainty factor value of each of the plurality of pre-built output power prediction models;
[0154] A target model acquisition module 902 is configured to determine a target output power prediction model from the multiple output power prediction models when there is at least one output power prediction model whose certainty factor is greater than a certainty threshold;
[0155] The prediction value acquisition module 903 is used to obtain the output power prediction value of the photovoltaic power generation equipment according to the geographical factor data of the photovoltaic power generation equipment, the performance factor data of the photovoltaic device, the weather factor data and the target output power prediction model;
[0156] The prediction value acquisition module 903 is also used to obtain multiple output power prediction values according to the geographical factor data, photovoltaic device factor data, weather factor data and the multiple output power prediction models of the photovoltaic power generation equipment when the certainty factor values of the multiple output power prediction models are all less than the certainty threshold; aggregate and superimpose the multiple output power prediction values to obtain an output power superposition value; and use the output power superposition value as the output power prediction value of the photovoltaic power generation equipment.
[0157] In one of the embodiments, the device also includes a model acquisition module, which is used to: use the data of the same geographical influencing factor in the geographical factor data at different times as geographical sub-factor data; determine geographical sub-factor training data in multiple groups of geographical sub-factor data according to the correlation factors between each group of geographical sub-factor data and photovoltaic power generation efficiency; use the data of the same photovoltaic device performance factor in the photovoltaic device performance factor historical data at different times as photovoltaic device performance sub-factor historical data; determine photovoltaic device performance sub-factor training data in multiple groups of photovoltaic device performance sub-factor historical data according to the correlation factors between each group of photovoltaic device performance sub-factor historical data and photovoltaic power generation efficiency; use the data of the same weather factor in the weather factor historical data at different times as weather sub-factor historical data; determine weather sub-factor training data in multiple groups of weather sub-factor historical data according to the correlation factors between each group of weather sub-factor historical data and photovoltaic power generation efficiency; perform model training based on the geographical sub-factor training data, the photovoltaic device performance sub-factor training data and the weather sub-factor training data to obtain multiple pre-constructed output power prediction models.
[0158] In one of the embodiments, the certainty factor value determination module 901 is also used to: for any output power prediction model, obtain the total number of prediction samples of any output power prediction model within a preset time period and the output power prediction value corresponding to each prediction sample; obtain the prediction accuracy value corresponding to each prediction sample based on the output power prediction value corresponding to each prediction sample and the actual output power value; determine a high prediction accuracy sample based on the prediction accuracy value and the accuracy boundary value corresponding to each prediction sample; and obtain the current certainty factor value of any output power prediction model based on the number of high prediction accuracy samples and the total number of prediction samples.
[0159] In one of the embodiments, the target model acquisition module 902 is also used to: when there is at least one output power prediction model whose certainty factor value is greater than the certainty threshold, determine the maximum value of the multiple current certainty factor values as the target certainty factor value; determine the output power prediction model corresponding to the target certainty factor value as the target output power prediction model.
[0160] In one of the embodiments, the prediction value acquisition module 903 is further used to: obtain the aggregation factor of each of the multiple output power prediction models; and perform weighted summation on the multiple output power prediction values according to the aggregation factor of each of the multiple output power prediction models to obtain an output power superposition value.
[0161] In one of the embodiments, the device also includes an aggregation factor acquisition module, which is used to: for any output power prediction model, obtain the root mean square error and the root mean square error average value based on the output power prediction value corresponding to each prediction sample of any output power prediction model and the output power actual value; obtain the variance of any output power prediction model based on the root mean square error and the root mean square error average value; obtain the aggregation factor of any output power prediction model based on the variance.
[0162] Each module in the above-mentioned photovoltaic power generation equipment output power prediction device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0163] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data related to the embodiment of the present application, such as the current certainty factor value. Data of a method for predicting the output power of a photovoltaic power generation device. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for predicting the output power of a photovoltaic power generation device is implemented.
[0164] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0165] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0166] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0167] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0168] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0169] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0170] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0171] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for predicting the output power of a photovoltaic power generation device, characterized in that: The method comprises: Obtaining current certainty factor values of respective pre-built multiple output power prediction models; When there is at least one output power prediction model whose certainty factor value is greater than the certainty threshold, determining a target output power prediction model from the multiple output power prediction models; According to the geographical factor data of the photovoltaic power generation equipment, the performance factor data of the photovoltaic device, the weather factor data and the target output power prediction model, the output power prediction value of the photovoltaic power generation equipment is obtained; When the certainty factor values of the multiple output power prediction models are all less than the certainty threshold, obtaining multiple output power prediction values according to the geographical factor data, photovoltaic device factor data, weather factor data of the photovoltaic power generation equipment and the multiple output power prediction models; Aggregating and superimposing the multiple output power prediction values to obtain an output power superposition value; The output power superposition value is used as the output power prediction value of the photovoltaic power generation equipment.
2. The method according to claim 1, characterized in that Before obtaining the current certainty factor value of each of the plurality of pre-built output power prediction models, the method further includes: The data of the same geographical influencing factor at different times in the geographical factor data are taken as geographical sub-factor data; According to the correlation factor between each group of geographical sub-factor data and photovoltaic power generation efficiency, geographical sub-factor training data is determined from multiple groups of geographical sub-factor data; The data of the same photovoltaic device performance factor at different times in the photovoltaic device performance factor historical data are used as photovoltaic device performance sub-factor historical data; Determining photovoltaic device performance sub-factor training data from multiple groups of photovoltaic device performance sub-factor historical data according to the correlation factor between each group of photovoltaic device performance sub-factor historical data and photovoltaic power generation efficiency; The data of the same weather factor at different times in the weather factor historical data are used as the weather sub-factor historical data; Determine weather sub-factor training data from multiple sets of weather sub-factor historical data according to the correlation factor between each set of weather sub-factor historical data and photovoltaic power generation efficiency; Model training is performed based on the geographic sub-factor training data, the photovoltaic device performance sub-factor training data, and the weather sub-factor training data to obtain a plurality of pre-constructed output power prediction models.
3. The method according to claim 1, characterized in that The obtaining of the current certainty factor value of each of the plurality of pre-built output power prediction models comprises: For any output power prediction model, obtaining the total number of prediction samples of any output power prediction model within a preset time period and the output power prediction value corresponding to each prediction sample; According to the output power prediction value corresponding to each prediction sample and the output power actual value, the prediction accuracy value corresponding to each prediction sample is obtained; According to the prediction accuracy value and accuracy boundary value corresponding to each prediction sample, a high prediction accuracy sample is determined; According to the number of high prediction accuracy samples and the total number of prediction samples, the current certainty factor value of any output power prediction model is obtained.
4. The method according to claim 1, characterized in that: When there is at least one output power prediction model whose certainty factor value is greater than a certainty threshold, determining a target output power prediction model from the multiple output power prediction models comprises: When there is at least one output power prediction model whose certainty factor value is greater than the certainty threshold, determining the maximum value among the multiple current certainty factor values as the target certainty factor value; The output power prediction model corresponding to the target certainty factor value is determined as the target output power prediction model.
5. The method according to claim 1, characterized in that The aggregating and superimposing the multiple output power prediction values to obtain an output power superposition value includes: Obtaining an aggregation factor of each of the multiple output power prediction models; According to the aggregation factors of the multiple output power prediction models, the multiple output power prediction values are weighted and summed to obtain an output power superposition value.
6. The method according to claim 5, characterized in that Before obtaining the aggregation factors of the respective output power prediction models, the method further includes: For any output power prediction model, according to the output power prediction value corresponding to each prediction sample of any output power prediction model and the actual output power value, a root mean square error and an average value of the root mean square error are obtained; Obtaining the variance of any output power prediction model according to the root mean square error and the root mean square error average; According to the variance, an aggregation factor of any output power prediction model is obtained.
7. A device for predicting output power of photovoltaic power generation equipment, characterized in that: The device comprises: A certainty factor value determination module, used to obtain the current certainty factor value of each of the plurality of pre-built output power prediction models; A target model acquisition module, configured to determine a target output power prediction model from among the multiple output power prediction models when there is at least one output power prediction model whose certainty factor is greater than a certainty threshold; A prediction value acquisition module is used to obtain the output power prediction value of the photovoltaic power generation equipment according to the geographical factor data of the photovoltaic power generation equipment, the performance factor data of the photovoltaic device, the weather factor data and the target output power prediction model; The prediction value acquisition module is also used to obtain multiple output power prediction values according to the geographical factor data, photovoltaic device factor data, weather factor data and the multiple output power prediction models of the photovoltaic power generation equipment when the certainty factor values of the multiple output power prediction models are all less than the certainty threshold; aggregate and superimpose the multiple output power prediction values to obtain an output power superposition value; and use the output power superposition value as the output power prediction value of the photovoltaic power generation equipment.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Curved surface photovoltaic power prediction method and system
CN119864796A
