[go: up one dir, main page]

CN117408091A - Safety risk considered optimization design method and system for electric-hydrogen energy storage system - Google Patents

Safety risk considered optimization design method and system for electric-hydrogen energy storage system Download PDF

Info

Publication number
CN117408091A
CN117408091A CN202311718554.0A CN202311718554A CN117408091A CN 117408091 A CN117408091 A CN 117408091A CN 202311718554 A CN202311718554 A CN 202311718554A CN 117408091 A CN117408091 A CN 117408091A
Authority
CN
China
Prior art keywords
hydrogen
electric
energy storage
storage system
constraints
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311718554.0A
Other languages
Chinese (zh)
Other versions
CN117408091B (en
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.)
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Zhejiang 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 Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Priority to CN202311718554.0A priority Critical patent/CN117408091B/en
Publication of CN117408091A publication Critical patent/CN117408091A/en
Application granted granted Critical
Publication of CN117408091B publication Critical patent/CN117408091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J15/00Systems for storing electric energy
    • H02J15/008Systems for storing electric energy using hydrogen as energy vector
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/06Multi-objective optimisation, e.g. Pareto optimisation using simulated annealing [SA], ant colony algorithms or genetic algorithms [GA]
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Fuel Cell (AREA)

Abstract

The invention discloses an optimization design method and system for an electric-hydrogen energy storage system considering safety risks. The method adopted by the invention comprises the following steps: establishing an electric-hydrogen energy storage system model; analyzing factors affecting the safety of the electro-hydrogen energy storage system; determining upper layer optimization design parameters and constraint conditions; determining lower-layer optimized scheduling variables and constraint conditions; quantifying the safety risk of the electric-hydrogen energy storage system, and taking the running cost and the investment cost of the electric-hydrogen energy storage system into consideration to establish an optimal design model taking the economy and the safety of the electric-hydrogen energy storage system as optimization targets; and (3) inputting wind-light output, electric heating hydrogen load data and parameters of each device, and solving an optimal design model by using a tabu chaotic quantum particle swarm algorithm to obtain a double-layer optimal design scheme of the electric-hydrogen energy storage system considering the safety risk. The multi-objective optimization design scheme taking the safety and the economy of the electric-hydrogen energy storage system into consideration is obtained, and the safety and the economy of the electric-hydrogen energy storage system are improved.

Description

考虑安全性风险的电-氢储能系统优化设计方法及系统Optimal design method and system for electric-hydrogen energy storage system considering safety risks

技术领域Technical field

本发明属于电-氢储能系统优化技术领域,特别是一种考虑安全性风险的电-氢储能系统优化设计方法及系统。The invention belongs to the technical field of electric-hydrogen energy storage system optimization, and in particular is an optimization design method and system for an electric-hydrogen energy storage system that considers safety risks.

背景技术Background technique

氢气具有高能量密度、零排放和可再生等特点,被认为是未来能源转型的关键。电-氢储能系统作为氢能源的一种重要应用形式,它能够将风光等可再生能源转化为氢气进行储存,并在需要时重新转化为电能,为能源存储和转换提供了一种高效的方式。然而,电-氢储能系统的运行中仍然受到一系列挑战的制约,其中最为突出的问题之一就是氢气的安全性。氢气是一种高爆炸性气体,在一定条件下,与氧气混合可能引发严重的爆炸事故,对人员和环境造成潜在威胁。因此,在电-氢储能系统的优化设计和运行中,必须特别注意氢气爆炸的风险,确保系统的可靠性和安全性。然而目前大多数研究未充分考虑电-氢储能系统中氢气爆炸的安全性风险,这导致了在实际应用中可能存在潜在的风险,限制了电-氢储能系统的进一步发展。Hydrogen is considered to be the key to the future energy transition due to its high energy density, zero emissions and renewable characteristics. As an important application form of hydrogen energy, the electricity-hydrogen energy storage system can convert renewable energy such as wind and solar energy into hydrogen for storage, and then convert it back into electrical energy when needed, providing an efficient method for energy storage and conversion. Way. However, the operation of electricity-hydrogen energy storage systems is still restricted by a series of challenges, one of the most prominent issues being the safety of hydrogen. Hydrogen is a highly explosive gas. Under certain conditions, mixing with oxygen may cause serious explosion accidents, posing potential threats to personnel and the environment. Therefore, in the optimized design and operation of electric-hydrogen energy storage systems, special attention must be paid to the risk of hydrogen explosion to ensure the reliability and safety of the system. However, most current studies do not fully consider the safety risk of hydrogen explosion in electric-hydrogen energy storage systems, which leads to potential risks in practical applications and limits the further development of electric-hydrogen energy storage systems.

发明内容Contents of the invention

为解决上述现有技术存在的问题,本发明提出一种考虑安全性风险的电-氢储能系统优化设计方法及系统,其通过考虑电-氢储能系统中电解槽和燃料电池的安全性约束和对储氢罐爆炸概率和爆炸威力的安全风险量化,得到考虑电-氢储能系统安全性和经济性的多目标优化设计方案,从而提高电-氢储能系统安全性和经济性。In order to solve the problems existing in the above-mentioned prior art, the present invention proposes an optimization design method and system for an electric-hydrogen energy storage system that considers safety risks, by considering the safety of electrolyzers and fuel cells in the electric-hydrogen energy storage system. By constraining and quantifying the safety risks of hydrogen storage tank explosion probability and explosion power, a multi-objective optimization design scheme that considers the safety and economy of the electric-hydrogen energy storage system is obtained, thereby improving the safety and economy of the electric-hydrogen energy storage system.

为此,本发明采用的一种技术方案为:一种考虑安全性风险的电-氢储能系统优化设计方法,其包括步骤:To this end, a technical solution adopted by the present invention is: an optimization design method for an electric-hydrogen energy storage system that considers safety risks, which includes the steps:

1)建立电-氢储能系统模型;1) Establish an electricity-hydrogen energy storage system model;

2)分析影响电-氢储能系统安全性因素;2) Analyze factors affecting the safety of electric-hydrogen energy storage systems;

3)确定上层优化设计参数和约束条件;3) Determine the upper-level optimization design parameters and constraints;

4)确定下层优化调度变量和约束条件;4) Determine the lower-level optimization scheduling variables and constraints;

5)量化电-氢储能系统的安全性风险,并考虑电-氢储能系统的运行成本和投资成本,建立以电-氢储能系统经济性和安全性为优化目标的优化设计模型,即确定电-氢储能系统优化设计的目标函数;5) Quantify the safety risks of the electric-hydrogen energy storage system, consider the operating costs and investment costs of the electric-hydrogen energy storage system, and establish an optimization design model with the economics and safety of the electric-hydrogen energy storage system as the optimization goal. That is, determine the objective function for the optimal design of the electric-hydrogen energy storage system;

6)输入风光出力、电热氢负荷数据和各设备参数,用禁忌混沌量子粒子群算法求解优化设计模型,得到考虑安全性风险的电-氢储能系统双层优化设计方案。6) Input wind and solar output, electrothermal hydrogen load data and various equipment parameters, use the taboo chaotic quantum particle swarm algorithm to solve the optimization design model, and obtain a double-layer optimization design plan for the electric-hydrogen energy storage system that takes into account safety risks.

本发明采用的另一种技术方案为:一种考虑安全性风险的电-氢储能系统优化设计系统,其包括:Another technical solution adopted by the present invention is: an optimization design system for an electric-hydrogen energy storage system that considers safety risks, which includes:

电-氢储能系统建模单元,用于建立电-氢储能系统模型;Electric-hydrogen energy storage system modeling unit, used to establish an electric-hydrogen energy storage system model;

安全性风险分析单元,用于分析影响电-氢储能系统安全性的因素;Safety risk analysis unit, used to analyze factors affecting the safety of electric-hydrogen energy storage systems;

上层优化设计参数和约束条件确定单元,用于确定上层优化设计参数和上层约束条件;The upper-level optimal design parameter and constraint conditions determination unit is used to determine the upper-level optimal design parameters and upper-level constraint conditions;

