CN114912546A - Energy data aggregation method and device - Google Patents
Energy data aggregation method and device Download PDFInfo
- Publication number
- CN114912546A CN114912546A CN202210668397.6A CN202210668397A CN114912546A CN 114912546 A CN114912546 A CN 114912546A CN 202210668397 A CN202210668397 A CN 202210668397A CN 114912546 A CN114912546 A CN 114912546A
- Authority
- CN
- China
- Prior art keywords
- data
- model
- aggregated
- individual physical
- cluster model
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- 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)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Supply And Distribution Of Alternating Current (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种能源数据的聚合方法及装置,其方法包括:获取可再生能源数据和待测的能源数据,基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型,划分所述可再生能源数据为训练集数据和测试集数据,基于K均值聚类算法、所述训练集数据和所述测试集数据,对所述个体物理模型和所述聚合集群模型进行训练和验证,得到目标个体物理模型和目标聚合集群模型,将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据。有利于解决社会闲散分布式可再生资源难以汇聚的技术问题,统一了可再生资源的接入标准。
The invention discloses a method and device for aggregating energy data. The method includes: acquiring renewable energy data and energy data to be measured, and establishing an individual physical model and an aggregated cluster model of renewable energy based on the renewable energy data , divide the renewable energy data into training set data and test set data, and train the individual physical model and the aggregated cluster model based on the K-means clustering algorithm, the training set data and the test set data and verification, obtain the target individual physical model and the target aggregation cluster model, input the energy data to be measured into the target individual physical model and the target aggregation cluster model, and obtain the predicted aggregation index data of the energy data to be measured . It is conducive to solving the technical problem that the social idle distributed renewable resources are difficult to aggregate, and unifies the access standards of renewable resources.
Description
技术领域technical field
本发明涉及电力系统分布式能源的技术领域,尤其涉及一种能源数据的聚合方法及装置。The present invention relates to the technical field of distributed energy in power systems, and in particular, to a method and device for aggregating energy data.
背景技术Background technique
随着社会对能源的需求日益增加,“双碳目标”的提出推动能源结构转型,分布式可再生能源也迎来了海量增长。包括分布式光伏、分布式风机、分布式储能、电动汽车以及灵活性负荷在内的多类型异构的海量分布式可再生资源给电网提供了经济的清洁能源,并且可以因地制宜充分发挥不同地区特有的风光资源优势,也可以通过削峰填谷、调频、需求响应保障电网的安全经济运行。目前,海量分布式可再生能源在能源占比中快速提升,数量巨大,种类繁多。但地理分布分散,从属权不统一,其发电特性存在因气候、人为因素的不确定性,若其无序直接接入电网,一方面不仅会造成管理困难,给电网带来冲击,另一方面也会造成社会闲散资源的浪费,不能保障可再生资源的充分消纳。鉴于此,结合海量分布式可再生资源体量小、分布分散、从属权不一的特点,可通过一些中间机构进行汇聚来统一接入,从而增强电力系统的灵活性。With the increasing demand for energy in society, the proposal of the "Dual-Carbon Goal" has promoted the transformation of the energy structure, and distributed renewable energy has also ushered in massive growth. Various types of heterogeneous and massive distributed renewable resources, including distributed photovoltaics, distributed wind turbines, distributed energy storage, electric vehicles and flexible loads, provide the grid with economical and clean energy, and can give full play to different regions according to local conditions. The unique advantages of wind and solar resources can also ensure the safe and economic operation of the power grid through peak shaving, frequency regulation, and demand response. At present, massive distributed renewable energy is rapidly increasing in the proportion of energy, with a huge number and a wide variety of types. However, the geographical distribution is scattered, the subordinate rights are not unified, and its power generation characteristics are uncertain due to climate and human factors. If it is directly connected to the power grid in a disorderly manner, it will not only cause management difficulties and bring impact to the power grid, on the other hand. It will also cause waste of idle resources in the society, and cannot guarantee the full consumption of renewable resources. In view of this, combined with the characteristics of small volume, scattered distribution, and different subordinate rights of massive distributed renewable resources, some intermediate institutions can be aggregated for unified access, thereby enhancing the flexibility of the power system.
针对海量分布式可再生资源的汇聚与接入,当前国内外主流实践主要是通过聚合商、虚拟电厂等形式来接入,通过汇聚后将其视为“准常规电源”的形式来参与日前计划整体响应调度指令。对于各类分布式可再生能源的有效利用,需要建立标准化的模型,既要满足各类资源屏蔽底层物理特性以保证开放性属性的对外可控特性,又要符合各类资源自身的异构特性。For the aggregation and access of massive distributed renewable resources, the current mainstream practice at home and abroad is mainly to access through aggregators, virtual power plants and other forms. Respond to scheduling commands as a whole. For the effective use of various distributed renewable energy, it is necessary to establish a standardized model, which not only needs to meet the external controllability of various resources to shield the underlying physical characteristics to ensure the openness attribute, but also conform to the heterogeneous characteristics of various resources themselves. .
当前,接入电网运行的分布式可再生能源多为大型的风电场和光伏机组,对社会上闲散的体量巨大的分布式资源缺乏有效的利用手段。At present, the distributed renewable energy connected to the power grid is mostly large-scale wind farms and photovoltaic units, which lack effective means of utilizing the huge amount of idle distributed resources in the society.
因此,为了统一可再生资源的接入标准,解决目前存在的社会闲散分布式可再生资源难以汇聚的技术问题,亟需构建一种能源数据的聚合方法。Therefore, in order to unify the access standards of renewable resources and solve the current technical problem that the social idle distributed renewable resources are difficult to aggregate, it is urgent to build an energy data aggregation method.
发明内容SUMMARY OF THE INVENTION
本发明提供了一种能源数据的聚合方法及装置,解决了目前存在的社会闲散分布式可再生资源难以汇聚的技术问题。The present invention provides a method and device for aggregating energy data, which solves the technical problem that the existing social idle distributed renewable resources are difficult to aggregate.
第一方面,本发明提供了一种能源数据的聚合方法,包括:In a first aspect, the present invention provides a method for aggregating energy data, including:
获取可再生能源数据和待测的能源数据;Obtain renewable energy data and energy data to be measured;
基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型;Based on the renewable energy data, establish an individual physical model and an aggregated cluster model of renewable energy;
划分所述可再生能源数据为训练集数据和测试集数据;dividing the renewable energy data into training set data and test set data;
基于K均值聚类算法、所述训练集数据和所述测试集数据,对所述个体物理模型和所述聚合集群模型进行训练和验证,得到目标个体物理模型和目标聚合集群模型;Based on the K-means clustering algorithm, the training set data and the test set data, the individual physical model and the aggregated cluster model are trained and verified to obtain the target individual physical model and the target aggregated cluster model;
将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据。Inputting the energy data to be measured into the target individual physical model and the target aggregated cluster model to obtain predicted aggregated index data of the energy data to be measured.
可选地,获取可再生能源数据和待测的能源数据,包括:Optionally, obtain renewable energy data and energy data to be measured, including:
获取可再生能源初始数据;Obtain initial data on renewable energy;
对所述可再生能源初始数据进行清理以及修补,得到所述可再生能源数据和所述待测的能源数据。The initial data of renewable energy is cleaned and repaired to obtain the renewable energy data and the energy data to be measured.
可选地,基于K均值聚类算法、所述训练集数据和所述测试集数据,对所述个体物理模型和所述聚合集群模型进行训练和验证,得到目标个体物理模型和目标聚合集群模型,包括:Optionally, based on the K-means clustering algorithm, the training set data and the test set data, the individual physical model and the aggregated cluster model are trained and verified to obtain the target individual physical model and the target aggregated cluster model. ,include:
运用所述K均值聚类算法,结合所述训练集数据,对所述个体物理模型和所述聚合集群模型进行训练,得到训练后的聚合集群模型和训练后的聚合集群模型;Using the K-means clustering algorithm, in combination with the training set data, the individual physical model and the aggregated cluster model are trained to obtain the aggregated cluster model after training and the aggregated cluster model after training;
基于所述测试集数据,验证所述训练后的聚合集群模型和所述训练后的聚合集群模型,得到所述目标个体物理模型和所述目标聚合集群模型。Based on the test set data, the trained aggregate cluster model and the trained aggregate cluster model are verified to obtain the target individual physical model and the target aggregate cluster model.
可选地,运用所述K均值聚类算法,结合所述训练集数据,对所述个体物理模型和所述聚合集群模型进行训练,得到训练后的聚合集群模型和训练后的聚合集群模型,包括:Optionally, using the K-means clustering algorithm, in combination with the training set data, the individual physical model and the aggregated cluster model are trained to obtain a trained aggregated cluster model and a trained aggregated cluster model, include:
将所述训练集数据输入所述个体物理模型和所述聚合集群模型,得到对应的可再生能源数据的预测聚合值;Inputting the training set data into the individual physical model and the aggregated cluster model to obtain a predicted aggregated value of the corresponding renewable energy data;
根据所述训练集数据对应的数据标签和所述预测聚合值,确定训练误差;Determine the training error according to the data label corresponding to the training set data and the predicted aggregate value;
基于所述训练误差,通过所述K均值聚类算法,对所述个体物理模型和所述聚合集群模型进行调整,得到最优参数,并采用所述最优参数,优化所述个体物理模型和所述聚合集群模型,得到所述训练后的聚合集群模型和所述训练后的聚合集群模型。Based on the training error, through the K-means clustering algorithm, the individual physical model and the aggregated cluster model are adjusted to obtain optimal parameters, and the optimal parameters are used to optimize the individual physical model and the aggregated cluster model. For the aggregated cluster model, the trained aggregated cluster model and the trained aggregated cluster model are obtained.
可选地,将所述训练集数据输入所述个体物理模型和所述聚合集群模型,得到对应的可再生能源数据的预测聚合值之前,还包括:Optionally, before inputting the training set data into the individual physical model and the aggregated cluster model to obtain the predicted aggregated value of the corresponding renewable energy data, the method further includes:
初始化所述个体物理模型的参数和所述聚合集群模型的参数。The parameters of the individual physical model and the parameters of the aggregated cluster model are initialized.
第二方面,本发明提供了一种能源数据的聚合装置,包括:In a second aspect, the present invention provides a device for aggregating energy data, including:
获取模块,用于获取可再生能源数据和待测的能源数据;The acquisition module is used to acquire renewable energy data and energy data to be measured;
建立模块,用于基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型;establishing a module for establishing an individual physical model and an aggregated cluster model of renewable energy based on the renewable energy data;
划分模块,用于划分所述可再生能源数据为训练集数据和测试集数据;a dividing module, configured to divide the renewable energy data into training set data and test set data;
训练模块,用于基于K均值聚类算法、所述训练集数据和所述测试集数据,对所述个体物理模型和所述聚合集群模型进行训练和验证,得到目标个体物理模型和目标聚合集群模型;A training module for training and verifying the individual physical model and the aggregated cluster model based on the K-means clustering algorithm, the training set data and the test set data, to obtain a target individual physical model and a target aggregated cluster Model;
指标模块,用于将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据。The indicator module is used for inputting the energy data to be measured into the target individual physical model and the target aggregated cluster model to obtain predicted aggregated indicator data of the energy data to be measured.
可选地,所述获取模块包括:Optionally, the obtaining module includes:
获取子模块,用于获取可再生能源初始数据;Obtain sub-module for obtaining initial data of renewable energy;
修补子模块,用于对所述可再生能源初始数据进行清理以及修补,得到所述可再生能源数据和所述待测的能源数据。The repairing submodule is used for cleaning and repairing the initial data of renewable energy to obtain the renewable energy data and the energy data to be measured.
可选地,所述训练模块包括:Optionally, the training module includes:
训练子模块,用于运用所述K均值聚类算法,结合所述训练集数据,对所述个体物理模型和所述聚合集群模型进行训练,得到训练后的聚合集群模型和训练后的聚合集群模型;A training sub-module for using the K-means clustering algorithm, in combination with the training set data, to train the individual physical model and the aggregated cluster model to obtain a trained aggregated cluster model and a trained aggregated cluster Model;
验证子模块,用于基于所述测试集数据,验证所述训练后的聚合集群模型和所述训练后的聚合集群模型,得到所述目标个体物理模型和所述目标聚合集群模型。A verification submodule, configured to verify the trained aggregate cluster model and the trained aggregate cluster model based on the test set data, and obtain the target individual physical model and the target aggregate cluster model.
可选地,所述训练子模块包括:Optionally, the training submodule includes:
预测单元,用于将所述训练集数据输入所述个体物理模型和所述聚合集群模型,得到对应的可再生能源数据的预测聚合值;a prediction unit, configured to input the training set data into the individual physical model and the aggregated cluster model to obtain a predicted aggregated value of the corresponding renewable energy data;
误差单元,用于根据所述训练集数据对应的数据标签和所述预测聚合值,确定训练误差;an error unit, configured to determine a training error according to the data label corresponding to the training set data and the predicted aggregate value;
优化单元,用于基于所述训练误差,通过所述K均值聚类算法,对所述个体物理模型和所述聚合集群模型进行调整,得到最优参数,并采用所述最优参数,优化所述个体物理模型和所述聚合集群模型,得到所述训练后的聚合集群模型和所述训练后的聚合集群模型。An optimization unit, configured to adjust the individual physical model and the aggregated cluster model through the K-means clustering algorithm based on the training error to obtain optimal parameters, and use the optimal parameters to optimize all the parameters. The individual physical model and the aggregated cluster model are obtained to obtain the trained aggregated cluster model and the trained aggregated cluster model.
可选地,所述训练子模块还包括:Optionally, the training submodule also includes:
参数单元,用于初始化所述个体物理模型的参数和所述聚合集群模型的参数。A parameter unit for initializing parameters of the individual physical model and parameters of the aggregated cluster model.
从以上技术方案可以看出,本发明具有以下优点:本发明提供了一种能源数据的聚合方法,通过获取可再生能源数据和待测的能源数据,基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型,划分所述可再生能源数据为训练集数据和测试集数据,基于K均值聚类算法、所述训练集数据和所述测试集数据,对所述个体物理模型和所述聚合集群模型进行训练和验证,得到目标个体物理模型和目标聚合集群模型,将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据,通过一种能源数据的聚合方法,解决了目前存在的社会闲散分布式可再生资源难以汇聚的技术问题,统一了可再生资源的接入标准。It can be seen from the above technical solutions that the present invention has the following advantages: the present invention provides a method for aggregating energy data, by acquiring renewable energy data and energy data to be measured, and based on the renewable energy data, establishes a renewable energy data The individual physical model and aggregated cluster model of energy, divide the renewable energy data into training set data and test set data, based on the K-means clustering algorithm, the training set data and the test set data, the individual physical The model and the aggregation cluster model are trained and verified to obtain the target individual physical model and the target aggregation cluster model, and the energy data to be measured is input into the target individual physical model and the target aggregation cluster model, and the target individual physical model and the target aggregation cluster model are obtained. The forecast aggregation index data of the measured energy data, through an energy data aggregation method, solves the current technical problem that the social idle distributed renewable resources are difficult to aggregate, and unifies the access standards of renewable resources.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying 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. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本发明的一种能源数据的聚合方法实施例一的流程步骤图;FIG. 1 is a flowchart of a first embodiment of a method for aggregating energy data according to the present invention;
图2为本发明的一种能源数据的聚合方法实施例二的流程步骤图;Fig. 2 is a flow chart of the second embodiment of a method for aggregating energy data according to the present invention;
图3为本发明的一种可再生能源的标准化模型更新流程图;FIG. 3 is a flow chart for updating a standardized model of renewable energy according to the present invention;
图4为本发明的一种能源数据的聚合装置实施例的结构框图。FIG. 4 is a structural block diagram of an embodiment of an energy data aggregation apparatus according to the present invention.
具体实施方式Detailed ways
本发明实施例提供了一种能源数据的聚合方法及装置,用于解决目前存在的社会闲散分布式可再生资源难以汇聚的技术问题。Embodiments of the present invention provide a method and device for aggregating energy data, which are used to solve the technical problem that it is difficult to aggregate social idle distributed renewable resources.
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
实施例一,请参阅图1,图1为本发明的一种能源数据的聚合方法实施例一的流程步骤图,包括:
步骤S101,获取可再生能源数据和待测的能源数据;Step S101, acquiring renewable energy data and energy data to be measured;
需要说明的是,能源数据包括个体光伏阵列数据、风力发电机数据、分布式储能数据、电动汽车数据、灵活性负荷数据以及集群内特性表征数据和集群外特性表征数据。It should be noted that the energy data includes individual photovoltaic array data, wind turbine data, distributed energy storage data, electric vehicle data, flexible load data, as well as intra-cluster characteristic characterization data and out-of-cluster characteristic characterization data.
集群的内特性表征数据包括容量支撑能力(包括基准值和上下边界)、功率支撑能力(包括基准值和上下边界)、动态响应能力和有效汇聚时间比。The internal characteristic data of the cluster include capacity support capability (including reference value and upper and lower boundaries), power support capability (including reference value and upper and lower boundaries), dynamic response capability and effective convergence time ratio.
集群外特性表征数据包括稳定性因子、可靠性因子、网损因子、单位调节功率和动态灵敏度因子。The characteristic data outside the cluster include stability factor, reliability factor, network loss factor, unit regulation power and dynamic sensitivity factor.
在本发明实施例中,获取可再生能源初始数据,对所述可再生能源初始数据进行清理以及修补,得到所述可再生能源数据和所述待测的能源数据。In the embodiment of the present invention, the initial data of renewable energy is acquired, the initial data of renewable energy is cleaned and repaired, and the data of renewable energy and the energy data to be measured are obtained.
步骤S102,基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型;Step S102, based on the renewable energy data, establish an individual physical model and an aggregated cluster model of renewable energy;
需要说明的是,可再生能源的个体物理模型包括个体光伏阵列模型、风力发电机模型、分布式储能模型、电动汽车模型和灵活性负荷模型。It should be noted that the individual physical models of renewable energy include individual photovoltaic array models, wind turbine models, distributed energy storage models, electric vehicle models, and flexible load models.
在本发明实施例中,根据所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型。In the embodiment of the present invention, according to the renewable energy data, an individual physical model and an aggregated cluster model of renewable energy are established.
步骤S103,划分所述可再生能源数据为训练集数据和测试集数据;Step S103, dividing the renewable energy data into training set data and test set data;
步骤S104,基于K均值聚类算法、所述训练集数据和所述测试集数据,对所述个体物理模型和所述聚合集群模型进行训练和验证,得到目标个体物理模型和目标聚合集群模型;Step S104, based on the K-means clustering algorithm, the training set data and the test set data, train and verify the individual physical model and the aggregated cluster model to obtain a target individual physical model and a target aggregated cluster model;
在本发明实施例中,运用所述K均值聚类算法,结合所述训练集数据,对所述个体物理模型和所述聚合集群模型进行训练,得到训练后的聚合集群模型和训练后的聚合集群模型,基于所述测试集数据,验证所述训练后的聚合集群模型和所述训练后的聚合集群模型,得到所述目标个体物理模型和所述目标聚合集群模型。In the embodiment of the present invention, the K-means clustering algorithm is used, combined with the training set data, to train the individual physical model and the aggregated cluster model, to obtain a trained aggregated cluster model and a post-trained aggregated cluster model The cluster model, based on the test set data, verifies the trained aggregated cluster model and the trained aggregated cluster model to obtain the target individual physical model and the target aggregated cluster model.
步骤S105,将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据。Step S105: Input the energy data to be measured into the target individual physical model and the target aggregated cluster model to obtain predicted aggregated index data of the energy data to be measured.
在本发明实施例所提供的一种能源数据的聚合方法,通过获取可再生能源数据和待测的能源数据,基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型,划分所述可再生能源数据为训练集数据和测试集数据,基于K均值聚类算法、所述训练集数据和所述测试集数据,对所述个体物理模型和所述聚合集群模型进行训练和验证,得到目标个体物理模型和目标聚合集群模型,将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据,通过一种能源数据的聚合方法,解决了目前存在的社会闲散分布式可再生资源难以汇聚的技术问题,统一了可再生资源的接入标准。In the method for aggregating energy data provided by the embodiment of the present invention, by acquiring renewable energy data and energy data to be measured, and based on the renewable energy data, an individual physical model and an aggregated cluster model of renewable energy are established, The renewable energy data is divided into training set data and test set data, and based on the K-means clustering algorithm, the training set data and the test set data, the individual physical model and the aggregated cluster model are trained and analyzed. Verify, obtain the target individual physical model and the target aggregation cluster model, input the energy data to be measured into the target individual physical model and the target aggregation cluster model, and obtain the predicted aggregation index data of the energy data to be measured, Through an energy data aggregation method, the existing technical problem that the social idle distributed renewable resources are difficult to aggregate is solved, and the access standard of renewable resources is unified.
实施例二,请参阅图2,图2为本发明的一种能源数据的聚合方法的流程步骤图,包括:Embodiment 2, please refer to FIG. 2. FIG. 2 is a flowchart of a method for aggregating energy data according to the present invention, including:
步骤S201,获取可再生能源初始数据;Step S201, obtaining initial data of renewable energy;
在本发明实施例中,获取可再生能源初始数据,包括个体光伏阵列数据、风力发电机数据、分布式储能数据、电动汽车数据、灵活性负荷数据以及集群内特性表征数据和集群外特性表征数据。In the embodiment of the present invention, the initial data of renewable energy is obtained, including individual photovoltaic array data, wind turbine data, distributed energy storage data, electric vehicle data, flexible load data, as well as in-cluster characteristic characterization data and out-of-cluster characteristic characterization data data.
集群的内特性表征数据包括容量支撑能力(包括基准值和上下边界)、功率支撑能力(包括基准值和上下边界)、动态响应能力和有效汇聚时间比。The internal characteristic data of the cluster include capacity support capability (including reference value and upper and lower boundaries), power support capability (including reference value and upper and lower boundaries), dynamic response capability and effective convergence time ratio.
集群外特性表征数据包括稳定性因子、可靠性因子、网损因子、单位调节功率和动态灵敏度因子。The characteristic data outside the cluster include stability factor, reliability factor, network loss factor, unit regulation power and dynamic sensitivity factor.
步骤S202,对所述可再生能源初始数据进行清理以及修补,得到可再生能源数据和待测的能源数据;Step S202, cleaning and repairing the initial data of renewable energy to obtain renewable energy data and energy data to be measured;
步骤S203,基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型;Step S203, based on the renewable energy data, establish an individual physical model and an aggregated cluster model of renewable energy;
在本发明实施例中,基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型,可再生能源的个体物理模型包括个体光伏阵列模型、风力发电机模型、分布式储能模型、电动汽车模型和灵活性负荷模型。In the embodiment of the present invention, based on the renewable energy data, an individual physical model and an aggregated cluster model of renewable energy are established, and the individual physical model of renewable energy includes an individual photovoltaic array model, a wind turbine model, and a distributed energy storage model. model, electric vehicle model and flexible load model.
在具体实现中,请参阅图3,图3为本发明的一种可再生能源的标准化模型更新流程图,其中,t为时刻,p为发电功率,e为累计发电量,r为爬坡速度,D为外特性因子;In the specific implementation, please refer to Fig. 3, Fig. 3 is a flow chart of updating a standardized model of renewable energy according to the present invention, wherein, t is the time, p is the power generation, e is the accumulated power generation, and r is the ramp speed , D is the external characteristic factor;
分布式可再生资源考虑个体光伏阵列、风力发电机、分布式储能、电动汽车以及灵活性负荷,对其物理层面进行建模内容主要是关于其电气量及约束条件,如下:Distributed renewable resources consider individual photovoltaic arrays, wind turbines, distributed energy storage, electric vehicles and flexible loads. The physical level modeling content is mainly about its electrical quantities and constraints, as follows:
一个通用的灵活资源在时段t的发电特性可以用六元组 描述。分别为聚合商节点i下,第j类且编号为k的灵活资源在第t个时间段的发电功率、累积发电量和爬坡速率的上下界。The power generation characteristics of a general flexible resource at time period t can be represented by the hexatuple describe. Under the aggregator node i, the upper and lower bounds of the power generation, cumulative power generation and ramp rate of the j-th type of flexible resources numbered k in the t-th time period.
对于光伏机组而言,其配备的最大功率点跟踪(Maximum Power Point Tracking,MPPT)技术,可保障光伏电池的参数和负载取得最佳匹配,输出功率始终保持在最大功率点Pm处。基于此,将每时段的Pm预测数值视作最大出力预测为通过电力电子器件,能够从0到连续调节机组出力,PV功率和累计发电量的上下界为:For the photovoltaic unit, the Maximum Power Point Tracking (MPPT) technology it is equipped with can ensure the best match between the parameters of the photovoltaic cell and the load, and the output power is always kept at the maximum power point P m . Based on this, the predicted value of P m in each period is regarded as the maximum output prediction as Through power electronics, it is possible to go from 0 to Continuously adjust the output of the unit, the upper and lower bounds of PV power and cumulative power generation are:
对于风电机组的调控特性与光伏机组类似,能从0到连续调节机组出力,风电机组功率和累计发电量的上下界为:The control characteristics of wind turbines are similar to those of photovoltaic units, which can be adjusted from 0 to The upper and lower bounds of wind turbine power and cumulative power generation are as follows:
较之于光伏机组发电,发电机组出力波动更大且无规律性,更难对进行预测,因此采用风电小时平均出力变化率衡量:Compared with the generation of photovoltaic units, the output of the generator set fluctuates more and has no regularity, which is more difficult to correct. Therefore, the average hourly output change rate of wind power is used to measure:
其中,为风电小时出力变化率,为风电小时出力波动量,为风电额定装机容量。in, is the hourly output change rate of wind power, For the hourly output fluctuation of wind power, It is the rated installed capacity of wind power.
储能运行特性均可基于储能装置在t时刻的电荷量(State of Charge,SOC)进行描述:The energy storage operating characteristics can be described based on the state of charge (SOC) of the energy storage device at time t:
其中,SOC(t)为第t个时段结束时储能的荷电状态;ηc、ηd分别为储能的充、放电效率;Er为储能的额定容量;σ为储能自放电率;Pc、Pd分别为当前时段的充电和放电功率。Among them, SOC(t) is the state of charge of the energy storage at the end of the t-th period; η c and η d are the charging and discharging efficiencies of the energy storage, respectively; E r is the rated capacity of the energy storage; σ is the self-discharge of the energy storage rate; P c and P d are the charging and discharging power of the current period, respectively.
储能装置运行约束:Energy storage device operating constraints:
首先是储能装置充放电功率限制,取单位时间内储能充放电不超过其额定容量的20%,即:The first is the charge and discharge power limit of the energy storage device, and the charge and discharge of the energy storage device in a unit time does not exceed 20% of its rated capacity, that is:
为了防止储能装置的过度充放电,并且有充足的余量进行紧急调度,设定储能的最小荷电量为SOCmin,最大荷电量为SOCmax,即:In order to prevent the overcharge and discharge of the energy storage device and have sufficient margin for emergency dispatch, the minimum charge amount of the energy storage device is set as SOC min and the maximum charge amount as SOC max , namely:
SOCmin≤SOCess(t)≤SOCmax;SOC min ≤SOC ess (t)≤SOC max ;
通常取SOCmin为0.2,SOCmax为0.9。Usually take SOC min as 0.2 and SOC max as 0.9.
储能装置每单位时间所允许的充放电功率随着SOC不断变化,即:The allowable charge and discharge power per unit time of the energy storage device changes continuously with the SOC, namely:
电动汽车的本质仍然是储能,但其作为可移动、用户属性更强的储能带来了更大的不确定性,其用户特性体现出了其社会属性,对电动汽车通过充电桩的角度来进行描述,对电动汽车的出行规律来刻画其社会属性;The essence of electric vehicles is still energy storage, but as a mobile energy storage with stronger user attributes, it brings greater uncertainty, and its user characteristics reflect its social attributes. to describe the travel rules of electric vehicles to describe their social attributes;
电动汽车离家时刻、到家时刻的概率分布服从广义极值分布,出行距离的概率分布服从威布尔Weibull分布,采用蒙特卡洛随机模拟的方式可对电动汽车的出行进行随机仿真,电动汽车单车的离家时刻、到家时刻、出行距离分布函数的反函数为:The probability distribution of the time when the electric vehicle leaves home and when it arrives at home obeys the generalized extreme value distribution, and the probability distribution of the travel distance obeys the Weibull distribution. The Monte Carlo stochastic simulation method can be used to simulate the travel of the electric vehicle randomly. The inverse function of the time of leaving home, the time of arriving home, and the travel distance distribution function is:
其中,xout为电动汽车出行时刻,fPEV,out为电动汽车出行时刻概率密度反函数,yout为电动汽车出行时刻概率,μPEV,out,σPEV,out,ξPEV,out为电动汽车出行时刻概率分布的位置参数、尺度参数和形状参数;xin,fPEV,in,yin,μPEV,in,σPEV,in,ξPEV,in为相应的电动汽车到家时刻、到家时刻概率密度反函数、到家时刻概率、电动汽车到家时刻概率分布的位置参数、尺度参数和形状参数;xdis,fdis,ydis,kdis,λdis为电动汽车出行距离、出行距离概率密度反函数、出行距离概率、出行距离分布函数的形状和尺度参数。Among them, x out is the travel time of the electric vehicle, f PEV,out is the inverse function of the probability density of the electric vehicle travel time, y out is the travel time probability of the electric vehicle, μ PEV,out , σ PEV,out , ξ PEV,out is the electric vehicle The location parameters, scale parameters and shape parameters of the probability distribution of the travel time; x in , f PEV,in , y in , μ PEV,in , σ PEV,in , ξ PEV,in are the corresponding electric vehicle arrival time, the probability of the arrival time Density inverse function, probability of arriving home, location parameters, scale parameters and shape parameters of the probability distribution of electric vehicles when they arrive home; x dis , f dis , y dis , k dis , λ dis are the inverse functions of electric vehicle travel distance and travel distance probability density , the travel distance probability, the shape and scale parameters of the travel distance distribution function.
灵活性负荷从可中断、可平移的角度进行刻画:Flexibility loads are characterized in terms of interruptible, translatable:
可中断负荷资源的数学模型:Mathematical model for interruptible load resources:
资源最大调用次数约束:Resource maximum invocation constraints:
资源可用时段约束:Resource availability period constraints:
资源最小、最大使用时长约束:Resource minimum and maximum usage time constraints:
资源实际运行功率与是否启动响应之间的关系:The relationship between the actual operating power of the resource and whether to start the response:
可中断负荷资源的响应成本:Response cost of interruptible load resource:
其中,SDR为可中断负荷资源集合;yi,t为可中断负荷资源的使用状态;zi,t为该资源的启动变量,上述两组变量均为0-1变量;N为该资源的最大响应次数;Ψuse为可使用时刻构成的集合;Tmin和Tmax分别为资源最小和最大响应时间;pDR,i,t为资源i的实际功率;pi,t,0和PDR,i,t分别为该资源的初始功率和响应功率;ci为可中断负荷资源的单位功率响应成本。Among them, S DR is the set of interruptible load resources; y i,t is the use state of the interruptible load resource; zi ,t is the startup variable of the resource, and the above two sets of variables are both 0-1 variables; N is the resource Ψ use is the set of available moments; T min and T max are the minimum and maximum response times of the resource, respectively; p DR,i,t is the actual power of resource i; p i,t,0 and P DR, i, t are the initial power and response power of the resource, respectively; c i is the unit power response cost of the interruptible load resource.
可平移负荷资源的数学模型:Mathematical model for translatable load resources:
资源最大调用次数约束:Resource maximum invocation constraints:
资源可用时段约束:Resource availability period constraints:
可平移负荷资源移出量与移入量之间的关系:The relationship between the amount of shiftable load resources moved out and in:
资源可移入时段约束:Resources can be moved into the period constraint:
资源实际运行功率:The actual operating power of the resource:
移入变量及响应变量关系:The relationship between the input variable and the response variable:
可平移负荷资源的响应成本:Response cost of translatable load resource:
其中,STR为可平移负荷资源集合;yi,OUT,t为可平移负荷资源i的使用状态;zi,OUT,t为该资源的启动变量,yi,IN,t代表是否再该时段移入负荷,上述三组变量均为0-1变量;Ψin为可移入时刻构成的集合;pTR,i,t为资源i的实际功率;pi,t,0和PTR,i分别为该资源的初始功率和响应功率。Among them, S TR is the set of translatable load resources; y i, OUT, t is the use state of the translatable load resource i; z i, OUT, t is the startup variable of the resource, y i, IN, t represents whether the Period shift-in load, the above three groups of variables are all 0-1 variables; Ψ in is the set formed by the shift-in time; p TR,i,t is the actual power of resource i; p i,t,0 and P TR,i respectively are the initial power and response power of the resource.
集群模型具有双层属性,其向下面对个体聚合的属性,与个体模型类似。但集群层不再区分源储荷,因此下层模型为源储荷三类模型的统一。上层面对调度或市场的集群属性,物理部分,应该由其内特性来表征,即为聚合虚拟的功率的上调和下调能力以及功率基线。The cluster model has a two-layered property, which aggregates down to the properties of the individual, similar to the individual model. However, the cluster layer no longer distinguishes source-storage loads, so the lower model is the unity of the three types of source-storage-load models. The cluster attributes, the physical part, of the upper layer facing scheduling or market, should be characterized by its internal characteristics, namely the power up and down capabilities and power baselines of the aggregated virtual.
采用表示接入集群节点i下,第j类且编号为k的灵活资源在第t个时间段的发电功率。若功率值为正,表示该资源向电网发出有功功率,若其为负值,表示该资源从电网吸收有功功率。采用表示接入集群节点i下,第j类且编号为k的灵活资源在第1到第t个时间段的累积发电量。具体表现如下表所示:use Indicates the generation power of the j-th type of flexible resource numbered k in the t-th time period under the access cluster node i. If the power value is positive, it means that the resource sends active power to the grid, and if it is negative, it means that the resource absorbs active power from the grid. use Indicates the cumulative power generation of the j-th type and number k of flexible resources under the access cluster node i in the first to t-th time periods. The specific performance is shown in the following table:
这个六元组的参数分别表征了该灵活资源在时段t有功功率边界、累积发电量边界和从t到t+1时段爬坡速率边界,即:The parameters of this six-tuple characterize the active power boundary of the flexible resource in the period t, the cumulative power generation boundary and the ramp rate boundary from t to t+1, namely:
其中,分别为集群节点i下,第j类且编号为k的灵活资源在第t个时间段的发电功率、累积发电量和爬坡速率的上下界。in, are the upper and lower bounds of the power generation, cumulative power generation, and ramp rate of the j-th type of flexible resources numbered k in the t-th time period under cluster node i, respectively.
其中,基线功率为集群对其不采取调控手段时的聚合功率,用于确认集群的调控效果,需要以5~30min周期滚动计算。上调下调边界采用个体模型边界计算方法。同时考虑集群聚合评价与集群社会属性形成外特性,最终统一为:Among them, the baseline power is the aggregate power when the cluster does not take control measures on it, which is used to confirm the control effect of the cluster and needs to be calculated in a rolling period of 5 to 30 minutes. The up-regulation and down-regulation boundaries were calculated using the individual model boundary calculation method. At the same time, considering the external characteristics of cluster aggregation evaluation and cluster social attribute formation, the final unity is:
A={C,P,D,T,Sta,Se,L,K,Sen,…}A={C,P,D,T,Sta,Se,L,K,Sen,…}
Sta=f1(C,D,P,T)Sta=f 1 (C,D,P,T)
Se=f2(C,D,P,T)Se=f 2 (C,D,P,T)
L=f3(C,D,P,T,Site(Z))L=f 3 (C,D,P,T,Site(Z))
K=f4(C,D,P,T,Site(Z));K=f 4 (C, D, P, T, Site(Z));
其中,C,P,D,T为集群的内特性表征,分别为容量支撑能力(包括基准值和上下边界)、功率支撑能力(包括基准值和上下边界)、动态响应能力、有效汇聚时间比。St,Se,L,K,Sen为集群外特性表征,分别为稳定性因子、可靠性因子、网损因子、单位调节功率、动态灵敏度因子。Among them, C, P, D, and T are the internal characteristics of the cluster, which are capacity support capability (including reference value and upper and lower boundaries), power support capability (including reference value and upper and lower boundaries), dynamic response capability, and effective convergence time ratio. . St, Se, L, K, and Sen represent the characteristics outside the cluster, which are stability factor, reliability factor, network loss factor, unit adjustment power, and dynamic sensitivity factor.
步骤S204,划分所述可再生能源数据为训练集数据和测试集数据;Step S204, dividing the renewable energy data into training set data and test set data;
步骤S205,运用所述K均值聚类算法,结合所述训练集数据,对所述个体物理模型和所述聚合集群模型进行训练,得到训练后的聚合集群模型和训练后的聚合集群模型;Step S205, using the K-means clustering algorithm, in combination with the training set data, to train the individual physical model and the aggregated cluster model to obtain a trained aggregated cluster model and a trained aggregated cluster model;
在一个可选实施例中,运用所述K均值聚类算法,结合所述训练集数据,对所述个体物理模型和所述聚合集群模型进行训练,得到训练后的聚合集群模型和训练后的聚合集群模型,包括:In an optional embodiment, the K-means clustering algorithm is used to train the individual physical model and the aggregated cluster model in combination with the training set data, to obtain a trained aggregated cluster model and a trained aggregated cluster model. Aggregate cluster model, including:
初始化所述个体物理模型的参数和所述聚合集群模型的参数;initializing the parameters of the individual physical model and the parameters of the aggregated cluster model;
将所述训练集数据输入所述个体物理模型和所述聚合集群模型,得到对应的可再生能源数据的预测聚合值;Inputting the training set data into the individual physical model and the aggregated cluster model to obtain a predicted aggregated value of the corresponding renewable energy data;
根据所述训练集数据对应的数据标签和所述预测聚合值,确定训练误差;Determine the training error according to the data label corresponding to the training set data and the predicted aggregate value;
基于所述训练误差,通过所述K均值聚类算法,对所述个体物理模型和所述聚合集群模型进行调整,得到最优参数,并采用所述最优参数,优化所述个体物理模型和所述聚合集群模型,得到所述训练后的聚合集群模型和所述训练后的聚合集群模型。Based on the training error, through the K-means clustering algorithm, the individual physical model and the aggregated cluster model are adjusted to obtain optimal parameters, and the optimal parameters are used to optimize the individual physical model and the aggregated cluster model. For the aggregated cluster model, the trained aggregated cluster model and the trained aggregated cluster model are obtained.
在本发明实施例中,初始化所述个体物理模型的参数和所述聚合集群模型的参数,将所述训练集数据输入所述个体物理模型和所述聚合集群模型,得到对应的可再生能源数据的预测聚合值,根据所述训练集数据对应的数据标签和所述预测聚合值,确定训练误差,基于所述训练误差,通过所述K均值聚类算法,对所述个体物理模型和所述聚合集群模型进行调整,得到最优参数,并采用所述最优参数,优化所述个体物理模型和所述聚合集群模型,得到所述训练后的聚合集群模型和所述训练后的聚合集群模型。In the embodiment of the present invention, the parameters of the individual physical model and the parameters of the aggregated cluster model are initialized, and the training set data is input into the individual physical model and the aggregated cluster model to obtain corresponding renewable energy data According to the data label corresponding to the training set data and the predicted aggregate value, determine the training error, and based on the training error, through the K-means clustering algorithm, the individual physical model and the The aggregated cluster model is adjusted to obtain optimal parameters, and the optimal parameters are used to optimize the individual physical model and the aggregated cluster model to obtain the trained aggregated cluster model and the trained aggregated cluster model .
步骤S206,基于所述测试集数据,验证所述训练后的聚合集群模型和所述训练后的聚合集群模型,得到所述目标个体物理模型和所述目标聚合集群模型;Step S206, based on the test set data, verify the trained aggregate cluster model and the trained aggregate cluster model, and obtain the target individual physical model and the target aggregate cluster model;
步骤S207,将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据;Step S207, inputting the energy data to be measured into the target individual physical model and the target aggregated cluster model to obtain predicted aggregated index data of the energy data to be measured;
在本发明实施例中,将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据,确定待测的能源数据对应能源的聚合程度。In the embodiment of the present invention, the energy data to be measured is input into the target individual physical model and the target aggregated cluster model, the predicted aggregated index data of the energy data to be measured is obtained, and the energy data to be measured is determined. Corresponds to the degree of aggregation of energy.
在具体实现中,集群的聚合特性取决于参与组合的各类分布式资源特性,以及其内部的资源调控策略。集群服务器需要在允许范围内调整互动资源出力或工作状态,使系统整体功率向目标曲线靠近。由于互动资源响应集群的调控指令,具有一定的功率调节特性,聚合后,集群功率调节能力会产生规模化效应,功率曲线更加平滑。In the specific implementation, the aggregation characteristics of the cluster depend on the characteristics of various distributed resources participating in the combination, as well as the internal resource regulation strategy. The cluster server needs to adjust the interactive resource output or working state within the allowable range, so that the overall power of the system is close to the target curve. Since the interactive resources respond to the regulation commands of the cluster and have certain power regulation characteristics, after aggregation, the cluster power regulation capability will have a scale effect, and the power curve will be smoother.
以并网点为单位对用户所属空间区域进行划分,获得集群的空间聚合特性:The space area to which the user belongs is divided in units of grid connection points to obtain the spatial aggregation characteristics of the cluster:
将分布在不同地理位置处的响应特性聚合后,获得集群的时间聚合特性:After aggregating the response features distributed in different geographic locations, the temporal aggregation features of the cluster are obtained:
式中,Vi,j,k为0-1变量,当Vi,j,k为1时表示参与响应,ΔPGroup,t表示集群在t时段提供的响应值,PGroup,t表示响应后集群在t时段实际聚合负荷值。In the formula, Vi ,j,k are 0-1 variables, when Vi ,j,k is 1, it means participating in the response, ΔP Group,t means the response value provided by the cluster in the t period, P Group,t means the post-response The actual aggregated load value of the cluster at time period t.
在本发明实施例所提供的一种能源数据的聚合方法,通过获取可再生能源数据和待测的能源数据,基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型,划分所述可再生能源数据为训练集数据和测试集数据,基于K均值聚类算法、所述训练集数据和所述测试集数据,对所述个体物理模型和所述聚合集群模型进行训练和验证,得到目标个体物理模型和目标聚合集群模型,将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据,通过一种能源数据的聚合方法,解决了目前存在的社会闲散分布式可再生资源难以汇聚的技术问题,统一了可再生资源的接入标准。In the method for aggregating energy data provided by the embodiment of the present invention, by acquiring renewable energy data and energy data to be measured, and based on the renewable energy data, an individual physical model and an aggregated cluster model of renewable energy are established, The renewable energy data is divided into training set data and test set data, and based on the K-means clustering algorithm, the training set data and the test set data, the individual physical model and the aggregated cluster model are trained and analyzed. Verify, obtain the target individual physical model and the target aggregation cluster model, input the energy data to be measured into the target individual physical model and the target aggregation cluster model, and obtain the predicted aggregation index data of the energy data to be measured, Through an energy data aggregation method, the existing technical problem that the social idle distributed renewable resources are difficult to aggregate is solved, and the access standard of renewable resources is unified.
请参阅图4,图4为本发明的一种能源数据的聚合装置实施例的结构框图,包括:Please refer to FIG. 4. FIG. 4 is a structural block diagram of an embodiment of an energy data aggregation apparatus according to the present invention, including:
获取模块401,用于获取可再生能源数据和待测的能源数据;an
建立模块402,用于基于所述可再生能源数据,建立可再生能源的个体物理模型和聚合集群模型;A
划分模块403,用于划分所述可再生能源数据为训练集数据和测试集数据;A
训练模块404,用于基于K均值聚类算法、所述训练集数据和所述测试集数据,对所述个体物理模型和所述聚合集群模型进行训练和验证,得到目标个体物理模型和目标聚合集群模型;A
指标模块405,用于将所述待测的能源数据输入所述目标个体物理模型和所述目标聚合集群模型,得到所述待测的能源数据的预测聚合指标数据。The
在一个可选实施例中,所述获取模块401包括:In an optional embodiment, the obtaining
获取子模块,用于获取可再生能源初始数据;Obtain sub-module for obtaining initial data of renewable energy;
修补子模块,用于对所述可再生能源初始数据进行清理以及修补,得到所述可再生能源数据和所述待测的能源数据。The repairing submodule is used for cleaning and repairing the initial data of renewable energy to obtain the renewable energy data and the energy data to be measured.
在一个可选实施例中,所述训练模块404包括:In an optional embodiment, the
训练子模块,用于运用所述K均值聚类算法,结合所述训练集数据,对所述个体物理模型和所述聚合集群模型进行训练,得到训练后的聚合集群模型和训练后的聚合集群模型;A training sub-module for using the K-means clustering algorithm, in combination with the training set data, to train the individual physical model and the aggregated cluster model to obtain a trained aggregated cluster model and a trained aggregated cluster Model;
验证子模块,用于基于所述测试集数据,验证所述训练后的聚合集群模型和所述训练后的聚合集群模型,得到所述目标个体物理模型和所述目标聚合集群模型。A verification submodule, configured to verify the trained aggregate cluster model and the trained aggregate cluster model based on the test set data, and obtain the target individual physical model and the target aggregate cluster model.
在一个可选实施例中,所述训练子模块包括:In an optional embodiment, the training submodule includes:
预测单元,用于将所述训练集数据输入所述个体物理模型和所述聚合集群模型,得到对应的可再生能源数据的预测聚合值;a prediction unit, configured to input the training set data into the individual physical model and the aggregated cluster model to obtain a predicted aggregated value of the corresponding renewable energy data;
误差单元,用于根据所述训练集数据对应的数据标签和所述预测聚合值,确定训练误差;an error unit, configured to determine a training error according to the data label corresponding to the training set data and the predicted aggregate value;
优化单元,用于基于所述训练误差,通过所述K均值聚类算法,对所述个体物理模型和所述聚合集群模型进行调整,得到最优参数,并采用所述最优参数,优化所述个体物理模型和所述聚合集群模型,得到所述训练后的聚合集群模型和所述训练后的聚合集群模型。An optimization unit, configured to adjust the individual physical model and the aggregated cluster model through the K-means clustering algorithm based on the training error to obtain optimal parameters, and use the optimal parameters to optimize all the parameters. The individual physical model and the aggregated cluster model are obtained to obtain the trained aggregated cluster model and the trained aggregated cluster model.
在一个可选实施例中,所述训练子模块还包括:In an optional embodiment, the training submodule further includes:
参数单元,用于初始化所述个体物理模型的参数和所述聚合集群模型的参数。A parameter unit for initializing parameters of the individual physical model and parameters of the aggregated cluster model.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,本发明所揭露的方法及装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the method and apparatus disclosed in the present invention may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取可读存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个可读存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的可读存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,RandomAccessMemory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or the whole or part of the technical solution, and the computer software product is stored in a readable storage The medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned readable storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210668397.6A CN114912546B (en) | 2022-06-14 | 2022-06-14 | Energy data aggregation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210668397.6A CN114912546B (en) | 2022-06-14 | 2022-06-14 | Energy data aggregation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114912546A true CN114912546A (en) | 2022-08-16 |
CN114912546B CN114912546B (en) | 2025-06-06 |
Family
ID=82771607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210668397.6A Active CN114912546B (en) | 2022-06-14 | 2022-06-14 | Energy data aggregation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114912546B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116759667A (en) * | 2023-06-26 | 2023-09-15 | 苏州时代华景新能源有限公司 | An energy management method and system for lithium battery energy storage box |
CN117094613A (en) * | 2023-08-14 | 2023-11-21 | 华北电力大学 | Model construction method and device applied to comprehensive energy system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109934402A (en) * | 2019-03-11 | 2019-06-25 | 北京天润新能投资有限公司西北分公司 | A centralized wind power prediction system and its design method for a centralized control center of a wind farm |
CN112909992A (en) * | 2021-01-19 | 2021-06-04 | 国家电网有限公司 | Distributed power supply cluster grid-connected regulation and control system and method based on cloud management side end |
CN114239313A (en) * | 2021-12-25 | 2022-03-25 | 河海大学 | Method for constructing aggregation model of household distributed photovoltaic power generation system |
-
2022
- 2022-06-14 CN CN202210668397.6A patent/CN114912546B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109934402A (en) * | 2019-03-11 | 2019-06-25 | 北京天润新能投资有限公司西北分公司 | A centralized wind power prediction system and its design method for a centralized control center of a wind farm |
CN112909992A (en) * | 2021-01-19 | 2021-06-04 | 国家电网有限公司 | Distributed power supply cluster grid-connected regulation and control system and method based on cloud management side end |
CN114239313A (en) * | 2021-12-25 | 2022-03-25 | 河海大学 | Method for constructing aggregation model of household distributed photovoltaic power generation system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116759667A (en) * | 2023-06-26 | 2023-09-15 | 苏州时代华景新能源有限公司 | An energy management method and system for lithium battery energy storage box |
CN117094613A (en) * | 2023-08-14 | 2023-11-21 | 华北电力大学 | Model construction method and device applied to comprehensive energy system |
CN117094613B (en) * | 2023-08-14 | 2024-05-10 | 华北电力大学 | A model building method and device for integrated energy system |
Also Published As
Publication number | Publication date |
---|---|
CN114912546B (en) | 2025-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105262129B (en) | The Multi objective optimization system and method for a kind of micro-capacitance sensor containing composite energy storage | |
CN104037793B (en) | A kind of energy-storage units capacity collocation method being applied to active distribution network | |
CN113076626B (en) | Distributed photovoltaic limit grid-connected capacity evaluation method based on distributed robust optimization | |
CN110429649B (en) | High-permeability renewable energy cluster division method considering flexibility | |
CN109038560B (en) | Power distribution network distributed energy storage economy evaluation method and system based on operation strategy | |
CN106786977B (en) | A charging scheduling method for an electric vehicle charging station | |
CN110350518B (en) | Power grid energy storage capacity demand assessment method and system for peak shaving | |
CN108710992A (en) | A kind of demand response participates in the appraisal procedure of power grid peak load shifting effect | |
CN111612244B (en) | QRA-LSTM-based method for predicting nonparametric probability of photovoltaic power before day | |
CN114386833B (en) | Active distribution network elasticity assessment and mobile energy storage control method | |
CN110620397A (en) | Peak regulation balance evaluation method for high-proportion renewable energy power system | |
CN104037776A (en) | Reactive power grid capacity configuration method for random inertia factor particle swarm optimization algorithm | |
CN114912546A (en) | Energy data aggregation method and device | |
CN110808600B (en) | A method and system for calculating the connection of battery energy storage stations in substations | |
CN106408452A (en) | Optimal configuration method for electric vehicle charging station containing multiple distributed power distribution networks | |
CN113690925B (en) | A method and system for energy interaction optimization based on microgrid | |
CN107069835B (en) | Real-time active power distribution method and distribution device for new energy power station | |
CN115776138A (en) | Micro-grid capacity planning method and device considering multi-dimensional uncertainty and energy management strategy | |
CN111382518A (en) | Confidence Capacity Evaluation Method for Combined Wind-Storage System | |
CN113364043A (en) | Micro-grid group optimization method based on condition risk value | |
CN115018376A (en) | Load regulation and control optimization method considering novel power system characteristics | |
CN117439090B (en) | Flexible resource allocation or scheduling method using flexible adjustment coefficient as indicator | |
CN113947499A (en) | Optimization method of water, wind and light planning scheme set based on hierarchical optimization model | |
Wang et al. | Two-stage aggregated flexibility evaluation of clustered energy storage stations by considering prediction errors in peak regulation | |
CN114819504B (en) | AC/DC hybrid power distribution network flexibility assessment method based on typical operation scene |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |