Drilling fluid formula screening method and device, storage medium and computer program

By using a similarity screening method for drilling fluid formulations, the problem of time-consuming and labor-intensive drilling fluid formulation design in polar drilling has been solved. This method enables efficient utilization of drilling fluid experimental data and intelligent formulation design, reduces the number of indoor tests, and saves time and costs.

CN121637080APending Publication Date: 2026-03-10CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In polar drilling, existing technologies struggle to effectively utilize large amounts of drilling fluid experimental data, resulting in time-consuming and labor-intensive drilling fluid formulation design, and an inability to quickly determine formulations that meet performance requirements.

Method used

By calculating the similarity of drilling fluid formulations, a computer program is used to screen drilling fluid formulations, including determining the range of performance characteristic parameters of the target drilling fluid, comparing the performance characteristic parameter values ​​with those of the prepared drilling fluid, calculating the matching degree and similarity, and thus selecting the preferred drilling fluid formulation.

Benefits of technology

It improves the utilization rate of drilling fluid experimental data, promotes intelligent design of drilling fluid formulations, reduces the number of indoor tests, and saves time and costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121637080A_ABST
    Figure CN121637080A_ABST
Patent Text Reader

Abstract

The invention discloses a drilling fluid formula screening method and device, a storage medium and a computer program. The method comprises the steps that the parameter range of all performance characteristics of target drilling fluid is determined according to design requirements; determining parameter values of various performance characteristics of various prepared drilling fluids according to a drilling fluid formula; for each prepared drilling fluid, comparing the parameter range of each performance characteristic of the target drilling fluid with the parameter value of each performance characteristic of the prepared drilling fluid, and determining the matching degree of each performance characteristic of the prepared drilling fluid according to the comparison result; determining the similarity of the prepared drilling fluid relative to the target drilling fluid based on the matching degree of each performance characteristic; and selecting the formula of the prepared drilling fluid with the similarity meeting a preset requirement from the various prepared drilling fluids as an optimal drilling fluid formula. By calculating the similarity of the drilling fluid formula, screening of the drilling fluid formula is achieved, and the utilization rate of drilling fluid experimental data is increased.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of drilling fluids, and in particular to a drilling fluid formulation screening method, device, storage medium and computer program. BACKGROUND

[0002] The Arctic and Antarctic regions contain very rich oil and gas resources, and polar drilling is of great significance to prove polar mineral resources and seize the initiative in polar oil and gas. Polar drilling has higher requirements for the performance of drilling fluids due to its low temperature, complex formation and other harsh environments. Before designing a drilling fluid formulation, engineers will determine the type, formulation composition and main performance indicators (including drilling fluid density, rheological property, filtration loss, etc.) of the drilling fluid according to the design requirements, and then laboratory technicians will conduct a large number of tests to further determine the amount of each component of the drilling fluid. This is a time-consuming and laborious process based on testing and trial and error, and a large number of experiments are needed to continuously adjust the amount of each component of the drilling fluid. A large amount of experimental data is recorded before a suitable drilling fluid formulation is obtained, and these experimental data are identified as invalid data. How to reasonably use these experimental data and determine a drilling fluid formulation that meets the performance requirements is a technical problem that needs to be solved at present. SUMMARY

[0003] Based on the above technical problems, the present disclosure provides a drilling fluid formulation screening method, device, storage medium and computer program.

[0004] In a first aspect, the present disclosure provides a drilling fluid formulation screening method, comprising the following steps:

[0005] determining the parameter range of each performance characteristic of the target drilling fluid according to the design requirements;

[0006] determining the parameter value of each performance characteristic of each prepared drilling fluid according to the drilling fluid formulation;

[0007] for each prepared drilling fluid, comparing the parameter range of each performance characteristic of the target drilling fluid with the parameter value of each performance characteristic of the prepared drilling fluid, and determining the matching degree of each performance characteristic of the prepared drilling fluid according to the comparison result;

[0008] determining the similarity of the prepared drilling fluid relative to the target drilling fluid based on the matching degree of each performance characteristic;

[0009] selecting the formulation of the prepared drilling fluid that meets the preset requirements in the similarity from the prepared drilling fluids as the preferred drilling fluid formulation.

[0010] In some embodiments, the step of comparing the parameter range of each performance characteristic of the target drilling fluid with the parameter value of each performance characteristic of the formulated drilling fluid, and determining the matching degree of each performance characteristic of the formulated drilling fluid according to the comparison result, comprises:

[0011] determining whether the parameter value of the performance characteristic of the formulated drilling fluid belongs to the parameter range of the performance characteristic of the target drilling fluid for each performance characteristic;

[0012] when the parameter value of the performance characteristic of the formulated drilling fluid belongs to the parameter range of the performance characteristic of the target drilling fluid, selecting a corresponding type of matching degree function based on the parameter feature of the performance characteristic of the target drilling fluid;

[0013] determining the matching degree of the performance characteristic of the formulated drilling fluid based on the matching degree function according to the parameter value of the performance characteristic of the formulated drilling fluid.

[0014] In some embodiments, the parameter range of the performance characteristic of the target drilling fluid comprises a design range and a tolerance range, wherein the tolerance range is a value range of the allowable tolerance of the upper limit value and / or the lower limit value of the design range.

[0015] In some embodiments, the parameter feature of the performance characteristic of the target drilling fluid comprises that the parameter range of the performance characteristic is a value range greater than a first preset threshold value and less than a second preset threshold value, and the corresponding type of matching degree function selected based on the parameter feature is a first matching degree function, wherein the first preset threshold value is less than the second preset threshold value.

[0016] The step of determining the matching degree of the performance characteristic of the formulated drilling fluid based on the matching degree function according to the parameter value of the performance characteristic of the formulated drilling fluid, comprises:

[0017] when the parameter value of the performance characteristic of the formulated drilling fluid is greater than a first preset tolerance value and less than a first preset threshold value, and the first preset tolerance value is less than the first preset threshold value, determining that the matching degree of the performance characteristic of the formulated drilling fluid is positively correlated with the parameter value of the performance characteristic of the formulated drilling fluid, and the value of the matching degree is greater than 0 and less than 1;

[0018] when the parameter value of the performance characteristic of the formulated drilling fluid is greater than the first preset threshold value and less than a second preset threshold value, determining that the matching degree of the performance characteristic of the formulated drilling fluid is 1;

[0019] When the parameter value of the performance feature of the prepared drilling fluid is greater than a second preset threshold value and less than a second preset tolerance value, and the second preset threshold value is less than the second preset tolerance value, it is determined that the matching degree of the performance feature of the prepared drilling fluid is negatively correlated with the parameter value of the performance feature of the prepared drilling fluid, and the matching degree has a value greater than 0 and less than 1.

[0020] In some embodiments, the parameter feature of the performance feature of the target drilling fluid includes a parameter range of the performance feature being greater than a third preset threshold value, and a corresponding type of matching degree function selected based on the parameter feature is a second matching degree function.

[0021] The step of determining the matching degree of the performance feature of the prepared drilling fluid according to the parameter value of the performance feature of the prepared drilling fluid based on the matching degree function includes:

[0022] When the parameter value of the performance feature of the prepared drilling fluid is greater than a third preset tolerance value and less than a third preset threshold value, and the third preset tolerance value is less than the third preset threshold value, it is determined that the matching degree of the performance feature of the prepared drilling fluid is positively correlated with the parameter value of the performance feature of the prepared drilling fluid, and the matching degree has a value greater than 0 and less than 1.

[0023] When the parameter value of the performance feature of the prepared drilling fluid is greater than a third preset threshold value, it is determined that the matching degree of the performance feature of the prepared drilling fluid is 1.

[0024] In some embodiments, the parameter feature of the performance feature of the target drilling fluid includes a parameter range of the performance feature being less than a fourth preset threshold value, and a corresponding type of matching degree function selected based on the parameter feature is a third matching degree function.

[0025] The step of determining the matching degree of the performance feature of the prepared drilling fluid according to the parameter value of the performance feature of the prepared drilling fluid based on the matching degree function includes:

[0026] When the parameter value of the performance feature of the prepared drilling fluid is less than a fourth preset threshold value, it is determined that the matching degree of the performance feature of the prepared drilling fluid is 1.

[0027] When the parameter value of the performance feature of the prepared drilling fluid is greater than a fourth preset threshold value and less than a fourth preset tolerance value, and the fourth preset threshold value is less than the fourth preset tolerance value, it is determined that the matching degree of the performance feature of the prepared drilling fluid is negatively correlated with the parameter value of the performance feature of the prepared drilling fluid, and the matching degree has a value greater than 0 and less than 1.

[0028] In some embodiments, the step of determining the similarity of the prepared drilling fluid relative to the target drilling fluid based on the matching degrees of the performance features includes:

[0029] determining the weight of each performance feature;

[0030] adding the product of the weight of each performance feature and the matching degree to obtain the similarity of the formulated drilling fluid relative to the target drilling fluid.

[0031] In a second aspect, the present disclosure provides a computer device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method of the above aspect.

[0032] In a third aspect, the present disclosure provides a computer readable storage medium, having a computer program stored thereon, wherein the computer program is executed by a processor to implement the steps of the method of the above aspect.

[0033] In a fourth aspect, the present disclosure provides a computer program product, comprising a computer program, wherein the computer program is executed by a processor to implement the steps of the method of the above aspect.

[0034] The drilling fluid formulation screening method, device, storage medium and computer program provided by the present disclosure can calculate the similarity of drilling fluid formulations to realize screening of drilling fluid formulations, improve the utilization rate of drilling fluid experimental data, facilitate sharing of drilling fluid experimental data, have important significance for promoting intelligent design of drilling fluid formulations, can effectively improve the design efficiency of drilling fluid formulations, reduce the number of indoor tests, and thus save time and cost. BRIEF DESCRIPTION OF DRAWINGS

[0035] The present disclosure will be described in more detail below based on embodiments and with reference to the accompanying drawings:

[0036] Figure 1 A flowchart of a drilling fluid formulation screening method provided by an embodiment of the present disclosure;

[0037] Figure 2 A flowchart of a drilling fluid formulation screening method provided by an embodiment of the present disclosure;

[0038] Figure 3 A schematic diagram of three matching degree functions provided by an embodiment of the present disclosure;

[0039] Figure 4 An internal structure diagram of a computer device provided by an embodiment of the present disclosure.

[0040] In the drawings, the same components are designated by the same reference numerals, and the drawings are not drawn according to actual proportions. DETAILED DESCRIPTION

[0041] In order to enable a person skilled in the art to better understand the technical solutions of the present disclosure, and to understand the implementation process of how the present disclosure applies technical means to solve technical problems and achieve corresponding technical effects, and to fully understand and implement the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, not all embodiments. The embodiments of the present disclosure and various features in the embodiments can be combined with each other without conflict, and the technical solutions formed thereby are all within the protection scope of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by a person skilled in the art without creative labor are within the protection scope of the present disclosure.

[0042] It should be noted that the terms "first", "second", and the like in the specification and claims of the present disclosure and the above-described drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0043] It should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in an order different from that described herein.

[0044] Example One

[0045] Figure 1 A flowchart of a drilling fluid formulation screening method provided by an embodiment of the present disclosure.

[0046] As shown in Figure 1 A drilling fluid formulation screening method includes the following steps:

[0047] Step 110, determining the parameter range of each performance characteristic of the target drilling fluid according to the design requirements.

[0048] There are various kinds of performance characteristics for characterizing the performance of the drilling fluid, such as the drilling fluid density, plastic viscosity, apparent viscosity, fine shear force, dynamic shear force, drilling fluid filtration loss, drilling fluid acid-base value, drilling fluid yield value, etc. Before the drilling fluid formulation is designed, the engineer will determine the parameter range of the main performance characteristics of the target drilling fluid according to the design requirements; by adaptively adjusting the different performance characteristics, the corresponding drilling fluid can meet the different environmental requirements.

[0049] In one embodiment, the performance characteristics of the target drilling fluid include the drilling fluid density, drilling fluid plastic viscosity, drilling fluid apparent viscosity, drilling fluid filtration loss, drilling fluid acid-base value, and drilling fluid yield value. In this embodiment, the drilling fluid density is defined as MD, the drilling fluid plastic viscosity is defined as PV, the drilling fluid apparent viscosity is defined as AV, the drilling fluid filtration loss is defined as API, the drilling fluid acid-base value is defined as PH, and the drilling fluid yield value is defined as YP.

[0050] In one embodiment, the parameter range of the performance characteristics of the target drilling fluid is greater than the preset value, which means that the larger the parameter range of the performance characteristics is, the better it is; in one embodiment, the parameter range of the performance characteristics of the target drilling fluid is less than the preset value, which means that the smaller the parameter range of the performance characteristics is, the better it is; in one embodiment, the parameter range of the performance characteristics of the target drilling fluid is greater than the first preset value and less than the second preset value, which means that the parameter range of the performance characteristics is in the interval, which meets the specific requirements.

[0051] In one embodiment, the parameter range of the performance characteristics of the target drilling fluid includes that the drilling fluid density MD is within a preset range; the drilling fluid plastic viscosity PV is within a preset range; the drilling fluid apparent viscosity AV is within a preset range; the drilling fluid filtration loss API is less than a preset value; the drilling fluid acid-base value PH is greater than a preset value; and the drilling fluid yield value YP is within a preset range.

[0052] Step 120, according to the drilling fluid formulation, determine the parameter values of various performance characteristics of the prepared drilling fluid.

[0053] In one embodiment, the drilling fluid formulation is obtained based on the drilling fluid well summary report, drilling engineering report, etc., and the parameter values of the performance characteristics of the prepared drilling fluid are determined according to the drilling fluid formulation.

[0054] In one embodiment, after determining the parameter values of the performance characteristics of the prepared drilling fluid, data preprocessing is also required. The data preprocessing includes deleting repeated drilling fluid formulations, deleting abnormal value data, and completing missing parameter values of the performance characteristics of the prepared drilling fluid, etc.

[0055] In one embodiment, the box plot method is used to delete the abnormal value data.

[0056] Step 130, for each of the prepared drilling fluids, comparing the parameter range of each performance characteristic of the target drilling fluid with the parameter value of each performance characteristic of the prepared drilling fluid, and determining the matching degree of each performance characteristic of the prepared drilling fluid according to the comparison result.

[0057] In this embodiment, for each of the prepared drilling fluids, the parameter value of the performance characteristic of the prepared drilling fluid is compared with the parameter range of the performance characteristic of the target drilling fluid, and the matching degree of the performance characteristic of the prepared drilling fluid is determined based on the comparison result of the parameter value of the performance characteristic of the prepared drilling fluid and the parameter range of the performance characteristic of the target drilling fluid.

[0058] In one embodiment, when the parameter value of the performance characteristic of the prepared drilling fluid meets the parameter range of the performance characteristic of the target drilling fluid, it indicates that the parameter value of the performance characteristic of the prepared drilling fluid matches the parameter range of the performance characteristic of the target drilling fluid, and when the parameter value of the performance characteristic of the prepared drilling fluid does not meet the parameter range of the performance characteristic of the target drilling fluid at all, it indicates that the parameter value of the performance characteristic of the prepared drilling fluid does not match the parameter range of the performance characteristic of the target drilling fluid.

[0059] In one embodiment, the number of performance characteristics of the target drilling fluid is multiple, and based on the comparison result of the parameter value of the performance characteristic of each prepared drilling fluid and the parameter range of the performance characteristic of the corresponding target drilling fluid, the matching degree of each performance characteristic of the prepared drilling fluid can be determined.

[0060] Step 140, determining the similarity of the prepared drilling fluid relative to the target drilling fluid based on the matching degree of each performance characteristic.

[0061] In one embodiment, the number of performance characteristics of the target drilling fluid is multiple, and the similarity of the drilling fluid formula is calculated based on the matching degree of each performance characteristic.

[0062] In one embodiment, the similarity of the drilling fluid formula is the sum of the matching degrees of each performance characteristic.

[0063] Step 150, selecting the formula of the prepared drilling fluid whose similarity meets the preset requirement from the various prepared drilling fluids as the preferred drilling fluid formula.

[0064] In this embodiment, the preset requirement of the similarity is preset, and the formula of the prepared drilling fluid whose similarity meets the preset requirement is selected from the various prepared drilling fluids as the preferred drilling fluid formula. For example, the preset requirement of the similarity is the top five or top three in similarity, so that the formula of the prepared drilling fluid whose similarity is ranked from high to low and is in the top five or top three in order is selected from the various prepared drilling fluids as the preferred drilling fluid formula.

[0065] In the embodiment, the similarity of the drilling fluid formula is calculated to realize the screening of the drilling fluid formula, improve the utilization rate of the drilling fluid experimental data, facilitate the sharing of the drilling fluid experimental data, have important significance for promoting the intelligent design of the drilling fluid formula, and can effectively improve the design efficiency of the drilling fluid formula and reduce the number of indoor tests, thereby saving time and cost.

[0066] Example Two

[0067] On the basis of the above-mentioned embodiment, the step of comparing the parameter range of each performance characteristic of the target drilling fluid with the parameter value of each performance characteristic of the prepared drilling fluid and determining the matching degree of each performance characteristic of the prepared drilling fluid according to the comparison result includes:

[0068] For each performance characteristic, it is judged whether the parameter value of the performance characteristic of the prepared drilling fluid belongs to the parameter range of the performance characteristic of the target drilling fluid.

[0069] When the parameter value of the performance characteristic of the prepared drilling fluid belongs to the parameter range of the performance characteristic of the target drilling fluid, a corresponding type of matching degree function is selected based on the parameter characteristics of the performance characteristic of the target drilling fluid.

[0070] Based on the matching degree function, the matching degree of the performance characteristic of the prepared drilling fluid is determined according to the parameter value of the performance characteristic of the prepared drilling fluid.

[0071] In the embodiment, a corresponding type of matching degree function is preset for the parameter characteristics of different performance characteristics of the target drilling fluid, and in different matching degree functions, the matching degrees determined based on the different parameter values of the performance characteristics of the prepared drilling fluid are different. Therefore, a corresponding type of matching degree function is selected based on the parameter characteristics of the performance characteristic of the target drilling fluid, and in the determined matching degree function, the matching degree of the performance characteristic of the prepared drilling fluid is determined according to the parameter value of the performance characteristic of the prepared drilling fluid.

[0072] Example Three

[0073] On the basis of the above-mentioned embodiment, the parameter range of the performance characteristic of the target drilling fluid includes a design range and a tolerance range, wherein the tolerance range is a range of allowable tolerance values of the upper limit value and / or the lower limit value of the design range.

[0074] In the embodiment, the parameter value range of the performance characteristic of the target drilling fluid includes a design range and a tolerance range; for example, the parameter range of the performance characteristic of the target drilling fluid is a value range greater than 10 and less than 20, and the tolerance range is a value range of the allowed tolerance of the upper limit value and the lower limit value of the design range, i.e., assuming that the value of the allowed tolerance is set to 5, the tolerance range includes a first tolerance range and a second tolerance range, the first tolerance range is a value range greater than 5 and less than 10, and the second tolerance range is a value range greater than 10 and less than 15; for example, the parameter range of the performance characteristic of the target drilling fluid is a value range greater than 10, and the tolerance range is a value range of the allowed tolerance of the lower limit value of the design range, i.e., assuming that the value of the allowed tolerance is set to 5, the tolerance range is a value range greater than 5 and less than 10; for example, the parameter range of the performance characteristic of the target drilling fluid is a value range less than 10, and the tolerance range is a value range of the allowed tolerance of the upper limit value of the design range, i.e., assuming that the value of the allowed tolerance is set to 5, the tolerance range is a value range greater than 5 and less than 10.

[0075] Example Four

[0076] On the basis of the above-mentioned embodiment, the parameter characteristic of the performance characteristic of the target drilling fluid includes a value range greater than a first preset threshold value and less than a second preset threshold value, and the matching degree function of the corresponding type selected based on the parameter characteristic is a first matching degree function, wherein the first preset threshold value is less than the second preset threshold value.

[0077] The step of determining the matching degree of the performance characteristic of the prepared drilling fluid based on the matching degree function and the parameter value of the performance characteristic of the prepared drilling fluid includes:

[0078] When the parameter value of the performance characteristic of the prepared drilling fluid is greater than a first preset tolerance value and less than a first preset threshold value, and the first preset tolerance value is less than the first preset threshold value, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is positively correlated with the parameter value of the performance characteristic of the prepared drilling fluid, and the value of the matching degree is greater than 0 and less than 1.

[0079] When the parameter value of the performance characteristic of the prepared drilling fluid is greater than a first preset threshold value and less than a second preset threshold value, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is 1.

