Method, device, medium and product for long-short time combined hydrogen storage operation optimization of multi-tank-containing electric-hydrogen system
By optimizing the operation of multiple storage tanks for combined hydrogen storage, combined with genetic algorithms to optimize the operation of the electric-hydrogen system, the problem of a single storage tank being difficult to charge and discharge hydrogen simultaneously was solved, the flexibility and long-term storage capacity of the system were improved, and operating costs were reduced.
Patent Information
- Application Number
- CN202411455236.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-10-17
AI Technical Summary
In existing electric-hydrogen systems, the operating model of a single storage tank makes it difficult for the hydrogen charging and discharging states to exist simultaneously, limiting the flexibility and long-term storage characteristics of the hydrogen storage system and increasing operating costs.
A multi-tank combined hydrogen storage operation optimization method is adopted. By establishing a mathematical model for long- and short-term combined hydrogen storage operation, combined with genetic algorithms to optimize the operation plan of the electric-hydrogen system, the flexible adjustment and long-term storage characteristics of multiple storage tanks are utilized to reduce the system operation cost.
It improves the flexibility of the hydrogen storage system, reduces the operating cost of the electric-hydrogen system, realizes the flexible switching of the hydrogen filling and dehydration states of multiple storage tanks at the same time, and optimizes the long-term storage capacity of the system.
Smart Images

Figure CN119337727B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy hydrogen production technology, and in particular to a method, device, medium and product for optimizing the long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks. Background Art
[0002] As the penetration rate of renewable energy generation continues to increase, utilizing energy storage technologies to enhance its absorption capacity has become a key approach to improving the utilization of electric energy. Hydrogen, a clean, long-storable, zero-carbon energy source, is a key component of China's low-carbon energy transition through the electrolysis of water to produce hydrogen and build an electricity-hydrogen system.
[0003] How to give full play to the long-term storage characteristics of hydrogen and achieve the optimal economic operation of the electric hydrogen production system is an important issue that needs to be solved in the field of new energy hydrogen production system operation research. The inherent volatility and seasonality of new energy power generation not only require the hydrogen storage system to have extremely high flexibility, but also to have the ability to store for a long time. However, in the existing electric-hydrogen system operation model, most of the considerations are the operation of a single storage tank, which makes it difficult for its charging / discharging state to exist at the same time, restricting the flexibility of the hydrogen storage system, and rarely mentioning the long-term storage characteristics of the storage tank. Therefore, the rational use of the flexible adjustment of the charging / discharging status of multiple storage tanks, the realization of the operation mode in which some storage tanks are charging while the remaining storage tanks are discharging hydrogen, and the combination of the characteristics of long-term storage and low loss can effectively improve the flexibility of the hydrogen storage system and reduce the overall operating cost of the electric-hydrogen system.
[0004] Therefore, there is an urgent need for an optimization method for the long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks. Summary of the Invention
[0005] The purpose of this application is to provide a method, device, medium and product for optimizing the long-term and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks, giving full play to the long-term characteristics of hydrogen energy storage, combining with a multi-tank operation model, and reducing the operating cost of the electric-hydrogen system.
[0006] To achieve the above objectives, this application provides the following solutions:
[0007] In a first aspect, the present application provides a method for optimizing the long-term and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks, comprising:
[0008] Obtaining performance parameters of each device in the electricity-hydrogen system; the devices include electrolyzers, energy storage batteries, short-term storage tanks, and long-term storage tanks;
[0009] Establish an operation model of the corresponding equipment based on the performance parameters of each equipment;
[0010] Based on the performance parameters of each device and each of the operation models, a mathematical model for the long- and short-term combined hydrogen storage operation of the electricity-hydrogen system is established; the mathematical model for the long- and short-term combined hydrogen storage operation includes: an objective function and constraints, the objective function takes the minimization of the annual operation and maintenance cost of the electricity-hydrogen system as the goal, and the constraints include: power balance constraints, hydrogen load constraints, electrolyzer start and stop time constraints, electrolyzer power upper and lower limits and ramp power constraints, operating status of the energy storage battery, charge and discharge power upper and lower limits and capacity constraints, operating status of the short-term storage tank and the long-term storage tank, hydrogen charge and discharge amount upper and lower limits and capacity constraints, and long-term storage tank charge / discharge state duration constraints;
[0011] Obtaining historical renewable energy power generation data and hydrogen demand load data for the electricity-hydrogen system;
[0012] Based on the historical power generation data of new energy and hydrogen demand load data, a genetic algorithm is used to solve the mathematical model of the long- and short-term combined hydrogen storage operation to determine the optimal operation plan of the electricity-hydrogen system.
[0013] Optionally, the performance parameters include: power, capacity, hydrogen production efficiency, charging efficiency, discharging efficiency, hydrogen self-loss rate, the number of short-term storage tanks and the number of long-term storage tanks.
[0014] Optionally, the operation model of the electrolyzer includes:
[0015] P t EL =P t re,EL +P t bat,EL ;
[0016]
[0017] Among them, P t EL is the power of the electrolytic cell in the tth period; P t re,EL is the power output of the renewable energy to the electrolyzer in period t; P t bat,EL is the power output from the energy storage battery to the electrolyzer at time period t; is the hydrogen production of the electrolyzer in the tth period; η EL The energy efficiency of hydrogen production in electrolyzers;
[0018] The operation model of the energy storage battery includes:
[0019]
[0020] in, is the capacity of the energy storage battery at time period t; is the capacity of the energy storage battery in the t-1 period; η bat,ch is the charging efficiency of the energy storage battery; P t ch is the charging power of the energy storage battery in the tth period; P t dis is the discharge power of the energy storage battery in the tth period; η bat,dis is the discharge efficiency of the energy storage battery; Δt is the time step;
[0021] Operational model of short-term storage tanks, including:
[0022]
[0023] in, is the capacity of the ath short-term storage tank in the tth period; η hs,loss is the short-term hydrogen self-loss rate of the storage tank; is the capacity of the ath short-term storage tank at the t-1th period; η hs,ch is the hydrogen filling efficiency of the short-term storage tank; is the hydrogen filling amount of the a-th short-term storage tank in the t-th period; is the amount of hydrogen released by the a-th short-term storage tank in the t-th period; η hs,dis is the hydrogen release efficiency of the short-term storage tank;
[0024] Operational model for long-term storage tanks, including:
[0025]
[0026] in, is the capacity of the b-th long-term storage tank at the t-th period; η shs,loss is the hydrogen self-loss rate of the long-term storage tank; is the capacity of the b-th long-term storage tank at the t-1 period; η shs,ch The hydrogen filling efficiency of the long-term storage tank; is the hydrogen filling amount of the b-th long-term storage tank in the t-th period; is the amount of hydrogen released by the b-th long-term storage tank in the t-th period; η shs,dis It is the hydrogen release efficiency of long-term storage tank.
[0027] Optionally, the objective function includes:
[0028] minC 总 =C EL +C bat +C hs +C shs ;
[0029]
[0030] Among them, C 总is the annual operation and maintenance cost of the electricity-hydrogen system; C EL is the annual operation and maintenance cost of the electrolyzer; C bat is the annual operation and maintenance cost of the energy storage battery; C hs is the annual operation and maintenance cost of the short-term storage tank; C shs is the annual operation and maintenance cost of the long-term storage tank; T is the number of time periods; is the unit price of water; is the water consumption of the electrolytic cell in period t; k EL is the unit operation and maintenance cost of the electrolyzer; α is the conversion rate of water to hydrogen; G t is the hydrogen demand load data of period t; k bat is the unit operation and maintenance cost of the energy storage battery; k hs is the unit operation and maintenance cost of the short-term storage tank; A is the number of short-term storage tanks; k shs is the unit operation and maintenance cost of the long-term storage tank; B is the number of long-term storage tanks.
[0031] Optionally, the power balance constraint includes:
[0032] P t re =P t EL +P t ch -P t dis ;
[0033] Among them, P t re is the total power output of the renewable energy in period t;
[0034] Hydrogen loading constraints, including:
[0035]
[0036] The start and stop time constraints of the electrolyzer include:
[0037]
[0038] in, is the hydrogen production state of the electrolyzer at the t-1 period; is the hydrogen production state of the electrolyzer at time period t; T is the time that the electrolytic cell has been continuously powered on before the t-1 period; EL,on The time required to start up the electrolyzer; T is the time that the electrolytic cell has been shut down continuously before the t-1 period; EL,off The time required to shut down the electrolyzer;
[0039] The power upper and lower limits and ramp power constraints of the electrolyzer include:
[0040]
[0041] in, is the minimum power allowed for the electrolyzer; is the maximum power allowed by the electrolyzer; is the maximum ramp power allowed for the electrolyzer; is the power of the electrolytic cell in the t-1 period;
[0042] The operating status, upper and lower limits of charge and discharge power, and capacity constraints of the energy storage battery, including:
[0043]
[0044] in, is the charging state of the energy storage battery at the tth period, Indicates charging; is the discharge state of the energy storage battery in the tth period, Indicates discharge; The maximum charging power of the energy storage battery; is the maximum discharge power of the energy storage battery; is the minimum capacity of the energy storage battery; is the maximum capacity of the energy storage battery;
[0045] The operating status, upper and lower limits of hydrogen charging and discharging, and capacity constraints of short-term and long-term storage tanks, including:
[0046]
[0047] in, is the hydrogen filling status of the a-th short-term storage tank at the t-th period, Indicates hydrogen charging; is the hydrogen release state of the a-th short-term storage tank at the t-th period, Indicates hydrogen release; is the hydrogen filling status of the b-th long-term storage tank at the t-th period, Indicates hydrogen charging; is the hydrogen release state of the b-th long-term storage tank at the t-th period, Indicates hydrogen release; is the maximum allowable hydrogen capacity of the a-th short-term storage tank; is the maximum allowable hydrogen filling amount of the bth long-term storage tank; is the maximum allowable hydrogen discharge capacity of the bth long-term storage tank; is the maximum allowable hydrogen discharge capacity of the bth long-term storage tank; The minimum capacity of hydrogen allowed to be stored in the a-th short-term storage tank; is the hydrogen storage capacity of the ath short-term storage tank at time period t; The maximum capacity of hydrogen allowed to be stored in the a-th short-term storage tank; is the minimum capacity of hydrogen allowed to be stored in the bth long-term storage tank; is the hydrogen storage capacity of the bth long-term storage tank at time period t; is the maximum capacity of hydrogen allowed to be stored in the bth long-term storage tank;
[0048] Duration constraints for long-term storage tank hydrogen filling / discharging, including:
[0049]
[0050] in, is the hydrogen filling status of the b-th long-term storage tank at the t-1 period; T is the time that the b-th long-term storage tank has been continuously filled with hydrogen before the t-1 period; shs,b,ch The minimum duration required to charge the bth long-term storage tank with hydrogen; is the hydrogen release state of the b-th long-term storage tank at the t-1 period; T is the time that the b-th long-term storage tank has continuously discharged hydrogen before the t-1 period; shs,b,dis The minimum duration required to discharge hydrogen from the bth long-term storage tank.
[0051] Optionally, based on historical power generation data of new energy sources and hydrogen demand load data, a genetic algorithm is used to solve the mathematical model of the long- and short-term combined hydrogen storage operation to determine the optimal operation plan of the electricity-hydrogen system, including:
[0052] Obtain historical renewable energy power generation data and hydrogen demand load data for the electricity-hydrogen system within one year with a time step of 1 hour;
[0053] The historical new energy power generation data and hydrogen demand load data of the electric-hydrogen system within one year and the performance parameters of each device are input into the long- and short-term combined hydrogen storage operation mathematical model, and the long- and short-term combined hydrogen storage operation mathematical model is solved using a genetic algorithm to obtain the optimal operation plan of the electrolyzer, energy storage battery, short-term storage tank and long-term storage tank within one year, thereby determining the optimal operation plan of the electric-hydrogen system.
[0054] Optionally, before obtaining the performance parameters of each device in the electricity-hydrogen system, the method further includes:
[0055] Build an electric-hydrogen system with multiple short-term storage tanks and long-term storage tanks.
[0056] In a second aspect, the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the long-short time combined hydrogen storage operation optimization method for the multi-tank containing electric-hydrogen system.
[0057] In a third aspect, the present application provides a computer readable storage medium, which stores a computer program, wherein the computer program is executed by a processor to implement the long-short time combined hydrogen storage operation optimization method for the multi-tank containing electric-hydrogen system.
[0058] In a fourth aspect, the present application provides a computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the long-short time combined hydrogen storage operation optimization method for the multi-tank containing electric-hydrogen system.
[0059] According to the specific embodiments provided by the present application, the following technical effects are disclosed:
[0060] The present application discloses a long-short time combined hydrogen storage operation optimization method, device, medium and product for a multi-tank containing electric-hydrogen system. The multi-tank containing electric-hydrogen system is more in line with the actual operation in the hydrogen charging and discharging process than the existing optimization of a single tank, and the long-short time combined hydrogen storage operation mathematical model established can improve the flexibility of tank operation. For example, a single tank cannot exist in both hydrogen charging and discharging states at the same time, while a multi-tank can charge hydrogen in one tank and discharge hydrogen in another tank. The long-short time combined hydrogen storage operation optimization method for the multi-tank containing electric-hydrogen system is conducive to taking advantage of the long-term characteristics of hydrogen energy storage, and combining the multi-tank operation model is conducive to reducing the operation cost of the electric-hydrogen system. BRIEF DESCRIPTION OF DRAWINGS
[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.
[0062] Figure 1 The flowchart of the long-short time combined hydrogen storage operation optimization method for the multi-tank containing electric-hydrogen system provided by an embodiment of the present application is shown in the figure.
[0063] Figure 2 The structure diagram of the multi-tank containing electric-hydrogen system is shown in the figure.
[0064] Figure 3 The structure diagram of the computer device provided by an embodiment of the present application is shown in the figure. DETAILED DESCRIPTION
[0065] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0066] The purpose of this application is to provide a method, device, medium and product for optimizing the long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks, aiming to reduce the operating cost of the electric-hydrogen system.
[0067] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0068] In an exemplary embodiment, Figure 1 As shown, the method for optimizing the long-term and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks in this embodiment includes:
[0069] Step 1: Obtain the performance parameters of each device in the electricity-hydrogen system; the equipment includes electrolyzers, energy storage batteries, short-term storage tanks, and long-term storage tanks.
[0070] As an optional implementation, the performance parameters include: power, capacity, hydrogen production efficiency, charging efficiency, discharging efficiency, hydrogen self-loss rate, the number of short-term storage tanks and the number of long-term storage tanks.
[0071] As an optional implementation manner, before step 1, the method further includes:
[0072] Build an electric-hydrogen system with multiple short-term storage tanks and long-term storage tanks.
[0073] Specifically, such as Figure 2 As shown, the electric-hydrogen system includes: a new energy generator set, an electrolyzer, an energy storage battery, a short-term hydrogen storage tank (i.e., a short-term storage tank), and a long-term hydrogen storage tank (i.e., a long-term storage tank). This application only optimizes the operating schemes of the electrolyzer, energy storage battery, short-term storage tank, and long-term storage tank. Under the premise of considering the operation of multiple storage tanks, it provides the optimal operating scheme for the combined operation of long-term and short-term hydrogen storage in the electric-hydrogen system.
[0074] Step 2: Establish an operation model for the corresponding device based on the performance parameters of each device.
[0075] As an optional embodiment, the operation model of the electrolyzer includes:
[0076] P t EL =P tre,EL +P t bat,EL .
[0077]
[0078] Among them, P t EL is the power of the electrolytic cell in the tth period; P t re,EL is the power output of the renewable energy to the electrolyzer in period t; P t bat,EL is the power output from the energy storage battery to the electrolyzer at time period t; is the hydrogen production of the electrolyzer in the tth period; η EL The energy efficiency of hydrogen production in electrolyzer.
[0079] The operation model of the energy storage battery includes:
[0080]
[0081] in, is the capacity of the energy storage battery at time period t; is the capacity of the energy storage battery in the t-1 period; η bat,ch is the charging efficiency of the energy storage battery; P t ch is the charging power of the energy storage battery in the tth period; P t dis is the discharge power of the energy storage battery in the tth period; η bat,dis is the discharge efficiency of the energy storage battery; Δt is the time step.
[0082] Operational model of short-term storage tanks, including:
[0083]
[0084] in, is the capacity of the ath short-term storage tank in the tth period; η hs,loss is the short-term hydrogen self-loss rate of the storage tank; is the capacity of the ath short-term storage tank at the t-1th period; η hs,ch is the hydrogen filling efficiency of the short-term storage tank; is the hydrogen filling amount of the a-th short-term storage tank in the t-th period; is the amount of hydrogen released by the a-th short-term storage tank in the t-th period; η hs,dis It is the hydrogen release efficiency of the short-term storage tank.
[0085] Operational model for long-term storage tanks, including:
[0086]
[0087] in, is the capacity of the b-th long-term storage tank at the t-th period; η shs,loss is the hydrogen self-loss rate of the long-term storage tank; is the capacity of the b-th long-term storage tank at the t-1 period; η shs,ch The hydrogen filling efficiency of the long-term storage tank; is the hydrogen filling amount of the b-th long-term storage tank in the t-th period; is the amount of hydrogen released by the b-th long-term storage tank in the t-th period; η shs,dis It is the hydrogen release efficiency of long-term storage tank.
[0088] Step 3: Based on the performance parameters of each device and each operation model, a mathematical model of the long-term and short-term combined hydrogen storage operation of the electricity-hydrogen system is established.
[0089] Among them, the mathematical model of long- and short-term combined hydrogen storage operation includes: objective function and constraints. The objective function aims to minimize the annual operation and maintenance cost of the electric-hydrogen system. The constraints include: power balance constraint, hydrogen load constraint, electrolyzer start and stop time constraint, electrolyzer power upper and lower limits and climbing power constraint, energy storage battery operation status, charge and discharge power upper and lower limits and capacity constraints, short-term storage tank and long-term storage tank operation status, hydrogen charging and discharging upper and lower limits and capacity constraints, and long-term storage tank charging / discharging state duration constraint.
[0090] As an optional implementation, the objective function includes:
[0091] minC 总 =C EL +C bat +C hs +C shs .
[0092]
[0093] Among them, C 总 is the annual operation and maintenance cost of the electricity-hydrogen system; C EL is the annual operation and maintenance cost of the electrolyzer; C bat is the annual operation and maintenance cost of the energy storage battery; C hs is the annual operation and maintenance cost of the short-term storage tank; C shs is the annual operation and maintenance cost of the long-term storage tank; T is the number of time periods; is the unit price of water; is the water consumption of the electrolytic cell in period t; k EL is the unit operation and maintenance cost of the electrolyzer; α is the conversion rate of water to hydrogen; G t is the hydrogen demand load data of period t; k bat is the unit operation and maintenance cost of the energy storage battery; k hsis the unit operation and maintenance cost of the short-term storage tank; A is the number of short-term storage tanks; k shs is the unit operation and maintenance cost of the long-term storage tank; B is the number of long-term storage tanks.
[0094] As an optional implementation manner, the power balance constraint includes:
[0095] P t re =P t EL +P t ch -P t dis .
[0096] Among them, P t re is the total power output of the renewable energy in the tth period.
[0097] Hydrogen loading constraints, including:
[0098]
[0099] The start and stop time constraints of the electrolyzer include:
[0100]
[0101] in, is the hydrogen production state of the electrolyzer in the t-1 period; ε t EL is the hydrogen production state of the electrolyzer at time period t; T is the time that the electrolytic cell has been continuously powered on before the t-1 period; EL,on The time required to start up the electrolyzer; T is the time that the electrolytic cell has been shut down continuously before the t-1 period; EL,off The time required for the electrolyzer to be shut down.
[0102] The power upper and lower limits and ramp power constraints of the electrolyzer include:
[0103]
[0104] in, is the minimum power allowed for the electrolyzer; is the maximum power allowed by the electrolyzer; is the maximum ramp power allowed for the electrolyzer; is the power of the electrolytic cell in the t-1 period.
[0105] The operating status, upper and lower limits of charge and discharge power, and capacity constraints of the energy storage battery, including:
[0106]
[0107] in, is the charging state of the energy storage battery at the tth period, Indicates charging; is the discharge state of the energy storage battery in the tth period, Indicates discharge; The maximum charging power of the energy storage battery; is the maximum discharge power of the energy storage battery; is the minimum capacity of the energy storage battery; The maximum capacity of the energy storage battery.
[0108] The operating status, upper and lower limits of hydrogen charging and discharging, and capacity constraints of short-term and long-term storage tanks, including:
[0109]
[0110] in, is the hydrogen filling status of the a-th short-term storage tank at the t-th period, Indicates hydrogen charging; is the hydrogen release state of the a-th short-term storage tank at the t-th period, Indicates hydrogen release; is the hydrogen filling status of the b-th long-term storage tank at the t-th period, Indicates hydrogen charging; is the hydrogen release state of the b-th long-term storage tank at the t-th period, Indicates hydrogen release; is the maximum allowable hydrogen capacity of the a-th short-term storage tank; is the maximum allowable hydrogen filling amount of the bth long-term storage tank; is the maximum allowable hydrogen discharge capacity of the bth long-term storage tank; is the maximum allowable hydrogen discharge capacity of the bth long-term storage tank; The minimum capacity of hydrogen allowed to be stored in the a-th short-term storage tank; is the hydrogen storage capacity of the a-th short-term storage tank at time period t; The maximum capacity of hydrogen allowed to be stored in the a-th short-term storage tank; is the minimum capacity of hydrogen allowed to be stored in the bth long-term storage tank; is the hydrogen storage capacity of the bth long-term storage tank at time period t; The maximum capacity of hydrogen allowed to be stored in the bth long-term storage tank.
[0111] Duration constraints for long-term storage tank hydrogen filling / discharging, including:
[0112]
[0113] in, is the hydrogen filling status of the b-th long-term storage tank at the t-1 period; T is the time that the b-th long-term storage tank has been continuously filled with hydrogen before the t-1 period; shs,b,ch The minimum duration required to charge the bth long-term storage tank with hydrogen; is the hydrogen release state of the b-th long-term storage tank at the t-1 period; T is the time that the b-th long-term storage tank has continuously discharged hydrogen before the t-1 period; shs,b,dis The minimum duration required to discharge hydrogen from the bth long-term storage tank.
[0114] Step 4: Obtain the historical renewable energy power generation data and hydrogen demand load data of the electricity-hydrogen system.
[0115] Step 5: Based on the historical power generation data of new energy and hydrogen demand load data, use the genetic algorithm to solve the mathematical model of long-term and short-term combined hydrogen storage operation to determine the optimal operation plan of the electricity-hydrogen system.
[0116] As an optional implementation, step 5 includes:
[0117] Step 51: Obtain historical renewable energy power generation data and hydrogen demand load data for the electricity-hydrogen system within one year, with a time step of 1 hour;
[0118] Step 52: Input the historical new energy power generation data and hydrogen demand load data of the electric-hydrogen system within one year and the performance parameters of each device into the long- and short-term combined hydrogen storage operation mathematical model, and use the genetic algorithm to solve the long- and short-term combined hydrogen storage operation mathematical model to obtain the optimal operation plan of the electrolyzer, energy storage battery, short-term storage tank and long-term storage tank within one year, thereby determining the optimal operation plan of the electric-hydrogen system.
[0119] In an exemplary embodiment, a computer device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a method for optimizing the long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks.
[0120] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, a method for optimizing the long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks is implemented.
[0121] In an exemplary embodiment, a computer program product is provided, comprising a computer program that, when executed by a processor, implements a method for optimizing long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks.
[0122] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it realizes a method for optimizing the long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks.
[0123] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0124] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0125] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0126] The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may include, but are not limited to, general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic units, data processing logic units based on quantum computing, and the like.
[0127] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0128] This document uses specific examples to illustrate the principles and implementation methods of this application. The description of the above examples is only intended to help understand the method and core concept of this application. At the same time, for those skilled in the art, based on the concept of this application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for optimizing the operation of long-term and short-term combined hydrogen storage in an electric-hydrogen system containing multiple storage tanks, characterized in that: The method for optimizing the long-term and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks includes: Obtaining performance parameters of each device in the electricity-hydrogen system; the devices include electrolyzers, energy storage batteries, short-term storage tanks, and long-term storage tanks; Establish an operation model of the corresponding equipment based on the performance parameters of each equipment; Based on the performance parameters of each device and each of the operation models, a mathematical model for the long- and short-term combined hydrogen storage operation of the electricity-hydrogen system is established; the mathematical model for the long- and short-term combined hydrogen storage operation includes: an objective function and constraints, the objective function takes the minimization of the annual operation and maintenance cost of the electricity-hydrogen system as the goal, and the constraints include: power balance constraints, hydrogen load constraints, electrolyzer start and stop time constraints, electrolyzer power upper and lower limits and ramp power constraints, operating status of the energy storage battery, charge and discharge power upper and lower limits and capacity constraints, operating status of the short-term storage tank and the long-term storage tank, hydrogen charge and discharge amount upper and lower limits and capacity constraints, and long-term storage tank charge / discharge state duration constraints; Obtaining historical renewable energy power generation data and hydrogen demand load data for the electricity-hydrogen system; Based on the historical power generation data of new energy sources and the hydrogen demand load data, a genetic algorithm is used to solve the mathematical model of the long- and short-term combined hydrogen storage operation to determine the optimal operation plan of the electricity-hydrogen system; The electrolyzer operation model includes: P t EL =P t re,EL +P t bat,EL ; Among them, P t EL is the power of the electrolytic cell in the tth period; P t re,EL is the power output of the renewable energy to the electrolyzer in period t; P t bat,EL is the power output from the energy storage battery to the electrolyzer at time period t; is the hydrogen production of the electrolyzer in the tth period; η EL The energy efficiency of hydrogen production in electrolyzers; The operation model of the energy storage battery includes: in, is the capacity of the energy storage battery at time period t; is the capacity of the energy storage battery in the t-1 period; η bat,ch is the charging efficiency of the energy storage battery; P t ch is the charging power of the energy storage battery in the tth period; P t dis is the discharge power of the energy storage battery in the tth period; η bat,dis is the discharge efficiency of the energy storage battery; Δt is the time step; Operational model of short-term storage tanks, including: in, is the capacity of the ath short-term storage tank in the tth period; η hs,loss is the short-term hydrogen self-loss rate of the storage tank; is the capacity of the ath short-term storage tank at the t-1th period; η hs,ch is the hydrogen filling efficiency of the short-term storage tank; is the hydrogen filling amount of the a-th short-term storage tank in the t-th period; is the amount of hydrogen released by the a-th short-term storage tank in the t-th period; η hs,dis is the hydrogen release efficiency of the short-term storage tank; Operational model for long-term storage tanks, including: in, is the capacity of the b-th long-term storage tank at the t-th period; η shs,loss is the hydrogen self-loss rate of the long-term storage tank; is the capacity of the b-th long-term storage tank at the t-1 period; η shs,ch The hydrogen filling efficiency of the long-term storage tank; is the hydrogen filling amount of the b-th long-term storage tank in the t-th period; is the amount of hydrogen released by the b-th long-term storage tank in the t-th period; η shs,dis The hydrogen release efficiency of the long-term storage tank; The objective function includes: minC 总 =C EL +C bat +C hs +C shs ; Among them, C 总 is the annual operation and maintenance cost of the electricity-hydrogen system; C EL is the annual operation and maintenance cost of the electrolyzer; C bat is the annual operation and maintenance cost of the energy storage battery; C hs is the annual operation and maintenance cost of the short-term storage tank; C shs is the annual operation and maintenance cost of the long-term storage tank; T is the number of time periods; is the unit price of water; is the water consumption of the electrolytic cell in period t; k EL is the unit operation and maintenance cost of the electrolyzer; α is the conversion rate of water to hydrogen; G t is the hydrogen demand load data of period t; k bat is the unit operation and maintenance cost of the energy storage battery; k hs is the unit operation and maintenance cost of the short-term storage tank; A is the number of short-term storage tanks; k shs is the unit operation and maintenance cost of the long-term storage tank; B is the number of long-term storage tanks.
2. The method for optimizing the operation of long-term and short-term combined hydrogen storage in an electric-hydrogen system containing multiple storage tanks according to claim 1, characterized in that: The performance parameters include: power, capacity, hydrogen production efficiency, charging efficiency, discharging efficiency, hydrogen self-loss rate, the number of short-term storage tanks and the number of long-term storage tanks.
3. The method for optimizing the operation of long-term and short-term combined hydrogen storage in an electric-hydrogen system containing multiple storage tanks according to claim 1, characterized in that: Power balancing constraints, including: P t re =P t EL +P t ch -P t dis ; Among them, P t re is the total power output of the renewable energy in period t; Hydrogen loading constraints, including: The start and stop time constraints of the electrolyzer include: in, is the hydrogen production state of the electrolyzer at the t-1 period; is the hydrogen production state of the electrolyzer at time period t; T is the time that the electrolytic cell has been continuously powered on before the t-1 period; EL,on The time required to start up the electrolyzer; T is the time that the electrolytic cell has been shut down continuously before the t-1 period; EL,off The time required to shut down the electrolyzer; The power upper and lower limits and ramp power constraints of the electrolyzer include: in, is the minimum power allowed for the electrolyzer; is the maximum power allowed by the electrolyzer; is the maximum ramp power allowed for the electrolyzer; is the power of the electrolytic cell in the t-1 period; The operating status, upper and lower limits of charge and discharge power, and capacity constraints of the energy storage battery, including: in, is the charging state of the energy storage battery at the tth period, Indicates charging; is the discharge state of the energy storage battery in the tth period, Indicates discharge; The maximum charging power of the energy storage battery; is the maximum discharge power of the energy storage battery; is the minimum capacity of the energy storage battery; is the maximum capacity of the energy storage battery; The operating status, upper and lower limits of hydrogen charging and discharging, and capacity constraints of short-term and long-term storage tanks, including: in, is the hydrogen filling status of the a-th short-term storage tank at the t-th period, Indicates hydrogen charging; is the hydrogen release state of the a-th short-term storage tank at the t-th period, Indicates hydrogen release; is the hydrogen filling status of the b-th long-term storage tank at the t-th period, Indicates hydrogen charging; is the hydrogen release state of the b-th long-term storage tank at the t-th period, Indicates hydrogen release; is the maximum allowable hydrogen filling amount of the a-th short-term storage tank; is the maximum allowable hydrogen filling amount of the bth long-term storage tank; is the maximum allowable hydrogen discharge capacity of the bth long-term storage tank; is the maximum allowable hydrogen discharge capacity of the bth long-term storage tank; The minimum capacity of hydrogen allowed to be stored in the a-th short-term storage tank; is the hydrogen storage capacity of the a-th short-term storage tank at time period t; The maximum capacity of hydrogen allowed to be stored in the a-th short-term storage tank; is the minimum capacity of hydrogen allowed to be stored in the bth long-term storage tank; is the hydrogen storage capacity of the bth long-term storage tank at time period t; is the maximum capacity of hydrogen allowed to be stored in the bth long-term storage tank; Duration constraints for long-term storage tank hydrogen filling / discharging, including: in, is the hydrogen filling status of the b-th long-term storage tank at the t-1 period; T is the time that the b-th long-term storage tank has been continuously filled with hydrogen before the t-1 period; shs,b,ch The minimum duration required to charge the bth long-term storage tank with hydrogen; is the hydrogen release state of the b-th long-term storage tank at the t-1 period; T is the time that the b-th long-term storage tank has continuously discharged hydrogen before the t-1 period; shs,b,dis The minimum duration required to discharge hydrogen from the bth long-term storage tank.
4. The method for optimizing the operation of long-term and short-term combined hydrogen storage in an electric-hydrogen system containing multiple storage tanks according to claim 1, characterized in that: Based on historical renewable energy power generation data and hydrogen demand load data, a genetic algorithm is used to solve the mathematical model of the long- and short-term combined hydrogen storage operation to determine the optimal operation plan of the electricity-hydrogen system, including: Obtain historical renewable energy power generation data and hydrogen demand load data for the electricity-hydrogen system within one year with a time step of 1 hour; The historical new energy power generation data and hydrogen demand load data of the electric-hydrogen system within one year and the performance parameters of each device are input into the long- and short-term combined hydrogen storage operation mathematical model, and the long- and short-term combined hydrogen storage operation mathematical model is solved using a genetic algorithm to obtain the optimal operation plan of the electrolyzer, energy storage battery, short-term storage tank and long-term storage tank within one year, thereby determining the optimal operation plan of the electric-hydrogen system.
5. The method for optimizing the operation of long-term and short-term combined hydrogen storage in an electric-hydrogen system containing multiple storage tanks according to claim 1, characterized in that: Before obtaining the performance parameters of each device in the electricity-hydrogen system, it also includes: Build an electric-hydrogen system with multiple short-term storage tanks and long-term storage tanks.
6. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the method for optimizing the long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks as described in any one of claims 1-5.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for optimizing the long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks as described in any one of claims 1 to 5 is implemented.
8. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for optimizing the long- and short-term combined hydrogen storage operation of an electric-hydrogen system containing multiple storage tanks as described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Comprehensive energy micro-grid optimization scheduling method and system containing electricity-to-hydrogen conversion
CN116667427A
Electricity-hydrogen coupling system optimization operation method considering operation characteristics of electrolytic cell
CN117748453A