Method and system for evaluating safety risk of shutting down oil-water well and electronic equipment

By classifying and weighting the safety risk assessment factors of shut-down oil and water wells, a risk assessment model was established, which solved the problem of the difficulty in assessing the safety risks of oil and water wells and realized quantitative risk identification and assessment.

CN122114588APending Publication Date: 2026-05-29PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PETROCHINA CO LTD
Filing Date
2024-11-28
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

There is a lack of effective methods to assess the safety risks of shutting down oil and water wells, especially in cases of prolonged shutdown due to increased water cut or casing damage or deformation in the wellbore, which leads to increased wellbore pressure and acid gas accumulation, making risk management more difficult.

Method used

By acquiring safety risk assessment factors, including acidic media conditions, wellhead equipment integrity, and wellhead pressure, these factors are classified, and the safety risk value for shutting down oil and water wells is calculated based on the classification results, thus establishing a risk assessment model.

Benefits of technology

This paper presents a quantitative safety risk assessment method that can identify the safety risks of shutting down oil and water wells, meets the requirements of easy implementation and widespread application, and fills the gap in risk assessment technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122114588A_ABST
    Figure CN122114588A_ABST
Patent Text Reader

Abstract

The present application belongs to the field of oil exploitation, and particularly relates to a method and system for evaluating safety risk of closed oil and water wells and an electronic device, aiming to solve the problem that there is no report on safety risk evaluation technology of closed oil and water wells and there is lack of effective method for guiding risk evaluation of closed oil and water wells. The present application comprises: obtaining safety risk evaluation factors; grading each safety risk evaluation factor to obtain grading conditions of each safety risk evaluation factor; composing two layers of weights based on each safety risk evaluation factor and the grading conditions of each safety risk evaluation factor; calculating a safety risk value of closed oil and water wells based on the weight values of each safety risk evaluation factor, and evaluating the safety risk of closed oil and water wells based on the safety risk value of closed oil and water wells. The present application meets the demand of safety risk identification of oil and water wells, and is easy to implement and popularize and apply; and can provide a quantitative analysis and evaluation method for safety risk of closed oil and water wells.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of petroleum extraction, and specifically relates to a method, system and electronic equipment for assessing the safety risks of shutting down oil and water wells. Background Technology

[0002] As oilfields continue to develop, some oil wells experience a gradual increase in water content, sometimes even becoming entirely water-filled, or suffer from casing damage or deformation, making normal production impossible. Some water wells also face injection problems due to blockages in the near-wellbore area. Therefore, these oil and water wells are usually shut down. After shutting down, especially for extended periods, as the pressure in the near-wellbore area gradually recovers and oil and gas in the formation gradually shift, the wellbore pressure may slowly increase. Acidic gases such as CO2 or H2S in the formation fluid may gradually accumulate near the wellhead. In some cases, due to prolonged shutdown, the performance of equipment such as the Christmas tree and wellhead pressure gauge may be reduced or damaged and lost, increasing the difficulty of risk management for shut-down oil and water wells. How to assess the safety risks of such oil and water wells has become a difficult problem for oilfield engineers.

[0003] Literature review and patent search revealed that there are currently no reports on safety risk assessment technology for shutting down oil and water wells, and there is a lack of effective methods to guide the risk assessment of shutting down oil and water wells. Summary of the Invention

[0004] To address the aforementioned problems in the prior art, namely the lack of an effective method for guiding risk assessment of shutting down oil and water wells, this invention provides a method for safety risk assessment of shutting down oil and water wells, the method comprising:

[0005] Obtain safety risk assessment factors; the safety risk assessment factors include: acidic medium conditions, wellhead equipment integrity conditions, and wellhead pressure conditions;

[0006] The classification of each safety risk assessment factor is obtained by classifying each safety risk assessment factor;

[0007] Based on the various safety risk assessment factors and their classification, the safety risk composition consists of two layers of weights.

[0008] The safety risk value of shut-down oil and water wells is calculated based on the weight values ​​of each safety risk assessment factor, and the safety risk of shut-down oil and water wells is evaluated based on the safety risk value of shut-down oil and water wells.

[0009] In a preferred embodiment, classifying the various safety risk assessment factors includes classifying the acidic medium conditions, specifically including:

[0010] When H2S content ≥ 30g / m 3 When it is 5g / m 3 ≤H2S content <30g / m3 When the H2S content is <5g / m³, it is the second level; 3 When the H2S content is 0, it is the third level; when the H2S content is 0, it is the fourth level.

[0011] In a preferred embodiment, classifying the various safety risk assessment factors includes classifying the integrity of the wellhead equipment, specifically including:

[0012] The first level is when the wellhead equipment is lost; the second level is when the material of the wellhead equipment does not meet the current operating conditions; the third level is when the wellhead equipment does not have pressure monitoring capabilities; and the fourth level is when the wellhead equipment has pressure monitoring capabilities.

[0013] In a preferred embodiment, classifying the various safety risk assessment factors includes classifying the wellhead pressure conditions, specifically including:

[0014] When the actual pressure exceeds 80% of the current actual pressure-bearing capacity of the oil / gas tree, it is classified as Level 1; when the wellhead pressure is greater than 5 MPa, it is classified as Level 2; when 0 MPa < wellhead pressure ≤ 5 MPa, it is classified as Level 3; when the wellhead pressure = 0 MPa, it is classified as Level 4.

[0015] In a preferred embodiment, the two-layer weighting of safety risk components, based on each safety risk assessment factor and the classification of each safety risk assessment factor, includes:

[0016] The first level weights are: Y = {acidic medium condition, wellhead equipment integrity condition, wellhead pressure condition} = {Y1, Y2, Y3};

[0017] The weights of the second layer are:

[0018] Y1 = {H2S content ≥ 30g / m 3 5g / m 3 ≤H2S content <30g / m 3 H2S content < 5g / m 3 H2S content = 0} = {Y11, Y12, Y13, Y14};

[0019] Y2 = {Wellhead equipment lost, wellhead equipment material does not meet current operating conditions, wellhead equipment lacks pressure monitoring capabilities, wellhead has pressure monitoring capabilities.} } = {Y21,Y22,Y23,Y24};

[0020] Y3 = {Actual pressure exceeds 80% of the current actual pressure bearing capacity of the oil / gas tree, wellhead pressure is greater than 5MPa, 0MPa < wellhead pressure ≤ 5MPa, wellhead pressure = 0MPa} = {Y31, Y32, Y33, Y34};

[0021] Wherein, Y1 is the weight of the acidic medium condition, Y2 is the weight of the wellhead equipment integrity condition, and Y3 is the weight of the wellhead pressure condition; Y11 is the first-level risk value of the acidic medium condition, Y12 is the second-level risk value of the acidic medium condition, Y13 is the third-level risk value of the acidic medium condition, and Y14 is the fourth-level risk value of the acidic medium condition; Y21 is the first-level risk value of the wellhead equipment integrity condition, Y22 is the second-level risk value of the wellhead equipment integrity condition, Y23 is the third-level risk value of the wellhead equipment integrity condition, and Y24 is the fourth-level risk value of the wellhead equipment integrity condition; Y31 is the first-level risk value of the wellhead pressure condition, Y32 is the second-level risk value of the wellhead pressure condition, Y33 is the third-level risk value of the wellhead pressure condition, and Y34 is the fourth-level risk value of the wellhead pressure condition.

[0022] In a preferred embodiment, the method for calculating the safety risk value of shutting down oil and water wells includes: M = Y1 × Y 1N +Y2×Y 2N +Y3×Y 3N ;

[0023] Where M is the safety risk value of shutting down oil and water wells, and N can be 1, 2, 3, or 4.

[0024] In a preferred embodiment, the method for calculating the safety risk value of shutting down oil and water wells includes:

[0025] When M≥90, the safety risk of shutting down oil and water wells is low; when 80≤M<90, the safety risk of shutting down oil and water wells is low to medium; when 60≤M<80, the safety risk of shutting down oil and water wells is medium to high; when M<60, the safety risk of shutting down oil and water wells is high.

