Search

CN-121997792-A - Hydrogen system simulation optimization method, system, electronic equipment and storage medium

CN121997792ACN 121997792 ACN121997792 ACN 121997792ACN-121997792-A

Abstract

The invention provides a hydrogen system simulation optimization method, a system, electronic equipment and a storage medium, and belongs to the technical field of hydrogen resource optimization. The method comprises the steps of obtaining the hydrogen concentration and the hydrogen flow of each hydrogen source and each hydrogen trap in a hydrogen system, determining hydrogen pinch points based on the hydrogen concentration and the hydrogen flow, optimizing an initial hydrogen system superstructure according to the hydrogen pinch points to obtain an optimized hydrogen system superstructure, constructing a corresponding hydrogen system optimization model aiming at the optimized hydrogen system superstructure, inputting initial hydrogen flow values into the hydrogen system optimization model, and outputting hydrogen flow optimization values between the hydrogen sources and the hydrogen traps. The invention solves the problems of on-line monitoring and simulated optimization of the hydrogen system, can accurately simulate the material balance and element balance of the hydrogen source and the hydrogen trap of the hydrogen system, can lead the matching of the hydrogen source and the hydrogen trap to be more reasonable on the premise of not changing the arrangement of the hydrogen network equipment and the pipe network of the oil refinery, and greatly improves the technical level of the optimized dispatching of the hydrogen system of the oil refinery.

Inventors

  • ZHANG DEZHI
  • WANG RUQIANG
  • HUANG MINGFU
  • WANG XINPING
  • ZHANG LIAN
  • Xue Dao
  • HU YIJIONG

Assignees

  • 中国石油天然气股份有限公司

Dates

Publication Date
20260508
Application Date
20241108

