CN112053006A - Optimization time acceleration method and system for combined cooling, heating and power system based on transfer learning - Google Patents
Optimization time acceleration method and system for combined cooling, heating and power system based on transfer learning Download PDFInfo
- Publication number
- CN112053006A CN112053006A CN202010973648.2A CN202010973648A CN112053006A CN 112053006 A CN112053006 A CN 112053006A CN 202010973648 A CN202010973648 A CN 202010973648A CN 112053006 A CN112053006 A CN 112053006A
- Authority
- CN
- China
- Prior art keywords
- heating
- source domain
- power system
- combined cooling
- sample class
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001816 cooling Methods 0.000 title claims abstract description 60
- 238000010438 heat treatment Methods 0.000 title claims abstract description 59
- 238000005457 optimization Methods 0.000 title claims abstract description 59
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000001133 acceleration Effects 0.000 title claims abstract description 17
- 238000013526 transfer learning Methods 0.000 title claims description 22
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 42
- 230000002068 genetic effect Effects 0.000 claims abstract description 39
- 238000013508 migration Methods 0.000 claims abstract description 13
- 230000005012 migration Effects 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 6
- 238000003064 k means clustering Methods 0.000 claims description 3
- 230000009467 reduction Effects 0.000 claims description 2
- 238000009826 distribution Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 229910052799 carbon Inorganic materials 0.000 description 1
- 238000007621 cluster analysis Methods 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/12—Computing arrangements based on biological models using genetic models
- G06N3/126—Evolutionary algorithms, e.g. genetic algorithms or genetic programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biophysics (AREA)
- Human Resources & Organizations (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Evolutionary Biology (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- General Health & Medical Sciences (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Primary Health Care (AREA)
- Computing Systems (AREA)
- Public Health (AREA)
- Physiology (AREA)
- Genetics & Genomics (AREA)
- Artificial Intelligence (AREA)
- Biomedical Technology (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- Water Supply & Treatment (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Air Conditioning Control Device (AREA)
Abstract
本发明公开了一种基于迁移学习的冷热电联供系统优化时间加速方法及系统,所述方法包括:接收冷热电联供系统优化历史和优化目标相应的冷热电负荷样本数据,分别记为源域和目标域;分别对源域和目标域中的样本数据进行聚类,得到多个目标域样本类和多个源域样本类;基于最大均值差异对目标域样本类和源域样本类进行比对,判断是否存在匹配的源域样本类数据集;若存在,基于源域样本类数据集,采用迁移学习确定遗传算法的初始种群;若否,随机产生遗传算法的初始种群;基于遗传算法进行冷热电联供系统优化。本发明基于相似历史优化问题,通过迁移学习从历史数据中确定遗传算法初始种群,划定优化解可能存在的区域,实现了冷热电联供系统优化的加速。
The invention discloses a method and system for accelerating the optimization time of a combined cooling, heating and power system based on migration learning. Denote the source domain and the target domain; cluster the sample data in the source domain and the target domain respectively to obtain multiple target domain sample classes and multiple source domain sample classes; based on the maximum mean difference, the target domain sample class and the source domain The sample classes are compared to determine whether there is a matching source domain sample class data set; if so, based on the source domain sample class data set, the initial population of the genetic algorithm is determined by migration learning; if not, the initial population of the genetic algorithm is randomly generated; Optimization of combined cooling, heating and power system based on genetic algorithm. Based on the similar historical optimization problem, the invention determines the initial population of the genetic algorithm from the historical data through migration learning, and delimits the area where the optimal solution may exist, thereby realizing the acceleration of the optimization of the combined cooling, heating and power system.
Description
技术领域technical field
本发明属于冷热电联供系统优化技术领域,尤其涉及一种基于迁移学习的冷热电联供系统优化时间加速方法及系统。The invention belongs to the technical field of optimization of a combined cooling, heating and power supply system, and in particular relates to a method and a system for accelerating the optimization time of a combined cooling, heating and power supply system based on migration learning.
背景技术Background technique
本部分的陈述仅仅是提供了与本公开相关的背景技术信息,不必然构成在先技术。The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.
冷热电联供系统(CombinedCoolingHeatingandPowerSystem,CCHP)通过对能量的优化调度,在满足用户冷、热、电多种负荷需求的同时实现能源的梯级利用,因其高能源利用效率、可灵活调节的供能方案以及经济、低碳效益,已成为分布式能源发展的重要方向之一。现阶段发展较完善的冷热电联供系统优化方法为日前优化,即基于工作前一日预测到的各项有关数据,如用户冷负荷、热负荷、电负荷及天气数据实现优化目标的一种优化模型。该模型以小时为单位决定新能源冷热电联供系统中各主要装置的最优工作计划。Combined Cooling Heating and Power System (CCHP) realizes the cascade utilization of energy while meeting the needs of users for various loads of cooling, heating and electricity through the optimal scheduling of energy. Energy solutions and economic and low-carbon benefits have become one of the important directions for the development of distributed energy. The well-developed CCHP system optimization method at this stage is day-ahead optimization, that is, based on the relevant data predicted the day before the work, such as user cooling load, heating load, electrical load and weather data to achieve the optimization goal. an optimization model. The model determines the optimal work plan of each main device in the new energy combined cooling, heating and power system in units of hours.
日前优化所使用的计算方法大多为遗传算法,遗传算法的基本框架有三,分别为编码、适应度函数和初始群体选取。但由于遗传算法涉及大量个体的计算,当问题复杂时,计算时间将会呈指数上升。据发明人了解,现有文献中利用遗传算法进行冷热电联供系统优化时,大多采用随机产生初始种群的方法,导致系统优化时间长,给系统带来了沉重的计算负担。Most of the calculation methods used for optimization are genetic algorithms. There are three basic frameworks of genetic algorithms, namely coding, fitness function and initial population selection. However, since the genetic algorithm involves the computation of a large number of individuals, when the problem is complex, the computation time will increase exponentially. As far as the inventors know, when genetic algorithms are used to optimize the combined cooling, heating and power system in existing literature, the method of randomly generating initial populations is mostly used, resulting in a long system optimization time and a heavy computational burden on the system.
发明内容SUMMARY OF THE INVENTION
为克服上述现有技术的不足,本发明提供了一种基于迁移学习的冷热电联供系统优化时间加速方法及系统,基于相似历史优化问题,通过迁移学习从历史数据中确定遗传算法初始种群,划定优化解可能存在的区域,实现了冷热电联供系统优化的加速。In order to overcome the above-mentioned shortcomings of the prior art, the present invention provides a method and system for accelerating the optimization time of a combined cooling, heating and power system based on migration learning. Based on similar historical optimization problems, the initial population of genetic algorithm is determined from historical data through migration learning. , to delineate the area where the optimal solution may exist, and to accelerate the optimization of the combined cooling, heating and power system.
为实现上述目的,本发明的一个或多个实施例提供了如下技术方案:To achieve the above object, one or more embodiments of the present invention provide the following technical solutions:
一种基于迁移学习的冷热电联供系统优化时间加速方法,包括以下步骤:A transfer learning-based optimization time acceleration method for a combined cooling, heating and power system, comprising the following steps:
接收冷热电联供系统优化历史和优化目标相应的冷热电负荷样本数据,分别记为源域和目标域;Receive the cooling, heating and power load sample data corresponding to the optimization history of the combined cooling, heating and power system and the optimization target, which are recorded as the source domain and the target domain respectively;
分别对源域和目标域中的样本数据进行聚类,得到多个目标域样本类和多个源域样本类;Clustering the sample data in the source domain and the target domain respectively to obtain multiple target domain sample classes and multiple source domain sample classes;
基于最大均值差异对目标域样本类和源域样本类进行比对,判断是否存在匹配的源域样本类数据集;Compare the target domain sample class with the source domain sample class based on the maximum mean difference to determine whether there is a matching source domain sample class dataset;
若存在,基于源域样本类数据集,采用迁移学习确定遗传算法的初始种群;若否,随机产生遗传算法的初始种群;If it exists, based on the source domain sample class data set, use transfer learning to determine the initial population of the genetic algorithm; if not, randomly generate the initial population of the genetic algorithm;
基于遗传算法进行冷热电联供系统优化。Optimization of combined cooling, heating and power system based on genetic algorithm.
一个或多个实施例提供了一种基于迁移学习的冷热电联供系统优化时间加速系统,包括:One or more embodiments provide a transfer learning-based optimization time acceleration system for a combined cooling, heating and power system, including:
数据获取模块,被配置为:接收冷热电联供系统优化历史和优化目标相应的冷热电负荷样本数据,分别记为源域和目标域;The data acquisition module is configured to: receive the cooling, heating and power load sample data corresponding to the optimization history of the combined cooling, heating and power system and the optimization target, which are respectively recorded as the source domain and the target domain;
数据聚类模块,被配置为:分别对源域和目标域中的样本数据进行聚类,得到多个目标域样本类和多个源域样本类;The data clustering module is configured to: cluster the sample data in the source domain and the target domain respectively to obtain multiple target domain sample classes and multiple source domain sample classes;
初始种群确定模块,被配置为:基于最大均值差异对目标域样本类和源域样本类进行比对,判断是否存在匹配的源域样本类数据集;若存在,基于源域样本类数据集,采用迁移学习确定遗传算法的初始种群;若否,随机产生遗传算法的初始种群;The initial population determination module is configured to: compare the target domain sample class with the source domain sample class based on the maximum mean difference, and determine whether there is a matching source domain sample class data set; if there is, based on the source domain sample class data set, Use transfer learning to determine the initial population of the genetic algorithm; if not, randomly generate the initial population of the genetic algorithm;
系统优化模块,被配置为:基于遗传算法进行冷热电联供系统优化。The system optimization module is configured to: optimize the combined cooling, heating and power system based on the genetic algorithm.
一个或多个实施例提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现所述的基于迁移学习的冷热电联供系统优化时间加速方法。One or more embodiments provide an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the transfer-based learning when the processor executes the program A time-acceleration method for optimization of combined cooling, heating and power systems.
一个或多个实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现所述的基于迁移学习的冷热电联供系统优化时间加速方法。One or more embodiments provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the transfer learning-based method for optimizing time acceleration of a combined cooling, heating and power system.
以上一个或多个技术方案存在以下有益效果:One or more of the above technical solutions have the following beneficial effects:
本发明基于优化问题相应的冷热电负荷样本数据,采用最大均值差异寻找相似的历史冷热电负荷样本数据,即,寻找与当前优化问题相似的历史优化问题相应的数据集,通过迁移学习确定遗传算法的初始种群,从而划定了遗传算法优化解可能存在的区域,实现了冷热电联供系统优化的加速,同时,减小了系统的运算负担。Based on the sample data of cooling, heating and power loads corresponding to the optimization problem, the present invention uses the maximum mean difference to find similar historical cooling, heating and power load sample data, that is, finds a data set corresponding to a historical optimization problem similar to the current optimization problem, and determines through migration learning. The initial population of the genetic algorithm is used to delineate the area where the optimal solution of the genetic algorithm may exist, which realizes the acceleration of the optimization of the combined cooling, heating and power system, and reduces the computational burden of the system.
附图说明Description of drawings
构成本发明的一部分的说明书附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。The accompanying drawings forming a part of the present invention are used to provide further understanding of the present invention, and the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute an improper limitation of the present invention.
图1为本发明实施例中基于迁移学习的冷热电联供系统优化时间加速方法流程图。FIG. 1 is a flowchart of a method for accelerating time optimization of a combined cooling, heating and power system based on transfer learning in an embodiment of the present invention.
具体实施方式Detailed ways
应该指出,以下详细说明都是示例性的,旨在对本发明提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本发明所属技术领域的普通技术人员通常理解的相同含义。It should be noted that the following detailed description is exemplary and intended to provide further explanation of the invention. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本发明的示例性实施方式。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式,此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在特征、步骤、操作、器件、组件和/或它们的组合。It should be noted that the terminology used herein is for the purpose of describing specific embodiments only, and is not intended to limit the exemplary embodiments according to the present invention. As used herein, unless the context clearly dictates otherwise, the singular is intended to include the plural as well, furthermore, it is to be understood that when the terms "comprising" and/or "including" are used in this specification, it indicates that There are features, steps, operations, devices, components and/or combinations thereof.
在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。Embodiments of the invention and features of the embodiments may be combined with each other without conflict.
实施例一Example 1
为解决现有利用遗传算法进行CCHP系统优化存在的不足,本实施例公开了一种基于迁移学习的冷热电联供系统优化时间加速方法,包括以下步骤:In order to solve the deficiencies of existing CCHP system optimization using genetic algorithm, the present embodiment discloses a transfer learning-based method for accelerating the optimization time of combined cooling, heating and power system, including the following steps:
步骤1:接收冷热电联供系统优化相应目标的冷负荷、热负荷、电负荷预测数据,并载入目标域;接收冷热电联供系统优化相应的历史冷负荷、热负荷、电负荷数据,并载入模型库,又称源域。Step 1: Receive the cooling load, heating load, and electric load prediction data of the corresponding target of the combined cooling, heating and power system optimization, and load it into the target domain; data, and load the model library, also known as the source domain.
其中,所述目标冷负荷、热负荷、电负荷预测数据是冷热电联供系统基于待优化问题,根据优化目标得到的。Wherein, the target cooling load, heating load, and electric load prediction data are obtained by the combined cooling, heating and power system based on the problem to be optimized and according to the optimization goal.
步骤2:分别对源域和目标域中的样本数据进行聚类,得到多个目标域样本类和多个源域样本类。Step 2: Cluster the sample data in the source domain and the target domain respectively to obtain multiple target domain sample classes and multiple source domain sample classes.
对于进化种群产生的源域或目标域样本而言,由于所优化问题通常包含若干个峰值,此时将源域或目标域中所有样本看成服从同一分布的整体,并采用MMD判断源域和目标域问题的相似性,将很难准确评价出它们的相似程度。鉴于此,本文首先采用K-means算法对源域和目标域中样本分别进行聚类,并假设聚类后每一类中的样本服从同一分布(设聚类后共j个样本类)。具体地,把每个样本对应的冷、热、电负荷数据作为多维数据,以欧式距离计算样本之间的距离。For the source domain or target domain samples generated by the evolutionary population, since the optimization problem usually contains several peaks, all samples in the source domain or target domain are regarded as a whole subject to the same distribution, and MMD is used to judge the source domain and the target domain. The similarity of the target domain problems will be difficult to accurately evaluate their similarity. In view of this, this paper firstly uses the K-means algorithm to cluster the samples in the source domain and the target domain respectively, and assumes that the samples in each class after clustering obey the same distribution (set a total of j sample classes after clustering). Specifically, the cold, heat, and electric load data corresponding to each sample are used as multi-dimensional data, and the distance between samples is calculated by Euclidean distance.
本实施例采用K-means聚类算法执行聚类。K-means算法源于信号处理中的一种向量量化方法,现在则更多地作为一种聚类分析方法流行于数据挖掘领域。K-means聚类的目的是:把n个点划分到k个聚类中,使得每个点都属于离他最近的均值(此即聚类中心)对应的聚类,以之作为聚类的标准。This embodiment uses the K-means clustering algorithm to perform clustering. K-means algorithm originated from a vector quantization method in signal processing, and now it is more popular in the field of data mining as a cluster analysis method. The purpose of K-means clustering is to divide n points into k clusters, so that each point belongs to the cluster corresponding to the nearest mean (this is the cluster center), which is used as the clustering standard.
步骤3:基于最大均值差异对目标域样本类和源域样本类进行比对,判断是否存在匹配的源域样本类数据集,若存在,执行步骤4,否则随机产生遗传算法的初始种群。Step 3: Compare the target domain sample class with the source domain sample class based on the maximum mean difference, and determine whether there is a matching source domain sample class data set. If there is, go to Step 4, otherwise randomly generate the initial population of the genetic algorithm.
最大均值差异(MMD)是一种用来判断两个数据分布是否相同的指标,最初主要用于双样本的检测问题。MMD的基本原理为:假设有一个满足Q1分布的源域数据集和一个满足Q2分布的目标域域数据集令H为再生希尔伯特空间(RKHS),并且存在一个从原始空间到希尔伯特空间的映射函数那么,当n和m趋于无穷时,Xs和Xt在RKHS上的最大均值差异可以表示为:Maximum mean difference (MMD) is an indicator used to judge whether two data distributions are the same, and was originally mainly used for two-sample detection problems. The basic principle of MMD is: Assume that there is a source domain dataset that satisfies the Q1 distribution and a target domain dataset that satisfies the Q2 distribution Let H be a regenerated Hilbert space (RKHS) and there exists a mapping function from the original space to the Hilbert space Then, when n and m tend to infinity, the maximum mean difference of X s and X t on RKHS can be expressed as:
所述步骤3具体包括:The step 3 specifically includes:
步骤3.1:针对每个目标域样本类,基于最大均值差异确定与其差异最小的源域样本类,记为匹配样本类;Step 3.1: For each target domain sample class, determine the source domain sample class with the smallest difference based on the maximum mean difference, and record it as the matching sample class;
具体地,令模型库样本类为源域数据集,待优化问题样本类为目标域数据集,具体地,针对目标域中每一个样本类,分别计算其与模型库中所有历史模型样本类的最大均值差异f(Xs,Xt)。本实施例中,对于目标域中j个样本类,首先初始化k=1,计算该样本类与模型库中第k个历史模型样本类的最大均值差异的平均值,记为Avek;然后,令k=k+1,直到求出该样本类与与模型库中所有历史模型的最大均值差异Avek,k=1,2,3,…,取Ave值最小的历史模型样本类,作为该样本类的匹配样本类。Specifically, let the sample class of the model library be the source domain data set, and the sample class of the problem to be optimized be the target domain data set. Specifically, for each sample class in the target domain, calculate the difference between it and all the historical model sample classes in the model library Maximum mean difference f(X s , X t ). In this embodiment, for j sample classes in the target domain, first initialize k=1, calculate the average value of the maximum mean difference between the sample class and the kth historical model sample class in the model library, and denote it as Ave k ; then, Let k=k+1, until the maximum mean difference Ave k between the sample class and all historical models in the model library is obtained, k=1, 2, 3, ..., take the sample class of the historical model with the smallest Ave value as the The matching sample class for the sample class.
基于上述方法,即得到了每个目标域样本类相应的匹配样本类。Based on the above method, the corresponding matching sample class of each target domain sample class is obtained.
步骤3.2:计算目标域样本类与其相应匹配样本类之间最大均值差异的平均值,若平均值小于设定阈值,则认为存在匹配的源域样本类数据集,即各个目标域样本类相应的匹配样本类对应的样本数据集合。Step 3.2: Calculate the average value of the maximum mean difference between the target domain sample class and its corresponding matching sample class. If the average value is less than the set threshold, it is considered that there is a matching source domain sample class data set, that is, the corresponding target domain sample class. Match the sample data set corresponding to the sample class.
步骤4:则通过迁移学习确定遗传算法的初始种群。Step 4: Determine the initial population of the genetic algorithm through transfer learning.
执行迁移学习,通过匹配的源域样本类数据集确定待优化问题的初始种群,即从匹配的源域样本类数据集中随机抽出部分个体组成遗传算法的初始种群。Perform transfer learning to determine the initial population of the problem to be optimized through the matched source domain sample class data set, that is, randomly extract some individuals from the matched source domain sample class data set to form the initial population of the genetic algorithm.
步骤5:利用遗传算法对CCHP系统进行日前优化,同时更新模型库。Step 5: Use the genetic algorithm to optimize the CCHP system a few days ago, and update the model library at the same time.
选取新能源冷热电联供系统运行成本日节约率、一次能源日节约率、CO2日减排率综合最优为优化调度目标,使用遗传算法对系统各设备出力计划进行日前优化调度。The daily cost saving rate, primary energy daily saving rate, and CO2 daily emission reduction rate of the new energy combined cooling, heating and power system are selected as the optimal scheduling goals, and the genetic algorithm is used to optimize the output plan of each equipment in the system.
同时,将本次优化结果对应的冷负荷、热负荷、电负荷样本数据加入模型库,即更新模型库。At the same time, the sample data of cooling load, heating load and electric load corresponding to this optimization result are added to the model library, that is, the model library is updated.
实施例二Embodiment 2
本实施例的目的是提供一种基于迁移学习的冷热电联供系统优化时间加速系统,包括:The purpose of this embodiment is to provide a transfer learning-based optimization time acceleration system for a combined cooling, heating and power system, including:
数据获取模块,被配置为:接收冷热电联供系统优化历史和优化目标相应的冷热电负荷样本数据,分别记为源域和目标域;The data acquisition module is configured to: receive the cooling, heating and power load sample data corresponding to the optimization history of the combined cooling, heating and power system and the optimization target, which are respectively recorded as the source domain and the target domain;
数据聚类模块,被配置为:分别对源域和目标域中的样本数据进行聚类,得到多个目标域样本类和多个源域样本类;The data clustering module is configured to: cluster the sample data in the source domain and the target domain respectively to obtain multiple target domain sample classes and multiple source domain sample classes;
初始种群确定模块,被配置为:基于最大均值差异对目标域样本类和源域样本类进行比对,判断是否存在匹配的源域样本类数据集;若存在,基于源域样本类数据集,采用迁移学习确定遗传算法的初始种群;若否,随机产生遗传算法的初始种群;The initial population determination module is configured to: compare the target domain sample class with the source domain sample class based on the maximum mean difference, and determine whether there is a matching source domain sample class data set; if there is, based on the source domain sample class data set, Use transfer learning to determine the initial population of the genetic algorithm; if not, randomly generate the initial population of the genetic algorithm;
系统优化模块,被配置为:基于遗传算法进行冷热电联供系统优化。The system optimization module is configured to: optimize the combined cooling, heating and power system based on the genetic algorithm.
实施例三Embodiment 3
本实施例的目的是提供一种电子设备。The purpose of this embodiment is to provide an electronic device.
一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如实施例一所述的基于迁移学习的冷热电联供系统优化时间加速方法。An electronic device, comprising a memory, a processor and a computer program stored on the memory and running on the processor, when the processor executes the program, the transfer learning-based cold-heat-electricity system as described in the first embodiment is realized Joint supply system optimization time acceleration method.
实施例四Embodiment 4
本实施例的目的是提供一种计算机可读存储介质。The purpose of this embodiment is to provide a computer-readable storage medium.
一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如实施例一所述的基于迁移学习的冷热电联供系统优化时间加速方法。A computer-readable storage medium stores a computer program thereon, and when the program is executed by a processor, implements the method for accelerating the optimization time of a combined cooling, heating and power system based on migration learning as described in the first embodiment.
以上实施例二、三和四的装置中涉及的各步骤与方法实施例一相对应,具体实施方式可参见实施例一的相关说明部分。术语“计算机可读存储介质”应该理解为包括一个或多个指令集的单个介质或多个介质;还应当被理解为包括任何介质,所述任何介质能够存储、编码或承载用于由处理器执行的指令集并使处理器执行本发明中的任一方法。The steps involved in the apparatuses of the second, third, and fourth embodiments above correspond to the method embodiment 1, and the specific implementation can refer to the relevant description part of the embodiment 1. The term "computer-readable storage medium" should be understood to include a single medium or multiple media including one or more sets of instructions; it should also be understood to include any medium capable of storing, encoding or carrying for use by a processor The executed instruction set causes the processor to perform any of the methods of the present invention.
采用以上一个或多个实施例中的技术方案,能够改善单独使用遗传算法对新能源冷热电联供系统进行日前优化所产生的计算时间过长的问题,将迁移学习的思想融入到遗传算法中,从已解决的相似历史问题中提取有价值的历史信息,用来指导新问题的优化求解,该方法可以加速种群的进化过程,提高系统优化的效率。By adopting the technical solutions in one or more of the above embodiments, the problem of too long calculation time caused by using the genetic algorithm alone to optimize the new energy combined cooling, heating and power system can be improved, and the idea of transfer learning is integrated into the genetic algorithm. In the method, valuable historical information is extracted from the similar historical problems that have been solved to guide the optimal solution of new problems. This method can accelerate the evolution process of the population and improve the efficiency of system optimization.
本领域技术人员应该明白,上述本发明的各模块或各步骤可以用通用的计算机装置来实现,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。本发明不限制于任何特定的硬件和软件的结合。Those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by the computing device, so that they can be stored in a storage device. The device is executed by a computing device, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps in them are fabricated into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.
上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, they do not limit the scope of protection of the present invention. Those skilled in the art should understand that on the basis of the technical solutions of the present invention, those skilled in the art do not need to pay creative efforts. Various modifications or deformations that can be made are still within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010973648.2A CN112053006A (en) | 2020-09-16 | 2020-09-16 | Optimization time acceleration method and system for combined cooling, heating and power system based on transfer learning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010973648.2A CN112053006A (en) | 2020-09-16 | 2020-09-16 | Optimization time acceleration method and system for combined cooling, heating and power system based on transfer learning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112053006A true CN112053006A (en) | 2020-12-08 |
Family
ID=73604486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010973648.2A Pending CN112053006A (en) | 2020-09-16 | 2020-09-16 | Optimization time acceleration method and system for combined cooling, heating and power system based on transfer learning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112053006A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112766733A (en) * | 2021-01-21 | 2021-05-07 | 山东大学 | Method and system for accelerating convergence of optimized scheduling algorithm by using improved K-means algorithm |
CN112800352A (en) * | 2021-02-05 | 2021-05-14 | 大连海事大学 | A Heterogeneous Migration Behavior Recognition Method Based on the Combination of Features and Instances |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617460A (en) * | 2013-12-06 | 2014-03-05 | 天津大学 | Double-layer optimization planning and designing method for combined cooling, heating and power micro-grid system |
CN105787513A (en) * | 2016-03-01 | 2016-07-20 | 南京邮电大学 | Transfer learning design method and system based on domain adaptation under multi-example multi-label framework |
CN108414226A (en) * | 2017-12-25 | 2018-08-17 | 哈尔滨理工大学 | Fault Diagnosis of Roller Bearings under the variable working condition of feature based transfer learning |
CN110990769A (en) * | 2019-11-26 | 2020-04-10 | 厦门大学 | A Pose Transfer Algorithm Framework for Multi-DOF Robots |
-
2020
- 2020-09-16 CN CN202010973648.2A patent/CN112053006A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617460A (en) * | 2013-12-06 | 2014-03-05 | 天津大学 | Double-layer optimization planning and designing method for combined cooling, heating and power micro-grid system |
CN105787513A (en) * | 2016-03-01 | 2016-07-20 | 南京邮电大学 | Transfer learning design method and system based on domain adaptation under multi-example multi-label framework |
CN108414226A (en) * | 2017-12-25 | 2018-08-17 | 哈尔滨理工大学 | Fault Diagnosis of Roller Bearings under the variable working condition of feature based transfer learning |
CN110990769A (en) * | 2019-11-26 | 2020-04-10 | 厦门大学 | A Pose Transfer Algorithm Framework for Multi-DOF Robots |
Non-Patent Citations (2)
Title |
---|
张士杰, 李宇红, 叶大均: "燃机热电冷联供自备电站优化配置研究", 中国电机工程学报, no. 10, 17 October 2004 (2004-10-17), pages 1 - 6 * |
张士杰, 李宇红, 叶大均: "燃机热电冷联供自备电站优化配置研究", 中国电机工程学报, no. 10, pages 1 - 6 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112766733A (en) * | 2021-01-21 | 2021-05-07 | 山东大学 | Method and system for accelerating convergence of optimized scheduling algorithm by using improved K-means algorithm |
CN112766733B (en) * | 2021-01-21 | 2023-04-18 | 山东大学 | Method and system for accelerating convergence of optimized scheduling algorithm by using improved K-means algorithm |
CN112800352A (en) * | 2021-02-05 | 2021-05-14 | 大连海事大学 | A Heterogeneous Migration Behavior Recognition Method Based on the Combination of Features and Instances |
CN112800352B (en) * | 2021-02-05 | 2023-06-16 | 大连海事大学 | Heterogeneous migration behavior identification method based on combination of features and examples |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Vora et al. | A survey on k-mean clustering and particle swarm optimization | |
CN111428816A (en) | Non-invasive load decomposition method | |
CN110458187B (en) | A malicious code family clustering method and system | |
CN112800231B (en) | Power data verification method and device, computer equipment and storage medium | |
CN112053006A (en) | Optimization time acceleration method and system for combined cooling, heating and power system based on transfer learning | |
CN118494113A (en) | Electric vehicle thermal management system and method based on intelligent control technology | |
CN114612659A (en) | Power equipment segmentation method and system based on fusion mode contrast learning | |
CN111797899B (en) | A kmeans clustering method and system for low-pressure station areas | |
CN118708947B (en) | Malicious load identification method, malicious load identification device and computer storage medium | |
WO2021258961A1 (en) | Network traffic classification method and system based on improved k-means algorithm | |
CN114049516A (en) | Training method, image processing method, device, electronic device and storage medium | |
CN113344073A (en) | Daily load curve clustering method and system based on fusion evolution algorithm | |
CN118296408A (en) | High-proportion new energy uncertainty scene generation method and system based on hybrid clustering | |
CN116882596A (en) | A method to improve the computing efficiency of day-ahead stochastic optimization problems of combined heat and power systems | |
CN115526267A (en) | Power distribution network operation scene extraction method and device | |
CN116027874A (en) | Notebook computer power consumption control method and system thereof | |
CN109299725A (en) | A prediction system and device for parallel realization of high-order principal eigenvalue decomposition based on tensor chain | |
CN110910029A (en) | Power load clustering method and system | |
WO2021037284A2 (en) | Propeller airfoil design method and terminal device | |
CN114185956A (en) | Data mining method based on canty and k-means algorithm | |
CN113919542A (en) | Distribution network edge side load identification method and device and terminal equipment | |
Ling et al. | Optimization of the distributed K-means clustering algorithm based on set pair analysis | |
Yang et al. | t-SNE based on Halton sequence initialized butterfly optimization algorithm | |
CN112491971B (en) | Method, device, equipment and product for dispatching computing cluster nodes | |
CN118733283B (en) | A method and system for intelligent optimization of data collection tasks in a big data system |
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 |