Fracturing pump displacement determination method, apparatus, system, and storage medium
Patent Information
- Application Number
- CN202311776707.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2043-12-21
AI Technical Summary
[0003]本申请的主要目的在于:提供一种压裂泵排量确定方法、设备、系统及存储介质,旨在解决现有压裂井场超限施工跳闸,安全性低的技术问题
[0045]由此,本申请通过考虑电网容量和当前井口压力,来获得当前预测排量种群中各当前预测个体对应的预测空余电网容量,结合各当前预测个体对应的预测溢出排量,获得各当前预测个体的预测排量适应度值,将预测排量适应度值最大的最优个体,作为各压裂泵的设定排量,从而考虑了压裂井场的电网容量建立多目标优化模型,来获得各压裂泵的设定排量,使得多台压裂泵按照设定排量工作时的总功率不会超过电网容量,避免了压裂井场超限施工,导致配电馈线或进线跳闸,提高了油气开发的施工安全性。
Smart Images

Figure CN117605664B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electrical control technology, and in particular to a method, equipment, system and storage medium for determining the displacement of a fracturing pump. Background Technology
[0002] During oil and gas development and construction, electric motors are usually used as the power source for fracturing pumps in pressure equipment. However, there are many fracturing pumps in fracturing well sites, and the power consumption is relatively high. Often, the total power of multiple fracturing pumps exceeds the grid capacity, causing the power distribution feeder or even the incoming line of the fracturing well site to trip, which poses a great risk and safety hazard to the safety of oil and gas development and construction. Summary of the Invention
[0003] The main purpose of this application is to provide a method, equipment, system and storage medium for determining the displacement of a fracturing pump, which aims to solve the technical problem of low safety due to excessive construction trips in existing fracturing well sites.
[0004] To achieve the above objectives, this application adopts the following technical solution:
[0005] Firstly, this application provides a method for determining the displacement of a fracturing pump, the method comprising:
[0006] Obtain the current wellhead pressure, current predicted discharge population, initial maximum discharge, and power grid capacity of the target fracturing well site for multiple fracturing pumps in the target fracturing well site;
[0007] Based on the predicted displacement of each current predicted individual in the population with the initial maximum displacement and the current predicted displacement, the predicted overflow displacement of each current predicted individual is obtained.
[0008] Based on the grid capacity, current wellhead pressure, and predicted discharge in each current prediction individual, the predicted spare grid capacity corresponding to each current prediction individual is obtained.
[0009] Based on the predicted overflow discharge of each current predicted individual and the corresponding predicted spare grid capacity, the predicted discharge fitness value of each current predicted individual is obtained.
[0010] The optimal predicted individual with the highest predicted displacement fitness value is determined from the current predicted displacement population and used as the set displacement for multiple fracturing pumps.
[0011] Optionally, the step of obtaining the predicted discharge fitness value of each current predicted individual based on the predicted overflow discharge and the corresponding predicted spare grid capacity includes:
[0012] Determine the preset overflow displacement coefficient and the preset spare capacity coefficient;
[0013] The predicted displacement fitness value of each current predicted individual is obtained based on the predicted overflow displacement, the corresponding predicted spare grid capacity, the preset overflow displacement coefficient, and the preset spare capacity coefficient.
[0014] Optionally, before the step of obtaining the predicted overflow displacement corresponding to each currently predicted individual based on each initial maximum displacement and the predicted displacement corresponding to each currently predicted individual in the current predicted displacement population, the method further includes:
[0015] Obtain the real-time cumulative usage time and set usage time of multiple fracturing pumps;
[0016] The steps for obtaining the predicted overflow displacement corresponding to each currently predicted individual in the population based on the predicted displacement corresponding to each currently predicted individual in the population with the initial maximum displacement and the current predicted displacement include:
[0017] Based on the real-time cumulative usage time, the corresponding set usage time, and the initial maximum discharge rate, the upper limit of the real-time construction set discharge rate for each fracturing pump is obtained;
[0018] Based on the upper limit of the discharge capacity set for each real-time construction and the predicted discharge capacity corresponding to each current predicted individual, the predicted overflow discharge capacity corresponding to each current predicted individual is obtained.
[0019] Optionally, the step of obtaining the current predicted discharge population of multiple fracturing pumps in the target fracturing well site includes:
[0020] Construct an initial displacement population based on each initial maximum displacement and the preset population size;
[0021] The initial displacement population is iterated using a genetic algorithm to obtain the current predicted displacement population.
[0022] Optionally, the steps of using a genetic algorithm to iterate through the initial displacement population to obtain the current predicted displacement population include:
[0023] Use the initial displacement population as the current displacement population;
[0024] Based on the preset crossover probability, partial matching crossover is performed on each current individual in the current displacement population to obtain the first displacement population.
[0025] Based on the preset mutation probability, individual mutation is performed on the first individual in the first displacement population to obtain the target displacement population.
[0026] If the current iteration number is less than the preset iteration number, then the target displacement population will be used as the current displacement population;
[0027] Return to the execution step of performing partial matching crossover on each current individual in the current displacement population according to the preset crossover probability to obtain the first displacement population, until the preset number of iterations is completed, and then the target displacement population is used as the current predicted displacement population.
[0028] Optionally, the step of performing partial matching crossover on each current individual in the current displacement population according to a preset crossover probability to obtain the first displacement population includes:
[0029] Based on the real-time construction setting of the upper limit of displacement and the current displacement of each current individual in the current displacement population, obtain the current overflow displacement of each current individual;
[0030] Based on the grid capacity, current wellhead pressure, and current discharge rate of each individual, obtain the current available grid capacity corresponding to each individual.
[0031] Based on the current overflow discharge and the corresponding current spare grid capacity, obtain the current discharge fitness value for each individual.
[0032] Identify the optimal individual with the highest fitness value for the current displacement population.
[0033] Perform partial matching and crossover on all current individuals in the current displacement population other than the best current individual to obtain the second displacement population;
[0034] The first displacement population is obtained based on the best current individual and the second displacement population.
[0035] Optionally, the step of constructing an initial displacement population based on each initial maximum displacement and a preset population size includes:
[0036] The steps for obtaining the target displacement population by performing individual mutations on the first individual in the first displacement population according to a preset mutation probability include:
[0037] For each first individual, if the mutation probability corresponding to the first individual is greater than or equal to the random number, then the first individual is subjected to individual mutation according to the mutation probability to obtain the mutated individual;
[0038] The target displacement population is obtained based on all mutated individuals and the first individual other than the first individual corresponding to the mutated individual in the first displacement population.
[0039] Secondly, this application also provides a fracturing pump displacement determination device, the device including: a memory, a processor, and a fracturing pump displacement determination program stored in the memory and executable on the processor, the fracturing pump displacement determination program being configured to implement the steps of any of the fracturing pump displacement determination methods described above.
[0040] Thirdly, this application also provides a fracturing pump displacement determination system, the system comprising:
[0041] Multiple fracturing pumps;
[0042] As mentioned above, this is an equipment for determining the displacement of fracturing pumps.
[0043] Fourthly, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the fracturing pump displacement determination method as described in any of the above claims.
[0044] This application provides a method, equipment, system, and storage medium for determining the displacement of fracturing pumps. The method involves obtaining the current wellhead pressure, current predicted displacement population, initial maximum displacement, and grid capacity of the target fracturing well site for multiple fracturing pumps. Based on the initial maximum displacement and the predicted displacement of each currently predicted individual in the current predicted displacement population, the method obtains the predicted overflow displacement for each currently predicted individual. Based on the grid capacity, current wellhead pressure, and the predicted displacement of each currently predicted individual, the method obtains the predicted spare grid capacity for each currently predicted individual. Based on the predicted overflow displacement and the corresponding predicted spare grid capacity, the method obtains the predicted displacement fitness value for each currently predicted individual. Finally, the method identifies the optimal predicted individual with the highest predicted displacement fitness value from the current predicted displacement population, which is then used as the set displacement for the multiple fracturing pumps.
[0045] Therefore, this application obtains the predicted spare grid capacity corresponding to each currently predicted individual in the current predicted displacement population by considering the grid capacity and the current wellhead pressure. Combined with the predicted overflow displacement corresponding to each currently predicted individual, the predicted displacement fitness value of each currently predicted individual is obtained. The optimal individual with the largest predicted displacement fitness value is used as the set displacement of each fracturing pump. Thus, a multi-objective optimization model is established considering the grid capacity of the fracturing well site to obtain the set displacement of each fracturing pump. This ensures that the total power of multiple fracturing pumps operating at the set displacement will not exceed the grid capacity, avoiding over-limit construction at the fracturing well site, which could lead to power distribution feeder or incoming line tripping, and improving the construction safety of oil and gas development. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0047] Figure 1 This is a schematic diagram of the fracturing pump displacement determination equipment for the hardware operating environment involved in the embodiments of this application;
[0048] Figure 2 A flowchart illustrating a method for determining the displacement of a fracturing pump provided in an embodiment of this application;
[0049] Figure 3 An exemplary gene encoding provided for an embodiment of this application.
[0050] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0052] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0053] In this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an apparatus or system comprising a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an apparatus or system. Without further limitation, an element defined by the phrase "comprising..." does not exclude the presence of other identical elements in the apparatus or system that includes that element.
[0054] If the embodiments of the present invention involve descriptions such as "first" and "second," such descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" and "second" may explicitly or implicitly include at least one of those features.
[0055] As global oil and gas development equipment is moving towards "low energy consumption, low noise, and low emissions," traditional fracturing equipment powered by diesel engines is gradually evolving into electric fracturing equipment powered by electric motors.
[0056] In the current era of rapid electrification, the power grid capacity of fracturing well sites remains a critical and scarce resource for electric fracturing. During fracturing well site construction, the number of electric fracturing devices is large, and their power consumption is high. It is common for the total power of multiple electric fracturing devices to exceed the approved line capacity, leading to power distribution or main line tripping. This poses a significant risk and safety hazard to oil and gas development and construction, resulting in work stoppages. Furthermore, when one of the two-in-one frequency converter skids of an electric fracturing device trips, or when one or more fracturing skids are unable to operate, on-site operators must control the remaining skids to supply power without affecting the overall fracturing output. This places extremely high demands on the on-site operators' reaction speed and operational experience; operational errors or misjudgments by on-site operators can easily cause malfunctions and work stoppages.
[0057] Finally, as electric drive products are increasingly applied to various fracturing platforms, the service life and health status of fracturing pumps in electric fracturing equipment have become one of the factors limiting the upper limit of the equipment's operating capacity. Due to high pressure and long-term continuous operation, the service life and health status of fracturing pumps are directly limited by the operating time and operating conditions. Therefore, whether electric fracturing equipment can operate under high load for a long time is closely related to the health of the fracturing pump.
[0058] In view of the technical problems of excessive operation and low safety in existing fracturing well sites, this application provides a method for determining the displacement of fracturing pumps, the general idea of which is as follows:
[0059] The method includes: obtaining the current wellhead pressure, current predicted discharge population, initial maximum discharge, and grid capacity of the target fracturing well site for multiple fracturing pumps; obtaining the predicted overflow discharge corresponding to each current predicted individual based on the initial maximum discharge and the predicted discharge corresponding to each current predicted individual in the current predicted discharge population; obtaining the predicted spare grid capacity corresponding to each current predicted individual based on the grid capacity, current wellhead pressure, and predicted discharge in each current predicted individual; obtaining the predicted discharge fitness value of each current predicted individual based on the predicted overflow discharge and the corresponding predicted spare grid capacity; and determining the optimal predicted individual with the largest predicted discharge fitness value from the current predicted discharge population as the set discharge of multiple fracturing pumps.
[0060] This application provides a method for determining the displacement of fracturing pumps. By considering the grid capacity and the current wellhead pressure, the predicted spare grid capacity corresponding to each currently predicted individual in the current predicted displacement population is obtained. Combined with the predicted overflow displacement corresponding to each currently predicted individual, the predicted displacement fitness value of each currently predicted individual is obtained. The optimal individual with the largest predicted displacement fitness value is used as the set displacement of each fracturing pump. Thus, a multi-objective model is established considering the grid capacity of the fracturing well site to obtain the set displacement of each fracturing pump. This ensures that the total power of multiple fracturing pumps operating at the set displacement will not exceed the grid capacity, avoiding over-limit construction at the fracturing well site, which could lead to power distribution feeder or incoming line tripping, and improving the construction safety of oil and gas development.
[0061] The following provides a detailed description of the fracturing pump displacement determination method, equipment, system, and storage medium used in the technical implementation of this application:
[0062] This embodiment provides a fracturing pump displacement determination system, which may include:
[0063] Multiple fracturing pumps;
[0064] As mentioned above, this is an equipment for determining the displacement of fracturing pumps.
[0065] In this embodiment, taking oil and gas development as an example, the fracturing pump displacement determination equipment is used to implement the fracturing pump displacement determination method as described below. During the fracturing operation, the set displacement of multiple fracturing pumps is determined in real time to control the operation of the fracturing pumps and realize oil and gas development operations.
[0066] It should be noted that the fracturing pump displacement determination device in this embodiment, after determining the set displacement of each fracturing pump, can directly control the operation of the motors corresponding to multiple fracturing devices to drive the fracturing pumps. Alternatively, it can output the set displacement of each fracturing pump on a display, allowing operators to manually adjust the operation of the fracturing pumps based on their set displacement. The system can also provide comprehensive power grid safety alerts via a display. These safety alerts may include: 1) power grid capacity and alarm alerts; 2) overload alarms and reduced displacement alerts for each line; and 3) overpressure or underpressure alarm alerts.
[0067] Among them, reference Figure 1 , Figure 1 This is a schematic diagram of the fracturing pump displacement determination device for the hardware operating environment involved in the embodiments of this application.
[0068] like Figure 1As shown, the device may include: a processor 1001, such as a CPU; a user interface 1003; a memory 1005; and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a motor; optionally, the user interface 1003 may also be a display, keyboard, and mouse. The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0069] It is understood that the device may also include a network interface 1004, which may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). Optionally, the device may also include RF (Radio Frequency) circuitry, sensors, audio circuitry, a Wi-Fi module, etc.
[0070] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0071] The fracturing pump displacement determination method and storage medium of this application will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0072] Based on, but not limited to, the above hardware structure, refer to Figure 2 and 3 , Figure 2 This is a flowchart illustrating a method for determining the displacement of a fracturing pump, provided in an embodiment of this application. Figure 3 An exemplary gene encoding provided for an embodiment of this application.
[0073] This embodiment provides a method for determining the displacement of a fracturing pump, such as... Figure 2 As shown, the method may include:
[0074] Step S100: Obtain the current wellhead pressure, current predicted discharge population, initial maximum discharge, and power grid capacity of the target fracturing well site for multiple fracturing pumps in the target fracturing well site.
[0075] In this embodiment, the executing entity is the fracturing pump displacement determination device as described above.
[0076] Taking oil and gas development as an example, the target fracturing well site can be any fracturing well site, which may include multiple fracturing pumps for oil and gas development operations. The fracturing pump displacement determination equipment can acquire the current predicted displacement population of multiple fracturing pumps in the target fracturing well site in real time, and determine the predicted displacement of multiple fracturing pumps from the current predicted displacement population to control the operation of multiple fracturing pumps. The current wellhead pressure may include the real-time pressure of the wellhead corresponding to the multiple fracturing pumps at the current moment. The current predicted displacement population may include multiple current predicted individuals, and each current predicted individual may include the predicted displacement of multiple fracturing pumps. The predicted displacement can be the displacement of the fracturing pumps predicted for the next moment from the current moment. The current predicted displacement population can be obtained during fracturing operations based on actual usage. The initial maximum displacement can be the maximum displacement of the fracturing pumps before use, and the initial maximum displacement of each fracturing pump can be obtained based on the actual fracturing pumps used. The grid capacity can be the maximum load of the power supply system of the target fracturing well site.
[0077] Step S200: Based on the predicted displacement of each current predicted individual in the population of each initial maximum displacement and the current predicted displacement, obtain the predicted overflow displacement corresponding to each current predicted individual.
[0078] In this embodiment, each current prediction individual may include the predicted discharge of multiple fracturing pumps. The discharge difference between the predicted discharge of any fracturing pump and the initial maximum discharge of any fracturing pump can be the overflow discharge of any fracturing pump. The predicted overflow discharge can be the sum of the overflow discharge of multiple fracturing devices in the current prediction individual.
[0079] Step S300: Based on the grid capacity, current wellhead pressure, and predicted discharge rate in each current predicted individual, obtain the predicted spare grid capacity corresponding to each current predicted individual.
[0080] In this embodiment, the predicted power of the fracturing pump can be determined based on the predicted displacement of the fracturing pump. Then, based on the power difference between the grid capacity and the total predicted power of multiple fracturing pumps, the predicted spare grid capacity corresponding to the current predicted individual can be obtained.
[0081] In this embodiment, step S300 may include: obtaining the predicted spare grid capacity corresponding to each current prediction individual based on the grid capacity, the power factor of the target fracturing well site, the current wellhead pressure, and the predicted displacement in each previous prediction individual.
[0082] In this embodiment, the power factor can be determined based on actual usage conditions.
[0083] In practical implementation, Formula 1 can be used to obtain the predicted spare grid capacity corresponding to each current prediction individual based on the grid capacity, the power factor of the target fracturing well site, the current wellhead pressure, and the predicted displacement in each previous prediction individual. Formula 1 is:
[0084]
[0085] Where f1 is the predicted spare grid capacity, P is the grid capacity, α is the power factor, K is the preset weighting coefficient, F is the current wellhead pressure, and D is the power factor. i Let K be the predicted displacement of the i-th fracturing pump, and N be the number of fracturing pumps in the target fracturing well site. K can be determined based on actual usage; preferably, K is 16.8. N can be determined based on actual usage.
[0086] Step S400: Obtain the predicted discharge fitness value of each current predicted individual based on the predicted overflow discharge and the corresponding predicted spare grid capacity.
[0087] In this embodiment, the predicted displacement fitness value can represent the difference between the predicted displacement of the current individual and the ideal set displacement at the next moment after the current moment.
[0088] In this embodiment, step S400 may include:
[0089] Step S410: Determine the preset overflow displacement coefficient and the preset spare capacity coefficient.
[0090] Step S420: Based on the predicted overflow discharge of each current predicted individual, the corresponding predicted spare grid capacity, the preset overflow discharge coefficient, and the preset spare capacity coefficient, obtain the predicted discharge fitness value of each current predicted individual.
[0091] In this embodiment, the preset overflow discharge coefficient can represent the magnitude of the influence of the predicted overflow discharge on the predicted discharge fitness value, and the preset spare capacity coefficient can represent the magnitude of the influence of the predicted spare grid capacity on the predicted discharge fitness value.
[0092] In practical applications, the importance of the predicted overflow discharge and the predicted spare grid capacity to the fitness value of the predicted discharge can be considered through expert scoring to determine the magnitude of the preset overflow discharge coefficient and the preset spare capacity coefficient.
[0093] Specifically, step S420 may include using Formula 2 to obtain the predicted displacement fitness value for each current predicted individual based on its predicted overflow displacement, corresponding predicted spare grid capacity, preset overflow displacement coefficient, and preset spare capacity coefficient. Formula 2 is:
[0094] F(x) = ω1f1 + ω2f2;
[0095] F(x) is the objective function, ω1 is the preset spare capacity coefficient, ω2 is the preset overflow discharge coefficient, f1 is the predicted spare grid capacity, f2 is the predicted overflow discharge, and the fitness value of the predicted discharge is inversely proportional to the objective function value.
[0096] Step S500: Determine the optimal predicted individual with the largest predicted displacement fitness value from the current predicted displacement population, and use it as the set displacement for multiple fracturing pumps.
[0097] In this embodiment, the smaller the objective function value calculated according to Formula 2 above, the larger the corresponding predicted displacement fitness value. Thus, the current predicted individual with the smallest objective function value is the optimal predicted individual with the largest predicted displacement fitness value.
[0098] In practical applications, the larger the predicted displacement fitness value, the smaller the predicted overflow displacement and the predicted spare grid capacity. That is, the predicted displacement of each individual in the optimal prediction is closest to the ideal set displacement of each fracturing pump. Thus, the optimal prediction individual with the largest predicted displacement fitness value is used as the set displacement of multiple fracturing pumps to control the operation of multiple fracturing pumps at the next moment, which can achieve reasonable power distribution.
[0099] This embodiment provides a method for determining the displacement of fracturing pumps. By considering the grid capacity, the predicted spare grid capacity corresponding to each currently predicted individual in the current predicted displacement population is obtained. Combined with the predicted overflow displacement corresponding to each currently predicted individual, the predicted displacement fitness value of each currently predicted individual is obtained. The optimal individual with the largest predicted displacement fitness value is used as the set displacement of each fracturing pump. Thus, a multi-objective model is established considering the grid capacity of the fracturing well site to obtain the set displacement of each fracturing pump. This ensures that the total power of multiple fracturing pumps operating at the set displacement will not exceed the grid capacity, avoiding over-limit construction at the fracturing well site, which could lead to power distribution feeders or incoming lines tripping, and improving the construction safety of oil and gas development.
[0100] As one implementation, before step S200, the method may further include: obtaining the real-time cumulative usage time of multiple fracturing pumps and setting the usage time.
[0101] In this embodiment, the real-time cumulative usage time can be obtained from the actual usage of the fracturing pump. The set usage time can be the design service life of the fracturing pump, which can be determined based on the actual fracturing pump used. During fracturing operations, the high pressure and long-term continuous operation of the fracturing pump may affect its maximum discharge capacity. Therefore, when determining the predicted overflow discharge capacity corresponding to each current predicted individual, the impact of the real-time construction set discharge capacity upper limit of each fracturing pump can also be considered.
[0102] Specifically, step S200 may include:
[0103] Step S210: Based on the real-time cumulative usage time, the corresponding set usage time, and the initial maximum discharge rate, obtain the upper limit of the real-time construction set discharge rate for each fracturing pump.
[0104] In this embodiment, the longer the cumulative usage time of the fracturing pump, the smaller its actual maximum displacement. That is, after the fracturing pump has been used for a period of time, the upper limit of the real-time construction displacement setting of the fracturing pump is less than the initial maximum displacement, and gradually decreases.
[0105] In practice, Formula 3 is used to obtain the upper limit of the real-time construction set displacement for each fracturing pump based on the cumulative real-time usage time, the corresponding set usage time, and the initial maximum displacement. Formula 3 is:
[0106]
[0107] S i Set a maximum displacement for the real-time operation of the i-th fracturing pump, MaxS i MaxT represents the initial maximum displacement of the i-th fracturing pump. i T is the set usage time for the i-th fracturing pump. i This represents the real-time cumulative usage time of the i-th fracturing pump.
[0108] Step S220: Based on the upper limit of the discharge capacity set for each real-time construction and the predicted discharge capacity corresponding to each current predicted individual, obtain the predicted overflow discharge capacity corresponding to each current predicted individual.
[0109] In this embodiment, the predicted overflow displacement can include the sum of the overflow displacements corresponding to each predicted displacement of the current predicted individual.
[0110] In practice, Formula 4 is used to obtain the predicted overflow discharge for each current predicted individual by setting the upper limit of discharge capacity based on real-time construction and the predicted discharge capacity corresponding to each current predicted individual. Formula 4 is as follows:
[0111]
[0112] Therefore, this embodiment provides a method for determining the displacement of a fracturing pump. Based on the real-time cumulative usage time of the fracturing pump, the upper limit of the real-time construction-set displacement of the fracturing pump is obtained to determine the predicted overflow displacement. A multi-objective optimization model is established in combination with the predicted spare power grid capacity, taking into account the durability of the fracturing pump. Based on the service life of each fracturing pump, the set displacement of each fracturing pump is reasonably determined, making the allocation of set displacement of multiple fracturing pumps more reasonable.
[0113] As one implementation, step S100 may include:
[0114] Step S110: Construct an initial displacement population based on each initial maximum displacement and the preset population size.
[0115] Step S120: Use a genetic algorithm to iterate the initial displacement population to obtain the current predicted displacement population.
[0116] In this embodiment, a genetic algorithm is used to iterate based on the initial maximum displacement of the fracturing pump and the preset population size to obtain the current predicted displacement population.
[0117] The preset population size can be determined based on the required iteration accuracy of the genetic algorithm during actual use. For example, the preset population size can be 50 or 100. The number of initial individuals in the initial parameter population can be determined based on the preset population size. The initial predicted rank in the gene encoding of the initial individuals is randomly generated based on the corresponding initial maximum rank. Any initial predicted rank is greater than or equal to 0 and less than or equal to the corresponding initial maximum rank.
[0118] Taking 12 fracturing pumps as an example, such as Figure 3 As shown, the genetic code of the initial individual may include D1 to D2. 12 The initial population size includes a preset population size of [number] initial individuals. The genes encoding D1 to D1... 12 The initial maximum displacement of each of the 1st to 12th fracturing pumps is randomly generated.
[0119] As one specific implementation, step S120 may include:
[0120] Step S121: Use the initial displacement population as the current displacement population.
[0121] Step S122: According to the preset crossover probability, perform partial matching crossover on each current individual in the current displacement population to obtain the first displacement population.
[0122] Step S123: According to the preset mutation probability, perform individual mutation on the first individual in the first displacement population to obtain the target displacement population.
[0123] Step S124: If the current iteration number is less than the preset iteration number, then the target displacement population is used as the current displacement population.
[0124] Step S125: Return to the execution of the step of performing partial matching crossover on each current individual in the current displacement population according to the preset crossover probability to obtain the first displacement population, until the preset number of iterations is completed, and the target displacement population is used as the current predicted displacement population.
[0125] In this embodiment, during the actual genetic algorithm iteration process, the preset crossover probability, preset mutation probability, and preset number of iterations can all be determined according to actual usage requirements. For example, the preset number of iterations can be 100, meaning that the initial displacement population needs to undergo 100 crossover and mutation operations to obtain the current predicted displacement population. The crossover operation can be a partial matching crossover.
[0126] In this embodiment, step S122 may include:
[0127] Step A1: Based on the real-time construction setting of the upper limit of displacement and the current displacement of each current individual in the current displacement population, obtain the current overflow displacement of each current individual.
[0128] Step A2: Based on the grid capacity, current wellhead pressure, and current discharge rate of each current individual, obtain the current available grid capacity corresponding to each current individual.
[0129] Step A3: Based on the current overflow discharge and the corresponding current spare grid capacity, obtain the current discharge fitness value for each individual.
[0130] Step A4: Identify the optimal current individual with the highest fitness value for the current displacement from the current displacement population.
[0131] Step A5: Perform partial matching crossover on all current individuals in the current displacement population other than the best current individual to obtain the second displacement population.
[0132] Step A6: Based on the optimal current individual and the second displacement population, obtain the first displacement population.
[0133] In this embodiment, the best current individual in the current displacement population is directly retained to the next generation population, and other current individuals in the current displacement population other than the best current individual are partially matched and crossovered with the aforementioned preset crossover probability.
[0134] In the specific partial crossover process, after randomly selecting any two other current individuals, two exchange points are randomly generated. The gene segments between these two exchange points are exchanged, resulting in two new current individuals. Conflict detection is then performed on these two new current individuals to obtain two more partially matched crossover individuals. Similarly, partial crossover is performed on all other current individuals except for any two other current individuals, resulting in a second-order population. Combining the optimal individual and the second-order population yields the first-order population after the crossover operation.
[0135] It is understandable that the optimal current individual can also be determined from all current individuals based on the displacement adaptability between each current individual and the ideal set displacement. Furthermore, when determining the current overflow displacement of each current individual, the influence of the real-time construction set displacement upper limit of the fracturing pump can also be considered, and when determining the current spare grid capacity of each current individual, the influence of grid capacity can also be considered.
[0136] Each current individual can include multiple current discharge rates. The discharge rate difference between any current discharge rate and the real-time construction discharge rate limit can be considered as the overflow discharge rate corresponding to that current discharge rate. The current overflow discharge rate can be the sum of multiple overflow discharge rates within the current individual. Based on the current discharge rate, the current power corresponding to the fracturing pump can be determined. Then, based on the power difference between the grid capacity and the multiple total current power, the current available grid capacity corresponding to the current individual can be obtained. Finally, by combining the current overflow discharge rate and the current available grid capacity corresponding to each current individual, the current discharge rate fitness value of each current individual is obtained. The optimal current individual with the highest current discharge rate fitness value is determined from the current discharge rate population.
[0137] It should be noted that in actual use, if a fracturing pump malfunctions in the fracturing well site, the current wellhead pressure corresponding to multiple fracturing pumps will change abruptly. At this time, the predicted displacement of the fracturing pump in the gene encoding will be fixed at zero. Then, the fracturing pump displacement determination method of this embodiment will be used to determine the set displacement of other fracturing pumps so as to control other fracturing pumps and avoid the impact of sudden fracturing pump shutdown on the construction process.
[0138] In this embodiment, step S123 may include:
[0139] Step B1: For each first individual, if the mutation probability corresponding to the first individual is greater than or equal to the random number, then perform individual mutation on the first individual according to the mutation probability to obtain the mutated individual.
[0140] Step B2: Obtain the target displacement population based on all mutated individuals and the first individuals other than the first individual corresponding to the mutated individuals in the first displacement population.
[0141] In this embodiment, when performing mutation operations, a random number R, R∈(0,1), can be randomly generated for each first individual. If the mutation probability corresponding to the first individual is greater than or equal to the random number R, then the mutation operation is performed on the first individual according to the mutation probability to obtain mutated individuals. If the mutation probability corresponding to the first individual is less than the random number R, then the mutation operation is not performed on the first individual. Finally, the target displacement population is obtained based on the mutated individuals and the other unmutated first individuals.
[0142] This embodiment provides a method for determining the displacement of fracturing pumps. A displacement population is constructed based on the number of fracturing pumps, and an iterative genetic algorithm is used to obtain the current predicted displacement population. This method comprehensively considers the automated displacement configuration of all fracturing pumps in the fracturing well site, avoiding errors caused by manual setting of displacement. The displacement settings of fracturing pumps are more accurate and efficient. Furthermore, the influence of grid capacity and fracturing pump usage time on the displacement of fracturing pumps is considered during the iteration process. This ensures that the predicted displacement of each current predicted individual is configured based on grid capacity and the health status of the fracturing pumps. The current predicted displacement population has high accuracy, and by controlling the fracturing pumps based on the current predicted individuals, the total power of multiple fracturing pumps will not exceed the grid capacity, avoiding tripping of the main power supply line of the fracturing well site and improving the construction safety of oil and gas development.
[0143] In addition, when a fracturing pump malfunctions in a fracturing well site, the fracturing pump displacement determination method of this embodiment can be used to determine the set displacement of other fracturing pumps and control them to avoid the impact of sudden fracturing pump shutdown on the construction process.
[0144] Furthermore, embodiments of this application also propose a computer storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps of the fracturing pump displacement determination method described above. Therefore, it will not be repeated here. Additionally, the beneficial effects of using the same method will not be repeated here either. For technical details not disclosed in the computer-readable storage medium embodiments of this application, please refer to the description of the method embodiments of this application. As an example, program instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0145] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for determining the displacement of a fracturing pump, characterized in that, The method includes: Obtain the current wellhead pressure, current predicted discharge population, initial maximum discharge, and power grid capacity of the target fracturing well site for multiple fracturing pumps in the target fracturing well site; Based on the initial maximum displacement and the predicted displacement corresponding to each currently predicted individual in the current predicted displacement population, the predicted overflow displacement corresponding to each currently predicted individual is obtained. Based on the grid capacity, the current wellhead pressure, and the predicted discharge rate in each current predicted individual, the predicted spare grid capacity corresponding to each current predicted individual is obtained. Based on the predicted overflow discharge and the corresponding predicted spare grid capacity of each current predicted individual, the predicted discharge fitness value of each current predicted individual is obtained. The optimal predicted individual with the highest predicted displacement fitness value is determined from the current predicted displacement population and used as the set displacement for multiple fracturing pumps.
2. The method as described in claim 1, characterized in that, The step of obtaining the predicted displacement fitness value of each current predicted individual based on the predicted overflow displacement and the corresponding predicted spare grid capacity of each current predicted individual includes: Determine the preset overflow displacement coefficient and the preset spare capacity coefficient; The predicted displacement fitness value of each current predicted individual is obtained based on the predicted overflow displacement, the corresponding predicted spare grid capacity, the preset overflow displacement coefficient, and the preset spare capacity coefficient.
3. The method as described in claim 1, characterized in that, Before the step of obtaining the predicted overflow displacement corresponding to each current predicted individual based on each of the initial maximum displacements and the predicted displacement corresponding to each current predicted individual in the current predicted displacement population, the method further includes: Obtain the real-time cumulative usage time and set usage time of multiple fracturing pumps; The step of obtaining the predicted overflow displacement corresponding to each current predicted individual based on each of the initial maximum displacements and the predicted displacements corresponding to each current predicted individual in the current predicted displacement population includes: Based on the real-time cumulative usage time, the corresponding set usage time, and the initial maximum discharge rate, the real-time construction set discharge rate limit of each fracturing pump is obtained; Based on the upper limit of the discharge capacity set for each real-time construction and the predicted discharge capacity corresponding to each current predicted individual, the predicted overflow discharge capacity corresponding to each current predicted individual is obtained.
4. The method as described in claim 3, characterized in that, The step of obtaining the current predicted discharge population of multiple fracturing pumps in the target fracturing well site includes: Construct an initial displacement population based on the initial maximum displacement and the preset population size; The initial displacement population is iterated using a genetic algorithm to obtain the current predicted displacement population.
5. The method as described in claim 4, characterized in that, The step of using a genetic algorithm to iterate through the initial displacement population to obtain the current predicted displacement population includes: Use the initial displacement population as the current displacement population; Based on the preset crossover probability, partial matching crossover is performed on each current individual in the current displacement population to obtain the first displacement population. Based on the preset mutation probability, individual mutation is performed on the first individual in the first displacement population to obtain the target displacement population. If the current iteration number is less than the preset iteration number, then the target displacement population is taken as the current displacement population; Return to the step of performing partial matching crossover on each current individual in the current displacement population according to the preset crossover probability to obtain the first displacement population, until the preset number of iterations is completed, and use the target displacement population as the current predicted displacement population.
6. The method as described in claim 5, characterized in that, The step of performing partial matching crossover on each current individual in the current displacement population according to a preset crossover probability to obtain a first displacement population includes: Based on the real-time construction setting of the upper limit of the discharge volume and the current discharge volume corresponding to each current individual in the current discharge volume population, the current overflow discharge volume corresponding to each current individual is obtained; Based on the grid capacity, the current wellhead pressure, and the current discharge rate of each current individual, the current available grid capacity corresponding to each current individual is obtained; Based on the current overflow discharge and the corresponding current spare grid capacity, the current discharge fitness value of each individual is obtained; From the current displacement population, determine the optimal current individual with the highest current displacement fitness value; Partial matching and crossover are performed on the other current individuals in the current displacement population besides the best current individual to obtain a second displacement population; The first displacement population is obtained based on the optimal current individual and the second displacement population.
7. The method as described in claim 5, characterized in that, The step of performing individual mutations on the first individual in the first displacement population according to a preset mutation probability to obtain the target displacement population includes: For each of the first individuals, if the mutation probability corresponding to the first individual is greater than or equal to a random number, then the first individual is subjected to individual mutation according to the mutation probability to obtain a mutated individual; The target displacement population is obtained based on all the mutated individuals and the first individuals other than the first individual corresponding to the mutated individuals in the first displacement population.
8. A device for determining the displacement of a fracturing pump, characterized in that, The device includes: a memory, a processor, and a fracturing pump displacement determination program stored in the memory and executable on the processor, the fracturing pump displacement determination program being configured to implement the steps of the fracturing pump displacement determination method as described in any one of claims 1 to 7.
9. A fracturing pump displacement determination system, characterized in that, The system includes: Multiple fracturing pumps; The fracturing pump displacement determination device as described in claim 8.
10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the steps of the fracturing pump displacement determination method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
System, apparatus, and method for rapid pump displacement configuration
CN102834616A
Electric submersible pump well liquid production capacity calculating method and system
CN106468167A