A method, apparatus, system and storage medium for controlling generation of a hydrate

By acquiring images and generation parameters of hydrates in the reactor, the types and quantities of hydrates were determined. The generation parameters were adjusted to suppress the generation of non-target hydrates and promote the generation of target hydrates. This solved the technical problem of multiple structural types of hydrates in the hydrate generation process and improved the generation and conversion rate of target hydrates.

CN117695954BActive Publication Date: 2026-08-25CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311543982.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-17
Publication Date
2026-08-25
Estimated Expiration
2043-11-17

AI Technical Summary

Technical Problem

In existing technologies, changes in phase equilibrium conditions during hydrate formation result in the formation of hydrates with various structural types, which reduces the conversion rate of the target hydrate.

Method used

By acquiring images of hydrates in the reactor and current generation parameters, the types and amounts of hydrates present in the reactor are determined, the phase equilibrium conditions of non-target hydrates are obtained, and the generation parameters are adjusted based on this information to control the generation of hydrates in the reactor, suppress the generation of non-target hydrates, and promote the generation of target hydrates.

Benefits of technology

It enables precise control of the hydrate formation process, thereby increasing the amount and conversion rate of the target hydrate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117695954B_ABST
    Figure CN117695954B_ABST
Patent Text Reader

Abstract

The application provides a hydrate generation control method, device, system and storage medium. The method comprises: acquiring a hydrate image of hydrates in a reactor and current generation parameters, the current generation parameters comprising a current temperature and a current pressure, the reactor being used for generating hydrates; determining, according to the hydrate image, at least one kind of hydrates present in the reactor and the amount of substance of each kind of hydrate, the at least one kind of hydrates comprising a target hydrate; if the at least one kind of hydrates comprises a non-target hydrate in addition to the target hydrate, acquiring a phase equilibrium condition corresponding to each kind of hydrate, the phase equilibrium condition comprising a temperature and a pressure corresponding to each kind of hydrate; determining a target generation parameter according to the current generation parameters, the amount of substance of each kind of hydrate and the phase equilibrium condition corresponding to each kind of hydrate, and controlling the reactor to generate hydrates according to the target generation parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and more particularly to a method, apparatus, system, and storage medium for controlling the generation of hydrates. Background Technology

[0002] Hydrates are crystals formed by the interaction of gas and water under specific temperature and pressure conditions. A hydrate is a cage-like crystalline inclusion, where water molecules are bonded together by hydrogen bonds to form cage-like crystals, and gas molecules are enclosed within the crystal lattice. Under different temperatures and pressures, one or more types of hydrates, such as Type I, Type II, Type H, TBAB-A, and TBAB-B, can be formed. The formation of TBAB-A and TBAB-B hydrates requires the use of the promoter tetrabutylammonium bromide (TBAB), and under conditions where multiple hydrates are formed simultaneously, TBAB-B hydrates typically exhibit higher fluidity and conversion rates.

[0003] In the prior art, TBAB-B type hydrates are generated by setting initial conditions. During the generation of this type of hydrate, as the concentration of the gas generating the hydrate or the concentration of the promoter decreases, the hydrate phase equilibrium condition of the TBAB-B type hydrate increases. In order to improve the conversion rate of TBAB-B type hydrates, the pressure in the reactor is usually increased, which leads to the generation of other types of hydrates under this pressure, resulting in a low conversion rate of the target hydrate.

[0004] Therefore, there is an urgent need for a way to effectively control the formation of hydrates. Summary of the Invention

[0005] This application provides a method, apparatus, system, and storage medium for controlling the formation of hydrates, in order to solve the technical problem that changes in phase equilibrium conditions during the formation of hydrates lead to the formation of hydrates with various structural types.

[0006] In a first aspect, this application provides a method for controlling the formation of hydrates, comprising:

[0007] Acquire an image of the hydrate in the reactor and the current generation parameters, including the current temperature and current pressure, in which the reactor is used to generate hydrate;

[0008] Based on the hydrate image, determine at least one hydrate present in the reactor and the amount of each hydrate, wherein the at least one hydrate includes the target hydrate;

[0009] If the at least one hydrate includes non-target hydrates other than the target hydrate, then obtain the phase equilibrium conditions corresponding to each hydrate, the phase equilibrium conditions including the temperature and pressure corresponding to each hydrate;

[0010] Based on the current generation parameters, the amount of each hydrate, and the phase equilibrium conditions corresponding to each hydrate, the target generation parameters are determined, and the reactor is controlled to generate hydrates according to the target generation parameters.

[0011] In one possible implementation, determining the presence of at least one hydrate in the reactor, and the amount of each hydrate, based on the hydrate image, includes:

[0012] The hydrate image is processed using a preset model to determine at least one hydrate present in the reactor.

[0013] The hydrate images are processed to determine the hydrate percentage of each hydrate in the reactor;

[0014] For any given hydrate, the amount of substance of the hydrate is determined based on its hydrate content and structural type.

[0015] In one possible implementation, image processing is performed on the hydrate image to determine the hydrate percentage of each hydrate in the reactor, including:

[0016] Acquire an initial image and a standard image, wherein the initial image is an image taken of the reactor before hydrate is generated in the reactor, and the standard image is an image taken of the reactor when the reactor is filled with hydrate;

[0017] Based on the initial image, the standard image, and the hydrate image, determine the relative hydrate content corresponding to each pixel in the hydrate image;

[0018] Based on the relative hydrate content corresponding to each pixel in the hydrate image, the hydrate percentage of each type of hydrate in the reactor is determined.

[0019] In one possible implementation, for any pixel in the hydrate image, determining the relative hydrate content corresponding to that pixel in the hydrate image based on the initial image, the standard image, and the hydrate image includes:

[0020] In the initial image, a first reference pixel corresponding to the pixel is determined;

[0021] In the standard image, a second reference pixel corresponding to the pixel is determined;

[0022] Obtain the first difference between the gray value of the pixel and the gray value of the first reference pixel, and the second difference between the gray value of the second reference pixel and the gray value of the first reference pixel;

[0023] The first difference and the second difference are used to determine the relative hydrate content corresponding to the pixel.

[0024] In one possible implementation, determining the hydrate percentage of each hydrate in the reactor based on the relative hydrate content corresponding to each pixel in the hydrate image includes:

[0025] In the hydrate image, the image region corresponding to each hydrate is determined;

[0026] Determine the first sum value of the relative hydrate content corresponding to each pixel in the hydrate image;

[0027] For any type of hydrate, a second sum of the relative hydrate content of each pixel in the image region corresponding to the hydrate is determined, and the ratio of the second sum to the first sum is determined as the hydrate percentage of the hydrate in the reactor.

[0028] In one possible implementation, determining the amount of substance of the hydrate based on its hydrate content and structural type includes:

[0029] Based on the hydrate content and the chemical formula of the hydrate, determine the gas ratio between the gas in the hydrate and the total gas.

[0030] The gas consumption of the hydrate is determined based on the gas ratio and total gas consumption.

[0031] The amount of substance of the hydrate is determined based on the gas consumption of the hydrate and the chemical formula.

[0032] In one possible implementation, a target generation parameter is determined based on the current generation parameters, the amount of each hydrate, and the phase equilibrium condition corresponding to each hydrate, and the reactor is controlled to generate hydrates according to the target generation parameter, including:

[0033] The temperature and pressure adjustment amounts are determined based on the amount of substance of each hydrate, the phase equilibrium conditions corresponding to each hydrate, and the current generation parameters.

[0034] The sum of the current temperature and the temperature adjustment amount is determined as the target temperature, and the sum of the current pressure and the pressure adjustment amount is determined as the target pressure;

[0035] The target generation parameters are determined to include the target temperature and the target pressure.

[0036] Secondly, this application provides a hydrate formation control device, comprising:

[0037] The acquisition module is used to acquire images of hydrates in the reactor, as well as the current generation parameters;

[0038] The processing module is configured to determine, based on the hydrate image, at least one hydrate present in the reactor and the amount of each hydrate, wherein the at least one hydrate includes a target hydrate;

[0039] The processing module is further configured to, if the at least one hydrate includes a non-target hydrate other than the target hydrate, obtain a first generation parameter corresponding to the non-target hydrate, wherein the first generation parameter includes the temperature and pressure corresponding to the non-target hydrate;

[0040] The processing module is further configured to determine target generation parameters based on the current generation parameters, the amount of each hydrate, and the first generation parameters corresponding to each non-target hydrate, and control the reactor to generate hydrates according to the target generation parameters.

[0041] Thirdly, this application provides a hydrate formation control system, comprising: a computer control device, a temperature controller, a pressure controller, and a hydrate formation unit; wherein,

[0042] The computer control device is used to execute a hydrate generation control method as described in any of the first aspects.

[0043] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any of the first aspects.

[0044] This application provides a method, apparatus, system, and storage medium for controlling the formation of hydrates. The method involves acquiring an image of hydrates in a reactor and current formation parameters, including current temperature and pressure, where the reactor is used to generate hydrates. Based on the hydrate image, the method determines at least one type of hydrate present in the reactor and the amount of each type of hydrate, including a target hydrate. If the at least one type of hydrate includes non-target hydrates other than the target hydrate, a first formation parameter corresponding to the non-target hydrate is acquired, including the temperature and pressure corresponding to the non-target hydrate. Based on the current formation parameters, the amount of each type of hydrate, and the first formation parameter corresponding to each non-target hydrate, a target formation parameter is determined, and the reactor is controlled to generate hydrates according to the target formation parameter to suppress the formation of non-target hydrates. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 A schematic diagram of the structure of a hydrate generation control system according to an embodiment of this application;

[0047] Figure 2 A schematic flowchart of a method for controlling the formation of hydrates provided in this application, according to Embodiment 1;

[0048] Figure 3 A schematic flowchart of a second embodiment of a hydrate formation control method provided in this application;

[0049] Figure 4 A schematic flowchart of a third embodiment of a method for controlling the formation of hydrates provided in this application;

[0050] Figure 5 A schematic flowchart of a method for controlling the formation of hydrates provided in this application, embodiment four;

[0051] Figure 6 A schematic flowchart of Embodiment 5 of a method for controlling the formation of hydrates provided in this application;

[0052] Figure 7 A schematic flowchart of Embodiment Six of a method for controlling the formation of hydrates provided in this application;

[0053] Figure 8 A schematic flowchart of Embodiment Seven of a method for controlling the formation of hydrates provided in this application;

[0054] Figure 9 A schematic diagram of the structure of a hydrate formation control device according to an embodiment of this application;

[0055] Figure 10 This is a schematic diagram of a second embodiment of a hydrate generation control system provided in this application.

[0056] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0057] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0058] First, let me explain the terms used in this application:

[0059] Conversion rate: The ratio of the number of water molecules in the hydrate to the total number of water molecules in the working solution.

[0060] Hydrate phase equilibrium conditions: The state in which the three phases of gas, solution, and hydrate remain constant in temperature, pressure, gas phase composition, liquid phase composition, and hydrate phase mass (amount of substance). These conditions are the hydrate phase equilibrium conditions.

[0061] Amount of matter: a physical quantity that represents a collection containing a certain number of particles.

[0062] The structural types of hydrates are the different cage-like or semi-cage-like structures formed by water molecules in the hydrate, without considering the influence of gas molecules, such as type I, type II, type H, TBAB-A, TBAB-B and other cage-like and semi-cage-like structures.

[0063] In existing technologies, TBABB-B type hydrates are generated by setting initial conditions, such as pressure and temperature. However, as TBABB-B type hydrates are generated, the concentration of the gas that generates TBABB-B type hydrates decreases or the concentration of the promoter decreases. This causes the hydrate phase equilibrium condition of TBABB-B type hydrates to increase. In order to maintain the conversion rate of TBABB-B type hydrates, the pressure of the reactor is usually increased. However, under this pressure, other structural types of hydrates are generated, thereby reducing the conversion rate of the target hydrate.

[0064] Based on this, in order to solve the above-mentioned technical problems, the technical concept of this application is: how to provide a new method for controlling the formation of hydrates in order to increase the formation amount of the target hydrate.

[0065] Figure 1 This is a schematic diagram of the structure of a hydrate formation control system according to an embodiment of this application, as shown in the figure below. Figure 1 As shown, the system includes: computer 11, camera 12, microscope 13, reaction vessel 14, double-layer reactor 15, circulating refrigerator 16, surface light source 17, buffer tank 18, vacuum pump 19, gas cylinder 20, automatic pump 21, pressure sensor 22, and temperature sensor 23.

[0066] The system includes a computer 11 controlling a camera 12 to acquire images of the reaction vessel 14 via a microscope 13. A surface light source 17, positioned on the front of the reaction vessel, provides illumination for the camera. A jacketed reactor 15, located outside the reaction vessel 14, increases the temperature within the vessel. A circulating chiller 16 lowers the temperature. A buffer tank 18, a vacuum pump 19, a gas cylinder 20, and an automatic pump 21 regulate the pressure within the reaction vessel 14. A pressure sensor 22 and a temperature sensor 23 are installed within the reaction vessel, transmitting the acquired pressure and temperature data to the computer 11. The computer 11 can control the circulating chiller and the jacketed reactor based on the acquired temperature, and it can also control the automatic pump 21 based on the acquired pressure.

[0067] It should be noted that, Figure 1 This is merely a structural diagram of a hydrate formation and control system provided in an embodiment of this application. This embodiment does not represent... Figure 1 The document does not limit the actual form of the various devices included, nor does it specify the form of the devices. Figure 1 The interaction methods between devices are limited, and can be set according to actual needs in the specific application of the solution.

[0068] The technical solution of this application will now be described in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0069] Figure 2 A schematic flowchart of a method for controlling the formation of hydrates provided in this application is shown in Embodiment 1. Figure 2 As shown, specifically, the method includes:

[0070] S201. Obtain an image of the hydrates in the reactor, as well as the current generation parameters.

[0071] In this embodiment, the current generation parameters include the current temperature and current pressure, and the reactor is used to generate hydrates.

[0072] S202. Based on the hydrate image, determine at least one hydrate present in the reactor and the amount of each hydrate.

[0073] In this embodiment, by setting initial generation parameters that match the target hydrate, at least one hydrate generated in the reactor includes the target hydrate.

[0074] S203. If at least one hydrate includes non-target hydrates other than the target hydrate, then obtain the phase equilibrium conditions corresponding to each hydrate.

[0075] In this embodiment, optionally, the phase equilibrium conditions include the temperature and pressure corresponding to the stable coexistence of each hydrate with water.

[0076] S204. Based on the current generation parameters, the amount of each hydrate, and the phase equilibrium conditions corresponding to each hydrate, determine the target generation parameters, and control the reactor to generate hydrates according to the target generation parameters.

[0077] In this embodiment, a target generation parameter is determined based on the current generation parameters, the amount of each hydrate, and the phase equilibrium conditions corresponding to each hydrate. This target generation parameter can suppress the generation of non-target hydrates and promote the generation of target hydrates.

[0078] In this embodiment, an image of the hydrate in the reactor and the current generation parameters are acquired; based on the hydrate image, at least one hydrate present in the reactor and the amount of each hydrate are determined; if the at least one hydrate includes non-target hydrates other than the target hydrate, the phase equilibrium conditions corresponding to each hydrate are acquired; based on the current generation parameters, the amount of each hydrate, and the phase equilibrium conditions corresponding to each hydrate, the target generation parameters are determined, and the reactor is controlled to generate hydrates according to the target generation parameters, so as to suppress the generation of non-target hydrates and thereby increase the generation amount of the target hydrate.

[0079] Figure 3 This is a flowchart illustrating a second embodiment of a method for controlling the formation of hydrates provided in this application. Based on the above embodiments, as follows... Figure 3 As shown, one specific implementation of step S202 is as follows:

[0080] S301. Process the hydrate image using a preset model to determine at least one hydrate present in the reactor.

[0081] In this embodiment, for example, the hydrate image can be analyzed and processed using a preset Mask R-CNN model to obtain the types of hydrates, and then determine at least one hydrate present in the reactor.

[0082] S302. Perform image processing on the hydrate images to determine the proportion of each hydrate in the reactor.

[0083] In this embodiment, for example, after the hydrate image is processed into grayscale, the proportion of each type of hydrate in the reactor can be determined based on the pixel values ​​in the hydrate image.

[0084] S303. For any type of hydrate, determine the amount of substance of the hydrate based on the hydrate percentage and the hydrate structure type.

[0085] In this embodiment, the hydrate image is processed by a preset model to identify at least one hydrate present in the reactor; the hydrate image is processed to determine the proportion of each hydrate in the reactor; for any hydrate, the amount of hydrate is determined based on the proportion of hydrate and the structural type of the hydrate, so that the types of various hydrates and the amount of generated substances can be obtained in a timely manner during the hydrate formation process.

[0086] Figure 4 A schematic flowchart of Embodiment 3 of a method for controlling the formation of hydrates provided in this application is shown below. Figure 4 As shown, one specific implementation of step S302 is as follows:

[0087] S401. Obtain the initial image and the standard image.

[0088] In this embodiment, the initial image is an image taken of the reactor before hydrates are generated in the reactor, and the standard image is an image taken of the reactor when the reactor is filled with hydrates.

[0089] S402. Based on the initial image, standard image, and hydrate image, determine the relative hydrate content corresponding to each pixel in the hydrate image.

[0090] In this embodiment, after grayscale processing of the initial image and the hydrate image, the actual generated hydrate image is obtained based on the grayscale images of the initial image and the hydrate image. Then, based on the actual generated hydrate image and the standard image, the relative hydrate content corresponding to each pixel in the hydrate is obtained.

[0091] S403. Determine the proportion of each type of hydrate in the reactor based on the relative hydrate content corresponding to each pixel in the hydrate image.

[0092] In this embodiment, an initial image and a standard image are acquired; based on the initial image, the standard image, and the hydrate image, the relative hydrate content corresponding to each pixel in the hydrate image is determined; based on the relative hydrate content corresponding to each pixel in the hydrate image, the proportion of each type of hydrate in the reactor is determined, thereby enabling monitoring of the proportion of the target hydrate during the hydrate formation process.

[0093] Figure 5 A schematic flowchart of Embodiment 4 of a method for controlling the formation of hydrates provided in this application is shown below. Figure 5 As shown, one specific implementation of step S402 is as follows:

[0094] S501. In the initial image, determine the first reference pixel corresponding to the pixel.

[0095] S502. In the standard image, determine the second reference pixel corresponding to the pixel.

[0096] In this embodiment, the standard image and the initial image are the same size, and the coordinates of the first reference pixel in the initial image and the coordinates of the second reference pixel in the standard image are the same.

[0097] S503, obtain the first difference between the gray value of the pixel and the gray value of the first reference pixel, and the second difference between the gray value of the second reference pixel and the gray value of the first reference pixel.

[0098] In this embodiment, the pixel is located at the same position as the first reference pixel, and the second reference pixel is located at the same position as the first reference pixel.

[0099] S504. The ratio of the first difference to the second difference is determined as the relative hydrate content corresponding to the pixel.

[0100] In this embodiment, in the initial image, a first reference pixel is determined; in the standard image, a second reference pixel is determined; a first difference between the gray value of the pixel and the gray value of the first reference pixel, and a second difference between the gray value of the second reference pixel and the gray value of the first reference pixel are obtained; the ratio of the first difference to the second difference is determined as the relative hydrate content corresponding to the pixel, so as to determine the accurate value of the relative hydrate content corresponding to each pixel.

[0101] Figure 6 A schematic flowchart of Embodiment 5 of a method for controlling the formation of hydrates provided in this application is shown below. Figure 6 As shown, one specific implementation of step S403 is as follows:

[0102] S601. In the hydrate image, determine the image region corresponding to each hydrate;

[0103] In this example, a pre-defined Mask R-CNN model is used to determine the image region corresponding to each type of hydrate.

[0104] S602. Determine the first sum of the relative hydrate content corresponding to each pixel in the hydrate image.

[0105] In this embodiment, the relative hydrate content corresponding to each pixel in the hydrate image is superimposed to obtain a first sum value.

[0106] S603. For any type of hydrate, determine the second sum of the relative hydrate content of each pixel in the image region corresponding to the hydrate, and determine the ratio of the second sum to the first sum as the hydrate percentage in the reactor.

[0107] In this embodiment, for example, for TBABB-B type hydrate, based on the image area corresponding to TBABB-B type hydrate, the relative content of hydrate corresponding to each pixel in the image area is superimposed to obtain a second sum value. Then, the ratio of the second sum value to the first sum value is determined as the hydrate proportion in the reactor, so as to determine the accurate value of the hydrate proportion.

[0108] Figure 7 A schematic flowchart of Embodiment Six of a method for controlling the formation of hydrates provided in this application is shown below. Figure 7 As shown, one specific implementation of step S303 is as follows:

[0109] S701. Determine the gas ratio between the gas in the hydrate and the total gas based on the hydrate percentage and the chemical formula of the hydrate.

[0110] In this embodiment, for example, the following formula can be used:

[0111]

[0112] The gas ratio between the gas in the hydrate and the total gas is obtained, where m i n represents the number of water molecules in the chemical formula of the hydrate. i S represents the number of gas molecules in the chemical formula of the hydrate. w,i S represents the hydrate content of this hydrate. w,j Let m be the hydrate percentage of the j-th hydrate. j Let n be the number of water molecules in the chemical formula of the j-th hydrate. j Let be the number of gas molecules in the chemical formula of the j-th hydrate.

[0113] S702. Determine the gas consumption of the hydrate based on the gas ratio and total gas consumption.

[0114] In this embodiment, for example, the following formula can be used:

[0115]

[0116] The gas consumption for obtaining hydrates, where p t V is the pressure in the reactor at time t. t Let Z be the volume of gas in the buffer tank at time t. t Let t be the gas compressibility factor, R be the gas constant, p0 be the pressure in the reactor at the initial time, V0 be the gas volume in the buffer tank at the initial time, and Z0 be the gas compressibility factor at the initial time.

[0117] S703. Determine the amount of substance of the hydrate based on the gas consumption and chemical formula of the hydrate.

[0118] In this embodiment, for example, the following formula can be used:

[0119]

[0120] The amount of hydrate obtained.

[0121] In this embodiment, the gas ratio between the gas in the hydrate and the total gas is determined based on the hydrate percentage and the chemical formula of the hydrate; the gas consumption of the hydrate is determined based on the gas ratio and the total gas consumption; and the amount of substance of the hydrate is determined based on the gas consumption and the chemical formula of the hydrate, so as to determine the specific amount of substance generated by various structural types of hydrates during the hydrate formation process, thereby enabling real-time monitoring of hydrate production.

[0122] Figure 8This is a flowchart illustrating a method for controlling the formation of hydrates according to an embodiment of this application, specifically embodiment seven. Based on the above embodiments, as follows... Figure 8 As shown, one specific implementation of step S204 is as follows:

[0123] S801. Determine the temperature and pressure adjustment amounts based on the amount of substance of each hydrate and the corresponding phase equilibrium conditions of each hydrate.