[0026] A second aspect of the present invention provides a safety risk assessment system for shutting down oil and water wells, the system comprising:

[0027] The data acquisition module is used to acquire safety risk assessment factors, including: acidic medium conditions, wellhead equipment integrity, and wellhead pressure.

[0028] The factor classification module is used to classify each safety risk assessment factor to obtain the classification status of each safety risk assessment factor;

[0029] The weight composition module is used to form two layers of weights for safety risks based on each safety risk assessment factor and the classification of each safety risk assessment factor.

[0030] The risk calculation module is used to calculate the safety risk value of shut-down oil and water wells based on the weight values ​​of various safety risk assessment factors, and to evaluate the safety risk of shut-down oil and water wells based on the safety risk value of shut-down oil and water wells.

[0031] A third aspect of the present invention provides an electronic device comprising:

[0032] At least one processor; and

[0033] A memory communicatively connected to at least one of the processors; wherein,

[0034] The memory stores instructions that can be executed by the processor to implement the above-described method for assessing the safety risks of shutting down oil and water wells.

[0035] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions for execution by a computer to implement the above-described method for assessing the safety risks of shutting down oil and water wells.

[0036] The beneficial effects of this invention are:

[0037] (1) This application proposes a method for safety risk assessment of shutting down oil and water wells, including a comprehensive evaluation and analysis method for wellbore acidic medium conditions, well integrity conditions, and wellhead pressure conditions, which meets the needs of oil and water well safety risk identification. This method is easy to implement and promote.

[0038] (2) This application establishes a safety risk assessment model, which can provide a quantitative analysis and evaluation method for the safety risks of shutting down oil and water wells;

[0039] (3) This application fills the gap in the safety risk assessment technology for shutting down oil and water wells and solves the problem that the current risk assessment of shutting down oil and water wells lacks quantitative analysis methods to effectively identify whether there are safety risks in shutting down oil and water wells. Attached Figure Description

[0040] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:

[0041] Figure 1 This is a schematic diagram of a safety risk assessment method for shutting down oil and water wells according to an embodiment of the present invention;

[0042] Figure 2 This is a schematic diagram of the structure of a computer system used to implement the methods, systems, and devices of this application. Detailed Implementation

[0043] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the invention. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.

[0044] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0045] This invention provides a method for safety risk assessment of shutting down oil and water wells, the method comprising:

[0046] Obtain safety risk assessment factors; the safety risk assessment factors include: acidic medium conditions, wellhead equipment integrity conditions, and wellhead pressure conditions;

[0047] The classification of each safety risk assessment factor is obtained by classifying each safety risk assessment factor;

[0048] Based on the various safety risk assessment factors and their classification, the safety risk composition consists of two layers of weights.

[0049] The safety risk value of shut-down oil and water wells is calculated based on the weight values ​​of each safety risk assessment factor, and the safety risk of shut-down oil and water wells is evaluated based on the safety risk value of shut-down oil and water wells.

[0050] To more clearly explain the safety risk assessment method for shutting down oil and water wells according to the present invention, the following is in conjunction with... Figure 1 The steps in the embodiments of the present invention will be described in detail below.

[0051] The safety risk assessment method for shutting down oil and water wells according to the first embodiment of the present invention is described in detail below:

[0052] Obtain safety risk assessment factors; the safety risk assessment factors include: acidic medium conditions, wellhead equipment integrity conditions, and wellhead pressure conditions;

[0053] The classification of each safety risk assessment factor is obtained by classifying each safety risk assessment factor;

[0054] In this embodiment, the classification of various safety risk assessment factors includes the classification of acidic media conditions, specifically including:

[0055] When H2S content ≥ 30g / m 3 When it is 5g / m 3 ≤H2S content <30g / m 3 When the H2S content is <5g / m³, it is the second level; 3When the H2S content is 0, it is the third level; when the H2S content is 0, it is the fourth level.

[0056] The classification of various safety risk assessment factors includes the classification of the integrity of wellhead equipment, specifically including:

