CN114687715A - Method and device for controlling water injection system of oil field - Google Patents

Method and device for controlling water injection system of oil field Download PDF

Info

Publication number
CN114687715A
CN114687715A CN202011558757.4A CN202011558757A CN114687715A CN 114687715 A CN114687715 A CN 114687715A CN 202011558757 A CN202011558757 A CN 202011558757A CN 114687715 A CN114687715 A CN 114687715A
Authority
CN
China
Prior art keywords
energy consumption
water injection
injection system
configuration parameters
oilfield
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011558757.4A
Other languages
Chinese (zh)
Inventor
李志元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Guoshuang Software Co ltd
Original Assignee
Suzhou Guoshuang Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Guoshuang Software Co ltd filed Critical Suzhou Guoshuang Software Co ltd
Priority to CN202011558757.4A priority Critical patent/CN114687715A/en
Publication of CN114687715A publication Critical patent/CN114687715A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E21EARTH DRILLING; MINING
    • E21BEARTH DRILLING, e.g. DEEP DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
    • E21B43/00Methods or apparatus for obtaining oil, gas, water, soluble or meltable materials or a slurry of minerals from wells
    • E21B43/16Enhanced recovery methods for obtaining hydrocarbons
    • E21B43/20Displacing by water

Abstract

The invention discloses a method and a device for controlling an oil field water injection system, wherein a constraint condition of the oil field water injection system and at least one group of configuration parameters of the oil field water injection system are obtained, an energy consumption prediction model matched with the oil field water injection system is called to obtain an energy consumption value corresponding to each group of configuration parameters under the constraint condition, the energy consumption value represents the energy consumption of the oil field water injection system when the oil field water injection system is controlled by the configuration parameters, and the energy consumption prediction model is constructed according to an operation principle function of each device in the oil field water injection system and is obtained by adjusting historical operation data of the oil field water injection system; and determining target configuration parameters from each group of configuration parameters according to the energy consumption values corresponding to each group of configuration parameters, and controlling the working parameters of the water injection system of the oil field according to the target configuration parameters so as to solve the problems of limitation, high manual dependence and incapability of performing feedback regulation according to actual operation data.

Description