下层优化调度变量及约束条件确定单元,用于确定下层优化调度变量及下层约束条件;The lower-layer optimal scheduling variable and constraint conditions determination unit is used to determine the lower-layer optimal scheduling variables and lower-layer constraint conditions;

目标函数确定单元,用于确定电-氢储能系统优化设计的目标函数,所述目标函数包括安全性风险成本、运行成本和投资成本;An objective function determination unit, used to determine the objective function of the optimal design of the electric-hydrogen energy storage system, where the objective function includes safety risk cost, operating cost and investment cost;

数据输入与优化求解单元,用于输入优化求解需要的数据和参数并求解目标函数,所述输入数据包括风光出力、电热氢负荷预测数据和各设备参数,求解方法为禁忌混沌量子粒子群算法。The data input and optimization solution unit is used to input the data and parameters required for optimization solution and solve the objective function. The input data includes wind and solar output, electrothermal hydrogen load prediction data and various equipment parameters. The solution method is taboo chaotic quantum particle swarm algorithm.

本发明具有的有益效果如下:本发明通过考虑电-氢储能系统中电解槽和燃料电池的安全性约束和对储氢罐爆炸概率和爆炸威力的安全风险量化,得到考虑电-氢储能系统安全性和经济性的多目标优化设计方案,提高了电-氢储能系统的安全性和经济性。The beneficial effects of the present invention are as follows: By considering the safety constraints of electrolyzers and fuel cells in the electric-hydrogen energy storage system and quantifying the safety risks of the explosion probability and explosion power of the hydrogen storage tank, the present invention obtains the following results by considering the electric-hydrogen energy storage system. The multi-objective optimization design scheme for system safety and economy improves the safety and economy of the electric-hydrogen energy storage system.

附图说明Description of the drawings

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

图1为本发明电-氢储能系统的结构示意图;Figure 1 is a schematic structural diagram of the electric-hydrogen energy storage system of the present invention;

图2为本发明考虑安全性风险的电-氢储能系统优化设计系统的架构图;Figure 2 is an architectural diagram of the optimization design system of the electric-hydrogen energy storage system considering safety risks according to the present invention;

图3为本发明考虑安全性风险的电-氢储能系统优化设计方法的流程图;Figure 3 is a flow chart of the optimization design method of the electric-hydrogen energy storage system considering safety risks according to the present invention;

图4为本发明实施例1中不同配置方案成本对比图;Figure 4 is a cost comparison diagram of different configuration solutions in Embodiment 1 of the present invention;

图5为本发明实施例1中不同配置方案储氢罐压强变化对比图。Figure 5 is a comparison chart of pressure changes of hydrogen storage tanks with different configuration schemes in Embodiment 1 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 These are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present invention.

实施例1Example 1

本实施例提供一种考虑安全性风险的电-氢储能系统优化设计方法,如图3所示,具体步骤如下:This embodiment provides an optimization design method for an electric-hydrogen energy storage system that considers safety risks, as shown in Figure 3. The specific steps are as follows:

1)建立电-氢储能系统模型;1) Establish an electricity-hydrogen energy storage system model;

2)分析影响电-氢储能系统安全性因素;2) Analyze factors affecting the safety of electric-hydrogen energy storage systems;

3)确定上层优化设计参数和约束条件;3) Determine the upper-level optimization design parameters and constraints;

4)确定下层优化调度变量及约束条件;4) Determine the lower-level optimal scheduling variables and constraints;

5)量化电-氢储能系统的安全性风险,并考虑电-氢储能系统的运行成本和投资成本,建立以电-氢储能系统经济性和安全性为优化目标的优化设计模型;5) Quantify the safety risks of the electric-hydrogen energy storage system, consider the operating costs and investment costs of the electric-hydrogen energy storage system, and establish an optimization design model with the economics and safety of the electric-hydrogen energy storage system as the optimization goal;

6)输入风光出力、电热氢负荷数据和各设备参数,用禁忌混沌量子粒子群算法求解优化设计模型,得到考虑安全性风险的电-氢储能系统双层优化设计方案。6) Input wind and solar output, electrothermal hydrogen load data and various equipment parameters, use the taboo chaotic quantum particle swarm algorithm to solve the optimization design model, and obtain a double-layer optimization design plan for the electric-hydrogen energy storage system that takes into account safety risks.

所述步骤1)中,所述的电-氢储能系统包括风机、光伏、电解槽、燃料电池、储氢罐、储热罐、蓄电池和电锅炉以及能量输入输出关系,其中风机和光伏为电-氢储能系统提供电能来源,蓄电池在电功率充足时存入电能,不足时释放电能,多类型电解槽在能量充足时将多余电能转换为氢能存入储氢罐,燃料电池在能量不足时将储存的氢能转化为电能供给电负荷,储热罐储存电解槽和燃料电池回收的热能,热负荷需求不能满足时,电锅炉将电能转换为热能供给热负荷。如图1所示,具体内容如下:In the step 1), the electric-hydrogen energy storage system includes a fan, photovoltaic, electrolyzer, fuel cell, hydrogen storage tank, heat storage tank, battery and electric boiler and energy input and output relationship, where the fan and photovoltaic are The electric-hydrogen energy storage system provides a source of electric energy. The battery stores electric energy when the electric power is sufficient and releases the electric energy when the electric power is insufficient. Various types of electrolyzers convert excess electric energy into hydrogen energy and store it in the hydrogen storage tank when the energy is sufficient. The stored hydrogen energy is converted into electrical energy to supply the electrical load. The thermal storage tank stores the heat energy recovered from the electrolyzer and fuel cell. When the heat load demand cannot be met, the electric boiler converts the electrical energy into thermal energy to supply the heat load. As shown in Figure 1, the specific content is as follows:

电解槽运行模型:Electrolyzer operating model:

(1) (1)

(2) (2)

(3) (3)

其中,上标M代表不同的电解槽,M{A,P },其中A代表碱性电解槽,P代表质子交换膜电解槽;下标k为电解槽编号;下标t表示单位运行时段,T为运行总时段,其中1≤t≤T;0-1变量表示t时刻的电解槽的开关状态,/>表示电解槽的开始启动动作,/>表示电解槽的开始关停动作;/>表示启动时延;/>表示/>时刻的电解槽的开关状态;表示/>时刻电解槽的开始启动动作,/>、/>分别表示M电解槽日内开机、停机次数上限;/>为电解槽工作效率;/>为电解槽工作功率;/>为转化为氢气中化学能对应的能量/>代表产出氢气的质量,单位为kg;/>为一公斤氢气的热值等效系数;为电解槽产生的热功率;/>表示单位时间。Among them, the superscript M represents different electrolytic cells, M{A,P}, where A represents an alkaline electrolytic cell, and P represents a proton exchange membrane electrolytic cell; the subscript k represents the electrolytic cell number; the subscript t represents the unit operation period, T is the total running period, where 1≤t≤T; 0-1 variable Represents the switching state of the electrolytic cell at time t,/> Indicates the start-up action of the electrolytic cell,/> Indicates the start of shutting down the electrolyzer;/> Indicates startup delay;/> Express/> The switching status of the electrolyzer at all times; Express/> At the beginning of the start-up action of the electrolyzer,/> ,/> Respectively represent the upper limit of startup and shutdown times of M electrolyzer in a day;/> For the working efficiency of the electrolyzer;/> is the working power of the electrolyzer;/> is the energy corresponding to the chemical energy converted into hydrogen/> Represents the mass of hydrogen produced, in kg;/> is the calorific value equivalent coefficient of one kilogram of hydrogen; is the thermal power generated by the electrolyzer;/> Represents unit time.

燃料电池运行模型:Fuel cell operating model:

(4) (4)

(5) (5)

其中,0-1变量表示氢燃料电池的开关状态,/>和/>分别表示氢燃料电池的开始启动动作和开始关停动作;/>表示/>时刻氢燃料电池的开始启动动作;表示氢燃料电池启动延时;/>和/>分别表示氢燃料电池日内开机和停机次数上限;/>表示燃料电池的等效工作功率;/>和/>分别表示氢燃料电池产电和产热效率,和/>分别表示氢燃料电池产电和产热功率,/>表示氢燃料电池消耗的氢气质量。Among them, 0-1 variables Indicates the switching status of the hydrogen fuel cell,/> and/> Indicate respectively the start-up action and the start-off action of the hydrogen fuel cell;/> Express/> The moment the hydrogen fuel cell starts to start; Indicates hydrogen fuel cell startup delay;/> and/> Respectively represent the maximum number of startups and shutdowns of the hydrogen fuel cell in a day;/> Indicates the equivalent working power of the fuel cell;/> and/> represent the electricity and heat production efficiency of the hydrogen fuel cell respectively, and/> Represents the electricity and heat production power of the hydrogen fuel cell respectively,/> Indicates the mass of hydrogen consumed by the hydrogen fuel cell.

储氢罐运行模型:Hydrogen storage tank operation model:

(6) (6)

其中,表示储氢罐中氢气质量;/>和/>分别表示充、放氢效率;/>分别表示t时刻向储氢罐中充进的氢气和放出的氢气质量;/>和/>分别表示注入氢气和释放氢气的状态变量,/>和/>分别表示注入氢气和释放氢气的上限。in, Indicates the quality of hydrogen in the hydrogen storage tank;/> and/> Represents the hydrogen charging and discharging efficiency respectively;/> and Respectively represent the mass of hydrogen charged into the hydrogen storage tank and the mass of hydrogen released at time t;/> and/> Represent the state variables of hydrogen injection and hydrogen release respectively,/> and/> represent the upper limits of hydrogen injection and hydrogen release respectively.

热储能模型:Thermal energy storage model:

(7) (7)

其中,表示t时刻蓄热池的热量,/>和/>分别表示t时刻热储能的充放热功率,/>和/>分别表示蓄热和放热效率,/>和/>分别表示热储能放热最大功率限值,、/>分别表示蓄热池容量的上、下限,/>、/>分别表示蓄、放热标志位。in, Represents the heat of the thermal pool at time t ,/> and/> Respectively represent the charging and discharging power of thermal energy storage at time t ,/> and/> Represent heat storage and heat release efficiency respectively,/> and/> Respectively represent the maximum power limit of thermal energy storage heat release, ,/> Respectively represent the upper and lower limits of the thermal pool capacity,/> ,/> Represent heat storage and release flags respectively.

蓄电池模型:Battery model:

(8) (8)

其中,表示t时刻蓄电池的荷电状态,/>表示蓄电池的额定容量,/>和/>分别表示t时刻蓄电池的充、放电功率,/>和/>分别表示充、放电效率,/>和/>分别表示蓄电池充、放电最大功率限值,/>和/>分别表示电池SOC的上、下限,/>和/>分别表示充、放电标志位。in, Indicates the state of charge of the battery at time t,/> Indicates the rated capacity of the battery,/> and/> Represents the charging and discharging power of the battery at time t, respectively./> and/> Represents charge and discharge efficiency respectively,/> and/> Indicates the maximum power limit of battery charging and discharging respectively,/> and/> Respectively represent the upper and lower limits of battery SOC,/> and/> Indicate the charge and discharge flags respectively.

电锅炉模型:Electric boiler model:

(9) (9)

其中,表示电锅炉电热转换效率,/>表示电锅炉产出的热功率,/>表示输入电锅炉的电功率,/>和/>分别表示电锅炉出力上、下限,/>表示电锅炉在t时刻的启停状态,/>表示电锅炉日最大启停次数。in, Indicates the electric boiler electric heat conversion efficiency,/> Indicates the thermal power produced by the electric boiler,/> Indicates the electric power input to the electric boiler,/> and/> Represents the upper and lower limits of electric boiler output respectively,/> Indicates the start and stop status of the electric boiler at time t,/> Indicates the maximum number of starts and stops of the electric boiler per day.

所述步骤2),影响电-氢储能系统安全性因素(即安全性约束因素)包括电解槽和燃料电池的工作功率、工作温度,储氢罐的储氢质量和压强。电-氢储能系统的安全性约束如下:In step 2), factors affecting the safety of the electric-hydrogen energy storage system (i.e., safety constraints) include the operating power and operating temperature of the electrolyzer and fuel cell, and the hydrogen storage quality and pressure of the hydrogen storage tank. The safety constraints of the electricity-hydrogen energy storage system are as follows:

电解槽功率安全性约束:Electrolyzer power safety constraints:

(10) (10)

其中,//>分别表示M电解槽在开机状态下工作功率上/下限;/>表示电解槽启动过程中消耗的电功率;/>表示电解槽启动过程中的时间计量;/>表示M电解槽在开机状态下单位时段最大爬坡功率。in, //> Respectively represent the upper/lower limit of the working power of the M electrolyzer when it is turned on;/> Indicates the electrical power consumed during the start-up process of the electrolyzer;/> Indicates the time measurement during the start-up process of the electrolyzer;/> Indicates the maximum ramping power per unit period of the M electrolyzer when it is powered on.

电解槽温度安全性约束:Electrolyzer temperature safety constraints:

(11) (11)

其中,为环境温度;/>为电解槽集总热容;/>为集总热阻;/>为损失的热功率;/>为输出系统外的热功率;/>表示电解槽温度;/>、/>分别表示电解槽温度上下限。in, is the ambient temperature;/> is the lumped heat capacity of the electrolyzer;/> is the lumped thermal resistance;/> is the thermal power lost;/> is the thermal power outside the output system;/> Indicates the electrolytic cell temperature;/> ,/> Represents the upper and lower limits of electrolytic cell temperature respectively.

燃料电池功率安全性约束:Fuel cell power safety constraints:

(12) (12)

其中,//>分别表示氢燃料电池在开机状态下工作功率上/下限;/>表示氢燃料电池启动过程中消耗的功率;/>表示氢燃料电池在开机状态下单位时段最大爬坡功率,/>表示氢燃料电池的工作功率上限。in, //> Respectively represent the upper/lower limit of the hydrogen fuel cell’s working power when it is turned on;/> Indicates the power consumed during the startup process of the hydrogen fuel cell;/> Indicates the maximum ramp power per unit period of the hydrogen fuel cell when it is powered on,/> Indicates the upper limit of the operating power of the hydrogen fuel cell.

燃料电池温度安全性约束:Fuel cell temperature safety constraints:

(13) (13)

其中,表示氢燃料电池外界温度,/>表示氢燃料电池集总热容,/>表示氢燃料电池热阻,/>表示氢燃料电池损失的热功率,/>表示输出系统外的热功率,/>为氢燃料电池温度,/>和/>分别为氢燃料电池温度上、下限。in, Indicates the external temperature of the hydrogen fuel cell,/> represents the hydrogen fuel cell lumped heat capacity,/> Represents the thermal resistance of hydrogen fuel cell,/> Represents the thermal power lost by the hydrogen fuel cell,/> Indicates the thermal power outside the output system,/> is the hydrogen fuel cell temperature,/> and/> are the upper and lower temperature limits of the hydrogen fuel cell respectively.

储氢罐压强约束:Hydrogen storage tank pressure constraints:

(14) (14)

(15) (15)

(16) (16)

