Storage device, hydrogen resource optimization method, device and equipment for hydrogen system
By dividing the model of the hydrogen system and performing energy optimization, the problem of insufficient energy optimization of the hydrogen system in the prior art is solved, and the parallel optimization of hydrogen consumption and energy consumption is achieved, and the calculation of hydrogen consumption is simplified.
Patent Information
- Application Number
- CN202011617515.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2040-12-31
AI Technical Summary
The existing hydrogen system optimization method lacks research on energy optimization utilization, resulting in excessive optimization of optimization solutions.
Divide the hydrogen system into hydrogen supply unit, hydrogen use unit and hydrogen recovery unit, establish corresponding models, simulate and solve through mathematical models of matter and energy, build a hydrogen consumption prediction model, optimize the energy consumption of the hydrogen system, and minimize the hydrogen supply unit and energy consumption of hydrogen recovery unit.
The parallel optimization of hydrogen consumption and energy consumption of the hydrogen system is achieved, simplifying hydrogen consumption calculation, improving prediction effect, and reducing calculation complexity.
Smart Images

Figure CN114692374B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of oil refining and processing, and in particular to storage devices, hydrogen resource optimization, devices and equipment of hydrogen systems. Background Art
[0002] In recent years, the demand for hydrogen in refineries has been increasing, and hydrogen has become the second largest cost factor in the cost of raw materials for enterprises, second only to crude oil costs. The hydrogen resource optimization utilization technology of hydrogen systems is an important means for enterprises to achieve cost reduction and efficiency improvement, and has received increasing attention from enterprises.
[0003] The refinery hydrogen system is complex, and the hydrogen-containing logistics are transported between the "hydrogen supply device-hydrogen consumption device-hydrogen recovery device", involving the purification, pressurization, and waste hydrogen recovery of hydrogen logistics, and the system consumes a lot of energy. The current hydrogen resource optimization research of the hydrogen system mainly uses the pinch point analysis method and mathematical programming method to optimize the hydrogen system with the optimization goals of hydrogen utilization efficiency and the highest hydrogen light hydrocarbon benefit.
[0004] After research, the inventors found that the optimization methods of hydrogen systems in the prior art lack research on the optimal utilization of energy of hydrogen systems, and thus the optimization solutions obtained by the prior research have deficiencies such as over-optimization.
[0005] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention
[0006] The purpose of the present invention is to improve the optimization effect of hydrogen resources in a hydrogen system.
[0007] The present invention provides a hydrogen resource optimization of a hydrogen system, comprising the steps of:
[0008] S11, logically dividing the hydrogen system into a hydrogen supply unit, a hydrogen use unit and a hydrogen recovery unit, and establishing corresponding hydrogen supply unit models, hydrogen use unit models and hydrogen recovery unit models according to design parameters and operating parameters of each unit;
[0009] S12, establishing a connection according to the actual material relationship between the unit models, establishing a material mathematical model of the hydrogen system, establishing an energy mathematical model of the hydrogen system according to the actual flow direction of the hydrogen-containing logistics in the hydrogen system, and establishing a direct feed mathematical calculation model of the hydrogen unit;
[0010] S13, judging whether the feed stream of the hydrogen recovery unit can be used as the feed of the hydrogen using unit according to the direct feed mathematical calculation model, if yes, using the feed stream as the hydrogen supply stream of the hydrogen using unit; if no, using the feed stream as the recovered hydrogen stream of the hydrogen recovery unit model;
[0011] S14, simulating and solving the material mathematical model and the energy mathematical model to obtain simulation results as system initial values of the hydrogen system; the system initial values include the flow rate, pressure, temperature and composition of the hydrogen flow under steady-state conditions of each unit flow;
[0012] S15, constructing a hydrogen consumption prediction model for measuring the hydrogen consumption of the hydrogen consumption unit;
[0013] S16. According to the hydrogen consumption calculation results of the hydrogen consumption prediction model, the material mathematical model and the energy mathematical model, the values of each optimization variable are determined with the goal of minimizing the energy consumption of the hydrogen system; the optimization variables include the hydrogen purity of each unit and the hydrogen supply pressure or the pressure of new hydrogen replenishment of each unit.
[0014] In the present invention, the values of the optimization variables are determined based on the hydrogen consumption calculation results of the hydrogen consumption prediction model, the material mathematical model and the energy mathematical model with the goal of minimizing the energy consumption of the hydrogen system, including:
[0015] Taking the minimum energy consumption of the hydrogen system as the goal, determine the objective function and constraints of the hydrogen system;
[0016] Based on the measurement results obtained by the hydrogen consumption prediction model and according to the objective function, an optimization algorithm is used to solve within the value range of the optimization variable to obtain the hydrogen supply parameters of the hydrogen supply unit and the hydrogen recovery unit and the minimum operating energy consumption of the hydrogen system.
[0017] In the present invention, the objective function of the hydrogen system includes:
[0018] minf=∑W gi ×(P giOUT -P giIN )×F gi +∑E gi F gi +∑W i ×(P iOUT -P iIN )×F i +∑W hi ×(P hiOUT -P hiIN )×F hi +∑E hi F hi
[0019] Among them, Wgi The power consumed by the compressor for each cubic meter of hydrogen supply pressure increase of 1 MPa for the i-th hydrogen supply unit, kW / (MPa·Nm 3 );P giOUT is the hydrogen supply pressure of the i-th hydrogen supply unit, MPa; P giIN is the inlet pressure of the hydrogen supply compressor of the i-th hydrogen supply unit, MPa; F gi is the hydrogen flow rate of the i-th hydrogen supply unit, Nm 3 ; E gi is the energy consumption of the hydrogen supply unit for each cubic meter of hydrogen-containing gas with different hydrogen purities, which is a function of hydrogen purity, kW / Nm 3 ; W i The power consumed by the compressor to increase the pressure of 1 MPa for each cubic meter of new hydrogen added to the i-th hydrogen unit, kW / (MPa·Nm 3 );P iOUT is the pressure of the new hydrogen added to the i-th hydrogen unit (the outlet pressure of the new hydrogen compressor), MPa; P iIN is the inlet pressure of the new hydrogen compressor of the i-th hydrogen unit, MPa; F i is the new hydrogen flow rate of the i-th hydrogen unit, Nm 3 ; W hi The power consumed by the compressor of the i-th hydrogen recovery unit for each cubic meter of hydrogen pressure increase by 1 MPa, kW / (MPa·Nm 3 );P hiOUT is the hydrogen supply pressure of the i-th hydrogen recovery unit, MPa; P hiIN is the compressor inlet pressure of the i-th hydrogen recovery unit, MPa; F hi is the hydrogen flow rate of the i-th hydrogen recovery unit, Nm 3 ; E hi is the energy consumption of the hydrogen recovery unit for each cubic meter of hydrogen-containing gas with different hydrogen purities, which is a function of hydrogen purity, kW / Nm 3 .
[0020] The constraints include:
[0021] H gi ≥minH gi
[0022] H i ≥minH i
[0023] H hi ≥minH hi
[0024] 0≤P giOUT ≤maxP giOUT
[0025] P iOUT ≥minP iOUT
[0026] 0≤P hiOUT ≤maxP hiOUT
[0027] Among them, H i is the purity of hydrogen in the i-th hydrogen unit, %; H gi is the hydrogen purity of the i-th hydrogen supply unit, %; H hi is the hydrogen purity of the i-th hydrogen recovery unit, %; P giOUT is the hydrogen supply pressure of the i-th hydrogen supply unit, MPa; P iOUT is the pressure of new hydrogen added to the i-th hydrogen unit, MPa; P hiOUT is the hydrogen supply pressure of the i-th hydrogen recovery unit, MPa.
[0028] In the present invention, the method for constructing the hydrogen consumption prediction model includes:
[0029] S21, respectively collecting and analyzing data of the hydrogen unit under different working conditions, wherein the content of each data collection and analysis includes: obtaining the test analysis data of the raw materials and products of the hydrogen unit; calculating the conversion rate of the hydrocracking reaction; calculating the reference hydrogen consumption of the hydrogen unit;
[0030] S22, respectively, the sulfur content, nitrogen content, oxygen content, reaction conversion rate and reference hydrogen consumption of the feedstock oil and the produced oil obtained by data collection and analysis of the hydrogen consumption unit are brought into a preset mathematical correlation formula to solve the preset coefficients of the mathematical correlation formula; the mathematical correlation formula includes:
[0031] H = a*(S in -S out ) / M oil,feed +b*(N in -N out ) / M oil,feed +c*(O in -O out ) / M oil,feed +d*K+e*M oil,feed
[0032] Where H is the reference hydrogen consumption, Nm 3 / t;M oil,feed is the crude oil flow rate; S in S is the sulfur content of the raw oil at the reactor inlet; out is the sulfur content of the reaction effluent at the reactor outlet; N in N is the nitrogen content of the raw oil at the reactor inlet; out is the nitrogen content of the reaction effluent at the reactor outlet;in is the oxygen content of the raw oil at the reactor inlet; O out is the oxygen content of the reaction effluent at the reactor outlet; K is the conversion rate of the hydrogenation unit cracking reaction; the preset coefficients include: a is the hydrogen consumption coefficient of hydrodesulfurization; b is the hydrogen consumption coefficient of hydrodenitrogenation; c is the hydrogen consumption coefficient of hydrodeoxygenation; d is the hydrogen consumption coefficient of the hydrogenation unit cracking reaction; e is a constant related to the hydrogen consumption during the operation of the hydrogenation unit hydrogenation device;
[0033] S23. According to the solution results of the preset coefficients, a hydrogen consumption prediction model suitable for the hydrogen consumption unit is constructed, and the hydrogen consumption prediction model includes the mathematical association formula into which the solution results of the preset coefficients are introduced.
[0034] In the present invention, the analytical data at least include distillation range, components and density; the components at least include sulfur content, nitrogen content and oxygen content.
[0035] In the present invention, the formula for calculating the reaction conversion rate of the hydrogen unit hydrocracking includes:
[0036] Reaction conversion rate = 100% * (fraction > 350°C in the feed oil - fraction > 350°C in the product oil) / fraction > 350°C in the feed oil.
[0037] In the present invention, the hydrogen using unit comprises:
[0038] One of a refinery hydrofining unit, a hydrotreating unit and a hydrogen unit, or any combination thereof.
[0039] In another aspect of the present invention, a hydrogen resource optimization device for a hydrogen system is also provided, comprising:
[0040] The unit model establishment unit is used to logically divide the hydrogen system into a hydrogen supply unit, a hydrogen use unit and a hydrogen recovery unit, and establish corresponding hydrogen supply unit models, hydrogen use unit models and hydrogen recovery unit models according to the design parameters and operation parameters of each unit;
[0041] A mathematical model building unit is used to establish a connection according to the actual material relationship between the unit models, establish a material mathematical model of the hydrogen system, establish an energy mathematical model of the hydrogen system according to the actual flow direction of the hydrogen-containing logistics in the hydrogen system, and establish a direct feed mathematical calculation model of the hydrogen unit;
[0042] A logistics determination unit, used to determine whether the feed logistics of the hydrogen recovery unit can be used as the feed of the hydrogen use unit according to the direct feed mathematical calculation model, and if so, use the feed logistics as the hydrogen supply logistics of the hydrogen use unit; if not, use the feed logistics as the recovered hydrogen logistics of the hydrogen recovery unit model;
[0043] A system initial value calculation unit, used for simulating and solving the material mathematical model and the energy mathematical model to obtain simulation calculation results as system initial values of the hydrogen system; the system initial values include the flow rate, pressure, temperature and composition of the hydrogen flow under steady-state conditions of each unit flow;
[0044] A hydrogen consumption prediction unit, including a hydrogen consumption prediction model, used to calculate the hydrogen consumption of the hydrogen consumption unit;
[0045] The optimization variable solving unit is used to determine the values of each optimization variable based on the hydrogen consumption calculation results of the hydrogen consumption prediction model, the material mathematical model and the energy mathematical model, with the goal of minimizing the energy consumption of the hydrogen system; the optimization variables include the hydrogen purity of each unit and the hydrogen supply pressure or new hydrogen replenishment pressure of each unit.
[0046] In another aspect of the present invention, a memory is provided, comprising a software program, wherein the software program is suitable for a processor to execute the steps of optimizing the hydrogen resources of the hydrogen system.
[0047] On the other hand, an embodiment of the present invention further provides a hydrogen resource optimization device for a hydrogen system, wherein the hydrogen resource optimization device for the hydrogen system includes a computer program stored in a memory, wherein the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the methods described in the above aspects and achieves the same technical effects.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] The hydrogen resource optimization scheme for the hydrogen system in the present invention first proposes a method for calculating and predicting the hydrogen consumption of the hydrogen-using unit based on the properties of the raw materials and the reaction conversion rate. A better prediction effect can be obtained without consuming a lot of time and effort by establishing a reaction kinetic model or a homology matrix model, and the calculation is simple and reliable. Then, from the perspective of minimizing the energy consumption of the hydrogen system, relevant objective functions and mathematical models are established to optimize the hydrogen production of the hydrogen supply unit, thereby realizing the parallel optimization of the hydrogen consumption and energy consumption of the hydrogen system.
[0050] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, and to make the above and other purposes, technical features and advantages of the present invention easier to understand, one or more preferred embodiments are listed below and described in detail with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a step diagram of hydrogen resource optimization of the hydrogen system of the present invention;
[0052] Figure 2A schematic diagram of the structure of a hydrogen resource optimization device for the hydrogen system of the present invention;
[0053] Figure 3 Schematic diagram of the structure of the hydrogen resource optimization equipment of the hydrogen system described in the present invention. DETAILED DESCRIPTION
[0054] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.
[0055] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.
[0056] In this document, the terms "first", "second", etc. are used to distinguish two different elements or parts, and are not used to limit a specific position or relative relationship. In other words, in some embodiments, the terms "first", "second", etc. can also be interchangeable.
[0057] Embodiment 1
[0058] In order to improve the optimization effect of hydrogen resources in hydrogen systems, such as Figure 1 As shown, in an embodiment of the present invention, a method for optimizing hydrogen resources of a hydrogen system is provided, comprising the steps of:
[0059] S11, logically dividing the hydrogen system into a hydrogen supply unit, a hydrogen use unit and a hydrogen recovery unit, and establishing corresponding hydrogen supply unit models, hydrogen use unit models and hydrogen recovery unit models according to design parameters and operating parameters of each unit;
[0060] In order to clarify the consumption direction and amount of hydrogen resources, the embodiment of the present invention logically divides the hydrogen system into three parts: a hydrogen supply unit, a hydrogen consumption unit and a hydrogen recovery unit; then, according to the design parameters and operating parameters of the three units, a corresponding hydrogen supply unit model, a hydrogen consumption unit model and a hydrogen recovery unit model are established.
[0061] In practical applications, the hydrogen supply unit in the embodiment of the present invention may mainly involve hydrogen production from steam reforming, hydrogen production from coal, hydrogen by-product from reforming, hydrogen by-product from ethylene plant, hydrogen by-product from ion membrane electrolysis of water, etc., and may be one or several types of devices therein; in addition, the hydrogen supply unit may also include a coking unit and a catalytic cracking unit; the hydrogen use unit may include a hydrorefining unit, one or several devices in the hydrogen use unit; the hydrogen recovery unit includes one or several devices in the pressure swing adsorption unit and a membrane separation unit.
[0062] The operating parameters in the embodiments of the present invention may include the operating conditions of the devices involved, material balance, and the flow rate, pressure, composition and temperature of the streams.
[0063] The hydrogen supply unit model in the embodiment of the present invention can be a simple hydrogen supply model, including coal-to-hydrogen, reforming by-product hydrogen model, steam reforming hydrogen production device model and other hydrogen supply unit models; the simple hydrogen supply model can be a model that only considers the hydrogen supply flow rate and hydrogen supply composition of the device, and does not involve the simulation of the hydrogen production process, thereby simplifying the model.
[0064] The hydrogen unit model in the embodiment of the present invention may include a hydrofining model, a hydrotreating model, a hydrocracking model, etc.;
[0065] The hydrogen recovery unit model can include a pressure swing adsorption device model and a membrane separation device model, etc. The hydrogen recovery unit can be simplified by using the input component and recovery rate method. The recovery rate can be obtained by fitting the actual hydrogen recovery device operation data, or by modeling and calculating through conventional process simulation software, such as Aspen plus, proII, etc. It can also be set manually based on experience; the main purpose of the hydrogen recovery unit model is to simulate and calculate the hydrogen recovery amount and energy consumption cost.
[0066] S12, establishing a connection according to the actual material relationship between the unit models, establishing a material mathematical model of the hydrogen system, establishing an energy mathematical model of the hydrogen system according to the actual flow direction of the hydrogen-containing logistics in the hydrogen system, and establishing a direct feed mathematical calculation model of the hydrogen unit;
[0067] On the one hand, according to the actual material relationship among the hydrogen supply unit, the hydrogen consumption unit and the hydrogen recovery unit, a corresponding connection relationship is established among the three unit models of the hydrogen supply unit model, the hydrogen consumption unit model and the hydrogen recovery unit model; then, according to the connection relationship among the three unit models of the hydrogen supply unit model, the hydrogen consumption unit model and the hydrogen recovery unit model, a material mathematical model of the entire hydrogen system is established;
[0068] On the other hand, an energy mathematical model of the hydrogen system should be established according to the actual flow direction of the hydrogen-containing logistics in the hydrogen system; the energy mathematical model may include the energy consumption input of the hydrogen supply unit and the hydrogen recovery unit, as well as the power consumption of the compressor during the operation of the hydrogen unit.
[0069] In addition, a mathematical calculation model for direct feed of hydrogen units should be established.
[0070] S13, judging whether the feed stream of the hydrogen recovery unit can be used as the feed of the hydrogen using unit according to the direct feed mathematical calculation model, if yes, using the feed stream as the hydrogen supply stream of the hydrogen using unit; if no, using the feed stream as the recovered hydrogen stream of the hydrogen recovery unit model;
[0071] In a hydrogen system, the feed to the hydrogen using unit comes not only from the hydrogen supply unit but also from the hydrogen recovery unit if conditions permit. Therefore, by judging whether the feed flow of the hydrogen recovery unit can be used as the feed to the hydrogen using unit, the actual flow composition and corresponding logistics parameters of the feed flow of the hydrogen using unit can be determined.
[0072] S14. Simulate and solve the material mathematical model and the energy mathematical model to obtain simulation results as system initial values of the hydrogen system; the system initial values include the flow rate, pressure, temperature and composition of the hydrogen logistics under steady-state conditions of each unit flow.
[0073] The system initial value refers to the value of each node of the entire hydrogen system obtained by inputting hydrogen pressure, flow, temperature, and composition-related parameters after building the hydrogen material mathematical model and energy mathematical model. The parameters input by the hydrogen unit are input using instrument data based on field experience.
[0074] By combining the material mathematical model and the energy mathematical model, the energy consumption input of the hydrogen supply unit and the hydrogen recovery unit, as well as the compressor power consumption during the operation of the hydrogen unit can be determined.
[0075] After the hydrogen consumption prediction model of the hydrogen unit is established, the input parameters of the hydrogen unit can be calculated by sulfur, nitrogen, oxygen, and conversion rate, and the above-mentioned hydrogen unit input parameters can be corrected accordingly. The obtained hydrogen system calculation value is the basic data for model optimization. The final operating parameters based on minimum hydrogen energy consumption are obtained according to the basic data and objective function optimization.
[0076] S15, constructing a hydrogen consumption prediction model for measuring the hydrogen consumption of the hydrogen consumption unit;
[0077] In the embodiment of the present invention, it is necessary to perform predictive calculation on the hydrogen consumption of the hydrogen consumption unit through a hydrogen consumption prediction model to obtain the calculation result of the hydrogen consumption.
[0078] Preferably, in order to make the measurement results more accurate, the method for constructing a hydrogen consumption prediction model in the embodiment of the present invention may include the following steps:
[0079] S21, respectively collecting and analyzing data of the hydrogen unit under different working conditions, wherein the content of each data collection and analysis includes: obtaining the test analysis data of the raw materials and products of the hydrogen unit; calculating the conversion rate of the hydrocracking reaction; calculating the reference hydrogen consumption of the hydrogen unit;
[0080] Specifically, the raw materials and products are sampled, and the distillation range, composition, density and other analytical data of the raw materials and products are obtained by mass spectrometry, chromatography and nuclear magnetic resonance analysis methods;
[0081] In a specific example, the obtained data can be shown in Table 1 and Table 2:
[0082] Table 1: Raw oil and product properties
[0083] project Crude oil Light naphtha Heavy naphtha Jet fuel diesel fuel tail oil <![CDATA[Density kg / m 3 > 906.1 629.7 749.3 805.3 818.1 827.6 Initial distillation point ℃ 203.5 23.0 85.0 152.0 217.0 198.0 10%℃ 340.0 28.0 99.0 173.0 248.0 296.0 30%℃ 374.5 33.0 104.0 189.3139 274.0 343.0 50%℃ 404.5 39.0 118.0 203.0 289.0 371.0 70%℃ 435.0 47.0 132.0 218.0315 300.0 394.0 90%℃ 467.5 58.0 149.0 240 315.0 441.0 Dry point℃ 503.0 68.0 171.0 262.0 331.0 469.0 S ppm 23230 10 0.52 10 10 10 N ppm 507 0.3 0.58 0.3 0.31 0.62
[0084] Table 2: Gas composition
[0085] project unit New Hydrogen Cyclic Hydrogen Low gas Dry gas Liquefied gas hydrogen % 96.07 84.59 68.59 27.66 0 Methane % 1.66 9.77 12.14 40.31 0 Ethane % 1.23 2.67 5.39 20.14 0 Propane % 0.77 1.41 3.35 3.83 35.79 n-Butane % 0.08 0.84 1.89 0.46 41.06 Isobutane % 0.17 0.38 0.89 0.04 22.57 C5 and above % 0 0.3 0.81 0.04 0.58
[0086] In the embodiment of the present invention, the reference hydrogen consumption is the new hydrogen flow rate consumed per unit mass of feedstock oil, which is the quotient obtained by dividing the new hydrogen flow rate by the feedstock oil flow rate. The new hydrogen flow rate and the feedstock oil flow rate are taken from the process parameters. The reference hydrogen consumption can also be said to be the unit hydrogen consumption.
[0087] In a specific example, the data of material balance calculation can be shown in Table 3:
[0088] Table 3: Material balance
[0089]
[0090]
[0091] In addition, the formula used to calculate the reaction conversion rate of the hydrogen unit hydrocracking in the embodiment of the present invention includes: reaction conversion rate = 100% * (> 350°C fraction in the feed oil - > 350°C fraction in the produced oil) / > 350°C fraction in the feed oil, so that the hydrocracking reaction conversion rate can be obtained by calculation.
[0092] S22, respectively, the sulfur content, nitrogen content, oxygen content, reaction conversion rate and reference hydrogen consumption of the feedstock oil and the produced oil obtained by data collection and analysis of the hydrogen consumption unit are brought into a preset mathematical correlation formula to solve the preset coefficients of the mathematical correlation formula; the mathematical correlation formula includes:
[0093] H = a*(S in -S out ) / M oil,feed +b*(N in -N out ) / M oil,feed +c*(O in -O out ) / M oil,feed +d*K+e*M oil,feed
[0094] Wherein, H is the reference hydrogen consumption (i.e. the new hydrogen flow rate per unit mass of feedstock oil), Nm3 / t; M oil,feed is the crude oil flow rate; S inS is the sulfur content of the raw oil at the reactor inlet; out is the sulfur content of the reaction effluent at the reactor outlet; N in N is the nitrogen content of the raw oil at the reactor inlet; out is the nitrogen content of the reaction effluent at the reactor outlet; in is the oxygen content of the raw oil at the reactor inlet; O out is the oxygen content of the reaction effluent at the reactor outlet; K is the conversion rate of the hydrocracking reaction; the preset coefficients include: a is the hydrogen consumption coefficient of hydrodesulfurization; b is the hydrogen consumption coefficient of hydrodenitrogenation; c is the hydrogen consumption coefficient of hydrodeoxygenation; d is the hydrogen consumption coefficient of hydrocracking; e is a constant related to the hydrogen consumption during the operation of the hydrogenation unit hydrogenation device;
[0095] In an embodiment of the present invention, data collection and analysis are performed and the reaction conversion rate and reference hydrogen consumption are calculated multiple times, that is, it is necessary to perform corresponding data collection and analysis for different working conditions to obtain multiple samples in order to calculate the reaction conversion rate and reference hydrogen consumption.
[0096] In the embodiment of the present invention, a mathematical correlation formula is set to express the relationship between the data of specific components such as sulfur content, nitrogen content and oxygen content in the raw oil at the reactor inlet and the reaction effluent at the reactor outlet and the reaction conversion rate and hydrogen consumption.
[0097] By respectively bringing the data results of each data collection and analysis (including: sulfur content of the feedstock oil at the reactor inlet, sulfur content of the reaction effluent at the reactor outlet, nitrogen content of the feedstock oil at the reactor inlet, nitrogen content of the reaction effluent at the reactor outlet, oxygen content of the feedstock oil at the reactor inlet, and oxygen content of the reaction effluent at the reactor outlet), as well as the corresponding calculation results of the reaction conversion rate and the reference hydrogen consumption, into the above mathematical correlation formula, the hydrogen consumption coefficient a for hydrodesulfurization, the hydrogen consumption coefficient b for hydrodenitrogenation, the hydrogen consumption coefficient c for hydrodeoxygenation, the hydrogen consumption coefficient d for hydrocracking, and the constant e related to the hydrogen consumption loss in the hydrogenation reaction process can be obtained.
[0098] In the embodiment of the present invention, multiple groups of corresponding sulfur, nitrogen, oxygen contents, conversion rates and device hydrogen consumption (new hydrogen flow rate added to the device) are obtained according to feedstock oils and product oils with different impurity contents. The variation law of the impurity sulfur, nitrogen, oxygen contents and reaction conversion rates and the device hydrogen consumption is analyzed according to the above obtained results. The above mathematical correlation formula of the device hydrogen consumption and the sulfur, nitrogen, oxygen contents and reaction conversion rates is constructed by mathematical methods such as data fitting and parameter regression. The specific method for obtaining the mathematical correlation formula is as follows
[0099] S121. Obtain data samples as shown in Table 1 and Table 2. The number of data samples may be 10 to 500, preferably 50 to 150.
[0100] S122. Determine the crude oil sulfur content and the device hydrogen consumption of each sample in the data sample; the crude oil sulfur content is obtained by laboratory analysis data and material balance, and the device hydrogen consumption is obtained by actual process operation parameters of the device.
[0101] S123. Arrange the contents of the specific components of the multiple samples in ascending order, determine the hydrogen consumption corresponding to the content of each specific component, and according to a curve graph corresponding to the hydrogen consumption and the content of the specific component, select a fitting formula form that is closest to the curve graph according to curve fitting forms such as linear fitting, power function fitting, and polynomial fitting (the maximum number of polynomial fitting can be selected from 1 to 6 times, preferably 4 times), and establish correlation formulas between the hydrogen consumption and the content of each specific component.
[0102] Among them, the correlation formula (Formula 1) between the reference hydrogen consumption of the device (i.e., the hydrogen unit) and the sulfur content of the feedstock oil can be:
[0103] H = a*(S in -S out ) / M oil,feed +e1;
[0104] The correlation formula (Formula 2) between the reference hydrogen consumption of the device and the nitrogen content of the feedstock oil can be:
[0105] H=b*(N in -N out ) / M oil,feed +e2;
[0106] The correlation formula (Formula 3) between the reference hydrogen consumption of the device and the oxygen content of the feedstock oil can be:
[0107] H=c*(O in -O out ) / M oil,feed +e3.
[0108] S124, after establishing the correlation formula (Formula 1), the correlation formula (Formula 2), and the correlation formula (Formula 3) respectively, determine the reaction conversion rate and hydrogen consumption of each sample in the data sample respectively.
[0109] S125, replacing the specific components in step S122 and step S123 with reaction conversion rate, and establishing a correlation formula (Formula 4) between the reference hydrogen consumption of the device and the reaction conversion rate in the manner of step S122 and step S123: H=d*K+e4;
[0110] In the above (Formula 1), (Formula 2), (Formula 3) and (Formula 4), H is the reference hydrogen consumption per unit mass of feedstock oil; M oil,feed is the crude oil flow rate; S inS is the sulfur content of the raw oil at the reactor inlet; out is the sulfur content of the reaction effluent at the reactor outlet; N in N is the nitrogen content of the raw oil at the reactor inlet; out is the nitrogen content of the reaction effluent at the reactor outlet; in is the oxygen content of the raw oil at the reactor inlet; O out is the oxygen content of the reaction effluent at the reactor outlet; K is the conversion rate of the hydrogenation unit cracking reaction; the preset coefficients include: a is the hydrogen consumption coefficient of hydrodesulfurization; b is the hydrogen consumption coefficient of hydrodenitrogenation; c is the hydrogen consumption coefficient of hydrodeoxygenation; d is the hydrogen consumption coefficient of the hydrogenation unit cracking reaction; e1, e2, e3 and e4 are all constants related to the hydrogen consumption in the operation process of the hydrogenation unit hydrogenation device (wherein the sum of e1, e2, e3 and e4 is e).
[0111] S126. By adding the correlation formula between the reference hydrogen consumption and the sulfur content of the feedstock oil, the correlation formula between the reference hydrogen consumption and the nitrogen content of the feedstock oil, the correlation formula between the reference hydrogen consumption and the oxygen content of the feedstock oil, and the correlation formula between the reference hydrogen consumption and the reaction conversion rate, the following mathematical correlation formula is generated. Among them, the reference hydrogen consumption is the dependent variable, and the sulfur content of the feedstock oil, the nitrogen content of the feedstock oil, the oxygen content of the feedstock oil, and the reaction conversion rate are four independent variables corresponding to the dependent variable.
[0112] Mathematical correlation:
[0113] H = a*(S in -S out ) / M oil,feed +b*(N in -N out ) / M oil,feed +c*(O in -O out ) / M oil,feed +d*K+e*M oil,feed
[0114] Furthermore, the mathematical correlation in step S126 may be further corrected by the following steps.
[0115] S127. Using the sample in the data sample as a parameter, generate an estimated value of the reference hydrogen consumption according to the preliminary mathematical correlation formula; and using the reference hydrogen consumption obtained according to the laboratory analysis data and the material balance calculation as a reference value, determine the relative error of each sample, which can be specifically:
[0116] Relative error = ABS (reference value - estimated value) / reference value; wherein ABS (reference value - estimated value) is the absolute value of the difference between the reference value and the estimated value.
[0117] S128. According to the relative error calculated in step S127, sample values corresponding to relative errors exceeding 5% are eliminated to update the data samples.
[0118] S129, repeating steps S122 to S128 according to the updated data samples until the relative errors of the reference hydrogen consumption sample values are within 5%, and obtaining the final mathematical correlation formula.
[0119] S23. According to the solution results of the preset coefficients, a hydrogen consumption prediction model suitable for the hydrogen consumption unit is constructed, and the hydrogen consumption prediction model includes the mathematical association formula into which the solution results of the preset coefficients are introduced.
[0120] The preset coefficients (including the hydrogen consumption coefficient a for hydrodesulfurization, the hydrogen consumption coefficient b for hydrodenitrification, the hydrogen consumption coefficient c for hydrodeoxygenation, the hydrogen consumption coefficient d for the hydrogen unit, and the hydrogen consumption-related constant e for the hydrogen unit) obtained by solving the above-mentioned mathematical correlation formula are only applicable to the hydrogen unit for which data collection and analysis is performed above; that is, the hydrogen consumption coefficient a for hydrodesulfurization, the hydrogen consumption coefficient b for hydrodenitrification, the hydrogen consumption coefficient c for hydrodeoxygenation, the hydrogen consumption coefficient d for the hydrogen unit, and the hydrogen consumption-related constant e for the hydrogen unit in the embodiment of the present invention are not universal, but are obtained by performing data collection, analysis and calculation on a specific hydrogen unit (such as a certain hydrogenation device), and are only applicable to the hydrogen unit.
[0121] By substituting the preset coefficient into the above mathematical correlation formula, a hydrogen consumption prediction model suitable for the hydrogen unit can be generated, and the hydrogen consumption prediction model is used to measure the current hydrogen consumption of the hydrogen unit; specifically, first, after substituting the preset coefficient into the above mathematical correlation formula, other parameters in the mathematical correlation formula, such as the sulfur, nitrogen, oxygen content and reaction conversion rate data of the feed oil and the produced oil can be obtained through data collection and analysis. In this way, the hydrogen consumption prediction model can be used to calculate the hydrogen consumption of the hydrogen unit under the current operating conditions.
[0122] In this step, a mathematical correlation is constructed to express the relationship between specific components such as sulfur content, nitrogen content, and oxygen content and the reaction conversion rate and hydrogen consumption. Then, by collecting and analyzing data of the specific hydrogen unit and calculating the reaction conversion rate and hydrogen consumption, the preset coefficients in the mathematical correlation are solved, so that a hydrogen consumption prediction model applicable to the specific hydrogen unit can be generated. The hydrogen consumption prediction model in the embodiment of the present invention is generated based on multiple data collection, analysis and calculation of the raw oil and various products of the specific hydrogen unit, so the hydrogen consumption of the specific hydrogen unit can be accurately calculated based on the measured specific components.
[0123] As can be seen from the above, compared with the prior art method of obtaining hydrogen consumption by adding various hydrogen consumptions such as hydrodenitrogenation reaction, hydrodesulfurization reaction, olefin hydrogenation reaction, aromatics saturation reaction, cycloalkane cracking reaction, and paraffin cracking, the embodiment of the present invention does not need to empirically estimate the number of different types of reactions occurring in the hydrogenation process and various hydrogen consumption values when measuring the hydrogen consumption of a certain hydrogen consumption unit in real time, so it can effectively improve the accuracy of the hydrogen consumption result value.
[0124] S16, according to the hydrogen consumption calculation result of the hydrogen consumption prediction model, the material mathematical model and the energy mathematical model, the value of each optimization variable is determined with the goal of minimizing the energy consumption of the hydrogen system; the optimization variables include the hydrogen purity of each unit and the hydrogen supply pressure or the new hydrogen replenishment pressure of each unit;
[0125] The optimization variables in the embodiment of the present invention refer to parameter items that can optimize the energy consumption of the hydrogen system by adjusting their specific parameter values, among which the more important parameter items include the hydrogen purity of the hydrogen supply unit, the hydrogen purity of the hydrogen consumption unit, the hydrogen purity of the hydrogen recovery unit, the hydrogen supply pressure of the hydrogen supply unit, the pressure of new hydrogen replenished in the hydrogen consumption unit and the hydrogen supply pressure of the hydrogen recovery unit.
[0126] The purpose of obtaining the hydrogen consumption calculation result in the embodiment of the present invention is to find the optimal solution of each optimization variable to achieve the purpose of minimizing the energy consumption of the hydrogen system. To this end, the specific implementation method of this step may further include:
[0127] S131. Taking the minimum energy consumption of the hydrogen system as the goal, determine the objective function and constraint conditions of the hydrogen system;
[0128] In an embodiment of the present invention, by combining the material mathematical model and the energy mathematical model, the energy consumption input of the hydrogen supply unit and the hydrogen recovery unit, as well as the compressor power consumption during the operation of the hydrogen unit can be determined, and then the operating energy consumption data of the hydrogen system can be obtained.
[0129] S132. Based on the calculation results obtained by the hydrogen consumption prediction model, according to the objective function, within the value range of the optimization variable, an optimization algorithm is used to solve the problem, so as to obtain the hydrogen supply parameters of the hydrogen supply unit and the hydrogen recovery unit and the minimum operating energy consumption of the hydrogen system.
[0130] In the present invention, the objective function of the hydrogen system includes:
[0131] minf=∑W gi ×(P giOUT -P giIN )×F gi +∑E gi F gi +∑W i ×(P iOUT -PiIN )×F i +∑W hi ×(P hiOUT -P hiIN )×F hi +∑E hi F hi
[0132] Among them, W gi The power consumed by the compressor for each cubic meter of hydrogen supply pressure increase of 1 MPa for the i-th hydrogen supply unit, kW / (MPa·Nm 3 );P giOUT is the hydrogen supply pressure of the i-th hydrogen supply unit (i.e., the outlet pressure of the hydrogen supply compressor), MPa; P giIN is the inlet pressure of the hydrogen supply compressor of the i-th hydrogen supply unit, MPa; F gi is the hydrogen flow rate of the i-th hydrogen supply unit, Nm 3 ; E gi is the energy consumption of the hydrogen supply unit for each cubic meter of hydrogen-containing gas with different hydrogen purities, which is a function of hydrogen purity, kW / Nm 3 ; W i The power consumed by the compressor to increase the pressure of 1 MPa for each cubic meter of new hydrogen added to the i-th hydrogen unit, kW / (MPa·Nm 3 );P iOUT is the pressure of the new hydrogen added to the i-th hydrogen unit (the outlet pressure of the new hydrogen compressor), MPa; P iIN is the inlet pressure of the new hydrogen compressor of the i-th hydrogen unit, MPa; F i is the new hydrogen flow rate of the i-th hydrogen unit, Nm 3 ; W hi The power consumed by the compressor of the i-th hydrogen recovery unit for each cubic meter of hydrogen pressure increase by 1 MPa, kW / (MPa·Nm 3 );P hiOUT is the hydrogen supply pressure of the i-th hydrogen recovery unit (the outlet pressure of the hydrogen recovery unit compressor), MPa; P hiIN is the compressor inlet pressure of the i-th hydrogen recovery unit, MPa; F hi is the hydrogen flow rate of the i-th hydrogen recovery unit, Nm 3 ; E hi is the energy consumption of the hydrogen recovery unit for each cubic meter of hydrogen-containing gas with different hydrogen purities, which is a function of hydrogen purity, kW / Nm 3 .
[0133] The constraints may include:
[0134] H gi ≥minH gi
[0135] H i ≥minH i
[0136] H hi ≥minH hi
[0137] 0≤P giOUT ≤maxP giOUT
[0138] P iOUT ≥minP iOUT
[0139] 0≤P hiOUT ≤maxP hiOUT
[0140] Among them, is the hydrogen purity of the i-th hydrogen unit, %; is the hydrogen purity of the i-th hydrogen supply unit, %; is the hydrogen purity of the i-th hydrogen recovery unit, %; is the hydrogen supply pressure of the i-th hydrogen supply unit (i.e. the outlet pressure of the hydrogen supply compressor), MPa; is the pressure of the new hydrogen added to the i-th hydrogen unit (i.e. the outlet pressure of the new hydrogen compressor), MPa; is the hydrogen supply pressure of the i-th hydrogen recovery unit (i.e. the outlet pressure of the hydrogen recovery unit compressor), MPa.
[0141] According to the specific data of the examples in Table 1, Table 2 and Table 3, after the values of the optimization variables are determined by the hydrogen resource optimization method of the hydrogen system in the embodiment of the present invention, the optimization effect of the hydrogen system is shown in Table 4;
[0142] Table 4: Comparison of results before and after hydrogen system optimization
[0143] project Before optimization After optimization Total hydrogen supply of hydrogen supply unit NM3 / h 83563 77630 <![CDATA[Net hydrogen consumption NM of the hydrogen unit 3 / h]]> 65479 65479 Hydrogen recovery unit recovers pure hydrogen NM3 / h / 5736 System hydrogen utilization% 78.36 84.35 <![CDATA[Hydrogen system reduces energy consumption kgEO / NM 3 (H2)]]> 0 65.22
[0144] To summarize, in the embodiment of the present invention, a mathematical correlation expression is first constructed to express the relationship between specific components such as sulfur content, nitrogen content, and oxygen content and the reaction conversion rate and hydrogen consumption. Then, the preset coefficients in the mathematical correlation expression are solved by performing data collection and analysis on the specific hydrogen unit and calculating the reaction conversion rate and hydrogen consumption, so that a hydrogen consumption prediction model applicable to the specific hydrogen unit can be generated. The hydrogen consumption prediction model in the embodiment of the present invention is generated based on multiple data collection, analysis and calculation of the feedstock oil and various products of the specific hydrogen unit, so the hydrogen consumption of the specific hydrogen unit can be accurately calculated based on the measured specific components.
[0145] As can be seen from the above, compared with the prior art method of obtaining hydrogen consumption by summing up various hydrogen consumptions such as hydrodenitrogenation reaction, hydrodesulfurization reaction, olefin hydrogenation reaction, aromatic saturation reaction, cycloalkane cracking reaction, and paraffin cracking, the embodiment of the present invention does not need to empirically estimate the number of different types of reactions occurring in the hydrogenation process and various hydrogen consumption values when measuring the hydrogen consumption of a certain hydrogen consumption unit in real time, so it can effectively improve the accuracy of the hydrogen consumption measurement result value.
[0146] Next, the embodiment of the present invention establishes relevant objective functions and mathematical models from the perspective of minimizing the energy consumption of the hydrogen system, thereby optimizing the hydrogen production of the hydrogen supply unit to achieve accurate and parallel optimization of the system's hydrogen and energy consumption.
[0147] Embodiment 2
[0148] In another aspect of the embodiment of the present invention, a hydrogen resource optimization device for a hydrogen system is also provided. Figure 2 A schematic diagram of the structure of a hydrogen resource optimization device for a hydrogen system provided in an embodiment of the present invention is shown, wherein the hydrogen resource optimization device for the hydrogen system is Figure 1 The device corresponding to the hydrogen resource optimization method of the hydrogen system described in the corresponding embodiment, that is, implemented by means of a virtual device Figure 1 The hydrogen resource optimization method of the hydrogen system in the corresponding embodiment and each virtual module constituting the hydrogen resource optimization device of the hydrogen system can be executed by an electronic device, such as a network device, a terminal device, or a server. Specifically, the hydrogen resource optimization device of the hydrogen system in the embodiment of the present invention includes:
[0149] The unit model establishment unit 01 is used to logically divide the hydrogen system into a hydrogen supply unit, a hydrogen use unit and a hydrogen recovery unit, and establish corresponding hydrogen supply unit models, hydrogen use unit models and hydrogen recovery unit models according to the design parameters and operating parameters of each unit;
[0150] The mathematical model building unit 02 is used to establish a connection according to the actual material relationship between the unit models, establish a material mathematical model of the hydrogen system, establish an energy mathematical model of the hydrogen system according to the actual flow direction of the hydrogen-containing logistics in the hydrogen system, and establish a direct feed mathematical calculation model of the hydrogen unit;
[0151] The logistics determination unit 03 is used to determine whether the feed logistics of the hydrogen recovery unit can be used as the feed of the hydrogen use unit according to the direct feed mathematical calculation model. If yes, the feed logistics is used as the hydrogen supply logistics of the hydrogen use unit; if not, the feed logistics is used as the recovered hydrogen logistics of the hydrogen recovery unit model;
[0152] The system initial value calculation unit 04 is used to simulate and solve the material mathematical model and the energy mathematical model to obtain the simulation calculation results as the system initial values of the hydrogen system; the system initial values include the flow rate, pressure, temperature and composition of the hydrogen flow under the steady-state working condition of each unit flow;
[0153] The hydrogen consumption prediction unit 05 includes a hydrogen consumption prediction model for calculating the hydrogen consumption of the hydrogen unit;
[0154] The optimization variable solving unit 06 is used to determine the values of each optimization variable based on the hydrogen consumption calculation results of the hydrogen consumption prediction model, the material mathematical model and the energy mathematical model, with the goal of minimizing the energy consumption of the hydrogen system; the optimization variables include the hydrogen purity of each unit and the hydrogen supply pressure or new hydrogen replenishment pressure of each unit.
[0155] Since the working principle and beneficial effects of the hydrogen resource optimization device of the hydrogen system in the embodiment of the present invention have been Figure 1 The corresponding hydrogen resource optimization of the hydrogen system is also recorded and explained, so you can refer to each other and will not repeat it here.
[0156] Embodiment 3
[0157] In an embodiment of the present invention, a memory is further provided, wherein the memory includes a software program, and the software program is suitable for the processor to execute Figure 1 The corresponding steps of the hydrogen resource optimization method of the hydrogen system.
[0158] The embodiments of the present invention can be implemented by means of a software program, that is, by writing a program for implementing Figure 1 The software program (and instruction set) for each step in the hydrogen resource optimization of the corresponding hydrogen system is stored in a storage device, and the storage device is arranged in a computer device, so that the software program can be called by the processor of the computer device to achieve the purpose of the embodiment of the present invention.
[0159] Embodiment 4
[0160] In an embodiment of the present invention, a hydrogen resource optimization device for a hydrogen system is also provided. The memory included in the hydrogen resource optimization device for the hydrogen system includes a corresponding computer program product. When the program instructions included in the computer program product are executed by a computer, the computer can execute the hydrogen resource optimization method for the hydrogen system described in the above aspects and achieve the same technical effect.
[0161] Figure 3 The hardware structure diagram of the hydrogen resource optimization device of the hydrogen system of the electronic device according to the embodiment of the present invention is as follows: Figure 3As shown in FIG. 6 , the device includes one or more processors 610, a bus 630, and a memory 620. Taking one processor 610 as an example, the device may further include: an input device 640 and an output device 650.
[0162] The processor 610, the memory 620, the input device 640 and the output device 650 may be connected via a bus or other means. Figure 3 Take the example of connecting via a bus.
[0163] The memory 620 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 610 executes various functional applications and data processing of the electronic device by running the non-transitory software programs, instructions, and modules stored in the memory 620, that is, the processing method of the above method embodiment is implemented.
[0164] The memory 620 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data, etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 620 may optionally include a memory remotely arranged relative to the processor 610, and these remote memories may be connected to the processing device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0165] The input device 640 can receive input digital or character information and generate signal input. The output device 650 can include a display device such as a display screen.
[0166] The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform:
[0167] S11, logically dividing the hydrogen system into a hydrogen supply unit, a hydrogen use unit and a hydrogen recovery unit, and establishing corresponding hydrogen supply unit models, hydrogen use unit models and hydrogen recovery unit models according to design parameters and operating parameters of each unit;
[0168] S12, establishing a connection according to the actual material relationship between the unit models, establishing a material mathematical model of the hydrogen system, establishing an energy mathematical model of the hydrogen system according to the actual flow direction of the hydrogen-containing logistics in the hydrogen system, and establishing a direct feed mathematical calculation model of the hydrogen unit;
[0169] S13, judging whether the feed stream of the hydrogen recovery unit can be used as the feed of the hydrogen using unit according to the direct feed mathematical calculation model, if yes, using the feed stream as the hydrogen supply stream of the hydrogen using unit; if no, using the feed stream as the recovered hydrogen stream of the hydrogen recovery unit model;
[0170] S14, simulating and solving the material mathematical model and the energy mathematical model to obtain simulation results as system initial values of the hydrogen system; the system initial values include the flow rate, pressure, temperature and composition of the hydrogen flow under steady-state conditions of each unit flow;
[0171] S15, constructing a hydrogen consumption prediction model for measuring the hydrogen consumption of the hydrogen consumption unit;
[0172] S16. According to the hydrogen consumption calculation results of the hydrogen consumption prediction model, the material mathematical model and the energy mathematical model, the values of each optimization variable are determined with the goal of minimizing the energy consumption of the hydrogen system; the optimization variables include the hydrogen purity of each unit and the hydrogen supply pressure or the pressure of new hydrogen replenishment of each unit.
[0173] The above product can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.
[0174] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0175] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0176] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0177] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage device, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage device includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), ReRAM, MRAM, PCM, NAND Flash, NOR Flash, Memristor, disk or optical disk and other media that can store program codes.
[0178] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for optimizing hydrogen resources in a hydrogen system, characterized in that: Includes steps: S11, logically dividing the hydrogen system into a hydrogen supply unit, a hydrogen use unit and a hydrogen recovery unit, and establishing corresponding hydrogen supply unit models, hydrogen use unit models and hydrogen recovery unit models according to design parameters and operating parameters of each unit; S12, establishing a connection according to the actual material relationship between the unit models, establishing a material mathematical model of the hydrogen system, establishing an energy mathematical model of the hydrogen system according to the actual flow direction of the hydrogen-containing logistics in the hydrogen system, and establishing a direct feed mathematical calculation model of the hydrogen unit; S13, judging whether the feed stream of the hydrogen recovery unit can be used as the feed of the hydrogen using unit according to the direct feed mathematical calculation model, if yes, using the feed stream as the hydrogen supply stream of the hydrogen using unit; if no, using the feed stream as the recovered hydrogen stream of the hydrogen recovery unit model; S14, simulating and solving the material mathematical model and the energy mathematical model to obtain simulation results as system initial values of the hydrogen system; the system initial values include the flow rate, pressure, temperature and composition of the hydrogen flow under steady-state conditions of each unit flow; S15, constructing a hydrogen consumption prediction model for measuring the hydrogen consumption of the hydrogen consumption unit; S16, according to the hydrogen consumption calculation result of the hydrogen consumption prediction model, the material mathematical model and the energy mathematical model, the value of each optimization variable is determined with the goal of minimizing the energy consumption of the hydrogen system; the optimization variables include the hydrogen purity of each unit and the hydrogen supply pressure or the new hydrogen replenishment pressure of each unit; The method of determining the value of each optimization variable based on the hydrogen consumption calculation result of the hydrogen consumption prediction model, the material mathematical model and the energy mathematical model with the goal of minimizing the energy consumption of the hydrogen system includes: Taking the minimum energy consumption of the hydrogen system as the goal, determine the objective function and constraints of the hydrogen system; Based on the calculation results obtained by the hydrogen consumption prediction model, according to the objective function, within the value range of the optimization variable, an optimization algorithm is used to solve the problem, so as to obtain the hydrogen supply parameters of the hydrogen supply unit and the hydrogen recovery unit and the minimum operating energy consumption of the hydrogen system; The objective function of the hydrogen system includes: minf=∑W gi ×(P giOUT -P giIN )×F gi +∑E gi F gi +∑W i ×(P iOUT -P iIN )×F i +∑W hi ×(P hiOUT -P hiIN )×F hi +∑E hi F hi Among them, W gi The power consumed by the compressor for each cubic meter of hydrogen supply pressure increase of 1 MPa for the i-th hydrogen supply unit, kW / (MPa·Nm 3 );P giOUT is the hydrogen supply pressure of the i-th hydrogen supply unit, MPa; P giIN is the inlet pressure of the hydrogen supply compressor of the i-th hydrogen supply unit, MPa; F gi is the hydrogen flow rate of the i-th hydrogen supply unit, Nm 3 ; E gi is the energy consumption of the hydrogen supply unit for each cubic meter of hydrogen-containing gas with different hydrogen purities, which is a function of hydrogen purity, kW / Nm 3 ; W i The power consumed by the compressor to increase the pressure of 1 MPa for each cubic meter of new hydrogen added to the i-th hydrogen unit, kW / (MPa·Nm 3 );P iOUT is the pressure of new hydrogen added to the i-th hydrogen unit, MPa; P iIN is the inlet pressure of the new hydrogen compressor of the i-th hydrogen unit, MPa; F i is the new hydrogen flow rate of the i-th hydrogen unit, Nm 3 ; W hi The power consumed by the compressor of the i-th hydrogen recovery unit for each cubic meter of hydrogen pressure increase by 1 MPa, kW / (MPa·Nm 3 );P hiOUT is the hydrogen supply pressure of the i-th hydrogen recovery unit, MPa; P hiIN is the compressor inlet pressure of the i-th hydrogen recovery unit, MPa; F hi is the hydrogen flow rate of the i-th hydrogen recovery unit, Nm 3 ; E hi is the energy consumption of the hydrogen recovery unit for each cubic meter of hydrogen-containing gas with different hydrogen purities, which is a function of hydrogen purity, kW / Nm 3 ; The constraints include: H gi ≥minH gi H i ≥minH i H hi ≥minH hi 0≤P giOUT ≤maxP giOUT P iOUT ≥minP iOUT 0≤P hiOUT ≤maxP hiOUT Among them, H i is the purity of hydrogen in the i-th hydrogen unit, %; H gi is the hydrogen purity of the i-th hydrogen supply unit, %; H hi is the hydrogen purity of the i-th hydrogen recovery unit, %; P giOUT is the hydrogen supply pressure of the i-th hydrogen supply unit, MPa; P iOUT is the pressure of new hydrogen added to the i-th hydrogen unit, MPa; P hiOUT is the hydrogen supply pressure of the i-th hydrogen recovery unit, MPa; The method for constructing the hydrogen consumption prediction model includes: S21, respectively collecting and analyzing data of the hydrogen unit under different working conditions, wherein the content of each data collection and analysis includes: obtaining the test analysis data of the raw materials and products of the hydrogen unit; calculating the conversion rate of the hydrocracking reaction; calculating the reference hydrogen consumption of the hydrogen unit; S22, respectively, the sulfur content, nitrogen content, oxygen content, reaction conversion rate and reference hydrogen consumption of the feedstock oil and the produced oil obtained by data collection and analysis of the hydrogen consumption unit are brought into a preset mathematical correlation formula to solve the preset coefficients of the mathematical correlation formula; the mathematical correlation formula includes: H=a*(S in -S out ) / M oil,feed +b*(N in -N out ) / M oil,feed +c*(O in -O out ) / M oil,feed +d*K+e*M oil,feed Where H is the reference hydrogen consumption, Nm 3 / t;M oil,feed is the crude oil flow rate; S in S is the sulfur content of the raw oil at the reactor inlet; out is the sulfur content of the reaction effluent at the reactor outlet; N in N is the nitrogen content of the raw oil at the reactor inlet; out is the nitrogen content of the reaction effluent at the reactor outlet; in is the oxygen content of the raw oil at the reactor inlet; O out is the oxygen content of the reaction effluent at the reactor outlet; K is the conversion rate of the hydrogenation unit cracking reaction; the preset coefficients include: a is the hydrogen consumption coefficient of hydrodesulfurization; b is the hydrogen consumption coefficient of hydrodenitrogenation; c is the hydrogen consumption coefficient of hydrodeoxygenation; d is the hydrogen consumption coefficient of the hydrogenation unit cracking reaction; e is a constant related to the hydrogen consumption during the operation of the hydrogenation unit hydrogenation device; S23. According to the solution results of the preset coefficients, a hydrogen consumption prediction model suitable for the hydrogen consumption unit is constructed, and the hydrogen consumption prediction model includes the mathematical association formula into which the solution results of the preset coefficients are introduced.
2. The hydrogen resource optimization method of a hydrogen system according to claim 1, characterized in that: The laboratory analysis data at least include distillation range, components and density; the components at least include sulfur content, nitrogen content and oxygen content.
3. The hydrogen resource optimization method of a hydrogen system according to claim 1, characterized in that: The formula for calculating the reaction conversion rate of the hydrogen unit hydrocracking includes: Reaction conversion rate = 100% * (fraction > 350°C in the feed oil - fraction > 350°C in the product oil) / fraction > 350°C in the feed oil.
4. The hydrogen resource optimization method of a hydrogen system according to claim 1, characterized in that: The hydrogen using unit comprises: One of a refinery hydrofining unit, a hydrotreating unit and a hydrogen unit, or any combination thereof.
5. A hydrogen resource optimization device for a hydrogen system, characterized in that: include: The unit model establishment unit is used to logically divide the hydrogen system into a hydrogen supply unit, a hydrogen use unit and a hydrogen recovery unit, and establish corresponding hydrogen supply unit models, hydrogen use unit models and hydrogen recovery unit models according to the design parameters and operation parameters of each unit; A mathematical model building unit is used to establish a connection according to the actual material relationship between the unit models, establish a material mathematical model of the hydrogen system, establish an energy mathematical model of the hydrogen system according to the actual flow direction of the hydrogen-containing logistics in the hydrogen system, and establish a direct feed mathematical calculation model of the hydrogen unit; A logistics determination unit, used to determine whether the feed logistics of the hydrogen recovery unit can be used as the feed of the hydrogen use unit according to the direct feed mathematical calculation model, and if so, use the feed logistics as the hydrogen supply logistics of the hydrogen use unit; if not, use the feed logistics as the recovered hydrogen logistics of the hydrogen recovery unit model; A system initial value calculation unit, used for simulating and solving the material mathematical model and the energy mathematical model to obtain simulation calculation results as system initial values of the hydrogen system; the system initial values include the flow rate, pressure, temperature and composition of the hydrogen flow under steady-state conditions of each unit flow; A hydrogen consumption prediction unit, including a hydrogen consumption prediction model, used to calculate the hydrogen consumption of the hydrogen consumption unit; An optimization variable solving unit, used to determine the value of each optimization variable based on the hydrogen consumption calculation result of the hydrogen consumption prediction model, the material mathematical model and the energy mathematical model, with the goal of minimizing the energy consumption of the hydrogen system; The optimization variables include the hydrogen purity of each unit and the hydrogen supply pressure or the pressure of fresh hydrogen added to each unit, including: Taking the minimum energy consumption of the hydrogen system as the goal, determine the objective function and constraints of the hydrogen system; Based on the calculation results obtained by the hydrogen consumption prediction model, according to the objective function, within the value range of the optimization variable, an optimization algorithm is used to solve the problem, so as to obtain the hydrogen supply parameters of the hydrogen supply unit and the hydrogen recovery unit and the minimum operating energy consumption of the hydrogen system; The objective function of the hydrogen system includes: minf=∑W gi ×(P giOUT -P gilN )×F gi +∑E gi F gi +∑W i ×(P iOUT -P iIN )×F i +∑W hi ×(P hiOUT -P hiIN )×F hi +∑E hi F hi Among them, W gi The power consumed by the compressor for each cubic meter of hydrogen supply pressure increase of 1 MPa for the i-th hydrogen supply unit, kW / (MPa·Nm 3 );P giOUT is the hydrogen supply pressure of the i-th hydrogen supply unit, MPa; P giIN is the inlet pressure of the hydrogen supply compressor of the i-th hydrogen supply unit, MPa; F gi is the hydrogen flow rate of the i-th hydrogen supply unit, Nm 3 ; E gi is the energy consumption of the hydrogen supply unit for each cubic meter of hydrogen-containing gas with different hydrogen purities, which is a function of hydrogen purity, kW / Nm 3 ; W i The power consumed by the compressor to increase the pressure of 1 MPa for each cubic meter of new hydrogen added to the i-th hydrogen unit, kW / (MPa·Nm 3 );P iOUT is the pressure of new hydrogen added to the i-th hydrogen unit, MPa; P iIN is the inlet pressure of the new hydrogen compressor of the i-th hydrogen unit, MPa; F i is the new hydrogen flow rate of the i-th hydrogen unit, Nm 3 ; W hi The power consumed by the compressor of the i-th hydrogen recovery unit for each cubic meter of hydrogen pressure increase by 1 MPa, kW / (MPa·Nm 3 );P hiOUT is the hydrogen supply pressure of the i-th hydrogen recovery unit, MPa; P hiIN is the compressor inlet pressure of the i-th hydrogen recovery unit, MPa; F hi is the hydrogen flow rate of the i-th hydrogen recovery unit, Nm 3 ; E hi is the energy consumption of the hydrogen recovery unit for each cubic meter of hydrogen-containing gas with different hydrogen purities, which is a function of hydrogen purity, kW / Nm 3 ; The constraints include: H gi ≥minH gi H i ≥minH i H hi ≥minH hi 0≤P giOUT ≤maxP giOUT P iOUT ≥minP iOUT 0≤P hiOUT ≤maxP hiOUT Among them, H i is the purity of hydrogen in the i-th hydrogen unit, %; H gi is the hydrogen purity of the i-th hydrogen supply unit, %; H hi is the hydrogen purity of the i-th hydrogen recovery unit, %; P giOUT is the hydrogen supply pressure of the i-th hydrogen supply unit, MPa; P iOUT is the pressure of new hydrogen added to the i-th hydrogen unit, MPa; P hiOUT is the hydrogen supply pressure of the i-th hydrogen recovery unit, MPa; The method for constructing the hydrogen consumption prediction model includes: S21, respectively collecting and analyzing data of the hydrogen unit under different working conditions, wherein the content of each data collection and analysis includes: obtaining the test analysis data of the raw materials and products of the hydrogen unit; calculating the conversion rate of the hydrocracking reaction; calculating the reference hydrogen consumption of the hydrogen unit; S22, respectively, the sulfur content, nitrogen content, oxygen content, reaction conversion rate and reference hydrogen consumption of the feedstock oil and the produced oil obtained by data collection and analysis of the hydrogen consumption unit are brought into a preset mathematical correlation formula to solve the preset coefficients of the mathematical correlation formula; the mathematical correlation formula includes: H=α*(S in -S out ) / M oil,feed +b*(N in -N out ) / M oil,feed +c*(O in -O out ) / M oil,feed +d*K+e*M oil,feed Where H is the reference hydrogen consumption, Nm 3 / t;M oil,feed is the crude oil flow rate; S in S is the sulfur content of the raw oil at the reactor inlet; out is the sulfur content of the reaction effluent at the reactor outlet; N in N is the nitrogen content of the raw oil at the reactor inlet; out is the nitrogen content of the reaction effluent at the reactor outlet; in is the oxygen content of the raw oil at the reactor inlet; O out is the oxygen content of the reaction effluent at the reactor outlet; K is the conversion rate of the hydrogenation unit cracking reaction; the preset coefficients include: a is the hydrogen consumption coefficient of hydrodesulfurization; b is the hydrogen consumption coefficient of hydrodenitrogenation; c is the hydrogen consumption coefficient of hydrodeoxygenation; d is the hydrogen consumption coefficient of the hydrogenation unit cracking reaction; e is a constant related to the hydrogen consumption during the operation of the hydrogenation unit hydrogenation device; S23. According to the solution results of the preset coefficients, a hydrogen consumption prediction model suitable for the hydrogen consumption unit is constructed, and the hydrogen consumption prediction model includes the mathematical association formula into which the solution results of the preset coefficients are introduced.
6. A memory, characterized in that: The method comprises a software program, wherein the software program is suitable for executing the steps of the hydrogen resource optimization method of the hydrogen system according to any one of claims 1 to 4 by a processor.
7. A hydrogen resource optimization device for a hydrogen system, characterized in that: comprising a bus, a processor and a memory as claimed in claim 6; The bus is used to connect the memory and the processor; The processor is configured to execute an instruction set in the memory.
Citation Information
Patent Citations
Dynamics computation method of hydrogen consumption in coal tar hydrogenation process
CN103745088A
Modeling and optimization methods for wax-oil hydrogen cracking process
CN108108572A
