Method, device and equipment for determining thickening duration of cement paste and storage medium

By obtaining cement slurry thickening data under different preset conditions, calculating the time difference and optimizing the thickening time, the problem of inaccurate cement slurry thickening time in the existing technology is solved, and the cementing quality and anti-trap capability are improved.

CN119646754APending Publication Date: 2025-03-18PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311207512.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-18
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

When determining the thickening time of cement slurry, the accuracy is not high due to changes in the bottom-hole temperature and bottom-hole pressure, which in turn affects the cementing quality.

Method used

By acquiring the thickening data of the first cement slurry under the first preset condition and the thickening data under the second preset condition, the time difference value corresponding to the equal consistency value is calculated, and the thickening time of the first cement slurry is optimized based on the time difference value.

Benefits of technology

The accuracy of the thickening time of cement slurry is improved, the anti-trapped ability of cement slurry is enhanced, and the cementing quality of the oil and gas water layer is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119646754A_ABST
    Figure CN119646754A_ABST
Patent Text Reader

Abstract

The invention discloses a cement paste thickening duration determination method and device, equipment and a storage medium, and belongs to the technical field of petroleum drilling engineering. The method comprises the following steps: acquiring a first consistency value of first cement paste under a first preset condition and a first duration corresponding to the first consistency value, acquiring a second consistency value of the first cement paste under a second preset condition and a second duration corresponding to the second consistency value, and calculating a duration difference value corresponding to the equal consistency value when the first consistency value is equal to the second consistency value, and optimizing the first thickening time length of the first cement paste based on the time length difference value to obtain a second thickening time length. The second time length is obtained under the condition of temperature and pressure change, so that the time length difference value can reflect the influence on the thickening time length when the temperature and the pressure change. Therefore, in the embodiment of the invention, the influence of temperature and pressure changes on the thickening time of the cement paste is considered, and the accuracy of the thickening time of the cement paste is improved, so that the anti-channeling capability of the cement paste is effectively improved, and the well cementation quality of an oil-gas-water layer is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of oil drilling engineering, and in particular to a method, device, equipment and storage medium for determining the thickening time of cement slurry. Background Art

[0002] In the process of oil extraction, in order to make the well wall more stable and to isolate the oil, gas and water layers at the same time to prevent the oil, gas and water layers from inter-layer crosstalk under different pressures, cement slurry is usually injected into the annulus between the oil pipe and the casing for cementing. The process of cement slurry transforming from liquid to solid is the thickening process of cement slurry, and the time required for the thickening process of cement slurry is the thickening time of cement slurry. The thickening time is a key parameter for controlling the work of cement slurry injection. If the thickening time is too short, the cement slurry cannot be pumped before reaching the specified position, which will cause cementing failure. If the thickening time is too long, due to the limited anti-crosstalk ability of the cement slurry itself, it will cause oil, gas and water crosstalk, resulting in the cementing quality cannot be well guaranteed.

[0003] In the related art, the thickening time of cement slurry is calculated by obtaining the bottom hole temperature and bottom hole pressure recorded in the cementing construction materials.

[0004] However, as the oil field development reaches the middle and late stages, due to long-term water injection and fluid production, the formation temperature and formation pressure change with the change of well depth. The scheme of calculating the cement slurry thickening time based on the bottom hole temperature and bottom hole pressure leads to inaccurate determination of the cement slurry thickening time. Summary of the invention

[0005] The present application provides a method, device, equipment and storage medium for determining the thickening time of cement slurry, which can be used to solve the problems existing in the related technologies. The technical solution is as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for determining a cement slurry thickening time, the method comprising: obtaining first thickening data of a first cement slurry under a first preset condition, the first thickening data comprising at least one first consistency value and a first time corresponding to the first consistency value, the first preset condition comprising that the bottom hole temperature, the bottom hole pressure and the heating time remain unchanged; obtaining second thickening data of the first cement slurry under a second preset condition, the second thickening data comprising at least one second consistency value and a second time corresponding to the second consistency value, the second preset condition comprising that the preset temperature and the preset pressure change with the time; when the first consistency value and the second consistency value are equal, calculating a time difference corresponding to the equal consistency values, the time difference being the difference between the second target time and the first target time, and when the second target time is the second time corresponding to the second consistency value, the first target time is the first time corresponding to the first consistency value equal to the second consistency value; determining a second thickening time of the first cement slurry based on the time difference and the first thickening time, the first thickening time referring to the thickening time corresponding to the first cement slurry under the first preset condition.

[0007] In a second aspect, an embodiment of the present application provides a device for determining the thickening time of cement slurry, the device comprising a first acquisition module for acquiring first thickening data of a first cement slurry under a first preset condition, the first thickening data comprising at least one first consistency value and a first time corresponding to the first consistency value, the first preset condition comprising that the bottom hole temperature, the bottom hole pressure and the heating time remain unchanged; a second acquisition module for acquiring second thickening data of the first cement slurry under a second preset condition, the second thickening data comprising at least one second consistency value and a second time corresponding to the second consistency value, the second preset condition comprising that the bottom hole temperature, the bottom hole pressure and the heating time remain unchanged; Assume that the temperature and the preset pressure change with the time; a calculation module is used to calculate the time difference corresponding to the equal consistency values ​​when the first consistency value and the second consistency value are equal, the time difference is the difference between the second target time and the first target time, and when the second target time is the second time corresponding to the second consistency value, the first target time is the first time corresponding to the first consistency value which is the same as the second consistency value; a determination module is used to determine the second thickening time of the first cement slurry based on the time difference and the first thickening time, the first thickening time refers to the thickening time corresponding to the first cement slurry under the first preset conditions.

[0008] In a third aspect, an embodiment of the present application provides a device for determining the thickening time of cement slurry. The device for determining the thickening time of cement slurry includes a processor and a memory. The memory stores at least one computer program. The at least one computer program is loaded and executed by the processor so that the computer device implements any of the above-mentioned methods for determining the thickening time of cement slurry.

[0009] In a fourth aspect, an embodiment of the present application provides a storage medium, which may be a computer-readable storage medium. At least one computer program is stored in the storage medium, and at least one computer program is loaded and executed by a processor so that the computer implements any of the above-mentioned methods for determining the thickening time of cement slurry.

[0010] In a fifth aspect, the embodiments of the present application further provide a computer program product or a computer program, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any of the above-mentioned methods for determining the thickening time of cement slurry.

[0011] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0012] In the embodiment of the present application, at least one first consistency value of the first cement slurry under the first preset condition and the first time length corresponding to the first consistency value are first obtained, and then at least one second consistency value of the first cement slurry under the second preset condition and the second time length corresponding to the second consistency value are obtained. When the first consistency value and the second consistency value are equal, the time length difference corresponding to the equal consistency values ​​is calculated, and the first thickening time length of the first cement slurry is optimized based on the time length difference to obtain the second thickening time length of the first cement slurry. Since the second time length is obtained when the preset temperature and the preset pressure follow the time length change, the time length difference can reflect the influence of the temperature and pressure changes on the thickening time length. Therefore, in the embodiment of the present application, the influence of temperature and pressure changes on the thickening time length of cement slurry is taken into account, the accuracy of the thickening time length of cement slurry is improved, and the anti-channeling ability of cement slurry is effectively improved to ensure the cementing quality of oil, gas and water layers. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0014] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0015] Figure 2 is a flow chart of a method for determining cement slurry thickening time provided in an embodiment of the present application;

[0016] Figure 3 is a flow chart of another method for determining the thickening time of cement slurry provided in an embodiment of the present application;

[0017] Figure 4 This is a univariate linear regression curve diagram of a consistency value and a time difference provided in an embodiment of the present application;

[0018] Figure 5 It is a structural schematic diagram of a device for determining cement slurry thickening time provided in an embodiment of the present application;

[0019] Figure 6 It is a structural schematic diagram of a device for determining the thickening time of cement slurry provided in an embodiment of the present application;

[0020] Figure 7 It is a structural schematic diagram of another device for determining the thickening time of cement slurry provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0022] At present, in the process of oil extraction, in order to make the well wall more stable and to isolate the oil, gas and water layers at the same time to prevent the oil, gas and water layers from inter-layer crosstalk under different pressures, cement slurry is usually injected into the outer annulus between the oil pipe and the casing for cementing. The process of cement slurry transforming from liquid to solid is the thickening process of cement slurry, and the time required for the thickening process of cement slurry is the thickening time of cement slurry. The thickening time of cement slurry is also called the thickening time of cement slurry. The thickening time is one of the important parameters in cementing construction, and the thickening time determines the success or failure of cementing operation. The thickening time refers to the time required for oil well cement slurry to reach 100 beardens (Bc) from the beginning of slurry mixing under certain temperature and pressure conditions. The thickening time is an indoor experimental value obtained by simulating the on-site cement slurry injection process. If the thickening time is too short, the cement slurry cannot be pumped before it reaches the designated position, which will cause cementing failure. If the thickening time is too long, oil, gas and water channeling will occur due to the limited anti-channeling ability of the cement slurry itself, resulting in the inability to ensure the quality of cementing.

[0023] As oilfield development enters the middle and late stages, most oilfields have changed the original state of the formation due to long-term and large-scale water injection and fluid production. The upper formation is affected by long-term water injection to form a high-pressure water injection layer, while the lower formation is gradually developed to maintain normal pressure or low pressure, resulting in the coexistence of upper high pressure and lower normal (low) pressure. Due to the limited anti-channeling ability of cement slurry itself, oil, gas and water channeling cannot be avoided under the long-term action of high-pressure fluid. Moreover, the current design of cement slurry thickening time is based on bottom hole temperature and bottom hole pressure. During the injection process, the temperature and pressure of cement slurry change with the depth of the well, and the thickening time of cement slurry also changes accordingly, resulting in inaccurate designed cement slurry thickening time.

[0024] The thickening time of cement slurry is measured by simulating the changes of formation temperature and formation pressure through experiments. The thickening time of cement slurry can be controlled by adding a reasonable amount of retarder when the formation temperature and formation pressure change. However, since the formation temperature and formation pressure have a great influence on the performance of the retarder itself, the amount of retarder needs a lot of experiments to verify, which leads to a long time for measuring the thickening time of cement slurry.

[0025] This application embodiment provides a method for determining the thickening time of cement slurry. Figure 1 , which shows a schematic diagram of an implementation environment of a method for determining cement slurry thickening time provided in an embodiment of the present application. The implementation environment may include: a terminal 11 and a server 12.

[0026] Optionally, the terminal 11 may be a smart device such as a mobile phone, a tablet computer, a personal computer, etc. The server 12 may be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center. The terminal 11 establishes a communication connection with the server 12 via a wired or wireless network.

[0027] Optionally, the terminal 11 can be any electronic product that can interact with the user through one or more methods such as a keyboard, a touch pad, a touch screen, a remote control, voice interaction or a handwriting device, such as a personal computer (PC), a mobile phone, a smart phone, a personal digital assistant (PDA), a wearable device, a pocket PC (PPC), a tablet computer, etc. The server 12 can be a server, or a server cluster composed of multiple servers, or a cloud computing service center. The terminal 11 establishes a communication connection with the server 12 through a wired or wireless network.

[0028] Those skilled in the art should understand that the above-mentioned terminal 11 and server 12 are only examples, and other existing or future terminals or servers that are applicable to the present application should also be included in the protection scope of the present application and are included here by reference.

[0029] Based on the above Figure 1 In the implementation environment shown in the figure, the present application embodiment provides a method for determining the thickening time of cement slurry. Figure 2 As shown, the method for determining the cement slurry thickening time can be executed by a terminal or a server. Taking the method applied to a terminal as an example, the method includes steps 201 to 204.

[0030] Step 201, obtaining first thickening data of a first cement slurry under a first preset condition, wherein the first thickening data includes at least one first consistency value and a first duration corresponding to the first consistency value, and the first preset condition includes that the bottom hole temperature, the bottom hole pressure and the heating duration remain unchanged.

[0031] The first cement slurry refers to a cement slurry including a preset proportion of retarder, and the preset proportion of the retarder in the first cement slurry is determined according to the first thickening time of the first cement slurry, and the first thickening time is the experimental thickening time of the first cement slurry calculated under the first preset condition. Exemplarily, the first cement slurry is a lead slurry including a preset proportion of retarder.

[0032] The first preset condition includes that the bottom hole temperature E2, the bottom hole pressure P2 and the heating time T2 remain unchanged. The bottom hole temperature is also called the bottom hole circulation temperature. The bottom hole temperature is the formation temperature corresponding to the depth of the bottom of the wellbore. The bottom hole pressure is the formation pressure corresponding to the depth of the bottom of the wellbore. The heating time T2 refers to the time required for the second cement slurry to reach the bottom of the well after being injected from the wellhead of the wellbore. For example, the second cement slurry refers to the tail slurry corresponding to the leading slurry.

[0033] The bottom hole temperature E2, bottom hole pressure P2 and heating time T2 can all be obtained from relevant data of cementing construction. After a wellbore is drilled, the bottom hole temperature E2, bottom hole pressure P2 and heating time T2 are fixed data.

[0034] In a possible implementation, the heating time, the first cement slurry thickening additional time and the second cement slurry thickening additional time corresponding to the first preset condition are obtained; and the sum of the heating time, the first cement slurry thickening additional time and the second cement slurry thickening additional time is taken as the first thickening time.

[0035] The heating time corresponding to the first preset condition refers to the heating time T2 that remains unchanged within the first preset condition. The additional time for thickening the second cement slurry is determined according to the design requirements of the second cement slurry, and the additional time for thickening the first cement slurry is determined according to the design requirements of the first cement slurry. Both the additional time for thickening the second cement slurry and the additional time for thickening the first cement slurry can be obtained from relevant data on cementing construction.

[0036] During the cementing process, the first cement slurry is injected first, and then the second cement slurry is injected. After the second cement slurry enters the wellbore from the wellhead, it reaches the bottom of the well and then returns to the first depth of the outer annulus, which is a gradual temperature increase process.

[0037] The thickening time of the second cement slurry should be designed based on the bottom hole temperature E2, bottom hole pressure P2, and heating time T2. Considering the construction safety, a safety time is added to the thickening time. The thickening time B2 of the second cement slurry is calculated by formula (1):

[0038] B2=T1+T 第二水泥浆附加时长 (1)

[0039] Wherein, B2 refers to the thickening time of the second cement slurry under the conditions of bottom hole temperature E2, bottom hole pressure P2 and heating time T2, in minutes (min). T1 refers to the time required for the second cement slurry to be injected from the wellhead to the first depth in the outer annulus in the wellbore, in minutes. 第二水泥浆附加时长 It refers to the additional safety time for the second cement slurry construction, in minutes.

[0040] During the cementing construction, the first cement slurry enters the wellbore from the wellhead, passes through the bottom of the well and returns to the preset depth. The first thickening time of the first cement slurry is designed according to the bottom hole temperature E2, the bottom hole pressure P2 and the heating time T2. Considering the pressure stabilization performance of the second cement slurry on the oil and gas layer, the first thickening time is added. The first thickening time B1 of the first cement slurry is calculated by formula (2):

[0041] B1=B2+T 第一水泥浆附加时长 (2)

[0042] Wherein, B1 refers to the first thickening time of the first cement slurry under the conditions of bottom hole temperature E2, bottom hole pressure P2 and heating time T2, in min; B2 is the designed thickening time of the second cement slurry, in min; T 第一水泥浆附加时长 It is the additional time for thickening of the first cement slurry and the second cement slurry, in minutes.

[0043] By using a high-temperature and high-pressure thickener, the first thickening time of the first cement slurry is B1 by adjusting the retarder ratio in the first cement slurry system formula, and the first cement slurry formula N is obtained under the conditions of bottom hole temperature E2, bottom hole pressure P2, and heating time T2, and at least one first consistency value and the first time corresponding to the first consistency value are obtained. Wherein, the formula N includes the preset ratio of the retarder added to the first cement slurry, and the first time corresponding to the first consistency value refers to the time required for the first cement slurry to reach the first consistency value after the preset ratio of the retarder is added to the first cement slurry to thicken under the conditions of the bottom hole temperature E2, the bottom hole pressure P2, and the heating time T2 remaining unchanged. For example: the first time corresponding to the first consistency value a refers to the time required for the first consistency value of the first cement slurry to reach the consistency value a under the conditions of the bottom hole temperature E2, the bottom hole pressure P2, and the heating time T2. Wherein, the first consistency value and the first time corresponding to the first consistency value are both experimental data. Exemplarily, the thickening of the first cement slurry may be understood as the first consistency value of the first cement slurry reaching 40 Bc.

[0044] Step 202: obtaining second thickening data of the first cement slurry under a second preset condition, wherein the second thickening data includes at least one second consistency value and a second time duration corresponding to the second consistency value, and the second preset condition includes a preset temperature and a preset pressure changing with the time duration.

[0045] During the cementing process, the first cement slurry enters the wellbore from the wellhead, reaches the bottom of the well and then returns to the preset depth, experiencing a process of first heating up and then cooling down. The preset depth refers to the depth that the first cement slurry is planned to reach, which can be obtained from relevant information on cementing construction.

[0046] The formula of the first cement slurry is formula N, and the second preset condition is that the preset temperature and the preset pressure change continuously with the time length. Exemplarily, the second preset condition includes 5 stages:

[0047] In the third time period t1, the preset temperature follows the time period to increase from the first preset temperature to the formation temperature at the first depth, and the preset pressure follows the time period to increase from the first preset pressure to the formation pressure at the first depth. The third time period is the time required for the first cement slurry to reach the first depth in the wellbore from the wellhead of the wellbore. The first depth is the depth of the boundary between the first cement slurry and the second cement slurry. The time when the first cement slurry is injected into the wellhead is earlier than the time when the second cement slurry is injected into the wellhead. Exemplarily, the first preset temperature is the formation temperature at the wellhead, and the first preset pressure is the formation pressure at the wellhead.

[0048] During the fourth time period t2, the preset temperature follows the time period to increase from the formation temperature at the first depth to the bottom hole temperature, and the preset pressure follows the time period to increase from the formation pressure at the first depth to the bottom hole pressure. The fourth time period is the time required for the first cement slurry to reach the bottom hole from the first depth in the wellbore.

[0049] During the fifth time period t3, the preset temperature keeps the bottom hole temperature constant, and the preset pressure keeps the bottom hole pressure constant. The fifth time period is the time required for the first cement slurry to reach the first depth in the outer annulus from the bottom hole.

[0050] During the sixth time period t4, the preset temperature follows the time period and decreases from the bottom hole temperature to the formation temperature at the first depth, and the preset pressure follows the time period and decreases from the bottom hole pressure to the formation pressure at the first depth. The sixth time period is the time required for the first cement slurry to reach the preset depth from the first depth in the outer annulus. The preset depth refers to the depth that the first cement slurry is planned to reach.

[0051] During the seventh time period t5, the preset temperature keeps the formation temperature at the first depth unchanged, and the preset pressure keeps the formation pressure at the first depth unchanged. The seventh time period is the difference between the third thickening time of the first cement slurry and the total time period, and the total time period refers to the sum of the third time period, the fourth time period, the fifth time period and the sixth time period.

[0052] Among them, the third time length t1, the fourth time length t2, the fifth time length t3 and the sixth time length t4, the formation temperature at the first depth, the formation pressure at the first depth, the bottom hole temperature, the bottom hole pressure, the preset depth and other data can all be obtained from relevant information on cementing construction.

[0053] The changes of the preset temperature and the preset pressure over time can be understood as simulating the changes of the formation temperature and the formation pressure over time during the experimental process of thickening time determination.

[0054] Using a high-temperature and high-pressure viscosifier, in accordance with the above-mentioned second preset condition and the first cement slurry formula N, the third thickening time of the first cement slurry formula N under the conditions of changing formation temperature and formation pressure is measured as B3, and at least one second consistency value and a second time corresponding to the second consistency value are obtained. The second time corresponding to the second consistency value refers to the time required for the first cement slurry to reach the first consistency value after the first cement slurry with a preset proportion of retarder is added under the second preset condition.

[0055] Step 203, when the first consistency value and the second consistency value are equal, calculate the duration difference corresponding to the equal consistency values, the duration difference is the difference between the second target duration and the first target duration, when the second target duration is the second duration corresponding to the second consistency value, the first target duration is the first duration corresponding to the first consistency value equal to the second consistency value.

[0056] The thickening data of the first cement slurry in step 201 and step 202 are compared. Since the preset temperature and preset pressure conditions in step 202 are changing and the preset temperature is generally lower than the bottom hole temperature, the second time duration in step 202 is lower than the first time duration in step 201.

[0057] According to the thickening data of the first cement slurry in step 201 and step 202, the thickening data after the consistency is selected, and the durations in step 201 and step 202 at equal consistency values ​​are counted. The duration difference corresponding to each consistency value at equal consistency values ​​is calculated:

[0058] Δ n =s 3-n -s 1-n

[0059] Among them, Δ n It is the time difference between the second time in step 202 and the first time in step 201 at the same consistency value after the first cement slurry thickens, in minutes; s 3-n is the second time duration corresponding to the second consistency value in step 202 after the first cement slurry thickens, in minutes; s 1-n It is the first time duration corresponding to the first consistency value equal to the second consistency value in step 201 after the first cement slurry thickens, and the unit is min.

[0060] Step 204: Determine a second thickening time of the first cement slurry based on the time difference and the first thickening time, where the first thickening time refers to the thickening time of the first cement slurry under the first preset condition.

[0061] The second thickening time refers to the thickening time obtained by experimental design after considering the influence of the preset temperature and the preset pressure on the thickening time over time. In the case of only one equal consistency value, the difference between the first thickening time and the time difference corresponding to the equal consistency value is taken as the second thickening time.

[0062] In one embodiment of the present application, a univariate linear regression analysis is performed based on equal consistency values ​​and duration differences corresponding to equal consistency values ​​to obtain a slope value of the univariate linear regression equation; wherein, when the slope value is greater than a preset value, as the equal consistency value increases, the duration difference value increases, and when the slope value is less than a preset value, as the equal consistency value increases, the duration difference value decreases, and when the slope value is equal to the preset value, as the consistency value increases, multiple duration differences become equal;

[0063] The slope value of the univariate linear regression equation is calculated by formula (3):

[0064]

[0065] Among them, b is the slope value of the univariate linear regression equation, C i is the i-th equal consistency value, Δ i is the duration difference corresponding to the ith equal consistency value; n is the total number of equal consistency values. Exemplarily, the preset value is 0.

[0066] In a possible implementation, the step of univariate linear regression analysis can be performed through a data analysis function in Excel or other software with the same function to obtain the slope value b of the univariate linear regression equation.

[0067] After determining the change trend between the equal consistency value and the time difference, the second thickening time is calculated according to the change trend, the time difference and the first thickening time.

[0068] In one possible implementation, when the time difference shows an increasing trend with the increase of equal consistency values, the maximum value is selected from multiple time differences as the first time difference; the difference between the first thickening time and the first time difference is used as the second thickening time of the first cement slurry.

[0069] When the slope value b is greater than 0, it means that under the same consistency value, the greater the time difference, the longer the cement slurry thickening time under the same consistency value will be under the conditions of formation temperature and formation pressure changes. Under the first preset condition, the second thickening time B of the optimized first cement slurry formula N is calculated by formula (4):

[0070] B=B 1 -MaxΔ n (4)

[0071] Wherein, B is the second thickening time of the first cement slurry after optimization under the first preset condition, in min; B 1 is the first thickening time before the first cement slurry optimization under the first preset condition, in min; MaxΔ n It is the first duration difference, that is, the maximum value among multiple duration differences.

[0072] The second thickening time of the first cement slurry is the first thickening time B under the first preset condition. 1 Subtracting the maximum value of the time difference can shorten the thickening time of the first cement slurry to the greatest extent and improve the anti-channeling ability.

[0073] In one possible implementation, when the time difference tends to decrease with the increase of equal consistency values, the minimum value is selected from multiple time differences as the second time difference; the difference between the first thickening time and the second time difference is used as the second thickening time of the first cement slurry.

[0074] When the slope value b is less than 0, it means that under the same consistency value, the smaller the time difference is, the longer the thickening time of the first cement slurry is, the lower the trend is. Under the first preset condition, the optimized second thickening time B of the first cement slurry is calculated by formula (5):

[0075] B=B 1 -MinΔ n (5)

[0076] Wherein, B is the second thickening time of the first cement slurry after optimization under the first preset condition, in min; B 1 It is the first thickening time before the first cement slurry optimization under the first preset condition, the unit is min, MinΔ n It is the second duration difference, that is, the minimum value among multiple duration differences.

[0077] The second thickening time of the first cement slurry is: under the first preset condition, the first thickening time B 1 Subtracting the minimum value of the thickening time difference can increase the thickening time of the first cement slurry, while ensuring that the cement slurry has good fluidity and meets the construction safety requirements.

[0078] In a possible implementation, when multiple time differences are equal as the consistency values ​​increase, the difference between the first thickening time and the time difference is used as the second thickening time of the first cement slurry.

[0079] When the slope value b is equal to 0, it means that under equal consistency values, the time difference corresponding to multiple equal consistency values ​​is the same. Under the conditions of formation temperature and formation pressure changes, the extension of cement slurry thickening time under equal consistency values ​​shows the same trend, and the time difference Δ under multiple equal consistency values ​​is equal. Under the first preset condition, the second thickening time B of the first cement slurry after optimization is calculated by formula (6):

[0080] B=B 1 -Δn (6)

[0081] Wherein, B is the second thickening time of the first cement slurry after optimization under the first preset condition, in min; B 1 It is the first thickening time of the first cement slurry before optimization under the second preset condition, in min, and Δn is the same time difference.

[0082] The range of the slope value b is determined by the univariate linear regression result, and an optimization method for the second thickening time of the first cement slurry is selected, that is, the optimized second thickening time B under the first preset condition is obtained.

[0083] The first thickening data in the above step S201 refers to the thickening data obtained by experiment when the experimental condition is the first preset condition, and the second thickening data refers to the thickening data obtained by calculation when the experimental condition is the second preset condition. In the embodiment of the present application, the influence of temperature and pressure changes on the thickening time of cement slurry is taken into account to improve the accuracy of the thickening time of cement slurry, thereby effectively improving the anti-channeling ability of cement slurry and ensuring the cementing quality of oil, gas and water layers. And only one experiment is required in step 202 to simulate the changes in formation temperature and formation pressure and measure the second time, without the need to perform an experiment on the amount of retarder, which reduces the number of experiments and shortens the measurement time of the thickening time of cement slurry.

[0084] The present application has the following advantages and beneficial effects: as the formation temperature and formation pressure change, the cement slurry thickening time can be designed more accurately, reducing the impact of the actual thickening time of the cement slurry being prolonged under the conditions of formation temperature and pressure changes during the injection and displacement process. It is particularly suitable for wells where oil, gas and water channeling is prone to occur in the formation of the well section sealed by slow-setting cement slurry, and solves the problem of long thickening time and weak anti-channeling ability of the first cement slurry.

[0085] In a possible implementation, after drilling an oil well, a method for determining the thickening time of cement slurry is prepared based on relevant information on cementing construction and the capacity of cementing equipment. It should be noted that in the embodiment of the present application, the first cement slurry is the lead slurry and the second cement slurry is the tail slurry. Specifically, Figure 3 As shown in FIG. 1 , the method for determining the thickening time of cement slurry mainly includes the following steps:

[0086] Step 301, obtaining relevant data of the cementing construction. The required cementing construction parameters are shown in Table 1.

[0087] Table 1 Required cementing construction parameters

[0088]

[0089] Cement slurry design requirements include: tail slurry additional time T 尾浆附加时长 The additional time of the tail slurry is 30 minutes. 领尾浆附加时长 For 100 minutes.

[0090] Step 302: Calculate the thickening time of the tailings slurry.

[0091] The thickening time of tailings is based on the construction time T required for the tailings to be injected from the wellhead to the depth of the outer annular collar tailings demarcation point. 1 The thickening time is 60 minutes. Considering the construction safety, the thickening time is increased by 30 minutes. The thickening time of the tail slurry is B 2 for:

[0092] B 2 =T 1 +T 尾浆附加时长 =60+30=90min

[0093] Step 303: Obtain the first thickening time and first thickening data of the slurry under the first preset condition.

[0094] The first thickening time of the lead slurry is based on the thickening time of the tail slurry B 2 Considering the stabilization performance of the slurry on the oil and gas layer, the thickening time is added with 100 minutes, and the first thickening time of the slurry is designed to be B 1 :

[0095] B 1 =B 2 +T 领尾浆附加时长 =90+100=190min

[0096] The slurry formula was designed according to the bottom hole temperature of 96°C, the bottom hole pressure of 59MPa and the heating time of 35min. The high temperature and high pressure thickener was used to adjust the retarder ratio in the slurry system formula so that the first thickening time of the slurry was 190min, and the slurry formula with a preset retarder ratio of 1.25% was obtained, and multiple first consistency values ​​and the first time corresponding to the first consistency values ​​were obtained.

[0097] Step 304: Acquire second thickening data of the slurry under the conditions of changing formation temperature and formation pressure.

[0098] According to the slurry formula with a retarder addition ratio of 1.25% obtained in step 303, the formation temperature and formation pressure change conditions are set, as shown in Table 2.

[0099] Table 2 Thickening test conditions under changing formation temperature and formation pressure

[0100] stage Temperature, °C Pressure, MPa Duration, min Paragraph 1 75 40 Heating 29min Paragraph 2 96 59 Heating 7min Paragraph 3 96 59 Keep for 18 minutes Paragraph 4 75 40 Cooling 13min Paragraph 5 75 40 Until the second consistency value reaches 100Bc

[0101] Using a high temperature and high pressure thickener, according to the second preset conditions and formula, the third thickening time B of the slurry formula under the conditions of formation temperature and formation pressure changes is measured. 3 It is 241 minutes, and a plurality of second consistency values ​​and the second time lengths corresponding to the second consistency values ​​are obtained.

[0102] Step 305: Process the first densified data and the second densified data.

[0103] According to the thickening data obtained in step 303 and step 304, the thickening data with a consistency value ranging from 40 to 100 Bc are selected, and the thickening data in step 303 and step 304 under equal consistency values ​​are statistically analyzed, and according to the statistical results of the slurry thickening data under different temperature and pressure conditions, the time difference Δ under each equal consistency value is calculated. The calculation results are shown in Table 3 below.

[0104] Table 3 Statistics of pulp thickening data under temperature and pressure changes

[0105]

[0106]

[0107]

[0108] Step 306: Analyze the variation trend of the difference in the pulping time under different conditions.

[0109] According to the data of the equal consistency value C and the time difference Δ in step 305, a univariate linear regression calculation is performed. According to the above calculation results, a curve is drawn with the equal consistency value as the X-axis and the time difference Δ as the Y-axis, and a univariate linear regression calculation is performed through the data analysis function in Excel. The trend curve is drawn to obtain the slope value b of the univariate linear regression equation as 0.0365, as shown in Figure 4 shown.

[0110] Step 307: Optimize the second thickening time of the slurry.

[0111] According to the slope value b of the linear regression equation in step 306, which is 0.0365, the slope value b is greater than 0. Therefore, according to the judgment condition: when the slope value b is greater than 0, it means that under the same consistency value, the greater the time difference, the longer the cement slurry thickening time is under the same consistency value under the conditions of formation temperature and formation pressure changes. The optimized second thickening time B of the primary slurry is:

[0112] B=B 1 -MaxΔ n =190-Δ 100 =190-48=142min

[0113] Therefore, the optimized thickening time of the slurry formula with bottom hole circulation temperature of 96 °C, pressure of 59 MPa and heating time of 35 min as test conditions should be designed to be 142 min.

[0114] See also Figure 5 The embodiment of the present application provides a device for determining the thickening time of cement slurry, and the device for determining the thickening time of cement slurry 500 includes: a first acquisition module 501, which is used to obtain first thickening data of a first cement slurry under a first preset condition, the first thickening data includes at least one first consistency value and a first time corresponding to the first consistency value, and the first preset condition includes that the bottom hole temperature, the bottom hole pressure and the heating time remain unchanged; a second acquisition module 502, which is used to obtain second thickening data of the first cement slurry under a second preset condition, the second thickening data includes at least one second consistency value and a second time corresponding to the second consistency value, and the second preset condition includes at least one second consistency value and a second time corresponding to the second consistency value. The conditions include a preset temperature and a preset pressure that change with the time; a calculation module 503, which is used to calculate the time difference corresponding to the equal consistency values ​​when the first consistency value and the second consistency value are equal, the time difference is the difference between the second target time and the first target time, and when the second target time is the second time corresponding to the second consistency value, the first target time is the first time corresponding to the first consistency value that is the same as the second consistency value; a determination module 504, which is used to determine the second thickening time of the first cement slurry based on the time difference and the first thickening time, the first thickening time refers to the thickening time corresponding to the first cement slurry under the first preset conditions.

[0115] In one embodiment of the present application, equal consistency values ​​correspond to time difference values ​​one by one; a determination module 504 is used to determine a change trend between equal consistency values ​​and time difference values ​​when there are multiple equal consistency values; when the time difference value shows an increasing trend as the equal consistency value increases, a maximum value is selected from the multiple time difference values ​​as the first time difference value; and a difference between the first thickening time and the first time difference value is used as the second thickening time of the first cement slurry.

[0116] In one embodiment of the present application, equal consistency values ​​correspond to time difference values ​​one by one; a determination module 504 is used to determine a change trend between equal consistency values ​​and time difference values ​​when there are multiple equal consistency values; when the time difference value tends to decrease with the increase of the equal consistency value, a minimum value is selected from the multiple time difference values ​​as the second time difference value; and the difference between the first thickening time and the second time difference value is used as the second thickening time of the first cement slurry.

[0117] In one embodiment of the present application, equal consistency values ​​correspond to time differences one by one; a determination module 504 is used to determine a change trend between equal consistency values ​​and time differences when there are multiple equal consistency values; when multiple time differences become equal as the equal consistency values ​​increase, the difference between the first thickening time and the time difference is used as the second thickening time of the first cement slurry.

[0118] In one embodiment of the present application, the determination module 504 is used to perform a univariate linear regression analysis based on the equal consistency values ​​and the time difference values ​​corresponding to the equal consistency values ​​to obtain the slope value of the univariate linear regression equation;

[0119] Among them, when the slope value is greater than the preset value, as the equal consistency value increases, the duration difference tends to increase; when the slope value is less than the preset value, as the equal consistency value increases, the duration difference tends to decrease; when the slope value is equal to the preset value, as the consistency value increases, multiple duration differences are equal;

[0120] Among them, the slope value of the univariate linear regression equation is:

[0121]

[0122] Among them, b is the slope value of the univariate linear regression equation, C i is the i-th equal consistency value, Δ i is the duration difference corresponding to the i-th equal consistency value; n is the total number of equal consistency values.

[0123] In one embodiment of the present application, the second preset condition includes: within the third time period, the preset temperature follows the time period to increase from the first preset temperature to the formation temperature at the first depth, the preset pressure follows the time period to increase from the first preset pressure to the formation pressure at the first depth, the third time period is the time required for the first cement slurry to reach the first depth in the wellbore from the wellhead of the wellbore, the first depth is the depth of the boundary between the first cement slurry and the second cement slurry, and the time when the first cement slurry is injected into the wellhead is earlier than the time when the second cement slurry is injected into the wellhead; within the fourth time period, the preset temperature follows the time period to increase from the formation temperature at the first depth to the bottom hole temperature, the preset pressure follows the time period to increase from the formation pressure at the first depth to the bottom hole pressure, and the fourth time period is the time required for the first cement slurry to reach the bottom hole from the first depth in the wellbore; within the fifth time period, The preset temperature keeps the bottom hole temperature constant, the preset pressure keeps the bottom hole pressure constant, and the fifth time duration is the time required for the first cement slurry to reach the first depth in the outer annulus from the bottom hole; during the sixth time duration, the preset temperature follows the time duration to decrease from the bottom hole temperature to the formation temperature at the first depth, and the preset pressure follows the time duration to decrease from the bottom hole pressure to the formation pressure at the first depth, and the sixth time duration is the time required for the first cement slurry to reach the preset depth from the first depth in the outer annulus, and the preset depth refers to the depth that the first cement slurry is planned to reach; during the seventh time duration, the preset temperature keeps the formation temperature at the first depth constant, and the preset pressure keeps the formation pressure at the first depth constant, and the seventh time duration is the difference between the third thickening time duration and the total time duration of the first cement slurry, and the total time duration refers to the sum of the third time duration, the fourth time duration, the fifth time duration and the sixth time duration.

[0124] In one embodiment of the present application, the device further includes: a third acquisition module, which is used to acquire the heating time corresponding to the first preset condition, the additional thickening time of the first cement slurry, and the additional thickening time of the second cement slurry before acquiring the first thickening data of the first cement slurry under the first preset condition; and the sum of the heating time, the additional thickening time of the first cement slurry, and the additional thickening time of the second cement slurry is used as the first thickening time. .

[0125] It should be noted that the device provided in the above embodiment only uses the division of the above functional modules as an example to implement its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0126] Figure 6It is a structural schematic diagram of a cement slurry thickening time determination device provided in an embodiment of the present application. The cement slurry thickening time determination device may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 601 and one or more memories 602, wherein at least one computer program is stored in the one or more memories 602, and the at least one computer program is loaded and executed by the one or more processors 601, so that the device implements the cement slurry thickening time determination method provided in the above-mentioned various method embodiments. Of course, the device may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the device may also include other components for realizing the functions of the device, which will not be repeated here.

[0127] Figure 7 The present invention provides a schematic diagram of a structure of a device for determining the thickening time of cement slurry provided in an embodiment of the present invention. The device may be a terminal, such as a smart phone, a tablet computer, a moving picture experts group audio layer III (MP3) player, a moving picture experts group audio layer IV (MP4) player, a laptop computer or a desktop computer. The terminal may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0128] Typically, the terminal includes: a processor 701 and a memory 702 .

[0129] The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (central processing unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (graphics processing unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 701 may also include an AI (artificial intelligence) processor, which is used to process computing operations related to machine learning.

[0130] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one instruction, which is executed by the processor 701 so that the terminal implements the method for determining the cement slurry thickening time provided in the method embodiment of the present application.

[0131] In some embodiments, the terminal may further optionally include: a peripheral device interface 703 and at least one peripheral device. The processor 701, the memory 702 and the peripheral device interface 703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 703 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707 and a power supply 708.

[0132] The peripheral device interface 703 may be used to connect at least one peripheral device related to I / O (input / output) to the processor 701 and the memory 702. In some embodiments, the processor 701, the memory 702, and the peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral device interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0133] The radio frequency circuit 704 is used to receive and transmit RF (radio frequency) signals, also known as electromagnetic signals. The radio frequency circuit 704 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 704 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (wireless fidelity) network. In some embodiments, the radio frequency circuit 704 may also include circuits related to NFC (near fField communication), which is not limited in this application.

[0134] The display screen 705 is used to display a UI (user interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to collect touch signals on the surface or above the surface of the display screen 705. The touch signal can be input to the processor 701 as a control signal for processing. At this time, the display screen 705 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 705 can be one, which is set on the front panel of the terminal; in other embodiments, the display screen 705 can be at least two, which are respectively set on different surfaces of the terminal or are folded; in other embodiments, the display screen 705 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal. Even, the display screen 705 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 705 can be made of materials such as LCD (liquid crystal display), OLED (organic light-emitting diode), etc.

[0135] The camera assembly 706 is used to capture images or videos. Optionally, the camera assembly 706 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and virtual reality (VR) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0136] The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 701 for processing, or input them into the radio frequency circuit 704 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 707 may also include a headphone jack.

[0137] The power supply 708 is used to power various components in the terminal. The power supply 708 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 708 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0138] In some embodiments, the terminal further includes one or more sensors 709 , including but not limited to: an acceleration sensor 710 , a gyroscope sensor 711 , a pressure sensor 712 , an optical sensor 713 , and a proximity sensor 714 .

[0139] The acceleration sensor 710 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal. For example, the acceleration sensor 710 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 701 can control the display screen 705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 710. The acceleration sensor 710 can also be used for collecting game or user motion data.

[0140] The gyroscope sensor 711 can detect the body direction and rotation angle of the terminal, and the gyroscope sensor 711 can cooperate with the acceleration sensor 710 to collect the user's 3D actions on the terminal. The processor 701 can implement the following functions based on the data collected by the gyroscope sensor 711: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0141] The pressure sensor 712 can be set in the side frame of the terminal and / or the lower layer of the display screen 705. When the pressure sensor 712 is set in the side frame of the terminal, it can detect the user's holding signal of the terminal, and the processor 701 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 712. When the pressure sensor 712 is set in the lower layer of the display screen 705, the processor 701 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0142] The optical sensor 713 is used to collect the ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 according to the ambient light intensity collected by the optical sensor 713. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is reduced. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 according to the ambient light intensity collected by the optical sensor 713.

[0143] The proximity sensor 714, also known as a distance sensor, is usually arranged on the front panel of the terminal. The proximity sensor 714 is used to collect the distance between the user and the front of the terminal. In one embodiment, when the proximity sensor 714 detects that the distance between the user and the front of the terminal is gradually decreasing, the processor 701 controls the display screen 705 to switch from the screen-on state to the screen-off state; when the proximity sensor 714 detects that the distance between the user and the front of the terminal is gradually increasing, the processor 701 controls the display screen 705 to switch from the screen-off state to the screen-on state.

[0144] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.

[0145] In an exemplary embodiment, a device for determining the thickening time of cement slurry is also provided, the device comprising a processor and a memory, wherein at least one computer program is stored in the memory. The at least one computer program is loaded and executed by one or more processors, so that the computer device implements any of the above-mentioned methods for determining the thickening time of cement slurry.

[0146] In an exemplary embodiment, a storage medium is also provided. The storage medium may be a computer-readable storage medium. At least one computer program is stored in the computer-readable storage medium. The at least one computer program is loaded and executed by a processor of a computer device so that the computer implements any of the above-mentioned methods for determining the thickening time of cement slurry.

[0147] In one possible implementation, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0148] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes any of the above-mentioned methods for determining the thickening time of cement slurry.

[0149] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the cementing construction related materials involved in this application are all obtained with full authorization.

[0150] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0151] It should be noted that the terms "first", "second", etc. (if any) in the specification and claims of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0152] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for determining the thickening time of cement slurry, characterized in that: The method comprises: Acquire first thickening data of a first cement slurry under a first preset condition, wherein the first thickening data includes at least one first consistency value and a first duration corresponding to the first consistency value, wherein the first preset condition includes that the bottom hole temperature, the bottom hole pressure, and the heating duration remain unchanged; Acquire second thickening data of the first cement slurry under a second preset condition, wherein the second thickening data includes at least one second consistency value and a second time duration corresponding to the second consistency value, and the second preset condition includes a preset temperature and a preset pressure changing with the time duration; When the first consistency value and the second consistency value are equal, a duration difference corresponding to the equal consistency values ​​is calculated, the duration difference is the difference between the second target duration and the first target duration, and when the second target duration is the second duration corresponding to the second consistency value, the first target duration is the first duration corresponding to the first consistency value equal to the second consistency value; Based on the time difference and the first thickening time, a second thickening time of the first cement slurry is determined, where the first thickening time refers to the thickening time of the first cement slurry under the first preset condition.

2. The method according to claim 1, characterized in that The equal consistency values ​​correspond to the time difference values ​​one by one; and determining the second thickening time of the first cement slurry based on the time difference value and the first thickening time comprises: In case that there are multiple equal consistency values, determining a change trend between the equal consistency values ​​and the time difference values; When the duration difference shows an increasing trend as the equal consistency value increases, selecting a maximum value from the multiple duration differences as the first duration difference; The difference between the first thickening time and the first time difference is used as the second thickening time of the first cement slurry.

3. The method according to claim 1, characterized in that The equal consistency values ​​correspond to the time difference values ​​one by one; and determining the second thickening time of the first cement slurry based on the time difference value and the first thickening time comprises: In case that there are multiple equal consistency values, determining a change trend between the equal consistency values ​​and the time difference values; When the duration difference shows a decreasing trend as the equal consistency value increases, selecting a minimum value from the multiple duration differences as the second duration difference; The difference between the first thickening time and the second thickening time is used as the second thickening time of the first cement slurry.

4. The method according to claim 1, characterized in that The equal consistency values ​​correspond to the time difference values ​​one by one; and determining the second thickening time of the first cement slurry based on the time difference value and the first thickening time comprises: In case that there are multiple equal consistency values, determining a change trend between the equal consistency values ​​and the time difference values; When the multiple time difference values ​​are equal as the equal consistency values ​​increase, the difference between the first thickening time and the time difference is used as the second thickening time of the first cement slurry.

5. The method according to any one of claims 2 to 4, characterized in that: The determining of the change trend between the equal consistency value and the time difference value comprises: Based on the equal consistency values ​​and the time difference values ​​corresponding to the equal consistency values, a univariate linear regression analysis is performed to obtain a slope value of the univariate linear regression equation; Wherein, when the slope value is greater than a preset value, as the equal consistency value increases, the duration difference value increases, when the slope value is less than a preset value, as the equal consistency value increases, the duration difference value decreases, and when the slope value is equal to the preset value, as the consistency value increases, a plurality of duration difference values ​​are equal; Among them, the slope value of the univariate linear regression equation is: Wherein, b is the slope value of the univariate linear regression equation, C i is the i-th equal consistency value, Δ i is the duration difference corresponding to the i-th equal consistency value; and n is the total number of the equal consistency values.

6. The method according to claim 1, characterized in that The second preset condition includes: During the third time period, the preset temperature increases from the first preset temperature to the formation temperature at the first depth following the time period, and the preset pressure increases from the first preset pressure to the formation pressure at the first depth following the time period, the third time period is the time required for the first cement slurry to reach the first depth in the wellbore from the wellhead of the wellbore, the first depth is the depth of the boundary between the first cement slurry and the second cement slurry, and the time when the first cement slurry is injected into the wellhead is earlier than the time when the second cement slurry is injected into the wellhead; During the fourth time period, the preset temperature follows the time period to increase from the formation temperature at the first depth to the bottom hole temperature, and the preset pressure follows the time period to increase from the formation pressure at the first depth to the bottom hole pressure, and the fourth time period is the time required for the first cement slurry to reach the bottom hole from the first depth in the wellbore; During a fifth time period, the preset temperature keeps the bottom hole temperature constant, and the preset pressure keeps the bottom hole pressure constant. The fifth time period is the time required for the first cement slurry to reach the first depth in the outer annulus from the bottom hole. During the sixth time period, the preset temperature is reduced from the bottom hole temperature to the formation temperature at the first depth following the time period, and the preset pressure is reduced from the bottom hole pressure to the formation pressure at the first depth following the time period. The sixth time period is the time required for the first cement slurry to reach the preset depth from the first depth in the outer annulus. The preset depth refers to the depth that the first cement slurry is planned to reach. During the seventh time period, the preset temperature keeps the formation temperature at the first depth unchanged, and the preset pressure keeps the formation pressure at the first depth unchanged. The seventh time period is the difference between the third thickening time period of the first cement slurry and the total time period, and the total time period refers to the sum of the third time period, the fourth time period, the fifth time period and the sixth time period.

7. The method according to claim 1, characterized in that Before obtaining the first thickening data of the first cement slurry under the first preset condition, the method further includes: Obtaining the heating time, the additional thickening time of the first cement slurry, and the additional thickening time of the second cement slurry corresponding to the first preset condition; The sum of the heating time, the additional thickening time of the first cement slurry and the additional thickening time of the second cement slurry is taken as the first thickening time.

8. A device for determining the thickening time of cement slurry, characterized in that: The device comprises: A first acquisition module is used to acquire first thickening data of a first cement slurry under a first preset condition, wherein the first thickening data includes at least one first consistency value and a first duration corresponding to the first consistency value, wherein the first preset condition includes that the bottom hole temperature, the bottom hole pressure and the heating duration remain unchanged; A second acquisition module is used to acquire second thickening data of the first cement slurry under a second preset condition, wherein the second thickening data includes at least one second consistency value and a second time duration corresponding to the second consistency value, and the second preset condition includes a preset temperature and a preset pressure changing with the time duration; a calculation module, configured to calculate, when the first consistency value and the second consistency value are equal, a duration difference corresponding to the equal consistency values, the duration difference being a difference between a second target duration and a first target duration, and when the second target duration is a second duration corresponding to the second consistency value, the first target duration is a first duration corresponding to a first consistency value that is the same as the second consistency value; A determination module is used to determine a second thickening time of the first cement slurry based on the time difference and a first thickening time, wherein the first thickening time refers to the thickening time corresponding to the first cement slurry under the first preset condition.

9. A device for determining the thickening time of cement slurry, characterized in that: The device for determining the thickening time of cement slurry includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the computer device implements the method for determining the thickening time of cement slurry as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: At least one computer program is stored in the storage medium, and the at least one computer program is loaded and executed by the processor so that the computer implements the method for determining the thickening time of cement slurry as described in any one of claims 1 to 7.