其中,表示t时段气体压缩因子,a、b为拟合参数;/>表示t时段储氢罐压强;表示t时段储氢罐内氢气质量;/>为储氢罐体积;R为理想气体常数;/>为储氢罐温度;/>为储氢罐极限最大压强,设/>为储氢罐安全裕度压强;/>为二进制变量,/>表示较大的正数,起松弛约束作用;当储氢罐压强小于等于/>时,/>等于0;与之相反,当压强大于/>,/>等于1。/>表示储氢罐压强超过安全裕度的危险运行时间段数;/>为氢气的物质的量。in, Represents the gas compression factor during t period, a and b are fitting parameters;/> Represents the pressure of the hydrogen storage tank during period t; Indicates the quality of hydrogen in the hydrogen storage tank during period t;/> is the volume of the hydrogen storage tank; R is the ideal gas constant;/> is the hydrogen storage tank temperature;/> is the ultimate maximum pressure of the hydrogen storage tank, set/> It is the safety margin pressure of the hydrogen storage tank;/> is a binary variable,/> Represents a large positive number, which plays a role in relaxing constraints; when the hydrogen storage tank pressure is less than or equal to/> When,/> is equal to 0; on the contrary, when the pressure is greater than/> ,/> equal to 1. /> Indicates the number of dangerous operating time periods when the pressure of the hydrogen storage tank exceeds the safety margin;/> is the amount of hydrogen gas.

储氢罐的储氢质量约束:Hydrogen storage quality constraints of hydrogen storage tanks:

(17) (17)

(18) (18)

(19) (19)

(20) (20)

其中,储氢罐的储氢质量约束通过TNT当量法来进行约束,表示t时段氢气罐潜在的爆炸当量;/>表示可燃蒸汽云爆炸效率,/>表示TNT的燃爆值;/>表示氢气的标准燃烧热;/>为t时段潜在爆炸导致死亡概率为0.5的半径;设充能站极限安全距离为/>,安全裕度距离为/>,计算出对应的当量的安全阈值为/>、极限阈值为/>;/>为二进制变量,/>表示较大的正数;当储氢罐TNT当量小于等于/>时,/>等于0,当TNT当量大于/>,/>等于1,/>表示TNT当量超过安全裕度的危险运行时间段数。Among them, the hydrogen storage quality constraint of the hydrogen storage tank is constrained by the TNT equivalent method. Indicates the potential explosion equivalent of the hydrogen tank during period t;/> Represents the explosion efficiency of flammable vapor cloud,/> Indicates the explosive value of TNT;/> Indicates the standard heat of combustion of hydrogen;/> is the radius where the probability of death due to potential explosion during period t is 0.5; let the extreme safety distance of the charging station be/> , the safety margin distance is/> , the corresponding equivalent safety threshold is calculated as/> , the limit threshold is/> ;/> is a binary variable,/> Represents a large positive number; when the TNT equivalent of the hydrogen storage tank is less than or equal to/> When,/> Equal to 0, when the TNT equivalent is greater than/> ,/> equal to 1,/> Indicates the number of dangerous operating time periods when the TNT equivalent exceeds the safety margin.

所述步骤3),所述上层优化设计参数和约束条件如下:In step 3), the upper layer optimization design parameters and constraints are as follows:

上层优化设计参数包括电解槽容量、燃料电池容量、电锅炉容量、蓄电池容量、储氢罐容量和储热罐容量;上层优化设计约束条件包括电解槽容量上下限约束、燃料电池容量上下限约束、电锅炉容量上下限约束、蓄电池容量上下限约束、储氢罐容量上下限约束和储热罐容量上下限约束。The upper-level optimization design parameters include electrolyzer capacity, fuel cell capacity, electric boiler capacity, battery capacity, hydrogen storage tank capacity and heat storage tank capacity; the upper-level optimization design constraints include electrolyzer capacity upper and lower limit constraints, fuel cell capacity upper and lower limit constraints, The upper and lower limit constraints of electric boiler capacity, the upper and lower limit constraints of battery capacity, the upper and lower limit constraints of hydrogen storage tank capacity, and the upper and lower limit constraints of thermal storage tank capacity.

上层优化设计约束条件的公式如下:The formula of the upper-level optimization design constraints is as follows:

(21) (twenty one)

其中,、/>、/>、/>、/>、/>和/>分别为碱性电解槽、质子交换膜电解槽、氢燃料电池、蓄电池、储氢罐、储热罐和电锅炉的容量;上标max和min分别代表各设备容量的上/下限。in, ,/> ,/> ,/> ,/> ,/> and/> They are the capacities of alkaline electrolyzers, proton exchange membrane electrolyzers, hydrogen fuel cells, batteries, hydrogen storage tanks, thermal storage tanks and electric boilers respectively; the superscripts max and min represent the upper/lower limits of each equipment capacity respectively.

所述步骤4),所述下层优化调度变量及约束条件如下:In step 4), the lower-layer optimization scheduling variables and constraints are as follows:

下层优化调度变量:包括风机出力消纳、光伏消纳、电解槽出力、燃料电池出力、蓄电池充放电、电锅炉出力、储氢罐充放氢和储热罐充放热。Lower-level optimal dispatch variables: including wind turbine output consumption, photovoltaic consumption, electrolyzer output, fuel cell output, battery charge and discharge, electric boiler output, hydrogen storage tank charging and discharging, and thermal storage tank charging and discharging heat.

下层优化调度约束条件包括风光出力约束、购售电约束、电平衡约束、氢平衡约束、热平衡约束、蓄电池约束、电解槽运行约束、燃料电池运行约束、储氢罐运行约束、储热罐约束、电解槽安全性约束、燃料电池安全性约束和储氢罐安全性约束。The lower-level optimal dispatching constraints include wind and solar output constraints, electricity purchase and sale constraints, electricity balance constraints, hydrogen balance constraints, thermal balance constraints, battery constraints, electrolyzer operation constraints, fuel cell operation constraints, hydrogen storage tank operation constraints, thermal storage tank constraints, Electrolyser safety constraints, fuel cell safety constraints and hydrogen storage tank safety constraints.

风光出力约束:Scenery output constraints:

(22) (twenty two)

其中,和/>分别代表t时刻光伏和风电预测出力;/>和/>分别代表t时刻弃光和弃风功率。in, and/> Represent the predicted output of photovoltaic and wind power at time t respectively;/> and/> Represent the light and wind power abandonment at time t respectively.

购售电约束:Constraints on electricity purchase and sale:

(23) (twenty three)

其中,和/>分别代表t时刻购电功率和售电功率,/>和/>分别代表最大购电量和最大售电量,/>和/>分别代表购、售电状态。in, and/> Represent respectively the power purchased and sold at time t,/> and/> Represent the maximum power purchase and maximum power sales respectively,/> and/> Represent the purchase and sale status of electricity respectively.

电平衡约束:Electrical balance constraints:

(24) (twenty four)

其中,为电解槽总数,/>代表t时刻电锅炉消耗的电功率;/>代表t时刻的电负荷;in, is the total number of electrolytic cells,/> Represents the electric power consumed by the electric boiler at time t;/> Represents the electrical load at time t;

氢平衡约束:Hydrogen balance constraints:

(25) (25)

其中,代表t时刻的氢负荷;/>代表t时刻的售氢量;in, Represents the hydrogen load at time t;/> Represents the hydrogen sales volume at time t;

热平衡约束:Thermal balance constraints:

(26) (26)

其中,为t时刻热负荷;/>代表t时刻的售热量;in, is the heat load at time t;/> Represents the heat sales at time t;

电解槽运行约束为式(1)-(3)、燃料电池运行约束为式(4)-(5)、储氢罐运行约束为式(6)、储热罐约束为式(7)、蓄电池约束为式(8)、电解槽安全性约束为式(10)-(11)、燃料电池安全性约束为式(12)-(13)、储氢罐安全性约束为式(14)-(20)。The operating constraints of the electrolyzer are formula (1)-(3), the operating constraints of the fuel cell are formulas (4)-(5), the operating constraints of the hydrogen storage tank are formula (6), the thermal storage tank constraints are formula (7), and the battery The constraints are equation (8), the safety constraints of the electrolyzer are equations (10)-(11), the safety constraints of the fuel cell are equations (12)-(13), and the safety constraints of the hydrogen storage tank are equations (14)-( 20).

所述步骤5),以电-氢储能系统经济性和安全性为优化目标的优化设计模型如下:In step 5), the optimization design model with the economics and safety of the electricity-hydrogen energy storage system as the optimization goal is as follows:

下层优化运行目标包括安全性风险成本和运行成本,其中储氢罐的储氢质量通过TNT当量法进行约束。The lower-level optimization operation objectives include safety risk costs and operating costs, in which the hydrogen storage quality of the hydrogen storage tank is constrained by the TNT equivalent method.

安全性风险成本:Security risk cost:

(27) (27)

(28) (28)

(29) (29)

其中,表示储氢罐的压强和TNT当量同时超过安全裕度;/>表示储氢罐的压强和TNT当量同时超过安全裕度的时间段数;/>、/>和/>分别表示储氢罐TNT当量超过安全裕度、压强超过安全裕度和两者同时超过安全裕度的安全风险成本;/>、/>分别表示储氢罐TNT当量超过安全裕度、压强超过安全裕度和两者同时超过安全裕度的安全风险系数;/>表示安全性风险成本。in, Indicates that the pressure of the hydrogen storage tank and the TNT equivalent exceed the safety margin at the same time;/> Indicates the number of time periods when the pressure of the hydrogen storage tank and the TNT equivalent exceed the safety margin at the same time;/> ,/> and/> Respectively represent the safety risk costs when the TNT equivalent of the hydrogen storage tank exceeds the safety margin, the pressure exceeds the safety margin, or both exceed the safety margin at the same time;/> ,/> and Respectively represent the safety risk coefficient when the TNT equivalent of the hydrogen storage tank exceeds the safety margin, the pressure exceeds the safety margin, or both exceed the safety margin at the same time;/> Represents the security risk cost.

运行成本Operating costs :

(30) (30)

(31) (31)

其中,表示购售电交易费用,/>和/>分别代表/>时刻系统购、售电单价,/>分别代表时间在/>时刻的购、售电功率;/>表示电解槽和燃料电池启停成本,/>分别为电解槽的启动和关停成本,/>和/>分别为燃料电池的启动和关停成本,和/>分别表示电解槽开始启动动作和开始关停动作;/>和/>分别表示氢燃料电池的开始启动动作和开始关停动作;/>为售热售氢收益,/>表示出售热的单价,/>代表系统在/>时刻售出的热能,/>表示出售氢气的单价,/>代表系统在/>时刻售出的氢气,表示蓄电池使用成本,/>为蓄电池单位使用成本;/>表示弃风弃光成本;/>和/>分别表示弃光和弃风的惩罚系数,/>和/>分别为弃光和弃风功率;/>表示碳排放成本;代表电-碳的转化系数,/>代表二氧化碳排放的环境惩罚因数。in, Represents electricity purchase and sale transaction fees,/> and/> respectively represent/> The unit price of electricity purchased and sold by the system at any time,/> and Respectively represent the time in/> Purchase and sell electricity power at any time;/> Indicates the start-up and shutdown costs of electrolyzers and fuel cells,/> and are the start-up and shutdown costs of the electrolyzer respectively,/> and/> are the startup and shutdown costs of the fuel cell respectively, and/> Indicates the start-up and shutdown actions of the electrolyzer respectively;/> and/> Indicate respectively the start-up action and the start-off action of the hydrogen fuel cell;/> Income from selling heat and hydrogen,/> Indicates the unit price of hot sales,/> Represents the system in/> The heat energy sold at any time,/> Indicates the unit price of hydrogen sold,/> Represents the system in/> Hydrogen sold at all times, Indicates the battery usage cost,/> It is the unit usage cost of the battery;/> Indicates the cost of abandoning wind and light;/> and/> Represents the penalty coefficients for abandoning light and abandoning wind respectively,/> and/> They are the power of light and wind abandonment respectively;/> Indicates the cost of carbon emissions; Represents the conversion coefficient of electricity to carbon,/> Represents the environmental penalty factor for carbon dioxide emissions.

上层优化设计的目标为日净成本最小,日净成本等于下层优化运行成本加上等效日投资成本。具体的目标函数表达式如下:The goal of the upper-level optimization design is to minimize the daily net cost, which is equal to the lower-level optimization operating cost plus the equivalent daily investment cost. The specific objective function expression is as follows:

(32) (32)

(33) (33)

其中,下标i指代不同的设备,包括碱性电解槽、质子交换膜电解槽、电储能、热储能、氢储能,氢燃料电池和电锅炉;为上层优化设计的目标函数;/>为系统等效年投资成本,/>为综合能源系统中各设备总数,/>为利率,取5%,/>为各设备单位容量的投资成本,为各设备的使用年限,/>表示综合能源系统中各设备的容量。Among them, the subscript i refers to different equipment, including alkaline electrolyzers, proton exchange membrane electrolyzers, electrical energy storage, thermal energy storage, hydrogen energy storage, hydrogen fuel cells and electric boilers; Objective function designed for upper-level optimization;/> is the equivalent annual investment cost of the system,/> is the total number of equipment in the integrated energy system,/> For the interest rate, take 5%,/> is the investment cost per unit capacity of each equipment, is the service life of each equipment,/> Indicates the capacity of each device in the integrated energy system.

为对比分析是否考虑安全性的电氢储能系统优化配置的差异,本发明设置3个案例进行对比分析。In order to compare and analyze the differences in the optimal configuration of electric-hydrogen energy storage systems that consider safety, the present invention sets up three cases for comparative analysis.

案例1:只考虑经济性;Case 1: Only consider economics;

案例2:只考虑安全性;Case 2: Only consider safety;

案例3:综合考虑安全性和经济性。Case 3: Comprehensive consideration of safety and economy.

分别得到经济性最优方案、安全性最优方案和综合最优方案,容量配置结果如表1所示,各方案的具体安全性指标如表2所示,成本对比如图4所示,储氢罐压强变化如图5所示。The optimal economic solution, the optimal safety solution and the comprehensive optimal solution were obtained respectively. The capacity configuration results are shown in Table 1. The specific security indicators of each solution are shown in Table 2. The cost comparison is shown in Figure 4. Storage The pressure change of the hydrogen tank is shown in Figure 5.

表 1Table 1

表2Table 2

经过对比分析,发现经济性最优的配置方案中,氢燃料电池、蓄电池和储氢罐的容量都配置得较少。这种配置方法通过降低系统投资成本来提高系统的经济性。然而,储氢罐的容量较小,导致其压强更容易随着储氢质量的增加而增加。因此,压强超过安全裕度的时段比其他两种方案要长得多。After comparative analysis, it was found that in the most economically optimal configuration scheme, the capacities of hydrogen fuel cells, batteries and hydrogen storage tanks are all configured less. This configuration method improves the economics of the system by reducing system investment costs. However, the capacity of the hydrogen storage tank is smaller, causing its pressure to increase more easily as the mass of hydrogen stored increases. Therefore, the period during which the pressure exceeds the safety margin is much longer than in the other two scenarios.

在安全性最优的方案中,通过适量增加储氢罐和燃料电池的容量来增强系统的安全性。考虑到储氢罐潜在爆炸危险范围的限制,储氢罐的容量不能过大。同时,储氢罐容量过小可能会导致其压强增大,因此也不能配置得太少。增加燃料电池的容量可以增加系统的灵活性,分担一部分储氢罐的能量转移压力。这种方案中,储氢罐的平均压强和平均压强越限时段数都优于其他方案。In the optimal safety solution, the safety of the system is enhanced by appropriately increasing the capacity of the hydrogen storage tank and fuel cell. Considering the limitation of the potential explosion hazard range of the hydrogen storage tank, the capacity of the hydrogen storage tank cannot be too large. At the same time, a hydrogen storage tank with a small capacity may cause its pressure to increase, so it cannot be configured with too few. Increasing the capacity of the fuel cell can increase the flexibility of the system and share part of the energy transfer pressure of the hydrogen storage tank. In this scheme, the average pressure of the hydrogen storage tank and the number of average pressure over-limit periods are better than other schemes.

