Hydrogen system simulation optimization method and system, electronic equipment and storage medium
By combining pinch analysis and superstructure method to optimize the hydrogen system, the problems of high optimization difficulty and inaccurate simulation in the existing technology are solved, realizing efficient operation and cost reduction of the hydrogen system, and improving the optimization scheduling capability of the hydrogen system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- PETROCHINA CO LTD
- Filing Date
- 2024-11-08
- Publication Date
- 2026-05-08
AI Technical Summary
Existing optimization methods for hydrogen systems suffer from high difficulty in solving problems, complex constraints, low computational efficiency, and an inability to accurately simulate the material and elemental balance of hydrogen sources and hydrogen traps, resulting in poor optimization performance of hydrogen systems.
By obtaining the hydrogen concentration and flow rate of each hydrogen source and hydrogen trap in the hydrogen system, the hydrogen pinch points are determined, and a superstructure of the hydrogen system is constructed. The hydrogen system is optimized by combining the pinch point analysis method with the superstructure method. Considering the constraints of the compressor equipment, the objective function and constraint conditions are constructed to achieve efficient optimization of the hydrogen system.
It has achieved efficient operation and cost minimization of hydrogen systems, reduced enterprise energy consumption and production costs, improved the technical level of hydrogen system optimization and scheduling, reduced pure hydrogen consumption and hydrogen fuel emissions, and promoted green and low-carbon development.
Smart Images

Figure CN121997792A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of hydrogen resource optimization technology, and specifically relates to a hydrogen system simulation optimization method, system, electronic device and storage medium. Background Technology
[0002] With the increasing weight and quality of crude oil, refineries are facing a growing shortage of hydrogen resources. Optimizing hydrogen resource utilization technology is a crucial means for enterprises to reduce costs and increase efficiency. Currently, research on hydrogen system optimization mainly focuses on mathematical programming and hydrogen pinch analysis. Mathematical programming has two drawbacks: first, due to the wide scope of hydrogen systems and the large number of simultaneous equations to solve, optimization is difficult; second, constraints in complex systems are not easy to define. More constraints increase the computational load, making optimization difficult and sometimes even impossible to obtain the optimal solution. Conversely, fewer constraints reduce the feasibility of the optimization results.
[0003] Hydrogen pinch analysis methods involve determining hydrogen pinch points, including methods such as the residual hydrogen quantity graphical method, the rigorous hydrogen pinch point graphical method, the source combination curve method, and the hydrogen load-flow diagram method. Typically, hydrogen pinch analysis does not consider factors such as impurities and pressure in the hydrogen network, and it is difficult to determine pinch points through manual iterative calculations. Furthermore, the computational workload is enormous, severely impacting computational efficiency, and the results of iterations vary depending on the software tools used. A patent with publication number CN114757126A proposes a hydrogen network reconstruction method based on random pinch points. This patent, building upon existing methods for determining hydrogen pinch points, proposes dividing the hydrogen energy system into different operating conditions and dividing time intervals according to the start and end times of the flow streams. It then re-analyzes the pinch points of the hydrogen network after the introduction of green hydrogen and utilizes a superstructure optimization method, considering pressure levels, to optimize the hydrogen network with optimal economic efficiency. While it mentions using factors such as impurities and pressure in the hydrogen network, as well as constraints such as hydrogen trap / source constraints, PSA (Pressure Swing Adsorption) constraints, impurity constraints, and compressor constraints to constrain the objective function, it does not disclose the specific constraints or consider the influence between these constraints. Therefore, it cannot accurately simulate the material and elemental balance of the hydrogen source and hydrogen trap in the hydrogen system, and thus cannot perform accurate simulation optimization.
[0004] In summary, there is an urgent need for a new, efficient, and accurate method for simulating and optimizing hydrogen systems. Summary of the Invention
[0005] To address the above problems, this invention proposes a hydrogen system simulation optimization method, system, electronic device, and storage medium, the specific technical solution of which is as follows:
[0006] In a first aspect, the present invention proposes a method for simulating and optimizing a hydrogen system, comprising the following steps:
[0007] Obtain the hydrogen concentration and hydrogen flow rate for each hydrogen source and each hydrogen trap in the hydrogen system;
[0008] The hydrogen pinch point is determined based on the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap.
[0009] The initial hydrogen system superstructure is optimized based on the hydrogen pinch points to obtain the optimized hydrogen system superstructure.
[0010] For the optimized hydrogen system superstructure, a corresponding hydrogen system optimization model is constructed;
[0011] Determine the initial value of the hydrogen flow rate from the hydrogen source to the hydrogen trap, input the initial value of the hydrogen flow rate into the hydrogen system optimization model, and output the optimized value of the hydrogen flow rate from the hydrogen source to the hydrogen trap.
[0012] Furthermore, determining the hydrogen pinch point based on the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap includes the following steps:
[0013] The hydrogen sources were sorted in descending order of their hydrogen concentration, and the hydrogen hydrazine sources were sorted in descending order of their hydrogen concentration.
[0014] Plot the hydrogen concentration on the ordinate and the hydrogen flow rate on the abscissa to obtain composite curves of hydrogen flow rate and purity in the hydrogen source, as well as composite curves of hydrogen flow rate and purity required for hydrazine hydrogen.
[0015] The composite curves of hydrogen flow rate and purity in the hydrogen source, as well as the composite curves of hydrogen flow rate and purity required for hydrazine hydrogen, are converted into residual hydrogen quantity plots to calculate the hydrogen pinch point.
[0016] Furthermore, the optimization of the initial hydrogen system superstructure based on the hydrogen pinch point to obtain the optimized hydrogen system superstructure specifically involves:
[0017] The initial hydrogen system superstructure is processed according to a preset optimization rule to obtain an optimized hydrogen system superstructure.
[0018] The preset optimization rules include at least one of the following:
[0019] 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 combustion system.
[0020] The hydrogen trap below the hydrogen pinch point is matched with the hydrogen source below the hydrogen pinch point, and the hydrogen hydrazine below the hydrogen pinch point does not consume the hydrogen of the utility.
[0021] Furthermore, the objective function of the hydrogen system optimization model is to minimize the hydrogen supply cost, and the constraints include at least the basic constraints of the hydrogen source and hydrogen trap, the constraints on the relationship between the hydrogen flow rate and hydrogen concentration in the hydrogen trap, and the constraints on the relationship between the hydrogen flow rate and hydrogen concentration in the hydrogen source.
[0022] Furthermore, the construction of a corresponding hydrogen system optimization model for the optimized hydrogen system superstructure includes the following steps:
[0023] Determine the basic constraints of the hydrogen source and hydrogen trap;
[0024] The processing amount, hydrogen consumption coefficient, and first relationship between hydrogen concentration and hydrogen flow rate of each hydrogen trap are determined as constraints on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen trap.
[0025] Determine the processing capacity, hydrogen production coefficient, and second relationship between hydrogen concentration and hydrogen flow rate for each hydrogen source, as a constraint condition on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen source.
[0026] The hydrogen system optimization model is determined based on the hydrogen flow cost, additional fixed investment cost, and additional fuel consumption cost between the hydrogen traps matched to each hydrogen source.
[0027] Furthermore, when the hydrogen system also includes a compressor, the constraints include at least the basic constraints of the hydrogen source and hydrogen trap, the constraint on the relationship between the hydrogen flow rate and hydrogen concentration of the hydrogen trap, the constraint on the relationship between the hydrogen flow rate and hydrogen concentration of the hydrogen source, the basic constraints of the compressor, and the power constraints of the compressor.
[0028] Furthermore, for the optimized hydrogen system superstructure, constructing a corresponding hydrogen system optimization model includes the following steps:
[0029] Determine the basic constraints of the hydrogen source and hydrogen trap;
[0030] The processing amount, hydrogen consumption coefficient, and first relationship between hydrogen concentration and hydrogen flow rate of each hydrogen trap are determined as constraints on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen trap.
[0031] Determine the processing capacity, hydrogen production coefficient, and second relationship between hydrogen concentration and hydrogen flow rate for each hydrogen source, as a constraint condition on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen source.
[0032] Determine the basic constraints and power constraints of the compressor;
[0033] The hydrogen system optimization model is determined based on the hydrogen flow cost, compressor electricity cost, additional fixed investment cost, and additional fuel consumption cost between each hydrogen source and the matched hydrogen trap.
[0034] Furthermore, the basic constraint conditions for the hydrogen source and hydrogen trap include at least one of the following: hydrogen trap constraint condition, hydrogen source constraint condition, impurity concentration constraint condition in the hydrogen stream, and pressure constraint condition between the hydrogen source and hydrogen trap; wherein,
[0035] The hydrogen trap constraint conditions include hydrogen flow rate constraint conditions and hydrogen concentration constraint conditions.
[0036] The hydrogen source constraints include hydrogen source flow rate constraints and hydrogen source concentration constraints.
[0037] The impurity concentration constraint in the hydrogen stream means that the total impurity concentration of all hydrogen sources flowing to the corresponding hydrogen trap matched with each hydrogen trap is not greater than the impurity concentration of that hydrogen trap.
[0038] The pressure constraint condition between the hydrogen source and the hydrogen trap means that the pressure of each hydrogen source flowing into the corresponding hydrogen trap is not less than the pressure of the hydrogen trap.
[0039] Furthermore, the hydrogen flow rate constraint condition for the hydrogen trap means that the total hydrogen flow rate from all hydrogen sources matched with each hydrogen trap to the corresponding hydrogen trap is not less than the hydrogen flow rate of that hydrogen trap.
[0040] The hydrogen concentration constraint condition for the hydrogen trap means that the total hydrogen concentration of all hydrogen sources flowing to the corresponding hydrogen trap that are matched with each hydrogen trap is not less than the hydrogen concentration of that hydrogen trap.
[0041] The hydrogen source hydrogen flow constraint condition means that the total hydrogen flow of all hydrogen traps matched to each hydrogen source is not greater than the upper limit of the hydrogen flow of that hydrogen source.
[0042] The hydrogen source hydrogen concentration constraint condition means that the total hydrogen concentration of all hydrogen traps matched to each hydrogen source flow is not greater than the upper limit of the hydrogen concentration of that hydrogen source.
[0043] Furthermore, the basic constraints of the compressor include the compressor hydrogen flow rate constraint and the compressor hydrogen purity constraint.
[0044] Furthermore, the compressor hydrogen flow constraint condition means that the total hydrogen flow rate of all hydrogen sources flowing to the compressor is not greater than the preset upper limit of the compressor's intake volume.
[0045] The hydrogen purity constraint for the compressor refers to the total hydrogen concentration of all hydrogen sources flowing to the compressor not being less than the compressor's preset lower limit for gas concentration.
[0046] The compressor power constraint is determined based on a third relationship between the hydrogen flow rate of the hydrogen trap, the hydrogen concentration of the hydrogen trap, the compressor inlet pressure, the compressor outlet pressure, and the compressor power.
[0047] Secondly, this invention proposes a hydrogen system simulation and optimization system, comprising:
[0048] The data acquisition module is used to acquire the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap in the hydrogen system;
[0049] The pinch analysis module is used to determine the hydrogen pinch based on the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap.
[0050] The superstructure graphics module is used to optimize the initial hydrogen system superstructure based on the hydrogen pinch points to obtain the optimized hydrogen system superstructure.
[0051] The superstructure optimization module is used to construct a corresponding hydrogen system optimization model for the optimized hydrogen system superstructure.
[0052] The solution module is used to determine the initial value of the hydrogen flow rate from the hydrogen source to the hydrogen trap, input the initial value of the hydrogen flow rate into the hydrogen system optimization model, and output the optimized value of the hydrogen flow rate from the hydrogen source to the hydrogen trap.
[0053] Thirdly, the present invention proposes an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0054] Memory, which stores computer programs;
[0055] The processor, when executing the program stored in the memory, implements the hydrogen system simulation optimization method.
[0056] Fourthly, the present invention provides a computer-readable storage medium storing a computer program, which, when run, executes the hydrogen system simulation optimization method.
[0057] The beneficial effects of this invention are:
[0058] The hydrogen system simulation and optimization method proposed in this invention integrates the pinch analysis method, which has engineering advantages, with the superstructure method, which has theoretical analysis advantages. It enables graphical modeling and rapid analysis of optimization schemes for hydrogen systems, helping to reduce energy consumption and production costs for enterprises. Furthermore, when constructing the hydrogen system optimization model corresponding to the superstructure, this invention considers the compressor equipment of the hydrogen system. By constraining the optimization model with the compressor's basic and power constraints, and incorporating the compressor's electricity costs into the objective function, it can more realistically reflect the operating rules of the hydrogen system, thereby better achieving efficient operation and cost minimization of the hydrogen system.
[0059] This invention solves the problem of online monitoring and simulation optimization of hydrogen systems. It can accurately simulate the material and elemental balance of hydrogen sources and hydrogen traps in a hydrogen system. Without altering the hydrogen network equipment and pipeline layout of the refinery, it can achieve a more rational matching of hydrogen sources and hydrogen traps, reducing pure hydrogen consumption and hydrogen fuel gas emissions, and significantly improving the technical level of hydrogen system optimization and scheduling in refineries. Applying online monitoring and simulation optimization of hydrogen systems in integrated refining and chemical enterprises with a processing capacity of 10 million tons / year can minimize hydrogen supply costs, reducing hydrogen system operating costs by 3%–5% and generating annual optimization benefits of 2.8 million to 4.5 million yuan. This can significantly reduce carbon emissions in refining and chemical enterprises and promote their green and low-carbon development.
[0060] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description
[0061] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0062] Figure 1 A schematic diagram of a hydrogen system provided in an embodiment of the present invention is shown;
[0063] Figure 2 A schematic diagram of another hydrogen system provided for an embodiment of the present invention is shown;
[0064] Figure 3 A flowchart illustrating a hydrogen system simulation optimization method provided by an embodiment of the present invention is shown.
[0065] Figure 4 for Figure 3 A detailed flowchart of step S204 in the illustrated embodiment;
[0066] Figure 5 A detailed flowchart illustrating another hydrogen system simulation optimization method provided in this embodiment of the invention;
[0067] Figure 6 This is a schematic diagram of the structure of a hydrogen system simulation and optimization system provided in an embodiment of the present invention;
[0068] Figure 7This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0069] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0070] Figure 1 This is a schematic diagram of a hydrogen system provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the hydrogen system includes at least one hydrogen source and at least one hydrogen trap, with the hydrogen source connected to the hydrogen trap and hydrogen flowing from the hydrogen source to the hydrogen trap. In constructing the superstructure of the hydrogen system, it is assumed that any hydrogen source provides hydrogen to any hydrogen trap, serving as the initial superstructure of the hydrogen system.
[0071] Specifically, a hydrogen source is a device in a hydrogen system that generates hydrogen, such as a hydrogen production unit, a reforming unit, an ethylene unit, or a hydrogenation unit; a hydrogen trap is a device in a hydrogen system that stores or consumes hydrogen, such as a hydrocracking unit, a diesel hydrogenation unit, a residue hydrogenation unit, a gasoline hydrogenation unit, or other hydrogen-consuming units or fuel systems.
[0072] Figure 2 This is a schematic diagram of another hydrogen system provided in an embodiment of the present invention, as shown below. Figure 2 As shown, the hydrogen system includes at least one hydrogen source and at least one compressor. Figure 2 (Taking a compressor as an example) and at least one hydrogen trap, wherein the hydrogen source is directly connected to the hydrogen trap, or the hydrogen source is connected to the hydrogen trap through the compressor.
[0073] Specifically, the compressor compresses the hydrogen produced by the hydrogen source to an appropriate pressure level so that it can be delivered to the point of use, such as the hydrogen trap. The hydrogen source and the hydrogen trap can be connected directly or through a compressor. A direct connection means that the hydrogen can flow directly from the hydrogen source to the hydrogen trap, while a connection through a compressor means that the hydrogen source compresses the hydrogen and then delivers it to the hydrogen trap.
[0074] In addition, the hydrogen system may also include at least one purification device. Figure 2 Taking a purification device as an example, it is used to remove impurities from hydrogen. The hydrogen source is connected to the hydrogen trap through the purification device, or the hydrogen output from the compressor is connected to the hydrogen trap through the purification device.
[0075] Figure 3This is a flowchart illustrating a hydrogen system simulation optimization method provided in an embodiment of the present invention, applicable to, for example... Figure 1 The hydrogen system shown. (As shown) Figure 3 As shown, the simulation and optimization method for this hydrogen system includes:
[0076] Step S201: Obtain the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap in the hydrogen system.
[0077] Specifically, sensors and other devices can be installed at each hydrogen source and each hydrogen trap in the hydrogen system to collect hydrogen concentration (also known as hydrogen purity) and hydrogen flow rate. If the collected hydrogen concentration and flow rate data are abnormal, data correction and other processing can be performed.
[0078] Step S202: Determine the hydrogen pinch point based on the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap. Specifically, this can be determined according to the following steps:
[0079] The hydrogen sources were sorted in descending order of their hydrogen concentration, and the hydrogen hydrazine sources were sorted in descending order of their hydrogen concentration.
[0080] Plot the hydrogen concentration on the ordinate and the hydrogen flow rate on the abscissa to obtain composite curves of hydrogen flow rate and purity in the hydrogen source, as well as composite curves of hydrogen flow rate and purity required for hydrazine hydrogen.
[0081] The composite curves of hydrogen flow rate and purity in the hydrogen source, as well as the composite curves of hydrogen flow rate and purity required for the hydrogen trap, are converted into a residual hydrogen quantity diagram, and the hydrogen pinch point is calculated.
[0082] Step S203: Optimize the initial hydrogen system superstructure based on the hydrogen pinch points to obtain the optimized hydrogen system superstructure.
[0083] Specifically, the superstructure of the hydrogen system is optimized based on the hydrogen pinch point, that is, the matching relationship between the hydrogen source and the hydrogen trap is reconfigured, and which hydrogen sources provide hydrogen to which hydrogen traps is re-optimized.
[0084] In some embodiments, the initial hydrogen system superstructure refers to any hydrogen source providing hydrogen to any hydrogen trap. In this case, step S203 includes: processing the initial hydrogen system superstructure according to a preset optimization rule to obtain an optimized hydrogen system superstructure.
[0085] The preset optimization rules include at least one of the following:
[0086] 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 combustion system.
[0087] The hydrogen trap below the hydrogen pinch point is matched with the hydrogen source below the hydrogen pinch point, and the hydrogen hydrazine below the hydrogen pinch point does not consume the hydrogen of the utility.
[0088] Specifically, in the initial hydrogen system superstructure, any hydrogen source provides hydrogen to any hydrogen trap, as can be seen from... Figure 1 As shown, after calculating the hydrogen pinch point, hydrogen sources above the pinch point can be matched with hydrogen traps above the pinch point. Hydrogen from hydrogen sources above the pinch point is not sent to the gas system. Due to their purity and flow characteristics, hydrogen sources above the pinch point can usually meet the higher requirements of hydrogen traps, therefore they should be preferentially matched with hydrogen traps above the pinch point. These hydrogen sources should not be sent to the gas system as low-value fuel to avoid wasting their potential high-purity hydrogen resources. Instead, they should be recycled into the hydrogen-hydrogen system to maximize hydrogen utilization efficiency. Simultaneously, hydrogen traps below the pinch point are matched with hydrogen sources below the pinch point. Hydrogen traps below the pinch point do not consume hydrogen from utilities, ensuring efficient operation and energy utilization of the hydrogen system. Due to their lower purity and flow requirements, hydrogen traps below the pinch point can usually be met by hydrogen sources below the pinch point. These hydrogen sources may include some low-purity hydrogen streams or purified hydrogen. In this case, the hydrogen trap below the hydrogen pinch point should not consume hydrogen from utilities (i.e., purchased or newly produced high-purity hydrogen) to avoid increasing the system's operating costs. Instead, it should be matched with the hydrogen source below the hydrogen pinch point to maximize resource utilization.
[0089] Step S204: For the optimized hydrogen system superstructure, construct a corresponding hydrogen system optimization model; the objective function of the hydrogen system optimization model is to minimize the hydrogen supply cost, and the constraints include at least the basic constraints of the hydrogen source and hydrogen trap, the relationship constraints between the hydrogen flow rate and hydrogen concentration of the hydrogen trap, and the relationship constraints between the hydrogen flow rate and hydrogen concentration of the hydrogen source.
[0090] Specifically, based on the optimized hydrogen system superstructure, a mathematical model is established to describe the operation and optimization objectives of the hydrogen system. The objective function of this mathematical model is to minimize the hydrogen supply cost. The constraints include basic constraints on the hydrogen source and hydrogen trap, such as hydrogen trap constraints, hydrogen source constraints, impurity concentration constraints in the hydrogen stream, pressure constraints between the hydrogen source and hydrogen trap, as well as constraints on the relationship between hydrogen flow rate and hydrogen concentration in the hydrogen trap and the relationship between hydrogen flow rate and hydrogen concentration in the hydrogen source.
[0091] Step S205: Determine the initial value of hydrogen flow rate from hydrogen source to hydrogen trap, input the initial value of hydrogen flow rate into the hydrogen system optimization model, and output the optimized value of hydrogen flow rate from hydrogen source to hydrogen trap.
[0092] Specifically, the hydrogen flow rate from the hydrogen source to the corresponding hydrogen trap can be randomly initialized, and this initial value can be input into the aforementioned hydrogen system optimization model to obtain the final optimized hydrogen flow rate from the hydrogen source to the corresponding hydrogen trap. This optimization process can be solved using the commercial optimization solver GAMS, or based on open-source programs using Python programming. The main content involves solving the superstructure model to calculate the matching relationship between the hydrogen source and hydrogen trap under the objective function and constraints, i.e., how much hydrogen flow rate the hydrogen source inputs to the matched hydrogen trap.
[0093] The hydrogen system simulation and optimization method provided in this invention integrates the pinch analysis method, which has engineering advantages, and the superstructure method, which has theoretical analysis advantages. It can realize graphical modeling and quickly analyze the optimization scheme of the hydrogen system, which helps to reduce enterprise energy consumption and production costs and achieves good technical results.
[0094] Based on the aforementioned embodiments, Figure 4 for Figure 3 A detailed flowchart of step S204 in the illustrated embodiment is shown below. Figure 4 As shown, step S204 includes the following steps:
[0095] Step S2041: Determine the basic constraints of the hydrogen source and hydrogen trap. The basic constraints of the hydrogen source and hydrogen trap include at least one of the following: hydrogen trap constraint, hydrogen source constraint, impurity concentration constraint in the hydrogen stream, and pressure constraint between the hydrogen source and hydrogen trap.
[0096] ①The hydrogen trap constraint conditions include hydrogen flow rate constraint conditions and hydrogen concentration constraint conditions.
[0097] Specifically, the hydrogen flow rate constraint condition for the hydrogen trap means that the total hydrogen flow rate from all hydrogen sources matched with each hydrogen trap to the corresponding hydrogen trap is not less than the hydrogen flow rate of that hydrogen trap; the hydrogen concentration constraint condition for the hydrogen trap means that the total hydrogen concentration from all hydrogen sources matched with each hydrogen trap to the corresponding hydrogen trap is not less than the hydrogen concentration of that hydrogen trap.
[0098] In some embodiments, the calculation formula corresponding to the hydrogen flow rate constraint condition of the hydrogen trap is as follows:
[0099]
[0100] The calculation formula corresponding to the hydrogen concentration constraint condition of the hydrogen trap is as follows:
[0101]
[0102] Among them, F i,j F represents the hydrogen flow rate from the i-th hydrogen source to the j-th hydrogen trap; jy represents the hydrogen flow rate of the j-th hydrogen trap (the hydrogen flow rate at the inlet of the j-th hydrogen trap); i y represents the hydrogen concentration of the i-th hydrogen source; j F represents the hydrogen concentration of the j-th hydrogen trap; m represents the number of hydrogen sources in the hydrogen system. When the i-th hydrogen source and the j-th hydrogen trap are determined to be mismatched according to preset optimization rules, F... i,j =0.
[0103] For example, suppose a hydrogen system has 5 hydrogen sources and 3 hydrogen traps, where hydrogen sources 1, 2, and 3 supply hydrogen to hydrogen trap 1, and hydrogen sources 4 and 5 supply hydrogen to hydrogen traps 2 and 3 respectively. Then the hydrogen flow constraints for the hydrogen traps include:
[0104] For hydrogen trap 1, the total hydrogen flow rate from hydrogen sources 1, 2, and 3 to hydrogen trap 1 must be greater than or equal to the hydrogen flow rate requirement of hydrogen trap 1.
[0105] For hydrogen trap 2, the total hydrogen flow rate from hydrogen sources 4 and 5 to hydrogen trap 2 must be greater than or equal to the hydrogen flow rate requirement of hydrogen trap 2.
[0106] For hydrogen trap 3, the total hydrogen flow rate from hydrogen sources 4 and 5 to hydrogen trap 3 must be greater than or equal to the hydrogen flow rate requirement of hydrogen trap 3.
[0107] The hydrogen flow rate constraints for the hydrogen trap include:
[0108] For hydrogen trap 1, the total hydrogen concentration flowing from hydrogen sources 1, 2, and 3 to hydrogen trap 1 must be greater than or equal to the hydrogen concentration requirement of hydrogen trap 1.
[0109] For hydrogen trap 2, the total hydrogen concentration flowing from hydrogen sources 4 and 5 to hydrogen trap 2 must be greater than or equal to the hydrogen concentration requirement of hydrogen trap 2.
[0110] For hydrogen trap 3, the total hydrogen concentration flowing from hydrogen sources 4 and 5 to hydrogen trap 3 must be greater than or equal to the hydrogen concentration requirement of hydrogen trap 3.
[0111] ②The hydrogen source constraints include hydrogen source flow rate constraints and hydrogen source concentration constraints;
[0112] Specifically, the hydrogen source hydrogen flow rate constraint condition means that the total hydrogen flow rate of all hydrogen traps matched to each hydrogen source is not greater than the upper limit of the hydrogen flow rate of that hydrogen source; the hydrogen source hydrogen concentration constraint condition means that the total hydrogen concentration of all hydrogen traps matched to each hydrogen source is not greater than the upper limit of the hydrogen concentration of that hydrogen source.
[0113] In some embodiments, the calculation formula corresponding to the hydrogen source hydrogen flow rate constraint is as follows:
[0114]
[0115] The calculation formula corresponding to the hydrogen source hydrogen concentration constraint condition is as follows:
[0116]
[0117] Where m represents the number of hydrogen sources in the hydrogen system; F i,j F represents the hydrogen flow rate from the i-th hydrogen source to the j-th hydrogen trap; i,max y represents the upper limit of hydrogen flow rate for the i-th hydrogen source; i y represents the hydrogen concentration of the i-th hydrogen source; i,max This represents the upper limit of the hydrogen concentration for the i-th hydrogen source.
[0118] ③ The impurity concentration constraint in the hydrogen stream refers to the fact that the total impurity concentration of all hydrogen sources flowing into the corresponding hydrogen trap matched with each hydrogen trap is not greater than the impurity concentration of that hydrogen trap.
[0119] ④ The impurity concentration constraint in the hydrogen stream is to ensure that the total impurity concentration received by each hydrogen trap from all its matched hydrogen sources does not exceed the impurity concentration limit of the hydrogen trap. In some embodiments, the calculation formula corresponding to the impurity concentration constraint in the hydrogen stream is as follows:
[0120]
[0121] Where m represents the number of hydrogen sources in the hydrogen system; F i,j C represents the hydrogen flow rate from the i-th hydrogen source to the j-th hydrogen trap; i C represents the impurity concentration of the i-th hydrogen source; j This represents the impurity concentration of the j-th hydrogen trap.
[0122] The pressure constraint condition between the hydrogen source and the hydrogen trap means that the pressure of each hydrogen source flowing into the corresponding hydrogen trap is not less than the pressure of the hydrogen trap.
[0123] The pressure constraint between the hydrogen source and the hydrogen trap is to ensure that the pressure flowing from each hydrogen source to its matched hydrogen trap is not lower than the pressure requirement of the hydrogen trap. In some embodiments, the calculation formula corresponding to the pressure constraint between the hydrogen source and the hydrogen trap is as follows:
[0124] P i,j ≥P j (6)
[0125] Among them, P i,j P represents the pressure at which the i-th hydrogen source flows to the j-th hydrogen trap; j This represents the pressure of the j-th hydrogen trap.
[0126] Specifically, the hydrogen trap constraints are to ensure that the hydrogen at the inlet of each hydrogen trap meets the limitations on the total hydrogen flow rate and hydrogen concentration. The hydrogen flow rate constraint ensures that the total hydrogen flow rate received by each hydrogen trap from its matched hydrogen source is not less than the hydrogen flow rate requirement of that hydrogen trap; the hydrogen concentration constraint ensures that the total hydrogen concentration received by each hydrogen trap from its matched hydrogen source is not less than the required hydrogen concentration of the hydrogen trap.
[0127] Step S2042: Determine the processing amount, hydrogen consumption coefficient, and first relationship between hydrogen concentration and hydrogen flow rate for each hydrogen trap, as the constraint condition for the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen trap.
[0128] Specifically, for each type of hydrogen trap device, the hydrogen consumption coefficient can be regressed based on its historical processing volume, historical hydrogen concentration, and corresponding historical hydrogen flow rate. Based on this, a mathematical relationship model between hydrogen flow rate and hydrogen concentration for each type of hydrogen trap device can be constructed, namely the first relationship.
[0129] In some embodiments, the first relation is as follows:
[0130]
[0131] Among them, F j This represents the hydrogen flow rate of the j-th hydrogen trap (the hydrogen flow rate at the inlet of the j-th hydrogen trap); Coff represents the processing quantity of the j-th hydrogen trap; HSKj y represents the hydrogen consumption coefficient of the j-th hydrogen trap. j This represents the hydrogen concentration in the j-th hydrogen trap.
[0132] Step S2043: Determine the processing capacity, hydrogen production coefficient, and second relationship between hydrogen concentration and hydrogen flow rate for each hydrogen source, as a constraint condition on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen source.
[0133] Specifically, for each type of hydrogen source device, the hydrogen production coefficient can be regressed based on its historical processing volume, historical hydrogen concentration, and corresponding historical hydrogen flow rate. Based on this, a mathematical relationship model between hydrogen flow rate and hydrogen concentration for each type of hydrogen source device can be constructed, namely the second relationship.
[0134] In some embodiments, the second relation is as follows:
[0135] F i =F USRi *Coff HSRi / y i (8)
[0136] Among them, F i F represents the hydrogen flow rate of the i-th hydrogen source; USRiCoff represents the processing quantity of the i-th hydrogen source; HSRi y represents the hydrogen production coefficient of the i-th hydrogen source; i This represents the hydrogen concentration of the i-th hydrogen source.
[0137] Step S2044: Determine the hydrogen system optimization model based on the hydrogen flow cost, additional fixed investment cost, and additional fuel consumption cost between the hydrogen traps matched to each hydrogen source flow direction.
[0138] Specifically, the objective function can be a combination of hydrogen flow cost, new fixed investment cost, and new gas consumption cost.
[0139] In some embodiments, the calculation formula corresponding to the objective function is as follows:
[0140]
[0141] Where MinC represents the minimum cost of hydrogen supply, and C represents the cost of hydrogen supply; F i,j This represents the hydrogen flow rate from the i-th hydrogen source to the j-th hydrogen trap; n represents the number of hydrogen traps in the hydrogen system; m represents the number of hydrogen sources in the hydrogen system; Cost i Cost represents the price of hydrogen from the i-th hydrogen source. s For the cost of new fixed investment projects, s represents the cost of the s-th new fixed investment; F fuel,t C represents the newly added t-th fuel gas volume, where t represents the number of newly added fuel streams; fuel This indicates the price of fuel gas.
[0142] Based on the aforementioned embodiments, an optimization model for the hydrogen system corresponding to the superstructure of the hydrogen system is established, which involves determining the objective function, setting constraints, and the relationship between various parameters, in order to achieve efficient operation and cost minimization of the subsequent hydrogen system.
[0143] Based on the aforementioned embodiments, Figure 5 This is a flowchart illustrating another simulation optimization method provided in an embodiment of the present invention, applied to, for example... Figure 2 The hydrogen system shown. (As shown) Figure 5 As shown, the method includes the following steps:
[0144] Step S401: Obtain the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap in the hydrogen system.
[0145] Step S402: Determine the hydrogen pinch point based on the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap.
[0146] Step S403: Optimize the initial hydrogen system superstructure based on the hydrogen pinch points to obtain the optimized hydrogen system superstructure.
[0147] Step S404: For the optimized hydrogen system superstructure, determine the basic constraints of the hydrogen source and hydrogen trap for the corresponding hydrogen system optimization model. The basic constraints of the hydrogen source and hydrogen trap include at least one of the following: hydrogen trap constraint, hydrogen source constraint, impurity concentration constraint in the hydrogen stream, and pressure constraint between the hydrogen source and hydrogen trap.
[0148] Step S405: Determine the processing amount, hydrogen consumption coefficient, and first relationship between hydrogen concentration and hydrogen flow rate for each hydrogen trap, as the constraint condition for the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen trap.
[0149] Step S406: Determine the processing capacity, hydrogen production coefficient, and second relationship between hydrogen concentration and hydrogen flow rate for each hydrogen source, as a constraint condition on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen source.
[0150] Step S407: Determine the basic constraints and power constraints of the compressor.
[0151] The basic constraints of the compressor include a compressor hydrogen flow rate constraint and a compressor hydrogen purity constraint. The compressor hydrogen flow rate constraint means that the total hydrogen flow rate of all hydrogen sources flowing to the compressor is not greater than the preset upper limit of the compressor's inlet flow rate. The compressor hydrogen purity constraint means that the total hydrogen concentration of all hydrogen sources flowing to the compressor is not less than the preset lower limit of the compressor's gas concentration. The compressor power constraint is determined based on a third relationship between the hydrogen flow rate of the hydrogen trap, the hydrogen concentration of the hydrogen trap, the compressor inlet pressure, the compressor outlet pressure, and the compressor power.
[0152] Step S408: Determine the hydrogen system optimization model based on the hydrogen flow cost, compressor electricity cost, new fixed investment cost, and new fuel consumption cost between the hydrogen traps matched to each hydrogen source flow direction.
[0153] Step S409: Determine the initial value of the hydrogen flow rate from the hydrogen source to the hydrogen trap, input the initial value of the hydrogen flow rate into the hydrogen system optimization model, and output the optimized value of the hydrogen flow rate from the hydrogen source to the hydrogen trap.
[0154] It should be noted that steps S401-S403, S404-S406, and S409 in this embodiment are similar to steps S201-S203, S2041-S2043, and S205 in the aforementioned embodiment, and will not be repeated here.
[0155] The difference from the previous embodiment is that, considering that the hydrogen system also includes a compressor, an optimization model of the hydrogen system corresponding to the hydrogen system including the compressor is constructed. That is, the hydrogen system also includes at least one compressor. The hydrogen source is directly connected to the hydrogen trap, or the hydrogen source is connected to the hydrogen trap through the compressor. Therefore, it is necessary to determine the basic constraints and power constraints of the compressor (i.e., step S407).
[0156] 1) The basic constraints of the compressor include the compressor hydrogen flow rate constraint and the compressor hydrogen purity constraint. Specifically, the basic constraints of the compressor limit the hydrogen flow rate and hydrogen concentration of each compressor. The compressor hydrogen flow rate constraint limits the total hydrogen flow rate flowing into the compressor to no more than the upper limit of the compressor's intake volume. The compressor hydrogen purity constraint ensures that the total hydrogen concentration flowing into the compressor is not lower than the lower limit of the compressor's gas concentration.
[0157] The compressor hydrogen flow constraint condition means that the total hydrogen flow of all hydrogen sources flowing to the compressor is not greater than the preset upper limit of the compressor's intake volume.
[0158] In some embodiments, the calculation formula corresponding to the compressor hydrogen flow constraint is as follows:
[0159]
[0160] Among them, F i,Compr,k F represents the hydrogen flow rate from the i-th hydrogen source to the k-th compressor; Compr,k This represents the preset upper limit of the intake air volume of the k-th compressor, and m represents the number of hydrogen sources in the hydrogen system.
[0161] The hydrogen purity constraint for the compressor refers to the total hydrogen concentration of all hydrogen sources flowing to the compressor not being less than the compressor's preset lower limit for gas concentration.
[0162] In some embodiments, the calculation formula corresponding to the hydrogen purity constraint condition of the compressor is as follows:
[0163]
[0164] Among them, F i,Compr,k This represents the hydrogen flow rate from the i-th hydrogen source to the k-th compressor; y i The y represents the hydrogen concentration of the i-th hydrogen source; m represents the number of hydrogen sources in the hydrogen system; min,k This represents the preset lower limit value of the gas concentration for the k-th compressor.
[0165] 2) The compressor power constraint is determined based on the third relationship between the hydrogen flow rate of the hydrogen trap, the hydrogen concentration of the hydrogen trap, the compressor inlet pressure, the compressor outlet pressure and the compressor power.
[0166] In some embodiments, the third relation is as follows:
[0167]
[0168] Among them, P compr,k F represents the power of the k-th compressor. k y represents the hydrogen flow rate of the k-th compressor. k P represents the hydrogen concentration of the k-th compressor. outk P represents the outlet pressure of the k-th compressor. ink η represents the inlet pressure of the k-th compressor. k Indicates the efficiency of the kth compressor, α, β, γ, δ, ε, ζ, μ, θ, κ, λ, ν, ξ, χ, ψ, ω, τ, A, B, and C are correlation coefficients, which can be obtained by regression analysis using a large amount of sample data generated by process simulation software. Where F... k y can be obtained from the sum of the hydrogen flow rates of all hydrogen traps to which the compressor flows. k The concentration of hydrogen flowing from the compressor to each hydrogen trap can be determined.
[0169] In some embodiments, the calculation formula corresponding to the objective function is as follows:
[0170]
[0171] Where MinC represents the minimum cost of hydrogen supply, C represents the cost of hydrogen supply; n represents the number of hydrogen traps in the hydrogen system, and m represents the number of hydrogen sources in the hydrogen system; F i,j Cost represents the hydrogen flow rate from the i-th hydrogen source to the j-th hydrogen trap. i P represents the price of hydrogen from the i-th hydrogen source; compr,k This represents the power of the k-th compressor, where k represents the number of newly added compressors; Cost e Electricity price for the compressor; Cost s For fixed investment project costs, s represents the number of newly added s-th fixed investment projects; F fuel,t C represents the amount of newly added fuel gas, denoted as t-th. fuel This indicates the price of fuel gas.
[0172] Based on the aforementioned embodiments, considering that the hydrogen system also includes compressor equipment, when constructing the corresponding hydrogen system optimization model, the basic constraints and power constraints of the compressor are taken into account, and the electricity cost of the compressor is included in the objective function, so as to achieve efficient operation and cost minimization of the subsequent hydrogen system.
[0173] Based on the same inventive concept, this invention also proposes a hydrogen system simulation and optimization system, the structural schematic of which is shown below. Figure 6 As shown, it includes:
[0174] The data acquisition module 601 is used to acquire the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap in the hydrogen system;
[0175] The pinch analysis module 602 is used to determine the hydrogen pinch based on the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap.
[0176] The superstructure graphics module 603 is used to optimize the initial hydrogen system superstructure based on the hydrogen pinch points to obtain the optimized hydrogen system superstructure.
[0177] The superstructure optimization module 604 is used to construct a corresponding hydrogen system optimization model for the optimized hydrogen system superstructure. The objective function of the hydrogen system optimization model is to minimize the hydrogen supply cost. The constraints include at least the basic constraints of the hydrogen source and hydrogen trap, the relationship constraints between the hydrogen flow rate and hydrogen concentration of the hydrogen trap, and the relationship constraints between the hydrogen flow rate and hydrogen concentration of the hydrogen source.
[0178] The solver module 605 is used to determine the initial value of the hydrogen flow rate from the hydrogen source to the hydrogen trap, input the initial value of the hydrogen flow rate into the hydrogen system optimization model, and output the optimized value of the hydrogen flow rate from the hydrogen source to the hydrogen trap.
[0179] It should be noted that the above modules can be deployed on an online platform in a system integration manner, thereby developing an online simulation and optimization system for hydrogen systems with functions such as data integration, data correction, custom graphical modeling, superstructure optimization model establishment, hydrogen network simulation, efficient solution, and pinch analysis.
[0180] The execution steps of the data acquisition module, grip analysis module, superstructure graphics module, superstructure optimization module, and solution module are similar to those described above. Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process and corresponding beneficial effects of the hydrogen system simulation optimization system described above can be referred to the corresponding process in the foregoing method examples, and will not be described in detail here. Another exemplary embodiment of the present invention provides an electronic device. For example... Figure 7 As shown, the electronic device includes at least one processor 701, at least one communication interface 702, at least one memory 703, and at least one communication bus 704; wherein the processor 701, communication interface 702, and memory 703 communicate with each other through the communication bus 704.
[0181] Memory 703 stores computer programs;
[0182] When the processor 701 executes the program stored in the memory 703, it implements the hydrogen system simulation optimization method provided in any of the foregoing method embodiments.
[0183] Optionally, the communication interface can be an interface of a communication module, such as the interface of a GSM module; the processor may be a CPU, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The memory may include high-speed RAM and may also include non-volatile memory, such as at least one disk storage device. The memory stores a program, and the processor calls the program stored in the memory to execute some or all of the above-described method embodiments.
[0184] Based on the same inventive concept, embodiments of the present invention also provide a computer-readable storage medium storing a computer program. When the computer program is run, it implements the steps of the hydrogen system simulation optimization method described above when executed by a processor. Optionally, the storage medium may be a non-transitory computer-readable storage medium, such as a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0185] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for simulating and optimizing a hydrogen system, characterized in that, Includes the following steps: Obtain the hydrogen concentration and hydrogen flow rate for each hydrogen source and each hydrogen trap in the hydrogen system; The hydrogen pinch point is determined based on the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap. The initial hydrogen system superstructure is optimized based on the hydrogen pinch points to obtain the optimized hydrogen system superstructure. For the optimized hydrogen system superstructure, a corresponding hydrogen system optimization model is constructed; Determine the initial value of the hydrogen flow rate from the hydrogen source to the hydrogen trap, input the initial value of the hydrogen flow rate into the hydrogen system optimization model, and output the optimized value of the hydrogen flow rate from the hydrogen source to the hydrogen trap.
2. The hydrogen system simulation and optimization method according to claim 1, characterized in that, Determining the hydrogen pinch point based on the hydrogen concentration and flow rate of each hydrogen source and each hydrogen trap includes the following steps: The hydrogen sources are sorted in descending order of their hydrogen concentration, and the hydrogen hydrazines are sorted in descending order of their required hydrogen concentration. Plot the hydrogen concentration on the ordinate and the hydrogen flow rate on the abscissa to obtain composite curves of hydrogen flow rate and purity in the hydrogen source, as well as composite curves of hydrogen flow rate and purity required for hydrazine hydrogen. The composite curves of hydrogen flow rate and purity in the hydrogen source, as well as the composite curves of hydrogen flow rate and purity required for the hydrogen trap, are converted into a residual hydrogen quantity diagram, and the hydrogen pinch point is calculated.
3. The hydrogen system simulation and optimization method according to claim 1, characterized in that, The optimization of the initial hydrogen system superstructure based on the hydrogen pinch point to obtain the optimized hydrogen system superstructure specifically involves: The initial hydrogen system superstructure is processed according to a preset optimization rule to obtain an optimized hydrogen system superstructure. The preset optimization rules include 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 combustion system. The hydrogen trap below the hydrogen pinch point is matched with the hydrogen source below the hydrogen pinch point, and the hydrogen hydrazine below the hydrogen pinch point does not consume the hydrogen of the utility.
4. The hydrogen system simulation and optimization method according to claim 1, characterized in that, The objective function of the hydrogen system optimization model is to minimize the hydrogen supply cost. The constraints include at least the basic constraints of the hydrogen source and hydrogen trap, the constraint on the relationship between the hydrogen flow rate and hydrogen concentration in the hydrogen trap, and the constraint on the relationship between the hydrogen flow rate and hydrogen concentration in the hydrogen source.
5. The hydrogen system simulation and optimization method according to claim 1 or 4, characterized in that, The construction of a corresponding hydrogen system optimization model for the optimized hydrogen system superstructure includes the following steps: Determine the basic constraints of the hydrogen source and hydrogen trap; The processing amount, hydrogen consumption coefficient, and first relationship between hydrogen concentration and hydrogen flow rate of each hydrogen trap are determined as constraints on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen trap. Determine the processing capacity, hydrogen production coefficient, and second relationship between hydrogen concentration and hydrogen flow rate for each hydrogen source, as a constraint condition on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen source. The hydrogen system optimization model is determined based on the hydrogen flow cost, additional fixed investment cost, and additional fuel consumption cost between the hydrogen traps matched to each hydrogen source.
6. The hydrogen system simulation and optimization method according to claim 4, characterized in that, When the hydrogen system further includes a compressor, the constraints include at least the basic constraints of the hydrogen source and hydrogen trap, the constraint on the relationship between the hydrogen flow rate and hydrogen concentration of the hydrogen trap, the constraint on the relationship between the hydrogen flow rate and hydrogen concentration of the hydrogen source, the basic constraints of the compressor, and the power constraints of the compressor.
7. The hydrogen system simulation and optimization method according to claim 6, characterized in that, For the optimized hydrogen system superstructure, the construction of the corresponding hydrogen system optimization model includes the following steps: Determine the basic constraints of the hydrogen source and hydrogen trap; The processing amount, hydrogen consumption coefficient, and first relationship between hydrogen concentration and hydrogen flow rate of each hydrogen trap are determined as constraints on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen trap. Determine the processing capacity, hydrogen production coefficient, and second relationship between hydrogen concentration and hydrogen flow rate for each hydrogen source, as a constraint condition on the relationship between hydrogen flow rate and hydrogen concentration of the hydrogen source. Determine the basic constraints and power constraints of the compressor; The hydrogen system optimization model is determined based on the hydrogen flow cost, compressor electricity cost, additional fixed investment cost, and additional fuel consumption cost between each hydrogen source and the matched hydrogen trap.
8. The hydrogen system simulation and optimization method according to claim 4 or 6, characterized in that, The basic constraint conditions for the hydrogen source and hydrogen trap include at least one of the following: hydrogen trap constraint condition, hydrogen source constraint condition, impurity concentration constraint condition in the hydrogen stream, and pressure constraint condition between the hydrogen source and hydrogen trap; wherein... The hydrogen trap constraint conditions include hydrogen flow rate constraint conditions and hydrogen concentration constraint conditions. The hydrogen source constraints include hydrogen source flow rate constraints and hydrogen source concentration constraints. The impurity concentration constraint in the hydrogen stream means that the total impurity concentration of all hydrogen sources flowing to the corresponding hydrogen trap matched with each hydrogen trap is not greater than the impurity concentration of that hydrogen trap. The pressure constraint condition between the hydrogen source and the hydrogen trap means that the pressure of each hydrogen source flowing into the corresponding hydrogen trap is not less than the pressure of the hydrogen trap.
9. The hydrogen system simulation and optimization method according to claim 8, characterized in that, The hydrogen flow rate constraint condition for the hydrogen trap means that the total hydrogen flow rate from all hydrogen sources matched with each hydrogen trap to the corresponding hydrogen trap is not less than the hydrogen flow rate of that hydrogen trap. The hydrogen concentration constraint condition for the hydrogen trap means that the total hydrogen concentration of all hydrogen sources flowing to the corresponding hydrogen trap that are matched with each hydrogen trap is not less than the hydrogen concentration of that hydrogen trap. The hydrogen source hydrogen flow constraint condition means that the total hydrogen flow of all hydrogen traps matched to each hydrogen source is not greater than the upper limit of the hydrogen flow of that hydrogen source. The hydrogen source hydrogen concentration constraint condition means that the total hydrogen concentration of all hydrogen traps matched to each hydrogen source flow is not greater than the upper limit of the hydrogen concentration of that hydrogen source.
10. The hydrogen system simulation and optimization method according to claim 6 or 7, characterized in that, The basic constraints of the compressor include the compressor hydrogen flow rate constraint and the compressor hydrogen purity constraint.
11. The hydrogen system simulation and optimization method according to claim 10, characterized in that, The compressor hydrogen flow constraint condition means that the total hydrogen flow of all hydrogen sources flowing to the compressor is not greater than the compressor's preset upper limit of intake volume. The hydrogen purity constraint for the compressor refers to the total hydrogen concentration of all hydrogen sources flowing to the compressor not being less than the compressor's preset lower limit for gas concentration. The compressor power constraint is determined based on a third relationship between the hydrogen flow rate of the hydrogen trap, the hydrogen concentration of the hydrogen trap, the compressor inlet pressure, the compressor outlet pressure, and the compressor power.
12. A hydrogen system simulation and optimization system, characterized in that, include: The data acquisition module is used to acquire the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap in the hydrogen system; The pinch analysis module is used to determine the hydrogen pinch based on the hydrogen concentration and hydrogen flow rate of each hydrogen source and each hydrogen trap. The superstructure graphics module is used to optimize the initial hydrogen system superstructure based on the hydrogen pinch points to obtain the optimized hydrogen system superstructure. The superstructure optimization module is used to construct a corresponding hydrogen system optimization model for the optimized hydrogen system superstructure. The solution module is used to determine the initial value of the hydrogen flow rate from the hydrogen source to the hydrogen trap, input the initial value of the hydrogen flow rate into the hydrogen system optimization model, and output the optimized value of the hydrogen flow rate from the hydrogen source to the hydrogen trap.
13. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, which stores computer programs; A processor, when executing a program stored in a memory, implements the hydrogen system simulation optimization method according to any one of claims 1-11.
14. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is run, it performs the hydrogen system simulation optimization method as described in any one of claims 1-11.
Citation Information
Patent Citations
Hydrogen network reconstruction method based on random pinch points
CN114757126A