[0057] The first level is when the wellhead equipment is lost; the second level is when the material of the wellhead equipment does not meet the current operating conditions; the third level is when the wellhead equipment does not have pressure monitoring capabilities; and the fourth level is when the wellhead equipment has pressure monitoring capabilities.

[0058] The classification of various safety risk assessment factors includes the classification of wellhead pressure conditions, specifically including:

[0059] When the actual pressure exceeds 80% of the current actual pressure-bearing capacity of the oil / gas tree, it is classified as Level 1; when the wellhead pressure is greater than 5 MPa, it is classified as Level 2; when 0 MPa < wellhead pressure ≤ 5 MPa, it is classified as Level 3; when the wellhead pressure = 0 MPa, it is classified as Level 4.

[0060] Based on the various safety risk assessment factors and their classification, the safety risk composition consists of two layers of weights.

[0061] In this embodiment, the two-layer weighting of safety risk composition, based on each safety risk assessment factor and the classification of each safety risk assessment factor, includes:

[0062] The first level weights are: Y = {acidic medium condition, wellhead equipment integrity condition, wellhead pressure condition} = {Y1, Y2, Y3};

[0063] Where Y1+Y2+Y3=100;

[0064] The weights of the second layer are:

[0065] Y1 = {H2S content ≥ 30g / m 3 5g / m 3 ≤H2S content <30g / m 3 H2S content < 5g / m 3 H2S content = 0} = {Y11, Y12, Y13, Y14};

[0066] Where Y11+Y12+Y13+Y14=1;

[0067] Y2 = {Wellhead device lost, wellhead device material does not meet current working conditions, wellhead device does not meet pressure monitoring conditions, wellhead has pressure monitoring conditions} = {Y21, Y22, Y23, Y24};

[0068] Where Y21+Y22+Y23+Y24=1;

[0069] Y3 = {Actual pressure exceeds 80% of the current actual pressure bearing capacity of the oil / gas tree, wellhead pressure is greater than 5MPa, 0MPa < wellhead pressure ≤ 5MPa, wellhead pressure = 0MPa} = {Y31, Y32, Y33, Y34};

[0070] Where Y31+Y32+Y33+Y34=1;

[0071] Wherein, Y1 is the weight of the acidic medium condition, Y2 is the weight of the wellhead equipment integrity condition, and Y3 is the weight of the wellhead pressure condition; Y11 is the first-level risk value of the acidic medium condition, Y12 is the second-level risk value of the acidic medium condition, Y13 is the third-level risk value of the acidic medium condition, and Y14 is the fourth-level risk value of the acidic medium condition; Y21 is the first-level risk value of the wellhead equipment integrity condition, Y22 is the second-level risk value of the wellhead equipment integrity condition, Y23 is the third-level risk value of the wellhead equipment integrity condition, and Y24 is the fourth-level risk value of the wellhead equipment integrity condition; Y31 is the first-level risk value of the wellhead pressure condition, Y32 is the second-level risk value of the wellhead pressure condition, Y33 is the third-level risk value of the wellhead pressure condition, and Y34 is the fourth-level risk value of the wellhead pressure condition.

[0072] The safety risk value of shut-down oil and water wells is calculated based on the weight values ​​of each safety risk assessment factor, and the safety risk of shut-down oil and water wells is evaluated based on the safety risk value of shut-down oil and water wells.

[0073] In this embodiment, the method for calculating the safety risk value of shutting down oil and water wells includes: M = Y1 × Y 1N +Y2×Y 2N +Y3×Y 3N ;

[0074] Where M is the safety risk value of shutting down oil and water wells, and N can be 1, 2, 3, or 4.

[0075] In this embodiment, the method for calculating the safety risk value of shutting down oil and water wells includes: M = Y1 × Y 1N +Y2×Y 2N +Y3×Y 3N ;

[0076] Where M is the safety risk value of shutting down oil and water wells, and N can be 1, 2, 3, or 4.

