[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116402210A - Multi-objective optimization method, system, equipment and medium for comprehensive energy system - Google Patents

Multi-objective optimization method, system, equipment and medium for comprehensive energy system Download PDF

Info

Publication number
CN116402210A
CN116402210A CN202310327782.9A CN202310327782A CN116402210A CN 116402210 A CN116402210 A CN 116402210A CN 202310327782 A CN202310327782 A CN 202310327782A CN 116402210 A CN116402210 A CN 116402210A
Authority
CN
China
Prior art keywords
gas
power
equipment
population
adaptive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310327782.9A
Other languages
Chinese (zh)
Inventor
成岭
刘畅
卜凡鹏
林晶怡
覃剑
李德智
李斌
屈博
蒋利民
李文
李�昊
张静
张思瑞
王占博
李春红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Beijing Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Beijing Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI, State Grid Beijing Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202310327782.9A priority Critical patent/CN116402210A/en
Publication of CN116402210A publication Critical patent/CN116402210A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/28Arrangements for balancing of the load in a network by storage of energy
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/38Arrangements for parallely feeding a single network by two or more generators, converters or transformers
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2300/00Systems for supplying or distributing electric power characterised by decentralized, dispersed, or local generation
    • H02J2300/20The dispersed energy generation being of renewable origin
    • YGENERAL 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS 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/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems 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)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Biophysics (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Power Engineering (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Development Economics (AREA)
  • Operations Research (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • Water Supply & Treatment (AREA)
  • Educational Administration (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)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)

Abstract

The invention provides a multi-objective optimization method, a system, equipment and a medium for an integrated energy system, which comprise the following steps: acquiring installed capacity data of renewable energy sources in an electric-gas interconnection comprehensive energy system and related parameters of system operation; based on the installed capacity data of the renewable energy sources and related parameters of system operation, solving a multi-objective optimal configuration model which is built in advance and comprises electric conversion equipment and multi-class energy storage equipment by adopting a genetic algorithm to obtain an optimal configuration solution set; and selecting an optimal configuration result of the electric-gas interconnection comprehensive energy system from the optimal configuration solution set based on the optimization demand. According to the invention, the multi-objective optimal configuration model comprising the electric conversion equipment and the multi-type energy storage equipment is established, so that the collaborative planning of the electric conversion equipment and the multi-type energy storage equipment is performed, and a more comprehensive optimal configuration scheme which is more in line with the actual situation of the comprehensive energy system can be provided.

Description

一种综合能源系统多目标优化方法、系统、设备和介质A multi-objective optimization method, system, device and medium for integrated energy system

技术领域Technical Field

本发明属于综合能源系统优化领域,具体涉及一种基于电转气的电-气互联综合能源系统多目标优化方法。The present invention belongs to the field of integrated energy system optimization, and specifically relates to a multi-objective optimization method for an electricity-gas interconnected integrated energy system based on electricity-to-gas conversion.

背景技术Background Art

随着化石能源危机和环境污染问题的逐渐加剧,完成能源转型和现代化能源体系建设迫在眉睫。由于风力发电具有较为明显的间歇性、不确定性以及反调峰特性,使得弃风现象严重。近年来,随着综合能源系统这一概念的提出,其与可再生能源的相互耦合将极大提高能源利用效率,减少污染排放。其中,电力网络与天然气网络是当前能源领域两个最主要的大规模传输载体,因此两者之间的耦合关系一直受到广泛关注。通常可借助燃气轮机等设备将天然气转化为电能,而电转气技术可将电能转化为天然气,进而实现电力网络与天然气网络之间能量的双向流动,同时进一步加深电–气综合能源系统的耦合,与燃气轮机共同实现两个系统的双向耦合,为消纳风电等可再生能源提供了一个新的方案。同时,通常加入储能装置可以提高可再生能源利用率,改善电能质量,对综合能源系统的运行具有重要的支撑作用。With the gradual intensification of the fossil energy crisis and environmental pollution problems, it is urgent to complete the energy transformation and build a modern energy system. Due to the obvious intermittent, uncertain and anti-peak characteristics of wind power generation, the phenomenon of wind abandonment is serious. In recent years, with the introduction of the concept of integrated energy system, its mutual coupling with renewable energy will greatly improve energy utilization efficiency and reduce pollution emissions. Among them, the power grid and the natural gas grid are the two most important large-scale transmission carriers in the current energy field, so the coupling relationship between the two has always received widespread attention. Natural gas can usually be converted into electrical energy with the help of equipment such as gas turbines, and power-to-gas technology can convert electrical energy into natural gas, thereby realizing the two-way flow of energy between the power grid and the natural gas grid, and further deepening the coupling of the electric-gas integrated energy system, and realizing the two-way coupling of the two systems together with gas turbines, providing a new solution for absorbing renewable energy such as wind power. At the same time, the addition of energy storage devices can usually improve the utilization rate of renewable energy and improve the quality of electricity, which plays an important supporting role in the operation of the integrated energy system.

现有的关于综合能源系统消纳可再生能源的问题,已经有了大量的研究,目前对于综合能源系统的建模包含多种设备,且基于不同的设备的综合能源系统模型的研究侧重点各有不同,例如:包含电转气设备的综合能源系统优化调度主要分析消纳风电给系统带来的经济效益,而包含多种储能设备的综合能源系统的研究主要偏向于利用电、热储能设备消耗风电,考虑系统配置不同储能设备的经济性和可行性。目前,现有技术大多单方面考虑电转气或多类型储能设备的优化配置,但在实际生产工作中,电转气和多类型储能设备在电-气互联综合能源系统往往仅单一考虑电转气或多类型储能设备的配置方案。另外,在综合能源系统优化配置时,通常存在多目标优化求解的情况,在这样的过程中往往存在着不能快速收敛到全局最优解,使得优化效率有待提升的问题。There have been a lot of studies on the problem of absorbing renewable energy in integrated energy systems. At present, the modeling of integrated energy systems includes a variety of equipment, and the research focuses of integrated energy system models based on different equipment are different. For example, the optimization and scheduling of integrated energy systems including power-to-gas equipment mainly analyzes the economic benefits of absorbing wind power to the system, while the research on integrated energy systems including multiple energy storage equipment mainly tends to consume wind power using electric and thermal energy storage equipment, considering the economy and feasibility of different energy storage equipment configurations in the system. At present, most of the existing technologies unilaterally consider the optimal configuration of power-to-gas or multiple types of energy storage equipment, but in actual production work, power-to-gas and multiple types of energy storage equipment in the electric-gas interconnected integrated energy system often only consider the configuration scheme of power-to-gas or multiple types of energy storage equipment. In addition, when optimizing the configuration of integrated energy systems, there are usually multi-objective optimization solutions. In such a process, there is often a problem that the global optimal solution cannot be quickly converged, so that the optimization efficiency needs to be improved.

发明内容Summary of the invention

为克服上述现有技术的不足,本发明提出一种综合能源系统多目标优化方法,包括:In order to overcome the above-mentioned deficiencies of the prior art, the present invention proposes a multi-objective optimization method for an integrated energy system, comprising:

获取电-气互联综合能源系统中可再生能源的装机容量数据和系统运行相关参数;Obtain installed capacity data of renewable energy and system operation related parameters in the electricity-gas interconnected integrated energy system;

基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集;Based on the installed capacity data of the renewable energy and system operation related parameters, a genetic algorithm is used to solve a pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment to obtain an optimization configuration solution set;

基于优化需求从所述优化配置解集中选取电-气互联综合能源系统的最优配置结果;Selecting the optimal configuration result of the electricity-gas interconnected integrated energy system from the optimal configuration solution set based on the optimization requirements;

其中,所述多目标优化模型是在满足电-气互联综合能源系统可再生能源消纳最大的基础上以系统经济成本最小和CO2排放量最少构建的。Among them, the multi-objective optimization model is constructed on the basis of maximizing the renewable energy consumption of the electricity-gas interconnected integrated energy system with the minimum system economic cost and the minimum CO2 emissions.

优选的,所述包含电转气设备和多类储能设备的多目标优化配置模型的构建,包括:Preferably, the construction of the multi-objective optimization configuration model including the power-to-gas equipment and multiple types of energy storage equipment includes:

基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型包括以下一种或多种电力系统模型、天然气系统模型、耦合设备模型和多类储能设备模型;Constructing an electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment based on multiple constraints, wherein the electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment includes one or more of the following power system models, natural gas system models, coupling device models, and multiple types of energy storage equipment models;

以所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型的经济成本最小、可再生能源消纳最大和CO2排放量最少为目标构建多目标优化配置函数;A multi-objective optimization configuration function is constructed with the objectives of minimizing the economic cost, maximizing the consumption of renewable energy and minimizing CO 2 emissions of the electric-gas interconnected comprehensive energy system model including the electric-to-gas equipment and various types of energy storage equipment;

基于所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型和所述多目标优化配置函数构建包含电转气设备和多类储能设备的多目标优化配置模型。A multi-objective optimization configuration model including power-to-gas equipment and various types of energy storage equipment is constructed based on the power-to-gas interconnected comprehensive energy system model including power-to-gas equipment and various types of energy storage equipment and the multi-objective optimization configuration function.

优选的,所述基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,包括:Preferably, the construction of an electric-gas interconnected integrated energy system model including power-to-gas equipment and multiple types of energy storage equipment based on multiple constraints includes:

基于功率平衡约束、机组出力约束、节点电压约束、支路潮流约束构建所述电力系统模型;Constructing the power system model based on power balance constraints, unit output constraints, node voltage constraints, and branch power flow constraints;

基于气源出气量约束、天然气管道运行约束、管村运行约束、储气罐运行约束、压缩机运行约束、节点流量平衡约束构建所述天然气系统模型;The natural gas system model is constructed based on the gas source output constraint, the natural gas pipeline operation constraint, the pipe village operation constraint, the gas storage tank operation constraint, the compressor operation constraint, and the node flow balance constraint;

基于燃气轮机出力约束、电转气设备出力约束构建所述耦合设备模型;Constructing the coupling device model based on the gas turbine output constraint and the power-to-gas device output constraint;

基于储电设备运行约束、储热设备运行约束和蓄冷设备运行约束构建所述多类储能设备模型;Constructing the multiple types of energy storage device models based on the operation constraints of the electric storage device, the operation constraints of the heat storage device, and the operation constraints of the cold storage device;

以所述电力系统模型、所述天然气系统模型、所述耦合设备模型和所述多类储能设备模型构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型。An electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment is constructed using the electric power system model, the natural gas system model, the coupling device model and the multiple types of energy storage equipment models.

优选的,所述多目标优化配置函数对应的计算式如下:Preferably, the calculation formula corresponding to the multi-objective optimization configuration function is as follows:

minF1=Finv+Fope minF 1 =F inv +F ope

Figure BDA0004153813980000021
Figure BDA0004153813980000021

Figure BDA0004153813980000022
Figure BDA0004153813980000022

式中:F1为系统经济成本;Finv为投资成本;Fope为运行成本;F2为可再生能源消纳率;T为调度周期;NW为系统中风电机组的总数量;NV为系统中光电机组的总数量;

Figure BDA0004153813980000031
为t时段系统对于风电机组j的计划接纳风电功率;
Figure BDA0004153813980000032
为t时段系统对于光电机组j的计划接纳光电功率;
Figure BDA0004153813980000033
为风电机组j的理想功率;
Figure BDA0004153813980000034
为光电机组j的理想功率;F3为CO2排放量;
Figure BDA0004153813980000035
为综合能源系统在t时刻从电网购入的电功率;
Figure BDA0004153813980000036
为在综合能源系统t时刻从气网购入的气功率;αe为购电CO2排放系数;αgas为购气CO2排放系数。Where: F1 is the economic cost of the system; Finv is the investment cost; Fope is the operating cost; F2 is the renewable energy consumption rate; T is the dispatch period; NW is the total number of wind turbines in the system; NV is the total number of photovoltaic generators in the system;
Figure BDA0004153813980000031
The planned wind power accepted by the system for wind turbine j during period t;
Figure BDA0004153813980000032
The system plans to receive photovoltaic power for photovoltaic group j during period t;
Figure BDA0004153813980000033
is the ideal power of wind turbine j;
Figure BDA0004153813980000034
is the ideal power of photovoltaic group j; F 3 is the CO 2 emission;
Figure BDA0004153813980000035
is the electric power purchased by the integrated energy system from the power grid at time t;
Figure BDA0004153813980000036
is the gas power purchased from the gas grid at time t in the integrated energy system; αe is the CO2 emission coefficient for purchased electricity; αgas is the CO2 emission coefficient for purchased gas.

优选的,所述投资成本Finv的计算式如下:Preferably, the calculation formula of the investment cost Finv is as follows:

Figure BDA0004153813980000037
Figure BDA0004153813980000037

所述运行成本Fope的计算式如下:The calculation formula of the operating cost Fope is as follows:

Figure BDA0004153813980000038
Figure BDA0004153813980000038

式中:γi为设备i的单位容量安装费用;Ci为设备i的安装容量;I为综合能源系统中设备的总数量;α为年利率;Yi为设备i的运行寿命;T为调度周期;

Figure BDA0004153813980000039
为t时刻从电网购电的电价;JG为天然气价格;Pout,i为设备i在t时段的输出功率;βi为设备i的单位运行维护费用。Where: γ i is the installation cost per unit capacity of equipment i; C i is the installed capacity of equipment i; I is the total number of equipment in the integrated energy system; α is the annual interest rate; Yi i is the operating life of equipment i; T is the scheduling period;
Figure BDA0004153813980000039
is the electricity price purchased from the power grid at time t; J G is the natural gas price; P out,i is the output power of device i in period t; β i is the unit operation and maintenance cost of device i.

优选的,所述基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集,包括:Preferably, based on the installed capacity data of the renewable energy and system operation related parameters, a genetic algorithm is used to solve a pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment to obtain an optimization configuration solution set, including:

基于所述可再生能源的装机容量数据和系统运行相关参数,确定基于自适应精英保留策略的遗传算法中的父代种群个体为电转气设备容量和多类型储能设备容量,种群中每个个体的适应度值为所述多目标优化配置函数值;Based on the installed capacity data of the renewable energy and system operation related parameters, determining that the parent population individuals in the genetic algorithm based on the adaptive elite retention strategy are the power-to-gas equipment capacity and the multi-type energy storage equipment capacity, and the fitness value of each individual in the population is the multi-objective optimization configuration function value;

采用所述基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集。The genetic algorithm based on the adaptive elite retention strategy is used to solve the multi-objective optimization configuration function to obtain an optimization configuration solution set.

优选的,所述采用基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集,包括:Preferably, the multi-objective optimization configuration function is solved by using a genetic algorithm based on an adaptive elite retention strategy to obtain an optimization configuration solution set, including:

步骤S1:初始化种群,设置种群规模、迭代次数、基础交叉概率和基础变异概率;Step S1: Initialize the population, set the population size, number of iterations, basic crossover probability and basic mutation probability;

步骤S2:随机生成父代种群P,所述父代种群P中的每个个体表示电转气设备容量和多类型储能设备容量,计算所述父代种群P中各个体的适应度值,所述适应度值代表所述多目标优化配置函数值;Step S2: randomly generate a parent population P, each individual in the parent population P represents the capacity of the power-to-gas equipment and the capacity of multiple types of energy storage equipment, and calculate the fitness value of each individual in the parent population P, wherein the fitness value represents the value of the multi-objective optimization configuration function;

步骤S3:通过遗传算法对所述父代种群P进行选择,基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,产生子代种群Q;Step S3: selecting the parent population P by a genetic algorithm, and performing adaptive crossover and mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability to generate a child population Q;

步骤S4:将所述父代种群P和所述子代种群Q进行混合,得到新的种群R,再对所述新的种群R进行快速非支配排序,得到非支配的优势种群序列;Step S4: Mix the parent population P and the child population Q to obtain a new population R, and then perform fast non-dominated sorting on the new population R to obtain a non-dominated dominant population sequence;

步骤S5:基于所述适应度值采用参考点的选择策略,对所述种群R进行选择,得到种群Y作为下一次迭代的父代种群;Step S5: Based on the fitness value, a reference point selection strategy is adopted to select the population R to obtain the population Y as the parent population of the next iteration;

步骤S6:基于所述非支配的优势种群序列采用所述自适应精英保留策略筛选出所述种群R中的优势个体添加到所述种群Y中作为下一次迭代的父代种群;Step S6: Based on the non-dominated dominant population sequence, the adaptive elite retention strategy is used to select the dominant individuals in the population R and add them to the population Y as the parent population for the next iteration;

步骤S7:判断是否达到所述迭代次数,若判断为是,则得到各个体对应的电转气设备容量、多类型储能设备容量和多目标优化配置函数值作为优化配置解集并结束,否则返回步骤S3。Step S7: Determine whether the number of iterations has been reached. If so, obtain the power-to-gas equipment capacity, multi-type energy storage equipment capacity and multi-objective optimization configuration function value corresponding to each individual as the optimization configuration solution set and end. Otherwise, return to step S3.

优选的,所述基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,包括:Preferably, the performing adaptive crossover mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability includes:

基于所述个体适应度值、所述基础交叉概率和所述基础变异概率确定自适应交叉概率和自适应变异概率;Determine an adaptive crossover probability and an adaptive mutation probability based on the individual fitness value, the basic crossover probability and the basic mutation probability;

基于所述自适应交叉概率和自适应变异概率对所述父代种群P进行自适应交叉变异。Adaptive crossover and mutation are performed on the parent population P based on the adaptive crossover probability and the adaptive mutation probability.

优选的,所述自适应交叉概率的计算式如下:Preferably, the calculation formula of the adaptive crossover probability is as follows:

Figure BDA0004153813980000041
Figure BDA0004153813980000041

所述自适应变异概率的计算式如下:The calculation formula of the adaptive mutation probability is as follows:

Figure BDA0004153813980000042
Figure BDA0004153813980000042

式中:pc为自适应交叉概率;k1为第一基础交叉概率;k2为第二基础交叉概率;pm为自适应变异概率;k3为第一基础变异概率;k4为第二基础变异概率;fm为当前要变异的个体适应度值;fm为种群能够接受的最大适应度值;fc为要交叉的两个个体中较大的适应度值;fmin为种群中所有个体适应度最小值;所述第一基础交叉概率小于第二基础交叉概率;所述第一基础变异概率小于第二基础变异概率。In the formula: pc is the adaptive crossover probability; k1 is the first basic crossover probability; k2 is the second basic crossover probability; pm is the adaptive mutation probability; k3 is the first basic mutation probability; k4 is the second basic mutation probability; fm is the fitness value of the individual to be mutated; fm is the maximum fitness value that the population can accept; fc is the larger fitness value of the two individuals to be crossed; fmin is the minimum fitness value of all individuals in the population; the first basic crossover probability is less than the second basic crossover probability; the first basic mutation probability is less than the second basic mutation probability.

优选的,所述自适应精英保留策略的计算式如下:Preferably, the calculation formula of the adaptive elite retention strategy is as follows:

Figure BDA0004153813980000051
Figure BDA0004153813980000051

式中:Ne为精英保留个体的数量;fi为第i个种群个体的适应度值;N为种群个体的数量;fb为种群中最优个体的适应度值。In the formula: Ne is the number of elite retained individuals; fi is the fitness value of the i-th population individual; N is the number of individuals in the population; fb is the fitness value of the best individual in the population.

优选的,所述系统运行相关参数包括以下一种或多种:光电功率预测值、负荷预测值、风电功率预测值、不同时间段电价表、电转气设备参数、多类型储能设备参数、热电联产设备运行参数、燃气锅炉运行参数、吸收式制冷机运行参数、储气罐运行参数、压缩机运行参数。Preferably, the system operation related parameters include one or more of the following: photovoltaic power prediction value, load prediction value, wind power prediction value, electricity price list for different time periods, power-to-gas equipment parameters, parameters of various types of energy storage equipment, cogeneration equipment operating parameters, gas boiler operating parameters, absorption chiller operating parameters, gas tank operating parameters, and compressor operating parameters.

基于同一发明构思,本发明还提供一种基于电转气的电-气互联综合能源系统多目标优化系统,包括:Based on the same inventive concept, the present invention also provides a multi-objective optimization system for an electricity-gas interconnected integrated energy system based on electricity-to-gas conversion, comprising:

数据获取模块:用于获取电-气互联综合能源系统中可再生能源的装机容量数据和系统运行相关参数;Data acquisition module: used to obtain installed capacity data of renewable energy and system operation related parameters in the electricity-gas interconnected integrated energy system;

求解模块:用于基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集;A solution module: used to solve a pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment using a genetic algorithm based on the installed capacity data of the renewable energy and system operation related parameters, to obtain an optimization configuration solution set;

最优配置结果获取模块:基于优化需求从所述优化配置解集中选取电-气互联综合能源系统的最优配置结果;Optimal configuration result acquisition module: selects the optimal configuration result of the electricity-gas interconnected integrated energy system from the optimal configuration solution set based on the optimization requirements;

其中,所述多目标优化模型是在满足电-气互联综合能源系统可再生能源消纳最大的基础上以系统经济成本最小和CO2排放量最少构建的。Among them, the multi-objective optimization model is constructed on the basis of maximizing the renewable energy consumption of the electricity-gas interconnected integrated energy system with the minimum system economic cost and the minimum CO2 emissions.

优选的,所述求解模块中包含电转气设备和多类储能设备的多目标优化配置模型的构建包括:Preferably, the construction of a multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment in the solution module includes:

基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型包括以下一种或多种电力系统模型、天然气系统模型、耦合设备模型和多类储能设备模型;Constructing an electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment based on multiple constraints, wherein the electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment includes one or more of the following power system models, natural gas system models, coupling device models, and multiple types of energy storage equipment models;

以所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型的经济成本最小、可再生能源消纳最大和CO2排放量最少为目标构建多目标优化配置函数;A multi-objective optimization configuration function is constructed with the objectives of minimizing the economic cost, maximizing the consumption of renewable energy and minimizing CO 2 emissions of the electric-gas interconnected integrated energy system model including the electric-to-gas equipment and various types of energy storage equipment;

基于所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型和所述多目标优化配置函数构建包含电转气设备和多类储能设备的多目标优化配置模型。Based on the electric-gas interconnected comprehensive energy system model including the power-to-gas equipment and various types of energy storage equipment and the multi-objective optimization configuration function, a multi-objective optimization configuration model including the power-to-gas equipment and various types of energy storage equipment is constructed.

优选的,所述求解模块基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,包括:Preferably, the solution module constructs an electric-gas interconnected integrated energy system model including electric-to-gas equipment and multiple types of energy storage equipment based on multiple constraints, including:

基于功率平衡约束、机组出力约束、节点电压约束、支路潮流约束构建所述电力系统模型;Constructing the power system model based on power balance constraints, unit output constraints, node voltage constraints, and branch power flow constraints;

基于气源出气量约束、天然气管道运行约束、管村运行约束、储气罐运行约束、压缩机运行约束、节点流量平衡约束构建所述天然气系统模型;The natural gas system model is constructed based on the gas source output constraint, the natural gas pipeline operation constraint, the pipe village operation constraint, the gas storage tank operation constraint, the compressor operation constraint, and the node flow balance constraint;

基于燃气轮机出力约束、电转气设备出力约束构建所述耦合设备模型;Constructing the coupling device model based on the gas turbine output constraint and the power-to-gas device output constraint;

基于储电设备运行约束、储热设备运行约束和蓄冷设备运行约束构建所述多类储能设备模型;Constructing the multiple types of energy storage device models based on the operation constraints of the electric storage device, the operation constraints of the heat storage device, and the operation constraints of the cold storage device;

以所述电力系统模型、所述天然气系统模型、所述耦合设备模型和所述多类储能设备模型构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型。An electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment is constructed using the electric power system model, the natural gas system model, the coupling device model and the multiple types of energy storage equipment models.

优选的,所述求解模块中多目标优化配置函数对应的计算式如下:Preferably, the calculation formula corresponding to the multi-objective optimization configuration function in the solution module is as follows:

minF1=Finv+Fope minF 1 =F inv +F ope

Figure BDA0004153813980000061
Figure BDA0004153813980000061

Figure BDA0004153813980000062
Figure BDA0004153813980000062

式中:F1为系统经济成本;Finv为投资成本;Fope为运行成本;F2为可再生能源消纳率;T为调度周期;NW为系统中风电机组的总数量;NV为系统中光电机组的总数量;

Figure BDA0004153813980000063
为t时段系统对于风电机组j的计划接纳风电功率;
Figure BDA0004153813980000064
为t时段系统对于光电机组j的计划接纳光电功率;
Figure BDA0004153813980000065
为风电机组j的理想功率;
Figure BDA0004153813980000066
为光电机组j的理想功率;F3为CO2排放量;
Figure BDA0004153813980000067
为综合能源系统在t时刻从电网购入的电功率;
Figure BDA0004153813980000068
为在综合能源系统t时刻从气网购入的气功率;αe为购电CO2排放系数;αgas为购气CO2排放系数。Where: F1 is the economic cost of the system; Finv is the investment cost; Fope is the operating cost; F2 is the renewable energy consumption rate; T is the dispatch period; NW is the total number of wind turbines in the system; NV is the total number of photovoltaic generators in the system;
Figure BDA0004153813980000063
The planned wind power accepted by the system for wind turbine j during period t;
Figure BDA0004153813980000064
The system plans to receive photovoltaic power for photovoltaic group j during period t;
Figure BDA0004153813980000065
is the ideal power of wind turbine j;
Figure BDA0004153813980000066
is the ideal power of photovoltaic group j; F 3 is the CO 2 emission;
Figure BDA0004153813980000067
is the electric power purchased by the integrated energy system from the power grid at time t;
Figure BDA0004153813980000068
is the gas power purchased from the gas grid at time t in the integrated energy system; αe is the CO2 emission coefficient for purchased electricity; αgas is the CO2 emission coefficient for purchased gas.

优选的,所述求解模块中投资成本Finv的计算式如下:Preferably, the calculation formula of the investment cost Finv in the solution module is as follows:

Figure BDA0004153813980000071
Figure BDA0004153813980000071

所述运行成本Fope的计算式如下:The calculation formula of the operating cost Fope is as follows:

Figure BDA0004153813980000072
Figure BDA0004153813980000072

式中:γi为设备i的单位容量安装费用;Ci为设备i的安装容量;I为综合能源系统中设备的总数量;α为年利率;Yi为设备i的运行寿命;T为调度周期;

Figure BDA0004153813980000073
为t时刻从电网购电的电价;JG为天然气价格;Pout,i为设备i在t时段的输出功率;βi为设备i的单位运行维护费用。Where: γ i is the installation cost per unit capacity of equipment i; C i is the installed capacity of equipment i; I is the total number of equipment in the integrated energy system; α is the annual interest rate; Yi i is the operating life of equipment i; T is the scheduling period;
Figure BDA0004153813980000073
is the electricity price purchased from the power grid at time t; J G is the natural gas price; P out,i is the output power of device i in period t; β i is the unit operation and maintenance cost of device i.

优选的,所述求解模块具体用于:Preferably, the solution module is specifically used for:

基于所述可再生能源的装机容量数据和系统运行相关参数,确定基于自适应精英保留策略的遗传算法中的父代种群个体为电转气设备容量和多类型储能设备容量,种群中每个个体的适应度值为所述多目标优化配置函数值;Based on the installed capacity data of the renewable energy and system operation related parameters, determining that the parent population individuals in the genetic algorithm based on the adaptive elite retention strategy are the power-to-gas equipment capacity and the multi-type energy storage equipment capacity, and the fitness value of each individual in the population is the multi-objective optimization configuration function value;

采用所述基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集。The genetic algorithm based on the adaptive elite retention strategy is used to solve the multi-objective optimization configuration function to obtain an optimization configuration solution set.

优选的,所述求解模块采用基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集,包括:Preferably, the solution module uses a genetic algorithm based on an adaptive elite retention strategy to solve the multi-objective optimization configuration function to obtain an optimization configuration solution set, including:

步骤S1:初始化种群,设置种群规模、迭代次数、基础交叉概率和基础变异概率;Step S1: Initialize the population, set the population size, number of iterations, basic crossover probability and basic mutation probability;

步骤S2:随机生成父代种群P,所述父代种群P中的每个个体表示电转气设备容量和多类型储能设备容量,计算所述父代种群P中各个体的适应度值,所述适应度值代表所述多目标优化配置函数值;Step S2: randomly generate a parent population P, each individual in the parent population P represents the capacity of the power-to-gas equipment and the capacity of multiple types of energy storage equipment, and calculate the fitness value of each individual in the parent population P, wherein the fitness value represents the value of the multi-objective optimization configuration function;

步骤S3:通过遗传算法对所述父代种群P进行选择,基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,产生子代种群Q;Step S3: selecting the parent population P by a genetic algorithm, and performing adaptive crossover and mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability to generate a child population Q;

步骤S4:将所述父代种群P和所述子代种群Q进行混合,得到新的种群R,再对所述新的种群R进行快速非支配排序,得到非支配的优势种群序列;Step S4: Mix the parent population P and the child population Q to obtain a new population R, and then perform fast non-dominated sorting on the new population R to obtain a non-dominated dominant population sequence;

步骤S5:基于所述适应度值采用参考点的选择策略,对所述种群R进行选择,得到种群Y作为下一次迭代的父代种群;Step S5: Based on the fitness value, a reference point selection strategy is adopted to select the population R to obtain a population Y as the parent population for the next iteration;

步骤S6:基于所述非支配的优势种群序列采用所述自适应精英保留策略筛选出所述种群R中的优势个体添加到所述种群Y中作为下一次迭代的父代种群;Step S6: Based on the non-dominated dominant population sequence, the adaptive elite retention strategy is used to select the dominant individuals in the population R and add them to the population Y as the parent population for the next iteration;

步骤S7:判断是否达到所述迭代次数,若判断为是,则得到各个体对应的电转气设备容量、多类型储能设备容量和多目标优化配置函数值作为优化配置解集并结束,否则返回步骤S3。Step S7: Determine whether the number of iterations has been reached. If so, obtain the power-to-gas equipment capacity, multi-type energy storage equipment capacity and multi-objective optimization configuration function value corresponding to each individual as the optimization configuration solution set and end. Otherwise, return to step S3.

优选的,所述求解模块中基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,包括:Preferably, the solution module performs adaptive crossover and mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability, including:

基于所述个体适应度值、所述基础交叉概率和所述基础变异概率确定自适应交叉概率和自适应变异概率;Determine an adaptive crossover probability and an adaptive mutation probability based on the individual fitness value, the basic crossover probability and the basic mutation probability;

基于所述自适应交叉概率和自适应变异概率对所述父代种群P进行自适应交叉变异。Adaptive crossover and mutation are performed on the parent population P based on the adaptive crossover probability and the adaptive mutation probability.

优选的,所述求解模块中自适应交叉概率的计算式如下:Preferably, the calculation formula of the adaptive crossover probability in the solution module is as follows:

Figure BDA0004153813980000081
Figure BDA0004153813980000081

所述自适应变异概率的计算式如下:The calculation formula of the adaptive mutation probability is as follows:

Figure BDA0004153813980000082
Figure BDA0004153813980000082

式中:pc为自适应交叉概率;k1为第一基础交叉概率;k2为第二基础交叉概率;pm为自适应变异概率;k3为第一基础变异概率;k4为第二基础变异概率;fm为当前要变异的个体适应度值;f m 为种群能够接受的最大适应度值;fc为要交叉的两个个体中较大的适应度值;fmin为种群中所有个体适应度最小值;所述第一基础交叉概率小于第二基础交叉概率;所述第一基础变异概率小于第二基础变异概率。In the formula: pc is the adaptive crossover probability; k1 is the first basic crossover probability; k2 is the second basic crossover probability; pm is the adaptive mutation probability; k3 is the first basic mutation probability; k4 is the second basic mutation probability; fm is the fitness value of the individual to be mutated; fm is the maximum fitness value that the population can accept; fc is the larger fitness value of the two individuals to be crossed; fmin is the minimum fitness value of all individuals in the population; the first basic crossover probability is less than the second basic crossover probability; the first basic mutation probability is less than the second basic mutation probability.

优选的,所述求解模块中自适应精英保留策略的计算式如下:Preferably, the calculation formula of the adaptive elite retention strategy in the solution module is as follows:

Figure BDA0004153813980000083
Figure BDA0004153813980000083

式中:Ne为精英保留个体的数量;fi为第i个种群个体的适应度值;N为种群个体的数量;fb为种群中最优个体的适应度值。In the formula: Ne is the number of elite retained individuals; fi is the fitness value of the i-th population individual; N is the number of individuals in the population; fb is the fitness value of the best individual in the population.

优选的,所述数据获取模块中系统运行相关参数包括以下一种或多种:光电功率预测值、负荷预测值、风电功率预测值、不同时间段电价表、电转气设备参数、多类型储能设备参数、热电联产设备运行参数、燃气锅炉运行参数、吸收式制冷机运行参数、储气罐运行参数、压缩机运行参数。Preferably, the system operation related parameters in the data acquisition module include one or more of the following: photovoltaic power prediction value, load prediction value, wind power prediction value, electricity price list for different time periods, power-to-gas equipment parameters, parameters of various types of energy storage equipment, cogeneration equipment operating parameters, gas boiler operating parameters, absorption chiller operating parameters, gas tank operating parameters, and compressor operating parameters.

与最接近的现有技术相比,本发明具有的有益效果如下:Compared with the closest prior art, the present invention has the following beneficial effects:

本发明提供了一种综合能源系统多目标优化方法、系统、设备和介质,包括:获取电-气互联综合能源系统中可再生能源的装机容量数据和系统运行相关参数;基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集;基于优化需求从所述优化配置解集中选取电-气互联综合能源系统的最优配置结果。本发明通过建立包含电转气设备和多类型储能设备的多目标优化配置模型,进行了电转气设备和多类型储能设备的协同规划,能够提供更加符合综合能源系统实际情况、更加全面的优化配置方案。The present invention provides a multi-objective optimization method, system, device and medium for an integrated energy system, including: obtaining installed capacity data of renewable energy and system operation related parameters in an electricity-gas interconnected integrated energy system; based on the installed capacity data of renewable energy and system operation related parameters, using a genetic algorithm to solve a pre-constructed multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment to obtain an optimized configuration solution set; based on optimization requirements, selecting the optimal configuration result of the electricity-gas interconnected integrated energy system from the optimized configuration solution set. The present invention establishes a multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment, performs coordinated planning of power-to-gas equipment and multiple types of energy storage equipment, and can provide a more comprehensive optimization configuration solution that is more in line with the actual situation of the integrated energy system.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明提供一个具体实施例的综合能源系统多目标优化方法流程示意图;FIG1 is a schematic flow chart of a multi-objective optimization method for an integrated energy system according to a specific embodiment of the present invention;

图2为本发明提供的一个具体实施例的典型日太阳能辐射强度和风速图;FIG2 is a diagram of typical daily solar radiation intensity and wind speed according to a specific embodiment of the present invention;

图3为本发明提供的一个具体实施例的综合能源系统负荷图;FIG3 is a load diagram of a comprehensive energy system according to a specific embodiment of the present invention;

图4为本发明提供的一个具体实施例的综合能源系统结构图;FIG4 is a structural diagram of a comprehensive energy system according to a specific embodiment of the present invention;

图5为本发明提供一个具体实施例的遗传算法流程图;FIG5 is a flow chart of a genetic algorithm according to a specific embodiment of the present invention;

图6为本发明提供一个具体实施例的最优解集图;FIG6 is an optimal solution set diagram for a specific embodiment of the present invention;

图7为本发明提供一个具体实施例的年CO2排放量对比图;FIG7 is a comparison chart of annual CO2 emissions according to a specific embodiment of the present invention;

图8为本发明提供一个具体实施例的可再生能源消纳率对比图;FIG8 is a comparison diagram of renewable energy consumption rates according to a specific embodiment of the present invention;

图9为本发明提供一个种综合能源系统多目标优化系统示意图。FIG9 is a schematic diagram of a multi-objective optimization system for an integrated energy system provided by the present invention.

具体实施方式DETAILED DESCRIPTION

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

实施例1:Embodiment 1:

本发明提供一种综合能源系统多目标优化方法,具体的,图1为本申请实施例所提供的一种综合能源系统多目标优化方法的流程示意图,如图所示包括以下步骤:The present invention provides a multi-objective optimization method for an integrated energy system. Specifically, FIG1 is a flow chart of a multi-objective optimization method for an integrated energy system provided in an embodiment of the present application, and as shown in the figure, the method includes the following steps:

步骤1:获取电-气互联综合能源系统中可再生能源的装机容量数据和系统运行相关参数;Step 1: Obtain the installed capacity data of renewable energy and system operation related parameters in the electricity-gas interconnected integrated energy system;

步骤2:基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集;Step 2: Based on the installed capacity data of the renewable energy and system operation related parameters, a pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment is solved using a genetic algorithm to obtain an optimization configuration solution set;

步骤3:基于优化需求从所述优化配置解集中选取电-气互联综合能源系统的最优配置结果;Step 3: Selecting the optimal configuration result of the electricity-gas interconnected integrated energy system from the optimal configuration solution set based on the optimization requirements;

其中,所述多目标优化模型是在满足电-气互联综合能源系统可再生能源消纳最大的基础上以系统经济成本最小和CO2排放量最少构建的。Among them, the multi-objective optimization model is constructed on the basis of maximizing the renewable energy consumption of the electricity-gas interconnected integrated energy system with the minimum system economic cost and the minimum CO2 emissions.

步骤1中,获取电-气互联综合能源系统中可再生能源机组的装机容量数据和系统运行相关参数。在本发明中,优化配置主要基于可再生能源机组的装机容量进行计算和规划,可再生能源机组可以是通过风电机组、光伏发电机组、水力发电机组或者海洋能发电机组。在本公开实施例中,可再生能能源机组为:光电机组和风电机组。在本公开中,获取电-气互联综合能源系统中可再生能源机组的装机容量数据包括:3种场景的9组数据,如表1所示。上述3种情景分别为:仅考虑电转气设备的场景、仅考虑储能设备场景、考虑电转气设备和储能设备的场景。In step 1, the installed capacity data of renewable energy units in the electricity-gas interconnected integrated energy system and system operation related parameters are obtained. In the present invention, the optimization configuration is mainly calculated and planned based on the installed capacity of the renewable energy units. The renewable energy units can be wind turbines, photovoltaic generators, hydroelectric generators or ocean energy generators. In the embodiments of the present disclosure, the renewable energy units are: photovoltaic generators and wind turbines. In the present disclosure, the installed capacity data of renewable energy units in the electricity-gas interconnected integrated energy system are obtained, including: 9 groups of data for 3 scenarios, as shown in Table 1. The above 3 scenarios are: a scenario considering only power-to-gas equipment, a scenario considering only energy storage equipment, and a scenario considering power-to-gas equipment and energy storage equipment.

表1Table 1

Figure BDA0004153813980000101
Figure BDA0004153813980000101

获取系统运行相关参数中包含了系统中各设备的运行参数以及系统运行的电费价格等数据。具体的,在本公开实施例中包括下述中的一个或者多个:光电功率预测值、负荷预测值、风电功率预测值、不同时间段电价表、电转气设备参数、多类型储能设备参数、热电联产设备运行参数、燃气锅炉运行参数、吸收式制冷机运行参数、储气罐运行参数、压缩机运行参数。Acquiring system operation related parameters includes the operating parameters of each device in the system and data such as the electricity price of the system operation. Specifically, in the disclosed embodiment, one or more of the following are included: photovoltaic power prediction value, load prediction value, wind power prediction value, electricity price table for different time periods, power-to-gas equipment parameters, multi-type energy storage equipment parameters, cogeneration equipment operating parameters, gas boiler operating parameters, absorption chiller operating parameters, gas storage tank operating parameters, compressor operating parameters.

在本公开实施例中,上述光电功率预测值是考虑到太阳辐射强度和负荷的时间差异性,从获取的历史数据中按照需要的数据特点,选取一天作为典型日,典型日的太阳辐射强度和负荷情况代表对应的光电功率预测值。上述负荷预测值和风电功率预测值从历史数据中的典型日中获取。具体的,在本实施例中所获取的光电功率预测值、风电功率预测值如图2所示,负荷预测值如图3所示。获取电价一天不同时段电价表、综合能源系统已有设备参数和电转气和多类型储能设备参数,上述获取的数据如表2、表3和表4所示,其中表2是一天不同时段电价表,表3是综合能源系统已有设备参数,表4是电转气和多类储能设备参数。In the disclosed embodiment, the photovoltaic power prediction value is taken into account the time difference of solar radiation intensity and load. One day is selected as a typical day from the acquired historical data according to the required data characteristics. The solar radiation intensity and load conditions of the typical day represent the corresponding photovoltaic power prediction value. The load prediction value and wind power prediction value are obtained from the typical day in the historical data. Specifically, the photovoltaic power prediction value and wind power prediction value obtained in this embodiment are shown in Figure 2, and the load prediction value is shown in Figure 3. The electricity price table for different periods of the day, the existing equipment parameters of the integrated energy system, and the parameters of power-to-gas and multiple types of energy storage equipment are obtained. The above-mentioned acquired data are shown in Table 2, Table 3 and Table 4, where Table 2 is the electricity price table for different periods of the day, Table 3 is the existing equipment parameters of the integrated energy system, and Table 4 is the parameters of power-to-gas and multiple types of energy storage equipment.

表2Table 2

Figure BDA0004153813980000111
Figure BDA0004153813980000111

表3Table 3

Figure BDA0004153813980000112
Figure BDA0004153813980000112

表4Table 4

Figure BDA0004153813980000113
Figure BDA0004153813980000113

步骤2:Step 2:

具体的,基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集。Specifically, based on the installed capacity data of the renewable energy and system operation related parameters, a genetic algorithm is used to solve a pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment to obtain an optimization configuration solution set.

在本公开实施例中,上述预先构建的包含电转气设备和多类储能设备的多目标优化配置模型的构建包括:基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型。如图4所示,其为本公开实施例所建立的电-气互联综合能源系统模型的示意图。其中具体包括以下一种或多种模型:电力系统模型、天然气系统模型、耦合设备模型和多类储能设备模型。In the embodiment of the present disclosure, the construction of the above-mentioned pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment includes: constructing an electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment based on multiple constraints. As shown in Figure 4, it is a schematic diagram of the electric-gas interconnected comprehensive energy system model established in the embodiment of the present disclosure. Specifically, it includes one or more of the following models: power system model, natural gas system model, coupling device model and multiple types of energy storage equipment model.

具体的,在本公开实施例中电力系统模型、天然气系统模型、耦合设备模型和多类储能设备模型为下述各式:Specifically, in the embodiment of the present disclosure, the power system model, the natural gas system model, the coupling device model and the multi-type energy storage device model are the following formulas:

电力网络模型包括:节点功率有功、无功平衡方程,机组出力约束,节点电压约束,支路潮流约束;The power network model includes: node power active and reactive balance equations, unit output constraints, node voltage constraints, and branch power flow constraints;

(1)功率平衡方程(1) Power balance equation

Figure BDA0004153813980000121
Figure BDA0004153813980000121

Figure BDA0004153813980000122
Figure BDA0004153813980000122

式中:Pi cle为节点i的发电机有功功率;

Figure BDA0004153813980000123
为节点i的发电机无功功率;Pi wind为风电场注入的有功功率;Vi为节点i的电压幅值;Vj为节点j的电压幅值;θij为节点i和节点j的电压相角差;Gij为节点ij导纳矩阵的实部;Bij为节点ij导纳矩阵的虚部;j∈i表示所有与节点i直接连接的节点j。Where: P i cle is the active power of the generator at node i;
Figure BDA0004153813980000123
is the reactive power of the generator at node i; Piwind is the active power injected by the wind farm ; Vi is the voltage amplitude at node i; Vj is the voltage amplitude at node j; θij is the voltage phase difference between node i and node j; Gij is the real part of the admittance matrix of node ij; Bij is the imaginary part of the admittance matrix of node ij; j∈ i represents all nodes j directly connected to node i.

(2)机组出力约束(2) Unit output constraints

Figure BDA0004153813980000124
Figure BDA0004153813980000124

Figure BDA0004153813980000125
Figure BDA0004153813980000125

Figure BDA0004153813980000126
Figure BDA0004153813980000126

式中:

Figure BDA0004153813980000127
为t时刻机组i的有功出力;
Figure BDA0004153813980000128
为机组i的有功出力上限;
Figure BDA0004153813980000129
为机组i的有功出力下限;
Figure BDA00041538139800001210
为t时刻机组i的无功出力;
Figure BDA00041538139800001211
为机组i的无功出力下限;
Figure BDA00041538139800001212
为机组i的无功出力上限;
Figure BDA00041538139800001213
为t时刻风电机组i的有功出力;
Figure BDA00041538139800001214
为风电机组i的有功出力上限;
Figure BDA00041538139800001215
为风电机组i的有功出力下限。Where:
Figure BDA0004153813980000127
is the active power output of unit i at time t;
Figure BDA0004153813980000128
is the upper limit of active output of unit i;
Figure BDA0004153813980000129
is the lower limit of active output of unit i;
Figure BDA00041538139800001210
is the reactive power output of unit i at time t;
Figure BDA00041538139800001211
is the lower limit of reactive power output of unit i;
Figure BDA00041538139800001212
is the upper limit of reactive power output of unit i;
Figure BDA00041538139800001213
is the active power output of wind turbine i at time t;
Figure BDA00041538139800001214
is the upper limit of active output of wind turbine i;
Figure BDA00041538139800001215
is the lower limit of active power output of wind turbine i.

(3)节点电压约束(3) Node voltage constraints

Ui,min≤Ui,t≤Ui,max U i,min ≤U i,t ≤U i,max

式中:Ui,t为t时刻节点i的电压;Ui,min为节点i的电压下限;Ui,max为节点i的电压上限。Where: U i,t is the voltage of node i at time t; U i,min is the lower limit of the voltage of node i; U i,max is the upper limit of the voltage of node i.

(4)支路潮流约束(4) Branch flow constraints

|Pkl,t|≤Pkl,max |P kl,t |≤P kl,max

式中:Pkl,t为t时刻支路kl的潮流值;Pkl,max为支路kl的潮流上限值。Where: Pkl,t is the power flow value of branch kl at time t; Pkl,max is the upper limit of the power flow of branch kl.

天然气网络模型包括:气源,天然气管道,管存,储气罐,压缩机,节点流量平衡;The natural gas network model includes: gas source, natural gas pipeline, pipeline storage, gas storage tank, compressor, and node flow balance;

(1)气源(1) Gas source

Si,min≤Si,t≤Si,max S i,min ≤S i,t ≤S i,max

式中:Si,t为天然气网络中节点i在时刻t的天然气供应量;Si,max为气井产气量上限;Si,min为气井产气量下限。Where: S i,t is the natural gas supply of node i in the natural gas network at time t; S i,max is the upper limit of gas production of the gas well; S i,min is the lower limit of gas production of the gas well.

(2)天然气管道(2) Natural gas pipeline

Figure BDA0004153813980000131
Figure BDA0004153813980000131

式中:Fij为管道ij的管道流量;Cij为与管道ij长度、半径、温度及气体密度、压缩因子等有关的常数;πi为天然气管道节点i的压力;πj为天然气管道节点j的压力;sgn(πij)为符号函数,表示天然气流向,当节点i的压力大于节点j的压力时,其值为1,反之为-1;π i为天然气管道节点i的压力下限;

Figure BDA0004153813980000132
为天然气管道节点i的压力上限。Where: F ij is the pipeline flow rate of pipeline ij; C ij is a constant related to the length, radius, temperature, gas density, compression factor, etc. of pipeline ij; π i is the pressure of natural gas pipeline node i; π j is the pressure of natural gas pipeline node j; sgn(π ij ) is a sign function, indicating the natural gas flow direction. When the pressure of node i is greater than the pressure of node j, its value is 1, otherwise it is -1; π i is the lower limit of the pressure of natural gas pipeline node i;
Figure BDA0004153813980000132
is the upper limit of the pressure at the natural gas pipeline node i.

(3)管存(3) Custody

Figure BDA0004153813980000133
Figure BDA0004153813980000133

Figure BDA0004153813980000134
Figure BDA0004153813980000134

式中:Lij,t为t时刻管道ij的管存;Lij,t-1为t-1时刻管道ij的管存;Cij为与管道ij长度、半径、温度及气体密度、压缩因子等有关的常数;

Figure BDA0004153813980000135
表示管道ij的平均压力;
Figure BDA0004153813980000136
为t时刻管道ij的进气量;
Figure BDA0004153813980000137
为t时刻管道ij的出气量。Where: Lij,t is the pipe storage of pipeline ij at time t; Lij,t-1 is the pipe storage of pipeline ij at time t-1; Cij is a constant related to the length, radius, temperature, gas density, compression factor, etc. of pipeline ij;
Figure BDA0004153813980000135
represents the average pressure in pipeline ij;
Figure BDA0004153813980000136
is the air intake volume of pipeline ij at time t;
Figure BDA0004153813980000137
is the gas output of pipe ij at time t.

(4)储气罐(4) Gas tank

Figure BDA0004153813980000138
Figure BDA0004153813980000138

Figure BDA0004153813980000139
Figure BDA0004153813980000139

Figure BDA00041538139800001310
Figure BDA00041538139800001310

式中:SS,j,t为t时刻储气罐j的存储容量;

Figure BDA0004153813980000141
为t时刻储气罐j的天然气注入流量;
Figure BDA0004153813980000142
为t时刻储气罐j的天然气输出流量;SS,j,max为储气罐j存储容量的上限;SS,j,min为储气罐j存储容量的下限;
Figure BDA0004153813980000143
为储气罐j天然气注入流量的上限;
Figure BDA0004153813980000144
为储气罐j天然气输出流量的上限。Where: S S,j,t is the storage capacity of gas tank j at time t;
Figure BDA0004153813980000141
is the natural gas injection flow of gas tank j at time t;
Figure BDA0004153813980000142
is the natural gas output flow of gas tank j at time t; S S,j,max is the upper limit of the storage capacity of gas tank j; S S,j,min is the lower limit of the storage capacity of gas tank j;
Figure BDA0004153813980000143
The upper limit of the natural gas injection flow rate of gas storage tank j;
Figure BDA0004153813980000144
It is the upper limit of the natural gas output flow rate of gas storage tank j.

(5)压缩机(5) Compressor

Figure BDA0004153813980000145
Figure BDA0004153813980000145

Pcom=Hcom(0.7479×10-5)P com =H com (0.7479×10 -5 )

式中:Hcom为压缩机所需功率;Fij为流过压缩机的流量;B为常数;πi为天然气管道节点i的压力;πj为天然气管道节点j的压力;Pcom为电驱动压缩机的电负荷。Where: H com is the power required by the compressor; F ij is the flow rate through the compressor; B is a constant; π i is the pressure at the natural gas pipeline node i; π j is the pressure at the natural gas pipeline node j; P com is the electrical load of the electric drive compressor.

(6)节点流量平衡(6) Node traffic balance

Figure BDA0004153813980000146
Figure BDA0004153813980000146

式中:QN,j,t为天然气网络在t时刻节点j的天然气流量;i∈j表示所有与节点j相连的节点;

Figure BDA0004153813980000147
为t时刻储气罐j的天然气注入流量;
Figure BDA0004153813980000148
为t时刻储气罐j的天然气输出流量;
Figure BDA0004153813980000149
为t时刻管道ij的进气量;
Figure BDA00041538139800001410
为t时刻管道ij的出气量;QP2G,j,t为t时刻电转气设备j转换得到的天然气流量;QGT,j,t为t时刻燃气轮机j消耗的天然气流量;Qcom,j,t为t时刻压缩机j消耗的天然气流量;QL,j,t为t时刻节点j的天然气负荷。Where: Q N,j,t is the natural gas flow of node j in the natural gas network at time t; i∈j represents all nodes connected to node j;
Figure BDA0004153813980000147
is the natural gas injection flow of gas tank j at time t;
Figure BDA0004153813980000148
is the natural gas output flow of gas tank j at time t;
Figure BDA0004153813980000149
is the air intake volume of pipeline ij at time t;
Figure BDA00041538139800001410
is the gas output of pipeline ij at time t; Q P2G,j,t is the natural gas flow converted by power-to-gas device j at time t; Q GT,j,t is the natural gas flow consumed by gas turbine j at time t; Q com,j,t is the natural gas flow consumed by compressor j at time t; Q L,j,t is the natural gas load of node j at time t.

多类型储能设备模型包括:Multi-type energy storage equipment models include:

(1)储电设备(1) Energy storage equipment

Figure BDA00041538139800001411
Figure BDA00041538139800001411

式中:WES,t为蓄电池t时刻储存的能量;μES为蓄电池的损耗率;Pch,t为蓄电池t时刻的充电功率;Pdis,t为蓄电池t时刻的放电功率;WES,t-1为蓄电池t-1时刻储存的能量;λES,ch为蓄电池的充电效率;λES,dis为蓄电池的放电效率;Δt为调度时间间隔。Where: W ES,t is the energy stored in the battery at time t; μ ES is the loss rate of the battery; P ch,t is the charging power of the battery at time t; P dis,t is the discharging power of the battery at time t; W ES,t-1 is the energy stored in the battery at time t-1; λ ES,ch is the charging efficiency of the battery; λ ES,dis is the discharging efficiency of the battery; Δt is the scheduling time interval.

(2)储热设备(2) Heat storage equipment

Figure BDA0004153813980000151
Figure BDA0004153813980000151

式中:WHS,t为储热设备t时刻储存的能量;μHS为储热设备的损耗率;Hch,t为储热设备t时刻的充热功率;Hdis,t为储热设备t时刻的放热功率;λHS,ch为储热设备的充热效率;λHS,dis为储热设备的放热效率;WHS,t-1为储热设备t-1时刻储存的能量;Δt为调度时间间隔。In the formula: W HS,t is the energy stored in the heat storage device at time t; μ HS is the loss rate of the heat storage device; H ch,t is the charging power of the heat storage device at time t; H dis,t is the heat release power of the heat storage device at time t; λ HS,ch is the charging efficiency of the heat storage device; λ HS,dis is the heat release efficiency of the heat storage device; W HS,t-1 is the energy stored in the heat storage device at time t-1; Δt is the scheduling time interval.

(3)蓄冷设备(3) Cold storage equipment

Figure BDA0004153813980000152
Figure BDA0004153813980000152

式中:

Figure BDA0004153813980000153
为蓄冷设备t时刻储存的能量;
Figure BDA0004153813980000154
为蓄冷设备t-1时刻储存的能量;;μCS为蓄冷设备的损耗率;
Figure BDA0004153813980000155
为蓄冷设备t时刻的充冷功率;
Figure BDA0004153813980000156
为蓄冷设备t时刻的放冷功率;λCS,ch为蓄冷设备的充冷效率;λCS,dis为蓄冷设备的放冷效率;Δt为调度时间间隔。Where:
Figure BDA0004153813980000153
The energy stored in the cold storage device at time t;
Figure BDA0004153813980000154
is the energy stored in the cold storage device at time t-1; μ CS is the loss rate of the cold storage device;
Figure BDA0004153813980000155
is the cooling power of the cold storage equipment at time t;
Figure BDA0004153813980000156
is the cooling power of the cold storage equipment at time t; λ CS,ch is the cooling efficiency of the cold storage equipment; λ CS,dis is the cooling efficiency of the cold storage equipment; Δt is the scheduling time interval.

上述耦合设备模型包括:The above coupling device models include:

(1)燃气轮机模型:(1) Gas turbine model:

Figure BDA0004153813980000157
Figure BDA0004153813980000157

Figure BDA0004153813980000158
Figure BDA0004153813980000158

式中:

Figure BDA0004153813980000159
为燃机轮机机组g时间t消耗的天然气;βg为燃机轮机机组g燃气系数;
Figure BDA00041538139800001510
为燃机轮机机组g时间t产生的电功率;GHV为天然气高热值;
Figure BDA00041538139800001511
为燃机轮机机组g输出电功率最小值;
Figure BDA00041538139800001512
为燃机轮机机组g输出电功率最大值;ΩT为调度时间间隔;NGAS为燃机轮机机组总数。Where:
Figure BDA0004153813980000159
is the natural gas consumed by the gas turbine unit g in time t; β g is the gas coefficient of the gas turbine unit g;
Figure BDA00041538139800001510
is the electric power generated by the gas turbine unit g in time t; GHV is the high calorific value of natural gas;
Figure BDA00041538139800001511
is the minimum output power of the gas turbine unit g;
Figure BDA00041538139800001512
is the maximum output power of gas turbine unit g; Ω T is the scheduling time interval; N GAS is the total number of gas turbine units.

(2)电转气设备模型:(2) Power-to-gas equipment model:

Figure BDA00041538139800001513
Figure BDA00041538139800001513

Figure BDA00041538139800001514
Figure BDA00041538139800001514

式中:

Figure BDA0004153813980000161
为电转气设备o时间t产气量;
Figure BDA0004153813980000162
为电转气设备o时间t消耗天然气功率;GHV为天然气高热值;
Figure BDA0004153813980000163
为电转气设备o转换效率系数;
Figure BDA0004153813980000164
为电转气设备o最小消耗天然气功率;
Figure BDA0004153813980000165
为电转气设备o最大消耗天然气功率;ΩT为调度时间间隔;NP2G为电转气设备总数。Where:
Figure BDA0004153813980000161
is the gas production of the power-to-gas equipment in time o;
Figure BDA0004153813980000162
is the natural gas power consumed by the power-to-gas equipment in time o; GHV is the higher calorific value of natural gas;
Figure BDA0004153813980000163
is the conversion efficiency coefficient of the power-to-gas equipment;
Figure BDA0004153813980000164
Minimum natural gas power consumption for power-to-gas equipment;
Figure BDA0004153813980000165
is the maximum natural gas power consumed by the power-to-gas equipment o; Ω T is the scheduling time interval; NP2G is the total number of power-to-gas equipment.

之后,基于上述建立的包含电转气设备和多类储能设备的电-气互联综合能源系统模型,以其系统的经济成本最小、可再生能源消纳最大和CO2排放量最少为目标构建多目标优化配置函数。多目标优化配置函数至少包括下述目标函数中的一种或多种:系统经济成本最优目标函数、可再生能源消纳率最大目标函数和CO2排放量最小目标函数。Afterwards, based on the above-established electric-gas interconnected integrated energy system model including power-to-gas equipment and various types of energy storage equipment, a multi-objective optimization configuration function is constructed with the goal of minimizing the economic cost of the system, maximizing the consumption of renewable energy, and minimizing CO2 emissions. The multi-objective optimization configuration function includes at least one or more of the following objective functions: the optimal objective function of the economic cost of the system, the maximum objective function of the consumption rate of renewable energy, and the minimum objective function of CO2 emissions.

具体的,在本公开实施例中,系统经济成本最优目标函数的计算式如下:Specifically, in the embodiment of the present disclosure, the calculation formula of the optimal objective function of the system economic cost is as follows:

minF1=Finv+Fope minF 1 =F inv +F ope

Figure BDA0004153813980000166
Figure BDA0004153813980000166

Fope=Fbe+FOM F ope = F be + F OM

Figure BDA0004153813980000167
Figure BDA0004153813980000167

FOM=βiPout,i F OM = β i P out,i

式中:F1为系统经济成本;Finv为投资成本;Fope为运行成本;Fbe为购能成本;FOM为系统维护成本;Ci为设备i的安装容量;γi为设备i的单位容量安装费用;α为年利率,本文取6%;Yi为设备i的运行寿命;T为调度周期;

Figure BDA0004153813980000168
为综合能源系统在t时刻从电网购入的电功率;
Figure BDA0004153813980000169
为在综合能源系统t时刻从气网购入的气功率;
Figure BDA00041538139800001610
为t时刻从电网购电的电价;JG为天然气价格;Pout,i为设备i在t时段的输出功率;βi为设备i的单位运行维护费用。Where: F1 is the economic cost of the system; Finv is the investment cost; Fope is the operating cost; Fbe is the energy purchase cost; FOM is the system maintenance cost; Ci is the installed capacity of equipment i; γi is the installation cost per unit capacity of equipment i; α is the annual interest rate, which is 6% in this paper; Yi is the operating life of equipment i; T is the scheduling period;
Figure BDA0004153813980000168
is the electric power purchased by the integrated energy system from the power grid at time t;
Figure BDA0004153813980000169
is the gas power purchased from the gas grid at time t in the integrated energy system;
Figure BDA00041538139800001610
is the electricity price purchased from the power grid at time t; J G is the natural gas price; P out,i is the output power of device i in period t; β i is the unit operation and maintenance cost of device i.

可再生能源消纳率最大目标函数的计算式如下:The calculation formula of the maximum objective function of renewable energy consumption rate is as follows:

Figure BDA00041538139800001611
Figure BDA00041538139800001611

式中:F2为可再生能源消纳率;

Figure BDA0004153813980000171
为t时段系统对于风电机组j的计划接纳风电功率;
Figure BDA0004153813980000172
为t时段系统对于光电机组j的计划接纳光电功率;
Figure BDA0004153813980000173
为风电机组j的理想功率;
Figure BDA0004153813980000174
为光电机组j的理想功率;T为调度周期;NW为风电机组的总个数;NV为光电机组的总个数。Where: F 2 is the renewable energy consumption rate;
Figure BDA0004153813980000171
The planned wind power accepted by the system for wind turbine j during period t;
Figure BDA0004153813980000172
The system plans to receive photovoltaic power for photovoltaic group j during period t;
Figure BDA0004153813980000173
is the ideal power of wind turbine j;
Figure BDA0004153813980000174
is the ideal power of photovoltaic generator set j; T is the scheduling period; N W is the total number of wind turbines; NV is the total number of photovoltaic generator sets.

CO2排放量最小目标函数的计算式如下:The calculation formula of the minimum objective function of CO2 emissions is as follows:

Figure BDA0004153813980000175
Figure BDA0004153813980000175

式中:F3为CO2排放量;

Figure BDA0004153813980000176
为综合能源系统在t时刻从电网购入的电功率;
Figure BDA0004153813980000177
为在综合能源系统t时刻从气网购入的气功率;αe为购电CO2排放系数;αgas为购气CO2排放系数。Where: F 3 is CO 2 emissions;
Figure BDA0004153813980000176
is the electric power purchased by the integrated energy system from the power grid at time t;
Figure BDA0004153813980000177
is the gas power purchased from the gas grid at time t in the integrated energy system; αe is the CO2 emission coefficient for purchased electricity; αgas is the CO2 emission coefficient for purchased gas.

最后,基于所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型和所述多目标优化配置函数构建包含电转气设备和多类储能设备的多目标优化配置模型。Finally, based on the electric-gas interconnected comprehensive energy system model including the power-to-gas equipment and various types of energy storage equipment and the multi-objective optimization configuration function, a multi-objective optimization configuration model including the power-to-gas equipment and various types of energy storage equipment is constructed.

对于上述建立好的多目标优化配置模型采用基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集。在本发明中基于自适应精英保留策略和自适应的交叉变异改进了遗传算法,将其应用到优化模型的求解中,能够提高收敛速度,进一步提升优化效率。For the multi-objective optimization configuration model established above, a genetic algorithm based on an adaptive elite retention strategy is used to solve the multi-objective optimization configuration function to obtain an optimized configuration solution set. In the present invention, a genetic algorithm is improved based on an adaptive elite retention strategy and adaptive crossover mutation, and is applied to the solution of the optimization model, which can increase the convergence speed and further improve the optimization efficiency.

具体的,在本公开实施例中,基于所述可再生能源的装机容量数据和系统运行相关参数,确定基于自适应精英保留策略的遗传算法中的父代种群个体为电转气设备容量和多类型储能设备容量,种群中每个个体的适应度值为所述多目标优化配置函数值。在本公开实施例中,如图5所示,为遗传算法的流程图,基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集,具体包括:Specifically, in the disclosed embodiment, based on the installed capacity data of the renewable energy and the system operation related parameters, the parent population individuals in the genetic algorithm based on the adaptive elite retention strategy are determined to be the power-to-gas equipment capacity and the multi-type energy storage equipment capacity, and the fitness value of each individual in the population is the multi-objective optimization configuration function value. In the disclosed embodiment, as shown in FIG5 , it is a flow chart of the genetic algorithm, and the genetic algorithm based on the adaptive elite retention strategy solves the multi-objective optimization configuration function to obtain the optimized configuration solution set, which specifically includes:

步骤S1种群初始化:设置种群规模为100,最大迭代次数为100,k1为0.5,k2为0.9,k3为.01,k4为0.1。Step S1 population initialization: set the population size to 100, the maximum number of iterations to 100, k1 to 0.5, k2 to 0.9, k3 to .01, and k4 to 0.1.

步骤S2:随机生成父代种群P,所述父代种群P中的每个个体表示电转气设备容量和多类型储能设备容量,计算所述父代种群P中各个体的适应度值,所述适应度值代表目标函数;Step S2: randomly generate a parent population P, each individual in the parent population P represents the capacity of the power-to-gas device and the capacity of the multi-type energy storage device, and calculate the fitness value of each individual in the parent population P, wherein the fitness value represents the objective function;

步骤S3:通过遗传算法的选择和基于所述个体适应度值、所述基础交叉概率和所述基础变异概率采用的自适应交叉变异操作,产生子代种群Q。其中自适应交叉变异操作中自适应交叉概率和自适应变异概率的计算式为:Step S3: Generate a progeny population Q by selecting a genetic algorithm and performing an adaptive crossover and mutation operation based on the individual fitness value, the basic crossover probability and the basic mutation probability. The calculation formulas for the adaptive crossover probability and the adaptive mutation probability in the adaptive crossover and mutation operation are:

自适应交叉、变异:Adaptive crossover, mutation:

Figure BDA0004153813980000181
Figure BDA0004153813980000181

Figure BDA0004153813980000182
Figure BDA0004153813980000182

式中:pc为自适应交叉概率;k1和k2为基础交叉概率,且k2>k1;fm为种群能够接受的最大适应度值;fc为要交叉的两个个体中较大的适应度值;fmin为种群中所有个体适应度最小值;pm为自适应变异概率;k3和k4为基础变异概率,且k4>k3;fm为当前要变异的个体适应度值。在自适应的交叉概率中设定k2>k1和k4>k3,能够使得交叉概率和变异概率基于适应度值在k2和k4值的附近产生自适应的变化,使种群中个体的进化方向朝着最优方向变化,从而提升算法的优化效率。In the formula: p c is the adaptive crossover probability; k 1 and k 2 are the basic crossover probabilities, and k 2 > k 1 ; f m is the maximum fitness value that the population can accept; f c is the larger fitness value of the two individuals to be crossed; f min is the minimum fitness value of all individuals in the population; p m is the adaptive mutation probability; k 3 and k 4 are the basic mutation probabilities, and k 4 > k 3 ; f m is the fitness value of the individual to be mutated. In the adaptive crossover probability, setting k 2 > k 1 and k 4 > k 3 can make the crossover probability and mutation probability produce adaptive changes near the k 2 and k 4 values based on the fitness value, so that the evolutionary direction of the individuals in the population changes towards the optimal direction, thereby improving the optimization efficiency of the algorithm.

步骤S4:将所述父代种群P和所述子代种群Q进行混合,得到新的种群R,再对所述新的种群R进行快速非支配排序,得到非支配的优势种群序列;Step S4: Mix the parent population P and the child population Q to obtain a new population R, and then perform fast non-dominated sorting on the new population R to obtain a non-dominated dominant population sequence;

步骤S5:基于所述适应度值采用参考点的选择策略,对所述种群R进行选择,得到种群Y作为下一次迭代的父代种群;Step S5: Based on the fitness value, a reference point selection strategy is adopted to select the population R to obtain the population Y as the parent population of the next iteration;

步骤S6:基于所述非支配的优势种群序列采用自适应精英保留策略筛选出所述种群R中的优势个体添加到所述种群Y中作为下一次迭代的父代种群。Step S6: Based on the non-dominated dominant population sequence, an adaptive elite retention strategy is used to screen out dominant individuals in the population R and add them to the population Y as the parent population for the next iteration.

其中自适应精英保留策略的表达式如下:The expression of the adaptive elite retention strategy is as follows:

Figure BDA0004153813980000183
Figure BDA0004153813980000183

式中:Ne为精英保留个体的数量;N为种群个体的数量;fb为种群中最优个体的适应度值。自适应精英保留策略相比普通的精英保留策略,其优点在于能够随着适应度值发生动态的变化,保存种群中最优秀的个体,提高算法的准确性的同时也能够提升优化效率。Where: Ne is the number of elite retained individuals; N is the number of individuals in the population; fb is the fitness value of the best individual in the population. Compared with the ordinary elite retention strategy, the adaptive elite retention strategy has the advantage of being able to dynamically change with the fitness value, preserve the best individuals in the population, improve the accuracy of the algorithm, and also improve the optimization efficiency.

步骤S7:判断是否达到预设迭代次数,若判断为是,则输出各个体对应的电转气设备容量、多类型储能设备容量和目标函数值作为优化配置解集,否则返回步骤S3。Step S7: Determine whether the preset number of iterations has been reached. If so, output the power-to-gas equipment capacity, multi-type energy storage equipment capacity and objective function value corresponding to each individual as the optimal configuration solution set. Otherwise, return to step S3.

基于上述不同场景获取的可再生能源的装机容量数据和系统运行相关参数,通过基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到最优化配置解集如图6所示。在本发明中,求解后输出的是优化解集,最终的优化配置是基于需求选取的。具体的,在本公开实施例中,基于不同的目标函数选取最优的优化配置,图7为9组数据对应最优解的CO2排放量数据图,图8为上述9组数据对应最优解的可再生能源消纳率图。对仿真结果从年CO2排放量、可再生能源消纳率两个方面进行对比分析能够发现:采用电转气设备和多储能设备可大幅度提高可再生能源消纳率、降低CO2年排放量。综合能源系统中多种能量相互转换和储存,极大降低了弃风弃光,从而既提高了能源利用率,也降低了经济成本。Based on the installed capacity data of renewable energy and system operation related parameters obtained from the above different scenarios, the multi-objective optimization configuration function is solved by a genetic algorithm based on an adaptive elite retention strategy, and the optimal configuration solution set is obtained as shown in Figure 6. In the present invention, the output after the solution is the optimization solution set, and the final optimization configuration is selected based on demand. Specifically, in the disclosed embodiment, the optimal optimization configuration is selected based on different objective functions. Figure 7 is a data diagram of CO2 emissions corresponding to the optimal solution of 9 groups of data, and Figure 8 is a diagram of renewable energy consumption rate corresponding to the optimal solution of the above 9 groups of data. Comparative analysis of the simulation results from the two aspects of annual CO2 emissions and renewable energy consumption rate can find that the use of power-to-gas equipment and multi-energy storage equipment can greatly improve the renewable energy consumption rate and reduce the annual CO2 emissions. The mutual conversion and storage of multiple energies in the integrated energy system greatly reduces the abandonment of wind and solar power, thereby improving energy utilization and reducing economic costs.

表5Table 5

Figure BDA0004153813980000191
Figure BDA0004153813980000191

本发明提出的一种基于电转气的综合能源系统多目标优化方法,针对电-气互联综合能源系统,建立满足多个约束的电力系统、天然气系统模型、储能设备模型、耦合设备模型,之后建立系统经济成本最小、可再生能源消纳量最大、CO2排放量最少的多目标优化模型,运用改进的遗传算法进行求解。与现有方法相比,进行了电转气设备与多类型储能设备的协同规划,对综合能源系统多个目标进行优化,更加符合综合能源系统实际情况,提升系统经济性和环境性。如表5所示,能够看到遗传算法得到最优解更优,与未改进的遗传算法(NSGA-Ⅲ)相比,本技术方案中采用的基于自适应精英保留策略的遗传算法得到最优解的能力更好。The present invention proposes a multi-objective optimization method for an integrated energy system based on power-to-gas. For the integrated energy system with power-to-gas interconnection, a power system model, a natural gas system model, an energy storage device model, and a coupling device model that meet multiple constraints are established. Then, a multi-objective optimization model with the minimum economic cost of the system, the maximum renewable energy consumption, and the minimum CO2 emission is established, and an improved genetic algorithm is used to solve it. Compared with the existing methods, the coordinated planning of power-to-gas equipment and various types of energy storage equipment is carried out, and multiple objectives of the integrated energy system are optimized, which is more in line with the actual situation of the integrated energy system and improves the economy and environmental performance of the system. As shown in Table 5, it can be seen that the genetic algorithm is better at obtaining the optimal solution. Compared with the unimproved genetic algorithm (NSGA-Ⅲ), the genetic algorithm based on the adaptive elite retention strategy used in this technical solution has a better ability to obtain the optimal solution.

实施例2:Embodiment 2:

基于同一发明构思,本发明还提供了一种基于电转气的电-气互联综合能源系统多目标优化系统。该系统结构如图9所示,包括:Based on the same inventive concept, the present invention also provides a multi-objective optimization system for an electricity-gas interconnected integrated energy system based on electricity-to-gas conversion. The system structure is shown in FIG9 , and includes:

数据获取模块:用于获取电-气互联综合能源系统中可再生能源的装机容量数据和系统运行相关参数;Data acquisition module: used to obtain installed capacity data of renewable energy and system operation related parameters in the electricity-gas interconnected integrated energy system;

求解模块:用于基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集;A solution module: used to solve a pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment using a genetic algorithm based on the installed capacity data of the renewable energy and system operation related parameters, to obtain an optimization configuration solution set;

最优配置结果获取模块:基于优化需求从所述优化配置解集中选取电-气互联综合能源系统的最优配置结果;Optimal configuration result acquisition module: selects the optimal configuration result of the electricity-gas interconnected integrated energy system from the optimal configuration solution set based on the optimization requirements;

其中,所述多目标优化模型是在满足电-气互联综合能源系统可再生能源消纳最大的基础上以系统经济成本最小和CO2排放量最少构建的。Among them, the multi-objective optimization model is constructed on the basis of maximizing the renewable energy consumption of the electricity-gas interconnected integrated energy system with the minimum system economic cost and the minimum CO2 emissions.

优选的,所述求解模块中包含电转气设备和多类储能设备的多目标优化配置模型的构建包括:Preferably, the construction of a multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment in the solution module includes:

基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型包括以下一种或多种电力系统模型、天然气系统模型、耦合设备模型和多类储能设备模型;Constructing an electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment based on multiple constraints, wherein the electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment includes one or more of the following power system models, natural gas system models, coupling device models, and multiple types of energy storage equipment models;

以所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型的经济成本最小、可再生能源消纳最大和CO2排放量最少为目标构建多目标优化配置函数;A multi-objective optimization configuration function is constructed with the objectives of minimizing the economic cost, maximizing the consumption of renewable energy and minimizing CO 2 emissions of the electric-gas interconnected comprehensive energy system model including the electric-to-gas equipment and various types of energy storage equipment;

基于所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型和所述多目标优化配置函数构建包含电转气设备和多类储能设备的多目标优化配置模型。A multi-objective optimization configuration model including power-to-gas equipment and various types of energy storage equipment is constructed based on the power-to-gas interconnected comprehensive energy system model including power-to-gas equipment and various types of energy storage equipment and the multi-objective optimization configuration function.

优选的,所述求解模块中基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,包括:Preferably, the solution module constructs an electric-gas interconnected integrated energy system model including electric-to-gas equipment and multiple types of energy storage equipment based on multiple constraints, including:

基于功率平衡约束、机组出力约束、节点电压约束、支路潮流约束构建所述电力系统模型;Constructing the power system model based on power balance constraints, unit output constraints, node voltage constraints, and branch power flow constraints;

基于气源出气量约束、天然气管道运行约束、管村运行约束、储气罐运行约束、压缩机运行约束、节点流量平衡约束构建所述天然气系统模型;The natural gas system model is constructed based on the gas source output constraint, the natural gas pipeline operation constraint, the pipe village operation constraint, the gas storage tank operation constraint, the compressor operation constraint, and the node flow balance constraint;

基于燃气轮机出力约束、电转气设备出力约束构建所述耦合设备模型;Constructing the coupling device model based on the gas turbine output constraint and the power-to-gas device output constraint;

基于储电设备运行约束、储热设备运行约束和蓄冷设备运行约束构建所述多类储能设备模型;Constructing the multiple types of energy storage device models based on the operation constraints of the electric storage device, the operation constraints of the heat storage device, and the operation constraints of the cold storage device;

以所述电力系统模型、所述天然气系统模型、所述耦合设备模型和所述多类储能设备模型构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型。An electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment is constructed using the electric power system model, the natural gas system model, the coupling device model and the multiple types of energy storage equipment models.

优选的,所述求解模块中多目标优化配置函数对应的计算式如下:Preferably, the calculation formula corresponding to the multi-objective optimization configuration function in the solution module is as follows:

minF1=Finv+Fope minF 1 =F inv +F ope

Figure BDA0004153813980000201
Figure BDA0004153813980000201

Figure BDA0004153813980000202
Figure BDA0004153813980000202

式中:F1为系统经济成本;Finv为投资成本;Fope为运行成本;F2为可再生能源消纳率;T为调度周期;NW为系统中风电机组的总数量;NV为系统中光电机组的总数量;

Figure BDA0004153813980000203
为t时段系统对于风电机组j的计划接纳风电功率;
Figure BDA0004153813980000211
为t时段系统对于光电机组j的计划接纳光电功率;
Figure BDA0004153813980000212
为风电机组j的理想功率;
Figure BDA0004153813980000213
为光电机组j的理想功率;F3为CO2排放量;
Figure BDA0004153813980000214
为综合能源系统在t时刻从电网购入的电功率;
Figure BDA0004153813980000215
为在综合能源系统t时刻从气网购入的气功率;αe为购电CO2排放系数;αgas为购气CO2排放系数。Where: F1 is the economic cost of the system; Finv is the investment cost; Fope is the operating cost; F2 is the renewable energy consumption rate; T is the dispatch period; NW is the total number of wind turbines in the system; NV is the total number of photovoltaic generators in the system;
Figure BDA0004153813980000203
The planned wind power accepted by the system for wind turbine j during period t;
Figure BDA0004153813980000211
The system plans to receive photovoltaic power for photovoltaic group j during period t;
Figure BDA0004153813980000212
is the ideal power of wind turbine j;
Figure BDA0004153813980000213
is the ideal power of photovoltaic group j; F 3 is the CO 2 emission;
Figure BDA0004153813980000214
is the electric power purchased by the integrated energy system from the power grid at time t;
Figure BDA0004153813980000215
is the gas power purchased from the gas grid at time t in the integrated energy system; αe is the CO2 emission coefficient for purchased electricity; αgas is the CO2 emission coefficient for purchased gas.

优选的,所述求解模块中投资成本Finv的计算式如下:Preferably, the calculation formula of the investment cost Finv in the solution module is as follows:

Figure BDA0004153813980000216
Figure BDA0004153813980000216

所述运行成本Fope的计算式如下:The calculation formula of the operating cost Fope is as follows:

Figure BDA0004153813980000217
Figure BDA0004153813980000217

式中:γi为设备i的单位容量安装费用;Ci为设备i的安装容量;I为综合能源系统中设备的总数量;α为年利率;Yi为设备i的运行寿命;T为调度周期;

Figure BDA0004153813980000218
为t时刻从电网购电的电价;JG为天然气价格;Pout,i为设备i在t时段的输出功率;βi为设备i的单位运行维护费用。Where: γ i is the installation cost per unit capacity of equipment i; C i is the installed capacity of equipment i; I is the total number of equipment in the integrated energy system; α is the annual interest rate; Yi i is the operating life of equipment i; T is the scheduling period;
Figure BDA0004153813980000218
is the electricity price purchased from the power grid at time t; J G is the natural gas price; P out,i is the output power of device i in period t; β i is the unit operation and maintenance cost of device i.

优选的,所述求解模块具体用于:Preferably, the solution module is specifically used for:

基于所述可再生能源的装机容量数据和系统运行相关参数,确定基于自适应精英保留策略的遗传算法中的父代种群个体为电转气设备容量和多类型储能设备容量,种群中每个个体的适应度值为所述多目标优化配置函数值;Based on the installed capacity data of the renewable energy and system operation related parameters, determining that the parent population individuals in the genetic algorithm based on the adaptive elite retention strategy are the power-to-gas equipment capacity and the multi-type energy storage equipment capacity, and the fitness value of each individual in the population is the multi-objective optimization configuration function value;

采用所述基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集。The genetic algorithm based on the adaptive elite retention strategy is used to solve the multi-objective optimization configuration function to obtain an optimization configuration solution set.

优选的,所述求解模块中采用基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集,包括:Preferably, the solution module adopts a genetic algorithm based on an adaptive elite retention strategy to solve the multi-objective optimization configuration function to obtain an optimization configuration solution set, including:

步骤S1:初始化种群,设置种群规模、迭代次数、基础交叉概率和基础变异概率;Step S1: Initialize the population, set the population size, number of iterations, basic crossover probability and basic mutation probability;

步骤S2:随机生成父代种群P,所述父代种群P中的每个个体表示电转气设备容量和多类型储能设备容量,计算所述父代种群P中各个体的适应度值,所述适应度值代表所述多目标优化配置函数值;Step S2: randomly generate a parent population P, each individual in the parent population P represents the capacity of the power-to-gas equipment and the capacity of multiple types of energy storage equipment, and calculate the fitness value of each individual in the parent population P, wherein the fitness value represents the value of the multi-objective optimization configuration function;

步骤S3:通过遗传算法对所述父代种群P进行选择,基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,产生子代种群Q;Step S3: selecting the parent population P by a genetic algorithm, and performing adaptive crossover and mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability to generate a child population Q;

步骤S4:将所述父代种群P和所述子代种群Q进行混合,得到新的种群R,再对所述新的种群R进行快速非支配排序,得到非支配的优势种群序列;Step S4: Mix the parent population P and the child population Q to obtain a new population R, and then perform fast non-dominated sorting on the new population R to obtain a non-dominated dominant population sequence;

步骤S5:基于所述适应度值采用参考点的选择策略,对所述种群R进行选择,得到种群Y作为下一次迭代的父代种群;Step S5: Based on the fitness value, a reference point selection strategy is adopted to select the population R to obtain the population Y as the parent population of the next iteration;

步骤S6:基于所述非支配的优势种群序列采用所述自适应精英保留策略筛选出所述种群R中的优势个体添加到所述种群Y中作为下一次迭代的父代种群;Step S6: Based on the non-dominated dominant population sequence, the adaptive elite retention strategy is used to select the dominant individuals in the population R and add them to the population Y as the parent population for the next iteration;

步骤S7:判断是否达到所述迭代次数,若判断为是,则得到各个体对应的电转气设备容量、多类型储能设备容量和多目标优化配置函数值作为优化配置解集并结束,否则返回步骤S3。Step S7: Determine whether the number of iterations has been reached. If so, obtain the power-to-gas equipment capacity, multi-type energy storage equipment capacity and multi-objective optimization configuration function value corresponding to each individual as the optimization configuration solution set and end. Otherwise, return to step S3.

优选的,所述求解模块中基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,包括:Preferably, the solution module performs adaptive crossover and mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability, including:

基于所述个体适应度值、所述基础交叉概率和所述基础变异概率确定自适应交叉概率和自适应变异概率;Determine an adaptive crossover probability and an adaptive mutation probability based on the individual fitness value, the basic crossover probability and the basic mutation probability;

基于所述自适应交叉概率和自适应变异概率对所述父代种群P进行自适应交叉变异。Adaptive crossover and mutation are performed on the parent population P based on the adaptive crossover probability and the adaptive mutation probability.

优选的,所述求解模块中自适应交叉概率的计算式如下:Preferably, the calculation formula of the adaptive crossover probability in the solution module is as follows:

Figure BDA0004153813980000221
Figure BDA0004153813980000221

所述自适应变异概率的计算式如下:The calculation formula of the adaptive mutation probability is as follows:

Figure BDA0004153813980000222
Figure BDA0004153813980000222

式中:pc为自适应交叉概率;k1为第一基础交叉概率;k2为第二基础交叉概率;pm为自适应变异概率;k3为第一基础变异概率;k4为第二基础变异概率;fm为当前要变异的个体适应度值;f m 为种群能够接受的最大适应度值;fc为要交叉的两个个体中较大的适应度值;fmin为种群中所有个体适应度最小值;所述第一基础交叉概率小于第二基础交叉概率;所述第一基础变异概率小于第二基础变异概率。In the formula: pc is the adaptive crossover probability; k1 is the first basic crossover probability; k2 is the second basic crossover probability; pm is the adaptive mutation probability; k3 is the first basic mutation probability; k4 is the second basic mutation probability; fm is the fitness value of the individual to be mutated; fm is the maximum fitness value that the population can accept; fc is the larger fitness value of the two individuals to be crossed; fmin is the minimum fitness value of all individuals in the population; the first basic crossover probability is less than the second basic crossover probability; the first basic mutation probability is less than the second basic mutation probability.

优选的,所述求解模块中自适应精英保留策略的计算式如下:Preferably, the calculation formula of the adaptive elite retention strategy in the solution module is as follows:

Figure BDA0004153813980000223
Figure BDA0004153813980000223

式中:Ne为精英保留个体的数量;fi为第i个种群个体的适应度值;N为种群个体的数量;fb为种群中最优个体的适应度值。In the formula: Ne is the number of elite retained individuals; fi is the fitness value of the i-th population individual; N is the number of individuals in the population; fb is the fitness value of the best individual in the population.

优选的,所述数据获取模块中系统运行相关参数包括以下一种或多种:光电功率预测值、负荷预测值、风电功率预测值、不同时间段电价表、电转气设备参数、多类型储能设备参数、热电联产设备运行参数、燃气锅炉运行参数、吸收式制冷机运行参数、储气罐运行参数、压缩机运行参数。Preferably, the system operation related parameters in the data acquisition module include one or more of the following: photovoltaic power prediction value, load prediction value, wind power prediction value, electricity price list for different time periods, power-to-gas equipment parameters, parameters of various types of energy storage equipment, cogeneration equipment operating parameters, gas boiler operating parameters, absorption chiller operating parameters, gas tank operating parameters, and compressor operating parameters.

本公开通过数据获取模块、求解模块和最优配置结果获取模块对包含电转气设备和多类储能设备综合能源系统的最优配置方案进行求解,通过建立包含电转气设备和多类型储能设备的多目标优化配置模型,进行了电转气设备和多类型储能设备的协同规划,能够提供更加符合综合能源系统实际情况、更加全面的优化配置方案。另外,求解模块是采用了基于自适应精英保留策略和自适应的交叉变异改进了遗传算法,在求解的过程中进一步提升了优化效率。The present invention solves the optimal configuration scheme of the integrated energy system including power-to-gas equipment and multiple types of energy storage equipment through a data acquisition module, a solution module and an optimal configuration result acquisition module. By establishing a multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment, the coordinated planning of power-to-gas equipment and multiple types of energy storage equipment is carried out, which can provide a more comprehensive optimization configuration scheme that is more in line with the actual situation of the integrated energy system. In addition, the solution module adopts an improved genetic algorithm based on an adaptive elite retention strategy and adaptive crossover mutation, which further improves the optimization efficiency in the solution process.

实施例3:Embodiment 3:

基于同一种发明构思,本发明还提供了一种计算机设备,该计算机设备包括处理器以及存储器,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器用于执行所述计算机存储介质存储的程序指令。处理器可能是中央处理单元(CentralProcessing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital SignalProcessor、DSP)、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable GateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其是终端的计算核心以及控制核心,其适于实现一条或一条以上指令,具体适于加载并执行计算机存储介质内一条或一条以上指令从而实现相应方法流程或相应功能,以实现上述实施例中一种综合能源系统多目标优化方法的步骤。Based on the same inventive concept, the present invention also provides a computer device, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding function, so as to implement the steps of a multi-objective optimization method for an integrated energy system in the above embodiment.

实施例4:Embodiment 4:

基于同一种发明构思,本发明还提供了一种存储介质,具体为计算机可读存储介质(Memory),所述计算机可读存储介质是计算机设备中的记忆设备,用于存放程序和数据。可以理解的是,此处的计算机可读存储介质既可以包括计算机设备中的内置存储介质,当然也可以包括计算机设备所支持的扩展存储介质。计算机可读存储介质提供存储空间,该存储空间存储了终端的操作系统。并且,在该存储空间中还存放了适于被处理器加载并执行的一条或一条以上的指令,这些指令可以是一个或一个以上的计算机程序(包括程序代码)。需要说明的是,此处的计算机可读存储介质可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。可由处理器加载并执行计算机可读存储介质中存放的一条或一条以上指令,以实现上述实施例中一种综合能源系统多目标优化方法的步骤。Based on the same inventive concept, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It can be understood that the computer-readable storage medium here can include both built-in storage media in a computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of a multi-objective optimization method for an integrated energy system in the above embodiment.

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

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to the flowchart and/or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

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

最后应当说明的是:以上实施例仅用于说明本发明的技术方案而非对其保护范围的限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:本领域技术人员阅读本发明后依然可对申请的具体实施方式进行种种变更、修改或者等同替换,但这些变更、修改或者等同替换,均在申请待批的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit its protection scope. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that after reading the present invention, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the application, but these changes, modifications or equivalent substitutions are all within the protection scope of the claims to be approved.

Claims (24)

1.一种综合能源系统多目标优化方法,其特征在于,包括:1. A multi-objective optimization method for an integrated energy system, comprising: 获取电-气互联综合能源系统中可再生能源的装机容量数据和系统运行相关参数;Obtain installed capacity data of renewable energy and system operation related parameters in the electricity-gas interconnected integrated energy system; 基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集;Based on the installed capacity data of the renewable energy and system operation related parameters, a genetic algorithm is used to solve a pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment to obtain an optimization configuration solution set; 基于优化需求从所述优化配置解集中选取电-气互联综合能源系统的最优配置结果;Selecting the optimal configuration result of the electricity-gas interconnected integrated energy system from the optimal configuration solution set based on the optimization requirements; 其中,所述多目标优化模型是在满足电-气互联综合能源系统可再生能源消纳最大的基础上以系统经济成本最小和CO2排放量最少构建的。Among them, the multi-objective optimization model is constructed on the basis of maximizing the renewable energy consumption of the electricity-gas interconnected integrated energy system with the minimum system economic cost and the minimum CO2 emissions. 2.根据权利要求1所述的方法,其特征在于,所述包含电转气设备和多类储能设备的多目标优化配置模型的构建,包括:2. The method according to claim 1, characterized in that the construction of the multi-objective optimization configuration model including the power-to-gas equipment and multiple types of energy storage equipment comprises: 基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型包括以下一种或多种电力系统模型、天然气系统模型、耦合设备模型和多类储能设备模型;Constructing an electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment based on multiple constraints, wherein the electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment includes one or more of the following power system models, natural gas system models, coupling device models, and multiple types of energy storage equipment models; 以所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型的经济成本最小、可再生能源消纳最大和CO2排放量最少为目标构建多目标优化配置函数;A multi-objective optimization configuration function is constructed with the objectives of minimizing the economic cost, maximizing the consumption of renewable energy and minimizing CO 2 emissions of the electric-gas interconnected comprehensive energy system model including the electric-to-gas equipment and various types of energy storage equipment; 基于所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型和所述多目标优化配置函数构建包含电转气设备和多类储能设备的多目标优化配置模型。A multi-objective optimization configuration model including power-to-gas equipment and various types of energy storage equipment is constructed based on the power-to-gas interconnected comprehensive energy system model including power-to-gas equipment and various types of energy storage equipment and the multi-objective optimization configuration function. 3.根据权利要求2所述的方法,其特征在于,所述基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,包括:3. The method according to claim 2, characterized in that the construction of an electric-gas interconnected integrated energy system model including power-to-gas equipment and multiple types of energy storage equipment based on multiple constraints comprises: 基于功率平衡约束、机组出力约束、节点电压约束、支路潮流约束构建所述电力系统模型;Constructing the power system model based on power balance constraints, unit output constraints, node voltage constraints, and branch power flow constraints; 基于气源出气量约束、天然气管道运行约束、管村运行约束、储气罐运行约束、压缩机运行约束、节点流量平衡约束构建所述天然气系统模型;The natural gas system model is constructed based on the gas source output constraint, the natural gas pipeline operation constraint, the pipe village operation constraint, the gas storage tank operation constraint, the compressor operation constraint, and the node flow balance constraint; 基于燃气轮机出力约束、电转气设备出力约束构建所述耦合设备模型;Constructing the coupling device model based on the gas turbine output constraint and the power-to-gas device output constraint; 基于储电设备运行约束、储热设备运行约束和蓄冷设备运行约束构建所述多类储能设备模型;Constructing the multiple types of energy storage device models based on the operation constraints of the electric storage device, the operation constraints of the heat storage device, and the operation constraints of the cold storage device; 以所述电力系统模型、所述天然气系统模型、所述耦合设备模型和所述多类储能设备模型构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型。An electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment is constructed using the electric power system model, the natural gas system model, the coupling device model and the multiple types of energy storage equipment models. 4.根据权利要求2所述的方法,其特征在于,所述多目标优化配置函数对应的计算式如下:4. The method according to claim 2, characterized in that the calculation formula corresponding to the multi-objective optimization configuration function is as follows: minF1=Finv+Fope minF 1 =F inv +F ope
Figure FDA0004153813970000021
Figure FDA0004153813970000021
Figure FDA0004153813970000022
Figure FDA0004153813970000022
式中:F1为系统经济成本;Finv为投资成本;Fope为运行成本;F2为可再生能源消纳率;T为调度周期;NW为系统中风电机组的总数量;NV为系统中光电机组的总数量;
Figure FDA0004153813970000023
为t时段系统对于风电机组j的计划接纳风电功率;
Figure FDA0004153813970000024
为t时段系统对于光电机组j的计划接纳光电功率;
Figure FDA0004153813970000025
为风电机组j的理想功率;
Figure FDA0004153813970000026
为光电机组j的理想功率;F3为CO2排放量;
Figure FDA0004153813970000027
为综合能源系统在t时刻从电网购入的电功率;
Figure FDA0004153813970000028
为在综合能源系统t时刻从气网购入的气功率;αe为购电CO2排放系数;αgas为购气CO2排放系数。
Where: F1 is the economic cost of the system; Finv is the investment cost; Fope is the operating cost; F2 is the renewable energy consumption rate; T is the dispatch period; NW is the total number of wind turbines in the system; NV is the total number of photovoltaic generators in the system;
Figure FDA0004153813970000023
The planned wind power accepted by the system for wind turbine j during period t;
Figure FDA0004153813970000024
The system plans to receive photovoltaic power for photovoltaic group j during period t;
Figure FDA0004153813970000025
is the ideal power of wind turbine j;
Figure FDA0004153813970000026
is the ideal power of photovoltaic group j; F 3 is the CO 2 emission;
Figure FDA0004153813970000027
is the electric power purchased by the integrated energy system from the power grid at time t;
Figure FDA0004153813970000028
is the gas power purchased from the gas grid at time t in the integrated energy system; αe is the CO2 emission coefficient for purchased electricity; αgas is the CO2 emission coefficient for purchased gas.
5.根据权利要求4所述的方法,其特征在于,所述投资成本Finv的计算式如下:5. The method according to claim 4, characterized in that the calculation formula of the investment cost Finv is as follows:
Figure FDA0004153813970000029
Figure FDA0004153813970000029
所述运行成本Fope的计算式如下:The calculation formula of the operating cost Fope is as follows:
Figure FDA00041538139700000210
Figure FDA00041538139700000210
式中:γi为设备i的单位容量安装费用;Ci为设备i的安装容量;I为综合能源系统中设备的总数量;α为年利率;Yi为设备i的运行寿命;T为调度周期;
Figure FDA00041538139700000211
为t时刻从电网购电的电价;JG为天然气价格;Pout,i为设备i在t时段的输出功率;βi为设备i的单位运行维护费用。
Where: γ i is the installation cost per unit capacity of equipment i; C i is the installed capacity of equipment i; I is the total number of equipment in the integrated energy system; α is the annual interest rate; Yi i is the operating life of equipment i; T is the scheduling period;
Figure FDA00041538139700000211
is the electricity price purchased from the power grid at time t; J G is the natural gas price; P out,i is the output power of device i in period t; β i is the unit operation and maintenance cost of device i.
6.根据权利要求2所述的方法,其特征在于,所述基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集,包括:6. The method according to claim 2, characterized in that, based on the installed capacity data of the renewable energy and system operation related parameters, a genetic algorithm is used to solve a pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment to obtain an optimization configuration solution set, including: 基于所述可再生能源的装机容量数据和系统运行相关参数,确定基于自适应精英保留策略的遗传算法中的父代种群个体为电转气设备容量和多类型储能设备容量,种群中每个个体的适应度值为所述多目标优化配置函数值;Based on the installed capacity data of the renewable energy and system operation related parameters, determining that the parent population individuals in the genetic algorithm based on the adaptive elite retention strategy are the power-to-gas equipment capacity and the multi-type energy storage equipment capacity, and the fitness value of each individual in the population is the multi-objective optimization configuration function value; 采用所述基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集。The genetic algorithm based on the adaptive elite retention strategy is used to solve the multi-objective optimization configuration function to obtain an optimization configuration solution set. 7.根据权利要求6所述的方法,其特征在于,所述采用基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集,包括:7. The method according to claim 6, characterized in that the use of a genetic algorithm based on an adaptive elite retention strategy to solve the multi-objective optimization configuration function to obtain an optimization configuration solution set comprises: 步骤S1:初始化种群,设置种群规模、迭代次数、基础交叉概率和基础变异概率;Step S1: Initialize the population, set the population size, number of iterations, basic crossover probability and basic mutation probability; 步骤S2:随机生成父代种群P,所述父代种群P中的每个个体表示电转气设备容量和多类型储能设备容量,计算所述父代种群P中各个体的适应度值,所述适应度值代表所述多目标优化配置函数值;Step S2: randomly generate a parent population P, each individual in the parent population P represents the capacity of the power-to-gas equipment and the capacity of multiple types of energy storage equipment, and calculate the fitness value of each individual in the parent population P, wherein the fitness value represents the value of the multi-objective optimization configuration function; 步骤S3:通过遗传算法对所述父代种群P进行选择,基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,产生子代种群Q;Step S3: selecting the parent population P by a genetic algorithm, and performing adaptive crossover and mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability to generate a child population Q; 步骤S4:将所述父代种群P和所述子代种群Q进行混合,得到新的种群R,再对所述新的种群R进行快速非支配排序,得到非支配的优势种群序列;Step S4: Mix the parent population P and the child population Q to obtain a new population R, and then perform fast non-dominated sorting on the new population R to obtain a non-dominated dominant population sequence; 步骤S5:基于所述适应度值采用参考点的选择策略,对所述种群R进行选择,得到种群Y作为下一次迭代的父代种群;Step S5: Based on the fitness value, a reference point selection strategy is adopted to select the population R to obtain the population Y as the parent population of the next iteration; 步骤S6:基于所述非支配的优势种群序列采用所述自适应精英保留策略筛选出所述种群R中的优势个体添加到所述种群Y中作为下一次迭代的父代种群;Step S6: Based on the non-dominated dominant population sequence, the adaptive elite retention strategy is used to select the dominant individuals in the population R and add them to the population Y as the parent population for the next iteration; 步骤S7:判断是否达到所述迭代次数,若判断为是,则得到各个体对应的电转气设备容量、多类型储能设备容量和多目标优化配置函数值作为优化配置解集并结束,否则返回步骤S3。Step S7: Determine whether the number of iterations has been reached. If so, obtain the power-to-gas equipment capacity, multi-type energy storage equipment capacity and multi-objective optimization configuration function value corresponding to each individual as the optimization configuration solution set and end. Otherwise, return to step S3. 8.根据权利要求7所述的方法,其特征在于,所述基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,包括:8. The method according to claim 7, characterized in that the step of performing adaptive crossover and mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability comprises: 基于所述个体适应度值、所述基础交叉概率和所述基础变异概率确定自适应交叉概率和自适应变异概率;Determine an adaptive crossover probability and an adaptive mutation probability based on the individual fitness value, the basic crossover probability and the basic mutation probability; 基于所述自适应交叉概率和自适应变异概率对所述父代种群P进行自适应交叉变异。Adaptive crossover and mutation are performed on the parent population P based on the adaptive crossover probability and the adaptive mutation probability. 9.根据权利要求8所述的方法,其特征在于,所述自适应交叉概率的计算式如下:9. The method according to claim 8, characterized in that the calculation formula of the adaptive crossover probability is as follows:
Figure FDA0004153813970000031
Figure FDA0004153813970000031
所述自适应变异概率的计算式如下:The calculation formula of the adaptive mutation probability is as follows:
Figure FDA0004153813970000041
Figure FDA0004153813970000041
式中:pc为自适应交叉概率;k1为第一基础交叉概率;k2为第二基础交叉概率;pm为自适应变异概率;k3为第一基础变异概率;k4为第二基础变异概率;fm为当前要变异的个体适应度值;f m 为种群能够接受的最大适应度值;fc为要交叉的两个个体中较大的适应度值;fmin为种群中所有个体适应度最小值;所述第一基础交叉概率小于第二基础交叉概率;所述第一基础变异概率小于第二基础变异概率。In the formula: pc is the adaptive crossover probability; k1 is the first basic crossover probability; k2 is the second basic crossover probability; pm is the adaptive mutation probability; k3 is the first basic mutation probability; k4 is the second basic mutation probability; fm is the fitness value of the individual to be mutated; fm is the maximum fitness value that the population can accept; fc is the larger fitness value of the two individuals to be crossed; fmin is the minimum fitness value of all individuals in the population; the first basic crossover probability is less than the second basic crossover probability; the first basic mutation probability is less than the second basic mutation probability.
10.根据权利要求7所述的方法,其特征在于,所述自适应精英保留策略的计算式如下:10. The method according to claim 7, characterized in that the calculation formula of the adaptive elite retention strategy is as follows:
Figure FDA0004153813970000042
Figure FDA0004153813970000042
式中:Ne为精英保留个体的数量;fi为第i个种群个体的适应度值;N为种群个体的数量;fb为种群中最优个体的适应度值。In the formula: Ne is the number of elite retained individuals; fi is the fitness value of the i-th population individual; N is the number of individuals in the population; fb is the fitness value of the best individual in the population.
11.根据权利要求1所述的方法,其特征在于,所述系统运行相关参数包括以下一种或多种:光电功率预测值、负荷预测值、风电功率预测值、不同时间段电价表、电转气设备参数、多类型储能设备参数、热电联产设备运行参数、燃气锅炉运行参数、吸收式制冷机运行参数、储气罐运行参数、压缩机运行参数。11. The method according to claim 1 is characterized in that the system operation related parameters include one or more of the following: photovoltaic power prediction value, load prediction value, wind power prediction value, electricity price table for different time periods, power-to-gas equipment parameters, multi-type energy storage equipment parameters, cogeneration equipment operating parameters, gas boiler operating parameters, absorption chiller operating parameters, gas tank operating parameters, compressor operating parameters. 12.一种基于电转气的电-气互联综合能源系统多目标优化系统,其特征在于,包括:12. A multi-objective optimization system for an electricity-gas interconnected integrated energy system based on electricity-to-gas conversion, characterized by comprising: 数据获取模块:用于获取电-气互联综合能源系统中可再生能源的装机容量数据和系统运行相关参数;Data acquisition module: used to obtain installed capacity data of renewable energy and system operation related parameters in the electricity-gas interconnected integrated energy system; 求解模块:用于基于所述可再生能源的装机容量数据和系统运行相关参数,采用遗传算法对预先构建的包含电转气设备和多类储能设备的多目标优化配置模型进行求解,得到优化配置解集;A solution module: used to solve a pre-built multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment using a genetic algorithm based on the installed capacity data of the renewable energy and system operation related parameters to obtain an optimization configuration solution set; 最优配置结果获取模块:用于基于优化需求从所述优化配置解集中选取电-气互联综合能源系统的最优配置结果;An optimal configuration result acquisition module is used to select the optimal configuration result of the electricity-gas interconnected integrated energy system from the optimal configuration solution set based on optimization requirements; 其中,所述多目标优化模型是在满足电-气互联综合能源系统可再生能源消纳最大的基础上以系统经济成本最小和CO2排放量最少构建的。Among them, the multi-objective optimization model is constructed on the basis of maximizing the renewable energy consumption of the electricity-gas interconnected integrated energy system with the minimum system economic cost and the minimum CO2 emissions. 13.根据权利要求12所述的系统,其特征在于,所述求解模块中包含电转气设备和多类储能设备的多目标优化配置模型的构建包括:13. The system according to claim 12, characterized in that the construction of a multi-objective optimization configuration model including power-to-gas equipment and multiple types of energy storage equipment in the solution module comprises: 基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型包括以下一种或多种电力系统模型、天然气系统模型、耦合设备模型和多类储能设备模型;Constructing an electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment based on multiple constraints, wherein the electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment includes one or more of the following power system models, natural gas system models, coupling device models, and multiple types of energy storage equipment models; 以所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型的经济成本最小、可再生能源消纳最大和CO2排放量最少为目标构建多目标优化配置函数;A multi-objective optimization configuration function is constructed with the objectives of minimizing the economic cost, maximizing the consumption of renewable energy and minimizing CO 2 emissions of the electric-gas interconnected comprehensive energy system model including the electric-to-gas equipment and various types of energy storage equipment; 基于所述包含电转气设备和多类储能设备的电-气互联综合能源系统模型和所述多目标优化配置函数构建包含电转气设备和多类储能设备的多目标优化配置模型。A multi-objective optimization configuration model including power-to-gas equipment and various types of energy storage equipment is constructed based on the power-to-gas interconnected comprehensive energy system model including power-to-gas equipment and various types of energy storage equipment and the multi-objective optimization configuration function. 14.根据权利要求13所述的系统,其特征在于,所述求解模块基于多个约束条件构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型,包括:14. The system according to claim 13, characterized in that the solution module constructs an electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment based on multiple constraints, including: 基于功率平衡约束、机组出力约束、节点电压约束、支路潮流约束构建所述电力系统模型;Constructing the power system model based on power balance constraints, unit output constraints, node voltage constraints, and branch power flow constraints; 基于气源出气量约束、天然气管道运行约束、管村运行约束、储气罐运行约束、压缩机运行约束、节点流量平衡约束构建所述天然气系统模型;The natural gas system model is constructed based on the gas source output constraint, the natural gas pipeline operation constraint, the pipe village operation constraint, the gas storage tank operation constraint, the compressor operation constraint, and the node flow balance constraint; 基于燃气轮机出力约束、电转气设备出力约束构建所述耦合设备模型;Constructing the coupling device model based on the gas turbine output constraint and the power-to-gas device output constraint; 基于储电设备运行约束、储热设备运行约束和蓄冷设备运行约束构建所述多类储能设备模型;Constructing the multiple types of energy storage device models based on the operation constraints of the electric storage device, the operation constraints of the heat storage device, and the operation constraints of the cold storage device; 以所述电力系统模型、所述天然气系统模型、所述耦合设备模型和所述多类储能设备模型构建包含电转气设备和多类储能设备的电-气互联综合能源系统模型。An electric-gas interconnected comprehensive energy system model including power-to-gas equipment and multiple types of energy storage equipment is constructed using the electric power system model, the natural gas system model, the coupling device model and the multiple types of energy storage equipment models. 15.根据权利要求13所述的系统,其特征在于,所述求解模块中多目标优化配置函数对应的计算式如下:15. The system according to claim 13, characterized in that the calculation formula corresponding to the multi-objective optimization configuration function in the solution module is as follows: minF1=Finv+Fope minF 1 =F inv +F ope
Figure FDA0004153813970000051
Figure FDA0004153813970000051
Figure FDA0004153813970000052
Figure FDA0004153813970000052
式中:F1为系统经济成本;Finv为投资成本;Fope为运行成本;F2为可再生能源消纳率;T为调度周期;NW为系统中风电机组的总数量;NV为系统中光电机组的总数量;
Figure FDA0004153813970000053
为t时段系统对于风电机组j的计划接纳风电功率;
Figure FDA0004153813970000054
为t时段系统对于光电机组j的计划接纳光电功率;
Figure FDA0004153813970000061
为风电机组j的理想功率;
Figure FDA0004153813970000062
为光电机组j的理想功率;F3为CO2排放量;
Figure FDA0004153813970000063
为综合能源系统在t时刻从电网购入的电功率;
Figure FDA0004153813970000064
为在综合能源系统t时刻从气网购入的气功率;αe为购电CO2排放系数;αgas为购气CO2排放系数。
Where: F1 is the economic cost of the system; Finv is the investment cost; Fope is the operating cost; F2 is the renewable energy consumption rate; T is the dispatch period; NW is the total number of wind turbines in the system; NV is the total number of photovoltaic generators in the system;
Figure FDA0004153813970000053
The planned wind power accepted by the system for wind turbine j during period t;
Figure FDA0004153813970000054
The system plans to receive photovoltaic power for photovoltaic group j during period t;
Figure FDA0004153813970000061
is the ideal power of wind turbine j;
Figure FDA0004153813970000062
is the ideal power of photovoltaic group j; F 3 is the CO 2 emission;
Figure FDA0004153813970000063
is the electric power purchased by the integrated energy system from the power grid at time t;
Figure FDA0004153813970000064
is the gas power purchased from the gas grid at time t in the integrated energy system; αe is the CO2 emission coefficient for purchased electricity; αgas is the CO2 emission coefficient for purchased gas.
16.根据权利要求15所述的系统,其特征在于,所述求解模块中投资成本Finv的计算式如下:16. The system according to claim 15, characterized in that the calculation formula of the investment cost Finv in the solution module is as follows:
Figure FDA0004153813970000065
Figure FDA0004153813970000065
所述运行成本Fope的计算式如下:The calculation formula of the operating cost Fope is as follows:
Figure FDA0004153813970000066
Figure FDA0004153813970000066
式中:γi为设备i的单位容量安装费用;Ci为设备i的安装容量;I为综合能源系统中设备的总数量;α为年利率;Yi为设备i的运行寿命;T为调度周期;
Figure FDA0004153813970000067
为t时刻从电网购电的电价;JG为天然气价格;Pout,i为设备i在t时段的输出功率;βi为设备i的单位运行维护费用。
Where: γ i is the installation cost per unit capacity of equipment i; C i is the installed capacity of equipment i; I is the total number of equipment in the integrated energy system; α is the annual interest rate; Yi i is the operating life of equipment i; T is the scheduling period;
Figure FDA0004153813970000067
is the electricity price purchased from the power grid at time t; J G is the natural gas price; P out,i is the output power of device i in period t; β i is the unit operation and maintenance cost of device i.
17.根据权利要求13所述的系统,其特征在于,所述求解模块具体用于:17. The system according to claim 13, wherein the solution module is specifically used for: 基于所述可再生能源的装机容量数据和系统运行相关参数,确定基于自适应精英保留策略的遗传算法中的父代种群个体为电转气设备容量和多类型储能设备容量,种群中每个个体的适应度值为所述多目标优化配置函数值;Based on the installed capacity data of the renewable energy and system operation related parameters, determining that the parent population individuals in the genetic algorithm based on the adaptive elite retention strategy are the power-to-gas equipment capacity and the multi-type energy storage equipment capacity, and the fitness value of each individual in the population is the multi-objective optimization configuration function value; 采用所述基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集。The genetic algorithm based on the adaptive elite retention strategy is used to solve the multi-objective optimization configuration function to obtain an optimization configuration solution set. 18.根据权利要求17所述的系统,其特征在于,所述求解模块采用基于自适应精英保留策略的遗传算法对所述多目标优化配置函数进行求解,得到优化配置解集,包括:18. The system according to claim 17, characterized in that the solution module uses a genetic algorithm based on an adaptive elite retention strategy to solve the multi-objective optimization configuration function to obtain an optimization configuration solution set, including: 步骤S1:初始化种群,设置种群规模、迭代次数、基础交叉概率和基础变异概率;Step S1: Initialize the population, set the population size, number of iterations, basic crossover probability and basic mutation probability; 步骤S2:随机生成父代种群P,所述父代种群P中的每个个体表示电转气设备容量和多类型储能设备容量,计算所述父代种群P中各个体的适应度值,所述适应度值代表所述多目标优化配置函数值;Step S2: randomly generate a parent population P, each individual in the parent population P represents the capacity of the power-to-gas equipment and the capacity of multiple types of energy storage equipment, and calculate the fitness value of each individual in the parent population P, wherein the fitness value represents the value of the multi-objective optimization configuration function; 步骤S3:通过遗传算法对所述父代种群P进行选择,基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,产生子代种群Q;Step S3: selecting the parent population P by a genetic algorithm, and performing adaptive crossover and mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability to generate a child population Q; 步骤S4:将所述父代种群P和所述子代种群Q进行混合,得到新的种群R,再对所述新的种群R进行快速非支配排序,得到非支配的优势种群序列;Step S4: Mix the parent population P and the child population Q to obtain a new population R, and then perform fast non-dominated sorting on the new population R to obtain a non-dominated dominant population sequence; 步骤S5:基于所述适应度值采用参考点的选择策略,对所述种群R进行选择,得到种群Y作为下一次迭代的父代种群;Step S5: Based on the fitness value, a reference point selection strategy is adopted to select the population R to obtain the population Y as the parent population of the next iteration; 步骤S6:基于所述非支配的优势种群序列采用所述自适应精英保留策略筛选出所述种群R中的优势个体添加到所述种群Y中作为下一次迭代的父代种群;Step S6: Based on the non-dominated dominant population sequence, the adaptive elite retention strategy is used to select the dominant individuals in the population R and add them to the population Y as the parent population for the next iteration; 步骤S7:判断是否达到所述迭代次数,若判断为是,则得到各个体对应的电转气设备容量、多类型储能设备容量和多目标优化配置函数值作为优化配置解集并结束,否则返回步骤S3。Step S7: Determine whether the number of iterations has been reached. If so, obtain the power-to-gas equipment capacity, multi-type energy storage equipment capacity and multi-objective optimization configuration function value corresponding to each individual as the optimization configuration solution set and end. Otherwise, return to step S3. 19.根据权利要求18所述的系统,其特征在于,所述求解模块基于所述个体适应度值、所述基础交叉概率和所述基础变异概率对所述父代种群P进行自适应交叉变异,包括:19. The system according to claim 18, wherein the solution module performs adaptive crossover and mutation on the parent population P based on the individual fitness value, the basic crossover probability and the basic mutation probability, comprising: 基于所述个体适应度值、所述基础交叉概率和所述基础变异概率确定自适应交叉概率和自适应变异概率;Determine an adaptive crossover probability and an adaptive mutation probability based on the individual fitness value, the basic crossover probability and the basic mutation probability; 基于所述自适应交叉概率和自适应变异概率对所述父代种群P进行自适应交叉变异。Adaptive crossover and mutation are performed on the parent population P based on the adaptive crossover probability and the adaptive mutation probability. 20.根据权利要求13所述的系统,其特征在于,所述求解模块中自适应交叉概率的计算式如下:20. The system according to claim 13, characterized in that the calculation formula of the adaptive crossover probability in the solution module is as follows:
Figure FDA0004153813970000071
Figure FDA0004153813970000071
所述自适应变异概率的计算式如下:The calculation formula of the adaptive mutation probability is as follows:
Figure FDA0004153813970000072
Figure FDA0004153813970000072
式中:pc为自适应交叉概率;k1为第一基础交叉概率;k2为第二基础交叉概率;pm为自适应变异概率;k3为第一基础变异概率;k4为第二基础变异概率;fm为当前要变异的个体适应度值;f m 为种群能够接受的最大适应度值;fc为要交叉的两个个体中较大的适应度值;fmin为种群中所有个体适应度最小值;所述第一基础交叉概率小于第二基础交叉概率;所述第一基础变异概率小于第二基础变异概率。In the formula: pc is the adaptive crossover probability; k1 is the first basic crossover probability; k2 is the second basic crossover probability; pm is the adaptive mutation probability; k3 is the first basic mutation probability; k4 is the second basic mutation probability; fm is the fitness value of the individual to be mutated; fm is the maximum fitness value that the population can accept; fc is the larger fitness value of the two individuals to be crossed; fmin is the minimum fitness value of all individuals in the population; the first basic crossover probability is less than the second basic crossover probability; the first basic mutation probability is less than the second basic mutation probability.
21.根据权利要求13所述的系统,其特征在于,所述求解模块中自适应精英保留策略的计算式如下:21. The system according to claim 13, characterized in that the calculation formula of the adaptive elite retention strategy in the solution module is as follows:
Figure FDA0004153813970000081
Figure FDA0004153813970000081
式中:Ne为精英保留个体的数量;fi为第i个种群个体的适应度值;N为种群个体的数量;fb为种群中最优个体的适应度值。In the formula: Ne is the number of elite retained individuals; fi is the fitness value of the i-th population individual; N is the number of individuals in the population; fb is the fitness value of the best individual in the population.
22.根据权利要求12所述的系统,其特征在于,所述数据获取模块中系统运行相关参数包括以下一种或多种:光电功率预测值、负荷预测值、风电功率预测值、不同时间段电价表、电转气设备参数、多类型储能设备参数、热电联产设备运行参数、燃气锅炉运行参数、吸收式制冷机运行参数、储气罐运行参数、压缩机运行参数。22. The system according to claim 12 is characterized in that the system operation related parameters in the data acquisition module include one or more of the following: photovoltaic power prediction value, load prediction value, wind power prediction value, electricity price list for different time periods, power-to-gas equipment parameters, parameters of multiple types of energy storage equipment, cogeneration equipment operating parameters, gas boiler operating parameters, absorption chiller operating parameters, gas tank operating parameters, and compressor operating parameters. 23.一种计算机设备,其特征在于,包括:一个或多个处理器;23. A computer device, comprising: one or more processors; 存储器,用于存储一个或多个程序;A memory for storing one or more programs; 当所述一个或多个程序被所述一个或多个处理器执行时,实现如权利要求1至11中任一项所述的一种综合能源系统多目标优化方法。When the one or more programs are executed by the one or more processors, a multi-objective optimization method for an integrated energy system as described in any one of claims 1 to 11 is implemented. 24.一种计算机可读存储介质,其特征在于,其上存有计算机程序,所述计算机程序被执行时,实现如权利要求1至11中任一项所述的一种综合能源系统多目标优化方法。24. A computer-readable storage medium, characterized in that a computer program is stored thereon, and when the computer program is executed, it implements a multi-objective optimization method for an integrated energy system as described in any one of claims 1 to 11.
CN202310327782.9A 2023-03-30 2023-03-30 Multi-objective optimization method, system, equipment and medium for comprehensive energy system Pending CN116402210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310327782.9A CN116402210A (en) 2023-03-30 2023-03-30 Multi-objective optimization method, system, equipment and medium for comprehensive energy system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310327782.9A CN116402210A (en) 2023-03-30 2023-03-30 Multi-objective optimization method, system, equipment and medium for comprehensive energy system

Publications (1)

Publication Number Publication Date
CN116402210A true CN116402210A (en) 2023-07-07

Family

ID=87006864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310327782.9A Pending CN116402210A (en) 2023-03-30 2023-03-30 Multi-objective optimization method, system, equipment and medium for comprehensive energy system

Country Status (1)

Country Link
CN (1) CN116402210A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116663936A (en) * 2023-07-24 2023-08-29 长江三峡集团实业发展(北京)有限公司 Capacity expansion planning method, device, equipment and medium for electric comprehensive energy system
CN117217500A (en) * 2023-11-08 2023-12-12 湘潭大学 Electric-gas comprehensive energy system source network collaborative planning method considering flexibility requirement

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116663936A (en) * 2023-07-24 2023-08-29 长江三峡集团实业发展(北京)有限公司 Capacity expansion planning method, device, equipment and medium for electric comprehensive energy system
CN116663936B (en) * 2023-07-24 2024-01-09 长江三峡集团实业发展(北京)有限公司 Capacity expansion planning method, device, equipment and medium for electric comprehensive energy system
CN117217500A (en) * 2023-11-08 2023-12-12 湘潭大学 Electric-gas comprehensive energy system source network collaborative planning method considering flexibility requirement

Similar Documents

Publication Publication Date Title
CN104242335B (en) A kind of wind-light storage generator unit capacity configuration optimizing method based on rated capacity
CN108154309B (en) Energy internet economic dispatching method considering multi-load dynamic response of cold, heat and electricity
CN111445067B (en) A multi-objective planning method suitable for high-speed railway station integrated energy system
CN113850474B (en) Thermoelectric hydrogen multi-energy flow comprehensive energy system and optimal scheduling method thereof
CN111950807B (en) Comprehensive energy system optimization operation method considering uncertainty and demand response
CN108832656A (en) Multi-objective programming method for micro-energy grid based on power-to-gas and renewable energy utilization
CN107807523A (en) Consider the Regional Energy internet multi-source coordination optimization operation reserve of tou power price
CN111144620A (en) An electric hydrogen integrated energy system considering seasonal hydrogen storage and its robust planning method
CN107634518A (en) A Coordinated "Source-Net-Load" Active Distribution Network Economic Dispatch Method
CN112069720A (en) Comprehensive energy system and operation optimization method thereof
CN108879793A (en) A kind of off-grid type energy mix system optimization method of scene storage station complementation
CN114914943B (en) Hydrogen energy storage optimization configuration method for green port shore power system
CN116402210A (en) Multi-objective optimization method, system, equipment and medium for comprehensive energy system
CN114595868A (en) Source network and storage collaborative planning method and system for comprehensive energy system
CN111668878A (en) A method and system for optimal configuration of a renewable micro-energy network
CN107203136A (en) A kind of Optimization Scheduling and device of wisdom agricultural greenhouse micro power source net
CN113159407A (en) Multi-energy storage module capacity optimal configuration method based on regional comprehensive energy system
CN115423161A (en) Multi-energy coupling optimization scheduling method and system based on digital twin
CN113809780B (en) Micro-grid optimal scheduling method based on improved Q learning punishment selection
CN107332269A (en) A kind of optimization method of the energy mix system of wind light mutual complementing
CN111144633A (en) CCHP micro-grid operation optimization method
CN116191508A (en) Energy storage-containing active power distribution network economic operation optimization method considering wind and light output
CN117081143A (en) Method for promoting coordination and optimization operation of park comprehensive energy system for distributed photovoltaic on-site digestion
Zhang et al. Capacity optimization allocation method for off-grid RES-H2 microgrid system considering the load-follow-source mechanism
CN116488231A (en) A wind-solar-storage collaborative planning method considering the shape evolution of transmission and distribution network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication