CN116644866A - Comprehensive energy system robust optimization method and system considering wind-light uncertainty - Google Patents

Comprehensive energy system robust optimization method and system considering wind-light uncertainty Download PDF

Info

Publication number
CN116644866A
CN116644866A CN202310926888.0A CN202310926888A CN116644866A CN 116644866 A CN116644866 A CN 116644866A CN 202310926888 A CN202310926888 A CN 202310926888A CN 116644866 A CN116644866 A CN 116644866A
Authority
CN
China
Prior art keywords
time
power
gas
formula
function
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
CN202310926888.0A
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
Economic and Technological Research Institute of State Grid Jiangxi Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Economic and Technological Research Institute of State Grid Jiangxi 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, Economic and Technological Research Institute of State Grid Jiangxi Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202310926888.0A priority Critical patent/CN116644866A/en
Publication of CN116644866A publication Critical patent/CN116644866A/en
Pending legal-status Critical Current

Links

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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/08Probabilistic or stochastic CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/04Power grid distribution networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/06Power analysis or power optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Tourism & Hospitality (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Computer Hardware Design (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Probability & Statistics with Applications (AREA)
  • Development Economics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a robust optimization method and a system for a comprehensive energy system considering wind-light uncertainty, wherein the method comprises the following steps: constructing a comprehensive energy system under a combined operation mode of a carbon-containing capturing, electricity-to-gas and cogeneration unit, and establishing an equipment model of the comprehensive energy system; according to the self-adaptive kernel density estimation, fitting a probability density function of the prediction errors in the wind power output prediction data before the day and the photovoltaic output prediction data, and integrating the probability density function to obtain a cumulative distribution function; constructing a fuzzy uncertainty set according to the cumulative distribution function; establishing a distributed robust optimization model of the comprehensive energy system based on the fuzzy uncertainty set and the affine adjustable strategy; and converting the distributed robust optimization model into a solvable model based on a dual theory and a convex optimization theory, and solving the solvable model. The economic optimization scheduling function of various terminal user equipment to the comprehensive energy system is realized.

Description

考虑风光不确定性的综合能源系统鲁棒优化方法及系统Robust optimization method and system for integrated energy system considering wind-solar uncertainty

技术领域technical field

本发明属于综合能源优化技术领域,尤其涉及一种考虑风光不确定性的综合能源系统鲁棒优化方法及系统。The invention belongs to the technical field of comprehensive energy optimization, and in particular relates to a robust optimization method and system for an integrated energy system considering the uncertainty of scenery.

背景技术Background technique

综合能源系统(Integrated Energy System,IES)的一个重要特点是通过各种耦合设备实现多种能源网络的连接和能源调度。热电联产机组(Combined Heat and Powerunit,CHP)作为综合能源系统中重要的能源设备,它耦合了电网、热网和气网。电转气技术利用电能将 转换为天然气 ,实现了电网与气网的耦合和新能源的消纳。碳捕集技术能够捕获燃气发电产生的/>,是实现碳减排的重要手段。现有研究较少分析联合运行模式下三者的工作特性以及对新能源消纳和碳减排的影响。An important feature of the integrated energy system (Integrated Energy System, IES) is to realize the connection and energy scheduling of multiple energy networks through various coupling devices. Combined Heat and Power unit (CHP) is an important energy device in the comprehensive energy system, which couples the power grid, heat network and gas network. Power-to-gas technology uses electricity to convert The conversion to natural gas has realized the coupling of the power grid and the gas grid and the consumption of new energy. Carbon capture technology can capture carbon from gas-fired power generation , is an important means to achieve carbon emission reduction. Existing studies rarely analyze the working characteristics of the three in the joint operation mode and their impact on new energy consumption and carbon emission reduction.

此外,IES的最优决策是基于风电(WT)和光伏(PV)的预测功率做出的。现实中,风电和光伏具有很强的不确定性,因此如何在降低保守性的前提下消除风光发电不确定性影响是十分必要的。In addition, the optimal decision of IES is made based on the predicted power of wind power (WT) and photovoltaic (PV). In reality, wind power and photovoltaics have strong uncertainties, so how to eliminate the uncertainties of wind and solar power generation under the premise of reducing conservatism is very necessary.

发明内容Contents of the invention

本发明提供一种考虑风光不确定性的综合能源系统鲁棒优化方法及系统,用于解决如何在降低保守性的前提下消除风光发电不确定性影响的技术问题。The invention provides a robust optimization method and system for an integrated energy system considering the uncertainty of wind and solar energy, which is used to solve the technical problem of how to eliminate the influence of wind and wind power generation uncertainty under the premise of reducing conservatism.

第一方面,本发明提供一种考虑风光不确定性的综合能源系统鲁棒优化方法,包括:构建含碳捕集、电转气与热电联产机组联合运行模式下的综合能源系统,并建立所述综合能源系统的设备模型;获取风电历史出力数据和光伏历史出力数据,并对风电历史出力数据和光伏历史出力数据进行场景削减,得到典型场景下日前风电出力预测数据和光伏出力预测数据;根据自适应核密度估计拟合所述日前风电出力预测数据和所述光伏出力预测数据中的预测误差的概率密度函数,并对所述概率密度函数进行积分,得到累积分布函数;根据所述累积分布函数构造模糊不确定集;基于所述模糊不确定集和仿射可调策略建立综合能源系统的分布鲁棒优化模型;基于对偶理论和凸优化理论将所述分布鲁棒优化模型转化成可求解模型,并对所述求解模型进行求解。In the first aspect, the present invention provides a robust optimization method for an integrated energy system considering the uncertainty of wind and light, including: constructing an integrated energy system under the joint operation mode of carbon capture, power-to-gas and cogeneration units, and establishing the Describe the equipment model of the integrated energy system; obtain the historical wind power output data and photovoltaic historical output data, and cut the scene reduction of the wind power historical output data and photovoltaic historical output data, and obtain the current wind power output forecast data and photovoltaic output forecast data in typical scenarios; according to Adaptive kernel density estimation fits the probability density function of the forecast error in the wind power output forecast data and the photovoltaic output forecast data, and integrates the probability density function to obtain a cumulative distribution function; according to the cumulative distribution The function constructs a fuzzy uncertain set; based on the fuzzy uncertain set and the affine adjustable strategy, a distribution robust optimization model of the comprehensive energy system is established; based on the dual theory and convex optimization theory, the distribution robust optimization model is transformed into a solvable model, and solve the solution model.

第二方面,本发明提供一种考虑风光不确定性的综合能源系统鲁棒优化系统,包括:第一建立模块,配置为构建含碳捕集、电转气与热电联产机组联合运行模式下的综合能源系统,并建立所述综合能源系统的设备模型;获取模块,配置为获取风电历史出力数据和光伏历史出力数据,并对风电历史出力数据和光伏历史出力数据进行场景削减,得到典型场景下日前风电出力预测数据和光伏出力预测数据;拟合模块,配置为根据自适应核密度估计拟合所述日前风电出力预测数据和所述光伏出力预测数据中的预测误差的概率密度函数,并对所述概率密度函数进行积分,得到累积分布函数;构造模块,配置为根据所述累积分布函数构造模糊不确定集;第二建立模块,配置为基于所述模糊不确定集和仿射可调策略建立综合能源系统的分布鲁棒优化模型;求解模块,配置为基于对偶理论和凸优化理论将所述分布鲁棒优化模型转化成可求解模型,并对所述求解模型进行求解。In the second aspect, the present invention provides a robust optimization system for an integrated energy system considering the uncertainty of wind and light, including: a first building module configured to build a combined operation mode of carbon capture, power-to-gas and cogeneration units An integrated energy system, and an equipment model of the integrated energy system is established; the acquisition module is configured to acquire historical wind power output data and photovoltaic historical output data, and perform scene reduction on the wind power historical output data and photovoltaic historical output data, to obtain typical scenarios The day-ahead wind power output forecast data and the photovoltaic output forecast data; the fitting module is configured to fit the probability density function of the forecast error in the day-ahead wind power output forecast data and the photovoltaic output forecast data according to the adaptive kernel density estimation, and The probability density function is integrated to obtain a cumulative distribution function; the construction module is configured to construct a fuzzy uncertainty set according to the cumulative distribution function; the second establishment module is configured to be based on the fuzzy uncertainty set and an affine adjustable strategy A distribution robust optimization model of the integrated energy system is established; a solving module is configured to convert the distribution robust optimization model into a solvable model based on dual theory and convex optimization theory, and solve the solving model.

第三方面,提供一种电子设备,其包括:至少一个处理器,以及与所述至少一个处理器通信连接的存储器,其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行本发明任一实施例的考虑风光不确定性的综合能源系统鲁棒优化方法的步骤。In a third aspect, an electronic device is provided, which includes: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor, so that the at least one processor executes the steps of the robust optimization method for an integrated energy system considering wind and solar uncertainties in any embodiment of the present invention.

第四方面,本发明还提供一种计算机可读存储介质,其上存储有计算机程序,所述程序指令被处理器执行时,使所述处理器执行本发明任一实施例的考虑风光不确定性的综合能源系统鲁棒优化方法的步骤。In a fourth aspect, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program instructions are executed by a processor, the processor executes any embodiment of the present invention. Steps in a robust optimization method for comprehensive energy systems.

本申请的考虑风光不确定性的综合能源系统鲁棒优化方法及系统,具体有以下有益效果:提出用自适应核密度估计法拟合风电和光伏预测功率误差的概率密度函数,克服了利用理论分布假设未知分布的主观缺陷,充分利用历史数据的价值构建了更加紧凑客观的不确定性集,有效降低了保守性。同时,建立了基于仿射可调策略的日前和实时两阶段鲁棒优化模型,该模型克服了鲁棒优化模型和随机优化模型的缺点,能够在数据驱动的前提下实现鲁棒性和效率的平衡。最后,结合软硬件技术和网络技术建立的优化系统将上述优化方法程序化,实时接受和处理来自综合能源系统的数据,并做出决策,实现了多种终端用户设备对综合能源系统的经济优化调度功能。The robust optimization method and system of the integrated energy system considering the uncertainty of wind and solar energy in this application have the following beneficial effects: the probability density function of wind power and photovoltaic prediction power error is proposed by using the adaptive kernel density estimation method, which overcomes the problem of using the theory The distribution assumes the subjective defect of unknown distribution, and makes full use of the value of historical data to construct a more compact and objective uncertainty set, which effectively reduces conservatism. At the same time, a day-ahead and real-time two-stage robust optimization model based on an affine adjustable strategy is established. This model overcomes the shortcomings of the robust optimization model and the stochastic optimization model, and can achieve robustness and efficiency under the premise of data-driven balance. Finally, the optimization system established by combining hardware and software technology and network technology programs the above-mentioned optimization method, accepts and processes data from the integrated energy system in real time, and makes decisions, and realizes the economic optimization of the integrated energy system by various end-user devices Scheduling function.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1为本发明一实施例提供的综合能源系统结构框架图;Fig. 1 is a structural framework diagram of an integrated energy system provided by an embodiment of the present invention;

图2为本发明一实施例提供的一种考虑风光不确定性的综合能源系统鲁棒优化方法的流程图;Fig. 2 is a flow chart of a method for robust optimization of an integrated energy system considering the uncertainty of scenery provided by an embodiment of the present invention;

图3为本发明一实施例提供的一种考虑风光不确定性的综合能源系统鲁棒优化系统的结构框图;Fig. 3 is a structural block diagram of a robust optimization system for an integrated energy system considering the uncertainty of scenery provided by an embodiment of the present invention;

图4是本发明一实施例提供的电子设备的结构示意图。Fig. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

多能耦合的综合能源系统框架如图1所示。该系统涵盖了电负荷、热负荷和冷负荷,其中电负荷由热电联产机组、风电机组、光伏机组、上级电网和蓄电池供电;热负荷由热电联产机组、上级热网、燃气锅炉和储热罐供热;冷负荷由电制冷装置和吸收式制冷设备供冷;由气网和电转气设备向热电联产机组和燃气锅炉供气。系统将热电联产机组、碳捕集装置和电转气设备组合成一个整体,便于实现机组的热电解耦,提高系统的新能源消纳能力和减少碳排放。The framework of the integrated energy system with multi-energy coupling is shown in Figure 1. The system covers electric loads, heat loads and cooling loads, in which electric loads are powered by cogeneration units, wind turbines, photovoltaic units, upper-level power grids and batteries; heat loads are powered by cogeneration units, upper-level heating networks, gas boilers and storage The heat is supplied by the hot tank; the cold load is supplied by the electric refrigeration device and the absorption refrigeration equipment; the gas is supplied to the combined heat and power unit and the gas boiler by the gas grid and the power-to-gas equipment. The system combines heat and power cogeneration units, carbon capture devices and power-to-gas equipment as a whole, which facilitates the thermoelectric decoupling of the units, improves the system's ability to absorb new energy and reduces carbon emissions.

请参阅图2,其示出了本申请的一种考虑风光不确定性的综合能源系统鲁棒优化方法的流程图。Please refer to FIG. 2 , which shows a flowchart of a method for robust optimization of an integrated energy system considering wind and solar uncertainties in the present application.

如图2所示,一种考虑风光不确定性的综合能源系统鲁棒优化方法具体包括以下步骤:As shown in Figure 2, a robust optimization method for an integrated energy system considering wind and solar uncertainties specifically includes the following steps:

步骤S101,构建含碳捕集、电转气与热电联产机组联合运行模式下的综合能源系统,并建立所述综合能源系统的设备模型。Step S101, constructing an integrated energy system under the joint operation mode of carbon capture, power-to-gas and cogeneration units, and establishing an equipment model of the integrated energy system.

在本步骤中,热电机组通过燃烧天然气产生电功率和热功率,其中,热电机组的出力模型为:In this step, the thermoelectric unit generates electric power and thermal power by burning natural gas, where the output model of the thermoelectric unit is:

,

式中,和/>分别为t时刻热电机组产生的电功率和t时刻热电机组输出的热功率,/>为天然气的低热值,/>为t时刻热电机组的耗气量,/>和/>分别为机组的发电效率和机组的热损失系数;In the formula, and /> are respectively the electric power generated by the thermoelectric unit at time t and the thermal power output by the thermoelectric unit at time t, /> is the low calorific value of natural gas, /> is the gas consumption of the thermoelectric unit at time t, /> and /> are the generating efficiency of the unit and the heat loss coefficient of the unit, respectively;

碳捕集与封存(Carbon Capture and Storage,CCS)技术可以捕获CO2,并将捕获的CO2进行封存,从而降低碳排放,碳捕集消耗的电能由基础能耗和运行能耗组成:Carbon capture and storage (CCS) technology can capture CO 2 and store the captured CO 2 to reduce carbon emissions. The electricity consumed by carbon capture consists of basic energy consumption and operating energy consumption:

,

式中,为t时刻碳捕集设备消耗的电能,/>为t时刻的0-1标志位,其中1表示捕获,0表示关闭,/>为t时刻碳捕集的基础能耗,/>为t时刻碳捕集的运行能耗,/>为捕获单位/>的运行能耗,/>为t时刻捕获的/>量;In the formula, is the electric energy consumed by the carbon capture equipment at time t, /> It is the 0-1 flag bit at time t, where 1 means capture, 0 means close, /> is the basic energy consumption of carbon capture at time t, /> is the operating energy consumption of carbon capture at time t, /> is the capture unit /> operating energy consumption, /> is the captured /> at time t quantity;

电转气使用的二氧化碳量与产生的天然气相同,电转气设备的数学模型为:The amount of carbon dioxide used by power-to-gas is the same as the natural gas produced. The mathematical model of power-to-gas equipment is:

,

式中,为t时刻电转气设备生成的天然气量,/>为电转气的转换效率,为t时刻电转气设备消耗的电能,/>为天然气的低热值;In the formula, is the amount of natural gas generated by the power-to-gas equipment at time t, /> is the power-to-gas conversion efficiency, is the electric energy consumed by the power-to-gas equipment at time t, /> is the low calorific value of natural gas;

热电机组给电转气设备和碳捕集装置提供电能,热电机组提供的上网功率为:The thermoelectric unit provides electric energy to the power-to-gas equipment and the carbon capture device, and the on-grid power provided by the thermoelectric unit is:

,

式中,为t时刻热电机组提供的上网功率,/>为t时刻热电机组产生的电功率,/>为t时刻碳捕集设备消耗的电能,/>为t时刻电转气设备消耗的电能;In the formula, is the on-grid power provided by the thermal power unit at time t, /> is the electric power generated by the thermoelectric unit at time t, /> is the electric energy consumed by the carbon capture equipment at time t, /> is the electric energy consumed by the power-to-gas equipment at time t;

联合运行模式下热电机组电热出力耦合特性为:In the joint operation mode, the electric-thermal output coupling characteristics of the thermoelectric unit are:

,

式中,、/>分别为热电机组提供的上网功率最小值和最大值,/>分别为热电机组最小出力电热转换系数和热电机组最大出力电热转换系数,/>为线性斜率,/>为t时刻热电机组输出的热功率,/>为碳捕集设备的最大功率,/>为电转气设备的最大功率,/>为热电机组最小热出力,/>为t时刻热电机组提供的上网功率;In the formula, , /> Respectively, the minimum and maximum value of the on-grid power provided by the thermal power unit, /> and Respectively, the minimum output electrothermal conversion coefficient of the thermoelectric unit and the maximum output electrothermal conversion coefficient of the thermoelectric unit, /> is the linear slope, /> is the thermal power output by the thermoelectric unit at time t, /> is the maximum power of the carbon capture device, /> is the maximum power of the power-to-gas equipment, /> is the minimum heat output of the thermoelectric unit, /> The on-grid power provided by the thermal power unit at time t;

燃气锅炉通过燃烧天然气产生热功率,其中,计算所述热功率的表达式为:Gas-fired boilers generate heat power by burning natural gas, where the expression for calculating the heat power is:

,

式中,为t时刻燃气锅炉产生的热功率,/>为燃气锅炉的热转化效率,/>为天然气的低热值,/>为t时刻燃气锅炉的耗气量;In the formula, is the thermal power generated by the gas boiler at time t, /> is the heat conversion efficiency of the gas boiler, /> is the low calorific value of natural gas, /> is the gas consumption of the gas-fired boiler at time t;

能源转换设备模型包括电制冷机和吸收式制冷机,电制冷机和吸收式制冷机的模型为:The energy conversion equipment model includes electric refrigerators and absorption refrigerators, and the models of electric refrigerators and absorption refrigerators are:

,

,

式中, 和/>分别为t时刻电制冷机输出的冷功率和t时刻吸收式制冷机输出的冷功率,/>和/>分别为t时刻电制冷机消耗的电能和t时刻吸收式制冷机消耗的热能,/>和/>分别为电制冷机的制冷效率和吸收式制冷机的制冷效率;In the formula, and /> are respectively the cooling power output by the electric refrigerator at time t and the cooling power output by the absorption refrigerator at time t, /> and /> Respectively, the electric energy consumed by the electric refrigerator at time t and the heat energy consumed by the absorption refrigerator at time t, /> and /> are the cooling efficiency of the electric refrigerator and the cooling efficiency of the absorption refrigerator, respectively;

系统的储能设备模型包括蓄电池和储热罐,其中,蓄电池和储热罐的容量模型为:The energy storage equipment model of the system includes batteries and heat storage tanks, where the capacity models of batteries and heat storage tanks are:

,

式中,和/>分别是t时刻电储能的容量和t时刻热储能的容量,/>、/>、/>分别为t时刻电储能的充电效率、t时刻电储能的放电效率和t时刻热储能的储热效率、t时刻热储能的放热效率,/>、/>和/>、/>分别为t时刻电储能的充电功率、t时刻电储能的放电功率和t时刻热储能的储热功率、t时刻热储能的放热功率。In the formula, and /> Respectively, the capacity of electric energy storage at time t and the capacity of thermal energy storage at time t, /> , /> and , /> Respectively, the charging efficiency of electric energy storage at time t, the discharge efficiency of electric energy storage at time t, the heat storage efficiency of thermal energy storage at time t, and the heat release efficiency of thermal energy storage at time t, /> , /> and /> , /> Respectively, the charging power of electric energy storage at time t, the discharge power of electric energy storage at time t, the heat storage power of thermal energy storage at time t, and the heat release power of thermal energy storage at time t.

步骤S102,获取风电历史出力数据和光伏历史出力数据,并对风电历史出力数据和光伏历史出力数据进行场景削减,得到典型场景下日前风电出力预测数据和光伏出力预测数据。Step S102, obtaining historical wind power output data and photovoltaic historical output data, and performing scene reduction on the wind power historical output data and photovoltaic historical output data, to obtain the current wind power output forecast data and photovoltaic output forecast data in typical scenarios.

步骤S103,根据自适应核密度估计拟合所述日前风电出力预测数据和所述光伏出力预测数据中的预测误差的概率密度函数,并对所述概率密度函数进行积分,得到累积分布函数。Step S103, fitting the probability density function of the prediction error in the day-ahead wind power output forecast data and the photovoltaic output forecast data according to the adaptive kernel density estimation, and integrating the probability density function to obtain a cumulative distribution function.

在本步骤中,由于风光发电的不确定性,风电、光伏的预测功率与实际功率之间存在偏差,影响调度计划的执行。In this step, due to the uncertainty of wind power generation, there is a deviation between the predicted power of wind power and photovoltaic power and the actual power, which affects the execution of the dispatch plan.

在IES中风电的预测误差和光伏的预测误差的表达式为:The expressions of wind power forecast error and photovoltaic forecast error in IES are:

,

,

式中,和/>分别是t时刻风电的预测误差和t时刻光伏的预测误差,/>为t时刻风电实际出力,/>为t时刻风电预测出力,/>为t时刻光伏实际出力,/>为t时刻光伏预测出力;In the formula, and /> are respectively the forecast error of wind power at time t and the forecast error of photovoltaic power at time t, /> is the actual output of wind power at time t, /> is the output of wind power forecast at time t, /> is the actual PV output at time t, /> Output for photovoltaic prediction at time t;

假设综合能源系统中有n个历史运行数据,则核密度估计的形式为:Suppose there are n historical operating data in the integrated energy system , then the form of the kernel density estimate is:

,

式中,为预测误差,/>为样本数,/>为带宽,/>为核函数,/>为概率密度函数,/>表示第k个历史预测误差。In the formula, is the prediction error, /> is the number of samples, /> is the bandwidth, /> is the kernel function, /> is the probability density function, /> Indicates the kth historical forecast error.

带宽决定了核函数的方差大小,它反映了核密度估计的曲线整体的平坦程度,不同带宽下的核函数估计结果差异明显。传统核密度估计的带宽选择取决于主观判断,这不利于核密度估计模拟得到真实的概率密度函数,为了使误差最小,用均平方积分误差的大小来衡量带宽/>的优劣,在弱假设条件下,bandwidth Determines the variance of the kernel function, which reflects the overall flatness of the kernel density estimation curve, and the estimation results of the kernel function under different bandwidths are significantly different. The bandwidth selection of traditional kernel density estimation depends on subjective judgment, which is not conducive to the simulation of kernel density estimation to obtain the real probability density function. In order to minimize the error, the mean square integral error is used to measure the bandwidth/> pros and cons, under weak assumptions,

,

式中,为均平方积分误差,/>为渐进均平方积分误差,/>为误差随时间的衰减速度,/>为样本数,/>为带宽;In the formula, is the mean square integral error, /> is the asymptotic mean square integral error, /> is the decay rate of the error with time, /> is the number of samples, /> is the bandwidth;

,

式中,为核函数/>的尺度参数,/>为数据生成概率密度函数的平方矩,/>为概率密度函数的二次导函数;In the formula, is the kernel function /> scale parameter, /> Generate the squared moments of the probability density function for the data, /> is the second derivative of the probability density function;

,

式中,为随机变量/>的核函数。In the formula, is a random variable /> The kernel function.

最小化等价于最小化/>,对/>求导,令导数为0,化简求得最佳的带宽/>的表达式为:minimize Equivalent to minimize /> , right /> Find the derivative, let the derivative be 0, and simplify to find the best bandwidth/> The expression is:

,

在选择核函数及带宽后,自适应核密度估计方法模拟真实的概率分布曲线,其中,利用自适应核密度估计方法拟合随机变量的概率密度函数的表达式为:After selecting the kernel function and bandwidth, the adaptive kernel density estimation method simulates the real probability distribution curve, in which, the adaptive kernel density estimation method is used to fit the random variable The expression of the probability density function of is:

,

对概率密度函数进行积分,得到累积分布函数,其中,所述累积分布函数的表达式为:Integrate the probability density function to obtain a cumulative distribution function, wherein the expression of the cumulative distribution function is:

,

式中,为累积分布函数,/>为随机变量/>的概率密度函数。In the formula, is the cumulative distribution function, /> is a random variable /> The probability density function of .

步骤S104,根据所述累积分布函数构造模糊不确定集。Step S104, constructing a fuzzy uncertainty set according to the cumulative distribution function.

在本步骤中,根据上述表示,构建了一个分布式模糊不确定性集,该集合可以看作是一个以为圆点,以一定距离为半径的Wasserstein球。其中,所述模糊不确定集的表达式为:In this step, according to the above expression, a distributed fuzzy uncertainty set is constructed, which can be regarded as a is a circle point, a Wasserstein sphere with a certain distance as the radius. Wherein, the expression of the fuzzy uncertain set is:

,

式中,为模糊不确定性集,/>为真实分布,/>为估计分布,/>为真实分布和估计分布之间的Wasserstein距离,/>为总概率分布;In the formula, is the fuzzy uncertainty set, /> is the true distribution, /> For the estimated distribution, /> is the Wasserstein distance between the true distribution and the estimated distribution, /> is the total probability distribution;

,

式中,为Wasserstein球的半径,取决于样本数,/>为常数,/>为样本总数,/>为求解半径的置信水平;In the formula, is the radius of the Wasserstein sphere, depending on the number of samples, /> is a constant, /> is the total number of samples, /> is the confidence level of the solution radius;

,

式中,为实数,/>为样本均值,/>表示第k个预测误差。In the formula, is a real number, /> is the sample mean, /> Denotes the kth prediction error.

步骤S105,基于所述模糊不确定集和仿射可调策略建立综合能源系统的分布鲁棒优化模型。Step S105, establishing a distribution robust optimization model of the integrated energy system based on the fuzzy uncertain set and the affine adjustable strategy.

在本步骤中,基于仿射可调策略建立综合能源系统的第一阶段优化模型和第二阶段优化模型,其中,所述第一阶段优化模型根据风电和光伏的预测功率制定日前调度计划,最小化综合能源系统的运行成本,所述第二阶段优化模型考虑风光不确定下的预测误差,在最劣分布条件下最小化系统调整成本的期望值制定实时调度策略;In this step, the first-stage optimization model and the second-stage optimization model of the integrated energy system are established based on the affine adjustable strategy. To minimize the operating cost of the integrated energy system, the second-stage optimization model considers the prediction error under the uncertainty of wind and rain, and formulates a real-time scheduling strategy by minimizing the expected value of the system adjustment cost under the worst distribution condition;

,

式中,min(·)表示第一阶段的目标函数,为IES的购电成本,/>为IES的购气成本,/>为热电机组和燃气锅炉的启停成本,/>为碳储存成本,/>为碳交易成本,/>为由预测误差产生的调整成本的期望值,/>为第二阶段调整成本函数,/>为第二阶段优化模型的目标函数;In the formula, min( ) represents the objective function of the first stage, is the electricity purchase cost of IES, /> Gas purchase cost for IES, /> is the start-stop cost of thermal power units and gas-fired boilers, /> for carbon storage costs, /> is the carbon trading cost, /> is the expected value of the adjustment cost caused by the forecast error, /> adjust the cost function for the second stage, /> Optimizing the objective function of the model for the second stage;

所述第二阶段优化模型的调整成本在日前成本的基础上增加了风电和光伏的弃电惩罚成本,同时删去设备的启停成本,其中,所述的表达式为:The adjustment cost of the second-stage optimization model adds the wind power and photovoltaic power abandonment penalty cost on the basis of the day-ahead cost, and deletes the start-up and stop cost of the equipment at the same time, wherein the The expression is:

,

式中,表示调度周期,/>为考虑预测误差的购电成本,/>为考虑预测误差的购气成本,/>为系统弃风弃光产生的惩罚成本,/>为考虑预测误差的碳储存成本,/>为考虑预测误差的碳交易成本;In the formula, Indicates the scheduling period, /> To account for the electricity purchase cost of the forecast error, /> In order to consider the gas purchase cost of forecast error, /> Penalty cost for the system to abandon wind and light, /> To account for the carbon storage cost of forecast errors, /> Carbon trading costs to account for forecast errors;

,

式中,为t时刻的电价,/>为实时阶段t时刻从电网购买的电功率,/>为实时阶段t时刻向电网售出的电功率,/>为日前阶段t时刻从电网购买的电功率,/>为日前阶段t时刻向电网售出的电功率;In the formula, is the electricity price at time t, /> is the electric power purchased from the grid at time t in the real-time stage, /> is the electric power sold to the grid at time t in the real-time stage, /> is the electric power purchased from the grid at time t in the day-ahead period, /> is the electric power sold to the grid at time t in the day-ahead phase;

,

式中,为单位惩罚系数,/>为实时阶段t时刻的弃风功率,/>为实时阶段t时刻的弃光功率。In the formula, is the unit penalty coefficient, /> is the curtailed wind power at time t in the real-time stage, /> is the optical power discarded at time t in the real-time stage.

电热储能的约束条件相似,以电储能为例,它需满足容量约束、功率约束和状态不等式约束:The constraints of electrothermal energy storage are similar. Taking electric energy storage as an example, it needs to satisfy capacity constraints, power constraints, and state inequality constraints:

,

式中,和/>分别是t时刻电储能充电和放电的0-1状态标志位,/>分别是t时刻电池储能功率上下限,/>和/>分别是t时刻电池放电功率的上下限,/>和/>分别是t时刻电池容量的上下限,/>为调度周期结束时的储能容量,为调度周期开始时的储能容量。In the formula, and /> They are the 0-1 status flag bits of electric energy storage charging and discharging at time t respectively, /> and Respectively, the upper and lower limits of the battery energy storage power at time t, /> and /> Respectively are the upper and lower limits of the battery discharge power at time t, /> and /> Respectively are the upper and lower limits of the battery capacity at time t, /> is the energy storage capacity at the end of the dispatch period, is the energy storage capacity at the beginning of the dispatch period.

系统购电和日前阶段向电网售出的电功率约束如下所示:The power constraints of system power purchase and sale to the grid in the day-ahead stage are as follows:

,

式中,为日前阶段t时刻从电网购买的电功率,/>为日前阶段t时刻向电网售出的电功率,/>和/>分别是从电网购电和售电的功率约束,/>和/>是用于表征购电和售电的0-1状态变量。In the formula, is the electric power purchased from the grid at time t in the day-ahead period, /> is the electric power sold to the grid at time t in the previous stage, /> and /> are the power constraints of purchasing and selling electricity from the grid, respectively, /> and /> is a 0-1 state variable used to represent electricity purchase and sale.

第二阶段,风电和光伏的实时功率与日前预测功率存在误差,实时变量必须在日前变量的基础上进行更改。为了消除可再生能源出力误差带来的影响,可以通过调用IES的灵活资源,调整电力购销功率,来重新实现平衡。基于仿射可调策略将电能相关的实时变量与日前变量相关联,构建与日前变量相关的实时变量模型,如下所示:In the second stage, there is an error between the real-time power of wind power and photovoltaic power and the predicted power before the day, and the real-time variable must be changed on the basis of the day-ahead variable. In order to eliminate the impact of renewable energy output error, the balance can be re-realized by calling the flexible resources of IES and adjusting the power purchase and sale power. Based on the affine adjustable strategy, the real-time variables related to electric energy are associated with the day-ahead variables, and the real-time variable model related to the day-ahead variables is constructed, as follows:

,

式中,为实时阶段t时刻的弃风功率,/>为t时刻风光发电总的预测误差,/>为实时阶段t时刻的弃光功率,/>为实时阶段t时刻从电网购买的电功率,/>为实时阶段t时刻向电网售出的电功率,/>为实时阶段t时刻电储能的充电功率,/>为t时刻电储能的充电功率,/>为实时阶段t时刻电储能的放电功率,/>为t时刻电储能的放电功率,、/>、/>、/>分别为实时阶段风力发电、光伏发电、储能充电和储能放电对应的仿射可调系数,取值在-1到1之间;In the formula, is the curtailed wind power at time t in the real-time stage, /> is the total prediction error of wind power generation at time t, /> is the abandoned light power at time t in the real-time stage, /> is the electric power purchased from the grid at time t in the real-time stage, /> is the electric power sold to the grid at time t in the real-time stage, /> is the charging power of the electric energy storage at time t in the real-time stage, /> is the charging power of electric energy storage at time t, /> is the discharge power of electric energy storage at time t in the real-time stage, /> is the discharge power of the electric energy storage at time t, , /> , /> , /> are the affine adjustable coefficients corresponding to wind power generation, photovoltaic power generation, energy storage charging and energy storage discharge in the real-time phase, and the values are between -1 and 1;

上式中,等式左侧的第一项表示实时阶段中的电力变量。等式右侧的第一项表示与日前阶段相关的电力变量,第二项表示变量的调整策略,该策略由仿射可调系数和预测功率误差共同决定。In the above equation, the first term on the left side of the equation represents the power variable in the real-time phase. The first term on the right side of the equation represents the power variable related to the day-ahead stage, and the second term represents the variable adjustment strategy, which is jointly determined by the affine adjustable coefficient and the predicted power error.

最后,构建的分布鲁棒优化调度模型包括了两阶段系统运行成本最小化目标函数,由日前阶段约束形成的一组可行域和由实时阶段约束,通过仿射可调策略形成的另一组可行域。Finally, the distributed robust optimization scheduling model constructed includes the objective function of minimizing the operating cost of the two-stage system, a set of feasible domains formed by the constraints of the day-ahead phase, and another set of feasible domains formed by the constraints of the real-time phase through an affine adjustable strategy. area.

步骤S106,基于对偶理论和凸优化理论将所述分布鲁棒优化模型转化成可求解模型,并对所述求解模型进行求解。Step S106, transforming the distribution robust optimization model into a solvable model based on dual theory and convex optimization theory, and solving the solution model.

在本步骤中,基于对偶理论和凸优化理论,将分布鲁棒优化模型转化成可求解模型,调用MATLAB中的商业求解器CPLEX求解。In this step, based on dual theory and convex optimization theory, the distribution robust optimization model is transformed into a solvable model, and the commercial solver CPLEX in MATLAB is called to solve it.

根据对偶理论将第二阶段优化模型的最劣预测分布的上界问题转化为下界问题,其中,转化后的第二阶段优化模型的目标函数的表达式为:According to the dual theory, the upper bound problem of the worst prediction distribution of the second-stage optimization model is transformed into a lower bound problem, where the expression of the objective function of the transformed second-stage optimization model is:

,

式中,表示第k个历史预测误差,/>为Wasserstein球的半径,/>为样本数,为第二阶段调整成本函数,/>为风电和光伏的总预测误差,/>为模糊不确定集,/>为对偶变量,/>为下界函数,/>为最劣条件下调整成本的上界函数;In the formula, Indicates the kth historical forecast error, /> is the radius of the Wasserstein sphere, /> is the number of samples, adjust the cost function for the second stage, /> is the total forecast error of wind power and photovoltaic power, /> is a fuzzy uncertain set, /> is a dual variable, /> is the lower bound function, /> is the upper bound function of the adjusted cost under the worst condition;

更新分布鲁棒优化模型的目标函数和约束条件,其中,更新后的分布鲁棒优化模型的目标函数为:Update the objective function and constraints of the distribution robust optimization model, where the objective function of the updated distribution robust optimization model is:

,

式中,为优化变量x对应的转置列向量,/>为优化变量;In the formula, is the transposed column vector corresponding to the optimization variable x, /> is the optimization variable;

更新后的分布鲁棒优化模型的约束条件为:The constraints of the updated distribution robust optimization model are:

,

式中,A为对应不等式约束下变量的系数矩阵,为对应不等式约束下的常数列向量,G为考虑预测误差下对应约束的系数矩阵,/>和/>是/>的线性函数;In the formula, A is the coefficient matrix of the variables under the corresponding inequality constraints, is the constant column vector under the corresponding inequality constraint, G is the coefficient matrix of the corresponding constraint considering the prediction error, /> and /> yes /> the linear function of;

基于凸优化理论将所述分布鲁棒优化模型转化成可求解模型,其中,所述求解模型的目标函数的表达式为:Transform the distribution robust optimization model into a solvable model based on convex optimization theory, wherein the expression of the objective function of the solution model is:

,

式中,为引入的辅助变量;In the formula, is the auxiliary variable introduced;

所述求解模型的约束条件的表达式为:The expression of the constraints of the solution model is:

,

式中,为/>的系数转置矩阵,/>为对应/>的优化函数,/>为预测误差的最小值,/>表示第k个历史预测误差,/>为预测误差的最大值,/>为对应/>的优化函数,/>为对应/>的优化函数,/>为考虑预测误差下对应约束的系数矩阵,/>为对应/>的常数列向量,/>为对应/>的常数列向量。In the formula, for /> The coefficient transpose matrix, /> for corresponding /> The optimization function, /> is the minimum value of prediction error, /> Indicates the kth historical forecast error, /> is the maximum value of prediction error, /> for corresponding /> The optimization function, /> for corresponding /> The optimization function, /> is the coefficient matrix of the corresponding constraint considering the prediction error, /> for corresponding /> A constant column vector of , /> for corresponding /> A constant column vector of .

本实施例中的求解模型消去了难以求取的随机变量,而是利用了可求取的随机变量下界值/>、随机变量上界值/>和历史预测误差值/>,降低了求解难度。同时,考虑系统最恶劣条件下建立的分布鲁棒优化模型结合了随机优化精确性和鲁棒优化保守性的特点,使系统在最恶劣条件下也能满足功率约束,实现系统的优化调度。The solution model in this embodiment eliminates random variables that are difficult to obtain , but using the lower bound value of the random variable that can be obtained /> , the upper bound value of the random variable /> and historical forecast error values/> , reducing the difficulty of solving. At the same time, the distributed robust optimization model established considering the worst conditions of the system combines the characteristics of stochastic optimization accuracy and robust optimization conservatism, so that the system can also meet the power constraints under the worst conditions and realize optimal scheduling of the system.

请参阅图3,其示出了本申请的一种考虑风光不确定性的综合能源系统鲁棒优化系统的结构框图。Please refer to FIG. 3 , which shows a structural block diagram of a robust optimization system for an integrated energy system considering wind and solar uncertainties in the present application.

如图3所示,鲁棒优化系统200,包括第一建立模块210、获取模块220、拟合模块230、构造模块240、第二建立模块250以及求解模块260。As shown in FIG. 3 , the robust optimization system 200 includes a first establishment module 210 , an acquisition module 220 , a fitting module 230 , a construction module 240 , a second establishment module 250 and a solution module 260 .

其中,第一建立模块210,配置为构建含碳捕集、电转气与热电联产机组联合运行模式下的综合能源系统,并建立所述综合能源系统的设备模型;获取模块220,配置为获取风电历史出力数据和光伏历史出力数据,并对风电历史出力数据和光伏历史出力数据进行场景削减,得到典型场景下日前风电出力预测数据和光伏出力预测数据;拟合模块230,配置为根据自适应核密度估计拟合所述日前风电出力预测数据和所述光伏出力预测数据中的预测误差的概率密度函数,并对所述概率密度函数进行积分,得到累积分布函数;构造模块240,配置为根据所述累积分布函数构造模糊不确定集;第二建立模块250,配置为基于所述模糊不确定集和仿射可调策略建立综合能源系统的分布鲁棒优化模型;求解模块260,配置为基于对偶理论和凸优化理论将所述分布鲁棒优化模型转化成可求解模型,并对所述求解模型进行求解。Among them, the first establishment module 210 is configured to construct an integrated energy system under the joint operation mode of carbon capture, power-to-gas and cogeneration units, and establishes an equipment model of the integrated energy system; the acquisition module 220 is configured to acquire The historical output data of wind power and the historical output data of photovoltaic power, and scene reduction is performed on the historical output data of wind power and historical photovoltaic power data, and the forecast data of wind power output and the forecast data of photovoltaic power in typical scenarios are obtained; the fitting module 230 is configured as Kernel density estimation fits the probability density function of the forecast error in the wind power output forecast data and the photovoltaic output forecast data, and integrates the probability density function to obtain a cumulative distribution function; the construction module 240 is configured to The cumulative distribution function constructs a fuzzy uncertainty set; the second establishment module 250 is configured to establish a distribution robust optimization model of the integrated energy system based on the fuzzy uncertainty set and an affine adjustable strategy; the solution module 260 is configured to be based on The dual theory and the convex optimization theory transform the distribution robust optimization model into a solvable model, and solve the solution model.

应当理解,图3中记载的诸模块与参考图1中描述的方法中的各个步骤相对应。由此,上文针对方法描述的操作和特征以及相应的技术效果同样适用于图3中的诸模块,在此不再赘述。It should be understood that the modules described in FIG. 3 correspond to the steps in the method described with reference to FIG. 1 . Therefore, the operations and features and corresponding technical effects described above for the method are also applicable to the modules in FIG. 3 , and will not be repeated here.

在另一些实施例中,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述程序指令被处理器执行时,使所述处理器执行上述任意方法实施例中的考虑风光不确定性的综合能源系统鲁棒优化方法;In some other embodiments, the embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, and when the program instructions are executed by a processor, the processor executes any of the above method embodiments A robust optimization method for integrated energy systems considering wind and solar uncertainties in ;

作为一种实施方式,本发明的计算机可读存储介质存储有计算机可执行指令,计算机可执行指令设置为:As an implementation manner, the computer-readable storage medium of the present invention stores computer-executable instructions, and the computer-executable instructions are set to:

构建含碳捕集、电转气与热电联产机组联合运行模式下的综合能源系统,并建立所述综合能源系统的设备模型;Construct an integrated energy system under the joint operation mode of carbon capture, power-to-gas and cogeneration units, and establish the equipment model of the integrated energy system;

获取风电历史出力数据和光伏历史出力数据,并对风电历史出力数据和光伏历史出力数据进行场景削减,得到典型场景下日前风电出力预测数据和光伏出力预测数据;Obtain the historical wind power output data and photovoltaic historical output data, and cut the scene reduction of wind power historical output data and photovoltaic historical output data, and obtain the current wind power output forecast data and photovoltaic output forecast data in typical scenarios;

根据自适应核密度估计拟合所述日前风电出力预测数据和所述光伏出力预测数据中的预测误差的概率密度函数,并对所述概率密度函数进行积分,得到累积分布函数;Fitting the probability density function of the forecast error in the wind power output forecast data and the photovoltaic output forecast data according to the adaptive kernel density estimation, and integrating the probability density function to obtain a cumulative distribution function;

根据所述累积分布函数构造模糊不确定集;Constructing a fuzzy uncertainty set according to the cumulative distribution function;

基于所述模糊不确定集和仿射可调策略建立综合能源系统的分布鲁棒优化模型;Establishing a distributed robust optimization model of an integrated energy system based on the fuzzy uncertain set and an affine adjustable strategy;

基于对偶理论和凸优化理论将所述分布鲁棒优化模型转化成可求解模型,并对所述求解模型进行求解。The distribution robust optimization model is transformed into a solvable model based on dual theory and convex optimization theory, and the solution model is solved.

计算机可读存储介质可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据考虑风光不确定性的综合能源系统鲁棒优化系统的使用所创建的数据等。此外,计算机可读存储介质可以包括高速随机存取存储器,还可以包括存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,计算机可读存储介质可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至考虑风光不确定性的综合能源系统鲁棒优化系统。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; Stick optimization system uses the data created etc. In addition, a computer-readable storage medium may include high-speed random access memory, and may also include memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include a memory located remotely from the processor, and these remote memories may be connected to the robust optimization system of the integrated energy system considering wind and solar uncertainties through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

图4是本发明实施例提供的电子设备的结构示意图,如图4所示,该设备包括:一个处理器310以及存储器320。电子设备还可以包括:输入装置330和输出装置340。处理器310、存储器320、输入装置330和输出装置340可以通过总线或者其他方式连接,图4中以通过总线连接为例。存储器320为上述的计算机可读存储介质。处理器310通过运行存储在存储器320中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例考虑风光不确定性的综合能源系统鲁棒优化方法。输入装置330可接收输入的数字或字符信息,以及产生与考虑风光不确定性的综合能源系统鲁棒优化系统的用户设置以及功能控制有关的键信号输入。输出装置340可包括显示屏等显示设备。FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 4 , the device includes: a processor 310 and a memory 320 . The electronic device may further include: an input device 330 and an output device 340 . The processor 310, the memory 320, the input device 330, and the output device 340 may be connected via a bus or in other ways, and connection via a bus is taken as an example in FIG. 4 . The memory 320 is the computer-readable storage medium mentioned above. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, realizes the comprehensive energy system robustness considering the uncertainty of wind and rain in the above method embodiments. Rod optimization method. The input device 330 can receive input numbers or character information, and generate key signal input related to user settings and function control of the robust optimization system for an integrated energy system considering wind and landscape uncertainties. The output device 340 may include a display device such as a display screen.

上述电子设备可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。The above-mentioned electronic device can execute the method provided by the embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in this embodiment, refer to the method provided in the embodiment of the present invention.

作为一种实施方式,上述电子设备应用于考虑风光不确定性的综合能源系统鲁棒优化系统中,用于客户端,包括:至少一个处理器;以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够:As an implementation, the above-mentioned electronic device is applied to a robust optimization system of an integrated energy system considering uncertainties of scenery and scenery, and is used for a client, including: at least one processor; and a memory communicatively connected to at least one processor; Wherein, the memory stores instructions executable by at least one processor, and the instructions are executed by at least one processor, so that the at least one processor can:

构建含碳捕集、电转气与热电联产机组联合运行模式下的综合能源系统,并建立所述综合能源系统的设备模型;Construct an integrated energy system under the joint operation mode of carbon capture, power-to-gas and cogeneration units, and establish the equipment model of the integrated energy system;

获取风电历史出力数据和光伏历史出力数据,并对风电历史出力数据和光伏历史出力数据进行场景削减,得到典型场景下日前风电出力预测数据和光伏出力预测数据;Obtain the historical wind power output data and photovoltaic historical output data, and cut the scene reduction of wind power historical output data and photovoltaic historical output data, and obtain the current wind power output forecast data and photovoltaic output forecast data in typical scenarios;

根据自适应核密度估计拟合所述日前风电出力预测数据和所述光伏出力预测数据中的预测误差的概率密度函数,并对所述概率密度函数进行积分,得到累积分布函数;Fitting the probability density function of the forecast error in the wind power output forecast data and the photovoltaic output forecast data according to the adaptive kernel density estimation, and integrating the probability density function to obtain a cumulative distribution function;

根据所述累积分布函数构造模糊不确定集;Constructing a fuzzy uncertainty set according to the cumulative distribution function;

基于所述模糊不确定集和仿射可调策略建立综合能源系统的分布鲁棒优化模型;Establishing a distributed robust optimization model of an integrated energy system based on the fuzzy uncertain set and an affine adjustable strategy;

基于对偶理论和凸优化理论将所述分布鲁棒优化模型转化成可求解模型,并对所述求解模型进行求解。The distribution robust optimization model is transformed into a solvable model based on dual theory and convex optimization theory, and the solution model is solved.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods of various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。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 them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (10)

1.一种考虑风光不确定性的综合能源系统鲁棒优化方法,其特征在于,包括:1. A method for robust optimization of integrated energy systems considering uncertainties in scenery, characterized in that it comprises: 构建含碳捕集、电转气与热电联产机组联合运行模式下的综合能源系统,并建立所述综合能源系统的设备模型;Construct an integrated energy system under the joint operation mode of carbon capture, power-to-gas and cogeneration units, and establish the equipment model of the integrated energy system; 获取风电历史出力数据和光伏历史出力数据,并对风电历史出力数据和光伏历史出力数据进行场景削减,得到典型场景下日前风电出力预测数据和光伏出力预测数据;Obtain the historical wind power output data and photovoltaic historical output data, and cut the scene reduction of wind power historical output data and photovoltaic historical output data, and obtain the current wind power output forecast data and photovoltaic output forecast data in typical scenarios; 根据自适应核密度估计拟合所述日前风电出力预测数据和所述光伏出力预测数据中的预测误差的概率密度函数,并对所述概率密度函数进行积分,得到累积分布函数;Fitting the probability density function of the forecast error in the wind power output forecast data and the photovoltaic output forecast data according to the adaptive kernel density estimation, and integrating the probability density function to obtain a cumulative distribution function; 根据所述累积分布函数构造模糊不确定集;Constructing a fuzzy uncertainty set according to the cumulative distribution function; 基于所述模糊不确定集和仿射可调策略建立综合能源系统的分布鲁棒优化模型;Establishing a distributed robust optimization model of an integrated energy system based on the fuzzy uncertain set and an affine adjustable strategy; 基于对偶理论和凸优化理论将所述分布鲁棒优化模型转化成可求解模型,并对所述求解模型进行求解。The distribution robust optimization model is transformed into a solvable model based on dual theory and convex optimization theory, and the solution model is solved. 2.根据权利要求1所述的一种考虑风光不确定性的综合能源系统鲁棒优化方法,其特征在于,所述构建含碳捕集、电转气与热电联产机组联合运行模式下的综合能源系统,并建立所述综合能源系统的设备模型包括:2. A robust optimization method for an integrated energy system considering wind and solar uncertainties according to claim 1, characterized in that, said construction of an integrated energy system under the joint operation mode of carbon capture, power-to-gas, and cogeneration units energy system, and establish the equipment model of the comprehensive energy system including: 热电机组通过燃烧天然气产生电功率和热功率,其中,热电机组的出力模型为:The thermoelectric unit generates electric power and thermal power by burning natural gas, where the output model of the thermoelectric unit is: , 式中,和/>分别为t时刻热电机组产生的电功率和t时刻热电机组输出的热功率,/>为天然气的低热值,/>为t时刻热电机组的耗气量,/>和/>分别为机组的发电效率和机组的热损失系数;In the formula, and /> are respectively the electric power generated by the thermoelectric unit at time t and the thermal power output by the thermoelectric unit at time t, /> is the low calorific value of natural gas, /> is the gas consumption of the thermoelectric unit at time t, /> and /> are the generating efficiency of the unit and the heat loss coefficient of the unit, respectively; 碳捕集消耗的电能由基础能耗和运行能耗组成:The electrical energy consumed by carbon capture consists of basic energy consumption and operating energy consumption: , 式中,为t时刻碳捕集设备消耗的电能,/>为t时刻的0-1标志位,其中1表示捕获,0表示关闭,/>为t时刻碳捕集的基础能耗,/>为t时刻碳捕集的运行能耗,/>为捕获单位/>的运行能耗,/>为t时刻捕获的/>量;In the formula, is the electric energy consumed by the carbon capture equipment at time t, /> It is the 0-1 flag bit at time t, where 1 means capture, 0 means close, /> is the basic energy consumption of carbon capture at time t, /> is the operating energy consumption of carbon capture at time t, /> is the capture unit /> operating energy consumption, /> is the captured /> at time t quantity; 电转气设备使用的二氧化碳量与产生的天然气相同,电转气设备的数学模型为:The amount of carbon dioxide used by the power-to-gas equipment is the same as the natural gas produced. The mathematical model of the power-to-gas equipment is: , 式中,为t时刻电转气设备生成的天然气量,/>为电转气的转换效率,/>为t时刻电转气设备消耗的电能,/>为天然气的低热值;In the formula, is the amount of natural gas generated by the power-to-gas equipment at time t, /> is the conversion efficiency of power to gas, /> is the electric energy consumed by the power-to-gas equipment at time t, /> is the low calorific value of natural gas; 热电机组给电转气设备和碳捕集装置提供电能,热电机组提供的上网功率为:The thermoelectric unit provides electric energy to the power-to-gas equipment and the carbon capture device, and the on-grid power provided by the thermoelectric unit is: , 式中,为t时刻热电机组提供的上网功率,/>为t时刻热电机组产生的电功率,为t时刻碳捕集设备消耗的电能,/>为t时刻电转气设备消耗的电能;In the formula, is the on-grid power provided by the thermal power unit at time t, /> is the electric power generated by the thermoelectric unit at time t, is the electric energy consumed by the carbon capture equipment at time t, /> is the electric energy consumed by the power-to-gas equipment at time t; 联合运行模式下热电机组电热出力耦合特性为:In the joint operation mode, the electric-thermal output coupling characteristics of the thermoelectric unit are: , 式中,、/>分别为热电机组提供的上网功率最小值和最大值,/>和/>分别为热电机组最小出力电热转换系数和热电机组最大出力电热转换系数,/>为线性斜率,为t时刻热电机组输出的热功率,/>为碳捕集设备的最大功率,/>为电转气设备的最大功率,/>为热电机组最小热出力,/>为t时刻热电机组提供的上网功率;In the formula, , /> Respectively, the minimum and maximum value of the on-grid power provided by the thermal power unit, /> and /> Respectively, the minimum output electrothermal conversion coefficient of the thermoelectric unit and the maximum output electrothermal conversion coefficient of the thermoelectric unit, /> is the linear slope, is the thermal power output by the thermoelectric unit at time t, /> is the maximum power of the carbon capture device, /> is the maximum power of the power-to-gas equipment, /> is the minimum heat output of the thermoelectric unit, /> The on-grid power provided by the thermal power unit at time t; 燃气锅炉通过燃烧天然气产生热功率,其中,计算所述热功率的表达式为:Gas-fired boilers generate heat power by burning natural gas, where the expression for calculating the heat power is: , 式中,为t时刻燃气锅炉产生的热功率,/>为燃气锅炉的热转化效率,/>为天然气的低热值,/>为t时刻燃气锅炉的耗气量;In the formula, is the thermal power generated by the gas boiler at time t, /> is the heat conversion efficiency of the gas boiler, /> is the low calorific value of natural gas, /> is the gas consumption of the gas-fired boiler at time t; 能源转换设备模型包括电制冷机和吸收式制冷机,电制冷机和吸收式制冷机的模型为:The energy conversion equipment model includes electric refrigerators and absorption refrigerators, and the models of electric refrigerators and absorption refrigerators are: , , 式中, 和/>分别为t时刻电制冷机输出的冷功率和t时刻吸收式制冷机输出的冷功率,/>和/>分别为t时刻电制冷机消耗的电能和t时刻吸收式制冷机消耗的热能,/>和/>分别为电制冷机的制冷效率和吸收式制冷机的制冷效率;In the formula, and /> are respectively the cooling power output by the electric refrigerator at time t and the cooling power output by the absorption refrigerator at time t, /> and /> Respectively, the electric energy consumed by the electric refrigerator at time t and the heat energy consumed by the absorption refrigerator at time t, /> and /> are the cooling efficiency of the electric refrigerator and the cooling efficiency of the absorption refrigerator, respectively; 系统的储能设备模型包括蓄电池和储热罐,其中,蓄电池和储热罐的容量模型为:The energy storage equipment model of the system includes batteries and heat storage tanks, where the capacity models of batteries and heat storage tanks are: , 式中,和/>分别是t时刻电储能的容量和t时刻热储能的容量,/>、/>和/>分别为t时刻电储能的充电效率、t时刻电储能的放电效率和t时刻热储能的储热效率、t时刻热储能的放热效率,/>、/>和/>、/>分别为t时刻电储能的充电功率、t时刻电储能的放电功率和t时刻热储能的储热功率、t时刻热储能的放热功率。In the formula, and /> Respectively, the capacity of electric energy storage at time t and the capacity of thermal energy storage at time t, /> , /> and /> , Respectively, the charging efficiency of electric energy storage at time t, the discharge efficiency of electric energy storage at time t, the heat storage efficiency of thermal energy storage at time t, and the heat release efficiency of thermal energy storage at time t, /> , /> and /> , /> Respectively, the charging power of electric energy storage at time t, the discharge power of electric energy storage at time t, the heat storage power of thermal energy storage at time t, and the heat release power of thermal energy storage at time t. 3.根据权利要求1所述的一种考虑风光不确定性的综合能源系统鲁棒优化方法,其特征在于,所述根据自适应核密度估计拟合所述日前风电出力预测数据和所述光伏出力预测数据中的预测误差的概率密度函数,并对所述概率密度函数进行积分,得到累积分布函数包括:3. A method for robust optimization of an integrated energy system considering uncertainties in scenery and scenery according to claim 1, wherein said fitting said day-ahead wind power output prediction data and said photovoltaic Output the probability density function of the prediction error in the forecast data, and integrate the probability density function to obtain the cumulative distribution function including: 在IES中风电的预测误差和光伏的预测误差的表达式为:The expressions of wind power forecast error and photovoltaic forecast error in IES are: , , 式中,和/>分别是t时刻风电的预测误差和t时刻光伏的预测误差,/>为t时刻风电实际出力,/>为t时刻风电预测出力,/>为t时刻光伏实际出力,/>为t时刻光伏预测出力;In the formula, and /> are respectively the forecast error of wind power at time t and the forecast error of photovoltaic power at time t, /> is the actual output of wind power at time t, /> is the output of wind power forecast at time t, /> is the actual PV output at time t, /> Output for photovoltaic prediction at time t; 假设综合能源系统中有n个历史运行数据,则核密度估计的形式为:Suppose there are n historical operating data in the integrated energy system , then the form of the kernel density estimate is: , 式中,为预测误差,/>为样本数,/>为带宽,/>为核函数,/>为概率密度函数,/>表示第k个历史预测误差;In the formula, is the prediction error, /> is the number of samples, /> is the bandwidth, /> is the kernel function, /> is the probability density function, /> Indicates the kth historical forecast error; 用均平方积分误差的大小来衡量带宽的优劣,在弱假设条件下,Bandwidth is measured by the magnitude of the mean squared integral error pros and cons, under weak assumptions, , 式中,为均平方积分误差,/>为渐进均平方积分误差,/>为误差随时间的衰减速度,/>为样本数,/>为带宽;In the formula, is the mean square integral error, /> is the asymptotic mean square integral error, /> is the decay rate of the error with time, /> is the number of samples, /> is the bandwidth; , 式中,为核函数/>的尺度参数,/>为数据生成概率密度函数的平方矩,/>为概率密度函数的二次导函数;In the formula, is the kernel function /> scale parameter, /> Generate the squared moments of the probability density function for the data, /> is the second derivative of the probability density function; , 式中,为随机变量/>的核函数;In the formula, is a random variable /> The kernel function; 最小化等价于最小化/>,对/>求导,令导数为0,化简求得最佳的带宽/>的表达式为:minimize Equivalent to minimize /> , right /> Find the derivative, let the derivative be 0, and simplify to find the best bandwidth/> The expression is: , 在选择核函数及带宽后,自适应核密度估计方法模拟真实的概率分布曲线,其中,利用自适应核密度估计方法拟合随机变量的概率密度函数的表达式为:After selecting the kernel function and bandwidth, the adaptive kernel density estimation method simulates the real probability distribution curve, in which, the adaptive kernel density estimation method is used to fit the random variable The expression of the probability density function of is: , 对概率密度函数进行积分,得到累积分布函数,其中,所述累积分布函数的表达式为:Integrate the probability density function to obtain a cumulative distribution function, wherein the expression of the cumulative distribution function is: , 式中,为累积分布函数,/>为随机变量/>的概率密度函数。In the formula, is the cumulative distribution function, /> is a random variable /> The probability density function of . 4.根据权利要求1所述的一种考虑风光不确定性的综合能源系统鲁棒优化方法,其特征在于,其中,所述模糊不确定集的表达式为:4. A method for robust optimization of integrated energy systems considering the uncertainty of scenery and scenery according to claim 1, wherein the expression of the fuzzy uncertainty set is: , 式中,为模糊不确定性集,/>为真实分布,/>为估计分布,/>为真实分布和估计分布之间的Wasserstein距离,/>为总概率分布;In the formula, is the fuzzy uncertainty set, /> is the true distribution, /> For the estimated distribution, /> is the Wasserstein distance between the true distribution and the estimated distribution, /> is the total probability distribution; , 式中,为Wasserstein球的半径,取决于样本数,/>为常数,/>为样本总数,/>为求解半径的置信水平;In the formula, is the radius of the Wasserstein sphere, depending on the number of samples, /> is a constant, /> is the total number of samples, /> is the confidence level of the solution radius; , 式中,为实数,/>为样本均值,/>表示第k个预测误差。In the formula, is a real number, /> is the sample mean, /> Denotes the kth prediction error. 5.根据权利要求1所述的一种考虑风光不确定性的综合能源系统鲁棒优化方法,其特征在于,所述基于仿射可调策略建立综合能源系统的分布鲁棒优化模型包括:5. A method for robust optimization of an integrated energy system considering uncertainties in scenery and scenery according to claim 1, wherein said establishment of a distributed robust optimization model of an integrated energy system based on an affine adjustable strategy comprises: 基于仿射可调策略建立综合能源系统的第一阶段优化模型和第二阶段优化模型,其中,所述第一阶段优化模型根据风电和光伏的预测功率制定日前调度计划,最小化综合能源系统的运行成本,所述第二阶段优化模型考虑风光不确定下的预测误差,在最劣分布条件下最小化系统调整成本的期望值制定实时调度策略;Based on the affine adjustable strategy, the first-stage optimization model and the second-stage optimization model of the integrated energy system are established, wherein the first-stage optimization model formulates a day-ahead scheduling plan based on the predicted power of wind power and photovoltaics, and minimizes the Operating cost, the second-stage optimization model considers the prediction error under the uncertainty of the scenery, and minimizes the expected value of the system adjustment cost under the worst distribution condition to formulate a real-time scheduling strategy; 以两阶段的总运行成本最小为目标函数,其中,所述目标函数的表达式为:The objective function is to minimize the total operating cost of the two stages, wherein the expression of the objective function is: , 式中,min(·)表示第一阶段的目标函数,为IES的购电成本,/>为IES的购气成本,为热电机组和燃气锅炉的启停成本,/>为碳储存成本,/>为碳交易成本,/>为由预测误差产生的调整成本的期望值,/>为第二阶段调整成本函数,/>为第二阶段优化模型的目标函数;In the formula, min( ) represents the objective function of the first stage, is the electricity purchase cost of IES, /> is the gas purchase cost of the IES, is the start-stop cost of thermal power units and gas-fired boilers, /> for carbon storage costs, /> is the carbon trading cost, /> is the expected value of the adjustment cost caused by the forecast error, /> adjust the cost function for the second stage, /> Optimizing the objective function of the model for the second stage; 所述第二阶段优化模型的调整成本在日前成本的基础上增加了风电和光伏的弃电惩罚成本,同时删去设备的启停成本,其中,所述的表达式为:The adjustment cost of the second-stage optimization model adds the wind power and photovoltaic power abandonment penalty cost on the basis of the day-ahead cost, and deletes the start-stop cost of the equipment at the same time, wherein the The expression is: , 式中,表示调度周期,/>为考虑预测误差的购电成本,/>为考虑预测误差的购气成本,/>为系统弃风弃光产生的惩罚成本,/>为考虑预测误差的碳储存成本,/>为考虑预测误差的碳交易成本;In the formula, Indicates the scheduling period, /> To account for the electricity purchase cost of the forecast error, /> In order to consider the gas purchase cost of forecast error, /> Penalty cost for the system to abandon wind and light, /> To account for the carbon storage cost of forecast errors, /> Carbon trading costs to account for forecast errors; , 式中,为t时刻的电价,/>为实时阶段t时刻从电网购买的电功率,/>为实时阶段t时刻向电网售出的电功率,/>为日前阶段t时刻从电网购买的电功率,/>为日前阶段t时刻向电网售出的电功率;In the formula, is the electricity price at time t, /> is the electric power purchased from the grid at time t in the real-time stage, /> is the electric power sold to the grid at time t in the real-time stage, /> is the electric power purchased from the grid at time t in the day-ahead period, /> is the electric power sold to the grid at time t in the day-ahead phase; , 式中,为单位惩罚系数,/>为实时阶段t时刻的弃风功率,/>为实时阶段t时刻的弃光功率。In the formula, is the unit penalty coefficient, /> is the curtailed wind power at time t in the real-time stage, /> is the optical power discarded at time t in the real-time stage. 6.根据权利要求5所述的一种考虑风光不确定性的综合能源系统鲁棒优化方法,其特征在于,其中,所述第一阶段优化模型的约束条件包括能量平衡约束、气功率平衡约束、热储能约束以及电储能约束;6. A method for robust optimization of integrated energy systems considering uncertainties in scenery and scenery according to claim 5, wherein the constraints of the first-stage optimization model include energy balance constraints, gas power balance constraints , thermal energy storage constraints and electric energy storage constraints; 所述能量平衡约束的表达式为:The expression of the energy balance constraint is: , 式中,为t时刻的购电功率,/>为t时刻的风电功率,/>为t时刻的光伏功率,为t时刻热电机组提供的上网功率,/>为t时刻的电负荷,/>为t时刻电储能的放电功率,/>为t时刻电储能的充电功率,/>为t时刻电制冷机消耗的电能;In the formula, is the purchased electricity power at time t, /> is the wind power at time t, /> is the photovoltaic power at time t, is the on-grid power provided by the thermal power unit at time t, /> is the electric load at time t, /> is the discharge power of electric energy storage at time t, /> is the charging power of electric energy storage at time t, /> is the electric energy consumed by the electric refrigerator at time t; , 式中,为t时刻的热负荷,/>为t时刻热储能的储热功率,/>为t时刻吸收式制冷机消耗的热能,/>为t时刻热电机组输出的热功率,/>为t时刻燃气锅炉产生的热功率,/>为t时刻热储能的放热功率;In the formula, is the heat load at time t, /> is the heat storage power of thermal energy storage at time t, /> is the heat energy consumed by the absorption refrigerator at time t, /> is the thermal power output by the thermoelectric unit at time t, /> is the thermal power generated by the gas boiler at time t, /> is the heat release power of thermal energy storage at time t; , 式中,为t时刻的冷负荷,/>为t时刻吸收式制冷机输出的冷功率,/>为t时刻电制冷机输出的冷功率;In the formula, is the cooling load at time t, /> is the cooling power output by the absorption refrigerator at time t, /> is the cooling power output by the electric refrigerator at time t; 所述气功率平衡约束的表达式为:The expression of the gas power balance constraint is: , 式中,为t时刻燃气锅炉的耗气量,/>为t时刻热电机组的耗气量,/>为t时刻电转气设备生成的天然气量,/>为t时刻从气网购买的气量。In the formula, is the gas consumption of the gas-fired boiler at time t, /> is the gas consumption of the thermoelectric unit at time t, /> is the amount of natural gas generated by the power-to-gas equipment at time t, /> is the gas volume purchased from the gas network at time t. 7.根据权利要求5所述的一种考虑风光不确定性的综合能源系统鲁棒优化方法,其特征在于,所述基于对偶理论和凸优化理论将所述分布鲁棒优化模型转化成可求解模型,并对所述求解模型进行求解包括:7. A method for robust optimization of integrated energy systems considering uncertainties in scenery and scenery according to claim 5, characterized in that, said distribution robust optimization model is transformed into a solvable method based on dual theory and convex optimization theory model, and solving the solution model includes: 根据对偶理论将第二阶段优化模型的最劣预测分布的上界问题转化为下界问题,其中,转化后的第二阶段优化模型的目标函数的表达式为:According to the dual theory, the upper bound problem of the worst prediction distribution of the second-stage optimization model is transformed into a lower bound problem, where the expression of the objective function of the transformed second-stage optimization model is: , 式中,表示第k个历史预测误差,/>为Wasserstein球的半径,/>为样本数,/>为第二阶段调整成本函数,/>为预测误差,/>为模糊不确定集,/>为对偶变量,/>为下界函数,/>为最劣条件下调整成本的上界函数;In the formula, Indicates the kth historical forecast error, /> is the radius of the Wasserstein sphere, /> is the number of samples, /> adjust the cost function for the second stage, /> is the prediction error, /> is a fuzzy uncertain set, /> is a dual variable, /> is the lower bound function, /> is the upper bound function of the adjusted cost under the worst condition; 更新分布鲁棒优化模型的目标函数和约束条件,其中,更新后的分布鲁棒优化模型的目标函数为:Update the objective function and constraints of the distribution robust optimization model, where the objective function of the updated distribution robust optimization model is: , 式中,表示在优化变量/>下的最小运行成本,/>为优化变量/>对应的转置列向量,为优化变量;In the formula, denoted in the optimization variable /> The minimum running cost under, /> for the optimization variable /> The corresponding transposed column vector, is the optimization variable; 更新后的分布鲁棒优化模型的约束条件为:The constraints of the updated distribution robust optimization model are: , 式中,A为对应不等式约束下变量的系数矩阵,/>为对应不等式约束下的常数列向量,为考虑预测误差下对应约束的系数矩阵,/>和/>均是预测误差/>的线性函数;In the formula, A is the variable under the constraint of the corresponding inequality coefficient matrix, /> is a constant column vector under the corresponding inequality constraints, is the coefficient matrix of the corresponding constraint considering the prediction error, /> and /> are forecast errors/> the linear function of; 基于凸优化理论将所述分布鲁棒优化模型转化成可求解模型,其中,所述求解模型的目标函数的表达式为:Transform the distribution robust optimization model into a solvable model based on convex optimization theory, wherein the expression of the objective function of the solution model is: , 式中,为引入的辅助变量;In the formula, is the auxiliary variable introduced; 所述求解模型的约束条件的表达式为:The expression of the constraints of the solution model is: , 式中,为/>的系数转置矩阵,/>为对应/>的优化函数,/>为预测误差的最小值,/>表示第k个历史预测误差,/>为预测误差的最大值,/>为对应/>的优化函数,为对应/>的优化函数,/>为考虑预测误差下对应约束的系数矩阵,/>为对应/>的常数列向量,/>为对应/>的常数列向量。In the formula, for /> The coefficient transpose matrix, /> for corresponding /> The optimization function, /> is the minimum value of prediction error, /> Indicates the kth historical forecast error, /> is the maximum value of prediction error, /> for corresponding /> The optimization function of for corresponding /> The optimization function, /> is the coefficient matrix of the corresponding constraint considering the prediction error, /> for corresponding /> A constant column vector of , /> for corresponding /> A constant column vector of . 8.一种考虑风光不确定性的综合能源系统鲁棒优化系统,其特征在于,包括:8. A robust optimization system for an integrated energy system considering the uncertainty of scenery, characterized in that it includes: 第一建立模块,配置为构建含碳捕集、电转气与热电联产机组联合运行模式下的综合能源系统,并建立所述综合能源系统的设备模型;The first building module is configured to build an integrated energy system under the joint operation mode of carbon capture, power-to-gas and cogeneration units, and establish an equipment model of the integrated energy system; 获取模块,配置为获取风电历史出力数据和光伏历史出力数据,并对风电历史出力数据和光伏历史出力数据进行场景削减,得到典型场景下日前风电出力预测数据和光伏出力预测数据;The acquisition module is configured to obtain historical wind power output data and photovoltaic historical output data, and perform scene reduction on the wind power historical output data and photovoltaic historical output data, and obtain the current wind power output forecast data and photovoltaic output forecast data in typical scenarios; 拟合模块,配置为根据自适应核密度估计拟合所述日前风电出力预测数据和所述光伏出力预测数据中的预测误差的概率密度函数,并对所述概率密度函数进行积分,得到累积分布函数;The fitting module is configured to fit the probability density function of the prediction error in the wind power output forecast data and the photovoltaic output forecast data according to the adaptive kernel density estimation, and integrate the probability density function to obtain the cumulative distribution function; 构造模块,配置为根据所述累积分布函数构造模糊不确定集;A construction module configured to construct a fuzzy uncertainty set according to the cumulative distribution function; 第二建立模块,配置为基于所述模糊不确定集和仿射可调策略建立综合能源系统的分布鲁棒优化模型;The second establishment module is configured to establish a distributed robust optimization model of the integrated energy system based on the fuzzy uncertain set and the affine adjustable strategy; 求解模块,配置为基于对偶理论和凸优化理论将所述分布鲁棒优化模型转化成可求解模型,并对所述求解模型进行求解。The solution module is configured to convert the distribution robust optimization model into a solvable model based on dual theory and convex optimization theory, and solve the solution model. 9.一种电子设备,其特征在于,包括:至少一个处理器,以及与所述至少一个处理器通信连接的存储器,其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行权利要求1至7任一项所述的方法。9. An electronic device, characterized in that it comprises: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor, so that the at least one processor performs the method of any one of claims 1-7. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现权利要求1至7任一项所述的方法。10. A computer-readable storage medium, on which a computer program is stored, wherein, when the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
CN202310926888.0A 2023-07-27 2023-07-27 Comprehensive energy system robust optimization method and system considering wind-light uncertainty Pending CN116644866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310926888.0A CN116644866A (en) 2023-07-27 2023-07-27 Comprehensive energy system robust optimization method and system considering wind-light uncertainty

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310926888.0A CN116644866A (en) 2023-07-27 2023-07-27 Comprehensive energy system robust optimization method and system considering wind-light uncertainty

Publications (1)

Publication Number Publication Date
CN116644866A true CN116644866A (en) 2023-08-25

Family

ID=87640430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310926888.0A Pending CN116644866A (en) 2023-07-27 2023-07-27 Comprehensive energy system robust optimization method and system considering wind-light uncertainty

Country Status (1)

Country Link
CN (1) CN116644866A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117172389A (en) * 2023-11-01 2023-12-05 山东建筑大学 Regional comprehensive energy optimization operation method and system considering wind-light uncertainty
CN117252043A (en) * 2023-11-17 2023-12-19 山东大学 Multi-objective optimal dispatching method and device for regional multi-energy complementary energy systems
CN117526453A (en) * 2024-01-04 2024-02-06 国网浙江省电力有限公司 Photovoltaic digestion scheduling method for power distribution network based on electric automobile clusters
CN118552059A (en) * 2024-07-26 2024-08-27 武汉大学 Photovoltaic digestion method, system, medium and equipment for low-grade heat source-containing region
CN118971206A (en) * 2024-10-15 2024-11-15 国网浙江省电力有限公司温州供电公司 An energy optimization scheduling method and system taking into account the uncertainty of wind and solar power

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103545832A (en) * 2013-09-22 2014-01-29 国家电网公司 A photovoltaic system energy storage capacity configuration method based on power generation prediction error
CN105225000A (en) * 2015-09-16 2016-01-06 三峡大学 A kind of wind power probability model nonparametric probability method optimized based on Fuzzy Ordered
CN110555595A (en) * 2019-08-09 2019-12-10 四川大学 biogas-wind-light all-renewable energy system based on energy hub and method thereof
US20200313433A1 (en) * 2018-06-06 2020-10-01 Nanjing Institute Of Technology Data-driven three-stage scheduling method for electricity, heat and gas networks based on wind electricity indeterminacy
CN112104005A (en) * 2020-08-25 2020-12-18 中国电力科学研究院有限公司 Power grid dispatching method and system considering new energy prediction uncertainty
CN112949201A (en) * 2021-03-17 2021-06-11 华翔翔能科技股份有限公司 Wind speed prediction method and device, electronic equipment and storage medium
CN113177323A (en) * 2021-05-14 2021-07-27 华北电力大学 Moment uncertainty distributed robust-based optimal scheduling method for electric heating integrated system
CN114529075A (en) * 2022-02-14 2022-05-24 中建安装集团有限公司 Comprehensive energy system distribution robustness optimization scheduling method considering wind and light prediction error
CN115293442A (en) * 2022-08-17 2022-11-04 大连理工大学 A Balanced Scheduling Model for Water-Solar Energy System Based on Distribution Robust Optimization
US20230048056A1 (en) * 2021-08-09 2023-02-16 Dalian University Of Technology Method for describing power output of a cluster of wind and solar power stations considering time-varying characteristics
US20230136352A1 (en) * 2021-10-29 2023-05-04 Economic and Technological Research Institute of State Grid Liaoning Electric Power Co., Ltd. Method and system for predicting a day-ahead wind power of wind farms
CN116187035A (en) * 2023-01-12 2023-05-30 上海电力大学 Variable mass flow combined heat and power system operation method based on multiple uncertainty sets

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103545832A (en) * 2013-09-22 2014-01-29 国家电网公司 A photovoltaic system energy storage capacity configuration method based on power generation prediction error
CN105225000A (en) * 2015-09-16 2016-01-06 三峡大学 A kind of wind power probability model nonparametric probability method optimized based on Fuzzy Ordered
US20200313433A1 (en) * 2018-06-06 2020-10-01 Nanjing Institute Of Technology Data-driven three-stage scheduling method for electricity, heat and gas networks based on wind electricity indeterminacy
CN110555595A (en) * 2019-08-09 2019-12-10 四川大学 biogas-wind-light all-renewable energy system based on energy hub and method thereof
CN112104005A (en) * 2020-08-25 2020-12-18 中国电力科学研究院有限公司 Power grid dispatching method and system considering new energy prediction uncertainty
CN112949201A (en) * 2021-03-17 2021-06-11 华翔翔能科技股份有限公司 Wind speed prediction method and device, electronic equipment and storage medium
CN113177323A (en) * 2021-05-14 2021-07-27 华北电力大学 Moment uncertainty distributed robust-based optimal scheduling method for electric heating integrated system
US20230048056A1 (en) * 2021-08-09 2023-02-16 Dalian University Of Technology Method for describing power output of a cluster of wind and solar power stations considering time-varying characteristics
US20230136352A1 (en) * 2021-10-29 2023-05-04 Economic and Technological Research Institute of State Grid Liaoning Electric Power Co., Ltd. Method and system for predicting a day-ahead wind power of wind farms
CN114529075A (en) * 2022-02-14 2022-05-24 中建安装集团有限公司 Comprehensive energy system distribution robustness optimization scheduling method considering wind and light prediction error
CN115293442A (en) * 2022-08-17 2022-11-04 大连理工大学 A Balanced Scheduling Model for Water-Solar Energy System Based on Distribution Robust Optimization
CN116187035A (en) * 2023-01-12 2023-05-30 上海电力大学 Variable mass flow combined heat and power system operation method based on multiple uncertainty sets

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117172389A (en) * 2023-11-01 2023-12-05 山东建筑大学 Regional comprehensive energy optimization operation method and system considering wind-light uncertainty
CN117172389B (en) * 2023-11-01 2024-02-02 山东建筑大学 Regional comprehensive energy optimization operation method and system considering wind-light uncertainty
CN117252043A (en) * 2023-11-17 2023-12-19 山东大学 Multi-objective optimal dispatching method and device for regional multi-energy complementary energy systems
CN117252043B (en) * 2023-11-17 2024-04-09 山东大学 Multi-target optimal scheduling method and device for regional multi-energy complementary energy system
CN117526453A (en) * 2024-01-04 2024-02-06 国网浙江省电力有限公司 Photovoltaic digestion scheduling method for power distribution network based on electric automobile clusters
CN117526453B (en) * 2024-01-04 2024-03-22 国网浙江省电力有限公司 A photovoltaic accommodation and dispatching method for distribution network based on electric vehicle clusters
CN118552059A (en) * 2024-07-26 2024-08-27 武汉大学 Photovoltaic digestion method, system, medium and equipment for low-grade heat source-containing region
CN118971206A (en) * 2024-10-15 2024-11-15 国网浙江省电力有限公司温州供电公司 An energy optimization scheduling method and system taking into account the uncertainty of wind and solar power

Similar Documents

Publication Publication Date Title
CN116644866A (en) Comprehensive energy system robust optimization method and system considering wind-light uncertainty
WO2022048127A1 (en) Optimization and regulation method and system for thermoelectric heat pump-thermoelectricity combined system
CN110619110B (en) Coordinated operation optimization method for comprehensive energy system with heat pump
CN114707289B (en) Multi-objective optimization method for electrothermal coupling integrated energy system based on chance constraints
CN109858759A (en) A kind of industrial park comprehensive energy balance dispatching method
CN107622324A (en) A kind of robust environmental economy dispatching method for considering more microgrid energy interactions
CN114330827B (en) Distributed robust self-scheduling optimization method for multi-energy flow virtual power plant and application thereof
Zhang et al. Day-ahead optimal scheduling of a standalone solar-wind-gas based integrated energy system with and without considering thermal inertia and user comfort
CN111681130A (en) An Optimal Scheduling Method of Integrated Energy System Considering Conditional Value-at-Risk
CN109818347B (en) An evaluation method for wind power consumption capacity of power system
CN111598289A (en) Distributed optimization method of integrated energy system considering LSTM photovoltaic output prediction
CN115859686B (en) Comprehensive energy system low-carbon scheduling method and system considering expanded carbon emission flow
CN106548416A (en) A kind of wind energy turbine set and electricity turn the collaboration Site planning method of gas plant stand
CN110729720A (en) A method for capacity planning of heat storage tank and sensitivity analysis method for electric-to-gas parameters
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
CN114742314A (en) Correlation-considered electric heating comprehensive energy system distribution robustness optimization method
Kang et al. Feed-forward active operation optimization for CCHP system considering thermal load forecasting
CN116957362A (en) Multi-target planning method and system for regional comprehensive energy system
CN112883630A (en) Day-ahead optimized economic dispatching method for multi-microgrid system for wind power consumption
CN107730032B (en) Universal energy network electricity-cooling-heating triple co-generation optimized scheduling system and method
CN112862253A (en) Electricity-gas-heat energy storage collaborative planning method and system considering wind power uncertainty
CN113011655A (en) Two-stage random planning-based hybrid energy storage system planning method for community multi-energy system
CN112101987A (en) Multi-microgrid random prediction control method
CN116957155A (en) Multi-main-body station-network collaborative optimization operation method of comprehensive energy system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20230825

RJ01 Rejection of invention patent application after publication