[0124] In this embodiment, for example, according to the Chen-Guo model, the equilibrium conditions for the type I hydrate phase are 13 MPa and 35 degrees Celsius, and the equilibrium conditions for the TBAB-B type hydrate phase are 12 MPa and 45 degrees Celsius. The current pressure in the current generation parameters is 11 MPa and the current temperature is 50 degrees Celsius. Therefore, the temperature adjustment is determined to be -5 degrees Celsius and the pressure adjustment is 1 MPa.

[0125] S802. The sum of the current temperature and the temperature regulation value is determined as the target temperature, and the sum of the current pressure and the pressure regulation value is determined as the target pressure.

[0126] In this embodiment, for example, the sum of the current temperature and the temperature adjustment amount, 45 degrees Celsius, is determined as the target temperature, and the sum of the current pressure and the pressure adjustment amount, 12 MPa, is determined as the target pressure.

[0127] S803. Determine the target generation parameters, including target temperature and target pressure.

[0128] In this embodiment, for example, the target generation parameters include a target temperature of 45 degrees Celsius and a target pressure of 12 MPa.

[0129] In this embodiment, the temperature regulation amount and pressure regulation amount are determined according to the amount of substance of each hydrate and the corresponding phase equilibrium condition of each hydrate; the sum of the current temperature and the temperature regulation amount is determined as the target temperature, and the sum of the current pressure and the pressure regulation amount is determined as the target pressure; the target generation parameters, including the target temperature and the target pressure, are determined to promote the generation of the target hydrate and inhibit the generation of non-target hydrates, so as to achieve precise control of the hydrate generation process and thereby increase the yield of the target hydrate.

[0130] Figure 9 This is a schematic diagram of the structure of a hydrate formation control device according to an embodiment of this application, as shown in the following figure. Figure 9 As shown, the device includes an acquisition module 91 and a processing module 92.

[0131] Specifically, the acquisition module 91 is used to acquire an image of the hydrates in the reactor and the current generation parameters. The processing module 92 is used to determine, based on the hydrate image, at least one hydrate present in the reactor and the amount of each hydrate, wherein the at least one hydrate includes a target hydrate. The processing module 92 is also used to acquire the phase equilibrium conditions corresponding to each hydrate if the at least one hydrate includes non-target hydrates other than the target hydrate, including the temperature and pressure corresponding to each hydrate. The processing module 92 is also used to determine target generation parameters based on the current generation parameters, the amount of each hydrate, and the phase equilibrium conditions corresponding to each hydrate, and to control the reactor to generate hydrates according to the target generation parameters.

[0132] The hydrate formation control device provided in this embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0133] Figure 10 This is a schematic diagram of a second embodiment of a hydrate formation control system provided in this application, as shown in the figure. Figure 10 As shown. The system includes: a computer control unit 101, a temperature controller 102, a pressure controller 103, and a hydrate generation unit 104, wherein the computer control unit 104 is used to execute the embodiment of the method described above, which will not be described again here.

[0134] This embodiment also provides a computer-readable storage medium storing computer-executable instructions. When the processor executes the computer-executable instructions, it implements the embodiment of the method described above, which will not be repeated here.

[0135] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for controlling the formation of hydrates, characterized in that, include: Acquire an image of the hydrate in the reactor and the current generation parameters, including the current temperature and current pressure, in which the reactor is used to generate hydrate; The hydrate image is processed using a preset Mask R-CNN model to determine at least one hydrate present in the reactor; Acquire an initial image and a standard image, wherein the initial image is an image of the reactor taken before hydrate is generated in the reactor, and the standard image is an image of the reactor taken when the reactor is filled with hydrate; Based on the initial image, the standard image, and the hydrate image, determine the relative hydrate content corresponding to each pixel in the hydrate image; Based on the relative hydrate content corresponding to each pixel in the hydrate image, the hydrate percentage of each hydrate in the reactor is determined; For any given hydrate, the gas ratio between the gas in the hydrate and the total gas is determined based on the hydrate percentage and the chemical formula of the hydrate. The gas consumption of the hydrate is determined based on the gas ratio and total gas consumption. The amount of substance of the hydrate is determined based on the gas consumption of the hydrate and the chemical formula, wherein the at least one hydrate includes the target hydrate; The at least one hydrate includes non-target hydrates other than the target hydrate; the phase equilibrium conditions corresponding to each hydrate are obtained, and the phase equilibrium conditions include the temperature and pressure corresponding to each hydrate. The temperature and pressure adjustment amounts are determined based on the amount of substance of each hydrate, the phase equilibrium conditions corresponding to each hydrate, and the current generation parameters. The sum of the current temperature and the temperature adjustment amount is determined as the target temperature, and the sum of the current pressure and the pressure adjustment amount is determined as the target pressure; The target generation parameters include the target temperature and the target pressure; The reactor is controlled to generate hydrates according to the target generation parameters.

