A multi-layer flow control system and control method for a stratified water injection well

By designing an automated multi-layer flow control system for layered water injection wells and using the nozzle opening calculation module and flow control module, the problems of low water injection efficiency and large measurement and adjustment errors in traditional technology have been solved, and more efficient oilfield development has been achieved. and cost reduction.

CN118653809BActive Publication Date: 2024-10-29SCI & TECH RES INST LTD PETRO CHINA +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411143476.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-10-29
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

In oil production, due to the complexity and nonlinear characteristics of the downhole system, traditional layered water injection technology results in low water injection efficiency, large measurement and adjustment errors, and heavy manual control workload. It is difficult to scientifically and rationally control the flow rate of multiple layers, which increases the number of oil fields. Development difficulty.

Method used

Design a multi-layer flow control system for layered water injection wells, including a nozzle opening calculation module and a flow control module. By automatically adjusting the nozzle opening, combined with a pre-trained flow control strategy optimization model, the water injection layer can be controlled according to the pressure of the water injection layer. , flow parameters optimize water injection volume and realize automatic control.

Benefits of technology

It reduces the workload of manual control, improves water injection efficiency, reduces measurement and adjustment errors, improves oilfield development efficiency and economic benefits, and optimizes the selection space of water injection systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118653809B_ABST
    Figure CN118653809B_ABST
Patent Text Reader

Abstract

The present invention discloses a multi-layer flow control system and control method for a stratified water injection well. The system includes: a starting pressure judgment module, which is used to judge whether the pressure before the nozzle of the water injection layer of the water injection well is greater than the pressure after the nozzle. If not, the water injection control system is notified to close the water nozzle of the water injection layer; a water nozzle opening calculation module, which is used to determine the water nozzle opening according to the pressure before the nozzle and the pressure after the nozzle of each water injection layer, combined with the target flow of the water injection layer and the relevant parameters of the water nozzle shape, and notify the water injection control system to adjust the water nozzle opening of the corresponding water injection layer; a flow control module is used to judge whether the error between the actual flow of each water injection layer and the target flow meets the flow error condition. If not, the water injection environment parameters are collected, the flow control strategy optimization model is input, the water nozzle opening adjustment strategy is determined according to the output result of the model, and the water injection control system is notified. The system can automatically adjust the water nozzle opening of different layers, control the water injection amount of each layer, and optimize the water injection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of stratified water injection in petroleum exploitation, and in particular to a stratified water injection well multi-layer flow control system and a control method. Background Art

[0002] The reservoir type of most oil fields in China is sandstone reservoir. Layered water injection is a common method to improve oil field recovery and ensure stable crude oil production. With the continuous deepening of development, oil fields produce high water content, the remaining oil is highly dispersed, it is difficult to stabilize oil and control water, the degree of production is complex, the casing of aging wells is damaged and the casing is deformed, and high seepage channels appear in heterogeneous reservoirs, resulting in invalid or inefficient circulation. The use of layered water injection technology can greatly reduce interlayer conflicts and ensure the effect of oil field development. This technical process uses packers to separate oil layers with different water absorption capacities, and controls the water injection volume of each layer by adjusting the water nozzles of different layers.

[0003] However, the downhole water injection system is an extremely complex nonlinear incomplete system, which is not only affected by the electrical equipment of the water injection system, but also by a series of factors such as formation pressure, permeability, and changes in the flow of the main pipeline during the measurement and adjustment process. The system has the characteristics of strong nonlinearity, interlayer coupling interference, time-varying, and complex models. Most of my country's oil fields have entered the period of extremely high water cut, the contradiction between layers has increased, the qualified rate of water injection is low, the number of sub-injection wells and the number of layers are becoming more and more refined, and the measurement and adjustment workload is growing rapidly year by year. The traditional method uses manual control, which has a large workload and low efficiency. The injection parameters are adjusted by manual experience, and the measurement and adjustment errors are large. The multi-layer flow control of the water injection wells and the scientific and reasonable injection are technical problems that need to be solved urgently. Summary of the invention

[0004] In order to enrich product types, enrich process routes, and increase selection space, an embodiment of the present invention provides a multi-layer flow control system and control method for a stratified water injection well, which can automatically adjust the opening of water nozzles in different layers, control the water injection volume of each layer, and optimize the water injection efficiency.

[0005] In a first aspect, an embodiment of the present invention provides a multi-layer flow control system for a stratified water injection well, including a faucet opening calculation module and a flow control module;

[0006] The water nozzle opening calculation module is used to determine the water nozzle opening according to the pressure before and after the nozzle of each water injection layer obtained from the water injection control system, combined with the target flow of the water injection layer and the relevant parameters of the water nozzle shape, and notify the water injection control system to adjust the water nozzle opening according to the water nozzle opening determination result of the corresponding water injection layer;

[0007] The flow control module is used to determine whether the error between the actual flow of each water injection layer and the target flow meets the flow error condition based on the actual flow of each water injection layer obtained from the water injection control system; if not, collect water injection environment parameters, input a pre-trained flow control strategy optimization model, determine the water nozzle opening adjustment strategy based on the model output result, and notify the water injection control system.

[0008] In a second aspect, an embodiment of the present invention provides a multi-layer flow control method for a stratified water injection well, comprising: obtaining a pressure before the mouth, a pressure after the mouth, and an actual flow of each water injection layer collected by a water injection control system of the water injection well;

[0009] Determine whether the pressure in front of the water injection layer is greater than the pressure behind the water injection layer, and if not, notify the water injection control system to close the water nozzle of the water injection layer;

[0010] Determine the water nozzle opening according to the pressure before and after the nozzle of the water injection layer, combined with the target flow of the water injection layer and the relevant parameters of the water nozzle shape, and notify the water injection control system to adjust the water nozzle opening according to the water nozzle opening determination result of the corresponding water injection layer;

[0011] Determine whether the error between the actual flow and the target flow of each injection layer meets the flow error condition. If not, collect the injection environment parameters, input the pre-trained flow control strategy optimization model, determine the water nozzle opening adjustment strategy according to the model output result, and notify the injection control system. The injection environment parameters include the front-mouth pressure and back-mouth pressure of each injection layer, the wellhead pressure of the injection well, the water nozzle opening, the formation depth of the injection device, the actual flow and the target flow.

[0012] In a third aspect, an embodiment of the present invention provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and when the computer executable instructions are executed by a processor, the above-mentioned multi-layer flow control method for a stratified water injection well is implemented.

[0013] In a fourth aspect, an embodiment of the present disclosure provides a server, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned multi-layer flow control method for stratified water injection wells when executing the program.

[0014] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:

[0015] (1) The multi-layer flow control system for layered water injection wells provided by the embodiment of the present invention automatically adjusts the water nozzles of different layers, controls the water injection volume of each layer, and optimizes the water injection efficiency based on the parameters such as the pressure before the nozzle, the pressure after the nozzle, and the actual flow rate of each water injection layer obtained by the water injection control system, combined with the target flow rate of the water injection layer and the parameters related to the nozzle shape. It can reduce the workload of manual control, improve work efficiency, reduce measurement and adjustment errors, improve oilfield development efficiency, reduce costs, and improve the economic benefits of oilfields.

[0016] (2) In the multi-layer flow control system for stratified water injection wells provided in the embodiment of the present invention, the model training module obtains the sample set required for establishing the flow control strategy optimization model through calculation. Compared with collecting actual samples, the sample volume and application scenarios are expanded and the sample collection time is greatly reduced. The reinforcement learning algorithm is used to autonomously learn the optimal flow control strategy through training, and the strategy is applied to actual water injection operations to improve water injection efficiency.

[0017] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0018] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0020] Figure 1 This is a schematic diagram of the structure of a multi-layer flow control system for a stratified water injection well in Embodiment 1 of the present invention;

[0021] Figure 2 This is a flowchart of starting the pressure determination module in the first embodiment of the present invention;

[0022] Figure 3 This is a working flow chart of the water tap opening calculation module in the first embodiment of the present invention;

[0023] Figure 4 This is a working diagram of the flow control module in the first embodiment of the present invention;

[0024] Figure 5 This is a specific implementation flow chart of the sample construction method in Embodiment 2 of the present invention;

[0025] Figure 6 for Figure 5Specific implementation flow chart of step D12;

[0026] Figure 7 The present invention is a flowchart of a multi-layer flow control method for a stratified water injection well according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] It should be understood that the terms described in the present invention are only for describing special embodiments and are not intended to limit the present invention. In addition, for the numerical range in the present invention, it should be understood that each intermediate value between the upper and lower limits of the scope is also specifically disclosed. Each smaller range between the intermediate value in any stated value or stated range and any other stated value or intermediate value in the described range is also included in the present invention. The upper and lower limits of these smaller ranges can be independently included or excluded in the scope.

[0029] Unless otherwise indicated, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the art to which the invention belongs. Although the present invention describes only preferred methods and materials, any methods and materials similar or equivalent to those described herein may also be used in the implementation or testing of the present invention. All documents mentioned in this specification are incorporated by reference to disclose and describe the methods and / or materials related to the documents. In the event of a conflict with any incorporated document, the content of this specification shall prevail.

[0030] The embodiment of the present invention provides a multi-layer flow control system and control method for a stratified water injection well, which can automatically adjust the opening of water nozzles in different layers, control the water injection volume of each layer, and optimize the water injection efficiency.

[0031] Embodiment 1

[0032] Embodiment 1 of the present invention provides a multi-layer flow control system for a stratified water injection well, referring to Figure 1 As shown, it includes a starting pressure judgment module 1, a faucet opening calculation module 2 and a flow control module 3.

[0033] Start the pressure judgment module 1, which is used to judge whether the pressure in front of the injection layer is greater than the pressure behind the mouth according to the pressure in front of the mouth and the pressure behind the mouth of each injection layer obtained from the water injection control system B of the water injection well. If not, notify the water injection control system B to close the water nozzle of the injection layer.

[0034] The pressure behind the mouth of the injection layer is equivalent to the formation pressure. If the pressure in front of the mouth is less than the pressure behind the mouth, it indicates that the injection pressure of this layer is insufficient, and the water nozzle of the injection layer should be closed.

[0035] For details, see Figure 2 As shown, the workflow of starting the pressure judgment module includes:

[0036] Step A1: Read the Layer mouth front pressure and pressure behind the mouth .

[0037] Step A2: Determine whether .

[0038] Step A3: If true, , indicating that the water injection pressure in this layer is insufficient, and the water nozzle in this layer should be closed.

[0039] Step A4: If false, , indicating that the injection pressure of the layer is sufficient, the layer number is increased by 1, and the process returns to step A1 until all layers are traversed, that is, until the judgment is made is false, where n represents the total number of injection layers.

[0040] The multi-layer flow control system for a stratified water injection well provided in an embodiment of the present invention is electrically connected to a wellhead pressure sensor A and a water injection control system B of the water injection well; the water injection control system B is electrically connected to a front-mouth pressure sensor C1, a rear-mouth pressure sensor C2, a flow sensor C3 and a faucet motor controller C4 of each layer segment, and the faucet motor controller C4 is used to adjust the opening of the faucet according to the received adjustment time, where the adjustment time includes a numerical value and a positive and negative sign, and the positive and negative sign indicates the adjustment direction.

[0041] The water nozzle opening calculation module 2 is used to determine the water nozzle opening after the starting pressure judgment module 1 closes the starting pressure insufficient layer section through the water injection control system B, based on the pressure before and after the nozzle of each injection layer (the injection layer without closing the water nozzle) obtained from the water injection control system, combined with the target flow of the injection layer and the relevant parameters of the water nozzle shape, and notify the water injection control system B to adjust the water nozzle opening according to the water nozzle opening determination result of the corresponding water injection layer.

[0042] For details, see Figure 3 As shown, the working process of the water tap opening calculation module 2 includes:

[0043] Step B1: Read the Layers of pressure in front of the mouth and pressure behind the mouth.

[0044] Step B2: Calculate the water nozzle pressure difference .

[0045] Step B3: Adjust the water nozzle pressure difference Substitution , get the water injection device opening, that is, the water nozzle opening percentage, where is the calculated value of the water nozzle opening of the i-th water injection layer; and are the pressure before and after the mouth of the i-th water injection layer, respectively; Indicates The target flow rate of the injection layer, ; is the width of the faucet, ; is the length of the water nozzle, ; , K and N are constants related to the shape of the faucet.

[0046] Step B4: Adjust the Layer water nozzle opening.

[0047] Step B5: Add 1 to the number of layer segments and return to step B1 until all layer segments are traversed.

[0048] Due to the complexity of specific geological factors and construction factors, it is difficult for the faucet opening calculation module 2 to adjust the injection volume of each injection layer to be close enough to the target flow rate, so the flow rate is further adjusted through the flow control module 3.

[0049] The flow control module 3 is used to determine whether the error between the actual flow of each injection layer and the target flow meets the flow error condition based on the actual flow of each injection layer obtained from the water injection control system; if not, collect the water injection environment parameters, input the pre-trained flow control strategy optimization model, determine the water nozzle opening adjustment strategy based on the model output results, and notify the water injection control system.

[0050] The water injection environmental parameters include the pressure before and after the mouth of each injection layer, the wellhead pressure of the injection well, the water nozzle opening, the formation depth where the water injection device is located, the actual flow rate and the target flow rate.

[0051] Furthermore, the wellhead pressure measured by the wellhead pressure sensor C1 of the injection well is obtained, and the pressure before the mouth, the pressure after the mouth and the water nozzle opening of each injection layer are obtained from the water injection control system B. Combined with the actual flow rate, target flow rate and formation depth of each injection layer, the water injection environment parameters of each injection layer are obtained.

[0052] The error between the actual flow rate and the target flow rate satisfies the flow error condition and can be .in, Indicates The actual flow rate of the injection layer, Indicates the water injection error, usually set to 5%.

[0053] For details, see Figure 4 As shown, the workflow of the flow control module 3 includes:

[0054] Step C1: Collect water injection environmental parameters of each layer and read the wellhead pressure from the wellhead pressure sensor , ; Read the mouth pressure collected by the mouth pressure sensor from the water injection control system , ; The pressure behind the mouth collected by the pressure sensor behind the mouth , ; The water tap opening degree collected by the water tap motor controller ; Actual flow rate of the layer section collected by the flow sensor , ; Get the depth of the water injection device , ; and input parameter target flow , .

[0055] Step C2: Calculate the injection error of each layer and determine whether the injection error reaches the preset value. The formula is: ,in, It means the water injection error is 5%;

[0056] Step C3: If all layers satisfy , then no regulation will be performed and the system will exit directly.

[0057] Step C4: If there is a layer segment , then the water injection environment parameters , , , , , , Enter the reinforcement learning model, which is the flow control strategy optimization model.

[0058] Step C5: The model outputs the movement time of the water nozzles in each layer, that is, the water nozzle adjustment time According to the time, the water nozzle of the injection layer section is adjusted through the water nozzle motor controller to control the flow rate.

[0059] Step C6: Execute step C1 repeatedly until each layer reaches the target injection volume.

[0060] The multi-layer flow control system for stratified water injection wells provided in the embodiment of the present invention further includes a model training module 4 for pre-establishing a flow control strategy optimization model. The specific process of establishing the model is described in the second embodiment.

[0061] The multi-layer flow control system for layered water injection wells provided by the embodiment of the present invention automatically adjusts the water nozzles of different layers, controls the water injection volume of each layer, and optimizes the water injection efficiency according to the parameters such as the pressure before the nozzle, the pressure after the nozzle, and the actual flow rate of each water injection layer obtained by the water injection control system, combined with the target flow rate of the water injection layer and the parameters related to the nozzle shape. It can reduce the workload of manual control, improve work efficiency, reduce measurement and adjustment errors, improve oilfield development efficiency, reduce costs, and improve the economic benefits of oilfields.

[0062] Embodiment 2

[0063] A second embodiment of the present invention provides a method for establishing a flow control strategy optimization model, including a sample construction step D1, a sample set construction step D2 and a model training step D3.

[0064] See also Figure 5 As shown, the sample construction step D1 further includes the following sub-steps:

[0065] Step D11: Obtain water injection environment parameters and determine the actions to be performed.

[0066] The action includes the water nozzle opening adjustment time of each injection layer.

[0067] Step D12: Determine new water injection environment parameters after executing the current action.

[0068] Step D13: Determine the reward function value after executing the current action.

[0069] Step D14: A record is obtained based on the water injection environment parameters, the current action, the reward function value and the new water injection environment parameters on which the new water injection environment parameters are determined.

[0070] Step D15: judging whether the error between the calculated flow rate and the target flow rate of each water injection layer satisfies the flow error condition according to the new water injection environment parameters.

[0071] If the judgment result of step D15 is yes, execute step D17; if the judgment result of step D15 is no, execute step D16.

[0072] Step D16: Modify the current action.

[0073] After step D16, the process returns to step D12.

[0074] Step D17: Get a sample from all records.

[0075] The setting of the reward function is an important parameter that affects the convergence of the model. The reward function includes motion reward, position reward, time reward, error reward and target reward. Accordingly, the model training module 4 determines the reward function value, which is used to:

[0076] According to the new water injection environment parameters after executing the current action, it is determined whether the error between the actual flow rate and the target flow rate of each water injection layer meets the flow error condition.

[0077] If so, set the reward function value after executing the current action to the maximum value.

[0078] If not, perform the following steps to determine the reward function value after executing the current action:

[0079] For each water injection layer, the motion reward, position reward, error reward and target reward are determined separately:

[0080] (1) Determine the motion reward based on the actual flow rate and target flow rate in the current action and the new water injection environment parameters.

[0081] Sports Rewards is the control reward for the direction of the water spout’s movement. The movement reward is expressed as:

[0082]

[0083] in, express The rotation time and direction of the layer nozzle When the water nozzle is turned in the direction of increasing opening Seconds. On the contrary, rotate in the opposite direction Second.

[0084] (2) Determine the position reward based on the water nozzle opening in the new water injection environment parameters.

[0085] Position Rewards In order to prevent the nozzle from moving to the critical value and the maximum or minimum situation from occurring, when the opening is zero, the injection volume of the injection device layer is zero, which seriously affects the life of the injection device. To prevent this from happening, or The agent is punished when . The position reward is expressed as:

[0086]

[0087] (3) Determine the error reward based on the actual flow rate and the target flow rate in the new water injection environment parameters.

[0088] Error Reward Indicates the distance between the actual flow and the target flow. To ensure that each reward is at the same order of magnitude, ten times the percentage of the error to the target value is used as the penalty value of the error reward. The error reward is expressed as:

[0089]

[0090] (4) Determine the target reward based on whether the error between the actual flow rate and the target flow rate in the new water injection environment parameters meets the flow error condition.

[0091] Target Reward It is the reward when the actual flow reaches the error range of the target flow. The target reward is expressed as:

[0092]

[0093] (5) Determine the overall time reward based on the current number of iterations.

[0094] Time Reward The purpose is to achieve the goal in the smallest possible number of adjustment steps. Different adjustment times have different time rewards. represents the number of adjustments, i.e. the number of iterations. The time reward is expressed as:

[0095]

[0096] (6) The reward function value after executing the current action is determined by the overall time reward and the motion reward, position reward, error reward and target reward of each injection layer.

[0097]

[0098] Specifically, the above , , , , and The specific value of can be flexibly set according to research needs.

[0099] A record obtained in step D1 ,in, The water injection environment parameters are used to determine the current water injection environment parameters. Current action, R is the reward function value, is the current water injection environment parameter. A sample consists of multiple records. Among them, the setting of the reward function value is also conducive to finding the shortest optimization path and moving towards the desired goal.

[0100] Sample set construction step D2: Based on multiple sets of water injection environment parameters, the sample construction steps are respectively executed to obtain multiple samples and obtain a sample set.

[0101] Model training step D3: Use the sample set to train the selected learning model to obtain a flow control strategy optimization model, which is used to obtain the optimization action based on the input water injection environment parameters.

[0102] The selected learning model may be a reinforcement learning SAC model. Because the output is discrete, the reinforcement learning SAC model is more suitable for the application scenario of this embodiment.

[0103] Initialization of the reinforcement learning SAC model, including: initialization of strategy network parameters , value network parameters , , target value parameter , , Experience Replay Buffer , discount factor , target entropy , temperature parameters Then, the sample set is used for iterative training to obtain the traffic control strategy optimization model.

[0104] In the above step D12, the new water injection environment parameters after the current action is executed are determined, see Figure 6 As shown, the specific steps include:

[0105] Step D121: Determine the water nozzle opening of each water injection layer after executing the current action according to the current action, and determine the initial value of the along-the-line loss coefficient of the water injection string of each water injection layer.

[0106] According to the movement time to be executed in each layer segment Calculate the water nozzle opening of each layer section, the expression is:

[0107]

[0108] in, Indicates The current water injection device nozzle opening of the layer segment, Indicates the water nozzle control rate of the water injection device.

[0109] The initial value of the along-the-line loss coefficient of the injection string of each injection layer can be set to 0.01.

[0110] For each water injection layer, a new along-the-line loss coefficient is determined through the following steps D122 to D127:

[0111] Step D122: According to the determined water nozzle opening, the flow area and local loss coefficient of the water injection pipe column are determined respectively.

[0112] According to the determined water nozzle opening, the flow area of ​​the water injection column is determined by the following formula:

[0113]

[0114] in, is the flow area of ​​the injection column of the i-th injection layer, is the calculated value of the water nozzle opening of the i-th water injection layer, a is the width of the water nozzle, is the length of the water nozzle.

[0115] According to the determined water nozzle opening, the local loss coefficient of the water injection string is determined by the following formula:

[0116]

[0117]

[0118]

[0119] in, is the local loss coefficient of the injection string in the i-th injection layer.

[0120] Step D123: Determine the outlet flow rate of the water nozzle according to the flow area, local loss coefficient, current loss coefficient along the way and water injection environmental parameters including wellhead pressure, formation depth of the water injection device of the water injection layer and pressure behind the nozzle.

[0121] Determine the faucet outlet flow rate as follows:

[0122]

[0123] in, represents the outlet flow rate of the nozzle of the i-th injection layer, Indicates the wellhead pressure, represents the formation depth of the injection device of the i-th injection layer, represents the back-of-mouth pressure of the i-th injection layer, Indicates The local loss coefficient of the injection string in the injection layer, Indicates The initial value of the loss coefficient along the injection string of the injection layer can be set to 0.01. is the density of the injected liquid, is the acceleration due to gravity, Shidi The flow area of ​​the injection column in the injection layer, Indicates The area of ​​water injection column in the water injection layer, Indicates the diameter of the water injection string.

[0124] Step D124: Determine the fluid velocity in the water injection string according to the flow area and the outlet flow rate of the water nozzle, determine the Reynolds number according to the fluid velocity in the water injection string, and determine a new along-the-line loss coefficient according to the Reynolds number and the relative roughness of the water injection string.

[0125] Fluid velocity in water injection string It is expressed by the fluid continuity equation as:

[0126]

[0127] Reynolds number The calculation formula is:

[0128]

[0129] in, is the fluid kinematic viscosity, .

[0130] Relative roughness of water injection string The expression is:

[0131]

[0132] Among them, the relative roughness is a dimensionless number, is the inner surface roughness of the tube, which can be obtained by looking up the table. .

[0133] According to the Reynolds number and the relative roughness of the water injection string, the new along-the-line loss coefficient is determined by the following formula:

[0134]

[0135] Step D125: Determine whether the difference between the current along-the-path loss coefficient and the previous along-the-path loss coefficient is less than the set difference.

[0136] If the judgment result of step D125 is no, execute step D126; if the judgment result of step D125 is yes, execute step D127.

[0137] Step D126: Modify the along-the-line loss coefficient.

[0138] After step D126, the process returns to step D123.

[0139] Step D127: Use the current along-the-way loss coefficient as the new along-the-way loss coefficient.

[0140] Step D128: According to the loss coefficient of the injection string along the injection line of each injection layer, the loss of the injection device string of each injection layer is determined to obtain the front-mouth pressure of each injection layer.

[0141] According to the loss coefficient of the injection string along the injection layer, the loss of the injection string along the injection layer is determined by the following formula:

[0142]

[0143] in, is the loss along the injection string of the i-th injection layer, is the loss coefficient along the injection string of the i-th injection layer, represents the formation depth of the injection device of the i-th injection layer, represents the diameter of the water injection string, g is the acceleration of gravity, represents the fluid velocity in the injection string of the i-th injection layer, n represents the total number of injection layers, and the subscript 1 represents the topmost injection layer.

[0144] The pressure before the mouth of each injection layer is obtained by the following formula:

[0145]

[0146] represents the pressure in front of the i-th injection layer, Indicates the wellhead pressure.

[0147] Step D129: For each water injection layer, a new flow rate is determined based on the current flow area and the flow rate at the water nozzle outlet, and is used as the actual flow rate to obtain new water injection environment parameters.

[0148] By the current flow area and the outlet flow rate of the water nozzle Determine new traffic :

[0149]

[0150] The new flow rate will be determined As the actual flow .

[0151] Steps D128 and D129 determine the mouth front pressure respectively. and actual flow Step D121 determines the new water tap opening , replace the corresponding parameters in the current water injection environment parameters to obtain new water injection environment parameters.

[0152] The method for establishing a flow control strategy optimization model provided in the second embodiment of the present invention, the model training module obtains the sample set required for establishing the flow control strategy optimization model through calculation, compared with collecting actual samples, the sample size and application scenarios are expanded, and the reinforcement learning algorithm is used to autonomously learn the optimal flow control strategy through training, and the strategy is applied to actual water injection operations to improve water injection efficiency.

[0153] The sample set can be constructed based on the dynamic numerical simulation results of the stratified water injection well, or based on the data collected from the construction site, but the implementation of both methods is subject to certain limitations to varying degrees and has a high time cost. The flow control strategy optimization model establishment method provided in the second embodiment of the present invention quickly establishes a sample set through theoretical calculation, which greatly reduces the sample collection time.

[0154] Based on the inventive concept of the present invention, the embodiment of the present invention also provides a multi-layer flow control method for a stratified water injection well, see Figure 7 As shown, the following steps are included:

[0155] Step S71: Obtain the pressure before the mouth, the pressure after the mouth and the actual flow rate of each injection layer collected by the injection control system of the injection well.

[0156] Step S72: determine whether the pressure in front of the water injection layer is greater than the pressure behind the water injection layer; if not, notify the water injection control system to close the water nozzle of the water injection layer.

[0157] Step S73: Determine the water nozzle opening according to the pressure before and after the nozzle of the water injection layer, combined with the target flow of the water injection layer and the relevant parameters of the water nozzle shape, and notify the water injection control system to adjust the water nozzle opening according to the water nozzle opening determination result of the corresponding water injection layer.

[0158] Step S74: Determine whether the error between the actual flow rate and the target flow rate of each water injection layer satisfies the flow error condition.

[0159] If the judgment in step S74 is no, execute step S75.

[0160] Step S75: Collect water injection environment parameters, input a pre-trained flow control strategy optimization model, determine the water nozzle opening adjustment strategy according to the model output result, and notify the water injection control system.

[0161] The water injection environmental parameters include the pressure before and after the mouth of each injection layer, the wellhead pressure of the injection well, the water nozzle opening, the formation depth where the water injection device is located, the actual flow rate and the target flow rate.

[0162] In some embodiments, step S74 and step S75 may be performed in a loop until it is determined that the error between the actual flow rate and the target flow rate of each water injection layer satisfies the flow error condition.

[0163] Figure 7 For the specific implementation process of each step, please refer to the above embodiment, which will not be repeated here.

[0164] Based on the inventive concept of the present invention, an embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and when the computer executable instructions are executed by a processor, the above-mentioned multi-layer flow control method for stratified water injection wells is implemented.

[0165] Based on the inventive concept of the present invention, an embodiment of the present invention also provides a server, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned multi-layer flow control method for stratified water injection wells when executing the program.

[0166] Unless otherwise specifically stated, terms such as processing, computing, calculating, determining, displaying, etc. may refer to the actions and / or processes of one or more processing or computing systems, or similar devices, which operate and convert data represented as physical (e.g., electronic) quantities within registers or memories of a processing system into other data similarly represented as physical quantities within memories, registers, or other such information storage, transmission, or display devices of the processing system. Information and signals may be represented using any of a variety of different techniques and methods. For example, data, instructions, commands, information, signals, bits, symbols, and chips mentioned throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, light fields or particles, or any combination thereof.

[0167] It should be understood that the specific order or hierarchy of steps in the disclosed process is an example of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process can be rearranged without departing from the scope of protection of the present disclosure. The attached method claims present the elements of the various steps in an exemplary order and are not intended to be limited to the specific order or hierarchy described.

[0168] In the above detailed description, various features are grouped together in a single embodiment to simplify the disclosure. This method of disclosure should not be interpreted as reflecting an intention that an embodiment of the claimed subject matter requires more features than those set forth in each claim. On the contrary, as reflected in the appended claims, the invention is in a state of having less than all the features of the disclosed individual embodiments. Therefore, the appended claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.

[0169] Those skilled in the art will also appreciate that the various illustrative logic blocks, modules, circuits, and algorithmic steps described in conjunction with the embodiments herein can all be implemented as electronic hardware, computer software, or a combination thereof. In order to clearly illustrate the interchangeability between hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above around their functions. Whether such functions are implemented as hardware or software depends on specific applications and the design constraints imposed on the entire system. A skilled person can implement the described functions in an alternative manner for each specific application, but such implementation decisions should not be interpreted as departing from the scope of protection of the present disclosure.

[0170] The steps of the method or algorithm described in conjunction with the embodiments herein may be directly embodied as hardware, a software module executed by a processor, or a combination thereof. The software module may be located in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile disk, a CD-ROM, or any other form of storage medium well known in the art. An exemplary storage medium is connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in an ASIC. The ASIC may be located in a user terminal. Of course, the processor and the storage medium may also be present in a user terminal as discrete components.

[0171] For software implementation, the techniques described in this application can be implemented with modules (e.g., procedures, functions, etc.) that perform the functions described in this application. These software codes can be stored in a memory unit and executed by a processor. The memory unit can be implemented within the processor or outside the processor. In the latter case, it is coupled to the processor in a communication manner via various means, which are well known in the art.

[0172] The above description includes examples of one or more embodiments. Of course, it is impossible to describe all possible combinations of components or methods for the purpose of describing the above embodiments, but it should be recognized by those skilled in the art that the various embodiments may be further combined and arranged. Therefore, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of protection of the appended claims. In addition, with respect to the term "comprising" used in the specification or claims, the word is covered in a manner similar to the term "including", just as "including," is explained as a transitional word in the claims. In addition, any term "or" used in the specification of the claims is intended to mean "non-exclusive or".

Claims

1. A multi-layer flow control system for stratified water injection wells. It is characterized in that It includes a water tap opening calculation module, a flow control module and a model training module; The water nozzle opening calculation module is used to determine the water nozzle opening according to the pressure before and after the nozzle of each water injection layer obtained from the water injection control system, combined with the target flow of the water injection layer and the relevant parameters of the water nozzle shape, and notify the water injection control system to adjust the water nozzle opening according to the water nozzle opening determination result of the corresponding water injection layer; The model training module is used to pre-establish a flow control strategy optimization model through the following steps: sample construction step: obtaining water injection environment parameters, determining the action to be executed, the action including the water nozzle opening adjustment time of each water injection layer; determining the new water injection environment parameters and reward function values ​​after executing the current action, and obtaining a record based on the water injection environment parameters, current action, reward function value and new water injection environment parameters based on which the new water injection environment parameters are determined; judging whether the error between the calculated flow and the target flow of each water injection layer meets the flow error condition according to the new water injection environment parameters; If yes, a sample is obtained from all the records; if no, the current action is modified, and the new water injection environment parameters and reward function values ​​after the current action is determined are returned; sample set construction step: based on the numerical models of multiple stratified water injection wells, the sample construction steps are respectively executed to obtain multiple samples and obtain a sample set; Model training step: using the sample set to train the selected learning model to obtain a flow control strategy optimization model, which is used to obtain an optimization action based on the input water injection environment parameters; the water injection environment parameters include the pressure before the mouth of each water injection layer, the pressure after the mouth, the wellhead pressure of the water injection well, the water nozzle opening, the formation depth of the water injection device, the actual flow rate and the target flow rate; The flow control module is used to determine whether the error between the actual flow of each water injection layer and the target flow meets the flow error condition according to the actual flow of each water injection layer obtained from the water injection control system; If not, collect water injection environment parameters, input the flow control strategy optimization model established by the model training module, determine the water nozzle opening adjustment strategy according to the model output result, and notify the water injection control system.

2. The system according to claim 1, It is characterized in that The water faucet opening calculation module, the water faucet opening determination module, is used to: Use the following formula to determine the faucet opening: in, is the calculated value of the water nozzle opening of the i-th water injection layer, and are the pressure before and after the mouth of the i-th injection layer, Indicates The target flow rate of the injection layer, is the width of the faucet, is the length of the water nozzle, , K and N are constants related to the shape of the faucet.

3. The system according to claim 1, It is characterized in that The selected learning model is a reinforcement learning SAC model.

4. The system according to claim 1, It is characterized in that The reward function includes motion reward, position reward, time reward, error reward and target reward; accordingly, the model training module determines the reward function value for: According to the new water injection environment parameters after executing the current action, it is determined whether the error between the actual flow rate and the target flow rate of each water injection layer meets the flow error condition; If yes, set the reward function value after executing the current action to the maximum value; If not, perform the following steps to determine the reward function value after executing the current action: For each water injection layer, the motion reward is determined according to the actual flow and target flow in the current action and the new water injection environment parameters, the position reward is determined according to the water nozzle opening in the new water injection environment parameters, the error reward is determined according to the actual flow and target flow in the new water injection environment parameters, and the target reward is determined according to whether the error between the actual flow and the target flow meets the flow error condition; Determine the overall time reward based on the current iteration number; The reward function value after executing the current action is determined by the overall time reward and the motion reward, position reward, error reward and target reward of each water injection layer.

5. The system according to claim 1, It is characterized in that The model training module determines the new water injection environment parameters after executing the current action, and is used to: Determine the water nozzle opening of each water injection layer after executing the current action according to the current action, and determine the initial value of the loss coefficient along the water injection string of each water injection layer; For each injection layer, the new along-the-line loss coefficient is determined by the following steps: According to the determined water nozzle opening, the flow area and local loss coefficient of the water injection string are determined respectively; according to the flow area, local loss coefficient, current loss coefficient along the way and water injection environmental parameters including wellhead pressure, formation depth of the water injection device of the water injection layer and pressure behind the nozzle, the water nozzle outlet flow rate is determined; Determine the fluid velocity in the water injection string according to the flow area and the outlet flow velocity of the water nozzle, determine the Reynolds number according to the fluid velocity in the water injection string, and determine the new along-the-line loss coefficient according to the Reynolds number and the relative roughness of the water injection string; Determine whether the difference between the current along-the-route loss coefficient and the previous along-the-route loss coefficient is less than the set difference; If yes, the current along-the-way loss coefficient is used as the new along-the-way loss coefficient; If not, modify the loss coefficient along the way and return to the step of determining the flow velocity at the nozzle outlet; According to the loss coefficient of the injection string along the injection layer, the loss of the injection string along the injection layer is determined, and the pressure before the mouth of each injection layer is obtained; For each water injection layer, the new flow rate is determined by the current flow area and the flow velocity at the nozzle outlet, and is used as the actual flow rate to obtain the new water injection environment parameters.

6. The system according to claim 5, It is characterized in that The model training module, according to the determined water nozzle opening, determines the flow area and local loss coefficient of the water injection column respectively, for: According to the determined water nozzle opening, the flow area of ​​the water injection column is determined by the following formula: ; in, is the flow area of ​​the injection column of the i-th injection layer, is the calculated value of the water nozzle opening of the i-th water injection layer, a is the width of the water nozzle, is the length of the water nozzle; According to the determined water nozzle opening, the local loss coefficient of the water injection string is determined by the following formula: ; in, is the local loss coefficient of the injection string in the i-th injection layer.

7. The system according to claim 5, It is characterized in that The model training module, the determining of the water nozzle outlet flow rate, is used to: Determine the outlet flow rate of the faucet by the following formula: ; in, represents the outlet flow rate of the nozzle of the i-th injection layer, Indicates the wellhead pressure, represents the formation depth of the injection device of the i-th injection layer, represents the back-mouth pressure of the i-th injection layer, Indicates The local loss coefficient of the injection string in the injection layer, Indicates The loss coefficient along the injection string of the injection layer, is the density of the injected liquid, g is the acceleration due to gravity, Indicates The flow area of ​​the injection column in the injection layer, Indicates Water injection column area of ​​water injection layer, Indicates the diameter of the water injection string.

8. The system according to claim 5, It is characterized in that The model training module, the determination of a new along-the-line loss coefficient according to the Reynolds number and the relative roughness of the water injection string, is used to: According to the Reynolds number and the relative roughness of the water injection string, the new along-the-line loss coefficient is determined by the following formula: ; in, Indicates The loss coefficient along the injection string of the injection layer, Indicates The Reynolds number of the water injection layer, Indicates the relative roughness of the water injection string.

9. The system according to claim 5, It is characterized in that The model training module determines the loss of the water injection device along the way of each water injection layer according to the loss coefficient of the water injection device along the way of each water injection layer, and obtains the pressure before the mouth of each water injection layer, which is used for: According to the loss coefficient of the injection string along the injection layer, the loss of the injection string along the injection layer is determined by the following formula: ; in, is the loss along the injection string of the i-th injection layer, is the loss coefficient along the injection string of the i-th injection layer, represents the formation depth of the injection device of the i-th injection layer, represents the diameter of the water injection string, g is the acceleration of gravity, represents the fluid velocity in the injection string of the i-th injection layer, and n represents the total number of injection layers; The pressure before the mouth of each injection layer is obtained by the following formula: ; represents the pressure in front of the i-th injection layer, Indicates the wellhead pressure.

10. The system according to claim 5, It is characterized in that The flow control module collects the water injection environment parameters of each water injection layer for: The wellhead pressure measured by the wellhead pressure sensor of the water injection well is obtained, and the pressure before the mouth, the pressure after the mouth and the water nozzle opening of each water injection layer collected by the water injection control system are obtained. In combination with the actual flow rate, target flow rate and formation depth of each water injection layer where the water injection device is located, the water injection environment parameters of each water injection layer are obtained.

11. The system according to any one of claims 1 to 10, It is characterized in that It also includes a startup pressure judgment module for: According to the pressure before and after the mouth of each injection layer obtained from the water injection control system of the water injection well, it is determined whether the pressure before the mouth of the injection layer is greater than the pressure after the mouth. If not, the water injection control system is notified to close the water nozzle of the injection layer.

12. A method for controlling the flow rate of multiple layers in a stratified water injection well. It is characterized in that include: Obtain the pressure before the mouth, the pressure after the mouth and the actual flow rate of each injection layer collected by the injection control system of the injection well; Determine whether the pressure in front of the water injection layer is greater than the pressure behind the water injection layer, and if not, notify the water injection control system to close the water nozzle of the water injection layer; Determine the water nozzle opening according to the pressure before and after the nozzle of the water injection layer, combined with the target flow of the water injection layer and the relevant parameters of the water nozzle shape, and notify the water injection control system to adjust the water nozzle opening according to the water nozzle opening determination result of the corresponding water injection layer; Determine whether the error between the actual flow rate and the target flow rate of each water injection layer meets the flow error condition. If not, collect water injection environment parameters, input the pre-trained flow control strategy optimization model, determine the water nozzle opening adjustment strategy according to the model output result, and notify the water injection control system. The water injection environment parameters include the pressure before the nozzle, the pressure after the nozzle, the wellhead pressure of the water injection well, the water nozzle opening, the formation depth of the water injection device, the actual flow rate and the target flow rate of each water injection layer; The flow control strategy optimization model is pre-established through the following steps: Sample construction step: obtaining water injection environment parameters, determining the action to be executed, the action including the water nozzle opening adjustment time of each water injection layer; determining the new water injection environment parameters and reward function values ​​after executing the current action, and obtaining a record based on the water injection environment parameters, current action, reward function value and new water injection environment parameters based on which the new water injection environment parameters are determined; judging whether the error between the calculated flow and the target flow of each water injection layer meets the flow error condition according to the new water injection environment parameters; If yes, a sample is obtained from all the records; if no, the current action is modified, and the new water injection environment parameters and reward function values ​​after the current action is determined are returned; sample set construction step: based on the numerical models of multiple stratified water injection wells, the sample construction steps are respectively executed to obtain multiple samples and obtain a sample set; Model training step: using the sample set to train the selected learning model to obtain a flow control strategy optimization model, which is used to obtain an optimization action based on the input water injection environment parameters.

13. A computer storage medium, It is characterized in that The computer storage medium stores computer executable instructions, and when the computer executable instructions are executed by the processor, the multi-layer flow control method for a stratified water injection well according to claim 12 is implemented.

14. A server, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the multi-layer flow control method for a stratified water injection well as claimed in claim 12 when executing the program.

Citation Information

Patent Citations

  • Systems and methods for centralized optimization of reservoir production

    CA3102191A1

  • Remote calibration method for intelligent injection downhole layered flow

    CN110847868A