[0080] When the parameter value of the performance characteristic of the prepared drilling fluid is greater than a second preset threshold value and less than a second preset tolerance value, and the second preset threshold value is less than the second preset tolerance value, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is negatively correlated with the parameter value of the performance characteristic of the prepared drilling fluid, and the value of the matching degree is greater than 0 and less than 1.

[0081] In this embodiment, the matching degree function includes a first matching degree function. When the parameter characteristic of the performance characteristic of the target drilling fluid includes a value range of the parameter range of the performance characteristic greater than a first preset threshold and less than a second preset threshold, the matching degree function of the corresponding type selected based on the parameter characteristic is the first matching degree function, wherein the first preset threshold is less than the second preset threshold.

[0082] Further, when the parameter value of the performance characteristic of the prepared drilling fluid is greater than a first preset tolerance value and less than the first preset threshold, and the first preset tolerance value is less than the first preset threshold, it indicates that the parameter value of the performance characteristic of the prepared drilling fluid is within the tolerance range. Based on the first matching degree function, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is positively correlated with the parameter value of the performance characteristic of the prepared drilling fluid, and the value of the matching degree is greater than 0 and less than 1. That is, the closer the parameter value of the performance characteristic of the prepared drilling fluid is to the first preset threshold, the greater the matching degree of the performance characteristic of the prepared drilling fluid.

[0083] When the parameter value of the performance characteristic of the prepared drilling fluid is greater than the first preset threshold and less than the second preset threshold, it indicates that the parameter value of the performance characteristic of the prepared drilling fluid is within the design range, i.e. it meets the design requirements. Based on the first matching degree function, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is 1.

[0084] When the parameter value of the performance characteristic of the prepared drilling fluid is greater than the second preset threshold and less than the second preset tolerance value, and the second preset threshold is less than the second preset tolerance value, it indicates that the parameter value of the performance characteristic of the prepared drilling fluid is within the tolerance range. Based on the first matching degree function, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is negatively correlated with the parameter value of the performance characteristic of the prepared drilling fluid, and the value of the matching degree is greater than 0 and less than 1. That is, the farther the parameter value of the performance characteristic of the prepared drilling fluid is from the second preset threshold, the smaller the matching degree of the performance characteristic of the prepared drilling fluid.

[0085] In this embodiment, the matching degree is a value between 0 and 1, specifically, the minimum matching degree value is 0 and the maximum matching degree value is 1. In other embodiments, the matching degree can also be a value between 0 and 100, specifically, the minimum matching degree value is 0 and the maximum matching degree value is 100, which is not limited herein.

[0086] In one embodiment, when the parameter value of the performance characteristic of the prepared drilling fluid is between the first preset deviation value and the first preset threshold, the matching degree of the parameter value of the performance characteristic of the prepared drilling fluid is determined based on a linear function relationship with gradually increasing slope.

[0087] In one embodiment, when the parameter value of the performance characteristic of the prepared drilling fluid is between the first preset deviation value and the first preset threshold value, the matching degree of the parameter value of the performance characteristic of the prepared drilling fluid is the difference between the parameter value of the performance characteristic of the prepared drilling fluid and the first preset deviation value divided by the difference between the first preset threshold value and the first preset deviation value.

[0088] In one embodiment, when the parameter value of the performance characteristic of the prepared drilling fluid is between the second preset threshold value and the second preset deviation value, the matching degree of the parameter value of the performance characteristic of the prepared drilling fluid is determined based on a linear function relationship gradually decreasing with the slope.

[0089] In one embodiment, when the parameter value of the performance characteristic of the prepared drilling fluid is between the second preset threshold value and the second preset deviation value, the matching degree of the parameter value of the performance characteristic of the prepared drilling fluid is the difference between the parameter value of the performance characteristic of the prepared drilling fluid and the second preset deviation value divided by the difference between the second preset threshold value and the second preset deviation value.

[0090] Example Five

[0091] On the basis of the above-mentioned embodiments, the parameter characteristic of the performance characteristic of the target drilling fluid includes a value range of the performance characteristic greater than a third preset threshold value, and the matching degree function of the corresponding type selected based on the parameter characteristic is a second matching degree function.

[0092] The step of determining the matching degree of the performance characteristic of the prepared drilling fluid based on the matching degree function according to the parameter value of the performance characteristic of the prepared drilling fluid includes:

[0093] When the parameter value of the performance characteristic of the prepared drilling fluid is greater than a third preset tolerance value and less than a third preset threshold value, and the third preset tolerance value is less than the third preset threshold value, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is positively correlated with the parameter value of the performance characteristic of the prepared drilling fluid, and the value of the matching degree is greater than 0 and less than 1.

[0094] When the parameter value of the performance characteristic of the prepared drilling fluid is greater than the third preset threshold value, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is 1.

[0095] In this embodiment, the matching degree function includes a second matching degree function, when the parameter characteristic of the performance characteristic of the target drilling fluid includes a value range of the performance characteristic greater than a third preset threshold value, and the matching degree function of the corresponding type selected based on the parameter characteristic is a second matching degree function.

[0096] Further, when the parameter value of the performance characteristic of the prepared drilling fluid is greater than a third preset tolerance value and less than a third preset threshold value, and the third preset tolerance value is less than the third preset threshold value, it is indicated that the parameter value of the performance characteristic of the prepared drilling fluid is within the tolerance range, and the matching degree of the performance characteristic of the prepared drilling fluid is determined to be positively correlated with the parameter value of the performance characteristic of the prepared drilling fluid based on the second matching degree function, and the matching degree is greater than 0 and less than 1; that is, the closer the parameter value of the performance characteristic of the prepared drilling fluid is to the third preset threshold value, the greater the matching degree of the performance characteristic of the prepared drilling fluid.

[0097] When the parameter value of the performance characteristic of the prepared drilling fluid is greater than the third preset threshold value, it is indicated that the parameter value of the performance characteristic of the prepared drilling fluid is within the design range, that is, the design requirement is met, and the matching degree of the performance characteristic of the prepared drilling fluid is determined to be 1 based on the second matching degree function.

[0098] In the embodiment, the matching degree is a value between 0 and 1, and specifically, the minimum matching degree value is 0 and the maximum matching degree value is 1. In other embodiments, the matching degree can also be a value between 0 and 100, and specifically, the minimum matching degree value is 0 and the maximum matching degree value is 100, which is not limited herein.

[0099] In one embodiment, when the parameter value of the performance characteristic of the prepared drilling fluid is between the third preset deviation value and the third preset threshold value, the matching degree of the parameter value of the performance characteristic of the prepared drilling fluid is determined based on a linear function relationship in which the slope gradually increases.

[0100] In one embodiment, when the parameter value of the performance characteristic of the prepared drilling fluid is between the third preset deviation value and the third preset threshold value, the matching degree of the parameter value of the performance characteristic of the prepared drilling fluid is the difference between the parameter value of the performance characteristic of the prepared drilling fluid and the third preset deviation value divided by the difference between the third preset threshold value and the third preset deviation value.

[0101] Example Six

[0102] On the basis of the above-mentioned embodiments, the parameter characteristics of the performance characteristic of the target drilling fluid include that the parameter range of the performance characteristic is less than a fourth preset threshold value, and the matching degree function of the corresponding type selected based on the parameter characteristics is a third matching degree function;

[0103] The step of determining the matching degree of the performance characteristic of the prepared drilling fluid based on the matching degree function according to the parameter value of the performance characteristic of the prepared drilling fluid includes:

[0104] When the parameter value of the performance characteristic of the prepared drilling fluid is less than the fourth preset threshold value, the matching degree of the performance characteristic of the prepared drilling fluid is determined to be 1;

[0105] When the parameter value of the performance characteristics of the prepared drilling fluid is greater than the fourth preset threshold and less than the fourth preset tolerance value, and the fourth preset threshold is less than the fourth preset tolerance value, it is determined that the matching degree of the performance characteristics of the prepared drilling fluid is negatively correlated with the parameter value of the performance characteristics of the prepared drilling fluid, and the matching degree is greater than 0 and less than 1.

[0106] In this embodiment, the matching degree function includes a third matching degree function. When the parameter characteristics of the target drilling fluid's performance features include a range of values ​​less than a fourth preset threshold, the matching degree function of the corresponding type selected based on these parameter characteristics is the third matching degree function.

[0107] Furthermore, when the parameter value of the performance characteristics of the prepared drilling fluid is less than the fourth preset threshold, it indicates that the parameter value of the performance characteristics of the prepared drilling fluid is within the design range, that is, it meets the design requirements. Then, based on the third matching degree function, the matching degree of the performance characteristics of the prepared drilling fluid is determined to be 1.

[0108] When the parameter value of the performance characteristics of the prepared drilling fluid is greater than the fourth preset threshold and less than the fourth preset tolerance value, and the fourth preset threshold is less than the fourth preset tolerance value, it indicates that the parameter value of the performance characteristics of the prepared drilling fluid is within the tolerance range. Based on the third matching degree function, it is determined that the matching degree of the performance characteristics of the prepared drilling fluid is negatively correlated with the parameter value of the performance characteristics of the prepared drilling fluid. The matching degree value is greater than 0 and less than 1; that is, the further the parameter value of the performance characteristics of the prepared drilling fluid is from the fourth preset threshold, the smaller the matching degree of the performance characteristics of the prepared drilling fluid.

[0109] In this embodiment, the matching degree is a value between 0 and 1. Specifically, the minimum matching degree is 0 and the maximum matching degree is 1. In other embodiments, the matching degree may also be a value between 0 and 100. Specifically, the minimum matching degree is 0 and the maximum matching degree is 100. This is not a limitation herein.

[0110] In one embodiment, when the parameter values ​​of the performance characteristics of the prepared drilling fluid are between a fourth preset threshold and a fourth preset deviation value, the matching degree of the parameter values ​​of the performance characteristics of the prepared drilling fluid is determined based on a linear function relationship with a gradually decreasing inclination.

[0111] In one embodiment, when the parameter value of the performance characteristic of the prepared drilling fluid is between a fourth preset threshold and a fourth preset deviation value, the matching degree of the parameter value of the performance characteristic of the prepared drilling fluid is the difference between the parameter value of the performance characteristic of the prepared drilling fluid and the fourth preset deviation value divided by the difference between the fourth preset threshold and the fourth preset deviation value.

[0112] In the determined matching degree function, the matching degree of the parameter values ​​of the performance characteristics of the target drilling fluid is determined based on the comparison result between the parameter range of the performance characteristics of the target drilling fluid and the parameter values ​​of the performance characteristics of the prepared drilling fluid. For example, when the matching degree function corresponding to the performance characteristic is a first matching degree function, if the parameter value of the performance characteristic of the prepared drilling fluid is greater than a preset threshold, then the matching degree of that performance characteristic is determined to be the maximum matching degree value; while when the matching degree function corresponding to the performance characteristic is a second matching degree function, if the parameter value of the performance characteristic of the prepared drilling fluid is greater than the preset threshold, then the matching degree of that performance characteristic is determined to be the minimum matching degree value. Therefore, under different matching degree functions, the matching degree of the performance characteristics of the prepared drilling fluid determined based on the comparison result between the parameter range of the performance characteristics of the target drilling fluid and the parameter values ​​of the performance characteristics of the prepared drilling fluid will also be different.

[0113] Example Seven

[0114] Based on the above embodiments, the step of determining the similarity between the prepared drilling fluid and the target drilling fluid based on the matching degree of each performance characteristic includes:

[0115] Determine the weights of each performance characteristic;

[0116] The similarity between the prepared drilling fluid and the target drilling fluid is obtained by adding the products of the weights of each performance feature and the matching degree.

[0117] When there are multiple performance characteristics of the target drilling fluid, different weights are assigned to these characteristics. Different geological conditions or requirements may necessitate different weights for specific performance characteristics of the drilling fluid; therefore, different weights need to be assigned to different performance characteristics.

[0118] In one embodiment, each performance feature is equally important and therefore has the same weight, with each weight being 1 / n, where n is the number of performance features.

[0119] In one embodiment, the similarity of the performance characteristics of each prepared drilling fluid is obtained by multiplying the weight coefficients and matching degrees of each performance characteristic of each prepared drilling fluid. The similarity of the performance characteristics of all prepared drilling fluids with the same matching degree function is added together to obtain the similarity of the performance characteristics of prepared drilling fluids with the same matching degree function. The similarity of the performance characteristics of the prepared drilling fluids with all matching degree functions is added together and multiplied by 1 / m to obtain the similarity of the drilling fluid formulation, where m is the number of matching degree functions.

[0120] For example, the matching degree function includes a first matching degree function, a second matching degree function, and a third matching degree function, i.e., m is 3. The number of performance characteristics of the target drilling fluid n is 6. The weights of the performance characteristics of each target drilling fluid are equal, so the weight of the performance characteristics of each target drilling fluid is 1 / 6. The number of performance characteristics of the prepared drilling fluid located in the first matching degree function is 4, the number of performance characteristics of the prepared drilling fluid located in the second matching degree function is 1, and the number of performance characteristics of the prepared drilling fluid located in the third matching degree function is 1. Then, the matching degree of each performance characteristic of the prepared drilling fluid is multiplied by its weight to obtain the similarity of each performance characteristic of the prepared drilling fluid. The similarity of the performance characteristics of all prepared drilling fluids within the same matching degree function is added together. For example, the similarity of the 4 performance characteristics of the first matching degree function is added together to obtain the similarity of the performance characteristics of the prepared drilling fluid within the first matching degree function. The similarity of the parameter values ​​of the performance characteristics of the prepared drilling fluid within the second matching degree function and the similarity of the parameter values ​​of the performance characteristics of the prepared drilling fluid within the third matching degree function are then obtained sequentially. The similarity of the parameter values ​​of the performance characteristics of the prepared drilling fluid within all matching degree functions is added together and multiplied by 1 / 3 to obtain the similarity of the drilling fluid formulation.

[0121] Example Eight

[0122] Based on the above embodiments, this embodiment provides an application example.

[0123] In this embodiment, see Figures 2 to 3 As shown, a method for screening drilling fluid formulations is provided, which specifically includes the following steps:

[0124] Step 1, Data Collection.

[0125] The collected data includes drilling fluid formulations used in polar fields, and data from laboratory tests and recordings of drilling fluid formulations. The drilling fluid formulation data includes the performance characteristic values ​​corresponding to the drilling fluid formulation.

[0126] In one embodiment, the collected data includes the following information: (1) drilling fluid formulation; (2) drilling fluid performance data, including: 1) drilling fluid density MD; 2) drilling fluid plastic viscosity PV; 3) drilling fluid apparent viscosity AV; 4) drilling fluid filtrate loss API; 5) drilling fluid pH value; 6) drilling fluid yield value YP.

[0127] Step 2, data preprocessing.

[0128] Data preprocessing includes removing duplicate drilling fluid formulations, removing outliers using box plots, and completing missing drilling fluid performance data items.

[0129] The collected indoor experimental data need further processing, such as converting the R300 and R600 data into rheological data for drilling fluid formulations, where R300 and R600 are rheometer readings at 300 and 600 rpm, respectively.

[0130] Furthermore, the data processing formula is as follows:

[0131]

[0132] PV = R 600 -R 300 (2)

[0133] Dynamic shear force: YP=0.511×(R300-PV) (3)

[0134] In the formula, R300 and R600 are the rheometer readings at 300 and 600 rpm, respectively.

[0135] After data collection and preprocessing, data that can be used to build the model was obtained, and some of the data is shown in Table 1.

[0136] Table 1: Examples of Some Case Studies

[0137]

[0138]

[0139] Step 3: Determine the parameters that need to be considered in the drilling fluid formulation, i.e., model feature selection.

[0140] Because there is a lot of drilling fluid performance data, it is necessary to select the relatively important data to reduce the computational complexity of the model. For example, data such as drilling fluid density, plastic viscosity, apparent viscosity, static shear force, and dynamic shear force can be used as input features for the intelligent design model.

[0141] Step 4: Construct the matching degree function.

[0142] Different drilling fluid performance parameters may require different matching modes during model matching.

[0143] Among them, such as Figure 3 As shown, the matching mode includes three matching degree functions.

[0144] 1) The first way to represent the value of the performance parameter is to define it as the matching degree function a (i.e., the membership function a): when a certain performance data of the original formula is within the range specified by the performance parameter of the design, it means that the original data meets the performance data required by the design. At this time, the matching degree is assigned the maximum matching degree value, i.e., S = 1.

[0145] Specifically, such as Figure 3As shown, the expressions are as follows:

[0146] S = 0 when x d

[0147] S = (x - a) / (b - a) when a < x < b

[0148] S = 1 when b < x < c

[0149] S = (x - d) / (c - d) when c < x < d

[0150] Where S is the matching degree; X is a certain performance data of the original formula; a is the preset tolerance value of the lower limit of the range specified by the designed performance parameter; b is the lower limit of the range specified by the designed performance parameter; c is the upper limit of the range specified by the designed performance parameter; d is the preset tolerance value of the upper limit of the range specified by the designed performance parameter.

[0151] Among them, the values of a and d can be adjusted according to the actual situation. In one embodiment, the tolerance range can be set at 5%, then a = (1 - 5%) * b; and d = (1 + 5%) * c.

[0152] 2) The second way is that the value of the performance parameter is required to be greater than a certain value, and the larger the better. Define it as the matching degree function b (i.e., the membership function b): When a certain performance data of the original formula is greater than the designed performance parameter, it means that the original data meets the performance data required by the design. At this time, the matching degree is given the maximum matching degree value, that is, S = 1;

[0153] Specifically, as Figure 3 shown, the expressions are as follows:

[0154] S = 0 when x < a

[0155] S = (x - a) / (b - a) when a < x < b

[0156] S = 1 when x > b

[0157] Where S is the matching degree; X is a certain performance data of the original formula; a is the tolerance of the designed performance parameter value; b is the designed performance parameter value.

[0158] Among them, the value of a can be adjusted according to the actual situation. In one embodiment, the tolerance range can be set at 5%, then a = (1 - 5%) * b.

[0159] 3) The third way is that the value of the performance parameter is required to be less than a certain value, and the smaller the better. Define it as the matching degree function c (i.e., the membership function c): When a certain performance data of the original formula is less than the designed performance parameter, it means that the original data meets the performance data required by the design. At this time, the matching degree is given the maximum matching degree value, that is, S = 1;

[0160] Specifically, such as Figure 3 As shown, the expression is as follows:

[0161] S = 1, when x

[0162] S=(xb) / (ab),a <x<b

[0163] S = 0, when x > b

[0164] Where S is the matching degree; X is a certain performance data of the original formula; a is the designed performance parameter value; and b is the tolerance value of the designed performance parameter value.

[0165] The value of b can be adjusted according to the actual situation. In one embodiment, the tolerance range can be set to 5%, then b = (1 + 5%) * a.

[0166] The performance parameters and design requirements of each input feature in this embodiment are shown in Table 2 below:

[0167] Table 2 Input Features and Design Requirements

[0168]

[0169]

[0170] Step 5: Assign different weights to the performance parameters.

[0171] Depending on the geological conditions or requirements, a particular performance parameter of the drilling fluid will be given more emphasis, so different weights need to be assigned to different performance parameters.

[0172] In this embodiment, all performance parameters are set to be equally important. Therefore, each performance parameter has an equal weight (i.e., 1 / n, where n is the number of features of the performance parameter). In order to ensure that the similarity of the model output is between 0 and 1, the same weight coefficient of 1 / 3 is set for the three matching degree functions mentioned above.

[0173] Step 6: Calculate the similarity between each recipe and the designed recipe.

[0174] Using the corresponding matching degree function and the weight coefficients defined in step 5, the similarity of each drilling fluid performance parameter is calculated and summed, where the similarity value is between 0 and 100%.

[0175] Specifically, the formula for calculating similarity is as follows:

[0176] S 总 =1 / 3(S) a +S b +S c ) ​

[0177] Among them, S a To calculate the similarity using the membership function a, S b To calculate the similarity using the membership function b, S c This is the similarity calculated using the membership function c.

[0178] In this embodiment, the design parameters for drilling fluid density MD, drilling fluid plastic viscosity PV, drilling fluid apparent viscosity AV, and drilling fluid yield value YP are all within a certain range, and membership function a is selected during matching. The design parameter for drilling fluid pH value is greater than a certain value, and the larger the better; membership function b is selected during matching. The design parameter for drilling fluid filtration loss API is less than a certain value, and the smaller the better; membership function c is selected during matching. (There are a total of 6 features, therefore n=6).

[0179] Taking the design requirements in Table 2 as an example, we sequentially selected formulations from the matching case library (here, we take formulation 1 in Table 1 as an example to calculate the similarity). In formulation 1, the pH value is 7, but the design requirement is greater than 8, so it does not meet the design requirements, and the similarity is 0. The API value also does not meet the requirements, so the similarity is 0. All other data meet the design requirements, and the similarity is 1 for each.

[0180] Sa = 4 / 6(1+1+1+1) = 8 / 3

[0181] Sb = 1 / 6 * 0 = 0

[0182] Sc = 1 / 6 * 0 = 0

[0183] S total=1 / 3*(Sa+Sb+Sc)=1 / 3*8 / 3=88.9%

[0184] Based on the design requirements, the similarity of each case recipe in the case library was calculated sequentially, and the best case was ranked.

[0185] Step 7, output the results.

[0186] Based on the overall similarity of each recipe obtained in step 6, the set of recipes with the highest similarity is output, as shown in Table 3 below.

[0187] Table 3 Recommended formulations and similarities

[0188]

[0189] Step 8: Adjustment and optimization of the formula.

[0190] Once a formula with high similarity is obtained from step 6, a completely similar formula can be used directly. For formulas with low similarity, further laboratory testing is required to determine the final drilling fluid formula.

[0191]

[0192] Example Nine

[0193] Based on the above embodiments, see [link to relevant documentation] Figure 4 As shown, this embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory. The processor executes the computer program to implement the above-described steps:

[0194] Determine the parameter ranges for each performance characteristic of the target drilling fluid according to the design requirements;

[0195] The parameter values ​​of various performance characteristics of different drilling fluids are determined based on the drilling fluid formulation;

[0196] For each type of drilling fluid, the parameter ranges of each performance characteristic of the target drilling fluid are compared with the parameter values ​​of each performance characteristic of the formulated drilling fluid, and the matching degree of each performance characteristic of the formulated drilling fluid is determined based on the comparison results.

[0197] The similarity between the prepared drilling fluid and the target drilling fluid is determined based on the matching degree of each performance characteristic.

[0198] From the various prepared drilling fluids, the preferred drilling fluid formula is selected based on the similarity that meets the preset requirements.

[0199] In one embodiment, the processor executes the computer program to implement the above-described steps:

[0200] For each performance characteristic, determine whether the parameter value of the performance characteristic of the prepared drilling fluid belongs to the parameter range of the performance characteristic of the target drilling fluid;

[0201] When the parameter values ​​of the performance characteristics of the prepared drilling fluid fall within the parameter range of the performance characteristics of the target drilling fluid, a matching degree function of the appropriate type is selected based on the parameter characteristics of the performance characteristics of the target drilling fluid.

[0202] Based on the matching degree function, the matching degree of the performance characteristics of the prepared drilling fluid is determined according to the parameter values ​​of the performance characteristics of the prepared drilling fluid.

[0203] In one embodiment, the processor executes the computer program to implement the above-described steps:

[0204] The parameter range of the performance characteristics of the target drilling fluid includes a design range and a tolerance range, wherein the tolerance range is the range of allowable tolerance values ​​for the upper limit and / or lower limit of the design range.

[0205] In one embodiment, the processor executes the computer program to implement the above-described steps:

[0206] The performance characteristics of the target drilling fluid include a range of values ​​that are greater than a first preset threshold and less than a second preset threshold. The matching degree function of the corresponding type selected based on the performance characteristics is the first matching degree function, wherein the first preset threshold is less than the second preset threshold.

[0207] When the parameter value of the performance characteristics of the prepared drilling fluid is greater than the first preset tolerance value and less than the first preset threshold value, and the first preset tolerance value is less than the first preset threshold value, it is determined that the matching degree of the performance characteristics of the prepared drilling fluid is positively correlated with the parameter value of the performance characteristics of the prepared drilling fluid, and the matching degree value is greater than 0 and less than 1.

[0208] When the parameter value of the performance characteristics of the prepared drilling fluid is greater than a first preset threshold and less than a second preset threshold, the matching degree of the performance characteristics of the prepared drilling fluid is determined to be 1.

[0209] When the parameter value of the performance characteristics of the prepared drilling fluid is greater than the second preset threshold and less than the second preset tolerance value, and the second preset threshold is less than the second preset tolerance value, it is determined that the matching degree of the performance characteristics of the prepared drilling fluid is negatively correlated with the parameter value of the performance characteristics of the prepared drilling fluid, and the matching degree is greater than 0 and less than 1.

[0210] In one embodiment, the processor executes the computer program to implement the above-described steps:

[0211] The performance characteristics of the target drilling fluid include a range of values ​​greater than a third preset threshold, and the matching degree function of the corresponding type selected based on this parameter characteristic is the second matching degree function.

[0212] When the parameter value of the performance characteristics of the prepared drilling fluid is greater than the third preset tolerance value and less than the third preset threshold value, and the third preset tolerance value is less than the third preset threshold value, it is determined that the matching degree of the performance characteristics of the prepared drilling fluid is positively correlated with the parameter value of the performance characteristics of the prepared drilling fluid, and the matching degree value is greater than 0 and less than 1.

[0213] When the parameter value of the performance characteristics of the prepared drilling fluid is greater than the third preset threshold, the matching degree of the performance characteristics of the prepared drilling fluid is determined to be 1.

[0214] In one embodiment, the processor executes the computer program to implement the above-described steps:

[0215] The performance characteristics of the target drilling fluid include that the parameter range of the performance characteristics is less than a fourth preset threshold, and the matching degree function of the corresponding type selected based on the parameter characteristics is the third matching degree function;

[0216] When the parameter value of the performance characteristics of the prepared drilling fluid is less than the fourth preset threshold, the matching degree of the performance characteristics of the prepared drilling fluid is determined to be 1.

[0217] When the parameter value of the performance characteristics of the prepared drilling fluid is greater than the fourth preset threshold and less than the fourth preset tolerance value, and the fourth preset threshold is less than the fourth preset tolerance value, it is determined that the matching degree of the performance characteristics of the prepared drilling fluid is negatively correlated with the parameter value of the performance characteristics of the prepared drilling fluid, and the matching degree is greater than 0 and less than 1.

[0218] In one embodiment, the processor executes the computer program to implement the above-described steps:

[0219] Determine the weights of each performance characteristic;

[0220] The similarity between the prepared drilling fluid and the target drilling fluid is obtained by adding the products of the weights of each performance feature and the matching degree.

[0221] In one embodiment, such as Figure 4 As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs, and also contains a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface is used to communicate with other computer devices that have deployed application software. When the computer program is executed by the processor, it implements a multi-unit bias control method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device casing, or an external keyboard, touchpad, or mouse.

[0222] In some embodiments of this example, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the method described in the above embodiments.

[0223] In some embodiments of this example, a computer program product is provided, including a computer program / instructions, which, when executed by a processor, implements the steps of the method described in the above embodiments.

[0224] The processor may include, but is not limited to, one or more processors or microprocessors. Each processor may be implemented as an Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor, or other electronic component, for executing the methods described in the above embodiments.

[0225] Computer-readable storage media can be implemented by any type of volatile or non-volatile storage device or a combination thereof. Computer-readable storage media may include, but are not limited to, random access memory (RAM), read-only memory (ROM), flash memory, EPROM memory, EEPROM memory, registers, and computer storage media (e.g., hard disks, floppy disks, solid-state drives, removable disks, CD-ROMs, DVD-ROMs, Blu-ray discs, etc.).

[0226] Computer-readable storage media may also store at least one computer-executable program / instruction, such as computer-readable instructions. Computer-readable storage media include, but are not limited to, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Computer-readable storage media may include, for example, read-only memory (ROM), hard disk, flash memory, etc. For example, a non-transitory computer-readable storage medium may be connected to a computing device such as a computer, and then, when the computing device executes the computer-readable instructions stored on the computer-readable storage medium, the various methods described above can be performed.

[0227] In addition, the computer device may include (but is not limited to) a data bus, an input / output (I / O) bus, a display, and input / output devices (e.g., keyboard, mouse, speakers, etc.).

[0228] The processor can communicate with external devices via the I / O bus through wired or wireless networks.

[0229] In one embodiment, the at least one computer-executable instruction may also be compiled into or comprise a software product / computer program product, wherein one or more computer-executable instructions are executed by a processor to perform the steps of the various functions and / or methods in the embodiments described herein.

[0230] In the embodiments provided in this disclosure, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0231] It should be noted that, in this disclosure, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element limited by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0232] While the embodiments disclosed herein are as described above, the foregoing content is merely for the purpose of facilitating understanding of this disclosure and is not intended to limit this disclosure. Any person skilled in the art to which this disclosure pertains may make any modifications and changes in form and detail of the implementation without departing from the spirit and scope of this disclosure; however, the scope of patent protection of this disclosure shall still be determined by the scope defined in the appended claims.

Claims

1. A method of screening drilling fluid formulations, characterized by, The method comprises the following steps: determining a parameter range of each performance characteristic of a target drilling fluid according to design requirements; determining a parameter value of each performance characteristic of each prepared drilling fluid according to a drilling fluid formula; for each prepared drilling fluid, comparing the parameter range of each performance characteristic of the target drilling fluid with the parameter value of each performance characteristic of the prepared drilling fluid, and determining a matching degree of each performance characteristic of the prepared drilling fluid according to a comparison result; determining a similarity of the prepared drilling fluid relative to the target drilling fluid based on the matching degrees of the performance characteristics; selecting a formula of the prepared drilling fluid with a similarity meeting a preset requirement as a preferred drilling fluid formula from the prepared drilling fluids.

2. The method of screening drilling fluid formulations of claim 1, wherein, The step of comparing the parameter range of each performance characteristic of the target drilling fluid with the parameter value of each performance characteristic of the prepared drilling fluid, and determining a matching degree of each performance characteristic of the prepared drilling fluid according to a comparison result comprises: for each performance characteristic, judging whether the parameter value of the performance characteristic of the prepared drilling fluid belongs to the parameter range of the performance characteristic of the target drilling fluid; when the parameter value of the performance characteristic of the prepared drilling fluid belongs to the parameter range of the performance characteristic of the target drilling fluid, selecting a corresponding type of matching degree function based on a parameter feature of the performance characteristic of the target drilling fluid; determining the matching degree of the performance characteristic of the prepared drilling fluid according to the parameter value of the performance characteristic of the prepared drilling fluid based on the matching degree function.

3. The method of screening drilling fluid formulations of claim 2, wherein, The parameter range of the performance characteristic of the target drilling fluid comprises a design range and a tolerance range, wherein the tolerance range is a value range of an allowable tolerance of an upper limit value and / or a lower limit value of the design range.

4. The method of claim 3, wherein, The parameter feature of the performance characteristic of the target drilling fluid comprises a value range greater than a first preset threshold value and less than a second preset threshold value, and a corresponding type of matching degree function selected based on the parameter feature is a first matching degree function, wherein the first preset threshold value is less than the second preset threshold value. The step of determining the matching degree of the performance characteristic of the prepared drilling fluid according to the parameter value of the performance characteristic of the prepared drilling fluid based on the matching degree function comprises: when the parameter value of the performance characteristic of the prepared drilling fluid is greater than a first preset tolerance value and less than the first preset threshold value, the first preset tolerance value being less than the first preset threshold value, determining that the matching degree of the performance characteristic of the prepared drilling fluid is positively correlated with the parameter value of the performance characteristic of the prepared drilling fluid, and the value of the matching degree being greater than 0 and less than 1; when the parameter value of the performance characteristic of the prepared drilling fluid is greater than the first preset threshold value and less than the second preset threshold value, determining that the matching degree of the performance characteristic of the prepared drilling fluid is 1; when the parameter value of the performance characteristic of the prepared drilling fluid is greater than the second preset threshold value and less than a second preset tolerance value, the second preset threshold value being less than the second preset tolerance value, determining that the matching degree of the performance characteristic of the prepared drilling fluid is negatively correlated with the parameter value of the performance characteristic of the prepared drilling fluid, and the value of the matching degree being greater than 0 and less than 1.

5. The method of claim 3, wherein, The parameter characteristic of the performance characteristic of the target drilling fluid includes a parameter range of the performance characteristic greater than a third preset threshold value, and a corresponding type of matching degree function selected based on the parameter characteristic is a second matching degree function; The step of determining the matching degree of the performance characteristic of the prepared drilling fluid based on the matching degree function and the parameter value of the performance characteristic of the prepared drilling fluid includes: When the parameter value of the performance characteristic of the prepared drilling fluid is greater than a third preset tolerance value and less than the third preset threshold value, and the third preset tolerance value is less than the third preset threshold value, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is positively correlated with the parameter value of the performance characteristic of the prepared drilling fluid, and the value of the matching degree is greater than 0 and less than 1; When the parameter value of the performance characteristic of the prepared drilling fluid is greater than the third preset threshold value, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is 1.

6. The method of screening drilling fluid formulations of claim 3, wherein, The parameter characteristic of the performance characteristic of the target drilling fluid includes a parameter range of the performance characteristic less than a fourth preset threshold value, and a corresponding type of matching degree function selected based on the parameter characteristic is a third matching degree function; The step of determining the matching degree of the performance characteristic of the prepared drilling fluid based on the matching degree function and the parameter value of the performance characteristic of the prepared drilling fluid includes: When the parameter value of the performance characteristic of the prepared drilling fluid is less than the fourth preset threshold value, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is 1; When the parameter value of the performance characteristic of the prepared drilling fluid is greater than the fourth preset threshold value and less than a fourth preset tolerance value, and the fourth preset threshold value is less than the fourth preset tolerance value, it is determined that the matching degree of the performance characteristic of the prepared drilling fluid is negatively correlated with the parameter value of the performance characteristic of the prepared drilling fluid, and the value of the matching degree is greater than 0 and less than 1.

7. The method of screening drilling fluid formulations of claim 1, wherein, The step of determining the similarity of the prepared drilling fluid to the target drilling fluid based on the matching degrees of the performance characteristics includes: Determining the weight of each performance characteristic; Adding the product of the weight and the matching degree of each performance characteristic to obtain the similarity of the prepared drilling fluid to the target drilling fluid.

8. A computer device, comprising: A computer program product including a memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement the steps of the method of any one of claims 1 to 7.

9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 7.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 7.