Method and device for controlling water injection system of oil field
Technical Field
The invention relates to the technical field of automatic control, in particular to a method and a device for controlling an oil field water injection system.
Background
In the related art, water separated from an oil-gas-water mixture is re-injected into a formation through an oil field water injection system so as to displace crude oil in the formation through the water. The oil field water injection system includes water storage tank, water injection pump, water injection pipeline and water injection well, and water in the water storage tank flows in the water injection well through water injection pipeline, injects water into the stratum through the water injection well, and the water injection pump pressurizes in this in-process and just can guarantee that water can flow in the water injection well through water injection pipeline from the water storage tank.
For the oil field water injection system, the power consumption of the oil field water injection system is reduced on the premise of ensuring normal water injection, and the cost input can be greatly saved. At present, the power consumption of an oil field water injection system is reduced mainly by manually controlling working parameters of equipment in the oil field water injection system by a user on the premise of meeting the water injection production requirement according to production experience, for example, the working parameters of the oil field water injection system are manually controlled by the user on the premise of ensuring that a water injection well has certain pressure and flow, but the manual control form has great limitation, the manual experience is too large to depend on, and the feedback adjustment cannot be carried out according to actual operation data of the oil field water injection system.
Disclosure of Invention
In view of the above, the present invention provides a method and apparatus for controlling an oilfield injection system that overcomes or at least partially solves the above-mentioned limitations, manual reliance, and inability to make feedback adjustments based on actual operational data.
In one aspect, the present disclosure provides a method for controlling an oilfield water injection system, the method comprising:
obtaining constraint conditions of the oilfield flooding system;
obtaining at least one set of configuration parameters of the oilfield flooding system;
calling an energy consumption prediction model matched with the oilfield water injection system to obtain an energy consumption value corresponding to each group of configuration parameters under the constraint condition, wherein the energy consumption value represents the energy consumption of the oilfield water injection system when the oilfield water injection system is controlled by the configuration parameters, and the energy consumption prediction model is constructed according to the operation principle function of each device in the oilfield water injection system and is obtained by adjusting the historical operation data of the oilfield water injection system;
determining a target configuration parameter from each group of configuration parameters according to the energy consumption value corresponding to each group of configuration parameters;
and controlling the working parameters of the oilfield water injection system according to the target configuration parameters.
Optionally, before determining the target configuration parameter from each set of configuration parameters according to the energy consumption value corresponding to each set of configuration parameters, the method further includes:
and if the energy consumption value corresponding to each group of configuration parameters represents that the energy consumption of the oilfield water injection system is continuously optimized, returning to obtain at least one group of configuration parameters of the oilfield water injection system to adjust the value of at least one configuration parameter until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is stopped being optimized.
Optionally, before determining the target configuration parameter from each set of configuration parameters according to the energy consumption value corresponding to each set of configuration parameters, the method further includes:
if the energy consumption value corresponding to each group of configuration parameters represents that the energy consumption of the oilfield water injection system is continuously optimized, returning to obtain at least one group of configuration parameters of the oilfield water injection system to call a preset algorithm to adjust the value of at least one configuration parameter until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is stopped being optimized;
judging whether the residual parameters meet preset conditions or not, wherein the residual parameters are parameters which are not adjusted by a preset algorithm in the configuration parameters;
and if the residual parameters do not meet the preset conditions, returning to obtain at least one group of configuration parameters of the oilfield water injection system to at least adjust the residual parameters until the energy consumption value obtained after the configuration parameters are adjusted indicates to stop optimizing the energy consumption of the oilfield water injection system and the residual parameters meet the preset conditions.
Optionally, the calling an energy consumption prediction model matched with the oilfield water injection system to obtain an energy consumption value corresponding to each set of configuration parameters under the constraint condition includes:
calling the energy consumption prediction model, and obtaining the flow, the pressure before the pump and the pressure after the pump of each water injection pump under each group of configuration parameters according to the constraint conditions;
and obtaining an energy consumption numerical value corresponding to each group of configuration parameters based on the flow, the pressure before the pump, the pressure after the pump and the pump starting frequency of each water injection pump under each group of configuration parameters.
Optionally, the generating process of the energy consumption prediction model includes:
constructing an initial energy consumption prediction model according to the operation principle function of each device in the oilfield water injection system and the process flow of the oilfield water injection system;
obtaining historical operation data of the oilfield water injection system;
obtaining at least two data sets according to the historical operating data, wherein each data set at least comprises one parameter, and the parameters contained in different data sets are different;
calling at least two preset fitting algorithms, and adjusting model parameters of the initial energy consumption prediction model by combining at least two data sets to obtain an intermediate energy consumption prediction model corresponding to each preset parameter adjusting algorithm;
and determining an energy consumption prediction model corresponding to the oilfield water injection system from all the intermediate energy consumption prediction models.
Optionally, the at least two data sets include: at least one parameter selected from the group consisting of post-pump pressure, flow rate, pre-pump pressure, differential pressure, and frequency;
determining an energy consumption prediction model corresponding to the oilfield flooding system from all intermediate energy consumption prediction models comprises:
and obtaining energy consumption values corresponding to all the intermediate energy consumption prediction models under the same constraint condition, and determining the energy consumption prediction model corresponding to the oilfield water injection system from all the intermediate energy consumption prediction models according to the minimum energy consumption value principle.
In another aspect, the present disclosure provides an apparatus for controlling an oilfield water injection system, the apparatus comprising:
an obtaining unit, configured to obtain constraints of the oilfield waterflooding system, and to obtain at least one set of configuration parameters of the oilfield waterflooding system;
the energy consumption prediction model is constructed according to an operation principle function of each device in the oilfield water injection system and is obtained by adjusting historical operation data of the oilfield water injection system;
the determining unit is used for determining a target configuration parameter from each group of configuration parameters according to the energy consumption value corresponding to each group of configuration parameters;
and the control unit is used for controlling the working parameters of the oilfield water injection system according to the target configuration parameters.
Optionally, the apparatus further comprises: an adjustment unit;
the adjusting unit is used for continuously optimizing the energy consumption of the oilfield water injection system if the energy consumption numerical value corresponding to each group of configuration parameters represents the energy consumption, and adjusting the value of at least one configuration parameter until the energy consumption numerical value obtained after the configuration parameters are adjusted indicates to stop optimizing the energy consumption of the oilfield water injection system;
alternatively, the first and second electrodes may be,
the adjusting unit is configured to, if the energy consumption value corresponding to each group of configuration parameters represents that the energy consumption of the oilfield water injection system is continuously optimized, invoke a preset algorithm to adjust a value of at least one configuration parameter, stop optimizing the energy consumption of the oilfield water injection system until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is to be stopped, determine whether remaining parameters meet a preset condition, where the remaining parameters are parameters that are not adjusted by the preset algorithm in the configuration parameters, at least adjust the remaining parameters if the remaining parameters do not meet the preset condition, and stop optimizing the energy consumption of the oilfield water injection system until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is to be stopped and the remaining parameters meet the preset condition.
In yet another aspect, the present disclosure provides an electronic device, including:
at least one processor;
at least one memory, bus connected with the processor;
the processor and the memory complete mutual communication through the bus;
the processor is used for calling the program instructions in the memory to execute the method for controlling the oilfield water injection system.
In yet another aspect, the present disclosure provides a storage medium having a program stored thereon, which when executed by a processor, implements the above-described method for controlling an oilfield water injection system.
By means of the technical scheme, the method and the device for controlling the oil field water injection system obtain the constraint condition of the oil field water injection system and at least one group of configuration parameters of the oil field water injection system, call the energy consumption prediction model matched with the oil field water injection system to obtain the energy consumption value corresponding to each group of configuration parameters under the constraint condition, and represent the energy consumption of the oil field water injection system when the configuration parameters control the oil field water injection system; according to the energy consumption value corresponding to each group of configuration parameters, the target configuration parameters are determined from each group of configuration parameters, and the working parameters of the oil field water injection system are controlled according to the target configuration parameters, so that the target configuration parameters for controlling the oil field water injection system can be automatically determined according to the energy consumption values, the process of manually configuring the working parameters is omitted, and the manual dependence degree is reduced.
The energy consumption prediction model is constructed according to the operation principle function of each device in the oil field water injection system and is obtained through the adjustment of historical operation data of the oil field water injection system, so that the energy consumption prediction model can simulate the actual operation condition of the oil field water injection system, the energy consumption value obtained by combining the constraint condition and the configuration parameter is matched with the energy consumption value of the oil field water injection system when the oil field water injection system operates under the same constraint condition and the same configuration parameter, the target configuration parameter can be determined according to the energy consumption value matched with the energy consumption value of the oil field water injection system during the actual operation, and the feedback adjustment of the working parameter of the oil field water injection system is realized according to the actual operation data of the oil field water injection system. The energy consumption prediction model is constructed according to the operation principle function of each device in the oilfield water injection system, the energy consumption prediction model can simulate the operation of each device in the oilfield water injection system, under the condition that the configuration parameter corresponding to at least one device in the oilfield water injection system is obtained, the energy consumption prediction model can obtain an energy consumption value, the obtained configuration parameter can be the working parameter of at least one device in the oilfield water injection system, the working parameter of at least one device in the oilfield water injection system is controlled, and the problem of limitation in manual control is solved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 illustrates a flow chart of a method for controlling an oilfield water injection system provided by an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram showing the relationship between various devices and energy consumption in an oilfield flooding system provided by a rational embodiment of the present disclosure;
FIG. 3 illustrates a flow chart for generating an energy consumption prediction model provided by an exemplary embodiment of the present disclosure;
FIG. 4 illustrates a flow chart of another method for controlling an oilfield water injection system provided by exemplary embodiments of the present disclosure;
FIG. 5 illustrates a flow chart of yet another method for controlling an oilfield water injection system provided by an exemplary embodiment of the present disclosure;
FIG. 6 illustrates a flow chart of yet another method for controlling an oilfield water injection system provided by an exemplary embodiment of the present disclosure;
FIG. 7 illustrates a schematic structural diagram of an apparatus for controlling an oilfield water injection system provided by an exemplary embodiment of the present disclosure;
FIG. 8 illustrates a schematic structural diagram of another apparatus for controlling an oilfield water injection system provided by an exemplary embodiment of the present disclosure;
fig. 9 shows a schematic structural diagram of an electronic device provided in an exemplary embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1, an alternative flow chart of a method for controlling an oilfield water injection system provided by an exemplary embodiment of the present disclosure is shown, which may include the following steps:
101: and obtaining the constraint conditions of the oilfield flooding system. The constraint conditions are used for constraining the operation condition of the oilfield water injection system, for example, the constraint conditions are used for constraining the working parameters of at least one device in the oilfield water injection system. Wherein oil field water injection system includes: a water storage tank, a water injection pump, a water injection line, and a water injection well, then the constraints of the oilfield injection system may be constraints on the operating parameters of at least one of the four devices. The oilfield water injection system is mainly used for injecting water separated from an oil-gas-water mixture into a formation through a water injection well, the liquid level of a water storage tank, the pressure and the flow rate of the water injection well influence the injection process, so the constraint conditions in the embodiment can be, but are not limited to, the water storage tank and the water injection well, and for example, an alternative form of the constraint conditions can be: the pressure and the flow of the water injection well are respectively the wellhead pressure of the water injection well and the wellhead flowing flow of the water injection well.
102: at least one set of configuration parameters of the oilfield flooding system is obtained.
The configuration parameters and the constraint conditions are used for controlling the working parameters of at least one device in the oilfield water injection system, and the configuration parameters and the constraint conditions may be for the same device in the oilfield water injection system, such as the operation of one device in the oilfield water injection system is limited by the constraint conditions (for short, controlled device), while the configuration parameters are for controlling at least part of the working parameters of the controlled device when the controlled device meets the constraint conditions, or the configuration conditions and the constraint conditions are for different devices in the oilfield water injection system, such as the operation of at least one device in the oilfield water injection system is limited by the constraint conditions, and the working parameters of the remaining devices in the oilfield water injection system are controlled by the configuration parameters.
The oilfield water injection system can be monitored through multiple indexes in the using process, the most important index in the multiple indexes is the energy consumption of the oilfield water injection system, and the influence of each device in the oilfield water injection system on the energy consumption is shown in table 1:
TABLE 1 Effect of various devices on energy consumption in oilfield flooding System
Figure BDA0002859640390000071
The relation between each equipment and the energy consumption in the oil field water injection system shown in fig. 2 is obtained according to the influence of each equipment on the energy consumption in the oil field water injection system, wherein the requirements of the pressure and the flow of a water injection well directly influence the energy consumption change, the working parameters of a water injection pump and a water injection pipeline can directly determine the energy consumption, after the general oil field water injection system is built, the configuration of the water injection pipeline in the oil field water injection system is realized, the connection between different pipelines is not changed, the pressure loss of the water injection pipeline is relatively fixed, and therefore the working parameters of the water injection pump directly determine the energy consumption in the embodiment. And the liquid level of water storage tank, the pressure and the flow of water injection well are related to water injection efficiency again, and the low energy consumption need be reduced in the prerequisite of guaranteeing water injection efficiency to this embodiment, consequently the constraint condition can include the liquid level of water storage tank, the pressure and the flow of water injection well in this embodiment, and configuration parameters can include the pump number of opening and the pump frequency of opening of water injection pump.
The number of the water injection pumps which are started is used for indicating the number of the water injection pumps which are in the starting state in the oil field water injection system, and the pump starting frequency is used for indicating the frequency of the water injection pumps which are in the starting state. Because of there being a plurality of water injection pumps in the oil field water injection system, the position in the water injection pipeline of different water injection pumps place is different, consequently when the control is in the water injection pump of different positions through the same pump number of opening, the energy consumption of oil field water injection system is also different, corresponding configuration parameter can also include the sign of water injection pump, the sign of water injection pump is arranged in a water injection pump among the directional oil field water injection system, for example, oil field water injection system sets up the serial number for each water injection pump, configuration parameter can include the serial number of water injection pump, the water injection pump that has this serial number is in the on-state.
The at least one set of configuration parameters for obtaining the oilfield flooding system may be: obtaining a group of configuration parameters of the oilfield water injection system, such as obtaining a pump starting number and a pump starting frequency matched with the pump starting number, wherein the relation between the number of the pump starting frequencies and the pump starting number is that the number of the pump starting frequencies is less than or equal to the pump starting number, if the obtained pump starting number is N, initializing N-1 pump starting frequencies, and N is a natural number which is more than or equal to 1; alternatively, obtaining at least one set of configuration parameters for the oilfield flooding system may be: obtaining two or more groups of configuration parameters of the oilfield flooding system, wherein each group of configuration parameters comprises: the pump starting number and the pump starting frequency, and the relation of each group of configuration parameters is as follows: different numbers of pumps are started and/or different pump-starting frequencies are started.
The points to be explained here are: in this embodiment, the constraint conditions include a liquid level of the water storage tank, a pressure and a flow rate of the water injection well, and each set of configuration parameters may include: the number of the pumps to be started and the frequency of the pumps to be started are not limited in this embodiment with respect to the constraint conditions and the values of any parameter in each set of configuration parameters.
103: and calling an energy consumption prediction model matched with the oilfield water injection system to obtain an energy consumption value corresponding to each set of configuration parameters under the constraint condition, wherein the energy consumption value represents the energy consumption of the oilfield water injection system when the configuration parameters are used for controlling the oilfield water injection system.
In this embodiment, the energy consumption of the oilfield water injection system is represented by an energy consumption value, wherein the larger the energy consumption value is, the larger the energy consumption of the oilfield water injection system is, and the smaller the energy consumption value is, the smaller the energy consumption of the oilfield water injection system is. If the predicted energy consumption of the oilfield water injection system is closer to/matched with the energy consumption in the actual operation process of the oilfield water injection system, the more accurate the control of the oilfield water injection system is, and if the control of the water injection pump is more accurate, the energy consumption value is obtained through the energy consumption prediction model matched with the oilfield water injection system.
The energy consumption prediction model is constructed according to the operation principle function of each device in the oilfield water injection system and is obtained by adjusting historical operation data of the oilfield water injection system, namely the energy consumption prediction model comprises simulation submodels corresponding to the devices in the oilfield water injection system, and each simulation submodel is constructed based on the operation principle function of the corresponding device, so that the actual operation condition of the corresponding device can be simulated in the operation process of each simulation submodel.
For example, the energy consumption prediction model includes: the simulation submodel of the water storage tank, the simulation submodel of the water injection pump, the simulation submodel of the water injection pipeline and the simulation submodel of the water injection well, wherein the input parameters, the output parameters and the processing logic of each simulation submodel are the same as those of corresponding equipment, so that the operation principle of each simulation submodel is the same as or consistent with that of the corresponding equipment, and each simulation submodel can simulate the actual operation condition of the corresponding equipment. For example, for a water injection pump, if the water injection pump is a plunger pump, the processing logic of the flow rate of the plunger pump is as follows:
flow rate ═
Figure DA00028596403934797726
X plunger radius 2 x stroke x plunger number x frequency;
pump-after pressure-the pressure of the main line pipe after the injection pump + the pressure drop.
The simulation submodel of the water injection pump is constructed by using the processing logic, and for example, the simulation submodel of the water injection pump adopts the function to limit the relationship between different parameters. And after the construction is finished, the historical operation data of the oil field water injection system is adjusted, so that the energy consumption prediction model can simulate the actual operation condition of the oil field water injection system. The following describes a generation process of the energy consumption prediction model, as shown in fig. 3, which may include the following steps:
201: and constructing an initial energy consumption prediction model according to the operation principle function of each device in the oilfield water injection system and the process flow of the oilfield water injection system. The operation principle function of each device is used for controlling the operation process of each device, the process flow of the oilfield water injection system is used for controlling the relation between different devices and controlling the relation between each parameter in each device, for example, the pressure after the pump can influence the pressure of a main pipeline behind the water injection pump, and the pressure before the pump can influence the pressure after the pump, and on the basis of establishing a simulation sub-model corresponding to each device, the established initial energy consumption prediction model can also establish the entity link of the device relation and the parameter relation of the oilfield water injection system, so that the initial energy consumption prediction model can simulate the operation process of the oilfield water injection system as far as possible.
202: historical operating data of the oilfield flooding system is obtained.
203: at least two data sets are obtained according to historical operating data, each data set at least comprises one parameter, and the parameters contained in different data sets are different. The data sets participate in the model parameter adjustment process of the initial energy consumption prediction model, and if parameters contained in different data sets are different, the different data sets can adjust the initial energy consumption prediction model from different characteristics.
In this embodiment, the at least two data sets include: at least one parameter of post-pump pressure, flow rate, pre-pump pressure, differential pressure, and frequency, obtained, for example, from historical operating data, comprises: and (3) a data set of [ post-pump pressure ], [ post-pump pressure, flow, pre-pump pressure, differential pressure and frequency ] is used for adjusting the initial energy consumption prediction model from the four groups of characteristic combinations.
204: and calling at least two preset fitting algorithms, and adjusting the model parameters of the initial energy consumption prediction model by combining at least two data sets to obtain an intermediate energy consumption prediction model corresponding to each preset parameter adjusting algorithm.
The at least two preset fitting algorithms and the at least two data sets can be combined randomly, model parameters of the initial energy consumption prediction model are adjusted by different preset fitting algorithms from different characteristics, so that an intermediate energy consumption prediction model adjusted by each combination is obtained, adjustment by using multiple algorithms and multiple characteristic combinations is realized, and adjustment for the initial energy consumption prediction model is more comprehensive and diversified.
When the model parameters of the initial energy consumption prediction model are adjusted, the adjustment process is regarded as a process of fitting the total power of the pump. The total pump power and the energy consumption are in a direct proportion, for example, the larger the total pump power is, the higher the energy consumption is, the smaller the total pump power is, the lower the energy consumption is, if the value of the total pump power is smaller in the process of adjusting the initial energy consumption prediction model, the lower the energy consumption is, and if the value of the total pump power is larger, the higher the energy consumption is, so that the embodiment can determine whether to finish the adjustment of the initial energy consumption prediction model or not through the total pump power corresponding to the initial energy consumption prediction model.
In this embodiment, the at least two preset fitting algorithms include: and adjusting the initial energy consumption prediction model by combining the preset fitting algorithms with the data sets containing different parameters.
205: and determining an energy consumption prediction model corresponding to the oilfield water injection system from all the intermediate energy consumption prediction models. The energy consumption prediction model corresponding to the oilfield water injection system is an energy consumption prediction model with optimal energy consumption (or lowest energy consumption) in all the intermediate energy consumption prediction models, for example, for each intermediate energy consumption prediction model, the energy consumption values corresponding to all the intermediate energy consumption prediction models under the same constraint condition are obtained, according to the energy consumption value minimum principle, the energy consumption prediction model corresponding to the oilfield water injection system is determined from all the intermediate energy consumption prediction models, and the energy consumption value minimum principle indicates that the energy consumption of the oilfield water injection system is minimum/optimal. In the process of obtaining the energy consumption values corresponding to all the intermediate energy consumption prediction models, besides the limitation through the constraint conditions, the limitation can also be performed through configuration parameters, and the specific process is not detailed here.
The energy consumption prediction model corresponding to the oilfield water injection system is obtained mainly by depending on historical operation data of the oilfield water injection system, operation principle functions of all devices in the oilfield water injection system and process flows of the oilfield water injection system, so that the energy consumption prediction model corresponding to the oilfield water injection system can simulate the actual operation process of the oilfield water injection system, the operation process of the oilfield water injection system is analyzed by replacing a user with the energy consumption prediction model for perceiving data changes, and the energy consumption prediction model is more accurate and efficient compared with the user analysis process. Because the energy consumption prediction model can simulate the actual operation process of the oilfield water injection system, the control conditions (such as the constraint conditions and the configuration parameters) aiming at the oilfield water injection system can be tested through the energy consumption prediction model in advance in the process of controlling the oilfield water injection system, so that whether potential safety hazards exist in the process of controlling the oilfield water injection system through the control conditions in the energy consumption prediction model test is avoided, the test in a real production environment is not needed, the workload is reduced, and the production safety is ensured to the maximum extent.
Because the operation data of the oilfield water injection system can be changed continuously, the energy consumption prediction model can be updated, optimized and iterated through continuous operation data accumulation, the energy consumption preset model can be changed along with the change of the operation data of the oilfield water injection system, the accuracy of the energy consumption prediction model is improved continuously in the actual application process of the energy consumption prediction model, and the energy consumption optimization effect is improved.
In this embodiment, the input of the energy consumption prediction model may be the constraint condition and the configuration parameter, the output of the energy consumption prediction model may be an energy consumption value, and the energy consumption value corresponding to each set of configuration parameter under the constraint condition can be directly output through the energy consumption prediction model, that is, the energy consumption value of the oilfield water injection system when the oilfield water injection system is controlled by the constraint condition and the configuration parameter, so as to represent the energy consumption of the oilfield water injection system under these conditions.
The energy consumption prediction model can also simulate the operation principle function of each device in the oilfield water injection system, which shows that the energy consumption prediction model can output the working parameters of each device, and one optional way of calling the energy consumption prediction model correspondingly to obtain the energy consumption value is as follows: calling an energy consumption prediction model, and obtaining the flow, the pre-pump pressure and the post-pump pressure of each water injection pump under each set of configuration parameters according to the constraint conditions, namely outputting the flow, the pre-pump pressure and the post-pump pressure of each water injection pump through the energy consumption prediction model under the condition that the constraint conditions and the configuration parameters are fixed; and obtaining an energy consumption value corresponding to each group of configuration parameters based on the flow, the pressure before the pump, the pressure after the pump and the pump starting frequency of each water injection pump under each group of configuration parameters, for example, obtaining a calculation formula of the energy consumption value in advance, wherein the calculation formula represents the relationship between the energy consumption value and the flow, the pressure before the pump, the pressure after the pump and the pump starting frequency of the water injection pump, and the flow, the pressure before the pump and the pressure after the pump and the pump starting frequency of each water injection pump output by the energy consumption prediction model are brought into the calculation formula, so that the energy consumption value is obtained.
104: and determining target configuration parameters from each group of configuration parameters according to the energy consumption values corresponding to each group of configuration parameters. For any group of configuration parameters, the energy consumption value corresponding to the group of configuration parameters represents the energy consumption of the oil field water injection system when the group of configuration parameters is used for controlling the oil field water injection system, then in the process of determining the target configuration parameters, the energy consumption value with the minimum value is determined from all the energy consumption values according to the principle of minimum energy consumption value, the energy consumption value with the minimum value means that the energy consumption of the oil field water injection system is minimum/optimal, and then the configuration parameters adopted by the oil field water injection system when the energy consumption value with the minimum value is determined as the target configuration parameters.
105: and controlling the working parameters of the oilfield water injection system according to the target configuration parameters. If the target configuration parameters are determined as the operating parameters of the oilfield water injection system, for example, the target configuration parameters include the number of pumps started and at least one pump starting frequency of each water injection pump to which the number of pumps started points, then in the process of controlling the operating parameters of the oilfield water injection system according to the target configuration parameters, each water injection pump in the oilfield water injection system can be controlled according to the number of pumps started and the at least one pump starting frequency of each water injection pump to which the number of pumps started points, for example, the number of water injection pumps in the on state is the number of pumps started, and the frequency of each water injection pump in the on state is set according to the pump starting frequency.
The method for controlling the oilfield water injection system obtains the constraint condition of the oilfield water injection system and at least one group of configuration parameters of the oilfield water injection system, calls an energy consumption prediction model matched with the oilfield water injection system to obtain an energy consumption value corresponding to each group of configuration parameters under the constraint condition, and represents the energy consumption of the oilfield water injection system when the configuration parameters are used for controlling the oilfield water injection system; according to the energy consumption value corresponding to each group of configuration parameters, the target configuration parameters are determined from each group of configuration parameters, and the working parameters of the oil field water injection system are controlled according to the target configuration parameters, so that the target configuration parameters for controlling the oil field water injection system can be automatically determined according to the energy consumption values, the process of manually configuring the working parameters is omitted, and the manual dependence degree is reduced.
The energy consumption prediction model is constructed according to the operation principle function of each device in the oil field water injection system and is obtained through the adjustment of historical operation data of the oil field water injection system, so that the energy consumption prediction model can simulate the actual operation condition of the oil field water injection system, the energy consumption value obtained by combining the constraint condition and the configuration parameter is matched with the energy consumption value of the oil field water injection system when the oil field water injection system operates under the same constraint condition and the same configuration parameter, the target configuration parameter can be determined according to the energy consumption value matched with the energy consumption value of the oil field water injection system during the actual operation, and the feedback adjustment of the working parameter of the oil field water injection system is realized according to the actual operation data of the oil field water injection system. The energy consumption prediction model is constructed according to the operation principle function of each device in the oilfield water injection system, the energy consumption prediction model can simulate the operation of each device in the oilfield water injection system, under the condition that the configuration parameter corresponding to at least one device in the oilfield water injection system is obtained, the energy consumption prediction model can obtain an energy consumption value, the obtained configuration parameter can be the working parameter of at least one device in the oilfield water injection system, the working parameter of at least one device in the oilfield water injection system is controlled, and the problem of limitation in manual control is solved.
The method for controlling an oilfield water injection system can obtain energy consumption values of the oilfield water injection system under different configuration parameters according to the constraint conditions, the configuration parameters and the energy consumption prediction model, and then determine a target configuration parameter according to the energy consumption values under the different configuration parameters, but the obtained configuration parameters are limited, and the energy consumption values obtained through the multiple sets of configuration parameters may not be the minimum energy consumption value, so that an optional flow of the method for controlling the oilfield water injection system shown in fig. 4 is provided for this embodiment, and compared with the method for controlling the oilfield water injection system, a configuration parameter adjustment process is added, for example, compared with the method for controlling the oilfield water injection system shown in fig. 1, the method for controlling the oilfield water injection system has the difference that:
step 304: and if the energy consumption value corresponding to each group of configuration parameters represents the energy consumption of the oil field water injection system to be continuously optimized, returning to obtain at least one group of configuration parameters of the oil field water injection system to adjust the value of at least one parameter until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oil field water injection system is stopped being optimized.
After the energy consumption value corresponding to each group of configuration parameters is obtained, determining whether to continuously optimize the energy consumption of the oilfield water injection system according to the energy consumption value in the historical operating data and the energy consumption value corresponding to each group of configuration parameters, if the energy consumption of the oilfield water injection system is continuously optimized, returning to obtain at least one group of configuration parameters of the oilfield water injection system to adjust the value of at least one parameter, and calling an energy consumption prediction model to predict the energy consumption value corresponding to the adjusted configuration parameters; and then continuously determining whether to continuously optimize the energy consumption of the oilfield flooding system, and if so, repeating the steps of adjusting the configuration parameters, calling the energy consumption prediction model and determining whether to continuously optimize until the energy consumption of the oilfield flooding system is instructed to stop being optimized.
For example, any one set of configuration parameters includes the number of pump-on and at least one pump-on frequency of each water injection pump to which the number of pump-on points, and if the energy consumption value corresponding to each set of configuration parameters represents the energy consumption for continuously optimizing the oilfield water injection system, the number of pump-on and/or the pump-on frequency in at least one set of configuration parameters can be adjusted.
And when the instruction is given, the energy consumption of the oilfield water injection system is stopped from being optimized, the energy consumption value with the minimum value of the oilfield water injection system under the constraint condition is obtained by adjusting the configuration parameters under the constraint condition, the configuration parameters corresponding to the energy consumption value with the minimum value can be determined as target configuration parameters, and the oilfield water injection system is controlled, so that the energy consumption of the oilfield water injection system is minimum when the oilfield water injection system is controlled by the target configuration parameters.
The method for controlling an oilfield flooding system described in fig. 4 above illustrates an example of optimizing a control process by adjusting configuration parameters in combination with energy consumption values, and the method for controlling an oilfield flooding system described in fig. 5 illustrates another example of optimizing a control process by adjusting configuration parameters in combination with energy consumption values and preset conditions, with the difference with respect to the above method for controlling an oilfield flooding system:
step 404: and if the energy consumption value corresponding to each group of configuration parameters represents the energy consumption of the oil field water injection system to be continuously optimized, returning to obtain at least one group of configuration parameters of the oil field water injection system to call a preset algorithm to adjust the value of at least one configuration parameter until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oil field water injection system is stopped being optimized.
The preset algorithm is used for adjusting the configuration parameters on the basis of the values of the configuration parameters, for example, the preset algorithm includes but is not limited to at least one algorithm of a genetic algorithm and a gradient algorithm (such as a gradient descent algorithm and/or a gradient ascent algorithm), and the configuration parameters are obtained by recalculation on the basis of the values of the configuration parameters.
In this embodiment, the determination of whether to continue optimizing the energy consumption of the oilfield waterflood injection system and the implementation of continuing optimizing the energy consumption of the oilfield waterflood injection system are similar to step 304 described above and will not be further described herein.
Step 405: and judging whether the residual parameters meet preset conditions or not, wherein the residual parameters are parameters which are not adjusted by a preset algorithm in the configuration parameters.
And if the energy consumption of the oilfield water injection system is instructed to stop being optimized, judging whether the residual parameters meet preset conditions or not, and determining whether the configuration parameters need to be continuously adjusted or not according to whether the residual parameters meet the preset conditions or not, wherein the preset conditions are used for instructing whether the energy consumption values are obtained by combining multiple possible values (even all possible values) of the residual parameters or not so as to traverse the multiple possible values of the residual parameters.
Step 406: and if the residual parameters do not meet the preset conditions, returning to obtain at least one group of configuration parameters of the oilfield water injection system to adjust the residual parameters at least until the energy consumption value obtained after the configuration parameters are adjusted indicates to stop optimizing the energy consumption of the oilfield water injection system and the residual parameters meet the preset conditions.
For example, any one set of configuration parameters includes the number of pump start-up and at least one pump start-up frequency of each water injection pump to which the number of pump start-up points, if the energy consumption value representation corresponding to each set of configuration parameters continuously optimizes the energy consumption of the oilfield water injection system, a genetic algorithm can be called to adjust the pump start-up frequency so as to change the value of the pump start-up frequency in at least one set of configuration parameters, and certainly, the values of the pump start-up frequencies in all sets can be changed. After the value adjustment of the pump starting frequency is completed, calling an energy consumption prediction model to predict an energy consumption value corresponding to the adjusted configuration parameter; and then continuously determining whether to continuously optimize the energy consumption of the oilfield water injection system, and if so, repeating the steps of adjusting the pump-on frequency, calling the energy consumption prediction model and determining whether to continuously optimize until the energy consumption of the oilfield water injection system is instructed to stop being optimized.
And if determining to stop optimizing the energy consumption of the oilfield water injection system, judging whether the number of the pump is traversed or not, and if the number of the pump is not traversed, determining that the preset condition is not met, adjusting the number of the pump. And adjusting the number of the pump starting, simultaneously obtaining the pump starting frequency again, calling an energy consumption prediction model, determining whether to continuously optimize the energy consumption of the oilfield water injection system, determining whether to meet preset conditions and the like, wherein the energy consumption value obtained after the configuration parameters are adjusted indicates that the optimization of the energy consumption of the oilfield water injection system is stopped, and the remaining parameters meet the preset conditions.
According to the method for controlling the oil field water injection system, the configuration parameter with the smallest energy consumption value as far as possible is found through adjustment of the configuration parameter, and the configuration parameter with the smallest energy consumption value is determined as the target configuration parameter so as to control the oil field water injection system and achieve energy consumption reduction.
The method for controlling the oilfield water injection system is described below by taking a constraint condition and a set of configuration parameters as examples, wherein the set of configuration parameters includes the number of pump start and the frequency of pump start, and the method may include the following steps:
501: obtaining constraint conditions of an oilfield flooding system, wherein the constraint conditions comprise: the liquid level of the water storage tank, and the pressure and the flow of the water injection well.
502: one pump number is obtained.
503: initializing a group of pump starting frequencies, wherein the relation between the number of the pump starting frequencies and the number of the pump starting frequencies is M-N-1, M is the number of the pump starting frequencies, N is the number of the pump starting frequencies, and the water injection pump corresponding to each pump starting frequency is in an on state. Because the relation between the number of the pump starting frequencies and the number of the pump starting frequencies is M-1, the fact that the pump starting frequency of one water injection pump in an open state is to be determined means that the water injection pump is to be determined, the water injection pump can be called as a water injection pump to be determined, and the obtaining mode of the pump starting frequency of the water injection pump to be determined is given subsequently.
504: and calling an energy consumption prediction model for each target water injection pump, and obtaining the flow of the target water injection pump according to each pump starting frequency.
505: and calling an energy consumption prediction model for each water injection pump in the starting state, and obtaining the post-pump pressure of the water injection pump according to the pressure of the water injection well and the flow of the water injection pump.
506: and calling an energy consumption prediction model for each water injection pump in the starting state, and obtaining the pressure in front of the water injection pump according to the liquid level of the liquid storage tank and the flow of the water injection pump.
507: and calling an energy consumption prediction model, and obtaining the flow of the undetermined water injection pump according to the flow of the water injection well and the flow of each target water injection pump.
508: and calling an energy consumption prediction model, and obtaining the pump starting frequency of the water injection pump to be determined according to the flow of the water injection pump to be determined.
509: and calling an energy consumption prediction model, and obtaining an energy consumption value of the oilfield water injection system under the constraint conditions and the configuration parameters according to the pump starting frequency, the flow, the pressure after the pump and the pressure before the pump of each water injection pump in the starting state.
510: judging whether to continuously optimize the energy consumption of the oilfield water injection system, if so, executing a step 511; if not, go to step 512.
511: a new set of pump-on frequencies is obtained using a genetic algorithm and the process returns to step 504, and the relationship between the number of new pump-on frequencies and the number of pumps on is M-1.
512: and obtaining configuration parameters and energy consumption values for stopping optimizing the energy consumption of the oilfield water injection system, namely obtaining the pump starting number and the pump starting frequency, and paying attention to the fact that the obtained pump starting frequency contains the pump starting frequency of the water injection pump to be determined obtained by calling an energy consumption prediction model.
513: a determination is made as to whether the number of open pumps has been traversed and if not, step 514 is performed and if so, step 515 is performed.
514: if the number of open pumps has not been traversed, a new number of open pumps N is obtained and the process returns to step 503 to obtain a set of open pump frequencies.
515: and selecting the pump starting number and the pump starting frequency corresponding to the minimum energy consumption value from the energy consumption values corresponding to all the pump starting numbers, wherein the pump starting number and the pump starting frequency corresponding to the minimum energy consumption value are target configuration parameters.
516: and controlling the working parameters of the water injection pump in the oil field water injection system according to the pump starting number and the pump starting frequency corresponding to the energy consumption value with the minimum value. And if so, controlling the target water injection pump and the water injection pump to be determined to be in an open state, and setting the pump starting frequency in the open state according to the pump starting frequency corresponding to the energy consumption numerical value with the minimum value.
The method for controlling the water injection system of the oil field realizes automatic control of the working parameters of the water injection pump in the water injection system of the oil field, omits the process of manually configuring the working parameters and reduces the manual dependence degree. And calling an energy consumption prediction model to participate in the control process, wherein the energy consumption prediction model is constructed according to the operation principle function of each device in the oilfield water injection system and is obtained by adjusting historical operation data of the oilfield water injection system, so that the energy consumption prediction model can simulate the actual operation condition of the oilfield water injection system, an energy consumption value obtained by combining constraint conditions and configuration parameters is matched with an energy consumption value of the oilfield water injection system when the oilfield water injection system operates under the same constraint conditions and configuration parameters, a target configuration parameter can be determined according to the energy consumption value matched with the energy consumption value of the oilfield water injection system during the actual operation, and the feedback adjustment of working parameters of the water injection pump is realized according to the actual operation data of the oilfield water injection system.
Corresponding to the above method embodiments, an exemplary embodiment of the present disclosure also provides an apparatus for controlling an oilfield water injection system, which may have an alternative structure as shown in fig. 7, and may include: an obtaining unit 10, a calling unit 20, a determining unit 30 and a control unit 40.
An obtaining unit 10 for obtaining constraints of the oilfield waterflooding system and for obtaining at least one set of configuration parameters of the oilfield waterflooding system. The constraint conditions are used for constraining the operation conditions of the oilfield water injection system, and the configuration parameters can control at least part of working parameters of the controlled equipment under the condition that the controlled equipment meets the constraint conditions, wherein one optional form of the constraint conditions can be as follows: the method comprises the steps of storing the liquid level of a water storage tank, and the pressure and the flow of a water injection well, wherein the pressure and the flow of the water injection well are respectively the wellhead pressure of the water injection well and the flow of water flowing through the wellhead of the water injection well, and configuration parameters can comprise the pump-on number and the pump-on frequency of the water injection pump.
The calling unit 20 is configured to call an energy consumption prediction model matched with the oilfield water injection system to obtain an energy consumption value corresponding to each set of configuration parameters under a constraint condition, the energy consumption value represents energy consumption of the oilfield water injection system when the oilfield water injection system is controlled by the configuration parameters, and the energy consumption prediction model is constructed according to an operation principle function of each device in the oilfield water injection system and is obtained by adjusting historical operation data of the oilfield water injection system.
In this embodiment, the energy consumption of the oilfield water injection system is represented by an energy consumption value, wherein the larger the energy consumption value is, the larger the energy consumption of the oilfield water injection system is, and the smaller the energy consumption value is, the smaller the energy consumption of the oilfield water injection system is. If the predicted energy consumption of the oilfield water injection system is closer to/matched with the energy consumption in the actual operation process of the oilfield water injection system, the more accurate the control of the oilfield water injection system is, and if the control of the water injection pump is more accurate, the energy consumption value is obtained through the energy consumption prediction model matched with the oilfield water injection system.
Correspondingly, the device for controlling the oilfield water injection system of the embodiment may further include a model training unit, configured to construct an initial energy consumption prediction model according to the operation principle function of each device in the oilfield water injection system and the process flow of the oilfield water injection system; obtaining historical operation data of an oilfield water injection system, obtaining at least two data sets according to the historical operation data, calling at least two preset fitting algorithms when each data set at least comprises one parameter and the parameters of different data sets are different, adjusting model parameters of an initial energy consumption prediction model by combining the at least two data sets to obtain an intermediate energy consumption prediction model corresponding to each preset parameter adjusting algorithm, and determining an energy consumption prediction model corresponding to the oilfield water injection system from all the intermediate energy consumption prediction models.
Wherein the at least two data sets include: at least one parameter selected from the group consisting of post-pump pressure, flow rate, pre-pump pressure, differential pressure, and frequency; and the corresponding model training unit is used for obtaining energy consumption values corresponding to all the intermediate energy consumption prediction models under the same constraint condition, and determining the energy consumption prediction model corresponding to the oilfield water injection system from all the intermediate energy consumption prediction models according to the minimum energy consumption value principle.
In this embodiment, the input of the energy consumption prediction model may be the constraint condition and the configuration parameter, the output of the energy consumption prediction model may be an energy consumption value, and the energy consumption value corresponding to each set of configuration parameter under the constraint condition can be directly output through the energy consumption prediction model, that is, the energy consumption value of the oilfield water injection system when the oilfield water injection system is controlled by the constraint condition and the configuration parameter, so as to represent the energy consumption of the oilfield water injection system under these conditions.
The energy consumption prediction model can also simulate the operation principle function of each device in the oilfield water injection system, which shows that the energy consumption prediction model can output the working parameters of each device, and one optional way of calling the energy consumption prediction model correspondingly to obtain the energy consumption value is as follows: calling an energy consumption prediction model, and obtaining the flow, the pre-pump pressure and the post-pump pressure of each water injection pump under each set of configuration parameters according to the constraint conditions, namely under the condition that the constraint conditions and the configuration parameters are fixed, outputting the flow, the pre-pump pressure and the post-pump pressure of each water injection pump through the energy consumption prediction model; and obtaining an energy consumption value corresponding to each group of configuration parameters based on the flow, the pressure before the pump, the pressure after the pump and the pump starting frequency of each water injection pump under each group of configuration parameters, for example, obtaining a calculation formula of the energy consumption value in advance, wherein the calculation formula represents the relationship between the energy consumption value and the flow, the pressure before the pump, the pressure after the pump and the pump starting frequency of the water injection pump, and the flow, the pressure before the pump and the pressure after the pump and the pump starting frequency of each water injection pump output by the energy consumption prediction model are brought into the calculation formula, so that the energy consumption value is obtained.
The determining unit 30 is configured to determine the target configuration parameter from each set of configuration parameters according to the energy consumption value corresponding to each set of configuration parameters. For any group of configuration parameters, the energy consumption values corresponding to the group of configuration parameters represent the energy consumption of the oilfield water injection system when the group of configuration parameters are used for controlling the oilfield water injection system, then in the process of determining the target configuration parameters, the energy consumption value with the minimum value is determined from all the energy consumption values according to the principle of minimum energy consumption values, the energy consumption value with the minimum value means the minimum/optimal energy consumption of the oilfield water injection system, and then the configuration parameters adopted by the oilfield water injection system when the energy consumption value with the minimum value is determined as the target configuration parameters.
And the control unit 40 is used for controlling the working parameters of the oilfield water injection system according to the target configuration parameters.
If the target configuration parameters are determined as the operating parameters of the oilfield water injection system, for example, the target configuration parameters include the number of pumps started and at least one pump starting frequency of each water injection pump to which the number of pumps started points, then in the process of controlling the operating parameters of the oilfield water injection system according to the target configuration parameters, each water injection pump in the oilfield water injection system can be controlled according to the number of pumps started and the at least one pump starting frequency of each water injection pump to which the number of pumps started points, for example, the number of water injection pumps in the on state is the number of pumps started, and the frequency of each water injection pump in the on state is set according to the pump starting frequency.
The device for controlling the oilfield water injection system obtains the constraint condition of the oilfield water injection system and at least one group of configuration parameters of the oilfield water injection system, calls the energy consumption prediction model matched with the oilfield water injection system to obtain the energy consumption value corresponding to each group of configuration parameters under the constraint condition, and represents the energy consumption of the oilfield water injection system when the configuration parameters are used for controlling the oilfield water injection system; according to the energy consumption value corresponding to each group of configuration parameters, the target configuration parameters are determined from each group of configuration parameters, and the working parameters of the oilfield water injection system are controlled according to the target configuration parameters, so that the target configuration parameters for controlling the oilfield water injection system can be automatically determined according to the energy consumption values, the process of manually configuring the working parameters is omitted, and the manual dependence degree is reduced.
The energy consumption prediction model is constructed according to the operation principle function of each device in the oil field water injection system and is obtained through the adjustment of historical operation data of the oil field water injection system, so that the energy consumption prediction model can simulate the actual operation condition of the oil field water injection system, the energy consumption value obtained by combining the constraint condition and the configuration parameter is matched with the energy consumption value of the oil field water injection system when the oil field water injection system operates under the same constraint condition and the same configuration parameter, the target configuration parameter can be determined according to the energy consumption value matched with the energy consumption value of the oil field water injection system during the actual operation, and the feedback adjustment of the working parameter of the oil field water injection system is realized according to the actual operation data of the oil field water injection system. The energy consumption prediction model is constructed according to the operation principle function of each device in the oilfield water injection system, the energy consumption prediction model can simulate the operation of each device in the oilfield water injection system, under the condition that the configuration parameter corresponding to at least one device in the oilfield water injection system is obtained, the energy consumption prediction model can obtain an energy consumption value, the obtained configuration parameter can be the working parameter of at least one device in the oilfield water injection system, the working parameter of at least one device in the oilfield water injection system is controlled, and the problem of limitation in manual control is solved.
Referring to fig. 8, an alternative structure of another apparatus for controlling an oilfield water injection system according to an exemplary embodiment of the present disclosure is shown, which may further include: an adjustment unit 50.
And the adjusting unit 50 is configured to, if the energy consumption value corresponding to each group of configuration parameters represents that the energy consumption of the oilfield water injection system is continuously optimized, adjust a value of at least one configuration parameter until the energy consumption value obtained after the configuration parameters are adjusted indicates that the optimization of the energy consumption of the oilfield water injection system is stopped.
Alternatively, the first and second electrodes may be,
the adjusting unit 50 is configured to, if the energy consumption value corresponding to each set of configuration parameters represents that the energy consumption of the oilfield water injection system continues to be optimized, invoke a preset algorithm to adjust a value of at least one configuration parameter, until the energy consumption value obtained after the configuration parameters are adjusted indicates that the optimization of the energy consumption of the oilfield water injection system is stopped, determine whether the remaining parameters satisfy a preset condition, where the remaining parameters are parameters that are not adjusted by the preset algorithm in the configuration parameters, and if the remaining parameters do not satisfy the preset condition, adjust at least the remaining parameters until the energy consumption value obtained after the configuration parameters are adjusted indicates that the optimization of the energy consumption of the oilfield water injection system is stopped and the remaining parameters satisfy the preset condition.
For the process of adjusting the configuration parameters of the adjusting unit 50, please refer to the above method embodiment, which will not be described again.
According to the device for controlling the water injection system of the oil field, the configuration parameter with the smallest energy consumption value as far as possible is found through adjustment of the configuration parameter, and the configuration parameter with the smallest energy consumption value is determined as the target configuration parameter so as to control the water injection system of the oil field and reduce energy consumption.
In yet another aspect, the present disclosure provides a storage medium having a program stored thereon, which when executed by a processor, implements the above-described method for controlling an oilfield water injection system.
The device for controlling the oilfield water injection system comprises a processor and a memory, wherein the obtaining unit 10, the calling unit 20, the determining unit 30, the control unit 40, the adjusting unit 50 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problems of limitation, large manual dependence and incapability of performing feedback regulation according to actual operation data are solved by adjusting kernel parameters.
An embodiment of the present invention provides a storage medium having a program stored thereon, which when executed by a processor implements the method of controlling an oilfield water injection system.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute a method for controlling an oil field water injection system.
An embodiment of the present invention provides an electronic device, as shown in fig. 9, an electronic device 60 includes at least one processor 601, at least one memory 602 connected to the processor 601, and a bus 603; the processor 601 and the memory 602 complete communication with each other through the bus 603; processor 601 is configured to call program instructions in memory 602 to perform the above-described method of controlling an oilfield water injection system. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present disclosure also provides a computer program product adapted to perform a program for initializing the following method steps when executed on an electronic device: obtaining constraint conditions of the oilfield flooding system;
obtaining at least one set of configuration parameters of the oilfield flooding system;
calling an energy consumption prediction model matched with the oilfield water injection system to obtain an energy consumption value corresponding to each group of configuration parameters under the constraint condition, wherein the energy consumption value represents the energy consumption of the oilfield water injection system when the oilfield water injection system is controlled by the configuration parameters, and the energy consumption prediction model is constructed according to the operation principle function of each device in the oilfield water injection system and is obtained by adjusting the historical operation data of the oilfield water injection system;
determining target configuration parameters from each group of configuration parameters according to the energy consumption values corresponding to each group of configuration parameters;
and controlling the working parameters of the oilfield water injection system according to the target configuration parameters.
Optionally, before determining the target configuration parameter from each set of configuration parameters according to the energy consumption value corresponding to each set of configuration parameters, the method further includes:
and if the energy consumption value corresponding to each group of configuration parameters represents that the energy consumption of the oilfield water injection system is continuously optimized, returning to obtain at least one group of configuration parameters of the oilfield water injection system to adjust the value of at least one configuration parameter until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is stopped being optimized.
Optionally, before determining the target configuration parameter from each set of configuration parameters according to the energy consumption value corresponding to each set of configuration parameters, the method further includes:
if the energy consumption value corresponding to each group of configuration parameters represents that the energy consumption of the oilfield water injection system is continuously optimized, returning to obtain at least one group of configuration parameters of the oilfield water injection system to call a preset algorithm to adjust the value of at least one configuration parameter until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is stopped being optimized;
judging whether the residual parameters meet preset conditions or not, wherein the residual parameters are parameters which are not adjusted by a preset algorithm in the configuration parameters;
and if the residual parameters do not meet the preset conditions, returning to obtain at least one group of configuration parameters of the oilfield water injection system to at least adjust the residual parameters until the energy consumption value obtained after the configuration parameters are adjusted indicates to stop optimizing the energy consumption of the oilfield water injection system and the residual parameters meet the preset conditions.
Optionally, the calling an energy consumption prediction model matched with the oilfield water injection system to obtain an energy consumption value corresponding to each set of configuration parameters under the constraint condition includes:
calling the energy consumption prediction model, and obtaining the flow, the pre-pump pressure and the post-pump pressure of each water injection pump under each set of configuration parameters according to the constraint conditions;
and obtaining an energy consumption numerical value corresponding to each group of configuration parameters based on the flow, the pressure before the pump, the pressure after the pump and the pump starting frequency of each water injection pump under each group of configuration parameters.
Optionally, the generating process of the energy consumption prediction model includes:
constructing an initial energy consumption prediction model according to the operation principle function of each device in the oilfield water injection system and the process flow of the oilfield water injection system;
obtaining historical operating data of the oilfield flooding system;
obtaining at least two data sets according to the historical operating data, wherein each data set at least comprises one parameter, and the parameters contained in different data sets are different;
calling at least two preset fitting algorithms, and adjusting model parameters of the initial energy consumption prediction model by combining at least two data sets to obtain an intermediate energy consumption prediction model corresponding to each preset parameter adjusting algorithm;
and determining an energy consumption prediction model corresponding to the oilfield water injection system from all the intermediate energy consumption prediction models.
Optionally, the at least two data sets include: at least one parameter selected from the group consisting of post-pump pressure, flow rate, pre-pump pressure, differential pressure, and frequency;
determining an energy consumption prediction model corresponding to the oilfield flooding system from all intermediate energy consumption prediction models comprises:
and obtaining energy consumption values corresponding to all the intermediate energy consumption prediction models under the same constraint condition, and determining the energy consumption prediction model corresponding to the oilfield water injection system from all the intermediate energy consumption prediction models according to the minimum energy consumption value principle.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, electronic devices (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, an electronic device includes one or more processors (CPUs), memory, and a bus. The electronic device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), including at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The above are merely examples of the present disclosure, and are not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. A method for controlling an oilfield water injection system, the method comprising:
obtaining constraint conditions of the oilfield flooding system;
obtaining at least one set of configuration parameters of the oilfield flooding system;
calling an energy consumption prediction model matched with the oilfield water injection system to obtain an energy consumption value corresponding to each group of configuration parameters under the constraint condition, wherein the energy consumption value represents the energy consumption of the oilfield water injection system when the oilfield water injection system is controlled by the configuration parameters, and the energy consumption prediction model is constructed according to the operation principle function of each device in the oilfield water injection system and is obtained by adjusting the historical operation data of the oilfield water injection system;
determining a target configuration parameter from each group of configuration parameters according to the energy consumption value corresponding to each group of configuration parameters;
and controlling the working parameters of the oilfield water injection system according to the target configuration parameters.
2. The method of claim 1, wherein before determining the target configuration parameter from each set of configuration parameters according to the energy consumption value corresponding to each set of configuration parameters, the method further comprises:
and if the energy consumption value corresponding to each group of configuration parameters represents that the energy consumption of the oilfield water injection system is continuously optimized, returning to obtain at least one group of configuration parameters of the oilfield water injection system to adjust the value of at least one configuration parameter until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is stopped being optimized.
3. The method of claim 1, wherein before determining the target configuration parameter from each set of configuration parameters according to the energy consumption value corresponding to each set of configuration parameters, the method further comprises:
if the energy consumption value corresponding to each group of configuration parameters represents that the energy consumption of the oilfield water injection system is continuously optimized, returning to obtain at least one group of configuration parameters of the oilfield water injection system to call a preset algorithm to adjust the value of at least one configuration parameter until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is stopped being optimized;
judging whether the residual parameters meet preset conditions or not, wherein the residual parameters are parameters which are not adjusted by a preset algorithm in the configuration parameters;
and if the residual parameters do not meet the preset conditions, returning to obtain at least one group of configuration parameters of the oilfield water injection system to at least adjust the residual parameters until the energy consumption value obtained after the configuration parameters are adjusted indicates to stop optimizing the energy consumption of the oilfield water injection system and the residual parameters meet the preset conditions.
4. The method of any one of claims 1 to 3, wherein the calling an energy consumption prediction model matched with the oilfield waterflooding system to obtain an energy consumption value corresponding to each set of configuration parameters under the constraint condition comprises:
calling the energy consumption prediction model, and obtaining the flow, the pre-pump pressure and the post-pump pressure of each water injection pump under each set of configuration parameters according to the constraint conditions;
and obtaining an energy consumption numerical value corresponding to each group of configuration parameters based on the flow, the pressure before the pump, the pressure after the pump and the pump starting frequency of each water injection pump under each group of configuration parameters.
5. The method according to any one of claims 1 to 3, wherein the generating of the energy consumption prediction model comprises:
constructing an initial energy consumption prediction model according to the operation principle function of each device in the oilfield water injection system and the process flow of the oilfield water injection system;
obtaining historical operating data of the oilfield flooding system;
obtaining at least two data sets according to the historical operating data, wherein each data set at least comprises one parameter, and the parameters contained in different data sets are different;
calling at least two preset fitting algorithms, and adjusting model parameters of the initial energy consumption prediction model by combining at least two data sets to obtain an intermediate energy consumption prediction model corresponding to each preset parameter adjusting algorithm;
and determining an energy consumption prediction model corresponding to the oilfield water injection system from all the intermediate energy consumption prediction models.
6. The method of claim 5, wherein the at least two data sets comprise: at least one parameter selected from the group consisting of post-pump pressure, flow rate, pre-pump pressure, differential pressure, and frequency;
determining an energy consumption prediction model corresponding to the oilfield flooding system from all intermediate energy consumption prediction models comprises:
and obtaining energy consumption values corresponding to all the intermediate energy consumption prediction models under the same constraint condition, and determining the energy consumption prediction model corresponding to the oilfield water injection system from all the intermediate energy consumption prediction models according to the minimum energy consumption value principle.
7. An apparatus for controlling an oilfield water injection system, the apparatus comprising:
an obtaining unit, configured to obtain constraints of the oilfield waterflooding system, and to obtain at least one set of configuration parameters of the oilfield waterflooding system;
the energy consumption prediction model is constructed according to the operation principle function of each device in the oilfield water injection system and is obtained through the adjustment of historical operation data of the oilfield water injection system;
the determining unit is used for determining target configuration parameters from each group of configuration parameters according to the energy consumption values corresponding to each group of configuration parameters;
and the control unit is used for controlling the working parameters of the oilfield water injection system according to the target configuration parameters.
8. The apparatus of claim 7, further comprising: an adjustment unit;
the adjusting unit is used for continuously optimizing the energy consumption of the oilfield water injection system if the energy consumption numerical value corresponding to each group of configuration parameters represents the energy consumption, and adjusting the value of at least one configuration parameter until the energy consumption numerical value obtained after the configuration parameters are adjusted indicates to stop optimizing the energy consumption of the oilfield water injection system;
alternatively, the first and second liquid crystal display panels may be,
the adjusting unit is configured to, if the energy consumption value corresponding to each group of configuration parameters represents that the energy consumption of the oilfield water injection system is continuously optimized, invoke a preset algorithm to adjust a value of at least one configuration parameter, stop optimizing the energy consumption of the oilfield water injection system until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is to be stopped, determine whether remaining parameters meet a preset condition, where the remaining parameters are parameters that are not adjusted by the preset algorithm in the configuration parameters, at least adjust the remaining parameters if the remaining parameters do not meet the preset condition, and stop optimizing the energy consumption of the oilfield water injection system until the energy consumption value obtained after the configuration parameters are adjusted indicates that the energy consumption of the oilfield water injection system is to be stopped and the remaining parameters meet the preset condition.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor;
at least one memory, bus connected with the processor;
the processor and the memory complete mutual communication through the bus;
the processor is configured to invoke program instructions in the memory to perform the method for controlling an oilfield water injection system of any of claims 1 to 6.
10. A storage medium, characterized in that the storage medium has stored thereon a program which, when executed by a processor, carries out a method for controlling an oilfield water injection system according to any one of claims 1 to 6.
CN202011558757.4A 2020-12-25 2020-12-25 Method and device for controlling water injection system of oil field Pending CN114687715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011558757.4A CN114687715A (en) 2020-12-25 2020-12-25 Method and device for controlling water injection system of oil field

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011558757.4A CN114687715A (en) 2020-12-25 2020-12-25 Method and device for controlling water injection system of oil field

Publications (1)

Publication Number Publication Date
CN114687715A true CN114687715A (en) 2022-07-01

Family

ID=82130759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011558757.4A Pending CN114687715A (en) 2020-12-25 2020-12-25 Method and device for controlling water injection system of oil field

Country Status (1)

Country Link
CN (1) CN114687715A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024011936A1 (en) * 2022-07-11 2024-01-18 华为云计算技术有限公司 Process parameter optimization method and apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120253770A1 (en) * 2010-02-12 2012-10-04 David Stern Method and System For Creating History Matched Simulation Models
US20180209248A1 (en) * 2017-01-20 2018-07-26 Saudi Arabian Oil Company Automatic control of production and injection wells in a hydrocarbon field
CN109446538A (en) * 2018-06-21 2019-03-08 北京国双科技有限公司 Water filling determines method with producing well relational model preparation method and yield and water injection rate
CN109961195A (en) * 2017-12-14 2019-07-02 中国石油天然气股份有限公司 Determine the method, apparatus and storage medium of oil field flood pattern efficiency influence factor
CN110795893A (en) * 2019-11-07 2020-02-14 中国石油化工股份有限公司 Energy consumption integral optimization method for water injection development oil field injection and production system
CN111119808A (en) * 2018-10-31 2020-05-08 北京国双科技有限公司 Construction method of oil field injection-production relation model and identification method of oil field injection-production relation
US20200199998A1 (en) * 2017-05-24 2020-06-25 Geomec Engineering Limited Improvements In Or Relating To Injection Wells

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120253770A1 (en) * 2010-02-12 2012-10-04 David Stern Method and System For Creating History Matched Simulation Models
US20180209248A1 (en) * 2017-01-20 2018-07-26 Saudi Arabian Oil Company Automatic control of production and injection wells in a hydrocarbon field
US20200199998A1 (en) * 2017-05-24 2020-06-25 Geomec Engineering Limited Improvements In Or Relating To Injection Wells
CN109961195A (en) * 2017-12-14 2019-07-02 中国石油天然气股份有限公司 Determine the method, apparatus and storage medium of oil field flood pattern efficiency influence factor
CN109446538A (en) * 2018-06-21 2019-03-08 北京国双科技有限公司 Water filling determines method with producing well relational model preparation method and yield and water injection rate
CN111119808A (en) * 2018-10-31 2020-05-08 北京国双科技有限公司 Construction method of oil field injection-production relation model and identification method of oil field injection-production relation
CN110795893A (en) * 2019-11-07 2020-02-14 中国石油化工股份有限公司 Energy consumption integral optimization method for water injection development oil field injection and production system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024011936A1 (en) * 2022-07-11 2024-01-18 华为云计算技术有限公司 Process parameter optimization method and apparatus

Similar Documents

Publication Publication Date Title
CA2630411C (en) Method for field scale production optimization
AU2013405166B2 (en) Optimizing flow control device properties for a liquid injection well using a coupled wellbore-reservoir model
GB2486060A (en) Prioritising well drilling proposition
US20200242497A1 (en) Intelligent optimization of flow control devices
CA2828651A1 (en) Lift and choke control
AU2013405170A1 (en) Optimizing flow control device properties on both producer and injector wells in coupled injector-producer liquid flooding systems
CN114687715A (en) Method and device for controlling water injection system of oil field
EP3004530A1 (en) Method for selecting and optimizing oil field controls for production plateau
CA2921390C (en) Pseudo phase production simulation: a signal processing approach to assess quasi-multiphase flow production via successive analogous step-function relative permeability controlled models in reservoir flow simulation in order to rank multiple petro-physical realizations
US11391129B2 (en) Wellbore gas lift optimization
AU2013405167B2 (en) Optimizing flow control device properties for accumulated liquid injection
WO2015073033A1 (en) Optimizing flow control device properties on injector wells in liquid flooding systems
US11085274B2 (en) Method and system for the optimisation of the addition of diluent to an oil well comprising a downhole pump
AU2013405167A1 (en) Optimizing flow control device properties for accumulated liquid injection
CA2933822C (en) Optimized flow control device properties for accumulated gas injection
AU2013405168A1 (en) Optimizing flow control device properties on a producer well in coupled injector-producer liquid flooding systems
CN115310379A (en) Production dynamic analysis method and equipment for fractured horizontal well under interwell interference condition
CN113266322A (en) Water-drive reservoir decreasing rate prediction method and device
CN109829248A (en) Method for determination of performance parameter, device and the electronic equipment of water pump
CN112464476B (en) Method for evaluating reservoir residual oil saturation distribution field
CN113627673B (en) Method for formulating joint optimization regulation and control scheme of multiple hydraulic facilities in water diversion engineering
CN113486606B (en) Water treatment system model training method, operation method, system, equipment and medium
CN116838301A (en) Pump-on parameter acquisition method and related device
CN114575801A (en) Method and device for optimizing liquid quantity of water-drive injection and production well based on streamline simulation
CN116341148A (en) Tower type electric pump selection method, system, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination