Method and system for optimizing feed gas supply scheme for multiple hydrogen production units in refinery
By establishing a production process model and optimizing the raw gas supply plan, the quantitative adjustment problem in the hydrogen production process of the refinery is solved, the cost is reduced and efficiency is improved, and efficient optimization of the hydrogen production process of the refinery is achieved.
Patent Information
- Application Number
- CN202111486621.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-07
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-12-07
AI Technical Summary
The prior art is difficult to achieve quantitative adjustment when optimizing the hydrogen production process in refineries, which increases costs and investment, and is difficult to deal with operational fluctuations in real time.
By establishing a production process model, obtaining raw material gas data of each hydrogen production device, calculating the hydrogen production ratio and unit hydrogen production cost, sorting and combining, optimizing the raw material gas supply plan, and ensuring hydrogen production and cost-effectiveness.
Quantitative adjustment of the hydrogen production process is achieved, reducing the cost of hydrogen production and improving efficiency, and avoiding the defect of increasing the device and cost.
Smart Images

Figure CN114297829B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of hydrogen production from fossil fuels, and specifically relates to a method for optimizing a raw gas supply scheme for multiple hydrogen production units in a refinery. Background Art
[0002] With the continuous expansion of crude oil processing scale, the demand for hydrogen resources in refineries has been increasing year by year. The cost of hydrogen production has become one of the main raw material costs for crude oil processing in refineries. Therefore, it is urgent to optimize the hydrogen production process to reduce the cost of hydrogen production and improve the efficiency of hydrogen production.
[0003] Hydrocarbon steam hydrogen production technology is the most widely used and mature technology in industry. The following methods are usually used to optimize the hydrogen production process:
[0004] (1) The proposal and improvement of the pre-conversion process: A pre-conversion reactor is added before the hydrogen production reactor, and a pre-conversion catalyst is used to complete the initial conversion of hydrogen production raw materials in a relatively low temperature and low energy consumption environment, thereby reducing the overall hydrogen production cost. The disadvantage is that a pre-conversion reaction environment needs to be added, which increases investment and transformation costs.
[0005] (2) Optimization of operating conditions: By appropriately reducing the water-carbon ratio, increasing the reaction temperature, and appropriately reducing the reaction pressure, the energy consumption and cost of the device can be reduced. The disadvantage is that the degree of adjustment cannot be quantified, and it depends more on the operating experience of the operator, and it is difficult to make real-time corrections as the device fluctuates.
[0006] (3) Equipment improvement, mainly including improvement of the main energy consumption points of the hydrogen production equipment, such as improvement of the structure of the reformer, improvement of the material of the reformer tube, selection of compressor, improvement of the pressure swing adsorption system, etc. The disadvantage is the increase in the cost of transformation and the loss of equipment shutdown during the improvement period.
[0007] Therefore, there is an urgent need for a hydrogen production process optimization method that can quantitatively adjust the operating parameters of the hydrogen production process without increasing the equipment and cost. Summary of the invention
[0008] 1. Technical issues to be resolved
[0009] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present application provides a method, system, equipment and storage medium for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery.
[0010] (II) Technical solution
[0011] In order to achieve the above objectives, this application adopts the following technical solutions:
[0012] In a first aspect, an embodiment of the present application provides a method for optimizing a feed gas supply scheme for multiple hydrogen production units in a refinery, wherein each hydrogen production unit uses natural gas and / or refinery dry gas as feed gas, adopts a hydrocarbon steam reforming method to produce gas, and purifies and refines hydrogen by a PSA method, the method comprising:
[0013] S10, obtaining refinery raw gas data, inputting the refinery raw gas data into a pre-established production process model, and obtaining the hydrogen production ratio and unit hydrogen production cost of each raw gas in each hydrogen production device;
[0014] S20, sorting the combinations of raw gas and hydrogen production device according to the unit hydrogen production cost to obtain a combination queue;
[0015] S30, in descending order of unit hydrogen production cost, based on the raw gas data, the hydrogen production ratio and the upper and lower limits of hydrogen production of each hydrogen production device, obtaining the actual supply of raw gas and the actual hydrogen production of each combination in the combination queue;
[0016] S40, according to the actual hydrogen production of each combination, select a combination from the combination queue in order of unit hydrogen production cost from low to high, until the total hydrogen production of the selected combination meets the preset hydrogen production requirement;
[0017] S50. The selected combination and the corresponding actual supply amount of raw gas are used as the optimization result of the raw gas supply plan for multiple hydrogen production units in the refinery.
[0018] Optionally, the refinery raw gas data includes potential raw gas types, fluid pressure before compression, supplyable upper limit of raw gas flow rate, potential raw gas composition, and raw gas flow constraints.
[0019] Optionally, before S10, the step further includes establishing the production process model; specifically including:
[0020] S01. For each raw material gas, obtain relevant operation history data of each hydrogen production device under each raw material gas, wherein the relevant operation history data includes LIMS analysis data, raw material composition thermodynamic data, and historical operation data;
[0021] The LIMS analysis data includes raw gas composition analysis data and medium-shift gas composition analysis data;
[0022] The raw material composition thermodynamic data include formation enthalpy and Gibbs free energy;
[0023] The historical operation data include feed gas flow, hydrogen production of the device, desalted water flow, water consumption of the reaction, desalted water temperature, steam supply, steam condensation temperature, converter temperature, intermediate converter temperature, fluid pressure after compression, fluid temperature before compression, and energy prices; the energy prices include electricity prices, natural gas prices, and desalted water prices;
[0024] S02, based on the reformer temperature, the intermediate converter temperature, the formation enthalpy and the Gibbs free energy, calculate the equilibrium constant K1 of hydrocarbons converted into carbon monoxide and hydrogen in the reformer, the equilibrium constant K2 of hydrocarbons converted into carbon dioxide and hydrogen, and the equilibrium constant K3 of carbon monoxide converted into carbon dioxide in the intermediate converter;
[0025] α1C n H m +β1H2O==γ1CO+δ1H2
[0026] α2C n H m +β2H2O==γ2CO2+δ2H2
[0027] α3CO+β3H2O==γ3CO2+δ3H2
[0028] Among them: α, β, γ, δ are the stoichiometric coefficients of the chemical equation respectively;
[0029] The calculation formula for each equilibrium constant at temperature T is as follows:
[0030]
[0031]
[0032]
[0033] Where: K T , K θ Denote the temperatures as T and T respectively. θ The equilibrium constant under the condition of G represents Gibbs free energy. represents the Gibbs free energy change of the reaction; H represents enthalpy, represents the reaction enthalpy change; R represents the gas volume constant, T represents the temperature in the reactor, T θ Represents the temperature under standard conditions (the default is 0℃ or 273.15K);
[0034] S03, based on the raw gas flow rate, the raw gas composition analysis data, the steam distribution amount, the equilibrium constants K1, K2, K3 and the law of conservation of matter in the reaction process, calculate and obtain the theoretical data of the medium-shifted gas composition;
[0035] S04, comparing the theoretical data of the medium-shift gas composition with the analytical data of the medium-shift gas composition, using partial least squares regression to fit the catalyst performance coefficients of the conversion reaction and the medium-shift reaction of the hydrogen production device; and determining the final device hydrogen production ratio based on the catalyst performance coefficient;
[0036] S05. Calculate the reaction enthalpy change based on the raw gas composition analysis data and the intermediate gas composition analysis data. The calculation formula is as follows:
[0037]
[0038]
[0039] ΔH=ΔH1+ΔH2
[0040] in: Respectively represent the amount of hydrocarbons and steam consumed during the reaction. n CO Respectively represent the amount of carbon dioxide and carbon monoxide produced during the reaction; represent the standard formation enthalpy of hydrocarbons, steam, carbon dioxide and carbon monoxide respectively; C represents the heat capacity at constant pressure; T, T θ represent the composition temperature and standard temperature respectively; ΔH1, ΔH2, and ΔH represent the reaction enthalpy change, the heat rise endothermicity of the reaction, and the reaction enthalpy change under standard conditions respectively;
[0041] S06, calculating the reaction heat loss based on the desalted water temperature, the desalted water flow rate, the reaction water consumption, and the steam distribution condensation temperature;
[0042] Q=[(T2-T1)×C H +H]×(F2-F1)×A
[0043] Where: Q represents heat loss, T2 and T1 represent steam condensing temperature and desalted water temperature respectively, C H represents the heat capacity of water, H represents the heat of vaporization, F2 and F1 represent the flow rate of desalted water and the amount of water consumed by the reaction respectively, and A represents the steam condensation rate;
[0044] S07. The calorific value of the decomposed gas is calculated based on the composition analysis data of the intermediate gas and the hydrogen production of the device. The thermal energy cost of the unit hydrogen production of each hydrogen production device under each feed gas is calculated based on the reaction enthalpy change, the reaction heat loss, the calorific value of the decomposed gas and the energy price. The hydrogen production ratio of each hydrogen production device under each feed gas is calculated based on the hydrogen production of the device and the feed gas flow rate:
[0045]
[0046]
[0047] S08. Based on the input data of the model and the thermal energy cost per unit of hydrogen production and the hydrogen production ratio, the unit hydrogen production cost is calculated by the following formula, and the unit hydrogen production cost and the hydrogen production ratio are used as model outputs;
[0048] Theoretical hydrogen production = theoretical amount of raw gas * hydrogen production ratio
[0049]
[0050]
[0051]
[0052]
[0053] Where: y i , γ i Respectively represent the proportion of the i-th component in the compressed fluid and the adiabatic index; γ mix represents the mixed adiabatic index of the compressed fluid; P2, P1, and ε represent the pressure before and after compression of the fluid and the compression ratio, respectively; n, R, and T1 represent the molar amount of the fluid, the gas volume constant, and the temperature before compression of the fluid, respectively; W represents the power consumption of this compression; and Cost represents the unit hydrogen production cost.
[0054] Optionally, S30 includes,
[0055] S31, supplying each type of raw gas to the corresponding hydrogen production device in order from low to high unit hydrogen production cost, and calculating the proportion of the actual supply amount of the raw gas to the theoretical amount of the raw gas for each hydrogen production device based on the raw gas data;
[0056] S32. Based on the upper and lower limits of hydrogen production of each hydrogen production device, the actual hydrogen production of each combination is calculated by the following formula:
[0057]
[0058] Where: HPR represents hydrogen production ratio, F max represents the supply upper limit of the raw gas flow rate, and f(x) represents the actual hydrogen production.
[0059] Optionally, after S50, the method further includes:
[0060] S60. According to the optimization result of the raw gas supply to multiple hydrogen production units in the refinery, the operating conditions are set, the operating condition data of the current hydrogen production unit is imported, and the optimized operation plan of the hydrogen production unit is obtained.
[0061] Optionally, the operating conditions are set, including: setting an upper limit on the types of potential raw gas available for each hydrogen production device and specifying the types, setting compressor frequency conversion parameters, setting an upper limit on the permissible hydrogen production of the device, setting a lower limit on the permissible hydrogen production of the device, and setting the thermal efficiency of the heating furnace.
[0062] Optionally, the current operating condition data of the hydrogen production device includes the total hydrogen production of each hydrogen production device, the amount of natural gas purchased, the raw gas flow rate of each hydrogen production device, the steam distribution amount, the reformer temperature, the intermediate converter temperature, and the PSA recovery rate.
[0063] In a second aspect, an embodiment of the present application provides a distributed control system for multiple hydrogen production units in a refinery, which sets system parameters through the method for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery as described in any one of the first aspects above.
[0064] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the method for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery as described in any one of the first aspects above are implemented.
[0065] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery as described in any one of the first aspects above are implemented.
[0066] (III) Beneficial effects
[0067] The beneficial effects of the present application are as follows: the present application proposes a method for optimizing the supply scheme of raw gas for multiple hydrogen production units in a refinery, the method comprising: S10, inputting the raw gas data of the refinery into a pre-established production process model, obtaining the hydrogen production ratio and unit hydrogen production cost of each raw gas in each hydrogen production unit; S20, sorting the raw gas and hydrogen production unit combinations according to the unit hydrogen production cost, and obtaining a combination queue; S30, calculating the actual supply of raw gas and the actual hydrogen production of each combination based on the raw gas data, the hydrogen production ratio and the upper and lower limits of hydrogen production of each hydrogen production unit in the order of unit hydrogen production cost from low to high; S40, selecting a combination from the combination queue in the order of unit hydrogen production cost from low to high, until the total hydrogen production of the selected combination meets the preset hydrogen production requirement; S50, taking the selected combination and the corresponding actual supply of raw gas as the scheme optimization result. The present optimization method does not increase the equipment and cost, and can quantitatively adjust the operating parameters of the hydrogen production process, thereby reducing the cost of hydrogen production and improving the efficiency of hydrogen production. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The present application is described with the aid of the following drawings:
[0069] Figure 1 This is a schematic flow chart of a method for optimizing a feed gas supply scheme for multiple hydrogen production units in a refinery in one embodiment of the present application;
[0070] Figure 2A schematic diagram of a hydrogen production process of a hydrogen production device in one embodiment of the present application;
[0071] Figure 3 A logic diagram for hydrogen production load allocation in one embodiment of the present application;
[0072] Figure 4 A hydrogen production cost effect diagram before and after using the method for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery in another embodiment of the present application;
[0073] Figure 5 It is a schematic diagram of the structure of an electronic device in another embodiment of the present application. DETAILED DESCRIPTION
[0074] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below in conjunction with the accompanying drawings through specific implementation methods. It is understood that the specific embodiments described below are only used to explain the relevant inventions, rather than to limit the invention. It should also be noted that the embodiments and features in the embodiments of this application can be combined with each other in the absence of conflict; for ease of description, only the parts related to the invention are shown in the accompanying drawings.
[0075] In a first aspect, the present application proposes a method for optimizing the feed gas supply scheme for multiple hydrogen production units in a refinery, wherein each hydrogen production unit uses natural gas and / or refinery dry gas as feed gas, adopts a hydrocarbon steam reforming method to produce gas, and purifies and refines the gas through a PSA method to produce hydrogen.
[0076] Embodiment 1
[0077] Figure 1 The figure shows a schematic flow chart of a method for optimizing a feed gas supply scheme for multiple hydrogen production units in a refinery in one embodiment of the present application. Figure 1 As shown, the method for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery in this embodiment includes:
[0078] S10, obtaining refinery raw gas data, inputting the refinery raw gas data into a pre-established production process model, and obtaining the hydrogen production ratio and unit hydrogen production cost of each raw gas in each hydrogen production device;
[0079] S20, sorting the combinations of raw gas and hydrogen production device according to the unit hydrogen production cost to obtain a combination queue;
[0080] S30, calculating the actual supply of raw gas and the actual hydrogen production of each combination in the combination queue in descending order of unit hydrogen production cost based on the raw gas data, the hydrogen production ratio and the upper and lower limit constraints of hydrogen production of each hydrogen production device;
[0081] S40, according to the actual hydrogen production of each combination, select a combination from the combination queue in order of unit hydrogen production cost from low to high, until the total hydrogen production of the selected combination meets the preset hydrogen production requirement;
[0082] S50. The selected combination and the corresponding actual supply amount of raw gas are used as the optimization result of the raw gas supply plan for multiple hydrogen production units in the refinery.
[0083] The method of the present application optimizes the raw material composition of the hydrogen production device and reasonably distributes the hydrogen production load of the hydrogen production device. It is a hydrogen production process optimization method that does not increase the equipment and cost and can quantitatively adjust the operating parameters of the hydrogen production process; this method can guide the operating parameters of the hydrogen production device, thereby reducing the hydrogen production cost and improving the hydrogen production efficiency.
[0084] The hydrogen production device in the present application adopts hydrocarbon steam hydrogen production technology, which adopts a pressure swing adsorption (PSA) purification process. The PSA process is simple and has a short process. The purity of industrial hydrogen can reach 99.9-99.999% according to actual requirements. Figure 2 Schematic diagram of the hydrogen production process of the hydrogen production device in one embodiment of the present application, such as Figure 2 As shown, the hydrogen production process includes: natural gas or refinery dry gas is compressed by a compressor and then initially heated by a heat exchanger / heating furnace, and then impurities such as sulfur, nitrogen, and chlorine are removed in a pre-reactor, and further heated by a heating furnace and mixed with the steam generated by the drum in a certain ratio before entering the converter for conversion reaction. The converted gas obtained after the conversion enters the intermediate converter for medium-temperature conversion reaction after heat exchange with the drum and obtains the intermediate converted gas. The intermediate converted gas is cooled after heat exchange with the raw gas through a heat exchanger and enters the 1# water separation tank for gas-liquid separation. The gaseous product is further water-cooled and air-cooled and then separated by gas and liquid in the 2# and 3# water separation tanks. Finally, the intermediate converted gas after steam stripping enters the pressure swing adsorption device (Pressure Swing Adsorption, PSA) for hydrogen purification, and finally obtains product hydrogen and analytical gas. In order to better understand the present invention, the following is an expanded description of each step in this embodiment.
[0085] In this embodiment, before S10, the process also includes establishing a production process model; specifically, the process includes:
[0086] S01. For each raw material gas, obtain relevant operation history data of each hydrogen production device under each raw material gas, wherein the relevant operation history data includes LIMS analysis data, raw material composition thermodynamic data and historical operation data;
[0087] The LIMS analysis data includes raw gas composition analysis data and medium-shift gas composition analysis data;
[0088] The raw material composition thermodynamic data include formation enthalpy and Gibbs free energy;
[0089] The historical operation data include feed gas flow, hydrogen production of the device, desalted water flow, water consumption of the reaction, desalted water temperature, steam supply, steam condensation temperature, converter temperature, intermediate converter temperature, fluid pressure after compression, fluid temperature before compression, and energy prices; the energy prices include electricity prices, natural gas prices, and desalted water prices;
[0090] S02, based on the reformer temperature, the intermediate converter temperature, the formation enthalpy and the Gibbs free energy, calculate the equilibrium constant K1 of hydrocarbons converted into carbon monoxide and hydrogen in the reformer, the equilibrium constant K2 of hydrocarbons converted into carbon dioxide and hydrogen, and the equilibrium constant K3 of carbon monoxide converted into carbon dioxide in the intermediate converter;
[0091] α1C n H m +β1H2O==γ1CO+δ1H2
[0092] α2C n H m +β2H2O==γ2CO2+δ2H2
[0093] α3CO+β3H2O==γ3CO2+δ3H2
[0094] Among them: α, β, γ, δ are the stoichiometric coefficients of the chemical equation respectively;
[0095] The calculation formula for each equilibrium constant at temperature T is as follows:
[0096]
[0097]
[0098]
[0099] Where: K T , K θ Denote the temperatures as T and T respectively. θ The equilibrium constant under the condition of G represents Gibbs free energy. represents the Gibbs free energy change of the reaction; H represents enthalpy, represents the reaction enthalpy change; R represents the gas volume constant, T represents the temperature in the reactor, T θ Represents the temperature under standard conditions (the default is 0°C or 273.15K).
[0100] S03. Based on the raw gas flow rate, the raw gas composition analysis data, the steam distribution amount, the equilibrium constants K1, K2, K3 and the law of conservation of matter in the reaction process, the theoretical data of the intermediate gas composition is calculated, and the calculation formula is as follows:
[0101]
[0102]
[0103]
[0104] Among them: p(CO), p(CO2), p(H2), p(C n H m ) and p(H2O) represent the partial pressures of carbon monoxide, hydrogen, hydrocarbons, and steam, respectively.
[0105] S04, comparing the theoretical data of the medium-shift gas composition with the analytical data of the medium-shift gas composition, using partial least squares regression to fit the catalyst performance coefficients of the conversion reaction and the medium-shift reaction of the hydrogen production device; determining the final device hydrogen production ratio based on the catalyst performance coefficient;
[0106] The partial least squares method belongs to the prior art, so this method will not be described in detail in this embodiment.
[0107] S05. Calculate the reaction enthalpy change based on the raw gas composition analysis data and the intermediate gas composition analysis data. The calculation formula is as follows:
[0108]
[0109]
[0110] ΔH=ΔH1+ΔH2
[0111] in: Respectively represent the amount of hydrocarbons and steam consumed during the reaction. n CO Respectively represent the amount of carbon dioxide and carbon monoxide produced during the reaction; represent the standard formation enthalpy of hydrocarbons, steam, carbon dioxide and carbon monoxide respectively; C represents the heat capacity at constant pressure; T, T θ represent the composition temperature and standard temperature respectively; ΔH1, ΔH2, and ΔH represent the reaction enthalpy change, the heat rise endothermicity of the reaction, and the reaction enthalpy change under standard conditions respectively;
[0112] S06, calculating the reaction heat loss based on the desalted water temperature, the desalted water flow rate, the reaction water consumption, and the steam distribution condensation temperature;
[0113] Q=[(T2-T1)×CH +H]×(F2-F1)×A
[0114] Where: Q represents heat loss, T2 and T1 represent steam condensing temperature and desalted water temperature respectively, C H represents the heat capacity of water, H represents the heat of vaporization, F2 and F1 represent the flow rate of desalted water and the amount of water consumed by the reaction respectively, and A represents the steam condensation rate;
[0115] S07. The calorific value of the analyzed gas is calculated based on the composition analysis data of the medium-transformed gas and the hydrogen production of the device. The thermal energy cost of the unit hydrogen production of each hydrogen production device under each feed gas is calculated based on the reaction enthalpy change, the reaction heat loss, the calorific value of the analyzed gas and the energy price. The hydrogen production ratio of each hydrogen production device under each feed gas is calculated based on the hydrogen production of the device and the feed gas flow rate:
[0116]
[0117]
[0118] S08. Based on the input data of the model and the thermal energy cost per unit of hydrogen production and the hydrogen production ratio, the unit hydrogen production cost is calculated by the following formula, and the unit hydrogen production cost and the hydrogen production ratio are used as model outputs;
[0119] Theoretical hydrogen production = theoretical amount of raw gas * hydrogen production ratio
[0120]
[0121]
[0122]
[0123]
[0124] Where: y i , γ i Respectively represent the proportion of the i-th component in the compressed fluid and the adiabatic index; γ mix represents the mixed adiabatic index of the compressed fluid; P2, P1, and ε represent the pressure before and after compression of the fluid and the compression ratio, respectively; n, R, and T1 represent the molar amount of the fluid, the gas volume constant, and the temperature before compression of the fluid, respectively; W represents the power consumption of this compression; and Cost represents the unit hydrogen production cost.
[0125] Specifically, the refinery raw gas data in S18 may include potential raw gas types, fluid pre-compression pressure, potential raw gas flow rate, potential raw gas composition, and raw gas flow rate constraints.
[0126] In S20 of this embodiment, the raw gas and hydrogen production device combinations are sorted according to the unit hydrogen production cost. The sorting order can be from low to high unit hydrogen production cost to obtain a sorted combination queue.
[0127] In this embodiment, S30 includes:
[0128] S31, supplying each type of raw gas to the corresponding hydrogen production device in order from low to high unit hydrogen production cost, and calculating the proportion of the actual supply amount of the raw gas to the theoretical amount of the raw gas for each hydrogen production device based on the raw gas data;
[0129] For example, each raw gas is supplied to the corresponding hydrogen production device in turn. For the first device supplied with a raw gas, if the theoretical hydrogen production is less than or equal to the upper limit of the hydrogen production of the device, the raw gas is all supplied to the first device; if the theoretical hydrogen production is greater than the upper limit of the hydrogen production of the device, the actual raw gas supply to the first device is calculated based on the upper limit of the hydrogen production of the device, and the remaining raw gas is supplied to the next hydrogen production device using this raw gas.
[0130] S32. Based on the upper and lower limits of hydrogen production of each hydrogen production device, the actual hydrogen production of each combination is calculated by the following formula:
[0131]
[0132] Where: HPR represents hydrogen production ratio, F max represents the supply upper limit of the raw gas flow rate, and f(x) represents the actual hydrogen production.
[0133] In this embodiment, S40 includes: considering the constraints on the flow rate of raw gas that can be supplied by the refinery and the upper and lower limits of hydrogen production of the device, and obtaining the hydrogen production step by step from low to high based on the unit hydrogen production costs of different combinations until the total hydrogen production meets the requirements of hydrogen production and consumption data.
[0134] The calculation formula is as follows:
[0135]
[0136] st
[0137]
[0138]
[0139] Among them: F i,j Represents the flow rate of the i-th type of raw gas supplied to the j-th hydrogen production unit; HPR i,j represents the hydrogen production ratio when the i-th type of raw gas is supplied to the j-th hydrogen production device; F i,max Represents the upper limit of the gas production of the i-th type of raw gas; F j,max 、Fj,min They respectively represent the upper limit and lower limit of hydrogen production of the jth hydrogen production device.
[0140] Figure 3 This is a hydrogen production load allocation logic diagram in one embodiment of the present application, such as Figure 3 As shown,
[0141] The unit hydrogen production cost under the current operating conditions is calculated based on the gas source data pool (potential feed gas flow constraints, feed gas LIMS analysis data, feed gas outlet pressure, etc.), the device operation data pool (device planned hydrogen production, desalted water flow, reaction water consumption, desalted water temperature, steam distribution condensation temperature, converter temperature, intermediate transformer temperature, electricity price, natural gas price, etc.), the thermodynamic data pool (enthalpy, Gibbs free energy, adiabatic coefficient, relative molecular weight of hydrocarbons, water, hydrogen, etc.) and the production process model. Based on the types and compositions of feed gases that can be provided by the upstream devices, the generation process model is used to calculate the unit hydrogen production cost of each potential feed gas when it is used as the hydrogen production feed gas for each hydrogen production device (forming a single hydrogen cost matrix).
[0142] When optimizing the scheme, it is first necessary to determine whether there is joint optimization (when the total hydrogen production of hydrogen production unit A and hydrogen production unit B is to be consistent with the total hydrogen production of the current actual production conditions, it is called the dual-unit joint optimization of unit A and unit B. If the number of units is greater than 2, it is called multi-unit joint optimization). If there is no joint optimization, single-unit optimization is performed. Otherwise, it is necessary to determine whether it is dual-unit joint optimization or multi-unit joint optimization. Different optimization strategies need to be selected according to different optimization prerequisites.
[0143] For single device optimization, the planned hydrogen production of each device is the hydrogen production of each device under the current actual working conditions. According to the single hydrogen cost matrix, the combination of the feed gas type and the hydrogen production device with the lowest unit hydrogen production cost is selected for optimization. The optimization process adopts the principle of step-by-step optimization:
[0144] (1) Calculation: Based on the type of feed gas and the operating data of the hydrogen production device, the hydrogen production ratio is calculated in combination with the production process model, and the formula "theoretical hydrogen production = theoretical feed gas amount * hydrogen production ratio" is used;
[0145] (2) Judgment: If the potential supply of raw gas*hydrogen production ratio is greater than / equal to the theoretical hydrogen production, the device uses all of this raw gas as the hydrogen production raw material, and deducts the upper limit of the corresponding amount of raw gas that can be supplied, and the device optimization is completed;
[0146] If the potential supply of raw gas*hydrogen production ratio is less than the theoretical hydrogen production, the raw gas type with the second lowest unit hydrogen production cost under the same hydrogen production device is selected from the single hydrogen cost matrix as the supplementary raw gas. The calculation process uses steps (3) and (4) for iterative calculation:
[0147] (3) Calculation of the first replenishment amount: Based on the type of supplementary raw gas and the operating data of the hydrogen production device, the supplementary hydrogen production ratio is calculated in combination with the production process model, and the amount of supplementary raw gas is calculated based on the formula "device hydrogen production plan-first raw gas hydrogen production = supplementary raw gas amount * supplementary hydrogen production ratio"; since the actual production process cannot be simply added up, the supplementary raw gas and the first raw gas are mixed based on the calculated amount of supplementary raw gas, the type of supplementary raw gas, the first raw gas amount and the first raw gas type, and the mixed raw gas amount and composition are calculated. The mixed hydrogen production ratio is calculated again in combination with the production process model to determine whether the planned hydrogen production of the device is met at this time.
[0148] (4) Calculation of secondary replenishment amount: If step (3) is still not satisfied, the amount of replenishment of raw gas to be replenished is calculated based on the planned hydrogen production gap (planned hydrogen production - mixed raw gas hydrogen production) and the hydrogen production ratio of the replenishment raw gas.
[0149] (5) If the potential supply of the supplementary raw gas is sufficient, repeat steps (3) and (4) until the planned hydrogen production of the device is met; if the potential supply of the supplementary raw gas is insufficient, sequentially search for the type of raw gas with the second lowest unit hydrogen production cost under the same hydrogen production device in the single hydrogen cost matrix as the new supplementary raw gas, and repeat steps (3) and (4) until the planned hydrogen production of the device is met.
[0150] For dual-unit optimization, the two interlocked hydrogen production units are isolated from other units, that is, the hydrogen production load can be transferred between the two interlocked hydrogen production units, and the hydrogen production load can also be transferred between other units. By enumerating the planned hydrogen production of the interlocked units and the non-interlocked units respectively, single unit optimization can be performed for each unit.
[0151] For multi-device optimization (the hydrogen production load between devices can be transferred), the planned hydrogen production of each device can be enumerated and single-device optimization can be performed for each device.
[0152] Finally, the total unit hydrogen production cost of the optimization result is compared with the total unit hydrogen production cost before optimization to determine whether there is room for efficiency improvement. If so, try to reduce the potential supply of natural gas by an amount equivalent to the value of the benefit space and repeat the optimization process until there is no room for efficiency improvement.
[0153] Finally, an optimization report is given.
[0154] In this embodiment, the optimized operation plan of the hydrogen production device in S50 includes the comprehensive unit hydrogen production cost before and after optimization, the natural gas purchase amount before and after optimization, the hydrogen production ratio before and after optimization, the fuel gas supplement amount from the pipeline network before and after optimization, the unit hydrogen production cost of a single device before and after optimization, the combined unit hydrogen production cost of potential raw gas types and hydrogen production devices, the raw gas flow distribution before and after optimization, the model status self-check monitoring results, the optimized raw material ratio optimization recommendation plan, and the economic accounting results before and after optimization.
[0155] In this embodiment, after S50, the following steps are also included:
[0156] S60. According to the optimization result of the raw gas supply to multiple hydrogen production units in the refinery, the operating conditions are set, the operating condition data of the current hydrogen production unit is imported, and the optimized operation plan of the hydrogen production unit is obtained.
[0157] Specifically, the operating conditions are set, including: setting the upper limit of the types of potential raw gas available to each hydrogen production device and specifying the types, setting the compressor frequency conversion parameters, setting the upper limit of the device's hydrogen production allowance, setting the lower limit of the device's hydrogen production allowance, and setting the thermal efficiency of the heating furnace.
[0158] Specifically, the current operating condition data of the hydrogen production device includes the total hydrogen production of each hydrogen production device, the amount of natural gas purchased, the raw gas flow rate of each hydrogen production device, the steam distribution amount, the reformer temperature, the intermediate converter temperature, and the PSA recovery rate.
[0159] Embodiment 2
[0160] First, based on the refinery DCS and real-time database, the LIMS analysis data, raw material composition thermodynamic data, and operation data of each hydrogen production unit within three months were obtained to establish the production process model of the hydrogen production unit. The main steps are as follows:
[0161] Calculate the equilibrium constants of the reaction processes of the reformer and intermediate converter;
[0162] Calculate the gas composition based on the raw gas flow, composition, steam distribution and reaction equilibrium constant;
[0163] Repeat steps A and B for each set of data to obtain the calculation results of the medium-shift gas composition within 3 months;
[0164] The partial least squares regression method is used to compare and regress the settlement results of the medium-shift gas composition within 3 months with the actual medium-shift gas composition analysis results, and the catalyst performance parameters of the conversion reaction and the medium-shift reaction of the current hydrogen production unit are fitted;
[0165] Based on the raw gas composition and the intermediate gas composition, calculate the reaction enthalpy change of the reaction;
[0166] Calculate the reaction heat loss of this reaction based on the desalted water temperature, the amount of water consumed by the reaction, and the steam condensation temperature;
[0167] Based on the reaction enthalpy change, reaction heat loss, calorific value of the analyzed gas and energy price, the thermal energy cost and hydrogen production ratio of the unit hydrogen production of the reaction can be calculated;
[0168] Secondly, the refinery fuel gas data, hydrogen production and consumption data, and fixed parameters of each hydrogen production unit related to the refinery are obtained to establish a feed gas supply optimization model for multiple hydrogen production units in the refinery. The refinery has two sets of hydrogen production units, and their operating parameters and fixed parameters for a certain operation are shown in Table 1. Table 1 is the operating parameter table of the hydrogen production unit.
[0169] Table 1
[0170]
[0171]
[0172] Table 2 is a table of potential raw gas types and compositions. The potential raw gas types and compositions of the refinery are shown in Table 2:
[0173] Table 2
[0174] Composition analysis <![CDATA[CH4]]> <![CDATA[C2H6]]> <![CDATA[C2H4]]> <![CDATA[C 3+ ]]> <![CDATA[H2]]> CO <![CDATA[CO2 <!-- 11 -->]]> natural gas 85.71 2.86 0.1 0.65 0.14 0 0 Refinery Dry Gas A 44.79 18.91 2.82 0.76 27.41 0.87 0.59 Refinery Dry Gas B 33.15 13.63 1.8 2.05 43.68 0.44 0.03 Refinery Dry Gas C 23.42 10.86 12.67 1.51 19.27 1.58 4.83 Refinery Dry Gas D 21.75 8.26 0.21 27.93 41.05 0 0
[0175] The potential feed gas types are combined with hydrogen production devices. The unit hydrogen production heat energy cost of each combination is calculated using the hydrogen production device production process model. The single hydrogen compression cost of the combination is calculated based on the adiabatic compression formula. The unit hydrogen production cost of the combination is obtained by adding the unit hydrogen production heat energy cost and the single hydrogen compression cost. Table 3 is the unit hydrogen production cost calculation result table, where the unit is yuan / Nm 3 As shown in Table 3:
[0176] Table 3
[0177] Raw gas type\device name Hydrogen production unit A Hydrogen production unit B natural gas 1.05 1.12 Refinery Dry Gas A 1.03 1.11 Refinery Dry Gas B 1.03 1,10 Refinery Dry Gas C 1.08 / Refinery Dry Gas D / 1.12
[0178] Note: “ / ” means that the refinery dry gas cannot be used as the feed gas for the hydrogen production unit.
[0179] Based on the constraints of the available raw gas flow rate of the refinery and the upper and lower limits of the hydrogen production of the device, the hydrogen production is obtained step by step from low to high based on the unit hydrogen production cost of different combinations until the total hydrogen production meets the requirements of hydrogen production and consumption data. Table 4 is the flow distribution table before and after the optimization of the raw gas, in Nm 3 / h; Table 5 is a table showing the changes in operating parameters of the hydrogen production device before and after optimization. The results after optimization are shown in Tables 4 and 5.
[0180] Table 4
[0181]
[0182] Table 5
[0183]
[0184]
[0185] Before optimization, based on Table 3, it can be found that the hydrogen production cost of hydrogen production unit A is generally better than that of hydrogen production unit B. Therefore, on the basis of keeping the total hydrogen production volume unchanged, the hydrogen production load of hydrogen production unit A is increased and the hydrogen production load of hydrogen production unit B is reduced. At the same time, it can be found from Table 3 that for hydrogen production unit A, the unit hydrogen cost of hydrogen produced by refinery dry gas B is lower than the unit hydrogen cost of hydrogen produced by natural gas. Therefore, refinery dry gas B should be used as a priority to supply gas to hydrogen production unit A.
[0186] At the same time, by optimizing the raw gas ratio and adjusting the hydrogen production load distribution of the hydrogen production device, the overall hydrogen production cost and economic benefits are recalculated:
[0187] Original hydrogen production cost = 11768*1.035+12756*1.1=26200 yuan
[0188] New hydrogen production cost = 15000*1.030+9524*1.1=25926 yuan
[0189] Assuming the device operates for 8,000 hours per year, the hydrogen production cost before and after optimization is reduced by a total of RMB 2.186 million per year.
[0190] In addition, by comparing the intermediate gas composition results calculated by the hydrogen production process model and the composition results obtained by actual sampling analysis, Table 6 is a model calculation result analysis table, as shown in Table 6:
[0191] Table 6
[0192] composition Model predictions Actual analysis Absolute deviation Methane 2.93 3.21 -0.28 CO 0.9 2.05 -1.15 <![CDATA[CO2]]> 16.97 17.26 -0.29 <![CDATA[H2]]> 78.3 77.47 +0.83
[0193] From the comparison results, it can be seen that the deviations of the various components of the medium-shifted gas are relatively small and the relative deviation of the main component (hydrogen) is only 1.07%, indicating that the model prediction accuracy is high and the prediction results are credible.
[0194] Figure 4 This is a hydrogen production cost effect diagram before and after the use of the method for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery in another embodiment of the present application, from Figure 4 It can be seen that after optimization, the hydrogen production is significantly increased and the energy consumption per hydrogen is greatly reduced.
[0195] Embodiment 3
[0196] In a second aspect, the present application proposes a distributed control system for multiple hydrogen production units in a refinery, which sets system parameters through a method for optimizing a raw gas supply scheme for multiple hydrogen production units in a refinery as described in any one of the above embodiments.
[0197] This embodiment provides an optimization method for the application of the optimization method in the optimization of the feed gas supply scheme for multiple hydrogen production units in a refinery. After optimization by the optimization method of the first aspect, the comprehensive hydrogen production cost is significantly reduced, and the economic benefits are considerable.
[0198] Embodiment 3
[0199] In a third aspect, the present application provides an electronic device through Example 3, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the method for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery as described in any one of the above embodiments are implemented.
[0200] Figure 5 It is a schematic diagram of the structure of an electronic device in another embodiment of the present application.
[0201] Figure 5 The electronic device shown may include: at least one processor 101, at least one memory 102, at least one network interface 104 and other user interfaces 103. The various components in the electronic device are coupled together via a bus system 105. It is understood that the bus system 105 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 105 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 105 is not described in detail. Figure 5 Various buses are labeled as bus system 105 .
[0202] The user interface 103 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, or a touch pad).
[0203] It can be understood that the memory 102 in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM). The memory 62 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0204] In some implementations, the memory 102 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 1021 and application programs 1022 .
[0205] The operating system 1021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program 622 includes various application programs for implementing various application services. The program for implementing the method of the embodiment of the present invention can be included in the application program 1022.
[0206] In the embodiment of the present invention, the processor 101 calls the program or instructions stored in the memory 102, specifically, the program or instructions stored in the application 1022, and the processor 101 is used to execute the method steps provided in the first aspect.
[0207] The method disclosed in the above embodiment of the present invention can be applied to the processor 101, or implemented by the processor 101. The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 101 or the instruction in the form of software. The above processor 101 can be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a ready-made programmable gate array or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to be executed, or the hardware and software units in the decoding processor can be combined to execute. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 102, and the processor 101 reads the information in the memory 102 and completes the steps of the above method in combination with its hardware.
[0208] In addition, in combination with the method for optimizing the raw gas supply plan for multiple hydrogen production units in a refinery in the above-mentioned embodiment, an embodiment of the present invention may provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods for optimizing the raw gas supply plan for multiple hydrogen production units in a refinery in the above method embodiments are implemented.
[0209] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several distinct components and by means of a suitably programmed computer. The use of the words first, second, third, etc., is for convenience of expression only and does not imply any order. These words may be understood as part of the component name.
[0210] In addition, it should be noted that, in the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0211] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0212] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.
Claims
1. A method for optimizing the feed gas supply scheme for multiple hydrogen production units in a refinery. It is characterized in that Each hydrogen production device uses natural gas and / or refinery dry gas as raw material gas, adopts hydrocarbon steam reforming method to produce gas, and purifies and refines hydrogen through PSA method. The method includes: S10, obtaining refinery raw gas data, inputting the refinery raw gas data into a pre-established production process model, and obtaining the hydrogen production ratio and unit hydrogen production cost of each raw gas in each hydrogen production device; S20, sorting the combinations of raw gas and hydrogen production device according to the unit hydrogen production cost to obtain a combination queue; S30, in descending order of unit hydrogen production cost, based on the raw gas data, the hydrogen production ratio and the upper and lower limits of hydrogen production of each hydrogen production device, obtaining the actual supply of raw gas and the actual hydrogen production of each combination in the combination queue; S40, according to the actual hydrogen production of each combination, select a combination from the combination queue in order of unit hydrogen production cost from low to high, until the total hydrogen production of the selected combination meets the preset hydrogen production requirement; S50, using the selected combination and the corresponding actual supply amount of raw gas as the optimization result of the raw gas supply plan for multiple hydrogen production units in the refinery; Before S10, the production process model is also established, which specifically includes: S01. For each raw material gas, obtain relevant operation history data of each hydrogen production device under each raw material gas, wherein the relevant operation history data includes LIMS analysis data, raw material composition thermodynamic data, and historical operation data; The LIMS analysis data includes raw gas composition analysis data and medium-shift gas composition analysis data; The raw material composition thermodynamic data include formation enthalpy and Gibbs free energy; The historical operation data include feed gas flow, hydrogen production of the device, desalted water flow, water consumption of the reaction, desalted water temperature, steam supply, steam condensation temperature, converter temperature, intermediate converter temperature, fluid pressure after compression, fluid temperature before compression, and energy prices; the energy prices include electricity prices, natural gas prices, and desalted water prices; S02, based on the temperature of the reformer, the temperature of the intermediate converter, the enthalpy of formation and the Gibbs free energy, calculate the equilibrium constant K of the conversion of hydrocarbons into carbon monoxide and hydrogen in the reformer 1 , the equilibrium constant K for the conversion of hydrocarbons into carbon dioxide and hydrogen 2 , the equilibrium constant K for the conversion of carbon monoxide to carbon dioxide in the converter 3 ; α 1 C n H m +β 1 H 2 O==γ 1 CO+δ 1 H 2 α 2 C n H m +β 2 H 2 O==γ 2 WHAT 2 +δ 2 H 2 α 3 CO+β 3 H 2 Oh==γ 3 WHAT 2 +δ 3 H 2 Among them: α, β, γ, δ are the stoichiometric coefficients of the chemical equation respectively; The calculation formula for each equilibrium constant at temperature T is as follows: Where: K T , K θ Denote the temperatures as T and T respectively. θ The equilibrium constant under the condition of G represents Gibbs free energy. represents the Gibbs free energy change of the reaction; H represents enthalpy, represents the reaction enthalpy change; R represents the gas volume constant, T represents the temperature in the reactor, T θ Represents the temperature under standard conditions; S03, based on the raw gas flow rate, the raw gas composition analysis data, the steam distribution amount, the equilibrium constant K 1 , K 2 , K 3 and the law of conservation of matter in the reaction process, and calculate the theoretical data of the composition of the intermediate gas; S04, comparing the theoretical data of the medium-shift gas composition with the analytical data of the medium-shift gas composition, using partial least squares regression to fit the catalyst performance coefficients of the conversion reaction and the medium-shift reaction of the hydrogen production device; and determining the final device hydrogen production ratio based on the catalyst performance coefficient; S05. Calculate the reaction enthalpy change based on the raw gas composition analysis data and the intermediate gas composition analysis data. The calculation formula is as follows: ΔH=ΔH 1 +ΔH 2 in: Respectively represent the amount of hydrocarbons and steam consumed during the reaction. n co Respectively represent the amount of carbon dioxide and carbon monoxide produced during the reaction; represent the standard formation enthalpy of hydrocarbons, steam, carbon dioxide and carbon monoxide respectively; C represents the heat capacity at constant pressure; T, T θ Represents composition temperature and standard temperature respectively; ΔH 1 , ΔH 2 , ΔH represent the reaction enthalpy change under standard conditions, the heat of temperature rise and the reaction enthalpy change respectively; S06, calculating the reaction heat loss based on the desalted water temperature, the desalted water flow rate, the reaction water consumption, and the steam distribution condensation temperature; Q=[(T 2 -T 1 )×C H +H]×(F 2 -F 1 )×A Where: Q represents heat loss, T 2 and T 1 Represent the steam condensing temperature and desalted water temperature respectively, C H represents the heat capacity of water, H represents the heat of vaporization, and F 2 and F 1 They represent the desalted water flow rate and the amount of water consumed by the reaction, respectively, and A represents the steam condensation rate; S07. The calorific value of the decomposed gas is calculated based on the composition analysis data of the intermediate gas and the hydrogen production of the device. The thermal energy cost of the unit hydrogen production of each hydrogen production device under each feed gas is calculated based on the reaction enthalpy change, the reaction heat loss, the calorific value of the decomposed gas and the energy price. The hydrogen production ratio of each hydrogen production device under each feed gas is calculated based on the hydrogen production of the device and the feed gas flow rate: S08. Based on the input data of the model and the thermal energy cost per unit of hydrogen production and the hydrogen production ratio, the unit hydrogen production cost is calculated by the following formula, and the unit hydrogen production cost and the hydrogen production ratio are used as model outputs; Theoretical hydrogen production = theoretical amount of raw gas * hydrogen production ratio Where: y i , γ i Respectively represent the proportion of the i-th component in the compressed fluid and the adiabatic index; γ mix Represents the mixed adiabatic index of the compressible fluid; P 2 , P 1 , ε represent the pressure before and after compression of the fluid and the compression ratio respectively; n, R, T 1 They represent the molar amount of the fluid, the gas volume constant and the temperature of the fluid before compression respectively; w represents the power consumption of this compression; Cost represents the unit hydrogen production cost.
2. The method for optimizing the feed gas supply scheme for multiple hydrogen production units in a refinery according to claim 1, It is characterized in that The refinery raw gas data includes potential raw gas types, fluid pressure before compression, the supply upper limit of raw gas flow rate, potential raw gas composition, and raw gas flow constraints.
3. The method for optimizing the feed gas supply scheme for multiple hydrogen production units in a refinery according to claim 2, It is characterized in that S30 includes, S31, supplying each type of raw gas to the corresponding hydrogen production device in order from low to high unit hydrogen production cost, and calculating the proportion of the actual supply amount of the raw gas to the theoretical amount of the raw gas for each hydrogen production device based on the raw gas data; S32. Based on the upper and lower limits of hydrogen production of each hydrogen production device, the actual hydrogen production of each combination is calculated by the following formula: Where: HPR represents hydrogen production ratio, F max represents the supply upper limit of the raw gas flow rate, and f(x) represents the actual hydrogen production.
4. The method for optimizing the feed gas supply scheme for multiple hydrogen production units in a refinery according to claim 1, It is characterized in that After S50, it also includes: S60. According to the optimization result of the raw gas supply to multiple hydrogen production units in the refinery, the operating conditions are set, the operating condition data of the current hydrogen production unit is imported, and the optimized operation plan of the hydrogen production unit is obtained.
5. The method for optimizing the feed gas supply scheme for multiple hydrogen production units in a refinery according to claim 4, It is characterized in that Setting operating conditions includes: setting the upper limit of the types of potential raw gas available for each hydrogen production device and specifying the types, setting the compressor frequency conversion parameters, setting the upper limit of the device's hydrogen production license, setting the lower limit of the device's hydrogen production license, and setting the thermal efficiency of the heating furnace.
6. The method for optimizing the feed gas supply scheme for multiple hydrogen production units in a refinery according to claim 4, It is characterized in that The current operating condition data of the hydrogen production unit includes the total hydrogen production of each hydrogen production unit, the amount of natural gas purchased, the raw gas flow rate of each hydrogen production unit, the steam distribution amount, the reformer temperature, the intermediate converter temperature, and the PSA recovery rate.
7. A distributed control system for multiple hydrogen production units in a refinery. It is characterized in that The system sets system parameters by using the method for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery as described in any one of claims 1 to 6 above.
8. An electronic device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for optimizing the raw gas supply scheme for multiple hydrogen production units in a refinery as described in any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for optimizing the feed gas supply scheme for multiple hydrogen production units in a refinery as described in any one of claims 1 to 6 above are implemented.
Citation Information
Patent Citations
Collaborative optimization method for hydrogen and gas in oil refining process
CN111383719A
Propane dehydrogenation reaction modeling method, device
CN113707231A
Novel Steam Reformer Based Hydrogen Plant Scheme for Enhanced Carbon Dioxide Recovery
US20100037521A1