[0077] When M≥90, the safety risk of shutting down oil and water wells is low; when 80≤M<90, the safety risk of shutting down oil and water wells is low to medium; when 60≤M<80, the safety risk of shutting down oil and water wells is medium to high; when M<60, the safety risk of shutting down oil and water wells is high.

[0078] In this embodiment, the safety risk assessment for shutting down oil and water wells includes:

[0079] When M≥90, the safety risk of shutting down oil and water wells is low; when 80≤M<90, the safety risk of shutting down oil and water wells is low to medium; when 60≤M<80, the safety risk of shutting down oil and water wells is medium to high; when M<60, the safety risk of shutting down oil and water wells is high.

[0080] To more clearly illustrate the safety risk assessment method for shutting down oil and water wells in this application, an example is also provided, which includes:

[0081] Taking the shut-down oil well GY1 as an example, on-site investigation revealed that the H2S value detected at the wellhead was 18.2 g / m³. 3 The wellhead equipment is equipped with pressure monitoring capabilities and the wellhead pressure is 1.2 MPa.

[0082] Step S101: Determine the main evaluation factors for the safety risks of shutting down oil and water wells.

[0083] Based on the currently used methods for manually identifying safety hazards in oil and water wells, the main evaluation factors for the safety risks of shutting down oil and water wells are: the presence of acidic media in the wellbore, the integrity of the wellhead equipment, and the wellhead pressure.

[0084] Step S102: Classification of safety risk assessment factors

[0085] Based on the acidic medium content, wellhead equipment integrity, and wellhead pressure, the acidic medium content of well GY1 is classified as Level 2, the wellhead equipment integrity as Level 4, and the wellhead pressure as Level 3.

[0086] Step S103: Setting the weights of safety risk assessment factors

[0087] First-level weights: Y = {acidic medium condition, wellhead equipment integrity condition, wellhead pressure condition} = {Y1, Y2, Y3} = {30, 40, 30}.

[0088] Second-level weights:

[0089] Y1 = {H2S content ≥ 30g / m 3 5g / m 3 ≤H2S content <30g / m 3 H2S content < 5g / m 3 H2S content = 0} = {Y11, Y12, Y13, Y14} = {0.1, 0.4, 0.7, 1};

[0090] Y2 = {Wellhead equipment lost, wellhead equipment material does not meet current operating conditions, wellhead equipment lacks pressure monitoring capabilities, wellhead equipment has pressure monitoring capabilities.} Items} = {Y21,Y22,Y23,Y24} = {0.1,0.4,0.7,1};

[0091] Y3 = {Actual pressure exceeds 80% of the current actual pressure-bearing capacity of the oil / gas production tree, wellhead pressure is greater than 5MPa, 0MPa < wellhead pressure ≤ 5MPa, wellhead pressure} =0MPa}={Y31,Y32,Y33,Y34}={0.1,0.4,0.7,1}.

[0092] Step S104: Safety Risk Assessment for Shutting Down Oil and Water Wells

[0093] Using formula (1), the safety risk values ​​of the three main evaluation factors were calculated as 12, 40, and 21 respectively.

[0094] Therefore, the safety risk value of well GY1 is M = 12 + 40 + 21 = 73.

[0095] Based on the safety risk classification standards for shut-down oil and water wells, the safety risk level of well GY1 was determined to be medium to high risk.

[0096] Although the steps in the above embodiments are described in the above order, those skilled in the art will understand that in order to achieve the effect of this embodiment, different steps do not need to be executed in such an order. They can be executed simultaneously (in parallel) or in a reverse order. These simple variations are all within the protection scope of this invention.

[0097] The second embodiment of the present invention provides a safety risk assessment system for shutting down oil and water wells, the system comprising:

[0098] The data acquisition module is used to acquire safety risk assessment factors, including: acidic medium conditions, wellhead equipment integrity, and wellhead pressure.

[0099] The factor classification module is used to classify each safety risk assessment factor to obtain the classification status of each safety risk assessment factor;

[0100] The weight composition module is used to form two layers of weights for safety risks based on each safety risk assessment factor and the classification of each safety risk assessment factor.