2. The method according to claim 1, characterized in that, For any pixel in the hydrate image; determining the relative hydrate content corresponding to that pixel in the hydrate image based on the initial image, the standard image, and the hydrate image, including: In the initial image, a first reference pixel corresponding to the pixel is determined; In the standard image, a second reference pixel corresponding to the pixel is determined; Obtain the first difference between the gray value of the pixel and the gray value of the first reference pixel, and the second difference between the gray value of the second reference pixel and the gray value of the first reference pixel; The ratio of the first difference to the second difference is determined as the relative hydrate content corresponding to the pixel.

3. The method according to claim 1, characterized in that, Based on the relative hydrate content corresponding to each pixel in the hydrate image, the hydrate percentage of each hydrate in the reactor is determined, including: In the hydrate image, the image region corresponding to each hydrate is determined; Determine the first sum value of the relative hydrate content corresponding to each pixel in the hydrate image; For any type of hydrate, a second sum of the relative hydrate content of each pixel in the image region corresponding to the hydrate is determined, and the ratio of the second sum to the first sum is determined as the hydrate percentage of the hydrate in the reactor.

4. A device for controlling the formation of hydrates, characterized in that, include: The acquisition module is used to acquire images of hydrates in the reactor and current generation parameters, including current temperature and current pressure, wherein the reactor is used to generate hydrates. Acquire an initial image and a standard image, wherein the initial image is an image of the reactor taken before hydrate is generated in the reactor, and the standard image is an image of the reactor taken when the reactor is filled with hydrate; The processing module is used to process the hydrate image using a preset Mask R-CNN model to determine at least one hydrate present in the reactor; Based on the initial image, the standard image, and the hydrate image, determine the relative hydrate content corresponding to each pixel in the hydrate image; Based on the relative hydrate content corresponding to each pixel in the hydrate image, the hydrate percentage of each hydrate in the reactor is determined; For any given hydrate, the gas ratio between the gas in the hydrate and the total gas is determined based on the hydrate percentage and the chemical formula of the hydrate. The gas consumption of the hydrate is determined based on the gas ratio and total gas consumption. The amount of substance of the hydrate is determined based on the gas consumption of the hydrate and the chemical formula, wherein the at least one hydrate includes the target hydrate; The at least one hydrate includes non-target hydrates other than the target hydrate; the phase equilibrium conditions corresponding to each hydrate are obtained, and the phase equilibrium conditions include the temperature and pressure corresponding to each hydrate. The temperature and pressure adjustment amounts are determined based on the amount of substance of each hydrate, the phase equilibrium conditions corresponding to each hydrate, and the current generation parameters. The sum of the current temperature and the temperature adjustment amount is determined as the target temperature, and the sum of the current pressure and the pressure adjustment amount is determined as the target pressure; The target generation parameters include the target temperature and the target pressure; The reactor is controlled to generate hydrates according to the target generation parameters.

5. A hydrate formation control system, comprising: Computer control unit, temperature controller, pressure controller, and hydrate generation unit; among which, The computer control device is used to execute a hydrate generation control method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Method for preparing gas hydrate accelerant

    CN101514300A

  • Full-visual multifunctional gas hydrate dynamic determination system and method

    CN115508518A