CN114282737A - A method, device and electronic device for predicting short-term solar radiation intensity - Google Patents

A method, device and electronic device for predicting short-term solar radiation intensity Download PDF

Info

Publication number
CN114282737A
CN114282737A CN202210094146.1A CN202210094146A CN114282737A CN 114282737 A CN114282737 A CN 114282737A CN 202210094146 A CN202210094146 A CN 202210094146A CN 114282737 A CN114282737 A CN 114282737A
Authority
CN
China
Prior art keywords
model
convolution
data
graph
meteorological
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
Application number
CN202210094146.1A
Other languages
Chinese (zh)
Inventor
那峙雄
谢祥颖
王栋
解鸿斌
单雨
张朋飞
张长志
李浩然
王建
赵毅
倪玮晨
王梓越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Tianjin Electric Power Co Ltd
State Grid E Commerce Co Ltd
Original Assignee
State Grid Tianjin Electric Power Co Ltd
State Grid E Commerce Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by State Grid Tianjin Electric Power Co Ltd, State Grid E Commerce Co Ltd filed Critical State Grid Tianjin Electric Power Co Ltd
Priority to CN202210094146.1A priority Critical patent/CN114282737A/en
Publication of CN114282737A publication Critical patent/CN114282737A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for predicting short-term solar irradiation intensity and electronic equipment, wherein the method and the device are used for acquiring meteorological data of a target area; and processing the meteorological data by using a hybrid prediction model which is formed by mixing and constructing a GCN model and a cavity convolution model to obtain the short-term solar radiation intensity of the target area in a future period. According to the method, the meteorological data of the modular photovoltaic power station and the surrounding area of the modular photovoltaic power station are processed in two dimensions of time and space, the short-term solar irradiation intensity is predicted by fusing the two parts, and a control basis is provided for stable operation of a power system.

Description

一种短期太阳辐照强度的预测方法、装置和电子设备A method, device and electronic device for predicting short-term solar radiation intensity

技术领域technical field

本申请涉及新能源技术领域,更具体地说,涉及一种短期太阳辐照强度的预测方法、装置和电子设备。The present application relates to the field of new energy technologies, and more particularly, to a method, device and electronic device for predicting short-term solar radiation intensity.

背景技术Background technique

近年来,随着传统资源的短缺和环境保护的需要,对可再生能源(RESs)的需求急剧增加。在所有的可再生能源中,太阳能作为最典型的一种,因其丰富的资源和几乎无处不在的可及性而引起广泛关注。同时,与其他形式的发电如水力发电相比,它有许多优势,因此光伏发电的规模已经迅速增长。近年来,全球光伏市场持续增长,2018年全球新增装机容量为99.8吉瓦,其中国内当年新装机容量约为45吉瓦,并会在未来几年继续高速增长。In recent years, with the shortage of traditional resources and the need for environmental protection, the demand for renewable energy sources (RESs) has increased dramatically. Among all renewable energy sources, solar energy, as the most typical one, has attracted widespread attention due to its abundant resources and almost ubiquitous availability. At the same time, it has many advantages compared to other forms of power generation such as hydropower, so the scale of photovoltaic power generation has grown rapidly. In recent years, the global photovoltaic market has continued to grow. In 2018, the global installed capacity was 99.8 GW, of which the domestic new installed capacity was about 45 GW, and will continue to grow rapidly in the next few years.

然而,由于其对大气温度、总云量和湿度等即时气象因素的依赖,导致光伏发电具有随机性、波动性和间歇性等问题。这些不确定性会降低实时控制性能,并危及电力系统的稳定运行。为了解决上述问题,需要对太阳的短期辐照强度进行预测,以便能够预测光伏发电系统在短期内的发电功率,为电力系统的稳定运行提供控制依据,但是现在没有任何一种工具能够对太阳的短期辐照强度进行预测。However, due to its dependence on immediate meteorological factors such as atmospheric temperature, total cloud cover, and humidity, photovoltaic power generation suffers from problems such as randomness, volatility, and intermittency. These uncertainties degrade the real-time control performance and endanger the stable operation of the power system. In order to solve the above problems, it is necessary to predict the short-term irradiance intensity of the sun, so as to predict the power generated by the photovoltaic power generation system in the short term, and provide a control basis for the stable operation of the power system. Prediction of short-term irradiance intensity.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请提供一种短期太阳辐照强度的预测方法、装置和电子设备,用于对太阳的短期辐照强度进行预测。In view of this, the present application provides a short-term solar irradiance prediction method, device and electronic device for predicting the sun's short-term irradiance intensity.

为了实现上述目的,现提出的方案如下:In order to achieve the above purpose, the proposed scheme is as follows:

一种短期太阳辐照强度的预测方法,应用于电子设备,所述预测方法包括步骤:A prediction method of short-term solar radiation intensity, applied to electronic equipment, the prediction method comprises the steps:

获取目标区域的气象数据;Obtain the meteorological data of the target area;

基于预先构建的混合预测模型对所述气象数据进行处理,得到所述目标区域在将来时段的短期太阳辐射强度,所述混合预测模型由GCN模型和空洞卷积模型混合构建而成。The meteorological data is processed based on a pre-built hybrid prediction model, and the short-term solar radiation intensity of the target area in the future period is obtained. The hybrid prediction model is constructed by mixing the GCN model and the hole convolution model.

可选的,还包括步骤:Optionally, also include steps:

基于空间上联合光伏电站的周围区域的气象因子数据构建所述GCN模型;constructing the GCN model based on the meteorological factor data of the surrounding area of the combined photovoltaic power station in space;

通过在时间上建模各个所述周围区域的太阳辐照度时间序列数据构建所述空洞卷积模型。The dilated convolution model is constructed by temporally modeling solar irradiance time series data for each of the surrounding regions.

可选的,所述基于空间上联合光伏电站的周围区域的气象因子数据构建所述GCN模型,包括步骤:Optionally, the construction of the GCN model based on the meteorological factor data of the surrounding area of the combined photovoltaic power station in space includes the steps of:

首先,将所述光伏电站的分布与结构化的气象时间序列定义为无向图Gt=(Vt,ε,W),其中Vt是一个有限的顶点,每个顶点代表时间t的气象因子,ε是边的集合,W是图的邻接矩阵;First, the distribution and structured meteorological time series of the photovoltaic power station are defined as an undirected graph G t =(V t ,ε,W), where V t is a finite vertex, and each vertex represents the weather at time t factor, ε is the set of edges, and W is the adjacency matrix of the graph;

然后,将图卷积网络通过在谱域中用图傅里叶变换进行计算,将CNN推广到图域中,得到所述GCN模型。Then, the graph convolution network is calculated by using graph Fourier transform in the spectral domain, and the CNN is extended to the graph domain to obtain the GCN model.

可选的,所述通过在时间上建模各个所述周围区域的太阳辐照度时间序列数据构建所述空洞卷积模型,包括步骤:Optionally, the construction of the hollow convolution model by modeling the solar irradiance time series data of each of the surrounding areas in time includes the steps of:

首先,分别进行两次扩张卷积运算,得到两个大小相同的

Figure BDA0003490190610000021
Figure BDA0003490190610000022
的输出,其中A和B分别通过sigmoid函数和融合运算,最后进行Hadamard乘积来获得结果;First, perform two dilated convolution operations respectively to obtain two equal-sized
Figure BDA0003490190610000021
Figure BDA0003490190610000022
The output of , where A and B pass the sigmoid function and fusion operation respectively, and finally perform Hadamard product to obtain the result;

然后,将时间卷积可以定义为

Figure BDA0003490190610000023
得到所述空洞卷积模型,其中,σ是sigmoid函数,
Figure BDA0003490190610000024
是元素级的Hadamard乘积运算。Then, the temporal convolution can be defined as
Figure BDA0003490190610000023
to obtain the atrous convolution model, where σ is the sigmoid function,
Figure BDA0003490190610000024
is an element-wise Hadamard product operation.

一种短期太阳辐照强度的预测装置,应用于电子设备,所述预测装置包括:A short-term solar radiation intensity prediction device, applied to electronic equipment, the prediction device comprising:

数据获取模块,被配置为获取目标区域的气象数据;a data acquisition module, configured to acquire meteorological data of the target area;

预测执行模块,被配置为基于预先构建的混合预测模型对所述气象数据进行处理,得到所述目标区域在将来时段的短期太阳辐射强度,所述混合预测模型由GCN模型和空洞卷积模型混合构建而成。The forecast execution module is configured to process the meteorological data based on a pre-built mixed forecast model to obtain the short-term solar radiation intensity of the target area in the future period, the mixed forecast model is mixed by the GCN model and the hole convolution model constructed.

可选的,还包括:Optionally, also include:

第一构建模块,被配置为基于空间上联合光伏电站的周围区域的气象因子数据构建所述GCN模型;a first building module configured to build the GCN model based on meteorological factor data of the surrounding area of the combined photovoltaic power station in space;

第二构建模块,被配置为通过在时间上建模各个所述周围区域的太阳辐照度时间序列数据构建所述空洞卷积模型。A second building block configured to build the hole convolution model by temporally modeling solar irradiance time series data for each of the surrounding regions.

可选的,所述第一构建模块包括:Optionally, the first building module includes:

第一构建单元,用于将所述光伏电站的分布与结构化的气象时间序列定义为无向图Gt=(Vt,ε,W),其中Vt是一个有限的顶点,每个顶点代表时间t的气象因子,ε是边的集合,W是图的邻接矩阵;The first building unit is used to define the distribution and structured meteorological time series of the photovoltaic power station as an undirected graph G t =(V t ,ε,W), where V t is a finite vertex, each vertex Meteorological factor representing time t, ε is the set of edges, W is the adjacency matrix of the graph;

第二构建单元,用于将图卷积网络通过在谱域中用图傅里叶变换进行计算,将CNN推广到图域中,得到所述GCN模型。The second construction unit is used to calculate the graph convolution network by using graph Fourier transform in the spectral domain, and generalize the CNN to the graph domain to obtain the GCN model.

可选的,所述第二构建模块包括:Optionally, the second building module includes:

第三构建单元,用于分别进行两次扩张卷积运算,得到两个大小相同的

Figure BDA0003490190610000031
的输出,其中A和B分别通过sigmoid函数和融合运算,最后进行Hadamard乘积来获得结果;The third building unit is used to perform two dilated convolution operations respectively to obtain two equal-sized
Figure BDA0003490190610000031
The output of , where A and B pass the sigmoid function and fusion operation respectively, and finally perform Hadamard product to obtain the result;

第四构建单元,用于将时间卷积可以定义为

Figure BDA0003490190610000032
得到所述空洞卷积模型,其中,σ是sigmoid函数,
Figure BDA0003490190610000033
是元素级的Hadamard乘积运算。The fourth building block, used to define the temporal convolution as
Figure BDA0003490190610000032
to obtain the atrous convolution model, where σ is the sigmoid function,
Figure BDA0003490190610000033
is an element-wise Hadamard product operation.

一种电子设备,其特征在于,设置有如上所述的预测装置。An electronic device is provided with the above-mentioned prediction device.

一种电子设备,其特征在于,设置有至少一个处理器和与所述处理器连接的存储器,其中:An electronic device, characterized in that, at least one processor and a memory connected to the processor are provided, wherein:

所述存储器用于存储计算机程序或指令;the memory is used to store computer programs or instructions;

所述处理器用于所述计算机程序或指令,以使所述电子设备实现如上所述的预测方法。The processor is for the computer program or instructions to cause the electronic device to implement the prediction method as described above.

从上述的技术方案可以看出,本申请公开了一种短期太阳辐照强度的预测方法、装置和电子设备,该方法和装置具体为获取目标区域的气象数据;利用由GCN模型和空洞卷积模型混合构建而成的混合预测模型对气象数据进行处理,得到目标区域在将来时段的短期太阳辐射强度。本申请通过在时间和空间两个维度对模光伏电站及其周围区域的气象数据进行处理,并通过融合这两部分预测太阳短期辐照强度,为电力系统的稳定运行提供了控制依据。As can be seen from the above technical solutions, the present application discloses a method, device and electronic equipment for predicting short-term solar radiation intensity, the method and device are specifically to obtain meteorological data of a target area; The hybrid forecasting model constructed by mixing the models processes the meteorological data to obtain the short-term solar radiation intensity of the target area in the future. The present application provides a control basis for the stable operation of the power system by processing the meteorological data of the photovoltaic power station and its surrounding areas in the two dimensions of time and space, and by integrating the two parts to predict the short-term solar radiation intensity.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本申请实施例的一种太阳短期辐照强度的预测方法的流程图;1 is a flowchart of a method for predicting short-term solar radiation intensity according to an embodiment of the application;

图2为本申请实施例的另一种太阳短期辐照强度的预测方法的流程图;2 is a flowchart of another method for predicting short-term solar radiation intensity according to an embodiment of the application;

图3为本申请实施例的电力Consumption系列的单侧振幅频谱图;FIG. 3 is a single-sided amplitude spectrum diagram of a power Consumption series according to an embodiment of the application;

图4为本申请实施例的一种太阳短期辐照强度的预测装置的框图;4 is a block diagram of a device for predicting short-term solar radiation intensity according to an embodiment of the application;

图5为本申请实施例的另一种太阳短期辐照强度的预测装置的框图;5 is a block diagram of another apparatus for predicting short-term solar radiation intensity according to an embodiment of the present application;

图6为本申请实施例的一种电子设备的框图。FIG. 6 is a block diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请在使用GCN联合光伏电站周边区域气象因子数据的同时,用空洞卷积来串联每个区域各自的太阳辐照度变化时间序列数据,从而获得一个性能优越的混合模型,可以用于短期太阳辐照度预测。该基于GCN和空洞卷积混合模型的短期太辐照度预测的方法主要包含在时间和空间两个维度建模光伏电站及其周围区域的太阳辐照度数据,并通过融合这两部分预测太阳辐照度,具体内容见下面实施例的描述。In this application, while using the meteorological factor data of the surrounding area of the GCN combined photovoltaic power station, the hollow convolution is used to connect the time series data of the solar irradiance change in each area, so as to obtain a hybrid model with superior performance, which can be used for short-term solar Irradiance prediction. The short-term solar irradiance prediction method based on GCN and hole convolution hybrid model mainly includes modeling the solar irradiance data of photovoltaic power plants and their surrounding areas in two dimensions of time and space, and predicting the solar irradiance by fusing the two parts. Irradiance, see the description of the following embodiments for specific content.

实施例一Example 1

图1为本申请实施例的一种太阳短期辐照强度的预测方法的流程图。FIG. 1 is a flowchart of a method for predicting short-term solar radiation intensity according to an embodiment of the present application.

如图1所示,本实施例提供的预测方法应用于电子设备,用于对光伏电站所在的目标区域的太阳短期辐照强度进行预测,该电子设备可以理解为具有数据计算和信息处理能力的计算机或服务器,该预测方法包括如下步骤:As shown in FIG. 1 , the prediction method provided in this embodiment is applied to an electronic device to predict the short-term solar radiation intensity of the target area where the photovoltaic power station is located. The electronic device can be understood as a device with data calculation and information processing capabilities. A computer or server, the forecasting method includes the following steps:

S1、获取目标区域的气象数据。S1. Obtain the meteorological data of the target area.

这里的目标区域是指对需要太阳短期辐照强度进行预测的区域,该区域内存在相应的光伏电站,气象数据是指在实施预测时该光伏电子所处的目标区域的气温、湿度、风力、云层、日期、经纬度等数据。The target area here refers to the area that needs to predict the short-term solar radiation intensity, there is a corresponding photovoltaic power station in this area, and the meteorological data refers to the temperature, humidity, wind, wind, etc. Data such as cloud cover, date, latitude and longitude.

S2、利用气象数据对目标区域的太阳短期辐照强度进行预测。S2, using meteorological data to predict the short-term solar radiation intensity of the target area.

本申请利用由GCN模型和空洞卷积模型混合而成的混合预测模型对上述气象数据进行处理,得到该目标区域的太阳短期辐照强度。The present application processes the above-mentioned meteorological data by using a hybrid prediction model composed of a GCN model and a hollow convolution model to obtain the short-term solar radiation intensity of the target area.

从上述技术方案可以看出,本实施例提供了一种短期太阳辐照强度的预测方法,该方法应用于电子设备,具体为获取目标区域的气象数据;利用由GCN模型和空洞卷积模型混合构建而成的混合预测模型对气象数据进行处理,得到目标区域在将来时段的短期太阳辐射强度。本申请通过在时间和空间两个维度对模光伏电站及其周围区域的气象数据进行处理,并通过融合这两部分预测太阳短期辐照强度,为电力系统的稳定运行提供了控制依据。It can be seen from the above technical solutions that this embodiment provides a method for predicting short-term solar radiation intensity. The method is applied to electronic equipment, specifically to obtain meteorological data of a target area; using a mixture of GCN model and hole convolution model The constructed hybrid prediction model processes the meteorological data to obtain the short-term solar radiation intensity of the target area in the future period. The present application provides a control basis for the stable operation of the power system by processing the meteorological data of the photovoltaic power station and its surrounding areas in the two dimensions of time and space, and by integrating the two parts to predict the short-term solar radiation intensity.

在本申请的一个具体实施方式中,还包括如下步骤,如图2所示。In a specific embodiment of the present application, the following steps are further included, as shown in FIG. 2 .

S01、基于空间上联合光伏电站周围区域气象因子数据构建GCN模型。S01 , constructing a GCN model based on the regional meteorological factor data around the combined photovoltaic power station in space.

首先,将光伏电站的分布与结构化的气象时间序列定义为无向图Gt=(Vt,ε,W),其中Vt是一个有限的顶点,每个顶点代表时间t的气象因子,ε是边的集合,W是图的邻接矩阵。图上的气象因子数据预测可以它可以写成Eq(11):First, the distribution and structured meteorological time series of photovoltaic power plants are defined as an undirected graph G t =(V t ,ε,W), where V t is a finite vertex, each vertex represents the meteorological factor at time t, ε is the set of edges and W is the adjacency matrix of the graph. The meteorological factor data forecast on the graph can be written as Eq(11):

Figure BDA0003490190610000051
Figure BDA0003490190610000051

然后,将图卷积网络(GCN)通过在谱域中用图傅里叶变换进行计算,将CNN推广到图域中。它可以写成Eq(12),Then, a graph convolutional network (GCN) is generalized to the graph domain by computing it with graph Fourier transform in the spectral domain. It can be written as Eq(12),

gθ(·)*x=Ugθ(Λ)UTx (12)g θ (·)*x=Ug θ (Λ)U T x (12)

其中,U是归一化图拉普拉斯的特征向量矩阵L=IN-D-1/2AD-1/2=UΛU,其特征值的对角矩阵Λ,UTx是x的图傅里叶变换。where U is the eigenvector matrix of the normalized graph Laplacian L=I N -D -1 / 2 AD -1 / 2 =UΛU, the diagonal matrix Λ of its eigenvalues, U T x is the graph of x Fourier transform.

根据光伏电站的分布情况将数据组织成图,可以有效地利用空间信息,同时我们在结构化数据上直接应用图卷积运算,提取空间域的深层模式和特征。然而,Eq(2)中特征向量的矩阵乘法对于大型图来说可能计算成本很高,可以采用切比雪夫多项式近似法和分层线性公式来克服这个问题。Data is organized into graphs according to the distribution of photovoltaic power plants, which can effectively utilize spatial information. At the same time, we directly apply graph convolution operations on structured data to extract deep patterns and features in the spatial domain. However, matrix multiplication of eigenvectors in Eq(2) can be computationally expensive for large graphs, which can be overcome using Chebyshev polynomial approximations and hierarchical linear formulations.

为了降低时间复杂度,滤波器由切比雪夫多项式Tk(x)的截断扩展近似到Kth次。然后我们可以把图卷积重写为Eq(13),In order to reduce the time complexity, the filter is approximated by a truncated extension of the Chebyshev polynomial Tk (x) to degree Kth . Then we can rewrite the graph convolution as Eq(13),

Figure BDA0003490190610000061
Figure BDA0003490190610000061

其中,

Figure BDA0003490190610000062
可以通过(UΛUT)k=UΛkUT来计算。通过多项式近似计算K-局部卷积,可以降低Eq(13)的时间复杂度。in,
Figure BDA0003490190610000062
It can be calculated by ( UΛUT ) k = UΛkUT . The time complexity of Eq(13) can be reduced by computing K-local convolutions by polynomial approximation.

通过限制K=1,图卷积函数可以在图拉普拉斯上变成线性。此外,由于神经网络可以适应规模变化,我们可以对λmax=2进行近似。它可以写成Eq(14),By restricting K=1, the graph convolution function can become linear on the graph Laplacian. Furthermore, since the neural network can adapt to scale changes, we can approximate λ max =2. It can be written as Eq(14),

Figure BDA0003490190610000063
Figure BDA0003490190610000063

其中θ0和θ1是两个共享的滤波器参数。为了减少过拟合和数值操作的发生,可以将θ0和θ1交换为一个参数θ,让θ=θ0=-;

Figure BDA0003490190610000064
Figure BDA0003490190610000065
它可以写成Eq(15),where θ 0 and θ 1 are the two shared filter parameters. In order to reduce the occurrence of overfitting and numerical manipulation, θ 0 and θ 1 can be exchanged for a parameter θ, let θ = θ 0 =-;
Figure BDA0003490190610000064
and
Figure BDA0003490190610000065
It can be written as Eq(15),

Figure BDA0003490190610000066
Figure BDA0003490190610000066

S02、通过在时间上建模各个目标区域的太阳辐照度时间序列数据构建空洞卷积模型。S02, constructing a hollow convolution model by modeling the solar irradiance time series data of each target area in time.

我们都知道,RNN类的模型一直存在耗时问题,并且由于复杂的门控机制,无法应对多变的数据,而CNN具有快速训练的优势,并且可以通过堆叠卷积层实现并行训练过程。因此,我们在输入光伏电站及周边区域太阳辐照度数据的时间维度上应用具有Kt宽度内核的门控线性单元和一维扩张卷积。We all know that RNN-like models have always been time-consuming and cannot cope with changing data due to complex gating mechanisms, while CNN has the advantage of fast training and parallel training processes can be achieved by stacking convolutional layers. Therefore, we apply a gated linear unit with a Kt -width kernel and a 1D dilated convolution on the temporal dimension of the input solar irradiance data of PV plants and surrounding areas.

空洞卷积可以扩大感受野,在深层网络中为了增加感受野且降低计算量,总要进行降采样,这样虽然可以增加感受野,但空间分辨率降低了。为了能不丢失分辨率,且仍然扩大感受野,可以使用空洞卷积。这在预测任务中十分有用。一方面感受野大了可以学习更广泛时空领域上的太阳辐照度数据,另一方面分辨率高了可以精确定位预测时间点。Atrous convolution can expand the receptive field. In order to increase the receptive field and reduce the amount of calculation in the deep network, downsampling is always performed. Although the receptive field can be increased, the spatial resolution is reduced. In order not to lose resolution and still expand the receptive field, atrous convolution can be used. This is useful in prediction tasks. On the one hand, if the sensory field is larger, it is possible to learn solar irradiance data in a wider range of time and space, and on the other hand, if the resolution is higher, the prediction time point can be precisely located.

同时它还能捕获多尺度上下文信息:空洞卷积有一个参数可以设置,具体含义就是在卷积核中填充多个0,因此,当设置不同比例时,感受野就会不一样,也即获取了多尺度的太阳辐照度数据信息。该模型的输入可以看作是长度为M的太阳辐照度序列数据

Figure BDA0003490190610000071
有Ci个通道,核大小为
Figure BDA0003490190610000072
At the same time, it can also capture multi-scale context information: the hole convolution has a parameter that can be set, and the specific meaning is to fill multiple 0s in the convolution kernel. Therefore, when different scales are set, the receptive field will be different, that is, the acquisition of multi-scale solar irradiance data information. The input to this model can be viewed as a sequence of solar irradiance data of length M
Figure BDA0003490190610000071
There are C i channels and the kernel size is
Figure BDA0003490190610000072

首先,进入模型后,分别进行两次扩张卷积运算,得到两个大小相同的

Figure BDA0003490190610000073
的输出。它可以写成Eq(21),First, after entering the model, perform two dilated convolution operations respectively to obtain two equal-sized
Figure BDA0003490190610000073
Output. It can be written as Eq(21),

Figure BDA0003490190610000074
Figure BDA0003490190610000074

其中d是控制跳过距离的稀释参数,

Figure BDA0003490190610000075
是核,xt是序列x的第t个值。where d is the dilution parameter controlling the skip distance,
Figure BDA0003490190610000075
is the kernel, and x t is the t-th value of the sequence x.

然后,将A和B分别通过sigmoid函数和融合运算,最后进行Hadamard乘积来获得结果。sigmoid函数有助于过滤有助于发现数据的动态变化模式的输入,而非线性门可以捕捉到数据的一般信息。最后,时间卷积可以定义为Then, pass A and B through the sigmoid function and fusion operation respectively, and finally perform the Hadamard product to obtain the result. The sigmoid function helps filter inputs that help to discover dynamically changing patterns in the data, while the nonlinear gate captures general information about the data. Finally, temporal convolution can be defined as

Figure BDA0003490190610000076
Figure BDA0003490190610000076

其中,σ是sigmoid函数;

Figure BDA0003490190610000077
是元素级的Hadamard乘积运算。where σ is the sigmoid function;
Figure BDA0003490190610000077
is an element-wise Hadamard product operation.

将太阳辐照度数据在时空领域分别建模后,就可以通过混合模型进行气象数。After the solar irradiance data is modeled separately in the space-time domain, the meteorological data can be calculated by the hybrid model.

本申请与现有技术相比的优点及功效在于:The advantages and effects of the present application compared with the prior art are:

本申请为基于GCN和空洞卷积混合模型的短期太辐照度预测的方法,它使用空间时间联合特征来预测缺失区域未来五天的太阳辐照度。由于只能在白天收集太阳辐照度,则预测的时间段为每天的8:00-18:00,则未来5天的预测结果如表1所示。其中,No-Spa是去除GCN模型的方法。No-Spa的结果比GRU和CNN要准确得多,这表明GCN模型可以提取更多的全局空间信息。而本方法(STM)的预测结果则优于No-Spa,证明了捕捉空间和时间特征对于预测太阳辐照度是非常重要和有效的。The present application is a method for short-term solar irradiance prediction based on a hybrid model of GCN and atrous convolution, which uses joint spatiotemporal features to predict the solar irradiance in the missing area for the next five days. Since the solar irradiance can only be collected during the day, the forecasted time period is 8:00-18:00 every day, and the forecast results for the next five days are shown in Table 1. Among them, No-Spa is the method to remove the GCN model. The results of No-Spa are much more accurate than GRU and CNN, indicating that GCN model can extract more global spatial information. The prediction results of this method (STM) are better than that of No-Spa, which proves that capturing spatial and temporal features is very important and effective for predicting solar irradiance.

表1太阳辐照度预测结果Table 1 Prediction results of solar irradiance

Figure BDA0003490190610000078
Figure BDA0003490190610000078

预测结果的可视化如图3所示,由图中可知,本方法(STM)的预测曲线最贴近太阳辐照的的真值曲线,而其他方法的曲线在出现波动和震荡的区域和真值曲线相差较大。The visualization of the prediction results is shown in Figure 3. It can be seen from the figure that the prediction curve of this method (STM) is closest to the true value curve of solar irradiation, while the curves of other methods are in the region of fluctuation and oscillation and the true value curve Big difference.

实施例二Embodiment 2

图4为本申请实施例的一种太阳短期辐照强度的预测装置的框图。FIG. 4 is a block diagram of an apparatus for predicting short-term solar radiation intensity according to an embodiment of the present application.

如图4所示,本实施例提供的预测装置应用于电子设备,用于对光伏电站所在的目标区域的太阳短期辐照强度进行预测,该电子设备可以理解为具有数据计算和信息处理能力的计算机或服务器,该预测装置可以看做该计算机或服务器本身,也可以李继伟计算机或服务器的硬件模块,该预测装置包括数据获取模块10和预测执行模块20。As shown in FIG. 4 , the prediction device provided in this embodiment is applied to an electronic device to predict the short-term solar radiation intensity of the target area where the photovoltaic power station is located. The electronic device can be understood as a device with data calculation and information processing capabilities. A computer or server, the prediction device can be regarded as the computer or server itself, or a hardware module of Li Jiwei's computer or server, the prediction device includes a data acquisition module 10 and a prediction execution module 20 .

数据获取模块用于获取目标区域的气象数据。The data acquisition module is used to acquire the meteorological data of the target area.

这里的目标区域是指对需要太阳短期辐照强度进行预测的区域,该区域内存在相应的光伏电站,气象数据是指在实施预测时该光伏电子所处的目标区域的气温、湿度、风力、云层、日期、经纬度等数据。The target area here refers to the area that needs to predict the short-term solar radiation intensity, there is a corresponding photovoltaic power station in this area, and the meteorological data refers to the temperature, humidity, wind, wind, etc. Data such as cloud cover, date, latitude and longitude.

预测执行模块用于利用气象数据对目标区域的太阳短期辐照强度进行预测。The forecast execution module is used for forecasting the short-term solar irradiance intensity of the target area by using the meteorological data.

本申请利用由GCN模型和空洞卷积模型混合而成的混合预测模型对上述气象数据进行处理,得到该目标区域的太阳短期辐照强度。The present application processes the above-mentioned meteorological data by using a hybrid prediction model composed of a GCN model and a hollow convolution model to obtain the short-term solar radiation intensity of the target area.

从上述技术方案可以看出,本实施例提供了一种短期太阳辐照强度的预测装置,该装置应用于电子设备,具体为获取目标区域的气象数据;利用由GCN模型和空洞卷积模型混合构建而成的混合预测模型对气象数据进行处理,得到目标区域在将来时段的短期太阳辐射强度。本申请通过在时间和空间两个维度对模光伏电站及其周围区域的气象数据进行处理,并通过融合这两部分预测太阳短期辐照强度,为电力系统的稳定运行提供了控制依据。It can be seen from the above technical solutions that this embodiment provides a short-term solar radiation intensity prediction device, which is applied to electronic equipment, specifically to obtain meteorological data of a target area; using a mixture of a GCN model and a hole convolution model The constructed hybrid prediction model processes the meteorological data to obtain the short-term solar radiation intensity of the target area in the future period. The present application provides a control basis for the stable operation of the power system by processing the meteorological data of the photovoltaic power station and its surrounding areas in the two dimensions of time and space, and by integrating the two parts to predict the short-term solar radiation intensity.

在本申请的一个具体实施方式中,还包括第一构建模块30和第二构建模块40,如图5所示。In a specific embodiment of the present application, a first building module 30 and a second building module 40 are also included, as shown in FIG. 5 .

第一构建模块用于基于空间上联合光伏电站周围区域气象因子数据构建GCN模型。该模块包括第一构建单元和第二构建单元。The first building module is used to build a GCN model based on the regional meteorological factor data around the combined photovoltaic power station in space. The module includes a first building unit and a second building unit.

第一构建单元用于将光伏电站的分布与结构化的气象时间序列定义为无向图Gt=(Vt,ε,W),其中Vt是一个有限的顶点,每个顶点代表时间t的气象因子,ε是边的集合,W是图的邻接矩阵。图上的气象因子数据预测可以它可以写成Eq(11):The first building unit is used to define the distribution and structured meteorological time series of photovoltaic power plants as an undirected graph G t =(V t ,ε,W), where V t is a finite vertex, and each vertex represents time t The meteorological factor of , ε is the set of edges, and W is the adjacency matrix of the graph. The meteorological factor data forecast on the graph can be written as Eq(11):

Figure BDA0003490190610000091
Figure BDA0003490190610000091

第二构建单元用于将图卷积网络(GCN)通过在谱域中用图傅里叶变换进行计算,将CNN推广到图域中。它可以写成Eq(12),The second building unit is used to generalize the CNN to the graph domain by computing the graph convolutional network (GCN) with graph Fourier transform in the spectral domain. It can be written as Eq(12),

gθ(·)*x=Ugθ(Λ)UTx (12)g θ (·)*x=Ug θ (Λ)U T x (12)

其中,U是归一化图拉普拉斯的特征向量矩阵L=IN-D-1/ 2AD-1/ 2=UΛU,其特征值的对角矩阵Λ,UTx是x的图傅里叶变换。where U is the eigenvector matrix of the normalized graph Laplacian L=I N -D -1/ 2 AD -1/ 2 =UΛU, the diagonal matrix Λ of its eigenvalues, U T x is the graph of x Fourier transform.

根据光伏电站的分布情况将数据组织成图,可以有效地利用空间信息,同时我们在结构化数据上直接应用图卷积运算,提取空间域的深层模式和特征。然而,Eq(2)中特征向量的矩阵乘法对于大型图来说可能计算成本很高,可以采用切比雪夫多项式近似法和分层线性公式来克服这个问题。Data is organized into graphs according to the distribution of photovoltaic power plants, which can effectively utilize spatial information. At the same time, we directly apply graph convolution operations on structured data to extract deep patterns and features in the spatial domain. However, matrix multiplication of eigenvectors in Eq(2) can be computationally expensive for large graphs, which can be overcome using Chebyshev polynomial approximations and hierarchical linear formulations.

为了降低时间复杂度,滤波器由切比雪夫多项式Tk(x)的截断扩展近似到Kth次。然后我们可以把图卷积重写为Eq(13),In order to reduce the time complexity, the filter is approximated by a truncated extension of the Chebyshev polynomial Tk (x) to degree Kth . Then we can rewrite the graph convolution as Eq(13),

Figure BDA0003490190610000092
Figure BDA0003490190610000092

其中,

Figure BDA0003490190610000093
可以通过(UΛUT)k=UΛkUT来计算。通过多项式近似计算K-局部卷积,可以降低Eq(13)的时间复杂度。in,
Figure BDA0003490190610000093
It can be calculated by ( UΛUT ) k = UΛkUT . The time complexity of Eq(13) can be reduced by computing K-local convolutions by polynomial approximation.

通过限制K=1,图卷积函数可以在图拉普拉斯上变成线性。此外,由于神经网络可以适应规模变化,我们可以对λmax=2进行近似。它可以写成Eq(14),By restricting K=1, the graph convolution function can become linear on the graph Laplacian. Furthermore, since the neural network can adapt to scale changes, we can approximate λ max =2. It can be written as Eq(14),

Figure BDA0003490190610000094
Figure BDA0003490190610000094

其中θ0和θ1是两个共享的滤波器参数。为了减少过拟合和数值操作的发生,可以将θ0和θ1交换为一个参数θ,让θ=θ0=-;

Figure BDA0003490190610000095
Figure BDA0003490190610000096
它可以写成Eq(15),where θ 0 and θ 1 are the two shared filter parameters. In order to reduce the occurrence of overfitting and numerical manipulation, θ 0 and θ 1 can be exchanged for a parameter θ, let θ = θ 0 =-;
Figure BDA0003490190610000095
and
Figure BDA0003490190610000096
It can be written as Eq(15),

Figure BDA0003490190610000097
Figure BDA0003490190610000097

第二构建模块用于通过在时间上建模各个目标区域的太阳辐照度时间序列数据构建空洞卷积模型。The second building block is used to build an atrous convolution model by temporally modeling solar irradiance time series data for each target area.

我们都知道,RNN类的模型一直存在耗时问题,并且由于复杂的门控机制,无法应对多变的数据,而CNN具有快速训练的优势,并且可以通过堆叠卷积层实现并行训练过程。因此,我们在输入光伏电站及周边区域太阳辐照度数据的时间维度上应用具有Kt宽度内核的门控线性单元和一维扩张卷积。We all know that RNN-like models have always been time-consuming and cannot cope with changing data due to complex gating mechanisms, while CNN has the advantage of fast training and parallel training processes can be achieved by stacking convolutional layers. Therefore, we apply a gated linear unit with a Kt -width kernel and a 1D dilated convolution on the temporal dimension of the input solar irradiance data of PV plants and surrounding areas.

空洞卷积可以扩大感受野,在深层网络中为了增加感受野且降低计算量,总要进行降采样,这样虽然可以增加感受野,但空间分辨率降低了。为了能不丢失分辨率,且仍然扩大感受野,可以使用空洞卷积。这在预测任务中十分有用。一方面感受野大了可以学习更广泛时空领域上的太阳辐照度数据,另一方面分辨率高了可以精确定位预测时间点。Atrous convolution can expand the receptive field. In order to increase the receptive field and reduce the amount of calculation in the deep network, downsampling is always performed. Although the receptive field can be increased, the spatial resolution is reduced. In order not to lose resolution and still expand the receptive field, atrous convolution can be used. This is useful in prediction tasks. On the one hand, if the sensory field is larger, it is possible to learn solar irradiance data in a wider range of time and space, and on the other hand, if the resolution is higher, the prediction time point can be precisely located.

同时它还能捕获多尺度上下文信息:空洞卷积有一个参数可以设置,具体含义就是在卷积核中填充多个0,因此,当设置不同比例时,感受野就会不一样,也即获取了多尺度的太阳辐照度数据信息。该模型的输入可以看作是长度为M的太阳辐照度序列数据

Figure BDA0003490190610000101
有Ci个通道,核大小为
Figure BDA0003490190610000102
At the same time, it can also capture multi-scale context information: the hole convolution has a parameter that can be set, and the specific meaning is to fill multiple 0s in the convolution kernel. Therefore, when different scales are set, the receptive field will be different, that is, the acquisition of multi-scale solar irradiance data information. The input of this model can be regarded as the solar irradiance sequence data of length M
Figure BDA0003490190610000101
There are C i channels and the kernel size is
Figure BDA0003490190610000102

该模块包括第三构建单元和第四构建单元。第三构建单元用于进入模型后,分别进行两次扩张卷积运算,得到两个大小相同的

Figure BDA0003490190610000103
的输出。它可以写成Eq(21),The module includes a third building unit and a fourth building unit. The third building unit is used to perform two dilated convolution operations after entering the model to obtain two
Figure BDA0003490190610000103
Output. It can be written as Eq(21),

Figure BDA0003490190610000104
Figure BDA0003490190610000104

其中d是控制跳过距离的稀释参数,

Figure BDA0003490190610000105
是核,xt是序列x的第t个值。where d is the dilution parameter controlling the skip distance,
Figure BDA0003490190610000105
is the kernel, and x t is the t-th value of the sequence x.

第四构建单元用于将A和B分别通过sigmoid函数和融合运算,最后进行Hadamard乘积来获得结果。sigmoid函数有助于过滤有助于发现数据的动态变化模式的输入,而非线性门可以捕捉到数据的一般信息。最后,时间卷积可以定义为The fourth building unit is used to pass A and B through the sigmoid function and fusion operation respectively, and finally perform the Hadamard product to obtain the result. The sigmoid function helps filter inputs that help to discover dynamically changing patterns in the data, while the nonlinear gate captures general information about the data. Finally, temporal convolution can be defined as

Figure BDA0003490190610000106
Figure BDA0003490190610000106

其中,σ是sigmoid函数;

Figure BDA0003490190610000107
是元素级的Hadamard乘积运算。where σ is the sigmoid function;
Figure BDA0003490190610000107
is an element-wise Hadamard product operation.

将太阳辐照度数据在时空领域分别建模后,就可以通过混合模型进行气象数。After the solar irradiance data is modeled separately in the space-time domain, the meteorological data can be calculated by the hybrid model.

本申请与现有技术相比的优点及功效在于:The advantages and effects of the present application compared with the prior art are:

本申请为基于GCN和空洞卷积混合模型的短期太辐照度预测的方法,它使用空间时间联合特征来预测缺失区域未来五天的太阳辐照度。由于只能在白天收集太阳辐照度,则预测的时间段为每天的8:00-18:00,则未来5天的预测结果如表1所示。其中,No-Spa是去除GCN模型的方法。No-Spa的结果比GRU和CNN要准确得多,这表明GCN模型可以提取更多的全局空间信息。而本方法(STM)的预测结果则优于No-Spa,证明了捕捉空间和时间特征对于预测太阳辐照度是非常重要和有效的。The present application is a method for short-term solar irradiance prediction based on a hybrid model of GCN and atrous convolution, which uses joint spatiotemporal features to predict the solar irradiance in the missing area for the next five days. Since the solar irradiance can only be collected during the day, the forecasted time period is 8:00-18:00 every day, and the forecast results for the next five days are shown in Table 1. Among them, No-Spa is the method to remove the GCN model. The results of No-Spa are much more accurate than GRU and CNN, indicating that GCN model can extract more global spatial information. The prediction results of this method (STM) are better than that of No-Spa, which proves that capturing spatial and temporal features is very important and effective for predicting solar irradiance.

表2太阳辐照度预测结果Table 2 Prediction results of solar irradiance

Figure BDA0003490190610000111
Figure BDA0003490190610000111

预测结果的可视化如图3所示,由图中可知,本方法(STM)的预测曲线最贴近太阳辐照的真值曲线,而其他方法的曲线在出现波动和震荡的区域和真值曲线相差较大。The visualization of the prediction results is shown in Figure 3. It can be seen from the figure that the prediction curve of this method (STM) is closest to the true value curve of solar radiation, while the curves of other methods are different from the true value curve in the areas where fluctuations and oscillations occur. larger.

实施例三Embodiment 3

本实施例提供了一种电子设备,该电子设备可以理解为具有数据计算和信息处理的计算机或服务器。该电子设备设置有上述实施例的太阳短期辐照强度的预测装置。该装置用于获取目标区域的气象数据;利用由GCN模型和空洞卷积模型混合构建而成的混合预测模型对气象数据进行处理,得到目标区域在将来时段的短期太阳辐射强度。本申请通过在时间和空间两个维度对模光伏电站及其周围区域的气象数据进行处理,并通过融合这两部分预测太阳短期辐照强度,为电力系统的稳定运行提供了控制依据。This embodiment provides an electronic device, which can be understood as a computer or server having data computing and information processing. The electronic device is provided with the device for predicting the short-term solar radiation intensity of the above-mentioned embodiment. The device is used to obtain the meteorological data of the target area; the meteorological data is processed by a hybrid prediction model constructed by mixing the GCN model and the hollow convolution model to obtain the short-term solar radiation intensity of the target area in the future period. The present application provides a control basis for the stable operation of the power system by processing the meteorological data of the photovoltaic power station and its surrounding areas in the two dimensions of time and space, and by integrating the two parts to predict the short-term solar radiation intensity.

实施例四Embodiment 4

图6为本申请实施例的一种电子设备的框图。FIG. 6 is a block diagram of an electronic device according to an embodiment of the present application.

如图6所示,本实施例提供的电子设备可以理解为具有数据计算和信息处理的计算机或服务器。该电子设备至少包括一个处理器101和存储器102,两者通过数据总线103实现连接。As shown in FIG. 6 , the electronic device provided in this embodiment can be understood as a computer or server having data computing and information processing. The electronic device includes at least a processor 101 and a memory 102 , which are connected through a data bus 103 .

该存储器用于存储相应的计算机程序或指令,处理器则用于执行上述计算机程序或指令,以使该电子设备实现实施例一种所描述的太阳短期辐照强度的预测方法。该方法具体为用于获取目标区域的气象数据;利用由GCN模型和空洞卷积模型混合构建而成的混合预测模型对气象数据进行处理,得到目标区域在将来时段的短期太阳辐射强度。本申请通过在时间和空间两个维度对模光伏电站及其周围区域的气象数据进行处理,并通过融合这两部分预测太阳短期辐照强度,为电力系统的稳定运行提供了控制依据。The memory is used to store corresponding computer programs or instructions, and the processor is used to execute the above computer programs or instructions, so that the electronic device implements the method for predicting the short-term solar irradiance intensity described in the embodiment. The method is specifically used to obtain the meteorological data of the target area; the meteorological data is processed by a hybrid prediction model constructed by mixing the GCN model and the hollow convolution model to obtain the short-term solar radiation intensity of the target area in the future period. The present application provides a control basis for the stable operation of the power system by processing the meteorological data of the photovoltaic power station and its surrounding areas in the two dimensions of time and space, and by integrating the two parts to predict the short-term solar radiation intensity.

本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments may be referred to each other.

本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It should be understood by those skilled in the art that the embodiments of the embodiments of the present invention may be provided as a method, an apparatus, or a computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal equipment to produce a machine that causes the instructions to be executed by the processor of the computer or other programmable data processing terminal equipment Means are created for implementing the functions specified in a flow or flows of the flowcharts and/or a block or blocks of the block diagrams.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal equipment to operate in a particular manner, such that the instructions stored in the computer readable memory result in an article of manufacture comprising instruction means, the The instruction means implement the functions specified in the flow or flows of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby executing on the computer or other programmable terminal equipment The instructions executed on the above provide steps for implementing the functions specified in the flowchart or blocks and/or the block or blocks of the block diagrams.

尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。While preferred embodiments of the embodiments of the present invention have been described, additional changes and modifications to these embodiments may be made by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications that fall within the scope of the embodiments of the present invention.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply these entities or there is any such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or terminal device that includes a list of elements includes not only those elements, but also a non-exclusive list of elements. other elements, or also include elements inherent to such a process, method, article or terminal equipment. Without further limitation, an element defined by the phrase "comprises a..." does not preclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.

以上对本发明所提供的技术方案进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The technical solutions provided by the present invention have been described in detail above, and specific examples are used to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present invention; At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. To sum up, the content of this specification should not be construed as a limitation of the present invention.

Claims (10)

1. A method for predicting short-term solar radiation intensity is applied to electronic equipment and is characterized by comprising the following steps:
acquiring meteorological data of a target area;
and processing the meteorological data based on a pre-constructed hybrid prediction model to obtain the short-term solar radiation intensity of the target area in a future period, wherein the hybrid prediction model is constructed by mixing a GCN model and a cavity convolution model.
2. The prediction method of claim 1, further comprising the steps of:
constructing the GCN model based on meteorological factor data of surrounding areas of the spatially combined photovoltaic power station;
the hole convolution model is constructed by modeling temporally the solar irradiance time series data for each of the surrounding regions.
3. The prediction method of claim 2, wherein said constructing the GCN model based on spatially integrating meteorological factor data for a surrounding area of a photovoltaic power plant comprises the steps of:
firstly, the distribution and the structured meteorological time series of the photovoltaic power station are defined as an undirected graph Gt=(Vtε, W) in which VtIs a finite vertex, each vertex represents a meteorological factor at time t, ε is a set of edges, and W is the adjacency matrix of the graph;
and then, calculating the graph convolution network by using graph Fourier transform in a spectrum domain, and popularizing the CNN into the graph domain to obtain the GCN model.
4. The prediction method of claim 2, wherein said constructing said hole convolution model by modeling temporally solar irradiance time series data for each of said surrounding regions comprises the steps of:
firstly, two expanding convolution operations are respectively carried out to obtain two products with the same size
Figure FDA0003490190600000011
Figure FDA0003490190600000012
The A and the B respectively obtain results through a sigmoid function and fusion operation, and finally Hadamard product is carried out;
then, the time convolution can be defined as
Figure FDA0003490190600000013
Obtaining the cavity convolution model, wherein sigma is sigmoid function,
Figure FDA0003490190600000014
is an element-level Hadamard product operation.
5. A device for predicting short-term solar radiation intensity is applied to electronic equipment, and is characterized by comprising:
a data acquisition module configured to acquire meteorological data of a target area;
and the prediction execution module is configured to process the meteorological data based on a pre-constructed hybrid prediction model to obtain the short-term solar radiation intensity of the target area in a future period, and the hybrid prediction model is constructed by mixing a GCN model and a void convolution model.
6. The prediction apparatus of claim 5, further comprising:
a first construction module configured to construct the GCN model based on meteorological factor data spatially combined with surrounding areas of a photovoltaic power plant;
a second construction module configured to construct the hole convolution model by modeling temporally the solar irradiance time series data for each of the surrounding regions.
7. The prediction apparatus of claim 6, wherein the first construction module comprises:
a first construction unit for defining the distribution and the structured meteorological time series of the photovoltaic power station as an undirected graph Gt=(Vtε, W) in which VtIs a finite vertex, each vertex represents a meteorological factor at time t, ε is a set of edges, and W is the adjacency matrix of the graph;
and the second construction unit is used for calculating the graph convolution network by using graph Fourier transform in a spectrum domain, and popularizing the CNN into the graph domain to obtain the GCN model.
8. The prediction apparatus of claim 6, wherein the second construction module comprises:
a third construction unit for performing two times of dilation convolution operations to obtain two signals with the same size
Figure FDA0003490190600000021
The A and the B respectively obtain results through a sigmoid function and fusion operation, and finally Hadamard product is carried out;
a fourth construction unit for defining the time convolution as
Figure FDA0003490190600000022
Obtaining the cavity convolution model, wherein sigma is sigmoid function,
Figure FDA0003490190600000023
is an element-level Hadamard product operation.
9. An electronic device, characterized in that a prediction apparatus according to any one of claims 5 to 8 is provided.
10. An electronic device, characterized in that at least one processor and a memory connected to the processor are provided, wherein:
the memory is for storing a computer program or instructions;
the processor is for the computer program or instructions to cause the electronic device to implement the prediction method of any one of claims 1 to 4.
CN202210094146.1A 2022-01-26 2022-01-26 A method, device and electronic device for predicting short-term solar radiation intensity Pending CN114282737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210094146.1A CN114282737A (en) 2022-01-26 2022-01-26 A method, device and electronic device for predicting short-term solar radiation intensity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210094146.1A CN114282737A (en) 2022-01-26 2022-01-26 A method, device and electronic device for predicting short-term solar radiation intensity

Publications (1)

Publication Number Publication Date
CN114282737A true CN114282737A (en) 2022-04-05

Family

ID=80882027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210094146.1A Pending CN114282737A (en) 2022-01-26 2022-01-26 A method, device and electronic device for predicting short-term solar radiation intensity

Country Status (1)

Country Link
CN (1) CN114282737A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115099461A (en) * 2022-05-25 2022-09-23 中国计量大学 Solar radiation prediction method and system based on dual-branch feature extraction
CN115618714A (en) * 2022-09-09 2023-01-17 北京思源知行科技发展有限公司 Solar radiation probability forecasting method and related equipment
CN115689055A (en) * 2022-11-22 2023-02-03 河海大学 A short-term solar irradiance prediction method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170351970A1 (en) * 2016-06-07 2017-12-07 International Business Machines Corporation Solar irradiation modeling and forecasting using community based terrestrial sky imaging
CN111260154A (en) * 2020-02-17 2020-06-09 河海大学 Short-term solar radiation prediction method and device based on CNN-LSTM
CN111540199A (en) * 2020-04-21 2020-08-14 浙江省交通规划设计研究院有限公司 High-speed traffic flow prediction method based on multi-mode fusion and graph attention machine mechanism
CN111563611A (en) * 2020-04-13 2020-08-21 北京工业大学 Cloud data center renewable energy space-time prediction method for orientation graph convolutional network
CN111814398A (en) * 2020-07-08 2020-10-23 国网河北省电力有限公司 A Graph-Based Prediction Method of Surface Solar Radiance Using Spatio-temporal Attention

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170351970A1 (en) * 2016-06-07 2017-12-07 International Business Machines Corporation Solar irradiation modeling and forecasting using community based terrestrial sky imaging
CN111260154A (en) * 2020-02-17 2020-06-09 河海大学 Short-term solar radiation prediction method and device based on CNN-LSTM
CN111563611A (en) * 2020-04-13 2020-08-21 北京工业大学 Cloud data center renewable energy space-time prediction method for orientation graph convolutional network
CN111540199A (en) * 2020-04-21 2020-08-14 浙江省交通规划设计研究院有限公司 High-speed traffic flow prediction method based on multi-mode fusion and graph attention machine mechanism
CN111814398A (en) * 2020-07-08 2020-10-23 国网河北省电力有限公司 A Graph-Based Prediction Method of Surface Solar Radiance Using Spatio-temporal Attention

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115099461A (en) * 2022-05-25 2022-09-23 中国计量大学 Solar radiation prediction method and system based on dual-branch feature extraction
CN115618714A (en) * 2022-09-09 2023-01-17 北京思源知行科技发展有限公司 Solar radiation probability forecasting method and related equipment
CN115689055A (en) * 2022-11-22 2023-02-03 河海大学 A short-term solar irradiance prediction method and device

Similar Documents

Publication Publication Date Title
Agga et al. CNN-LSTM: An efficient hybrid deep learning architecture for predicting short-term photovoltaic power production
CN113128793A (en) Photovoltaic power combination prediction method and system based on multi-source data fusion
CN110059878A (en) Based on CNN LSTM photovoltaic power generation power prediction model and its construction method
Kim et al. Pan evaporation modeling using neural computing approach for different climatic zones
Shamshirband et al. RETRACTED ARTICLE: A hybrid SVM-FFA method for prediction of monthly mean global solar radiation
CN116720156A (en) Meteorological element forecasting method based on graph neural network multi-modal meteorological data fusion
CN115511220B (en) Ultra-short-term solar radiation prediction method and system based on cross-modal attention mechanism
CN111832800A (en) A kind of photovoltaic power station power prediction method and device
CN114282737A (en) A method, device and electronic device for predicting short-term solar radiation intensity
CN117498321A (en) Distributed photovoltaic output prediction method, system and storage medium
Demirdelen et al. A new method for generating short-term power forecasting based on artificial neural networks and optimization methods for solar photovoltaic power plants
CN116722544B (en) Distributed photovoltaic short-term prediction method and device, electronic equipment and storage medium
CN114418243B (en) Distributed new energy cloud grid prediction method and system
Yu et al. Short-term solar irradiance prediction based on spatiotemporal graph convolutional recurrent neural network
CN115882454A (en) Source load power prediction method and system based on multivariate information fusion
Dhanalakshmi et al. [Retracted] Application of Machine Learning in Multi‐Directional Model to Follow Solar Energy Using Photo Sensor Matrix
CN117036101A (en) Method and system for predicting resident demand response of virtual power plant based on federal learning
Thangavelu et al. Forecasting of solar radiation for a cleaner environment using robust machine learning techniques
Christoforou et al. Spatio-temporal deep learning for day-ahead wind speed forecasting relying on WRF predictions
Liu et al. A Principle-Constrained Wind Field Image Generation Framework for Short-Term Wind Power Forecasting
CN104834981A (en) Method for short-term main-cause-hidden type prediction of power station photovoltaic power
CN118920453A (en) CNN-BiLSTM-SE-based wide-area photovoltaic station power ultra-short-term prediction method and device
Ganvir et al. Prediction of Global Horizontal Irradiance based on eXplainable Artificial Intelligence
CN117833199A (en) Power load prediction method and device by using sparse dynamic graph neural network
Hua Power quality prediction of active distribution network based on CNN-LSTM deep learning model

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20250117