[0101] The risk calculation module is used to calculate the safety risk value of shut-down oil and water wells based on the weight values ​​of various safety risk assessment factors, and to evaluate the safety risk of shut-down oil and water wells based on the safety risk value of shut-down oil and water wells.

[0102] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process and related descriptions of the system described above can be found in the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0103] It should be noted that the oil and water well shutdown safety risk assessment system provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the modules or steps in the embodiments of the present invention can be further decomposed or combined. For example, the modules in the above embodiments can be merged into one module, or further divided into multiple sub-modules to complete all or part of the functions described above. The names of the modules and steps involved in the embodiments of the present invention are only for distinguishing the various modules or steps and are not considered as an improper limitation of the present invention.

[0104] An electronic device according to a third embodiment of the present invention includes: at least one processor; and a memory communicatively connected to at least one of the processors; wherein the memory stores instructions executable by the processor, the instructions being executed by the processor to implement the above-described method for assessing the safety risks of shutting down oil and water wells.

[0105] A computer-readable storage medium according to a fourth embodiment of the present invention stores computer instructions, which are executed by the computer to implement the above-described method for assessing the safety risks of shutting down oil and water wells.

[0106] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process and related descriptions of the electronic devices and storage media described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0107] Those skilled in the art will recognize that the modules and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. The programs corresponding to the software modules and method steps can be placed in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the art. To clearly illustrate the interchangeability of electronic hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in electronic hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the invention.

[0108] The following is for reference. Figure 2 It shows a schematic diagram of the structure of a computer system for implementing the methods, systems, and devices of this application. Figure 2 The server shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0109] like Figure 2 As shown, the computer system includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes based on programs stored in Read Only Memory (ROM) 602 or programs loaded from storage section 608 into Random Access Memory (RAM) 603. The RAM 603 also stores various programs and data required for system operation. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An Input / Output (I / O) interface 605 is also connected to the bus 604.

[0110] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.

[0111] Specifically, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs the functions defined in the methods of this application. It should be noted that the computer-readable medium described above in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0112] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. 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 indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated 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 the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0114] The terms “first”, “second”, etc., are used to distinguish similar objects, not to describe or indicate a specific order or sequence.

[0115] The term "comprising" or any other similar term is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus / device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent in such process, method, article, or apparatus / device.

[0116] The technical solution of the present invention has been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the scope of protection of the present invention.

Claims

1. A method for assessing the safety risks of shutting down oil and water wells, characterized in that, The method includes: Obtain safety risk assessment factors; the safety risk assessment factors include: acidic medium conditions, wellhead equipment integrity conditions, and wellhead pressure conditions; The classification of each safety risk assessment factor is obtained by classifying each safety risk assessment factor; Based on the various safety risk assessment factors and their classification, the safety risk composition consists of two layers of weights. The safety risk value of shut-down oil and water wells is calculated based on the weight values ​​of each safety risk assessment factor, and the safety risk of shut-down oil and water wells is evaluated based on the safety risk value of shut-down oil and water wells.

2. The method for assessing the safety risks of shutting down oil and water wells according to claim 1, characterized in that, The classification of various safety risk assessment factors includes the classification of acidic media conditions, specifically including: When H2S content ≥ 30g / m 3 When it is 5g / m 3 ≤H2S content <30g / m 3 When the H2S content is <5g / m³, it is the second level; 3 When the H2S content is 0, it is the third level; when the H2S content is 0, it is the fourth level.

3. The method for assessing the safety risks of shutting down oil and water wells according to claim 2, characterized in that, The classification of various safety risk assessment factors includes the classification of the integrity of wellhead equipment, specifically including: The first level is when the wellhead equipment is lost; the second level is when the material of the wellhead equipment does not meet the current operating conditions; the third level is when the wellhead equipment does not have pressure monitoring capabilities; and the fourth level is when the wellhead equipment has pressure monitoring capabilities.

4. The method for assessing the safety risks of shutting down oil and water wells according to claim 3, characterized in that, The classification of various safety risk assessment factors includes the classification of wellhead pressure conditions, specifically including: When the actual pressure exceeds 80% of the current actual pressure-bearing capacity of the oil / gas tree, it is classified as Level 1; when the wellhead pressure is greater than 5 MPa, it is classified as Level 2; when 0 MPa < wellhead pressure ≤ 5 MPa, it is classified as Level 3; when the wellhead pressure = 0 MPa, it is classified as Level 4.

5. The method for assessing the safety risks of shutting down oil and water wells according to claim 4, characterized in that, Based on the various safety risk assessment factors and their classification, the safety risk composition consists of two layers of weights, including: The first level weights are: Y = {acidic medium condition, wellhead equipment integrity condition, wellhead pressure condition} = {Y1, Y2, Y3}; The weights of the second layer are: Y1 = {H2S content ≥ 30g / m 3 5g / m 3 ≤H2S content <30g / m 3 H2S content < 5g / m 3 H2S content = 0} = {Y11, Y12, Y13, Y14}; Y2 = {Wellhead device lost, wellhead device material does not meet current working conditions, wellhead device does not meet pressure monitoring conditions, wellhead has pressure monitoring conditions} = {Y21, Y22, Y23, Y24}; Y3 = {Actual pressure exceeds 80% of the current actual pressure bearing capacity of the oil / gas tree, wellhead pressure is greater than 5MPa, 0MPa < wellhead pressure ≤ 5MPa, wellhead pressure = 0MPa} = {Y31, Y32, Y33, Y34}; Wherein, Y1 is the weight of the acidic medium condition, Y2 is the weight of the wellhead equipment integrity condition, and Y3 is the weight of the wellhead pressure condition; Y11 is the first-level risk value of the acidic medium condition, Y12 is the second-level risk value of the acidic medium condition, Y13 is the third-level risk value of the acidic medium condition, and Y14 is the fourth-level risk value of the acidic medium condition; Y21 is the first-level risk value of the wellhead equipment integrity condition, Y22 is the second-level risk value of the wellhead equipment integrity condition, Y23 is the third-level risk value of the wellhead equipment integrity condition, and Y24 is the fourth-level risk value of the wellhead equipment integrity condition; Y31 is the first-level risk value of the wellhead pressure condition, Y32 is the second-level risk value of the wellhead pressure condition, Y33 is the third-level risk value of the wellhead pressure condition, and Y34 is the fourth-level risk value of the wellhead pressure condition.

6. The method for assessing the safety risks of shutting down oil and water wells according to claim 5, characterized in that, Methods for calculating the safety risk value of shutting down oil and water wells include: M=Y1×Y 1N +Y2×Y 2N +Y3×Y 3N ; Where M is the safety risk value of shutting down oil and water wells, and N can be 1, 2, 3, or 4.

7. The method for safety risk assessment of shutting down oil and water wells according to claim 5, characterized in that, The safety risk assessment for shutting down oil and water wells includes: When M≥90, the safety risk of shutting down oil and water wells is low; when 80≤M<90, the safety risk of shutting down oil and water wells is low to medium; when 60≤M<80, the safety risk of shutting down oil and water wells is medium to high; when M<60, the safety risk of shutting down oil and water wells is high.

8. A safety risk assessment system for shutting down oil and water wells, characterized in that, The system includes: The data acquisition module is used to acquire safety risk assessment factors, including: acidic medium conditions, wellhead equipment integrity, and wellhead pressure. The factor classification module is used to classify each safety risk assessment factor to obtain the classification status of each safety risk assessment factor; The weight composition module is used to form two layers of weights for safety risks based on each safety risk assessment factor and the classification of each safety risk assessment factor. The risk calculation module is used to calculate the safety risk value of shut-down oil and water wells based on the weight values ​​of various safety risk assessment factors, and to evaluate the safety risk of shut-down oil and water wells based on the safety risk value of shut-down oil and water wells.

9. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to at least one of the processors; wherein the memory stores instructions executable by the processor to implement the method for assessing the safety risks of shutting down oil and water wells as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that are executed by the computer to implement the method for assessing the safety risks of shutting down oil and water wells as described in any one of claims 1-7.