CN116701868A - A Probabilistic Prediction Method for Short-term Wind Power Range - Google Patents
A Probabilistic Prediction Method for Short-term Wind Power Range Download PDFInfo
- Publication number
- CN116701868A CN116701868A CN202310669588.9A CN202310669588A CN116701868A CN 116701868 A CN116701868 A CN 116701868A CN 202310669588 A CN202310669588 A CN 202310669588A CN 116701868 A CN116701868 A CN 116701868A
- Authority
- CN
- China
- Prior art keywords
- wind power
- data
- prediction
- algorithm
- short
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
- G06N3/0442—Recurrent networks, e.g. Hopfield networks characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/003—Load forecast, e.g. methods or systems for forecasting future load demand
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Power Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及电力系统运行与规划技术领域,具体涉及一种短期风电功率概率预测方法。The invention relates to the technical field of power system operation and planning, in particular to a short-term wind power probability prediction method.
背景技术Background technique
随着社会科技的发展,能源的作用日益增加,而快速的发展伴随而来的是传统化石能源的不断被消耗,可再生能源开始进入到各方学者的研究中。在电力行业中,优化传统能源结构,增加可再生能源占比,提高并网效率,已经成为了全球能源发展的重点研究方向,而风能的清洁、储量丰富等特点得到了学者们的青睐。但风速的不稳定性和不确定性也让风电场的发电效率产生较大的波动,难以提前进行风电调度,准确的功率预测既可以有效缓解风电的不确定性带来的影响,也对电力系统的安全运行提供了保障。目前风电功率预测发展的新趋势是人工智能方法,但传统单点预测的模型无法量化风电的不规则性和不确定性,浅层学习模型不能完全提取风电序列中的深层非线性特征;单一预测模型难以捕获风电序列中的变化规律,达到满意的预测效果。因此现有技术在亟需要新的方案来解决这一问题。With the development of social science and technology, the role of energy is increasing day by day, and the rapid development is accompanied by the continuous consumption of traditional fossil energy, and renewable energy has begun to enter the research of various scholars. In the power industry, optimizing the traditional energy structure, increasing the proportion of renewable energy, and improving grid-connected efficiency have become key research directions for global energy development. The characteristics of wind energy, such as cleanness and abundant reserves, have been favored by scholars. However, the instability and uncertainty of wind speed also cause large fluctuations in the power generation efficiency of wind farms, making it difficult to schedule wind power in advance. Accurate power prediction can not only effectively alleviate the impact of wind power uncertainty, but also affect the power generation efficiency. The safe operation of the system provides a guarantee. At present, the new trend in the development of wind power forecasting is the artificial intelligence method, but the traditional single-point forecasting model cannot quantify the irregularity and uncertainty of wind power, and the shallow learning model cannot fully extract the deep nonlinear features in the wind power sequence; single forecasting It is difficult for the model to capture the changing law in the wind power sequence and achieve satisfactory prediction results. Therefore prior art urgently needs new scheme to solve this problem.
发明内容Contents of the invention
本发明的目的在于提供一种短期风电功率概率预测方法,旨在解决传统的点预测方法难以挖掘风电数据集子序列中的隐含信息以及单一预测模型难以捕获风电序列中的变化规律的技术问题。The purpose of the present invention is to provide a short-term wind power probability prediction method, which aims to solve the technical problems that the traditional point prediction method is difficult to mine the hidden information in the sub-sequence of the wind power data set and the single prediction model is difficult to capture the variation law in the wind power sequence .
为实现上述目的,本发明提供了一种短期风电功率概率预测方法,包括下列步骤:To achieve the above object, the present invention provides a short-term wind power probability prediction method, comprising the following steps:
步骤1:收集历史气象资料处理获得风电概率预测的初始数据集;Step 1: Collect historical meteorological data and process to obtain the initial data set for wind power probability prediction;
步骤2:对所述初始数据集进行筛选补充获得风电数据集,并进行归一化处理;Step 2: Screen and supplement the initial data set to obtain a wind power data set, and perform normalization processing;
步骤3:将风电数据集的数据划分为训练集和测试集,构建基于结合SVM与分位数回归的IPSO-CNN-LSTM算法预测模型并进行训练和预测;Step 3: Divide the data of the wind power dataset into a training set and a test set, construct a prediction model based on the IPSO-CNN-LSTM algorithm combining SVM and quantile regression, and perform training and prediction;
步骤4:根据预测结果以及误差调整模型参数直到结果接近于测试集,完成短期风电功率概率预测。Step 4: Adjust the model parameters according to the prediction results and errors until the results are close to the test set, and complete the short-term wind power probability prediction.
可选的,收集历史气象资料处理获得风电概率预测的初始数据集的过程,具体为获取地区历史气象资料,通过查询当地日志、气象台的记录信息以及其他气候监测系统的记录信息对原始气象数据以及风力情况进行处理,根据历史预测功率和风电场的数值天气预报NWP预测结果的风速波动量,获得风电概率预测的初始数据集。Optionally, the process of collecting historical meteorological data and processing to obtain the initial data set for wind power probability forecasting is specifically to obtain regional historical meteorological data, and to query the local log, the record information of the meteorological station, and the record information of other climate monitoring systems to compare the original meteorological data and The wind power situation is processed, and the initial data set of wind power probability prediction is obtained according to the historical predicted power and the wind speed fluctuation of the numerical weather prediction NWP prediction results of the wind farm.
可选的,所述数值天气预报NWP的数据采用选定的某一风电场整年气象数据,参数包括风速、风向、温度和气压。Optionally, the numerical weather prediction (NWP) data adopts the annual meteorological data of a selected wind farm, and the parameters include wind speed, wind direction, temperature and air pressure.
可选的,对所述初始数据集进行筛选补充获得风电数据集,并进行归一化处理的过程,具体为筛选出与风电功率相关性最强的气象因素,将相关数据筛选出来后对异常数据部分进行处理,通过聚类算法或人工方法筛选,将筛选后的整体数据集分为若干条件子集;将各个子集中异常数据采用清洗或插值等方法进行补充处理,并将最后获得风电数据集进行归一化处理。Optionally, the process of screening and supplementing the initial data set to obtain the wind power data set, and performing normalization processing is specifically to screen out the meteorological factors with the strongest correlation with wind power, and filter out the relevant data for abnormal Part of the data is processed, screened by clustering algorithms or manual methods, and the screened overall data set is divided into several conditional subsets; the abnormal data in each subset is supplemented by cleaning or interpolation methods, and finally the wind power data is obtained The set is normalized.
可选的,采用皮尔逊系数筛选气象因素数据,保留相关性最强的气象数据进行后续的预测;所述聚类算法包括DBSCAN和K-means算法,人工办法为手动处理异常数据。Optionally, the Pearson coefficient is used to screen meteorological factor data, and the most relevant meteorological data are retained for subsequent prediction; the clustering algorithm includes DBSCAN and K-means algorithm, and the manual method is to manually process abnormal data.
可选的,步骤3的执行过程,具体为将获得的数据划分为训练集和测试集两组,在训练集中通过历史数据构建基于结合SVM与分位数回归的IPSO-CNN-LSTM算法预测模型,通过训练集训练后进行预测,在模型输出侧进行量化分析,得到在既定置信度下分位数形式的短期风电功率上下边界值以及待预测日预测序列,最后与预先设定好的测试集进行比对。Optionally, the execution process of step 3 is specifically to divide the obtained data into two groups of training set and test set, and build a prediction model based on the IPSO-CNN-LSTM algorithm combining SVM and quantile regression through historical data in the training set , predict after training through the training set, and perform quantitative analysis on the output side of the model to obtain the upper and lower boundary values of the short-term wind power in quantile form under the given confidence level and the prediction sequence of the day to be predicted, and finally compare with the pre-set test set Compare.
可选的,所述基于结合SVM与分位数回归的IPSO-CNN-LSTM算法预测模型的构建过程,包括下列步骤:Optionally, the construction process of the IPSO-CNN-LSTM algorithm prediction model based on combining SVM and quantile regression includes the following steps:
选用IPSO算法对惯性权重ω进行优化;Use the IPSO algorithm to optimize the inertia weight ω;
将CNN网络与LSTM网络相结合,利用CNN网络从样本数据中提取出其潜在的特征,LSTM网络捕捉到长期的成分;Combine the CNN network with the LSTM network, use the CNN network to extract its potential features from the sample data, and the LSTM network captures the long-term components;
利用QRNN模型反映数据的非线性情况,并得出既定置信度下的概率预测区间,对所得数据进行进一步分析;Use the QRNN model to reflect the nonlinear situation of the data, and obtain the probability prediction interval under the given confidence level, and further analyze the obtained data;
采用平均绝对误差MAE和均方根误差RMSE、区间覆盖率PICP和区间平均带宽PINAW作为模型准确性的评价指标。The mean absolute error MAE, root mean square error RMSE, interval coverage PICP and interval average bandwidth PINAW are used as the evaluation indicators of model accuracy.
本发明提供了一种短期风电功率概率预测方法,利用深度学习挖掘数据中的隐含信息以及风电序列中的非线性特征,并产生预测概率区间,同时选择一种非线性权重方法提高粒子群算法的优化性能,即IPSO算法解决传统算法存在的部分问题,提高收敛速度,再混合人工智能算法选择CNN-LSTM混合算法构建基于结合SVM与分位数回归的IPSO-CNN-LSTM算法预测模型,通过训练后完成短期风电功率概率预测,其中CNN网络能过够通过使用卷积核从样本数据中提取出其潜在的特征,而长短期记忆网络LSTM能够捕捉到长期的成分,避免现有部分算法存在梯度消失、爆炸的现象,提高了风电功率概率预测的效率。The invention provides a short-term wind power probability prediction method, which uses deep learning to mine the hidden information in the data and the nonlinear characteristics in the wind power sequence, and generates a prediction probability interval, and at the same time selects a nonlinear weight method to improve the particle swarm algorithm The optimization performance of the IPSO algorithm, that is, the IPSO algorithm solves some problems existing in the traditional algorithm, improves the convergence speed, and then mixes the artificial intelligence algorithm to select the CNN-LSTM hybrid algorithm to construct the IPSO-CNN-LSTM algorithm prediction model based on the combination of SVM and quantile regression. After the training, the short-term wind power probability prediction is completed. The CNN network can extract its potential features from the sample data by using the convolution kernel, and the long-term short-term memory network LSTM can capture long-term components, avoiding the existence of some existing algorithms. The phenomenon of gradient disappearance and explosion improves the efficiency of wind power probability prediction.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是卷积神经网络结构示意图。Figure 1 is a schematic diagram of the convolutional neural network structure.
图2是LSTM网络记忆单元结构示意图。Figure 2 is a schematic diagram of the structure of the LSTM network memory unit.
图3是LSTM网络信息传递过程示意图。Fig. 3 is a schematic diagram of the information transmission process of the LSTM network.
图4是CNN-LSTM算法流程图。Figure 4 is a flowchart of the CNN-LSTM algorithm.
图5是本发明的一种短期风电功率概率预测方法的具体流程示意图。Fig. 5 is a schematic flow chart of a short-term wind power probability prediction method of the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.
本发明提供了一种短期风电功率概率预测方法,包括下列步骤:The invention provides a short-term wind power probability prediction method, comprising the following steps:
S1:收集历史气象资料处理获得风电概率预测的初始数据集;S1: Collect historical meteorological data and process to obtain the initial data set for wind power probability prediction;
S2:对所述初始数据集进行筛选补充获得风电数据集,并进行归一化处理;S2: Screen and supplement the initial data set to obtain a wind power data set, and perform normalization processing;
S3:将风电数据集的数据划分为训练集和测试集,构建基于结合SVM与分位数回归的IPSO-CNN-LSTM算法预测模型,并进行训练和预测;S3: Divide the data of the wind power dataset into training set and test set, construct the IPSO-CNN-LSTM algorithm prediction model based on the combination of SVM and quantile regression, and perform training and prediction;
S4:根据预测结果以及误差调整模型参数直到结果接近于测试集,完成短期风电功率概率预测。S4: Adjust the model parameters according to the prediction results and errors until the results are close to the test set, and complete the short-term wind power probability prediction.
以下结合具体实施步骤进行说明:The following will be described in conjunction with specific implementation steps:
在步骤S1中,具体的执行过程为:获取地区历史气象资料,通过查询当地日志、气象台的记录信息以及其他气候监测系统的记录信息对原始气象数据以及风力情况进行处理,根据历史预测功率和风电场的数值天气预报NWP预测结果的风速波动量,获得风电概率预测的初始数据集;In step S1, the specific execution process is: obtain regional historical meteorological data, process the original meteorological data and wind conditions by querying local logs, records of meteorological stations, and other climate monitoring systems, and predict power and wind power according to historical The wind speed fluctuation of the NWP prediction results of the field numerical weather prediction is used to obtain the initial data set of wind power probability prediction;
其中数值天气预报(NWP)数据采用某一风电场整年气象数据,包括风速、风向、温度、气压等。The Numerical Weather Prediction (NWP) data uses the annual meteorological data of a certain wind farm, including wind speed, wind direction, temperature, air pressure, etc.
步骤S2的具体过程如下:筛选出与风电功率相关性最强的气象因素,将相关数据筛选出来后对异常数据部分进行处理,通过聚类算法或人工方法筛选,将筛选后的整体数据集分为若干条件子集;将各个子集中异常数据采用清洗或插值等方法进行补充处理,并将最后获得新数据集进行归一化处理;The specific process of step S2 is as follows: screen out the meteorological factors with the strongest correlation with wind power, screen out the relevant data and process the abnormal data part, screen by clustering algorithm or manual method, and divide the screened overall data set into It is several conditional subsets; the abnormal data in each subset is supplemented by cleaning or interpolation methods, and the final new data set is normalized;
进一步的,上述步骤S2中采用皮尔逊系数筛选气象因素数据,保留相关性最强的气象数据进行后续的预测;所述聚类算法主要包括DBSCAN和K-means算法,人工办法为手动处理异常数据,将筛选后存在的异常数据进行清洗或插值方法进行补充处理,获得风电数据集,并将数据进行归一化处理;Further, in the above step S2, the Pearson coefficient is used to screen the meteorological factor data, and the most relevant meteorological data is retained for subsequent prediction; the clustering algorithm mainly includes the DBSCAN and K-means algorithm, and the manual method is to manually process abnormal data , cleaning the abnormal data existing after screening or performing supplementary processing by interpolation method to obtain the wind power data set, and normalize the data;
对于数据的选择某一风电场一年的数值天气预报(NWP),通过皮尔逊系数法筛选出相关性最强的气象因素数据作为数据集进行后续预测。Pearson分析法是通过两个变量之间的距离来衡量两变量的相关性,其具体函数表达公式为:For the data selection of the numerical weather prediction (NWP) of a certain wind farm for one year, the most relevant meteorological factor data is selected by the Pearson coefficient method as the data set for subsequent prediction. The Pearson analysis method measures the correlation of two variables by the distance between the two variables, and its specific function expression formula is:
式中ρxy为皮尔逊相关系数,当ρxy>0时,两变量正相关,反之则负相关。ρxy|越大,两变量相关程度越大,x,y为两个n维向量;In the formula, ρxy is the Pearson correlation coefficient. When ρxy>0, the two variables are positively correlated, otherwise, they are negatively correlated. The larger ρ xy |, the greater the degree of correlation between the two variables, x, y are two n-dimensional vectors;
步骤S3:将获得的数据划分为训练集和测试集两组,在训练集中通过历史数据构建基于结合SVM与分位数回归的IPSO-CNN-LSTM算法预测模型,通过训练集训练后进行预测,在模型输出侧进行量化分析,得到在既定置信度下分位数形式的短期风电功率上下边界值以及待预测日预测序列,最后与预先设定好的测试集进行比对;Step S3: Divide the obtained data into two groups of training set and test set, construct the IPSO-CNN-LSTM algorithm prediction model based on the combination of SVM and quantile regression through historical data in the training set, and make predictions after training through the training set, Quantitative analysis is carried out on the output side of the model to obtain the upper and lower boundary values of short-term wind power in quantile form under the given confidence level and the forecast sequence of the day to be predicted, and finally compared with the pre-set test set;
具体的,将数据集划分为训练集和测试集后,构建基于SVM与分位数回归相结合的IPSO-CNN-LSTM算法预测模型进行训练和预测,其中先将数据集输入到IPSO-CNN-LSTM算法模型中,利用IPSO算法提高收敛速度,同时得到最优的惯性权重ω,此ω可以作为SVM的权重进行数据输出,再将数据集放入到CNN-LSTM中生成功率预测值,将预测值放入到一个SVM与分位数回归相结合的模型中进行量化分析,生成概率分布,进一步地得到既定置信度下的功率区间预测图形。Specifically, after the data set is divided into training set and test set, the IPSO-CNN-LSTM algorithm prediction model based on the combination of SVM and quantile regression is constructed for training and prediction, in which the data set is first input into the IPSO-CNN- In the LSTM algorithm model, the IPSO algorithm is used to improve the convergence speed, and the optimal inertia weight ω is obtained at the same time. This ω can be used as the weight of the SVM for data output, and then the data set is put into the CNN-LSTM to generate the power prediction value, and the prediction Put the value into a model combining SVM and quantile regression for quantitative analysis, generate a probability distribution, and further obtain a power interval prediction graph under a given confidence level.
训练集和测试集都取自处理后的数据集,训练时只单独利用训练集数据,所得数据与测试集进行比对验证;所述基于分位数回归的IPSO-CNN-LSTM算法预测模型结构如下:Both the training set and the test set are taken from the processed data set, and only the training set data is used alone during training, and the obtained data is compared with the test set for verification; the IPSO-CNN-LSTM algorithm based on quantile regression predicts the model structure as follows:
首先针对模型的收敛速度慢等问题,利用粒子群优化算法(PSO)对其超参数进行优化,将所需优化的超参数映射为粒子,每个粒子共享个体极值与全局比较,不断地更新位置和迭代优化,其中引入一个惯性权重ω,ω与粒子的全局搜索能力呈正相关,与局部搜索能力呈负相关,而传统粒子群优化算法ω为一固定值,粒子的局部搜索能力与全局搜索能力均不突出,易陷入局部最优,因此提出一种非线性权重方法提高粒子群算法的优化性能,即IPSO算法,ω优化公式为:Firstly, aiming at the problem of slow convergence speed of the model, the particle swarm optimization algorithm (PSO) is used to optimize its hyperparameters, and the hyperparameters to be optimized are mapped to particles. Each particle shares an individual extreme value and compares it with the global situation, and is constantly updated. Position and iterative optimization, which introduces an inertia weight ω, ω is positively correlated with the global search ability of the particle, and negatively correlated with the local search ability, while the traditional particle swarm optimization algorithm ω is a fixed value, the local search ability of the particle and the global search ability The ability is not outstanding, and it is easy to fall into the local optimum. Therefore, a nonlinear weight method is proposed to improve the optimization performance of the particle swarm optimization algorithm, that is, the IPSO algorithm. The ω optimization formula is:
ωmax与ωmin分别为权重的最大值与最小值,值为0.9和0.4;t为当前迭代次数;Tmax为最大迭代次数。ωmax and ωmin are the maximum and minimum weight values, respectively, 0.9 and 0.4; t is the current iteration number; Tmax is the maximum iteration number.
进一步的,将卷积神经网络(CNN)与长短期记忆神经网络(LSTM)相结合,利用CNN从样本数据中提取出其潜在的特征,LSTM捕捉到长期的成分。将处理过的数据集作为预测模型输入,功率值作为输出,模型表示为:Pt=f(pt-n,k),Pt为t时刻的风功率,pt-n为历史风电场数据,k为预处理后的数据。最后采用单隐含层的深度神经网络作为输出层,输出结果为t时刻风功率;Further, the convolutional neural network (CNN) is combined with the long-term short-term memory neural network (LSTM), and the CNN is used to extract its potential features from the sample data, and the LSTM captures the long-term components. The processed data set is used as the input of the prediction model, and the power value is used as the output. The model is expressed as: P t =f(p tn ,k), where Pt is the wind power at time t, pt-n is the historical wind farm data, and k is preprocessed data. Finally, a deep neural network with a single hidden layer is used as the output layer, and the output result is the wind power at time t;
卷积神经网络(CNN)由卷积层和池化层交替叠加而成,在每个卷积层与池化层之间都有ReLu激活函数作用来加速模型的收敛,模型中数据经过卷积神经网络的处理,所有特征融合后得到卷积神经网络的特征描述,此时传递数据给LSTM,通常情况下此时输入的数据需要Reshape成LSTM处理的类型,LSTM得到新的输入后,确定需要保持与丢弃的,其中保持与丢弃借助sigmoid激活函数完成,可选择遗忘以及保存重要的数据。从输入门中获取的数据即为我们更新了状态,最后借助输出门确定携带的信息,将新的状态,以及隐藏状态转移到下个时间步。The convolutional neural network (CNN) is composed of convolutional layers and pooling layers alternately. There is a ReLu activation function between each convolutional layer and pooling layer to accelerate the convergence of the model. The data in the model is convoluted The processing of the neural network, after all the features are fused, the feature description of the convolutional neural network is obtained. At this time, the data is passed to the LSTM. Usually, the input data at this time needs to be reshaped into the type processed by the LSTM. After the LSTM gets the new input, determine the required Keeping and discarding, where keeping and discarding is done with the help of sigmoid activation function, you can choose to forget and save important data. The data obtained from the input gate is our updated state. Finally, the information carried is determined by the output gate, and the new state and the hidden state are transferred to the next time step.
CNN网络可提取多维时间序列数据在空间结构上的关系,由卷积层和池化层组成,利用其权值共享等特征加快训练速度、提升泛化性能。一维卷积的计算为:The CNN network can extract the relationship of multi-dimensional time series data in the spatial structure. It is composed of convolutional layers and pooling layers. It uses its features such as weight sharing to speed up training and improve generalization performance. The calculation of one-dimensional convolution is:
式中为l层第k次卷积映射,f为激活函数,N为输入卷积映射的数量,*为卷积运算,/>为l层相对应第k个卷积核的偏置,CNN网络原理如图1所示;In the formula is the kth convolutional map of layer l, f is the activation function, N is the number of input convolutional maps, * is the convolution operation, /> is the bias of the l layer corresponding to the kth convolution kernel, the CNN network principle is shown in Figure 1;
所述LSTM网络是循环神经网络(RNN)的一种,在传统RNN隐含层中加入了输入门、遗忘门和输出门,并增加了用于存储记忆的单元,其内部记忆单元结构与信息传递过程如图2、图3所示,图中Ut为将要输出到隐含层状态的预备值,σ,l,g为激活函数,其中σ为sigmoid函数,l、g为tanh函数,Ht为t时刻的隐藏状态,ft、it、ot为遗忘门、输入门和输出门,xt为t时刻输入信息,yt为y时刻输出信息。LSTM网络数学计算过程为:The LSTM network is a kind of recurrent neural network (RNN). In the traditional RNN hidden layer, an input gate, a forgetting gate and an output gate are added, and a unit for storing memory is added. The internal memory unit structure and information The transfer process is shown in Figure 2 and Figure 3. In the figure, Ut is the preliminary value to be output to the state of the hidden layer, σ, l, g are activation functions, where σ is the sigmoid function, l and g are the tanh functions, and Ht is The hidden state at time t, ft, it, ot are the forget gate, input gate and output gate, xt is the input information at time t, and yt is the output information at time y. The mathematical calculation process of LSTM network is:
遗忘门:ft=σ(Wfxxt+Wfxht-1+WfcCt-1+bf);Forget gate: f t = σ(W fx x t +W fx h t-1 +W fc C t-1 +b f );
输入门:it=σ(Wixxt+Wihht-1+WicCt-1+bi);Ut=g(Wcxxt+Wchht-1+bc);Input gate: i t =σ(W ix x t +W ih h t-1 +W ic C t-1 +b i ); U t =g(W cx x t +W ch h t-1 +b c );
Ct=Ct-1ft+Utit;C t =C t-1 f t +U t i t ;
输出门:ot=σ(Woxxt+Wohht-1+WocCt-1+bo); Output gate: o t = σ(W ox x t +W oh h t-1 +W oc C t-1 +b o );
遗忘门帮助LSTM决定哪些信息将从记忆单元状态中删除;输入门it来决定将要存储到新单元状态Ct的新信息,输出门用来计算输出值Ht。式中Ct-1ft表示确定有多少信息从Ct-1中遗忘,Utit表示有多少信息添加到新单元状态Ct,Wix、Wfx、Wox、Wcx为连接输入信息xt的权值矩阵;Wic、Wfc、Woc为连接神经元激活函数输出值ct和门函数的对角矩阵;Wih、Wfh、Woh、Wch为连接输出信号Ht的权值矩阵;bi、bf、bo、bc为输入门、遗忘门、输出门、预备输出值Ut对应的偏置。拟合后算法流程如图4所示。The forget gate helps the LSTM decide which information will be deleted from the memory cell state; the input gate it decides the new information to be stored in the new cell state Ct, and the output gate is used to calculate the output value Ht. In the formula, Ct-1ft means to determine how much information is forgotten from Ct-1, Utit means how much information is added to the new unit state Ct, Wix, Wfx, Wox, Wcx are weight matrixes connecting input information xt; Wic, Wfc, Woc is the diagonal matrix connecting the output value ct of the neuron activation function and the gate function; Wih, Wfh, Woh, Wch are the weight matrixes connecting the output signal Ht; bi, bf, bo, bc are the input gate, forgetting gate, output The bias corresponding to the gate and the prepared output value Ut. The algorithm flow after fitting is shown in Figure 4.
进一步的,利用神经网络分位数回归(QRNN)模型反映数据的非线性情况,对CNN-LSTM算法模型所得数据进行进一步分析。设QRNN算法的解释变量为X=[x1,x2...,xn],响应变量为Y,X对Y的非线性响应模型为:Further, the quantile regression of neural network (QRNN) model is used to reflect the nonlinearity of the data, and the data obtained by the CNN-LSTM algorithm model is further analyzed. Let the explanatory variable of the QRNN algorithm be X=[x1,x2...,xn], the response variable be Y, and the nonlinear response model of X to Y is:
式中J为隐含层节点数,S为输入层节点数,gi(τ)为隐含层输入结果,QY(τ丨X)为分位点τ的条件分位数,f(1)为输入层与隐含层之间的转换函数,取tanh函数,为输入层的权重和偏置,/>b(2)(τ)为输出层的权重和偏置,f(2)为隐含层与输出层之间的激活函数。对QRNN模型根据最小化损失函数对权重和偏置进行估计:In the formula, J is the number of nodes in the hidden layer, S is the number of nodes in the input layer, g i (τ) is the input result of the hidden layer, QY(τ丨X) is the conditional quantile of the quantile point τ, f(1) is the conversion function between the input layer and the hidden layer, taking the tanh function, is the weight and bias of the input layer, /> b (2) (τ) is the weight and bias of the output layer, and f(2) is the activation function between the hidden layer and the output layer. Estimate the weights and biases of the QRNN model according to the minimized loss function:
式中EYτ为损失函数,Yi为第i个样本的被解释量,I(·)为指示函数,其取值范围为:In the formula, EYτ is the loss function, Yi is the explained quantity of the i-th sample, I( ) is the indicator function, and its value range is:
设CNN-LSTM网络中隐含层神经元有N个,则t时刻输出的向量为 将此输出向量作为全连接层输入即可得到输出值:Assuming that there are N hidden layer neurons in the CNN-LSTM network, the output vector at time t is Use this output vector as the input of the fully connected layer to get the output value:
式中ωk、b为隐含层输出与全连接层输入之间的权重和偏置,以此得出在既定置信度下的功率预测图像。In the formula, ωk and b are the weights and offsets between the output of the hidden layer and the input of the fully connected layer, so as to obtain the power prediction image under the given confidence.
进一步的,采用平均绝对误差(MAE)和均方根误差(RMSE)作为模型准确性的评价指标,其表达式分别为:Furthermore, mean absolute error (MAE) and root mean square error (RMSE) are used as evaluation indicators of model accuracy, and their expressions are respectively:
式中xt、为标准化后的功率真实值和预测值,N为测试验证的数量。所得到的MAE和RMSE值越小,模型预测精度越高,预测性能越好。where xt, is the actual value and predicted value of power after normalization, and N is the number of test verification. The smaller the obtained MAE and RMSE values, the higher the prediction accuracy of the model and the better the prediction performance.
进一步的,采用预测区间覆盖率(PICP)和预测区间平均带宽(PINAW)作为区间预测准确性的评价指标,其表达式分别为:Furthermore, prediction interval coverage (PICP) and prediction interval average bandwidth (PINAW) are used as the evaluation indicators of interval prediction accuracy, and their expressions are respectively:
式中,N为评估样本数,如果评估目标值落入评估区间内,则αi=1,否则为零;β为区间宽度,即区间上界和下界之差。所得到的PICP的值越大,该路预测的精度越高,可靠性越高;在PICP值一定时,PINAW值越小,则预测效果越好。In the formula, N is the number of evaluation samples, if the evaluation target value falls within the evaluation interval, then α i =1, otherwise it is zero; β is the width of the interval, that is, the difference between the upper bound and the lower bound of the interval. The larger the value of the obtained PICP, the higher the prediction accuracy and reliability of the road; when the PICP value is constant, the smaller the PINAW value, the better the prediction effect.
最终,根据图像数据对比调试模型参数,直到所预测数据与测试集相近,完成短期风电功率概率预测,具体流程如图5所示。Finally, the model parameters are compared and adjusted according to the image data until the predicted data is similar to the test set, and the short-term wind power probability prediction is completed. The specific process is shown in Figure 5.
综上所述,本发明具有以下有益效果:In summary, the present invention has the following beneficial effects:
1.利用多元预测模型提高了计算效率以及计算精度,还有利于电力系统的稳定运行和促进弃风消纳,提高能源利用率;1. The use of multivariate forecasting models improves the calculation efficiency and calculation accuracy, and is also conducive to the stable operation of the power system and the promotion of abandoned wind absorption, improving energy utilization;
2.有利于提高风电在电力行业的竞争力;2. Conducive to improving the competitiveness of wind power in the power industry;
3.有助于电力相关部门确定合理的风电机组维检时间,提高风电机组的发电效率。3. It is helpful for relevant electric power departments to determine reasonable maintenance and inspection time for wind turbines and improve the power generation efficiency of wind turbines.
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and of course it cannot limit the scope of rights of the present invention. Those of ordinary skill in the art can understand all or part of the process for realizing the above embodiments, and according to the rights of the present invention The equivalent changes required still belong to the scope covered by the invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310669588.9A CN116701868A (en) | 2023-06-07 | 2023-06-07 | A Probabilistic Prediction Method for Short-term Wind Power Range |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310669588.9A CN116701868A (en) | 2023-06-07 | 2023-06-07 | A Probabilistic Prediction Method for Short-term Wind Power Range |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116701868A true CN116701868A (en) | 2023-09-05 |
Family
ID=87844516
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310669588.9A Pending CN116701868A (en) | 2023-06-07 | 2023-06-07 | A Probabilistic Prediction Method for Short-term Wind Power Range |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116701868A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117728403A (en) * | 2023-12-18 | 2024-03-19 | 山东大学 | A method and system for probability prediction of wind power power in cold wave weather and strong wind scenarios |
| CN117807378A (en) * | 2023-12-01 | 2024-04-02 | 太极计算机股份有限公司 | Intelligent wind power data restoration method and device |
| CN118133677A (en) * | 2024-03-25 | 2024-06-04 | 兰州理工大学 | Adaptive wind turbine power probability interval curve modeling method and its application system |
| CN118983799A (en) * | 2024-08-20 | 2024-11-19 | 广东海洋大学 | Regional wind power prediction method, device and medium |
| CN119292059A (en) * | 2024-10-09 | 2025-01-10 | 赣州阳辉智能科技有限公司 | A method for predicting and controlling the temperature of a heat shrink tube winding motor |
| CN119338068A (en) * | 2024-10-28 | 2025-01-21 | 大唐四川发电有限公司 | A wind power prediction method and system based on meteorological data |
| CN119561047A (en) * | 2025-01-22 | 2025-03-04 | 济南大学 | A wind power prediction method, system and device based on multi-model fusion |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107704953A (en) * | 2017-09-20 | 2018-02-16 | 河海大学 | The short-term wind-electricity power probability density Forecasting Methodology of EWT quantile estimate forests |
| CN111612244A (en) * | 2020-05-18 | 2020-09-01 | 南瑞集团有限公司 | A day-ahead photovoltaic power nonparametric probability prediction method based on QRA-LSTM |
| CN112686464A (en) * | 2021-01-07 | 2021-04-20 | 云南电力技术有限责任公司 | Short-term wind power prediction method and device |
| CN113222263A (en) * | 2021-05-20 | 2021-08-06 | 河海大学 | Photovoltaic power generation power prediction method based on long-term and short-term memory neural network |
| CN113313139A (en) * | 2021-04-13 | 2021-08-27 | 华北水利水电大学 | Wind power prediction uncertainty quantification method based on dynamic characteristics of unit |
| CN113673768A (en) * | 2021-08-24 | 2021-11-19 | 河海大学 | Wind power probability prediction model based on VMD and CNN-LSTM |
-
2023
- 2023-06-07 CN CN202310669588.9A patent/CN116701868A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107704953A (en) * | 2017-09-20 | 2018-02-16 | 河海大学 | The short-term wind-electricity power probability density Forecasting Methodology of EWT quantile estimate forests |
| CN111612244A (en) * | 2020-05-18 | 2020-09-01 | 南瑞集团有限公司 | A day-ahead photovoltaic power nonparametric probability prediction method based on QRA-LSTM |
| CN112686464A (en) * | 2021-01-07 | 2021-04-20 | 云南电力技术有限责任公司 | Short-term wind power prediction method and device |
| CN113313139A (en) * | 2021-04-13 | 2021-08-27 | 华北水利水电大学 | Wind power prediction uncertainty quantification method based on dynamic characteristics of unit |
| CN113222263A (en) * | 2021-05-20 | 2021-08-06 | 河海大学 | Photovoltaic power generation power prediction method based on long-term and short-term memory neural network |
| CN113673768A (en) * | 2021-08-24 | 2021-11-19 | 河海大学 | Wind power probability prediction model based on VMD and CNN-LSTM |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117807378A (en) * | 2023-12-01 | 2024-04-02 | 太极计算机股份有限公司 | Intelligent wind power data restoration method and device |
| CN117728403A (en) * | 2023-12-18 | 2024-03-19 | 山东大学 | A method and system for probability prediction of wind power power in cold wave weather and strong wind scenarios |
| CN118133677A (en) * | 2024-03-25 | 2024-06-04 | 兰州理工大学 | Adaptive wind turbine power probability interval curve modeling method and its application system |
| CN118133677B (en) * | 2024-03-25 | 2024-09-06 | 兰州理工大学 | Self-adaptive wind turbine power probability interval curve modeling method and application system thereof |
| CN118983799A (en) * | 2024-08-20 | 2024-11-19 | 广东海洋大学 | Regional wind power prediction method, device and medium |
| CN119292059A (en) * | 2024-10-09 | 2025-01-10 | 赣州阳辉智能科技有限公司 | A method for predicting and controlling the temperature of a heat shrink tube winding motor |
| CN119338068A (en) * | 2024-10-28 | 2025-01-21 | 大唐四川发电有限公司 | A wind power prediction method and system based on meteorological data |
| CN119338068B (en) * | 2024-10-28 | 2025-07-25 | 大唐四川发电有限公司 | Wind power prediction method and system based on meteorological data |
| CN119561047A (en) * | 2025-01-22 | 2025-03-04 | 济南大学 | A wind power prediction method, system and device based on multi-model fusion |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN116701868A (en) | A Probabilistic Prediction Method for Short-term Wind Power Range | |
| He et al. | A combined model for short-term wind power forecasting based on the analysis of numerical weather prediction data | |
| US20220373984A1 (en) | Hybrid photovoltaic power prediction method and system based on multi-source data fusion | |
| Li et al. | Photovoltaic power forecasting with a hybrid deep learning approach | |
| CN112529282A (en) | Wind power plant cluster short-term power prediction method based on space-time graph convolutional neural network | |
| CN115115125B (en) | Photovoltaic power interval probability prediction method based on deep learning fusion model | |
| CN116937579A (en) | Wind power interval prediction considering space-time correlation and interpretable method thereof | |
| CN115374995A (en) | Distributed photovoltaic and small wind power station power prediction method | |
| CN106650784A (en) | Feature clustering comparison-based power prediction method and device for photovoltaic power station | |
| CN117613883A (en) | Method and device for predicting generated power, computer equipment and storage medium | |
| CN110717610A (en) | A wind power prediction method based on data mining | |
| CN111612244A (en) | A day-ahead photovoltaic power nonparametric probability prediction method based on QRA-LSTM | |
| CN117933076A (en) | Short-term wind power interval prediction method | |
| CN119134336B (en) | Photovoltaic power prediction method and system based on clustering and hybrid neural network | |
| CN116205377B (en) | Distributed photovoltaic power station output prediction method, system, computer and storage medium | |
| CN110689183A (en) | A method, system, medium and electronic device for probabilistic prediction of cluster photovoltaic power | |
| CN118228888A (en) | Photovoltaic power prediction method and system based on deep hybrid kernel extreme learning machine model | |
| CN115759415A (en) | Power consumption demand prediction method based on LSTM-SVR | |
| CN117132132A (en) | Photovoltaic power generation power prediction method based on meteorological data | |
| CN115115107A (en) | Photovoltaic power prediction method and device and computer equipment | |
| CN118508430A (en) | A short-term wind power forecasting method based on deep learning | |
| CN116822370B (en) | Ultra-short-term output prediction method for wind power cluster under data driving | |
| Wang et al. | Short-term photovoltaic power prediction model based on hierarchical clustering of K-means++ algorithm and deep learning hybrid model | |
| CN115630740A (en) | Multi-model integrated distributed photovoltaic output short-term prediction method and system | |
| CN117932347B (en) | PM2.5 prediction method and system based on adversarial transfer learning |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |