Method and system for predicting non-parametric probability of new energy in whole province by coupling spatial clustering

By using an improved K-MEANS clustering and meteorological factor screening method, combined with temporal convolutional neural networks and quantile regression, a province-wide new energy probability prediction model was constructed. This model solved the problems of clustering of regional new energy power plants and the spatiotemporal correlation of meteorological factors, and achieved efficient probability prediction.

CN118889368APending Publication Date: 2024-11-01GUIZHOU POWER GRID CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410829407.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The questions raised include: how to cluster new energy power plants across the province; how to construct key input features for a province-wide probabilistic prediction model; and how to consider the spatiotemporal correlation of meteorological factors and capture the complex nonlinear relationship between new energy probability distribution information and meteorological factors in the province-wide probabilistic prediction model.

Method used

We constructed wind and solar power clusters based on meteorological similarity zones using the K-MEANS clustering method improved by genetic algorithm. We used Spearman correlation coefficient and maximum information coefficient to screen out the most relevant meteorological factors. We then combined temporal convolutional neural network, quantile regression and kernel density estimation to build a new energy quantile data-driven prediction model.

Benefits of technology

It improves the accuracy and efficiency of probability prediction for new energy power generation, reduces the complexity of model training, and provides more comprehensive uncertainty information support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118889368A_ABST
    Figure CN118889368A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of new energy prediction, in particular to a whole province new energy nonparametric probability prediction method and system coupled with spatial clustering. The problems of many station objects, high feature variable dimensionality, regional meteorological factor influence and the like of the whole province regional new energy power generation probability prediction problem are solved; firstly, historical meteorological factors of each station are used as input data, an improved clustering method is utilized to construct wind power and photovoltaic clusters based on meteorological similar region division, then meteorological information of each cluster is weighted and aggregated into available meteorological factors of a provincial region prediction model, and on this basis, the prediction accuracy is improved. A meteorological factor most relevant to new energy output is screened out through Spearman and the maximum information coefficient and serves as a final input factor of the model, so that the model training efficiency is improved; and finally, constructing a nonparametric probability prediction model based on time convolutional neural network-quantile regression-kernel density estimation. Wind power and photovoltaic total output probability prediction in a certain province area in southwest is taken as an application example, and the effectiveness of the method is verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of new energy prediction, and in particular to a method and system for non-parametric probability prediction of new energy for the whole province by coupling spatial clustering. Background Art

[0002] With the deepening of my country's green and low-carbon transformation of energy and electricity, the random volatility of wind and solar power generation has brought severe challenges to the operation and dispatch of new power systems. Accurate prediction of new energy power can provide key information support for safe and economic operation, and is an important prerequisite for ensuring the efficient consumption of new energy. However, the continued rapid increase in new energy grid-connected installed capacity and the increase in uncertain factors such as environmental and climate change have led to increasing challenges in the prediction error of new energy power generation, and the applicability of traditional deterministic prediction methods based on the expected value of new energy power has been reduced. In contrast, the probabilistic prediction method based on the probability distribution information of new energy as the prediction result can provide decision makers with more comprehensive uncertainty information and can be better applied to the dispatch and operation of new power systems and market transactions. At present, with the in-depth advancement of the construction of new power systems and spot market reforms, the provincial power grid dispatching center urgently needs to grasp the uncertainty information of renewable energy power generation in the province to provide boundary conditions for the formulation of power generation plans, backup configuration, spot trading, etc. of conventional power stations. However, under the influence of many meteorological factors, there are still many problems in realizing the probability prediction of renewable energy in the province: 1. How to cluster the renewable energy power stations in the province; 2. How to construct the key input features of the provincial regional probability prediction model; 3. How to consider the spatiotemporal correlation of meteorological factors in the provincial regional probability prediction model and capture the complex nonlinear relationship between the probability distribution information of renewable energy and meteorological factors.

[0003] To this end, the present invention conducts research on the non-parametric probability prediction of new energy in the whole province. 70 wind power plants and 108 photovoltaic plants in a southwestern province are used as application examples. The results show that the results of the present invention can accurately and effectively predict the probability of new energy generation. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention is proposed.

[0005] Therefore, the problems to be solved by the present invention are: 1. How to cluster the new energy power stations in the whole province, 2. How to construct the key input features of the provincial regional probability prediction model, 3. How to consider the spatiotemporal correlation of meteorological factors in the provincial regional probability prediction model and capture the complex nonlinear relationship between the new energy probability distribution information and meteorological factors.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In a first aspect, an embodiment of the present invention provides a non-parametric probability prediction method for new energy in the province coupled with spatial clustering, which includes obtaining calculation data of new energy sites in the province, wherein the calculation data includes hourly new energy output power throughout the year, hourly meteorological data throughout the year, and a meteorological factor table of the province;

[0008] The obtained calculation data is used as input conditions, and cluster analysis is performed on the meteorological information of the whole province using clustering methods; and electric clusters and photovoltaic clusters based on the division of meteorological similarity zones are constructed;

[0009] Weighted calculation of meteorological information of each cluster power station, output of meteorological factors;

[0010] The temporal convolutional neural network and quantile regression are integrated to build a new energy quantile data-driven prediction model;

[0011] The output meteorological factors are used as inputs to the new energy quantile data-driven forecasting model, and the probabilistic forecasting results are analyzed.

[0012] As a preferred solution of the non-parametric probability prediction method for new energy in the province by coupling spatial clustering described in the present invention, the obtained calculation data is used as input conditions, and 15 meteorological factors of wind speed, temperature, and air pressure of new energy sites in the province are used as input conditions. The K-MEANS clustering method improved by genetic algorithm is adopted to cluster the meteorological information of each wind power and photovoltaic site in the province, respectively, and construct wind power clusters and photovoltaic clusters based on meteorological similarity zones. The K-MEANS clustering method improved by genetic algorithm adopts the following formula:

[0013]

[0014] J=ICD / ICS

[0015]

[0016] Among them, λ j is the weight of the jth data value; X is the data object; C k is the kth cluster center; n is the dimension of the data object; x j and c kj X and C respectively k The jth attribute value of ; J is the fitness function of GA; ICD is the distance between classes; ICS is the average distance within a class; M k The number of objects contained in the kth cluster; X kj is the jth data object of the kth cluster class.

[0017] As a preferred solution of the non-parametric probability prediction method for the province-wide new energy by coupling spatial clustering described in the present invention, the meteorological information of each cluster power station is calculated, the meteorological factors are output, and the meteorological information of each cluster power station is weighted to represent the meteorological factors of wind power and photovoltaic power in the province. At the same time, the Spearman correlation coefficient and the maximum information coefficient are used to screen out the meteorological factors most relevant to the output of new energy. The following formula is used:

[0018]

[0019] Where SCC represents the Spearman correlation coefficient; MIC represents the maximum information coefficient; X = {x1, x2, ..., x N} and Y={y1,y2,...,y N} Each element x in the sequence n and n The sorting position or rank is denoted by R(x n ) and R(y n ); X represents a certain characteristic variable; Y represents the variable to be observed; a, b are the number of grids divided in the X and Y directions during discretization, which is a grid distribution; B is an empirical value, whose size is about 0.6 power of the data volume; I(X; Y) is the mutual information coefficient p(X, Y) is the joint probability of the variables.

[0020] As an optimal solution for the province-wide non-parametric probability prediction method of coupled spatial clustering of the present invention, the time convolutional neural network and quantile regression are integrated to construct a new energy quantile data-driven prediction model, and the new energy quantile data-driven prediction model outputs the new energy output quantile prediction results at different quantile levels in each time period.

[0021] As a preferred solution of the province-wide new energy non-parametric probability prediction method of coupled spatial clustering described in the present invention, the quantile regression fusion adopts the following formula:

[0022] CDF_Y -1 (β)=inf{y|CDF_Y(y)>β}

[0023]

[0024] Among them, CDF_Y(·) is the function of the cumulative probability (CDF) of the random variable Y, CDF_Y -1 (β) is the beta quantile of the random variable Y, and β is the nominal quantile level of the quantile; is the quantile regression model corresponding to the nominal quantile level β, and the expression form can be set freely, ξ β is the model parameter, (x s ,y s) is a data sample; s is a data sample index, S is an index set; ρ β (·) is the pinball loss function.

[0025] As a preferred solution of the non-parametric probability prediction method for new energy in the province by coupling spatial clustering described in the present invention, the quantile prediction results of each time period obtained by the kernel density estimation method are converted into corresponding probability density curves as the final prediction results, and the expression is as follows:

[0026]

[0027] in, is the probability density of the output at time t; n is the number of quantiles; K(·) is the kernel function, and the present invention adopts the Gaussian kernel function.

[0028] As a preferred solution of the province-wide non-parametric probability prediction method of coupled spatial clustering described in the present invention, the output meteorological factor is used as the input of the new energy quantile data-driven prediction model, and the new energy output quantile prediction result output by the new energy quantile data-driven prediction model is analyzed;

[0029] The obtained new energy output quantile prediction results are used as the input of the kernel density estimation method to obtain the probability density curve, which is used as the final probability prediction result;

[0030] The time convolutional neural network, quantile regression and kernel density estimation methods are comprehensively considered, among which TCN is used to represent the time convolutional neural network; QR is used to represent the quantile regression; KDE is used to represent the kernel density estimation method; and a non-parametric probability prediction model for new energy in the whole province is constructed, referred to as the TCN-QR-KDE model;

[0031] In order to compare the advantages of the proposed TCN-QR-KDE model, two comparative models are established:

[0032] Comparison model 1: The temporal convolutional neural network in the above method flow is replaced by a convolutional neural network, and CNN is used to represent the convolutional neural network. Other links remain unchanged, and the CNN-QR-KDE model is established;

[0033] Comparison model 2: The temporal convolutional neural network in the above method flow is replaced by a long short-term memory network, and LSTM is used to represent the long short-term memory network. Other links remain unchanged, and the LSTM-QR-KDE model is established;

[0034] The TCN-QR-KDE model proposed in the present invention is compared with the CNN-QR-KDE model and the LSTM-QR-KDE model using the continuous grade probability score, which adopts the following formula:

[0035]

[0036] Where CRPS represents the continuous grade probability score; For the predicted value The cumulative distribution function of is the Heaviside function.

[0037] In a second aspect, an embodiment of the present invention provides a province-wide new energy non-parametric probability prediction system coupled with spatial clustering, which includes:

[0038] An acquisition module is used to acquire the calculation data of the province's new energy sites, wherein the calculation data includes the province's hourly new energy output power throughout the year, hourly meteorological data throughout the year, and a meteorological factor table;

[0039] The input module uses the obtained calculation data as input conditions and uses clustering methods to perform cluster analysis on the meteorological information of the whole province; and constructs power clusters and photovoltaic clusters based on the division of meteorological similarity zones;

[0040] The output module calculates the meteorological information of each cluster power station by weight and outputs the meteorological factors;

[0041] Building a module that integrates temporal convolutional neural network and quantile regression to construct a new energy quantile data-driven prediction model;

[0042] The prediction module uses the output meteorological factors as the input of the new energy quantile data-driven prediction model and analyzes the probability prediction results.

[0043] In a third aspect, an embodiment of the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program instructions are executed by the processor, the steps of the province-wide non-parametric probability prediction method of new energy based on coupled spatial clustering as described in the first aspect of the present invention are implemented.

[0044] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program instructions are executed by a processor, the steps of the province-wide non-parametric probability prediction method of new energy based on coupled spatial clustering as described in the first aspect of the present invention are implemented.

[0045] The beneficial effects of the present invention are as follows: the present invention solves the difficulties faced by the problem of probability prediction of renewable energy power generation in the whole province, such as the large number of station objects, high dimension of characteristic variables, and the influence of regional meteorological factors; firstly, the historical meteorological factors of each station are used as input data, and the improved clustering method is used to construct wind power and photovoltaic clusters based on meteorological similarity zones, and then the meteorological information of each cluster is weighted and aggregated into available meteorological factors for the provincial regional prediction model. Based on this, the Spearman and maximum information coefficients are used to screen out the meteorological factors most relevant to the output of renewable energy as the final input factors of the model to improve the model training efficiency; finally, a non-parametric probability prediction model based on time convolutional neural network-quantile regression-kernel density estimation is constructed; the probability prediction of total wind power and photovoltaic output in a southwestern province is used as an application example to verify the effectiveness of the proposed method. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0047] Figure 1 The flowchart of the non-parametric probability prediction method of new energy in the whole province coupled with spatial clustering;

[0048] Figure 2 Computer equipment diagram for the province-wide nonparametric probability forecasting method for new energy sources coupled with spatial clustering;

[0049] Figure 3 The K-Means clustering method based on GA improvement is a non-parametric probability prediction method for new energy in the whole province coupled with spatial clustering;

[0050] Figure 4 This is the wind power cluster division result diagram of the province-wide new energy non-parametric probability prediction method coupled with spatial clustering;

[0051] Figure 5 This is the photovoltaic cluster division result diagram of the province-wide new energy non-parametric probabilistic prediction method coupled with spatial clustering. DETAILED DESCRIPTION

[0052] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0053] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0054] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.

[0055] Example 1

[0056] Reference Figure 1-2 , which is the first embodiment of the present invention, and provides a non-parametric probability prediction method for new energy in the province coupled with spatial clustering, including:

[0057] S100: Obtain calculation data of new energy sites throughout the province, including hourly new energy output power throughout the year, hourly meteorological data throughout the year, and a meteorological factor table.

[0058] S200: using the obtained calculation data as input conditions, clustering analysis is performed on the meteorological information of the whole province by using a clustering method; and electric clusters and photovoltaic clusters are constructed based on the division of meteorological similarity zones;

[0059] S201: Taking the obtained calculation data as input conditions, and taking 15 meteorological factors of wind speed, temperature, and air pressure of new energy sites in the province as input conditions, the K-MEANS clustering method improved by genetic algorithm is used to cluster the meteorological information of each wind power and photovoltaic site in the province, and to construct wind power clusters and photovoltaic clusters based on meteorological similarity zones. The K-MEANS clustering method improved by genetic algorithm adopts the following formula:

[0060]

[0061] J=ICD / ICS

[0062]

[0063] Among them, λ j is the weight of the jth data value; X is the data object; C k is the kth cluster center; n is the dimension of the data object; x j and c kj X and C respectively k The jth attribute value of ; J is the fitness function of GA; ICD is the distance between classes; ICS is the average distance within a class; Mk The number of objects contained in the kth cluster; X kj is the jth data object of the kth cluster class.

[0064] S300: weighted calculation of meteorological information of each cluster power station, and output of meteorological factors;

[0065] S301: settle the meteorological information of each cluster power station, output the meteorological factors, and weightedly calculate the meteorological information of each cluster power station to represent the meteorological factors of wind power and photovoltaic power in the whole province. At the same time, use the Spearman correlation coefficient and the maximum information coefficient to screen out the meteorological factors most relevant to the output of new energy. In order to eliminate redundant meteorological information and improve the efficiency of model training, the meteorological input factors most relevant to the output of new energy are screened out based on the Spearman correlation coefficient and the maximum information coefficient as the final input factors of the prediction model. The Spearman correlation coefficient is essentially a statistic of ordered variables, and the maximum information coefficient is a new method to detect nonlinear correlation between variables. First, find an optimal discretization method, and then convert the mutual information value into a measurement method. Its value range is [0,1]. The higher the value, the stronger the correlation. It uses the following formula:

[0066]

[0067] Where SCC represents the Spearman correlation coefficient; MIC represents the maximum information coefficient; X = {x1, x2, ..., x N} and Y={y1,y2,...,y N} Each element x in the sequence n and n The sorting position or rank is denoted by R(x n ) and R(y n ); X represents a certain characteristic variable; Y represents the variable to be observed; a, b are the number of grids divided in the X and Y directions during discretization, which is a grid distribution; B is an empirical value, whose size is about 0.6 power of the data volume; I(X; Y) is the mutual information coefficient p(X, Y) is the joint probability of the variables.

[0068] S400: Fusion of temporal convolutional neural network and quantile regression to build a new energy quantile data-driven prediction model;

[0069] S401: The time convolutional neural network and quantile regression are integrated to construct a new energy quantile data-driven prediction model. The new energy quantile data-driven prediction model outputs the new energy output quantile prediction results at different quantile levels in each time period.

[0070] S402: Quantile regression fusion uses the following formula:

[0071] CDF_Y-1 (β)=inf{y|CDF_Y(y)>β}

[0072]

[0073] Among them, CDF_Y(·) is the function of the cumulative probability (CDF) of the random variable Y, CDF_Y -1 (β) is the beta quantile of the random variable Y, and β is the nominal quantile level of the quantile; is the quantile regression model corresponding to the nominal quantile level β, and the expression form can be set freely, ξ β is the model parameter, (x s ,y s ) is a data sample; s is a data sample index, S is an index set; ρ β (·) is the pinball loss function.

[0074] S403: The obtained quantile prediction results of each time period are converted into corresponding probability density curves by kernel density estimation method as the final prediction results, which are expressed as follows:

[0075]

[0076] in, is the probability density of the output at time t; n is the number of quantiles; K(·) is the kernel function, and the present invention adopts the Gaussian kernel function.

[0077] S500: The output is the meteorological factor as the input of the new energy quantile data-driven prediction model, and the probability prediction results are analyzed.

[0078] The output meteorological factors are used as the input of the new energy quantile data-driven prediction model, and the new energy output quantile prediction results output by the new energy quantile data-driven prediction model are analyzed;

[0079] The obtained new energy output quantile prediction results are used as the input of the kernel density estimation method to obtain the probability density curve, which is used as the final probability prediction result;

[0080] The temporal convolutional neural network, quantile regression and kernel density estimation methods are comprehensively considered. TCN (Temporal Convolutional Network) is used to represent the temporal convolutional neural network; QR (Quantile Regression) is used to represent the quantile regression; KDE (Kernel Density Estimation) is used to represent the kernel density estimation method; and a non-parametric probability prediction model for new energy in the whole province is constructed, referred to as the TCN-QR-KDE model;

[0081] In order to compare the advantages of the proposed TCN-QR-KDE model, two comparative models are established:

[0082] Comparison model 1: The temporal convolutional neural network in the above method flow is replaced by a convolutional neural network, and CNN (convolutional neural networks) is used to represent the convolutional neural network. Other links remain unchanged, and the CNN-QR-KDE model is established;

[0083] Comparison model 2: Replace the temporal convolutional neural network in the above method flow with a long short-term memory network, use LSTM (Long Short-Term Memory) to represent the long short-term memory network, keep other links unchanged, and establish an LSTM-QR-KDE model;

[0084] The TCN-QR-KDE model proposed in the present invention is compared with the CNN-QR-KDE model and the LSTM-QR-KDE model using the continuous grade probability score, which adopts the following formula:

[0085]

[0086] Where CRPS represents the continuous grade probability score; For the predicted value The cumulative distribution function of is the Heaviside function.

[0087] Furthermore, this embodiment also provides a province-wide new energy non-parametric probability prediction system coupled with spatial clustering, including:

[0088] The acquisition module obtains the calculation data of the province's new energy sites, including the province's hourly new energy output power throughout the year, hourly meteorological data throughout the year, and meteorological factor table;

[0089] The input module uses the obtained calculation data as input conditions and uses clustering methods to perform cluster analysis on the meteorological information of the whole province; and constructs power clusters and photovoltaic clusters based on the division of meteorological similarity zones;

[0090] The output module calculates the meteorological information of each cluster power station by weight and outputs the meteorological factors;

[0091] Building a module that integrates temporal convolutional neural network and quantile regression to construct a new energy quantile data-driven prediction model;

[0092] The prediction module uses the output meteorological factors as the input of the new energy quantile data-driven prediction model and analyzes the probability prediction results.

[0093] This embodiment also provides a computer device, which is suitable for the case of a non-parametric probability prediction method for new energy in the whole province based on coupled spatial clustering, including a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the non-parametric probability prediction method for new energy in the whole province based on coupled spatial clustering as proposed in the above embodiment.

[0094] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0095] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for non-parametric probability prediction of new energy for the entire province by implementing coupled spatial clustering as proposed in the above embodiment is implemented.

[0096] In summary, this solution solves the difficulties of regional renewable energy power generation probability prediction in the province, such as the large number of station objects, high dimension of characteristic variables, and the influence of regional meteorological factors. First, the historical meteorological factors of each station are used as input data, and the improved clustering method is used to construct wind power and photovoltaic clusters based on meteorological similarity zones. Then, the meteorological information of each cluster is weighted and aggregated into available meteorological factors for the provincial regional prediction model. Based on this, the Spearman and maximum information coefficients are used to screen out the meteorological factors most relevant to the output of renewable energy as the final input factors of the model to improve the efficiency of model training. Finally, a non-parametric probability prediction model based on time convolutional neural network-quantile regression-kernel density estimation is constructed. The probability prediction of total wind power and photovoltaic output in a southwestern province is used as an application example to verify the effectiveness of the proposed method.

[0097] Example 2

[0098] Reference Figure 1 - Figure 5, which is the second embodiment of the present invention, provides a non-parametric probability prediction method for new energy in the whole province based on coupled spatial clustering. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0099] The present invention is now tested by taking a regional wind power and photovoltaic power station in a southwestern province as an example.

[0100] Step (1): Obtain the data required for calculation

[0101] The data sample includes the province's 1h step-length new energy output power throughout 2021. Limited by the availability of meteorological data, the 1h step-length meteorological data of the present invention (including 15 types of meteorological data such as wind speed, temperature, and air pressure) is downloaded from the open source data set ERA5 database. The meteorological factor table is shown in Table 1

[0102] Step (2): Construction of wind power and photovoltaic power station clusters

[0103] Taking 15 meteorological factors such as wind speed, temperature, and air pressure of new energy sites in the province as input conditions, the K-MEANS clustering method based on genetic algorithm was used to cluster the meteorological information of each wind power and photovoltaic site in the province, and the wind farms in the province were aggregated into 4 clusters, and the photovoltaic power stations in the province were aggregated into 3 clusters. The division of wind power and photovoltaic meteorological similarity areas has a certain geographical continuity, and the boundaries of individual convergence areas are relatively obvious. However, since the wind speed is greatly affected by the topography, there will be some elements that are far apart in geographical location but belong to the same convergence area.

[0104] Step (3): Select 100m wind speed (f100) and 10m wind speed (f10) as the meteorological characteristic factors of wind power output; select surface net solar radiation (ssr) as the key meteorological factor of photovoltaic output

[0105] Step (4): Build a model prediction framework

[0106] By integrating the temporal convolutional neural network (TCN) and quantile regression (QR), a new energy quantile data-driven prediction model is constructed. This model can obtain the new energy output quantile prediction results at different quantile levels in different time periods. The formula of QR is as follows:

[0107] CDF_Y -1 (β)=inf{y|CDF_Y(y)>β}

[0108]

[0109] Where: CDF_Y(·) is the function of the cumulative probability (CDF) of the random variable Y, CDF_Y -1 (β) is the beta quantile of the random variable Y, and β is the nominal quantile level of the quantile; is the quantile regression model corresponding to the nominal quantile level β, and the expression form can be set freely, ξ β is the model parameter. (xs, ys) is the data sample; s is the data sample index, S is the index set; ρ β (·) is the pinball loss function

[0110] The kernel density estimation (KDE) method is used to convert the obtained quantile prediction results of each time period into the corresponding probability density curve as the final prediction result. The expression is as follows:

[0111]

[0112] In the formula, is the probability density of the output at time t; n is the number of quantiles; K(·) is the kernel function, and the present invention adopts the Gaussian kernel function.

[0113] Step (5): Probabilistic prediction results analysis

[0114] The TCN-QR-KDE model proposed in this invention is compared with the CNN-QR-KDE model and the LSTM-QR-KDE model. The evaluation index is the continuous grade probability score (CRPS), which is expressed as follows:

[0115]

[0116] In the formula, For the predicted value The cumulative distribution function of is the Heaviside function.

[0117] The meteorological input factors of the model of the present invention are obtained by weighted aggregation by constructing clusters of new energy power stations based on meteorological similarity zones, and compared with the average meteorological data of each point in the province as the model input without using the method of the present invention. The comparison results of each model are shown in Table 2.

[0118] By obtaining the hourly new energy output power data and meteorological data (15 factors) of a southwestern province in 2021 as samples; the K-means clustering method improved based on genetic algorithm was adopted to aggregate the wind farms in the province into 4 clusters, and the photovoltaic power stations into 3 clusters, to realize the regional division based on meteorological similarity; key meteorological factors were selected as model inputs, including 100m and 10m wind speeds for wind power, and surface net solar radiation for photovoltaics; a new energy probability prediction model integrating temporal convolutional neural network (TCN), quantile regression (QR) and kernel density estimation (KDE) was constructed, and the prediction results at different quantile points were output; the meteorological input obtained by the method in this paper was compared with the results of directly averaging the meteorological data of the whole province, and also compared with the CNN and LSTM models. The results show that this method has the best prediction performance, and the CRPS index (reflecting the prediction effect, the smaller the better) was reduced by more than 50%.

[0119] Table 1 Meteorological factors

[0120] Meteorological factors English abbreviation Meteorological factors English abbreviation 2m dew point temperature d2m Post-processing minimum temperature mn2t 2m Temperature t2m Net solar radiation at the surface ssr Cloud base height cb Net surface heat radiation str High cloud cover hcc Surface pressure sp Low cloud cover lc Total precipitation tp Moderate cloud cover mcc 100m wind speed f100 Total cloud cover tcc 10m wind speed f10 Post-treatment maximum temperature mx2t

[0121] Table 2 CRPS index comparison results (unit: MW)

[0122] Prediction Methods Meteorological factor construction method Wind power Photovoltaic TCN-QR-KDE Method of the present invention 168.2 55.7 CNN-QR-KDE Average value of grid meteorological data in the province 369.1 98.3 LSTM-QR-KDE Average value of grid meteorological data in the province 354.1 98.2

[0123] This experiment verifies the technical route proposed in the present invention of coupling spatial clustering to construct regional meteorological inputs and integrating TCN and quantile regression for probability prediction, and its effectiveness in improving prediction accuracy and obtaining probability distribution information, providing a new idea for uncertainty analysis of renewable energy power generation.

[0124] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A non-parametric probability prediction method for new energy in the province coupled with spatial clustering, Features: include, Obtaining calculation data of new energy sites throughout the province, the calculation data including the province's hourly new energy output power throughout the year, hourly meteorological data throughout the year, and a meteorological factor table; The obtained calculation data is used as input conditions, and cluster analysis is performed on the meteorological information of the whole province using clustering methods; And build electricity clusters and photovoltaic clusters based on meteorological similarity zones; Weighted calculation of meteorological information of each cluster power station, output of meteorological factors; The temporal convolutional neural network and quantile regression are integrated to build a new energy quantile data-driven prediction model; The output meteorological factors are used as inputs to the new energy quantile data-driven forecasting model, and the probabilistic forecasting results are analyzed.

2. The non-parametric probability prediction method for new energy in the province based on coupled spatial clustering as claimed in claim 1, Features: The obtained calculation data is used as input conditions, and 15 meteorological factors such as wind speed, temperature, and air pressure of new energy sites throughout the province are used as input conditions. The K-MEANS clustering method improved based on genetic algorithm is used to perform cluster analysis on the meteorological information of each wind power and photovoltaic site in the province, and to construct wind power clusters and photovoltaic clusters based on meteorological similarity zones. The K-MEANS clustering method improved based on genetic algorithm adopts the following formula: J=ICD / ICS Among them, λ j is the weight of the jth data value; X is the data object; C k is the kth cluster center; n is the dimension of the data object; x j and c kj X and C respectively k The jth attribute value of ; J is the fitness function of GA; ICD is the distance between classes; ICS is the average distance within a class; M k The number of objects contained in the kth cluster; X kj is the jth data object of the kth cluster class.

3. The non-parametric probability prediction method for new energy in the province based on coupled spatial clustering as claimed in claim 2, Features: The meteorological information of each cluster power station is weightedly calculated, and the meteorological factors are output. The meteorological information of each cluster power station is weightedly calculated to represent the meteorological factors of wind power and photovoltaic power in the whole province. At the same time, the Spearman correlation coefficient and the maximum information coefficient are used to screen out the meteorological factors most relevant to the output of new energy. The following formula is used: Where SCC represents the Spearman correlation coefficient; MIC represents the maximum information coefficient; X = {x 1 ,x 2 ,...,x N } and Y={y 1 ,y 2 ,...,y N } Each element x in the sequence n and n The sorting position or rank is denoted by R(x n ) and R(y n ); X represents a certain characteristic variable; Y represents the variable to be observed; a, b are the number of grids divided in the X and Y directions during discretization, which is a grid distribution; B is an empirical value, whose size is about 0.6 power of the data volume; I(X; Y) is the mutual information coefficient p(X, Y) is the joint probability of the variables.

4. The non-parametric probability prediction method for new energy in the province based on coupled spatial clustering as claimed in claim 3, Features: The temporal convolutional neural network and quantile regression are integrated to construct a new energy quantile data-driven prediction model, and the new energy quantile data-driven prediction model outputs new energy output quantile prediction results at different quantile levels in each time period.

5. The province-wide new energy non-parametric probability prediction method based on coupled spatial clustering as claimed in claim 4, Features: The quantile regression fusion adopts the following formula: CDF_Y -1 (β)=inf{y|CDF_Y(y)>β} Among them, CDF _ Y(·) is the cumulative probability function (CDF) of the random variable Y, CDF_Y -1 (β) is the beta quantile of the random variable Y, and β is the nominal quantile level of the quantile; is the quantile regression model corresponding to the nominal quantile level β, and the expression form can be set freely, ξ β is the model parameter, (x s ,y s ) is a data sample; s is a data sample index, S is an index set; ρ β (·) is the pinball loss function.

6. The province-wide new energy non-parametric probability prediction method based on coupled spatial clustering as claimed in claim 5, Features: The kernel density estimation method is used to convert the obtained quantile prediction results of each time period into the corresponding probability density curve as the final prediction result. The expression is as follows: in, is the probability density of the output at time t; n is the number of quantiles; K(·) is the kernel function, and the present invention adopts the Gaussian kernel function.

7. The province-wide new energy non-parametric probability prediction method based on coupled spatial clustering as claimed in claim 6, Features: The output meteorological factors are used as inputs of the new energy quantile data driven prediction model, and the new energy output quantile prediction results output by the new energy quantile data driven prediction model are analyzed; The obtained new energy output quantile prediction results are used as the input of the kernel density estimation method to obtain the probability density curve, which is used as the final probability prediction result; The time convolutional neural network, quantile regression and kernel density estimation methods are comprehensively considered, among which TCN is used to represent the time convolutional neural network; QR is used to represent the quantile regression; KDE is used to represent the kernel density estimation method; and a non-parametric probability prediction model for new energy in the whole province is constructed, referred to as the TCN-QR-KDE model; In order to compare the advantages of the proposed TCN-QR-KDE model, two comparative models are established: Comparison model 1: The temporal convolutional neural network in the above method flow is replaced by a convolutional neural network, and CNN is used to represent the convolutional neural network. Other links remain unchanged, and the CNN-QR-KDE model is established; Comparison model 2: The temporal convolutional neural network in the above method flow is replaced by a long short-term memory network, and LSTM is used to represent the long short-term memory network. Other links remain unchanged, and the LSTM-QR-KDE model is established; The TCN-QR-KDE model proposed in the present invention is compared with the CNN-QR-KDE model and the LSTM-QR-KDE model using the continuous grade probability score, which adopts the following formula: Where CRPS represents the continuous grade probability score; For the predicted value The cumulative distribution function of is the Heaviside function.

8. A system for predicting the province's new energy with non-parametric probability by coupling spatial clustering, based on the province's new energy with non-parametric probability by coupling spatial clustering as claimed in any one of claims 1 to 7, Features: Also includes, An acquisition module is used to acquire the calculation data of the province's new energy sites, wherein the calculation data includes the province's hourly new energy output power throughout the year, hourly meteorological data throughout the year, and a meteorological factor table; The input module uses the obtained calculation data as input conditions and uses clustering methods to perform cluster analysis on the meteorological information of the whole province; And build electricity clusters and photovoltaic clusters based on meteorological similarity zones; The output module calculates the meteorological information of each cluster power station by weight and outputs the meteorological factors; Building a module that integrates temporal convolutional neural network and quantile regression to construct a new energy quantile data-driven prediction model; The prediction module uses the output meteorological factors as the input of the new energy quantile data-driven prediction model and analyzes the probability prediction results.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. Features: When the processor executes the computer program, the steps of the province-wide non-parametric probability prediction method of new energy based on coupled spatial clustering are implemented as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, Features: When the computer program is executed by a processor, the steps of the province-wide non-parametric probability prediction method of new energy based on coupled spatial clustering as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Wind and light power prediction method based on extreme weather scene

    CN121172752A

  • Wind and solar power prediction method based on extreme weather scenarios

    CN121172752B