Claims (14)

  1. 1. The hydrogen system simulation optimization method is characterized by comprising the following steps of: Acquiring the hydrogen concentration and the hydrogen flow of each hydrogen source and each hydrogen trap in a hydrogen system; determining a hydrogen pinch point according to the hydrogen concentration and the hydrogen flow of each hydrogen source and each hydrogen trap; optimizing the initial hydrogen system superstructure according to the hydrogen clamping points to obtain an optimized hydrogen system superstructure; constructing a corresponding hydrogen system optimization model aiming at the optimized hydrogen system superstructure; and determining an initial value of hydrogen flow from the hydrogen source to the hydrogen trap, inputting the initial value of the hydrogen flow into the hydrogen system optimization model, and outputting an optimized value of the hydrogen flow between the hydrogen source and the hydrogen trap.
  2. 2. A hydrogen system simulation optimizing method according to claim 1, wherein the determining the hydrogen pinch point according to the hydrogen concentration and the hydrogen flow rate of each hydrogen source, each hydrogen trap comprises the steps of: Sequencing all hydrogen sources in descending order according to the hydrogen concentration, and sequencing all the hydrazines in descending order according to the required hydrogen concentration; taking the hydrogen concentration as an ordinate and the hydrogen flow as an abscissa, respectively making a compound curve of the hydrogen flow and the purity in a hydrogen source and a compound curve of the hydrogen flow and the purity required by the hydrogen hydrazine; and converting the compound curve of the hydrogen flow and the purity in the hydrogen source and the compound curve of the hydrogen flow and the purity required by the hydrogen trap into a residual hydrogen quantity graph, and calculating a hydrogen pinch point.
  3. 3. The method for simulating and optimizing a hydrogen system according to claim 1, wherein the optimizing the initial hydrogen system superstructure according to the hydrogen pinch points, the obtaining the optimized hydrogen system superstructure specifically comprises: processing the initial hydrogen system superstructure according to a preset optimization rule to obtain an optimized hydrogen system superstructure; The preset optimization rule comprises at least one of the following: The hydrogen source above the hydrogen pinch point is matched with the hydrogen trap above the hydrogen pinch point, and the hydrogen in the hydrogen source above the hydrogen pinch point is not sent to the gas system; The hydrogen traps below the hydrogen pinch match the hydrogen source below the hydrogen pinch, and the hydrogen hydrazine below the hydrogen pinch does not consume utility hydrogen.
  4. 4. A hydrogen system simulation optimizing method according to claim 1, wherein the objective function of the hydrogen system optimizing model is to minimize hydrogen supply cost, and the constraint conditions at least include a basic constraint condition of a hydrogen source hydrogen trap, a constraint condition of a relationship between a hydrogen flow rate and a hydrogen concentration of the hydrogen trap, and a constraint condition of a relationship between a hydrogen flow rate and a hydrogen concentration of the hydrogen source.
  5. 5. The hydrogen system simulation optimizing method according to claim 1 or 4, wherein the constructing a corresponding hydrogen system optimizing model for the optimized hydrogen system superstructure comprises the following steps: determining basic constraint conditions of a hydrogen source hydrogen trap; Determining a first relation among the processing amount, the hydrogen consumption coefficient, the hydrogen concentration and the hydrogen flow of each hydrogen trap as a relation constraint condition between the hydrogen flow and the hydrogen concentration of the hydrogen trap; determining a second relation among the processing amount, the hydrogen production coefficient, the hydrogen concentration and the hydrogen flow rate of each hydrogen source, and taking the second relation as a relation constraint condition between the hydrogen flow rate and the hydrogen concentration of the hydrogen source; and determining a hydrogen system optimization model according to the hydrogen flow cost, the newly-added fixed investment cost and the newly-added fuel gas consumption cost among the hydrogen traps matched with each hydrogen source flow direction.
  6. 6. A hydrogen system simulation optimizing method as defined in claim 4, wherein when said hydrogen system further comprises a compressor, said constraints include at least a hydrogen source hydrogen trap basic constraint, a relationship constraint between a hydrogen flow rate and a hydrogen concentration of the hydrogen trap, a relationship constraint between a hydrogen flow rate and a hydrogen concentration of the hydrogen source, a compressor basic constraint, a compressor power constraint.
  7. 7. The hydrogen system simulation optimizing method according to claim 6, wherein constructing a corresponding hydrogen system optimizing model for the optimized hydrogen system superstructure comprises the steps of: determining basic constraint conditions of a hydrogen source hydrogen trap; Determining a first relation among the processing amount, the hydrogen consumption coefficient, the hydrogen concentration and the hydrogen flow of each hydrogen trap as a relation constraint condition between the hydrogen flow and the hydrogen concentration of the hydrogen trap; determining a second relation among the processing amount, the hydrogen production coefficient, the hydrogen concentration and the hydrogen flow rate of each hydrogen source, and taking the second relation as a relation constraint condition between the hydrogen flow rate and the hydrogen concentration of the hydrogen source; Determining a basic constraint condition of a compressor and a power constraint condition of the compressor; And determining a hydrogen system optimization model according to the hydrogen flow rate cost, the compressor electricity cost, the newly-added fixed investment cost and the newly-added fuel gas consumption cost between the hydrogen traps matched with each hydrogen source flow direction.
  8. 8. A simulated optimization method of a hydrogen system as claimed in claim 4 or 6, wherein said hydrogen source hydrogen trap basic constraints comprise at least one of hydrogen trap constraints, hydrogen source constraints, impurity concentration constraints in the hydrogen stream, pressure constraints between hydrogen source hydrogen traps, The hydrogen trap constraint conditions comprise a hydrogen trap hydrogen flow constraint condition and a hydrogen trap hydrogen concentration constraint condition; the hydrogen source constraint conditions comprise a hydrogen source hydrogen flow constraint condition and a hydrogen source hydrogen concentration constraint condition; The constraint condition of the impurity concentration in the hydrogen flow is that the total impurity concentration of all hydrogen flow matched with each hydrogen trap to the corresponding hydrogen trap is not greater than the impurity concentration of the hydrogen trap; The pressure constraint condition between the hydrogen source hydrogen traps means that the pressure of each hydrogen source matched with each hydrogen trap flowing to the corresponding hydrogen trap is not less than the pressure of the hydrogen trap.
  9. 9. A hydrogen system simulation optimizing method according to claim 8, wherein the hydrogen flow constraint condition of the hydrogen traps means that the total hydrogen flow rate of all hydrogen sources matched with each hydrogen trap to the corresponding hydrogen trap is not smaller than the hydrogen flow rate of the hydrogen trap; the hydrogen concentration constraint condition of the hydrogen traps means that the total hydrogen concentration of all hydrogen sources matched with each hydrogen trap to the corresponding hydrogen trap is not less than the hydrogen concentration of the hydrogen trap; The hydrogen flow constraint condition of the hydrogen sources means that the total hydrogen flow of each hydrogen source flowing to all the matched hydrogen traps is not more than the upper limit value of the hydrogen flow of the hydrogen source; The hydrogen source hydrogen concentration constraint condition means that the total hydrogen concentration of all hydrogen traps matched with each hydrogen source flow direction is not more than the hydrogen concentration upper limit value of the hydrogen source.
  10. 10. A hydrogen system simulation optimization method according to claim 6 or 7, wherein the compressor base constraints include a compressor hydrogen flow constraint and a compressor hydrogen purity constraint.
  11. 11. The hydrogen system simulation optimizing method according to claim 10, wherein the compressor hydrogen flow constraint condition means that a total hydrogen flow rate of all hydrogen sources flowing to the compressor is not more than a preset air inflow upper limit value of the compressor; The constraint condition of the hydrogen purity of the compressor means that the total hydrogen concentration of all hydrogen sources flowing to the compressor is not less than the preset lower limit value of the gas concentration of the compressor; the compressor power constraint is determined based on a third relationship between the hydrogen flow of the hydrogen trap, the hydrogen concentration of the hydrogen trap, the compression inlet pressure, and the compressor outlet pressure and the compressor power.
  12. 12. A hydrogen system simulation optimizing system, comprising: The data acquisition module is used for acquiring the hydrogen concentration and the hydrogen flow of each hydrogen source and each hydrogen trap in the hydrogen system; The clamping point analysis module is used for determining a hydrogen clamping point according to the hydrogen concentration and the hydrogen flow of each hydrogen source and each hydrogen trap; The super-structure graphic module is used for optimizing the initial hydrogen system super-structure according to the hydrogen clamping points to obtain an optimized hydrogen system super-structure; The super-structure optimization module is used for constructing a corresponding hydrogen system optimization model aiming at the optimized hydrogen system super-structure; And the solving module is used for determining the initial value of the hydrogen flow from the hydrogen source to the hydrogen trap, inputting the initial value of the hydrogen flow into the hydrogen system optimization model and outputting the optimized value of the hydrogen flow between the hydrogen source and the hydrogen trap.
  13. 13. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; a memory storing a computer program; A processor for implementing the hydrogen system simulation optimization method of any one of claims 1-11 when executing a program stored in a memory.
  14. 14. A computer readable storage medium storing a computer program, characterized in that the computer program, when run, performs the hydrogen system simulation optimization method according to any one of claims 1-11.

Description

Hydrogen system simulation optimization method, system, electronic equipment and storage medium Technical Field The invention belongs to the technical field of hydrogen resource optimization, and particularly relates to a hydrogen system simulation optimization method, a system, electronic equipment and a storage medium. Background Along with the increasing shortage of hydrogen resources of refineries due to the heavy and poor quality of crude oil, the hydrogen resource optimization utilization technology is an important means for enterprises to realize cost reduction and synergy. The existing hydrogen system optimization research mainly comprises a mathematical programming method and a hydrogen pinch point analysis method, wherein the mathematical programming method has two defects, namely, the hydrogen system has a wide involved area, simultaneous solution equations are more, the difficulty of optimizing solution is high, constraint conditions under a complex system are not easy to set, the constraint conditions are increased, the calculated amount is increased, the optimal solution is difficult to be obtained sometimes, otherwise, the constraint conditions are reduced, and the feasibility of optimizing the solution result is reduced. The hydrogen pinch analysis method is to obtain hydrogen pinch, and the hydrogen pinch is obtained by a residual hydrogen amount graph method, a strict hydrogen pinch graph method, a source combination curve method, a hydrogen load-flow graph method, and the like. In general, the hydrogen pinch point analysis does not consider factors such as impurities and pressure in a hydrogen network, the pinch point is difficult to calculate through manual iterative calculation, the calculation amount is huge, the calculation efficiency is seriously affected, and the difference exists between the iterative results of different software tools. The patent with publication number CN114757126A proposes a hydrogen network reconstruction method based on random pinch points, in which a hydrogen energy system is divided into different operation working conditions based on the original hydrogen pinch point determination method, pinch point analysis of the hydrogen network after green hydrogen is introduced is carried out again according to time division intervals of start and stop of a flow, and the hydrogen network is optimized by taking the classification of class pressure into consideration by using a super-structure optimization method, wherein the hydrogen network is optimized with the aim of economy optimization, and the constraint conditions of impurities, pressure and the like in the hydrogen network, hydrogen trap/hydrogen source constraint, PSA (Pressure Sw ing Adsorption) constraint, impurity constraint, compressor and the like are adopted to constrain an objective function, but specific constraint conditions are not disclosed, and the influence among the constraint conditions is not considered, so that the material balance and element balance of a hydrogen source and a hydrogen trap of the hydrogen system cannot be accurately simulated, and the accurate simulation optimization cannot be carried out. In summary, a new efficient and accurate hydrogen system simulation optimization method is needed. Disclosure of Invention Aiming at the problems, the invention provides a hydrogen system simulation optimization method, a system, electronic equipment and a storage medium, and the specific technical scheme is as follows: in a first aspect, the present invention provides a hydrogen system simulation optimization method, including the following steps: Acquiring the hydrogen concentration and the hydrogen flow of each hydrogen source and each hydrogen trap in a hydrogen system; determining a hydrogen pinch point according to the hydrogen concentration and the hydrogen flow of each hydrogen source and each hydrogen trap; optimizing the initial hydrogen system superstructure according to the hydrogen clamping points to obtain an optimized hydrogen system superstructure; constructing a corresponding hydrogen system optimization model aiming at the optimized hydrogen system superstructure; and determining an initial value of hydrogen flow from the hydrogen source to the hydrogen trap, inputting the initial value of the hydrogen flow into the hydrogen system optimization model, and outputting an optimized value of the hydrogen flow between the hydrogen source and the hydrogen trap. Further, the determining the hydrogen pinch point according to the hydrogen concentration and the hydrogen flow of each hydrogen source and each hydrogen trap comprises the following steps: Sequencing the hydrogen sources in descending order according to the hydrogen concentration of the hydrogen sources, and sequencing the hydrazines in descending order according to the hydrogen concentration of the hydrazines; taking the hydrogen concentration as an ordinate and the hydrogen flow as an abscissa, respectively making a