综合最优方案则是选择同时增加储氢罐和蓄电池的容量来综合提升系统经济性和安全性。一方面,选择增加蓄电池容量而不是氢燃料电池是因为蓄电池的投资成本比氢燃料电池低,能够降低一部分投资成本;另一方面,蓄电池可以起到日内能量转移与平衡的作用,可以缓解储氢罐因为储氢量过多而导致压强和潜在危险范围增大的安全性问题。The comprehensive optimal solution is to increase the capacity of the hydrogen storage tank and battery at the same time to comprehensively improve system economy and safety. On the one hand, the choice to increase battery capacity rather than hydrogen fuel cells is because the investment cost of batteries is lower than that of hydrogen fuel cells, which can reduce part of the investment cost; on the other hand, batteries can play a role in energy transfer and balance within the day, which can ease hydrogen storage. The safety problem of increased pressure and potential danger range due to excessive hydrogen storage in the tank.

综合最优方案的安全性风险成本比经济性最优方案降低了60.27%,而运行成本比安全性最优方案降低了5.5%。这种方案实现了经济性和安全性的平衡,是较为理想的配置方案。The safety risk cost of the comprehensive optimal solution is 60.27% lower than the optimal economic solution, while the operating cost is 5.5% lower than the optimal safety solution. This solution achieves a balance between economy and security and is an ideal configuration solution.

实施例2Example 2

本实施例提供一种考虑安全性风险的电-氢储能系统优化设计系统,其由电-氢储能系统建模单元、安全性风险分析单元、上层优化设计参数和约束条件确定单元、下层优化调度变量及约束条件确定单元、目标函数确定单元和数据输入与优化求解单元组成,如图2所示。具体内容如下:This embodiment provides an electric-hydrogen energy storage system optimization design system that considers safety risks, which consists of an electric-hydrogen energy storage system modeling unit, a safety risk analysis unit, an upper-layer optimization design parameter and constraint determination unit, and a lower-layer It consists of an optimal scheduling variable and constraint determination unit, an objective function determination unit, and a data input and optimization solution unit, as shown in Figure 2. The specific contents are as follows:

电-氢储能系统建模单元,用于建立电-氢储能系统模型;所述的电-氢储能系统包括风机、光伏、电解槽、燃料电池、储氢罐、储热罐、蓄电池和电锅炉以及能量输入输出关系。An electric-hydrogen energy storage system modeling unit is used to establish an electric-hydrogen energy storage system model; the electric-hydrogen energy storage system includes fans, photovoltaics, electrolyzers, fuel cells, hydrogen storage tanks, thermal storage tanks, and batteries. And the relationship between electric boilers and energy input and output.

安全性风险分析单元,用于分析影响电-氢储能系统安全性的因素;所述影响电-氢储能系统安全性因素包括电解槽和燃料电池的工作功率、工作温度,储氢罐的储氢质量和压强。A safety risk analysis unit is used to analyze factors affecting the safety of the electric-hydrogen energy storage system; the factors affecting the safety of the electric-hydrogen energy storage system include the operating power and operating temperature of the electrolyzer and fuel cell, and the temperature of the hydrogen storage tank. Hydrogen storage mass and pressure.

上层优化设计参数和约束条件确定单元,用于确定上层优化设计参数和上层约束条件;所述上层优化设计参数包括电解槽容量、燃料电池容量、电锅炉容量、蓄电池容量、储氢罐容量、储热罐容量;所述上层优化设计约束条件包括电解槽容量上下限约束、燃料电池容量上下限约束、电锅炉容量上下限约束、蓄电池容量上下限约束、储氢罐容量上下限约束、储热罐容量上下限约束。The upper-layer optimal design parameters and constraint conditions determination unit is used to determine the upper-layer optimal design parameters and upper-layer constraint conditions; the upper-layer optimal design parameters include electrolyzer capacity, fuel cell capacity, electric boiler capacity, battery capacity, hydrogen storage tank capacity, storage capacity, etc. Hot tank capacity; the upper-level optimization design constraints include electrolyzer capacity upper and lower limit constraints, fuel cell capacity upper and lower limit constraints, electric boiler capacity upper and lower limit constraints, battery capacity upper and lower limit constraints, hydrogen storage tank capacity upper and lower limit constraints, thermal storage tank Capacity upper and lower limit constraints.

下层优化调度变量及约束条件确定单元,用于确定下层优化调度变量及下层约束条件;所述下层优化调度变量包括风机出力消纳、光伏消纳、电解槽出力、燃料电池出力、蓄电池充放电、电锅炉出力、储氢罐充放氢、储热罐充放热;所述下层优化调度约束条件包括:风光出力约束、蓄电池约束、电解槽运行约束、燃料电池运行约束、储氢罐运行约束、储热罐约束、电平衡约束、氢平衡约束、热平衡约束、电解槽安全性约束、燃料电池安全性约束、储氢罐安全性约束。The lower-level optimal scheduling variable and constraint determination unit is used to determine the lower-level optimal scheduling variables and lower-level constraint conditions; the lower-level optimal scheduling variables include wind turbine output consumption, photovoltaic consumption, electrolyzer output, fuel cell output, battery charge and discharge, Electric boiler output, hydrogen storage tank charging and discharging, heat storage tank charging and discharging heat; the lower-level optimal dispatching constraints include: wind and solar output constraints, battery constraints, electrolyzer operation constraints, fuel cell operation constraints, hydrogen storage tank operation constraints, Thermal storage tank constraints, electrical balance constraints, hydrogen balance constraints, thermal balance constraints, electrolyzer safety constraints, fuel cell safety constraints, hydrogen storage tank safety constraints.

目标函数确定单元,用于确定电-氢储能系统优化设计的目标函数;所述目标函数包括安全性风险成本、运行成本和投资成本;其中安全性风险成本包括储氢罐爆炸概率风险成本和储氢罐爆炸威力风险成本,运行成本包括购售电交易费用、电解槽启停成本、燃料电池启停成本、售热收益、售氢收益、蓄电池使用成本、弃光和弃风惩罚费用和碳排放惩罚费用;投资成本包括电解槽投资成本、燃料电池投资成本、电锅炉投资成本、蓄电池投资成本、储氢罐投资成本、储热罐投资成本。The objective function determination unit is used to determine the objective function of the optimal design of the electric-hydrogen energy storage system; the objective function includes safety risk cost, operating cost and investment cost; where the safety risk cost includes the hydrogen storage tank explosion probability risk cost and The risk cost of hydrogen storage tank explosion power, operating costs include electricity purchase and sale transaction fees, electrolyzer start-up and stop costs, fuel cell start-up and stop costs, heat sales revenue, hydrogen sales revenue, battery usage costs, light and wind abandonment penalties and carbon emissions Emission penalty fees; investment costs include electrolyzer investment costs, fuel cell investment costs, electric boiler investment costs, battery investment costs, hydrogen storage tank investment costs, and heat storage tank investment costs.

数据输入与优化求解单元,用于输入优化求解需要的数据和参数并求解目标函数;所述输入数据包括风光出力和电热氢负荷预测数据和各设备参数,求解方法为禁忌混沌量子粒子群算法。The data input and optimization solution unit is used to input the data and parameters required for optimization solution and solve the objective function; the input data includes wind and solar output and electrothermal hydrogen load prediction data and various equipment parameters, and the solution method is taboo chaotic quantum particle swarm algorithm.

可以理解的是,上述各个单元的详细功能实现可参见前述方法实施例中的介绍,在此不做赘述。It can be understood that the detailed functional implementation of each of the above units may be referred to the introduction in the foregoing method embodiments, and will not be described again here.

上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, they do not limit the scope of the present invention. Those skilled in the art should understand that based on the technical solutions of the present invention, those skilled in the art do not need to perform creative work. Various modifications or variations that can be made are still within the protection scope of the present invention.

Claims (10)

1.一种考虑安全性风险的电-氢储能系统优化设计方法,其特征在于,包括步骤:1. An optimal design method for an electric-hydrogen energy storage system considering safety risks, which is characterized by including the steps: 1)建立电-氢储能系统模型;1) Establish an electricity-hydrogen energy storage system model; 2)分析影响电-氢储能系统安全性因素;2) Analyze factors affecting the safety of electric-hydrogen energy storage systems; 3)确定上层优化设计参数和约束条件;3) Determine the upper-level optimization design parameters and constraints; 4)确定下层优化调度变量和约束条件;4) Determine the lower-level optimization scheduling variables and constraints; 5)量化电-氢储能系统的安全性风险,并考虑电-氢储能系统的运行成本和投资成本,建立以电-氢储能系统经济性和安全性为优化目标的优化设计模型,即确定电-氢储能系统优化设计的目标函数;5) Quantify the safety risks of the electric-hydrogen energy storage system, consider the operating costs and investment costs of the electric-hydrogen energy storage system, and establish an optimization design model with the economics and safety of the electric-hydrogen energy storage system as the optimization goal. That is, determine the objective function for the optimal design of the electric-hydrogen energy storage system; 6)输入风光出力、电热氢负荷数据和各设备参数,用禁忌混沌量子粒子群算法求解优化设计模型,得到考虑安全性风险的电-氢储能系统双层优化设计方案。6) Input wind and solar output, electrothermal hydrogen load data and various equipment parameters, use the taboo chaotic quantum particle swarm algorithm to solve the optimization design model, and obtain a double-layer optimization design plan for the electric-hydrogen energy storage system that takes into account safety risks. 2.如权利要求1所述的考虑安全性风险的电-氢储能系统优化设计方法,其特征在于,所述步骤1),所述的电-氢储能系统包括风机、光伏、电解槽、燃料电池、储氢罐、储热罐、蓄电池和电锅炉以及能量输入输出关系。2. The optimal design method of electric-hydrogen energy storage system considering safety risks as claimed in claim 1, characterized in that in step 1), the electric-hydrogen energy storage system includes fans, photovoltaics, and electrolyzers. , fuel cells, hydrogen storage tanks, heat storage tanks, batteries and electric boilers, as well as energy input and output relationships. 3.如权利要求1所述的考虑安全性风险的电-氢储能系统优化设计方法,其特征在于,所述步骤2),影响电-氢储能系统安全性因素包括电解槽和燃料电池的工作功率、工作温度,储氢罐的储氢质量和压强。3. The optimization design method of electric-hydrogen energy storage system considering safety risks as claimed in claim 1, characterized in that in step 2), factors affecting the safety of electric-hydrogen energy storage system include electrolyzers and fuel cells. The working power, working temperature, hydrogen storage quality and pressure of the hydrogen storage tank. 4.如权利要求1所述的考虑安全性风险的电-氢储能系统优化设计方法,其特征在于,所述步骤3),所述上层优化设计参数包括电解槽容量、燃料电池容量、电锅炉容量、蓄电池容量、储氢罐容量和储热罐容量;4. The optimal design method of electric-hydrogen energy storage system considering safety risks as claimed in claim 1, characterized in that in step 3), the upper-layer optimized design parameters include electrolyzer capacity, fuel cell capacity, battery capacity, and electrolyzer capacity. Boiler capacity, battery capacity, hydrogen storage tank capacity and thermal storage tank capacity; 所述上层优化设计约束条件包括电解槽容量上下限约束、燃料电池容量上下限约束、电锅炉容量上下限约束、蓄电池容量上下限约束、储氢罐容量上下限约束和储热罐容量上下限约束。The upper-level optimization design constraints include electrolyzer capacity upper and lower limit constraints, fuel cell capacity upper and lower limit constraints, electric boiler capacity upper and lower limit constraints, battery capacity upper and lower limit constraints, hydrogen storage tank capacity upper and lower limit constraints and thermal storage tank capacity upper and lower limit constraints. . 5.如权利要求1所述的考虑安全性风险的电-氢储能系统优化设计方法,其特征在于,所述步骤4),所述下层优化调度变量包括风机出力消纳、光伏消纳、电解槽出力、燃料电池出力、蓄电池充放电、电锅炉出力、储氢罐充放氢和储热罐充放热;5. The optimal design method of electric-hydrogen energy storage system considering safety risks as claimed in claim 1, characterized in that in step 4), the lower-level optimal scheduling variables include wind turbine output consumption, photovoltaic consumption, Electrolyzer output, fuel cell output, battery charging and discharging, electric boiler output, hydrogen storage tank charging and discharging, and heat storage tank charging and discharging heat; 所述下层优化调度约束条件包括风光出力约束、购售电约束、电平衡约束、氢平衡约束、热平衡约束、蓄电池约束、电解槽运行约束、燃料电池运行约束、储氢罐运行约束、储热罐约束、电解槽安全性约束、燃料电池安全性约束和储氢罐安全性约束。The lower-level optimal dispatching constraints include wind and solar output constraints, electricity purchase and sale constraints, electricity balance constraints, hydrogen balance constraints, thermal balance constraints, battery constraints, electrolyzer operation constraints, fuel cell operation constraints, hydrogen storage tank operation constraints, and thermal storage tanks. constraints, electrolyser safety constraints, fuel cell safety constraints and hydrogen storage tank safety constraints. 6.如权利要求1所述的考虑安全性风险的电-氢储能系统优化设计方法,其特征在于,所述步骤5),电-氢储能系统的安全性风险量化包括储氢罐爆炸概率风险量化和储氢罐爆炸威力风险量化,其中爆炸概率与储氢罐压强相关,爆炸威力与储氢罐储氢质量相关。6. The optimization design method of electric-hydrogen energy storage system considering safety risks as claimed in claim 1, characterized in that in step 5), the quantification of safety risks of the electric-hydrogen energy storage system includes hydrogen storage tank explosion. Probabilistic risk quantification and hydrogen storage tank explosion power risk quantification, where the explosion probability is related to the pressure of the hydrogen storage tank, and the explosion power is related to the hydrogen storage quality of the hydrogen storage tank. 7.如权利要求1所述的考虑安全性风险的电-氢储能系统优化设计方法,其特征在于,所述步骤5),所述运行成本包括购售电交易费用、电解槽启停成本、燃料电池启停成本、售热收益、售氢收益、蓄电池使用成本、弃光和弃风惩罚费用及碳排放惩罚费用。7. The optimization design method of electricity-hydrogen energy storage system considering safety risks as claimed in claim 1, characterized in that in step 5), the operating costs include electricity purchase and sale transaction fees and electrolyzer start-up and stop costs. , fuel cell start-up and stop costs, heat sales revenue, hydrogen sales revenue, battery usage costs, light and wind abandonment penalty fees and carbon emission penalty fees. 8.如权利要求1所述的考虑安全性风险的电-氢储能系统优化设计方法,其特征在于,所述步骤5),所述投资成本包括电解槽投资成本、燃料电池投资成本、电锅炉投资成本、蓄电池投资成本、储氢罐投资成本和储热罐投资成本。8. The optimization design method of electric-hydrogen energy storage system considering safety risks as claimed in claim 1, characterized in that in step 5), the investment cost includes electrolyzer investment cost, fuel cell investment cost, electricity Boiler investment cost, battery investment cost, hydrogen storage tank investment cost and heat storage tank investment cost. 9.如权利要求1所述的考虑安全性风险的电-氢储能系统优化设计方法,其特征在于,所述步骤5)中,上层优化目标为日净成本最小,日净成本等于下层优化运行成本加上等效日投资成本,优化设计模型的目标函数表达式如下:9. The optimization design method of electric-hydrogen energy storage system considering safety risks as claimed in claim 1, characterized in that in step 5), the upper-level optimization goal is to minimize the daily net cost, and the daily net cost is equal to the lower-level optimization. The operating cost plus the equivalent daily investment cost, the objective function expression of the optimal design model is as follows: , , 其中,下标i指代不同的设备,包括碱性电解槽、质子交换膜电解槽、电储能、热储能、氢储能,氢燃料电池和电锅炉;为上层优化设计的目标函数;/>为系统等效年投资成本,为综合能源系统中各设备总数,/>为利率,/>为各设备单位容量的投资成本,/>为各设备的使用年限,/>表示综合能源系统中各设备的容量;/>为安全性风险成本;/>为运行成本。Among them, the subscript i refers to different equipment, including alkaline electrolyzers, proton exchange membrane electrolyzers, electrical energy storage, thermal energy storage, hydrogen energy storage, hydrogen fuel cells and electric boilers; Objective function designed for upper-level optimization;/> is the equivalent annual investment cost of the system, is the total number of equipment in the integrated energy system,/> is the interest rate,/> is the investment cost per unit capacity of each equipment,/> is the service life of each equipment,/> Indicates the capacity of each device in the integrated energy system;/> For the security risk cost;/> for operating costs. 10.一种考虑安全性风险的电-氢储能系统优化设计系统,其特征在于,包括:10. An optimal design system for electric-hydrogen energy storage systems that considers safety risks, which is characterized by including: 电-氢储能系统建模单元,用于建立电-氢储能系统模型;Electric-hydrogen energy storage system modeling unit, used to establish an electric-hydrogen energy storage system model; 安全性风险分析单元,用于分析影响电-氢储能系统安全性的因素;Safety risk analysis unit, used to analyze factors affecting the safety of electric-hydrogen energy storage systems; 上层优化设计参数和约束条件确定单元,用于确定上层优化设计参数和上层约束条件;The upper-level optimal design parameter and constraint conditions determination unit is used to determine the upper-level optimal design parameters and upper-level constraint conditions; 下层优化调度变量及约束条件确定单元,用于确定下层优化调度变量及下层约束条件;The lower-layer optimal scheduling variable and constraint conditions determination unit is used to determine the lower-layer optimal scheduling variables and lower-layer constraint conditions; 目标函数确定单元,用于确定电-氢储能系统优化设计的目标函数,所述目标函数包括安全性风险成本、运行成本和投资成本;An objective function determination unit, used to determine the objective function of the optimal design of the electric-hydrogen energy storage system, where the objective function includes safety risk cost, operating cost and investment cost; 数据输入与优化求解单元,用于输入优化求解需要的数据和参数并求解目标函数,所述输入数据包括风光出力、电热氢负荷预测数据和各设备参数,求解方法为禁忌混沌量子粒子群算法。The data input and optimization solution unit is used to input the data and parameters required for optimization solution and solve the objective function. The input data includes wind and solar output, electrothermal hydrogen load prediction data and various equipment parameters. The solution method is taboo chaotic quantum particle swarm algorithm.
CN202311718554.0A 2023-12-14 2023-12-14 Safety risk considered optimization design method and system for electric-hydrogen energy storage system Active CN117408091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311718554.0A CN117408091B (en) 2023-12-14 2023-12-14 Safety risk considered optimization design method and system for electric-hydrogen energy storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311718554.0A CN117408091B (en) 2023-12-14 2023-12-14 Safety risk considered optimization design method and system for electric-hydrogen energy storage system

