A method for optimizing the layout of a petroleum rig

CN122452180BActive Publication Date: 2026-09-25BEIJING JOINT FUTURING MOBILE INTERNET RES CENT +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610855826.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-06-15
Publication Date
2026-09-25
Estimated Expiration
2046-06-15

AI Technical Summary

Technical Problem

[0006]本申请实施例提供了一种石油钻机设备布局优化方法,解决山地丘陵小井场中设备布局、接口可达与通道连通难以协同约束的问题

Benefits of technology

本发明将井场边界、不可布置区域和通道限制区域转换为井场单元图,并将设备占地区域和设备接口点随设备方向状态同步转换至井场坐标系,形成设备占用单元和设备接口投影单元;在此基础上生成包含接口连接走廊和作业通行走廊的连接走廊单元图,并通过接口走廊联合校验判断设备接口投影单元与接口连接走廊之间的连续可达状态以及作业通行走廊的连续可达状态。由此,候选设备布局在确定为石油钻机设备布局方案前同时受到设备占用、接口接入和通道连通约束,减少山地丘陵小井场中设备平面相邻但管线、电缆、车辆通行或人员逃生路径被坡坎、道路、禁入区域截断的情形。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122452180B_ABST
    Figure CN122452180B_ABST
Patent Text Reader

Abstract

The application discloses a kind of petroleum drilling rig equipment layout optimization method, it is related to well site equipment arrangement technical field, the well site boundary, unarrangeable area and passage limit area are converted into well site unit chart, and equipment occupied area and equipment interface point are converted to well site coordinate system with equipment direction state synchronization, form equipment occupied unit and equipment interface projection unit;On this basis, the connection corridor unit chart including interface connection corridor and operation passing corridor is generated, and the continuous accessible state between equipment interface projection unit and interface connection corridor and the continuous accessible state of operation passing corridor are judged by interface corridor joint verification. Therefore, candidate equipment layout is simultaneously subjected to equipment occupation, interface access and passage connectivity constraint before being determined as petroleum drilling rig equipment layout scheme, reduce the situation that equipment plane is adjacent in small well site in mountain and hilly area, but pipeline, cable, vehicle traffic or personnel escape path is cut off by slope, road, forbidden area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of well site equipment layout technology, and in particular to a method for optimizing the layout of oil drilling rig equipment. Background Technology

[0002] The oil drilling rig equipment layout optimization method is used to determine the planar position and orientation of equipment such as the derrick, base, mud pump, solids control tank, generator room, motor control center room, driller's room, tubing, and catwalk, given the well site boundary, wellhead location, and equipment parameters. The effective layout space in small well sites in mountainous and hilly areas is often limited by slopes, boundary lines, access roads, drainage ditches, mud pits, and temporary storage areas, forming non-rectangular, elongated, polygonal, or locally stepped areas.

[0003] Currently, drilling rig layout is typically calculated based on Building Information Modeling (BIM), Geographic Information System (GIS) spatial data, system layout design, mathematical programming, or intelligent optimization algorithms. The resulting layout uses indicators such as equipment footprint, center-to-center distance, safety distance, adjacency weighting, logistics distance, and space utilization. While these methods can calculate the overall planar position of equipment, in small well sites in mountainous or hilly areas, there are discrepancies between the geometric proximity of equipment and the actual connection relationships between equipment interfaces. For example, even when mud pumps and solids control tanks are adjacent in planar distance, mud pipelines may still be detoured due to slopes, drainage ditches, vehicle access areas, or temporary storage areas. Similarly, when generator rooms, motor control centers, and electrical equipment are adjacent, cable channels may still be interrupted by hoisting areas, restricted areas, or high-pressure manifold areas. Such layouts can lead to cross-occupancy or partial blockage of pipelines, cables, vehicle access, and personnel escape routes, resulting in adjustments to equipment orientation, temporary access switching, waiting for secondary hoisting, and overlapping of operations.

[0004] Current processing typically involves reviewing pipeline, cable, vehicle access, and personnel escape conditions after the layout results are generated. Because equipment location, equipment orientation, equipment interface points, and connection channels are not calculated under the same spatial constraints, adjustments to one equipment location or channel path may cause new conflicts in other interface connections or access paths, which is particularly evident in small well sites with irregular boundaries and available space divided by slopes and roads.

[0005] Therefore, it is urgent to solve the technical problem of the difficulty in synchronizing the layout of drilling equipment and the accessibility of equipment interfaces and the connection of connecting channels in small well sites in mountainous and hilly areas. Summary of the Invention

[0006] This application provides a method for optimizing the layout of oil drilling equipment, which solves the problem of difficulty in coordinating and constraining equipment layout, interface accessibility, and channel connectivity in small well sites in mountainous and hilly areas.

[0007] This invention provides a method for optimizing the layout of oil drilling rig equipment, comprising: Acquire well site spatial data for small well sites in mountainous and hilly areas. The well site spatial data includes well site boundaries, wellhead locations, terrain slope lines, access roads, non-deployable areas, restricted access areas, equipment loading and unloading areas, and assembly areas. A well site unit map is generated based on the well site boundary, non-layout areas, and passage restriction areas. The well site unit map includes spatial units and the adjacency relationships between spatial units, and the wellhead anchorage area is marked in the well site unit map. Acquire oil drilling rig equipment data, which includes equipment identification, equipment operation category, equipment occupied area, equipment orientation status set, equipment interface point, equipment interface point identification, equipment interface point local coordinates, and interface category. Based on the set of equipment orientation states, the equipment's occupied area and equipment interface points are transformed from the equipment's local coordinate system to the well site coordinate system, generating equipment occupation units and equipment interface projection units. Based on the interface type, equipment interface projection unit, access road, equipment loading and unloading area and assembly area, a connection corridor unit diagram is generated in the well site unit diagram. The connection corridor unit diagram includes interface connection corridors and operation passage corridors. Based on the wellhead anchoring area, equipment operation category, equipment occupancy unit, equipment interface projection unit, and connection corridor unit diagram, generate a set of candidate layout units for each oil drilling rig. Candidate equipment layouts are generated from the candidate layout unit set, and joint verification of interface corridors is performed. The joint verification of interface corridors includes verification of equipment occupancy units, verification of continuous reachability between equipment interface projection units and interface connection corridors, and verification of continuous reachability of work passage corridors. When the joint verification of the interface corridors reveals unconnected interface points or blocked corridors, layout repair is performed on the candidate device layout. Candidate equipment layouts that pass the joint verification of interface corridors and whose equipment occupancy units do not cover areas that cannot be arranged are determined as oil drilling rig equipment layout schemes, and the oil drilling rig equipment layout scheme, interface connectivity record, corridor occupancy record and layout repair record are output.

[0008] In some embodiments, the generation of the well site unit map includes: Transform the well site boundary into a closed boundary region; The effective well site area is obtained by subtracting the undesirable area from the closed boundary area; Based on the terrain slope lines, access roads, and restricted areas, the effective well site area is spatially divided into multiple spatial units; Record the layout permission attributes, corridor permission attributes, unit width attributes, and adjacency relationships with adjacent spatial units for each spatial unit; mark spatial units containing wellhead locations or those meeting preset distance conditions from wellhead locations as wellhead anchorage areas.

[0009] In some embodiments, the connection corridor unit diagram includes an interface connection corridor and a work passage corridor; the interface connection corridor includes at least two types of mud connection corridor, cable connection corridor, control connection corridor and high-pressure manifold connection corridor. The operational access corridor includes a vehicle access corridor and a personnel escape corridor; The generation of the connecting corridor unit diagram includes: using the spatial unit corresponding to the wellhead location, the equipment interface projection unit, the spatial unit corresponding to the access road, the spatial unit corresponding to the equipment loading and unloading area, and the spatial unit corresponding to the collection area as corridor endpoints; searching for continuous spatial unit chains in the well site unit diagram; marking continuous spatial unit chains that satisfy the corridor permission attributes as connecting corridors of the corresponding category; and recording cross-permission relationships and occupancy restriction relationships for connecting corridors of different categories.

[0010] In some embodiments, the equipment operation category includes at least two of the following: wellhead operation, mud circulation, solids control, power supply, high-pressure manifold, pipe tool operation, and safety assistance. The interface categories include at least two of the following: mud interface category, cable interface category, control interface category, and high-pressure manifold interface category; The generated candidate layout unit set for each oil drilling rig includes: The candidate layout units for wellhead operation equipment are limited to spatial units associated with the wellhead anchoring area; The candidate layout units for mud circulation equipment and solids control equipment are limited to the space units in which the equipment interface projection units corresponding to their mud interface categories can be connected to the mud connection corridor. The candidate arrangement units for power supply equipment are limited to the space units in which the equipment interface projection units corresponding to their cable interface categories can be connected to the cable connection corridor. The candidate placement units for safety auxiliary equipment are limited to the space units in which the equipment occupies a space that does not block the personnel escape corridor.

[0011] In some embodiments, the interface corridor joint verification includes: Determine whether the equipment occupancy units of each oil drilling rig in the candidate equipment layout all fall into space units with layout permission attributes; determine whether the equipment occupancy units of different oil drilling rigs overlap. Read the interface category and device interface projection unit corresponding to each device interface point; determine the interface connection corridor corresponding to the interface category; Determine whether the device interface projection unit and the corresponding interface connection corridor are continuously reachable through a spatial unit with the corresponding corridor permission attribute; determine whether the vehicle passage corridor and the personnel escape corridor are continuously reachable between their corridor endpoints; Device interface points that fail the continuous reachability test are recorded as disconnected interface points, and work passageways that fail the continuous reachability test are recorded as blocked passageways.

[0012] In some embodiments, performing layout repair on the candidate device layout includes: When layout repair is triggered by a disconnected interface point, the computing device reads the device orientation state set of the device to which the disconnected interface point belongs, and tests the remaining device orientation states after excluding the device orientation states before repair. The computing device regenerates the device occupancy unit and the device interface projection unit under the orientation state of the device under test. Under the conditions that the device occupancy unit does not cover the undesirable area, does not overlap with other devices, and does not block the personnel escape corridor, the device orientation state that minimizes the unit distance between the device interface projection unit and the corresponding interface connection corridor and passes the joint verification of the interface corridor is selected as the repaired device orientation state. After the device orientation status is updated, the computing device re-executes the interface corridor joint verification. If there are still unconnected interface points, or if there is no device orientation status that meets the aforementioned conditions, the computing device re-selects candidate arrangement units from the candidate arrangement unit set of the device, and re-determines the continuous reachability relationship between the device occupancy unit, the device interface projection unit, and the corresponding interface connection corridor under the current device orientation status.

[0013] In some embodiments, performing layout repair on the candidate device layout further includes: If there are still unconnected interface points after reselecting candidate layout units, the computing device will search again in the well site unit map for the interface connection corridor corresponding to the interface category of the unconnected interface points; When re-searching the interface connection corridor, the computing device uses the device occupancy unit and device interface projection unit in the current candidate device layout, and searches for a continuous spatial unit chain in the spatial units that have the corresponding corridor permission attribute and have not been marked as prohibited from occupancy by the occupancy restriction relationship. After each repair, the computing device re-executes the interface corridor joint verification and records the triggering object of the repair, the device orientation status before the repair, the device orientation status after the repair, the candidate layout units before the repair, the candidate layout units after the repair, the interface connectivity status, and the repair result. If there are still unconnected interface points after re-searching the interface connection corridor, the corresponding candidate device layout will be marked as invalid.

[0014] In some embodiments, performing layout repair on the candidate device layout further includes: When a blocked corridor exists in the candidate device layout, identify the blocking device or the blocking connection corridor that caused the blocked corridor. If the blocking device is not a wellhead operation device, then a new candidate layout unit is selected from the candidate layout unit set of the blocking device; if the blocking device is a wellhead operation device, then the corresponding candidate device layout is marked as an invalid layout. If the blocking connection corridor belongs to the interface connection corridor, then search for the interface connection corridor again in the well site unit diagram; If the personnel escape corridor is still blocked after reselecting candidate layout units or researching interface connection corridors, the corresponding candidate equipment layout will be marked as invalid.

[0015] In some embodiments, before determining the layout scheme of the oil drilling rig, the method further includes: A layout evaluation value is generated for the candidate equipment layouts that pass the joint verification of the interface corridor. The layout evaluation value is determined by the number of corridor intersections, the number of corridor occupancy conflicts, the number of connecting corridor units, the number of layout repairs, and the degree of deviation of the equipment operation category. The candidate equipment layouts are sorted in ascending order of layout evaluation value. The candidate equipment layouts that meet the preset output conditions are determined as the oil drilling rig equipment layout scheme.

[0016] In some embodiments, the interface connectivity record includes device identifier, device interface point identifier, interface type, device orientation status, device interface projection unit, connection corridor type, and connectivity status; The corridor occupancy record includes the type of connecting corridor, the endpoints of the connecting corridor, the spatial units traversed by the connecting corridor, the cross-permission relationship, and the occupancy restriction relationship; The layout repair record includes the unconnected interface point or blocked corridor that triggered the repair, the device orientation status before the repair, the device orientation status after the repair, the candidate layout units before the repair, the candidate layout units after the repair, and the repair result.

[0017] Through the above technical solution, the present invention can achieve at least the following beneficial effects: This invention converts well site boundaries, non-deployable areas, and restricted access areas into well site unit diagrams. It also synchronously converts equipment footprint areas and equipment interface points to the well site coordinate system according to the equipment's orientation, forming equipment occupancy units and equipment interface projection units. Based on this, a connection corridor unit diagram containing interface connection corridors and operational access corridors is generated. The continuous accessibility status between equipment interface projection units and interface connection corridors, as well as the continuous accessibility status of operational access corridors, is determined through joint verification of interface corridors. Therefore, before a candidate equipment layout is determined as an oil drilling rig layout scheme, it is simultaneously constrained by equipment occupancy, interface access, and access connectivity, reducing situations in small well sites in mountainous and hilly areas where equipment is planarly adjacent but pipelines, cables, vehicle passage, or personnel escape routes are blocked by slopes, roads, or restricted areas.

[0018] By recording the adjacency relationships, layout permission attributes, corridor permission attributes, and unit width attributes between spatial units through the well site unit diagram, the equipment layout area, connecting corridors, and passage corridors are converted into computable objects under the same spatial unit system, enabling boundary deduction, slope division, and passage restrictions in non-rectangular, elongated, polygonal, or locally stepped well sites to participate in layout calculations.

[0019] The device orientation status set is used to synchronously convert the device's occupied area and device interface points. When the device orientation changes, the device occupancy unit and device interface projection unit are updated synchronously, so that the device interface orientation and the connection corridor access relationship are bound in the candidate device layout generation stage, reducing the situation where the device orientation needs to be adjusted later due to interface orientation mismatch.

[0020] By performing layout repair on unconnected interface points, the computing device sequentially adjusts the device orientation state, reselects candidate layout units, and re-searches for interface connection corridors, so that interface connectivity failures can be closed during the candidate device layout screening process, reducing the situation where adjustments to a single channel cause other interface connections to re-conflict.

[0021] By outputting the interface connection record, corridor occupancy record, and layout repair record, the system provides clear data records of the interface access status, channel occupancy status, and repair process corresponding to the oil drilling rig equipment layout scheme, including the output of the device interface point, connection corridor, occupancy relationship, and repair results. Attached Figure Description

[0022] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation on the scope of this application.

[0023] Figure 1 This is a flowchart of the oil drilling rig equipment layout optimization method in the embodiment. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0025] All terms used in this application (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0026] To facilitate understanding, the terminology used in the embodiments of this application will be introduced first: A small well site in mountainous and hilly areas refers to an oil drilling rig installation site located in at least one of mountainous and hilly regions, where the effective layout space is limited by at least one of slopes, roads, drainage facilities, boundary control lines, and operational facilities. Well site spatial data refers to the set of data used to describe the planar spatial boundaries, fixed obstacles, operational areas, and access conditions of the well site.

[0027] Non-deployable areas refer to the spatial areas that equipment occupies and must not cover. Restricted access areas refer to spatial areas where the passage of pipelines, cables, vehicles, or personnel is permitted or restricted. Equipment loading and unloading areas refer to the areas occupied by hoisting equipment, transport vehicles, or loading and unloading operations within the well site. Assembly areas refer to the target areas where personnel gather in emergency situations. Well site spatial data originates from surveying results, construction master plans, geographic information system vector data, building information models, UAV aerial survey results, or on-site verification records, and is converted to the same well site coordinate system. The well site coordinate system is a two-dimensional coordinate system using the well site plane as its coordinate plane, used to uniformly express well site boundaries, spatial units, equipment occupies, equipment interface points, and connecting corridor locations; the equipment occupies refers to the planar outline area occupied by the oil drilling rig equipment in the well site coordinate system or the equipment's local coordinate system. Well site boundaries, non-deployable areas, restricted access areas, and equipment loading and unloading areas are recorded as closed surface areas or polyline areas in the well site coordinate system, while assembly areas are recorded as closed surface areas or point areas in the well site coordinate system.

[0028] Example 1: like Figure 1 As shown, this embodiment employs a method for optimizing the layout of oil drilling rigs, executed by a computing device, including: Step S1: Obtain the well site spatial data of the small well site in the mountainous and hilly area. The well site spatial data includes the well site boundary, wellhead location, terrain slope line, access road, non-deployable area, passage restriction area, equipment loading and unloading area, and assembly area. The terrain slope line refers to the linear geometric object used to represent the slope boundary or the location of abrupt changes in elevation within the well site.

[0029] Step S2: Generate a well site unit map based on the well site boundary, non-deployable areas, and passage restriction areas. The well site unit map includes spatial units and the adjacency relationships between spatial units, and marks the wellhead anchorage area in the well site unit map. The wellhead anchorage area refers to a set of spatial units in the well site unit map that contain the wellhead location or meet the preset distance conditions with respect to the wellhead location.

[0030] Step S3: Obtain oil drilling rig equipment data, which includes equipment identification, equipment operation category, equipment area, equipment orientation status set, equipment interface point, local coordinates of the equipment interface point, and interface category. Step S4: Based on the equipment orientation status set, transform the equipment footprint area and equipment interface point from the equipment local coordinate system to the well site coordinate system. Generate equipment occupancy units according to the coverage relationship between the transformed equipment footprint area and spatial units, and generate equipment interface projection units according to the positional relationship between the transformed equipment interface points and spatial units. Step S5: Generate a connecting corridor unit diagram in the well site unit diagram based on the interface type, equipment interface projection unit, access road, equipment loading and unloading area, and assembly area. Step S6: Generate a set of candidate layout units for each oil drilling rig based on the wellhead anchoring area, equipment operation category, equipment occupancy unit, equipment interface projection unit, and connection corridor unit diagram. Step S7: Generate candidate device layouts from the candidate layout unit set and perform joint verification of interface corridors; when a candidate device layout has unconnected interface points or blocked corridors, perform layout repair on the candidate device layout. Step S8: The candidate equipment layout that has passed the joint verification of the interface corridor and whose equipment occupancy unit does not cover the undescendable area is determined as the oil drilling rig equipment layout scheme, and the oil drilling rig equipment layout scheme, interface connectivity record, corridor occupancy record and layout repair record are output. Equipment operation category refers to the classification identifier used to define the layout and connection relationship of oil drilling equipment in the well site unit diagram. Equipment operation categories include at least two of the following: wellhead operation, mud circulation, solids control, power supply, high-pressure manifold, pipe fitting operation, and safety auxiliary. Interface category refers to the connection medium or connection function type corresponding to the equipment interface point. Interface categories include at least two of the following: mud interface, cable interface, control interface, and high-pressure manifold interface. Preset connection relationship refers to the data field used to record the correspondence between the starting equipment operation category, the target equipment operation category, and the interface category. The calculation equipment determines the equipment interface projection units that need to establish interface connection corridors under the same interface category based on the preset connection relationship.

[0031] In one alternative implementation, the equipment orientation state set refers to the set of orientation states that the equipment is allowed to adopt in the well site coordinate system, and each equipment orientation state in the equipment orientation state set corresponds to a rotation angle in the well site coordinate system.

[0032] Equipment interface points refer to the interface locations in the equipment's local coordinate system used to connect mud pipelines, cables, control lines, or high-pressure manifolds. Equipment interface points and the equipment's occupied area are recorded using the same equipment local coordinate system. Equipment interface projection units refer to the spatial units determined in the well site unit map after coordinate transformation of the equipment interface points, based on the inclusion relationship, common boundary selection rules, or boundary projection rules. Equipment interface point identifiers are identification fields used to distinguish different equipment interface points on the same oil drilling rig.

[0033] The computing device transforms the equipment's footprint and interface points from the equipment's local coordinate system to the well site coordinate system according to the equipment's orientation. It then generates equipment occupancy units based on the coverage relationship between the transformed equipment footprint and spatial units, and generates equipment interface projection units based on the positional relationship between the transformed equipment interface points and spatial units.

[0034] Coverage relationship refers to the geometric overlap between the converted equipment footprint and the spatial unit. Coverage relationship is represented by whether the spatial unit is covered by the equipment footprint and the proportion of the covered area. Positional relationship refers to the position of the converted equipment interface point relative to the geometric area of ​​the spatial unit. Positional relationships include falling into the spatial unit, being located at the common boundary of the spatial unit, and being located outside the effective well site area but satisfying the boundary projection conditions. Candidate equipment layout refers to the layout data set formed after selecting candidate layout units and equipment orientation states for each oil drilling rig. Candidate equipment layout includes equipment identifier, candidate layout unit, equipment orientation state, equipment occupied unit, equipment interface projection unit, and interface category.

[0035] In one alternative implementation, generating the well site unit map includes: Transform the well site boundary into a closed boundary region; The effective well site area is obtained by subtracting the undesirable area from the closed boundary area; Based on the terrain slope lines, access roads, and restricted areas, the effective well site area is spatially divided into multiple spatial units; Record the layout permission attributes, corridor permission attributes, unit width attributes, and adjacency relationships with adjacent spatial units for each spatial unit; mark spatial units containing wellhead locations or those meeting preset distance conditions from wellhead locations as wellhead anchorage areas; The representative point of a spatial unit refers to the coordinates of a point used to represent the location of a spatial unit. When the spatial unit is a surface region, the point whose geometric center falls within that surface region is taken; when the geometric center is outside the surface region, the point within that surface region closest to the geometric center is taken. Unit distance refers to the number of adjacent edges traversed from one spatial unit to another in the well site unit map. The unit distance is 0 when two spatial units are identical. The preset distance condition means that the wellhead location falls within a spatial unit, or the unit distance between the spatial unit containing the wellhead location and the target spatial unit is not greater than the preset anchoring layer number. The preset anchoring layer number is an implementation parameter, ranging from 1 to 2, and remains consistent throughout the generation of the same well site unit map.

[0036] A well site unit diagram is a graph structure with spatial units as nodes and adjacency relationships between spatial units as edges. A spatial unit is a sub-region of the well site plane, divided by the well site boundary, sill line, road boundary, non-layout area boundary, and passage restriction area boundary. The layout permission attribute indicates whether a spatial unit allows equipment to occupy the designated area. The corridor permission attribute indicates the type of connecting corridor that a spatial unit is allowed to pass through. The unit width attribute indicates the effective passage width of a spatial unit in the direction of the corresponding connecting corridor. Adjacency relationships indicate the existence of a connectable boundary between two spatial units and record whether this connectable boundary is blocked by sills, drainage ditches, road edges, or non-layout areas.

[0037] In one alternative implementation, the connection corridor unit diagram includes an interface connection corridor and a work passage corridor; the interface connection corridor includes at least two types of mud connection corridors, cable connection corridors, control connection corridors, and high-pressure manifold connection corridors; The operational access corridor includes vehicle access corridors and personnel escape corridors; The generation of the connecting corridor unit map includes: using the wellhead location, equipment interface projection unit, access road, equipment loading and unloading area, and assembly area as corridor endpoints; searching for continuous spatial unit chains in the well site unit map; marking continuous spatial unit chains that satisfy the corridor permission attributes as connecting corridors of the corresponding category; and recording cross-permission relationships and occupancy restriction relationships for connecting corridors of different categories. A connecting corridor unit diagram refers to a graphical structure composed of spatial units that allow passage for corresponding pipelines, cables, vehicles, hoisting operations, or personnel. Interface corridor joint verification refers to the verification process of continuous reachability, overlap, intersection, and occupancy judgments for equipment occupancy units, equipment interface projection units, interface connecting corridors, and work passage corridors. An interface connecting corridor is a continuous chain of spatial units used to connect equipment interface projection units with their corresponding corridor endpoints. A work passage corridor is a continuous chain of spatial units used for vehicle passage or personnel escape. A continuous spatial unit chain is an ordered set of spatial units consisting of a starting spatial unit, an ending spatial unit, and sequentially adjacent spatial units. Corridor endpoints refer to the starting and target spatial units of the connecting corridor in the well site unit diagram. The corridor endpoints for mud connecting corridors, cable connecting corridors, control connecting corridors, and high-pressure manifold connecting corridors are determined based on interface type, equipment interface projection units, and preset connection relationships; the corridor endpoints for vehicle passage corridors are determined based on access roads, equipment loading / unloading areas, and wellhead anchoring areas; the corridor endpoints for personnel escape corridors are determined based on wellhead anchoring areas, equipment loading / unloading areas, and assembly areas. Cross-permission relationship is used to indicate whether two types of connecting corridors are allowed to cross each other within the same spatial unit, while occupancy restriction relationship is used to indicate the occupancy status between the connecting corridor and equipment occupancy unit, non-layout area, equipment loading and unloading area, or passage restriction area.

[0038] In one optional implementation, the equipment operation category includes at least two of the following: wellhead operation, mud circulation, solids control, power supply, high-pressure manifold, pipe tool operation, and safety assistance. The candidate layout unit set for each oil drilling rig includes: The interface categories include at least two of the following: mud interface category, cable interface category, control interface category, and high-pressure manifold interface category; The candidate layout units for wellhead operation equipment are limited to spatial units associated with the wellhead anchoring area; The candidate layout units for mud circulation equipment and solids control equipment are limited to the space units in which the equipment interface projection units corresponding to their mud interface categories can be connected to the mud connection corridor. The candidate arrangement units for power supply equipment are limited to the space units in which the equipment interface projection units corresponding to their cable interface categories can be connected to the cable connection corridor. The candidate placement units for safety auxiliary equipment are limited to the space units in which the equipment occupies a space that does not block the personnel escape corridor; The candidate layout unit set refers to the set of spatial units that the same oil drilling rig equipment is allowed to be arranged in the well site unit diagram. When the calculation equipment generates the candidate layout unit set, it reads the equipment operation category, equipment occupied unit, equipment interface projection unit, wellhead anchoring area, and connection corridor unit diagram respectively. Wellhead operation equipment uses the wellhead anchoring area as the main positioning condition; mud circulation equipment and solids control equipment use the mud connection corridor access condition as the main positioning condition; power supply equipment uses the cable connection corridor access condition as the main positioning condition; high-voltage manifold equipment uses the high-voltage manifold connection corridor access condition as the main positioning condition; and safety auxiliary equipment uses the continuous passage of personnel escape corridor as the main positioning condition.

[0039] In one alternative implementation, the interface corridor joint verification includes: Determine whether the equipment occupancy units of each oil drilling rig in the candidate equipment layout all fall into space units with layout permission attributes; determine whether the equipment occupancy units of different oil drilling rigs overlap. Read the interface category and device interface projection unit corresponding to each device interface point; determine the interface connection corridor corresponding to the interface category; Determine whether the device interface projection unit and the corresponding interface connection corridor are continuously reachable through a spatial unit with the corresponding corridor permission attribute; determine whether the vehicle passage corridor and the personnel escape corridor are continuously reachable between their corridor endpoints; Device interface points that fail the continuous reachability test are recorded as disconnected interface points, and work passageways that fail the continuous reachability test are recorded as blocked passageways. The continuous reachability determination takes corridor endpoints, corridor permission attributes, cell width attributes, adjacency relationships, cross-permission relationships, and occupancy restrictions as inputs, and outputs the connectivity status and the traversed spatial cells. If a corridor permission attribute is missing, a cell width attribute is missing, a corridor endpoint is missing, an interface type cannot be matched, or a continuous spatial cell chain passes through a prohibited occupancy spatial cell, the corresponding continuous reachability determination result is recorded as failed. Sources of blocked corridors include equipment occupancy cell coverage, truncation in non-deployable areas, truncation in restricted passage areas, occupancy of prohibited cross-permission connecting corridors, and missing corridor endpoints.

[0040] Continuous reachability refers to the existence of a continuous spatial unit chain consisting of adjacent spatial units between the starting and ending spatial units, where each spatial unit in the chain satisfies the corridor permission attributes, unit width attributes, and occupancy restrictions of the corresponding corridor category. Unconnected interface points refer to equipment interface points where no continuous reachability relationship is formed between the projected equipment interface unit and the corresponding interface connecting corridor. Blocked corridors refer to work passage corridors where no continuous reachability relationship is formed between the endpoints of connecting corridors, or where the connecting corridor is interrupted by equipment occupancy units, non-deployment areas, passage restriction areas, equipment loading / unloading areas, or other connecting corridors that prohibit intersection. The verification results of the joint verification of interface corridors include equipment occupancy status, interface connectivity status, corridor continuity status, corridor intersection status, and corridor occupancy status.

[0041] In one alternative implementation, performing layout repair on the candidate device layout further includes: When a blocked corridor exists in the candidate equipment layout, identify the blocking equipment or the blocking connection corridor that caused the blocked corridor. A blocking equipment refers to an oil drilling rig whose equipment occupies a unit that covers the work passage corridor and causes the work passage corridor to fail the continuous accessibility determination. A blocking connection corridor refers to an interface connection corridor that violates the prohibition on cross-occupancy with the work passage corridor and causes the work passage corridor to fail the continuous accessibility determination.

[0042] If the blocking device is a non-wellhead operation device, then a new candidate arrangement unit is selected from the candidate arrangement unit set of the blocking device; If the blocking connection corridor belongs to the interface connection corridor, then search for the interface connection corridor again in the well site unit diagram; If the personnel escape corridor is still blocked after reselecting candidate layout units or researching interface connection corridors, the corresponding candidate equipment layout will be marked as invalid layout. An invalid layout refers to a candidate equipment layout that fails the joint verification of the interface corridor even after updates to equipment orientation status, candidate placement units, and a re-search of interface connection corridors. Invalid layouts retain the layout calculation version identifier, the unconnected interface points that triggered the repair, the repair level, and the last verification result, but are excluded from subsequent layout evaluation value ranking. Basic placement permission means that all equipment occupies are located within spatial units with placement permission attributes, and the equipment occupies do not cover areas that cannot be placed. Non-overlapping occupancy judgment means that there are no identical spatial units between the equipment occupies of different oil drilling rigs.

[0043] When layout repair is triggered by a blocked corridor, the computing device reads the spatial cells traversed by the blocked corridor, the blocking device or the blocked connecting corridor, the corridor endpoints of the blocked corridor, and the cross-permission relationships. If the blocking device is a non-wellhead operation device, the computing device selects a new candidate layout cell from the candidate layout cell set of the blocking device and recalculates the continuous reachability relationships of personnel escape corridors and vehicle passage corridors. If the blocked connecting corridor is an interface connection corridor, the computing device re-searches the continuous spatial cell chain according to the corridor permission attributes and occupancy restrictions of the interface connection corridor and writes the re-search results into the corridor occupancy record.

[0044] In one alternative implementation, before determining the layout scheme of the oil drilling rig, the following steps are also included: A layout evaluation value is generated for the candidate equipment layouts that pass the joint verification of the interface corridor. The layout evaluation value is determined by the number of corridor intersections, the number of corridor occupancy conflicts, the number of connecting corridor units, the number of layout repairs, and the degree of deviation of the equipment operation category. The candidate equipment layouts are sorted in ascending order of layout evaluation value. The candidate equipment layouts that meet the preset output conditions are determined as the layout schemes for oil drilling rig equipment. The evaluation items of the layout evaluation value are statistically analyzed using the same dimension within the same candidate equipment layout set. Smaller values ​​indicate smaller overall statistical values ​​for the number of corridor intersections, corridor occupancy conflicts, number of connecting corridor units, number of layout repairs, and deviation degree of equipment operation category. The deviation degree of equipment operation category is determined by the unit distance between the actual equipment layout unit and the corresponding main positioning condition for the equipment operation category. For wellhead operation equipment, the wellhead anchorage area is the main positioning condition; for mud circulation and solids control equipment, the mud connection corridor is the main positioning condition; for power supply equipment, the cable connection corridor is the main positioning condition; for high-voltage manifold equipment, the high-voltage manifold connection corridor is the main positioning condition; and for safety auxiliary equipment, continuous passage of personnel escape corridors is the main positioning condition. The preset output condition refers to selecting candidate equipment layouts that meet the output quantity requirements from the layout evaluation value ranking results (from smallest to largest). The output quantity is an implementation parameter, defaulting to 1, and can be set from 1 to 5 based on the number of alternative layouts calculated by the equipment.

[0045] The number of corridor intersections refers to the number of times different types of connecting corridors intersect within the same spatial unit in a candidate equipment layout. The number of corridor occupancy conflicts refers to the number of times a connecting corridor conflicts with equipment occupancy units, non-layout areas, passage restriction areas, or other connecting corridors that are prohibited from intersecting. The number of connecting corridor units refers to the total number of spatial units traversed by each type of connecting corridor. The number of layout repairs refers to the number of times equipment orientation status updates, candidate layout unit updates, or connecting corridor re-searches are performed before the candidate equipment layout is determined as an oil drilling rig equipment layout scheme.

[0046] In one optional implementation, the interface connectivity record includes device identifier, device interface point identifier, interface type, device orientation status, device interface projection unit, connection corridor type, and connectivity status. Corridor occupancy records include the type of connecting corridor, the endpoints of the connecting corridor, the spatial units traversed by the connecting corridor, cross-permission relationships, and occupancy restriction relationships. The layout repair record includes the unconnected interface point or blocked corridor that triggered the repair, the equipment orientation status before the repair, the equipment orientation status after the repair, the candidate layout units before the repair, the candidate layout units after the repair, and the repair result. The layout scheme of oil drilling rig equipment and its interface connectivity records, corridor occupancy records, and layout repair records are stored together using the same layout scheme identifier. The data fields for interface connectivity records include layout scheme identifier, equipment identifier, equipment interface point identifier, interface type, equipment direction status, equipment interface projection unit, connecting corridor type, and connectivity status. The data fields for corridor occupancy records include layout scheme identifier, connecting corridor type, connecting corridor endpoints, spatial units traversed by the connecting corridor, cross-permission relationship, occupancy restriction relationship, and occupancy status. The data fields for layout repair records include layout scheme identifier, repair trigger object, repair action type, pre-repair status, post-repair status, verification result, and repair result.

[0047] Spatial resolution refers to the scale representation value of spatial units in a well site unit map. Equipment safety extension bandwidth refers to the additional safe occupancy width outside the equipment's footprint. Mapping error range refers to the range of planar position errors corresponding to the source of the well site spatial data.

[0048] The layout scheme identifier is an index field used to associate the same oil drilling rig equipment layout scheme with its interface connectivity records, corridor occupancy records, and layout repair records. The layout calculation version identifier is an index field used to associate the well site unit diagram, corridor permission attributes, cross-permission relationships, occupancy restriction relationships, coverage ratio thresholds, and evaluation value weight configurations in the same calculation process. Interface connectivity records, corridor occupancy records, and layout repair records are all written to the layout scheme identifier and the layout calculation version identifier. When a candidate equipment layout is marked as invalid, the calculation device writes the invalid layout status to the layout repair record and excludes the candidate equipment layout from the oil drilling rig equipment layout scheme output set.

[0049] In a preferred embodiment of Example 1, the following method is used when mapping the equipment footprint and equipment interface points to the well site unit map: A local coordinate system is established for each oil drilling rig. The origin of the local coordinate system is taken as the equipment loading / unloading reference point or the equipment geometric reference point. One axis of the local coordinate system is set along the equipment's standard operating orientation. The equipment loading / unloading reference point refers to the reference point used when positioning the oil drilling rig during loading and unloading. The equipment geometric reference point refers to the geometric center point of the area occupied by the equipment. The equipment standard operating orientation refers to the operating orientation of the oil drilling rig that is pre-recorded in the local coordinate system.

[0050] The equipment footprint is represented by a closed contour in the equipment's local coordinate system, while the equipment interface points are represented by point coordinates in the same local coordinate system. The equipment interface points translate and rotate synchronously with the equipment footprint during the same coordinate transformation process. For each equipment orientation state in the set of equipment orientation states, a rotation matrix is ​​generated according to the corresponding rotation angle. , in, The direction state number is Two-dimensional rotation matrix at time, This refers to the orientation state number in the device orientation state set. The direction state number is The corresponding rotation angle within the well site coordinate system.

[0051] When placing the equipment on the well site unit diagram, the representative point of the spatial unit corresponding to the candidate layout unit is used as the landing point of the equipment's local coordinate system origin in the well site coordinate system; the same transformation relationship is used for the contour points, contour densification points, and equipment interface points of the equipment's occupied area. Contour densification points refer to sampling points generated on the contour line segments of the equipment's occupied area according to a preset sampling interval, so that changes in equipment orientation simultaneously affect the occupied area and interface points: , in, For the equipment serial number Candidate arrangement unit number is The direction state number is The local point number is The coordinates of the point after conversion to the well site coordinate system Indicates the well site coordinate system. This refers to the equipment serial number in the oil drilling rig equipment data. The spatial unit number serves as the basis for the candidate layout. This refers to the point number in the device's local coordinate system. The candidate arrangement unit number is The corresponding spatial unit represents the coordinates of a point in the well site coordinate system. The aforementioned direction rotation matrix, For the equipment serial number The local point number is The coordinates of the point in the device's local coordinate system at that time. Indicates the device's local coordinate system.

[0052] After performing the above transformation on the contour points of the equipment footprint area, the equipment footprint area in the well site coordinate system is formed according to the contour order. The contour segments of the equipment footprint area are then sampled with increased density, not exceeding half the smaller value of the width attribute of adjacent spatial units. The coverage ratio of the transformed equipment footprint area to each spatial unit is calculated using the following formula: , in, For the equipment serial number Candidate arrangement unit number is The direction state number is The spatial unit number is The spatial unit coverage ratio at that time This refers to the spatial unit number in the well site unit diagram. This is a function for calculating the area of ​​a plane. For the equipment serial number Candidate arrangement unit number is The direction state number is The equipment footprint in the well site coordinate system is converted to the actual location. The spatial unit number is The corresponding geometric region, The meaning of the well site coordinate system is the same as described above.

[0053] Equipment occupancy units are formed based on coverage ratio and boundary intersection, ensuring that the equipment outline, slope dividing boundary, and passage restriction boundary all participate in occupancy determination: , in, For the equipment serial number Candidate arrangement unit number is The direction state number is The set of equipment occupancy units at that time. Indicates that the device is in use. The spatial unit number is The corresponding spatial unit, This represents the spatial unit coverage ratio threshold. The spatial unit number is The boundary of the corresponding geometric region, This indicates the empty set; the other parameters follow the meanings described above.

[0054] The coverage ratio threshold is determined based on the spatial resolution of the well site unit map, the equipment safety expansion bandwidth, and the range of surveying errors, with a value ranging from 0.02 to 0.10. When the spatial unit is narrow, the slope line division is dense, or the surveying error is large, the coverage ratio threshold is adjusted towards 0.02; when the spatial unit shape is regular and the surveying error is small, the coverage ratio threshold is adjusted towards 0.10. The coverage ratio threshold remains consistent during the generation and repair of the same candidate equipment layout; when relevant attributes are missing, it is set to 0.02.

[0055] When the local point number corresponds to a device interface point, the converted well site coordinates of that interface point are projected onto the well site unit diagram to obtain the device interface projection unit: , in, For the equipment serial number Candidate arrangement unit number is The direction state number is The local point number is And the device interface projection unit when this local point is the device interface point. Indicates interface projection. This indicates selecting the spatial unit with the smallest distance. When there are two or more spatial units with the same distance, the device interface projection unit is determined according to the subsequent common boundary selection rules. This is a set of spatial units in the well site unit diagram. Represents a spatial unit. This is the shortest distance function from a point to a geometric region; the other parameters retain the meanings described above.

[0056] When a device interface point falls on the common boundary of two or more spatial units, the spatial unit with the corridor permission attribute corresponding to the interface point is selected first; if there are still multiple spatial units, the spatial unit with the smaller spatial unit number is selected.

[0057] If the device interface point falls outside the effective well site area due to terrain boundary deduction or surveying errors, when the nearest spatial unit has adjacent spatial units and the distance to the nearest spatial unit does not exceed half the smaller value of the unit width attribute of the nearest spatial unit and its adjacent spatial units, the device is projected onto the nearest spatial unit and the boundary projection state is recorded; when the nearest spatial unit does not have adjacent spatial units and the distance does not exceed half the unit width attribute of the nearest spatial unit, the device is projected onto the nearest spatial unit and the boundary projection state is recorded; if the corresponding distance limit is exceeded, or the unit width attribute of the nearest spatial unit and the adjacent spatial units participating in the comparison is missing, the candidate arrangement in the device orientation state is marked as interface projection failure.

[0058] Through the above processing, equipment occupancy units are directly generated from the converted equipment footprint, and equipment interface projection units are generated from the interface points after the equipment orientation conversion. Each set of equipment serial number, candidate layout unit serial number, and orientation status serial number corresponds to a set of equipment occupancy units and equipment interface projection units. When the equipment orientation status changes, both the equipment occupancy units and equipment interface projection units are recalculated, and the results from the previous orientation status are not used. When subsequently generating candidate layout unit sets or performing joint interface corridor verification, the equipment occupancy units, equipment interface projection units, and interface categories under the same orientation status are read to bind the equipment orientation to the interface reachability.

[0059] Example 2: Based on Example 1, this example provides a specific method for performing layout repair on candidate equipment layouts in the oil drilling rig equipment layout optimization method; When layout repair is triggered by a disconnected interface point, the computing device reads the device orientation state set of the device to which the disconnected interface point belongs, and tests the remaining device orientation states after excluding the device orientation states before repair. The computing device regenerates the device occupancy unit and the device interface projection unit under the orientation state of the device under test. Under the conditions that the device occupancy unit does not cover the undesirable area, does not overlap with other devices, and does not block the personnel escape corridor, the device orientation state that minimizes the unit distance between the device interface projection unit and the corresponding interface connection corridor and passes the joint verification of the interface corridor is selected as the repaired device orientation state. After the device orientation status is updated, the computing device re-executes the interface corridor joint verification. If there are still unconnected interface points, the computing device re-selects candidate layout units from the candidate layout unit set of the device, and re-determines the continuous reachability relationship between the device occupied unit, the device interface projection unit and the corresponding interface connection corridor under the current device orientation status.

[0060] In one alternative implementation, performing layout repair on the candidate device layout further includes: If there are still unconnected interface points after reselecting candidate layout units, the computing device will search again in the well site unit map for the interface connection corridor corresponding to the interface category of the unconnected interface points; When re-searching the interface connection corridor, the computing device uses the device occupancy unit and device interface projection unit in the current candidate device layout, and searches for a continuous spatial unit chain in the spatial units that have the corresponding corridor permission attribute and have not been marked as prohibited from occupancy by the occupancy restriction relationship. After each repair, the computing device re-executes the interface corridor joint verification and records the triggering object of the repair, the device orientation status before the repair, the device orientation status after the repair, the candidate layout units before the repair, the candidate layout units after the repair, the interface connectivity status, and the repair result. In a preferred embodiment of Example 2, when the interface corridor joint verification identifies unconnected interface points, the computing device initiates layout repair using these unconnected interface points as the trigger object. Multiple unconnected interface points belonging to the same oil drilling rig are merged into a single repair object. The repair object records the equipment identifier, equipment interface point identifier, interface category, equipment orientation status before repair, candidate layout units before repair, equipment interface projection units before repair, and the reason for the unconnection.

[0061] Before proceeding with layout repair, a layout calculation version identifier is generated for the current candidate equipment layout. The layout calculation version identifier is used to associate the well site unit map, corridor permission attributes, cross-permission relationships, occupancy restriction relationships, coverage ratio thresholds, and weights of each repair evaluation value; under the same layout calculation version identifier, the above data and parameters remain consistent throughout the repair process.

[0062] The repair process proceeds in a hierarchical manner, including adjusting the device orientation status, reselecting candidate layout units, and re-searching interface connection corridors. When the repair level involves changes in device orientation status or candidate layout units, the device occupancy units and device interface projection units are recalculated. When the repair level only involves re-searching interface connection corridors, the device occupancy units and device interface projection units in the current candidate device layout are used, and the interface corridor joint verification is re-executed.

[0063] When adjusting the orientation status of the equipment, the system calculates the orientation status of the equipment in the set of oil drilling rig equipment that includes unconnected interface points, excludes the orientation status of the equipment before repair, and tests the orientation status of the remaining equipment one by one.

[0064] For each device under test, the orientation status is regenerated using the aforementioned method of mapping the device's occupied area and interface points to the well site unit diagram, creating device occupation units and device interface projection units. During mapping, the aforementioned orientation status number is included. Take the orientation status number of the device under test. .

[0065] The repair evaluation value for the orientation state of the equipment under test is calculated according to the following formula: , in, For the equipment serial number is The orientation status number of the device under test is The direction of the time is repaired as an evaluation value. Indicates direction correction. This refers to the equipment serial number in the oil drilling rig equipment data. This is the orientation status number of the device under test. Weights for interface proximity items. To occupy the weight of conflicting items, The weight of the operation passage obstruction item, For the equipment serial number is The orientation state number of the device under test is The average shortest unit distance from the unconnected interface point to the corresponding interface connecting corridor. Indicates the interface connectivity distance. For the equipment serial number is The orientation state number of the device under test is The number of spatial units that overlap with other equipment. For the equipment serial number is The orientation state number of the device under test is The number of times that cause discontinuity in vehicle passageways or personnel escape corridors; Indicates a conflict of interest. Indicates passage for work. Average shortest unit distance. The number of adjacent edges in the well site unit diagram is used as the quantification caliber. The calculation only passes through spatial units with the corresponding interface category corridor permission attribute, and the shortest adjacent edge number between the equipment interface projection unit and the nearest spatial unit in the corresponding interface connection corridor is used as the distance to a single interface point. Multiple unconnected interface points belonging to the same repair object are calculated separately and then averaged. When no continuous reachable path exists, the direction status of the device under test is determined to be unavailable in direction repair, and the candidate layout unit under test is determined to be unavailable in location repair. The preset large distance is not used for ranking the evaluation values.

[0066] The weights of interface proximity, occupation conflict, and operation access obstruction are calibrated using historical well site layout records or manually verified sample layouts. The weight of operation access obstruction is greater than that of occupation conflict, and the weight of occupation conflict is greater than that of interface proximity. Before weighting, all evaluation items in each repair evaluation value are non-negatively normalized to testable objects within the same candidate equipment layout. When the maximum effective value of an evaluation item among all testable objects is zero, the normalized value of that evaluation item is set to zero. The weights within each repair evaluation value are all greater than 0 and not greater than 1, and the sum of the weights within the same repair evaluation value is 1. The weights are calibrated offline based on current well site spatial data, oil drilling rig equipment data, and historical samples, and remain unchanged during the repair process of the same candidate equipment layout. When the number of historical samples is insufficient, directional repair uses a conservative weighting of decreasing weights for operation access obstruction, occupation conflict, and interface proximity; location repair uses a conservative weighting of decreasing weights for ...

[0067] If the personnel escape corridor is blocked, the directional status of the device under test will be directly excluded and will not be included in the evaluation value ranking. The directional status update frequency is once every time a disconnected interface point is triggered; within the same repair object, each device will receive at most one directional status update. The directional status of the device with the smallest directional repair evaluation value and that passes the interface corridor joint verification will be selected as the repaired directional status of the device.

[0068] If there are still unconnected interface points after adjusting the equipment orientation, then a new candidate layout unit will be selected from the candidate layout unit set of the oil drilling rig equipment.

[0069] When reselecting, the equipment operation category restrictions, layout permission attributes, and wellhead anchoring constraints should remain unchanged, and the aforementioned candidate layout unit numbers should be changed under the current equipment orientation state. Take the candidate placement unit number to be tested. For each replaceable candidate layout unit, the device footprint mapping, interface point mapping, and connectivity determination are re-executed.

[0070] The repair evaluation value of the candidate layout unit is calculated according to the following formula: , in, For the equipment serial number The candidate layout units to be tested are Position repair evaluation value at that time Indicates location repair. The candidate placement unit number to be tested. For the interface proximity item weight in location repair, The weight of the occupancy conflict item in location repair. For the weight of the moving cost term, The weight of the access obstruction item in the location repair process. For the equipment serial number Move to the candidate placement cell to be tested Then, the average shortest unit distance from the unconnected interface point to the corresponding interface connecting corridor, For the equipment serial number Move to the candidate placement cell to be tested The number of spatial units that subsequently overlap with other equipment. For the equipment serial number Move from the candidate arrangement cell before repair to the candidate arrangement cell to be tested. The number of adjacent cell layers crossed For the equipment serial number Move to the candidate placement cell to be tested The number of times that caused discontinuity in vehicle passageways or personnel escape corridors.

[0071] The weights of the location repair evaluation value are based on the manually verified well site layout, equipment loading and unloading path length, and channel occupancy records. In small well sites in mountainous and hilly areas, when slope lines are dense, the number of candidate layout units is small, or the equipment loading and unloading area is restricted, the weight of the movement cost item during offline calibration is relatively high, so that the equipment is repaired first within the vicinity of the original candidate layout unit; when the interface connection corridor is short and interface type connectivity failures occur frequently, the weight of the interface proximity item during offline calibration is relatively high, so that the equipment moves to the area reachable by the corresponding interface connection corridor. The update frequency for reselecting candidate layout units is executed once after a direction repair failure; the number of testable candidate layout units for the same equipment in the same candidate equipment layout does not exceed the size of its candidate layout unit set. If the equipment still fails the joint verification of the interface corridor after testing, the location repair will not be repeated for that equipment.

[0072] If unconnected interface points still exist after reselecting candidate layout units, the interface connection corridors corresponding to the interface categories of the unconnected interface points will be searched again in the well site unit diagram. The research does not change the access roads, equipment loading and unloading areas, assembly areas, or the equipment occupancy units already determined in the current candidate equipment layout. It only searches for continuous spatial unit chains in spatial units with corresponding corridor permission attributes that are not marked as prohibited from occupancy due to occupancy restrictions. For spatial units marked as requiring restricted occupancy but not prohibited from occupancy due to occupancy restrictions, their candidate continuous spatial unit chains are retained and included in the occupancy restriction item.

[0073] The corridor repair evaluation value for candidate interface connecting corridors is calculated according to the following formula: , in, The interface connects to the corridor category. Candidate continuous spatial unit chain is The corridor repair evaluation value at that time This indicates that the corridor has been repaired. For the interface category corresponding to the interface category of the unconnected interface point, the corridor category is used for connection. For candidate continuous spatial unit chains, The weight of the corridor unit quantity item. For the weight of corridor intersection items, As the weight of the restriction item, The interface connects to the corridor category. Candidate continuous spatial unit chain is The number of spatial units traversed during the time. The interface connects to the corridor category. Candidate continuous spatial unit chain is The number of corridor intersections requiring cross-traffic permits generated at that time. The interface connects to the corridor category. Candidate continuous spatial unit chain is The number of space units that require restricted but not prohibited occupation over time. This indicates the usage limit.

[0074] The weights of corridor repair evaluation values ​​are determined using existing well site corridor occupancy records. Occupancy restriction items have a higher weight than corridor intersection items, and corridor intersection items have a higher weight than the number of corridor units. If a candidate continuous spatial unit chain passes through a spatial unit marked as prohibited from occupancy in the occupancy restriction relationship for personnel escape corridors, it is determined to be an unusable chain. If a candidate continuous spatial unit chain only adds allowed intersection interfaces to connect corridor intersections, it is retained and written into the intersection permission relationship. The frequency of re-searching interface connection corridors is once after a location repair failure. Each interface category completes at most one re-search within the same candidate device layout. If unconnected interface points still exist after the re-search, the corresponding candidate device layout is marked as an invalid layout.

[0075] To limit repeated oscillations within the local space of the small well site during the repair process, the upper limit for the number of repair cycles is set according to the following formula: , in, This represents the maximum number of repair rounds allowed for the current repair object. This indicates layout repair. For the equipment serial number Number of testable device orientation states. For the equipment serial number Number of testable candidate layout units The interface connects to the corridor category. The number of testable candidate contiguous spatial unit chains; other parameters retain the meanings described above.

[0076] The actual number of repair rounds is counted using the same repair object as the counting window, and is reset to zero when the layout repair is triggered for that repair object. The actual number of repair rounds is incremented by one for each completed equipment orientation status test, candidate layout unit test, or candidate continuous spatial unit chain test. The counting window ends when the repair object passes verification, is marked as an invalid layout, or reaches the maximum number of repair rounds. After reaching the maximum number of repair rounds, the candidate state that passed the basic layout permission and non-overlapping occupancy judgment before reaching the upper limit is retained as a rollback record, but is not output as the oil drilling rig equipment layout scheme.

[0077] When the actual number of repair rounds reaches the maximum number of repair rounds, or when all testable objects under the current repair level are excluded, repair of the disconnected interface point will cease. If the well site spatial data contains missing spatial units, corridor permission attributes are not assigned, interface categories cannot be matched, or the same repair operation would cause equipment to occupy units covering undesertable areas, a conservative strategy will be adopted. The corresponding test equipment orientation status, test candidate placement units, or candidate continuous spatial unit chains will be determined as unavailable, and speculative values ​​will not be used to replace missing attributes.

[0078] After each repair, a joint verification of the interface corridor is re-executed. If the verification passes, the repaired candidate device layout continues to participate in the layout evaluation; if the verification fails, it proceeds to the next level of repair or is marked as an invalid layout. The layout repair record includes the disconnected interface point that triggered the repair, the interface category, the repair level, the device orientation status before repair, the device orientation status after repair, the candidate layout units before repair, the candidate layout units after repair, the connecting corridors before repair, the connecting corridors after repair, the re-verification result, and the repair result. Each interface connectivity judgment, device orientation adjustment, device position adjustment, and corridor re-search after a layout repair is associated with the layout repair record, forming a computable closed loop in the candidate device layout repair process.

[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0080] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of this application and form different embodiments. For example, all the embodiments above can be used in any combination. The information disclosed in this background section is intended only to enhance the understanding of the general background of this application and should not be construed as an admission or in any way implying that such information constitutes prior art known to those skilled in the art.

Claims

1. A method for optimizing the layout of oil drilling rig equipment, executed by a computing device, characterized in that, include: Acquire well site spatial data for small well sites in mountainous and hilly areas. The well site spatial data includes well site boundaries, wellhead locations, terrain slope lines, access roads, non-deployable areas, restricted access areas, equipment loading and unloading areas, and assembly areas. A well site unit map is generated based on the well site boundary, non-deployable areas, and passage restriction areas. The well site unit map includes spatial units and the adjacency relationships between spatial units. Deployment permission attributes and corridor permission attributes are recorded for each spatial unit, and the wellhead anchorage area is marked in the well site unit map. Acquire oil drilling rig equipment data, which includes equipment identification, equipment operation category, equipment occupied area, equipment orientation status set, equipment interface point, equipment interface point identification, equipment interface point local coordinates, and interface category. Based on the set of equipment orientation states, the equipment's occupied area and equipment interface points are transformed from the equipment's local coordinate system to the well site coordinate system, generating equipment occupation units and equipment interface projection units. Based on the interface type, equipment interface projection unit, access road, equipment loading and unloading area, and assembly area, a connection corridor unit diagram is generated in the well site unit diagram. The connection corridor unit diagram includes an interface connection corridor and an operation passage corridor. The operation passage corridor includes a vehicle passage corridor and a personnel escape corridor. Based on the wellhead anchoring area, equipment operation category, equipment occupancy unit, equipment interface projection unit, and connection corridor unit diagram, generate a set of candidate layout units for each oil drilling rig. Candidate equipment layouts are generated from the candidate layout unit set, and joint verification of interface corridors is performed. The joint verification of interface corridors includes verification of equipment occupancy units, verification of continuous reachability between equipment interface projection units and interface connection corridors, and verification of continuous reachability of work passage corridors. The joint verification of the interface corridor includes: Determine whether the equipment occupancy units of each oil drilling rig in the candidate equipment layout all fall into space units with layout permission attributes; determine whether the equipment occupancy units of different oil drilling rigs overlap. Read the interface category and device interface projection unit corresponding to each device interface point; determine the interface connection corridor corresponding to the interface category; Determine whether the device interface projection unit and the corresponding interface connection corridor are continuously reachable through a spatial unit with the corresponding corridor permission attribute; determine whether the vehicle passage corridor and the personnel escape corridor are continuously reachable between their corridor endpoints; Device interface points that fail the continuous reachability test are recorded as disconnected interface points, and work passageways that fail the continuous reachability test are recorded as blocked passageways. When the joint verification of the interface corridors reveals unconnected interface points or blocked corridors, layout repair is performed on the candidate device layout. By performing layout repair on unconnected interface points, the computing device sequentially adjusts the device orientation state, reselects candidate arrangement units, and re-searches for interface connection corridors. Candidate equipment layouts that pass the joint verification of interface corridors and whose equipment occupancy units do not cover areas that cannot be arranged are determined as oil drilling rig equipment layout schemes, and the oil drilling rig equipment layout scheme, interface connectivity record, corridor occupancy record and layout repair record are output.

2. The method for optimizing the layout of oil drilling rig equipment according to claim 1, characterized in that, The generated well site unit map includes: Transform the well site boundary into a closed boundary region; The effective well site area is obtained by subtracting the undesirable area from the closed boundary area; Based on the terrain slope lines, access roads, and restricted areas, the effective well site area is spatially divided into multiple spatial units; Record the layout permission attributes, corridor permission attributes, unit width attributes, and adjacency relationships with adjacent spatial units for each spatial unit; mark spatial units containing wellhead locations or those meeting preset distance conditions from wellhead locations as wellhead anchorage areas.

3. The method for optimizing the layout of oil drilling rigs according to claim 2, characterized in that, The interface connection corridor includes at least two types of mud connection corridor, cable connection corridor, control connection corridor and high-pressure manifold connection corridor; The generation of the connecting corridor unit diagram includes: using the spatial unit corresponding to the wellhead location, the equipment interface projection unit, the spatial unit corresponding to the access road, the spatial unit corresponding to the equipment loading and unloading area, and the spatial unit corresponding to the collection area as corridor endpoints; searching for continuous spatial unit chains in the well site unit diagram; marking continuous spatial unit chains that satisfy the corridor permission attributes as connecting corridors of the corresponding category; and recording cross-permission relationships and occupancy restriction relationships for connecting corridors of different categories.

4. The method for optimizing the layout of oil drilling rigs according to claim 3, characterized in that, The equipment operation categories include at least two of the following: wellhead operations, mud circulation, solids control, power supply, high-pressure manifold, pipe tool operations, and safety assistance. The interface categories include at least two of the following: mud interface category, cable interface category, control interface category, and high-pressure manifold interface category; The generated candidate layout unit set for each oil drilling rig includes: The candidate layout units for wellhead operation equipment are limited to spatial units associated with the wellhead anchoring area; The candidate layout units for mud circulation equipment and solids control equipment are limited to the space units in which the equipment interface projection units corresponding to their mud interface categories can be connected to the mud connection corridor. The candidate arrangement units for power supply equipment are limited to the space units in which the equipment interface projection units corresponding to their cable interface categories can be connected to the cable connection corridor. The candidate placement units for safety auxiliary equipment are limited to the space units in which the equipment occupies a space that does not block the personnel escape corridor.

5. The method for optimizing the layout of oil drilling rigs according to claim 4, characterized in that, The layout repair of the candidate device layout includes: When layout repair is triggered by a disconnected interface point, the computing device reads the device orientation state set of the device to which the disconnected interface point belongs, and tests the remaining device orientation states after excluding the device orientation states before repair. The computing device regenerates the device occupancy unit and the device interface projection unit under the orientation state of the device under test. Under the conditions that the device occupancy unit does not cover the undesirable area, does not overlap with other devices, and does not block the personnel escape corridor, the device orientation state that minimizes the unit distance between the device interface projection unit and the corresponding interface connection corridor and passes the joint verification of the interface corridor is selected as the repaired device orientation state. After the device orientation status is updated, the computing device re-executes the interface corridor joint verification. If there are still unconnected interface points, or if there is no device orientation status that meets the aforementioned conditions, the computing device re-selects candidate arrangement units from the candidate arrangement unit set of the device, and re-determines the continuous reachability relationship between the device occupancy unit, the device interface projection unit, and the corresponding interface connection corridor under the current device orientation status.

6. The method for optimizing the layout of oil drilling rig equipment according to claim 5, characterized in that, The layout repair of the candidate device layout also includes: If there are still unconnected interface points after reselecting candidate layout units, the computing device will search again in the well site unit map for the interface connection corridor corresponding to the interface category of the unconnected interface points; When re-searching the interface connection corridor, the computing device uses the device occupancy unit and device interface projection unit in the current candidate device layout, and searches for a continuous spatial unit chain in the spatial units that have the corresponding corridor permission attribute and have not been marked as prohibited from occupancy by the occupancy restriction relationship. After each repair, the computing device re-executes the interface corridor joint verification and records the triggering object of the repair, the device orientation status before the repair, the device orientation status after the repair, the candidate layout units before the repair, the candidate layout units after the repair, the interface connectivity status, and the repair result. If there are still unconnected interface points after re-searching the interface connection corridor, the corresponding candidate device layout will be marked as invalid.

7. The method for optimizing the layout of oil drilling rigs according to claim 4, characterized in that, The layout repair of the candidate device layout also includes: When a blocked corridor exists in the candidate device layout, identify the blocking device or the blocking connection corridor that caused the blocked corridor. If the blocking device is not a wellhead operation device, then a new candidate layout unit is selected from the candidate layout unit set of the blocking device; if the blocking device is a wellhead operation device, then the corresponding candidate device layout is marked as an invalid layout. If the blocking connection corridor belongs to the interface connection corridor, then search for the interface connection corridor again in the well site unit diagram; If the personnel escape corridor is still blocked after reselecting candidate layout units or researching interface connection corridors, the corresponding candidate equipment layout will be marked as invalid.

8. The method for optimizing the layout of oil drilling rig equipment according to claim 1, characterized in that, Before determining the layout plan for oil drilling rigs, the following steps are also included: A layout evaluation value is generated for the candidate equipment layouts that pass the joint verification of the interface corridor. The layout evaluation value is determined by the number of corridor intersections, the number of corridor occupancy conflicts, the number of connecting corridor units, the number of layout repairs, and the degree of deviation of the equipment operation category. The candidate equipment layouts are sorted in ascending order of layout evaluation value. The candidate equipment layouts that meet the preset output conditions are determined as the oil drilling rig equipment layout scheme.

9. The method for optimizing the layout of oil drilling rig equipment according to claim 1, characterized in that, The interface connectivity record includes device identifier, device interface point identifier, interface type, device direction status, device interface projection unit, connection corridor type, and connectivity status; The corridor occupancy record includes the type of connecting corridor, the endpoints of the connecting corridor, the spatial units traversed by the connecting corridor, the cross-permission relationship, and the occupancy restriction relationship; The layout repair record includes the unconnected interface point or blocked corridor that triggered the repair, the device orientation status before the repair, the device orientation status after the repair, the candidate layout units before the repair, the candidate layout units after the repair, and the repair result.

Citation Information

Patent Citations

  • Method and system for optimizing layout of oil rig device

    CN103984989A

  • Drilling machine space safety management method, device and system and terminal equipment

    CN119914242A