Publications (2)

Publication Number Publication Date
CN117408091A true CN117408091A (en) 2024-01-16
CN117408091B CN117408091B (en) 2024-03-26

Family

ID=89489435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311718554.0A Active CN117408091B (en) 2023-12-14 2023-12-14 Safety risk considered optimization design method and system for electric-hydrogen energy storage system

Country Status (1)

Country Link
CN (1) CN117408091B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118095762A (en) * 2024-03-15 2024-05-28 国网甘肃省电力公司 Double-layer optimal scheduling method for electro-hydrogen comprehensive energy system based on MAOA algorithm

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022166114A1 (en) * 2021-02-08 2022-08-11 国网江苏省电力有限公司电力科学研究院 Electro-hydrogen energy system scheduling method thst considers flexible hydrogen requirements
CN116914785A (en) * 2023-05-31 2023-10-20 国网浙江省电力有限公司电力科学研究院 Optimized operation method of electrothermal hydrogen system
CN117153278A (en) * 2023-07-25 2023-12-01 国网浙江省电力有限公司电力科学研究院 Optimization method and system of electrothermal hydrogen system considering differentiation of multiple types of electrolyzers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022166114A1 (en) * 2021-02-08 2022-08-11 国网江苏省电力有限公司电力科学研究院 Electro-hydrogen energy system scheduling method thst considers flexible hydrogen requirements
CN116914785A (en) * 2023-05-31 2023-10-20 国网浙江省电力有限公司电力科学研究院 Optimized operation method of electrothermal hydrogen system
CN117153278A (en) * 2023-07-25 2023-12-01 国网浙江省电力有限公司电力科学研究院 Optimization method and system of electrothermal hydrogen system considering differentiation of multiple types of electrolyzers

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
魏繁荣;随权;林湘宁;李正天;陈乐;赵波;徐琛;OWOLABI SUNDAY ADIO;: "考虑制氢设备效率特性的煤风氢能源网调度优化策略", 中国电机工程学报, no. 05, 25 August 2017 (2017-08-25) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118095762A (en) * 2024-03-15 2024-05-28 国网甘肃省电力公司 Double-layer optimal scheduling method for electro-hydrogen comprehensive energy system based on MAOA algorithm

Also Published As

Publication number Publication date
CN117408091B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN109670730B (en) Day-ahead economic dispatching method for comprehensive energy system
Huang et al. Day-ahead optimal scheduling strategy for electrolytic water to hydrogen production in zero-carbon parks type microgrid for optimal utilization of electrolyzer
CN103745268A (en) Distributed power supply-containing microgrid multi-target optimization scheduling method
CN114583725A (en) Hydrogen-based near-zero carbon emission comprehensive energy system and operation optimization method thereof
CN117153278A (en) Optimization method and system of electrothermal hydrogen system considering differentiation of multiple types of electrolyzers
CN114996952A (en) Comprehensive energy system optimization method considering seasonal hydrogen storage and hydrogen turbine utilization
CN114757414A (en) Comprehensive energy system robust optimization planning method considering supply and demand uncertainty
CN114462889A (en) Hydrogen-electric coupling multi-energy cross-region optimal configuration method and system
CN116914785A (en) Optimized operation method of electrothermal hydrogen system
CN112085263A (en) A method and system for optimal configuration of hybrid energy storage in a user-side distributed energy system
CN117408091A (en) Safety risk considered optimization design method and system for electric-hydrogen energy storage system
CN112615386B (en) Wind power consumption-oriented optimal constant volume method for electric heating hybrid energy storage system
CN117293907A (en) Wind-hydrogen system optimization scheduling method considering thermodynamic characteristics and state transition
CN117391764A (en) Comprehensive energy system optimal scheduling method and system
CN116865233A (en) A low-carbon economic operation optimization method for microgrids containing electricity-to-gas equipment
CN114387129B (en) Consider comprehensive energy dispatch methods, devices, equipment and media for natural gas pipeline networks
CN117649089A (en) Robust low-carbon optimal scheduling method for integrated energy system integrating hydrogen energy
CN118174368A (en) Multi-objective optimization-based hydrogen-containing storage micro-grid planning configuration method
CN118095701A (en) An optimal scheduling method for electric-thermal-hydrogen integrated energy system considering entropy weight fitting
CN117634169A (en) Hydrogen energy operation model considering hydrogen energy multi-working-condition operation characteristics
CN116307492A (en) Random optimization scheduling method for hydrogen-containing energy-storage electric heating gas-hydrogen comprehensive energy system
CN115659585A (en) Micro-energy network low-carbon cooperative scheduling method and device considering demand response, memory and equipment
CN116050700A (en) An Improved Method for Optimal Scheduling of Integrated Energy System Considering Fuel Cell Cogeneration
CN118195178B (en) Hydrogen energy full-link equipment combination selection method and system
Xu et al. Fuzzy Optimal Dispatching of Low-Carbon Regional Integrated Energy System Considering Source-Load Uncertainty

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant