Three-dimensional modeling method and system for oil field equipment facilities based on digital twinning
Through digital twin technology, the three-dimensional dynamic model of oil field equipment is constructed, which solves the problem of insufficient data acquisition and intelligent management in oil field equipment management, realizes real-time monitoring and optimization, and improves the efficiency and safety of oil field production.
Patent Information
- Application Number
- CN202411698691.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing oil field equipment management technology has untimely data acquisition, slow response speed, and relying on manual experience to inaccurate analysis results, lack of intelligent management and optimization methods, insufficient visualization and interaction, poor adaptability, and difficult to adapt to the expansion of oil field production scale and equipment. Updated and upgraded, and maintained in harsh environments are difficult and costly.
Using the three-dimensional modeling method of oil field equipment facilities based on digital twins, the oil field equipment model is constructed through three-dimensional visualization and virtual real mapping technology, the digital twin model is constructed using GA algorithm, and the equipment operation status is comprehensively simulated and dynamically monitored, and the three-dimensional model is constructed based on digital twin technology. Dynamic model to realize real-time monitoring and optimization.
It improves data analysis capabilities, enhances visualization and interactivity, provides efficient and intelligent management solutions, significantly improves the overall efficiency and safety of oil field production, and reduces maintenance difficulties and costs.
Smart Images

Figure CN119203790A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oilfield equipment management, and in particular to a three-dimensional modeling method and system for oilfield equipment facilities based on digital twins. Background Art
[0002] In the oilfield production process, the operation status monitoring, fault prediction and maintenance management of equipment and facilities are crucial to improving production efficiency and reducing operating costs. However, oilfield equipment management usually requires regular manual inspections and relies heavily on the personal experience of staff to make judgments, resulting in untimely data acquisition and slow response speed. At the same time, relying on manual experience for fault prediction and maintenance decisions often leads to inaccurate analysis results due to subjectivity and experience differences, making it difficult to conduct a comprehensive and accurate assessment of the equipment status.
[0003] In the field of oilfield equipment and facility management, existing technologies have many deficiencies. First, data acquisition and analysis capabilities are limited, which is manifested in poor data real-time performance, insufficient accuracy, and data islands, making it difficult to fully and accurately reflect the operating status of equipment. Second, there is a lack of intelligent management and optimization methods. Fault prediction and maintenance decisions rely more on manual experience. The optimization methods are single and the response speed is slow, which affects production efficiency and safety. In addition, existing technologies have obvious deficiencies in visualization and interactivity. Two-dimensional display is difficult to intuitively display the complex structure and operating status of equipment, and the interaction method is single, which limits the user's ability to conduct in-depth analysis and operation. At the same time, the adaptability and scalability of existing systems are poor, the customization cost is high, and it is difficult to adapt to the expansion of oilfield production scale and the replacement of equipment and facilities. In the harsh oilfield field environment, the performance of the existing system may be affected, and maintenance is difficult and costly. These problems limit the efficiency and intelligence level of oilfield equipment and facility management.
[0004] Therefore, how to solve the shortcomings and deficiencies of the existing technologies in data acquisition, intelligent management, visualization and interactivity, adaptability and environmental adaptability to varying degrees is a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention
[0005] To achieve the purpose of the present invention, the present application provides a three-dimensional modeling method for oilfield equipment and facilities based on digital twins, which is characterized by comprising: Step S1: constructing a three-dimensional model of oilfield equipment through three-dimensional visualization and virtual-real mapping technology to simulate the operating status of the oilfield equipment and perform real-time monitoring; Wherein, the oilfield equipment includes an oil pump and an oilfield separator; Step S2: constructing a digital twin model of the oilfield equipment through the GA algorithm to comprehensively simulate and dynamically monitor the operating status of the oilfield equipment; Step S3: Based on the digital twin technology, a three-dimensional dynamic model of the oilfield equipment is constructed according to the three-dimensional model of the oilfield equipment and the digital twin model, and the state of the oilfield equipment is optimized.
[0006] In some specific embodiments, step S1 includes: Step S11: constructing a three-dimensional model of the oilfield equipment by collecting operation data of the oilfield equipment; Step S12: simulating the motion state of the oilfield equipment during dynamic driving according to the three-dimensional model; Step S13: Analyze the oilfield equipment through kinematics to reveal the dynamic relationship between the components of the oilfield equipment and display it in three-dimensional form.
[0007] In some specific embodiments, the structure of the oil pump includes: a crank, a frame, a walking beam and a connecting rod.
[0008] In some specific embodiments, step S2 includes: Step S21: using the GA algorithm to determine the optimal liquid level height of the oil field separator; Step S22: constructing an initial population according to the optimal liquid level height of the oil field separator, and the individuals in the initial population are binary-coded to form a simulation starting point; Wherein, the initial population includes: basic parameters and optimization variables of the oil field separator; Step S23: constructing an objective function and a constraint function according to the basic parameters and optimization variables of the oil field separator; Step S24: performing selection, crossover and mutation operations on the initial population to iteratively evolve to an optimal solution; Step S25: Decode the optimization variables and determine the dehydration efficiency of the oil field separator according to the objective function.
[0009] In some specific embodiments, step S3 also includes: constructing a liquid level control simulation model of the oilfield separator based on digital twin technology, regulating the internal pressure, liquid inlet temperature and oil-water interface height of the oilfield separator, monitoring and analyzing the changes in the inlet flow, outlet flow and internal parameters of the separator in real time, and then automatically adjusting the control parameters to ensure the stability of laminar flow during the liquid inlet process to optimize the separation efficiency and product quality.
[0010] To achieve the same invention purpose, the present application also provides a three-dimensional modeling system for oilfield equipment and facilities based on digital twins, including: 3D model building module: builds a 3D model of oilfield equipment through 3D visualization and virtual-real mapping technology to simulate the operating status of the oilfield equipment and conduct real-time monitoring; Wherein, the oilfield equipment includes an oil pump and an oilfield separator; Digital twin model construction module: construct the digital twin model of the oilfield equipment through the GA algorithm, and comprehensively simulate and dynamically monitor the operating status of the oilfield equipment; Three-dimensional dynamic model construction module: Based on the digital twin technology, a three-dimensional dynamic model of the oilfield equipment is constructed according to the three-dimensional model of the oilfield equipment and the digital twin model, and the state of the oilfield equipment is optimized.
[0011] In some specific embodiments, the three-dimensional model building module is used to perform the following steps: Step S11: constructing a three-dimensional model of the oilfield equipment by collecting operation data of the oilfield equipment; Step S12: simulating the motion state of the oilfield equipment during dynamic driving according to the three-dimensional model; Step S13: Analyze the oilfield equipment through kinematics to reveal the dynamic relationship between the components of the oilfield equipment and display it in three-dimensional form.
[0012] In some specific embodiments, the structure of the oil pump includes: a crank, a frame, a walking beam and a connecting rod.
[0013] In some specific embodiments, the digital twin model building module is used to perform the following steps: Step S21: using the GA algorithm to determine the optimal liquid level height of the oil field separator; Step S22: constructing an initial population according to the optimal liquid level height of the oil field separator, and the individuals in the initial population are binary-coded to form a simulation starting point; Wherein, the initial population includes: basic parameters and optimization variables of the oil field separator; Step S23: constructing an objective function and a constraint function according to the basic parameters and optimization variables of the oil field separator; Step S24: performing selection, crossover and mutation operations on the initial population to iteratively evolve to an optimal solution; Step S25: Decode the optimization variables and determine the dehydration efficiency of the oil field separator according to the objective function.
[0014] In some specific embodiments, the three-dimensional dynamic model construction module is also used to: construct a liquid level control simulation model of the oilfield separator based on digital twin technology, regulate the internal pressure, liquid inlet temperature and oil-water interface height of the oilfield separator, monitor and analyze the changes in inlet flow, outlet flow and internal parameters of the separator in real time, and then automatically adjust the control parameters to ensure the stability of laminar flow during the liquid inlet process to optimize separation efficiency and product quality.
[0015] Beneficial effects of the above technical solution: The present application provides a three-dimensional modeling method and system for oilfield equipment and facilities based on digital twins, which constructs a three-dimensional dynamic model of oilfield equipment, can improve the data analysis capabilities of oilfield production, and achieve comprehensive and accurate reflection of data through real-time precision monitoring and intelligent analysis optimization. At the same time, it enhances the visualization and interactivity of the oilfield production process, and provides an intuitive three-dimensional display and deep interactive experience. In addition, it can improve the level of intelligence in oilfield management, provide efficient and intelligent solutions for the management and operation and maintenance of oilfield equipment and facilities, and significantly improve the overall efficiency and safety of oilfield production. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 A schematic flow chart of a method for three-dimensional modeling of oilfield equipment and facilities based on digital twins provided in accordance with an embodiment of the present invention; Figure 2 A schematic structural diagram of a three-dimensional modeling system for oilfield equipment and facilities based on digital twins provided by one embodiment of the present invention; Figure 3 A schematic diagram of the relationship between coordinates of a four-bar mechanism of a three-dimensional modeling method for oilfield equipment and facilities based on digital twins provided by an embodiment of the present invention; Figure 4 A schematic diagram of the oil-water particle sedimentation process of a three-dimensional modeling method of oilfield equipment and facilities based on digital twins provided by one embodiment of the present invention; Figure 5 A vertical axial cross-sectional view of a separator according to a three-dimensional modeling method for oilfield equipment and facilities based on digital twins is provided as an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0019] Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar symbols throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0020] Embodiment 1 One embodiment of the present invention provides a three-dimensional modeling method for oilfield equipment and facilities based on digital twins, referring to Figure 1 As shown, including: Step S1: construct a three-dimensional model of oilfield equipment through three-dimensional visualization and virtual-reality mapping technology to simulate the operating status of the oilfield equipment and perform real-time monitoring; wherein the oilfield equipment includes a pumping unit and an oilfield separator.
[0021] Specifically, the pumping unit and the three-phase separator are key components of oil field production, and they are responsible for lifting and separating crude oil respectively. The present invention integrates the pumping unit and the three-phase separator to demonstrate three-dimensional modeling in oil field equipment.
[0022] Pumping unit: pumps crude oil from underground to the surface through reciprocating motion. The working principle of the pumping unit involves a series of precise mechanical conversion processes. The power machine is regulated by a reducer to reduce the high speed of the power machine to a low speed suitable for the crank of the pumping unit. The four-bar mechanism, including the crank, connecting rod and walking beam, converts the rotational motion of the crank into the linear reciprocating motion of the donkey head. This reciprocating motion is the key to the operation of the deep well pump, which can realize the oil suction and discharge process of the pump, thereby effectively extracting the oil from the ground.
[0023] Three-phase separator: equipment used to separate the mixture of oil, gas and water produced by oil wells. Its working principle is to use the density difference between oil, gas and water to achieve separation under the action of gravity. The mixture is first pre-separated in the separator, and then the oil, gas and water are gradually separated by gravity. The separated oil and water are discharged through different outlets, while the gas is discharged through the outlet at the top and can be further processed through a natural gas dryer.
[0024] In a specific embodiment of the present invention, step S1 includes: Step S11: constructing a three-dimensional model of the oilfield equipment by collecting operation data of the oilfield equipment; Step S12: simulating the motion state of the oilfield equipment during dynamic driving according to the three-dimensional model; Step S13: Analyze the oilfield equipment through kinematics to reveal the dynamic relationship between the components of the oilfield equipment and display it in three-dimensional form.
[0025] In a specific embodiment of the present invention, the structure of the oil pumping unit includes: a crank, a frame, a walking beam and a connecting rod.
[0026] Specifically, a mathematical model is constructed based on three-dimensional visualization and virtual-real mapping technology. Taking the "oil pump" as an example, the operating data of the oil pump is collected to simulate the simulation operation of the oil pump. After analyzing the kinematic relationship of the various components of the oil pump, a communication interface is developed to achieve the three-dimensional visualization effect of the oil pump and enhance the mapping between the entity and the virtual model. When analyzing the kinematics of the oil pump, the four-bar mechanism model of the oil pump is used for simplified representation. The coordinate axes in the base coordinate system, crank coordinate system, connecting rod coordinate system, and rocker coordinate system are x0, y0, x1, y1, x2, y2, x3, y3, x4, y 4x They are fixed to the frame, connected to the crank, positioned on the connecting rod, and installed and fixed on the rocker. The rotating pair between the crank and the frame shares the same center point, the rotating pair center points of the crank and the connecting rod coincide, the rotating pair center points of the connecting rod and the rocker are consistent, and the rotating pair centers of the frame and the rocker coincide. Figure 3 exhibit.
[0027] The kinematic method is used to analyze it in depth, and an accurate mathematical model is constructed to describe the motion characteristics of the four-bar mechanism, and to provide a theoretical basis for the real-time mapping and dynamic simulation of the four-bar mechanism of the pumping unit. The basic parameters are shown in Table 1.
[0028]
[0029] Table 1 Parameters of the four-bar mechanism When analyzing the four-bar mechanism of the pumping unit, the following key parameters are defined: i represents the serial number, α i-1 represents the rod rotation angle, that is, the angle between the joint axis i-1 and the joint axis i, a i-1 Indicates the connecting rod length, which refers to the length of two adjacent connecting rods, d i and θ i represent the connecting rod offset and joint angle respectively.
[0030] The following is the general expression of the homogeneous transformation matrix: (1) In the formula, c i =cos θ i , s i =sin θ i , c i-1 =cos α i-1 , s i-1 =sin α i-1 ; c iand s i Represents the cosine and sine values of the angles of each member (or joint); c i-1 represents the cosine value of the i-1th joint (or member); s i-1 represents the sine value of the i-1th joint (or member); -s i Indicates that it is i The opposite of the sine value of a joint (or rod); T Represents a transformation matrix.
[0031] According to formula (1), the transformation matrix of each connecting rod can be calculated: (2) (3) (4) (5) The following formula represents the transformation matrix of coordinate system {N} relative to coordinate system {0}: (6) Combining formula (2) and formula (6), the kinematic equation of the planar four-bar mechanism can be derived as follows: (7) Simplifying, we get: (8) Where: ; in, ; in, c 1. c 2. c 3. c 4. are separate cosine values, each corresponding to a specific rotation angle c 12 It is the product of the cosine values of the two rotation angles; s 1. s 2. s 3. s 4. It is a separate sine value s 12 is the product of the sines of the two rotation angles; l 1. l 2. l 3 represents the length of the connecting rod; r 11 , r 12Represents the diagonal elements of the rotation submatrix, which are usually equal to the cosine of the rotation angle; r 21 , r 22 Represents the off-diagonal elements of the rotation matrix, which are usually equal to the negative sine and sine of the rotation angle; p x represents the x component of the translation vector; p y Represents the y component of the translation vector.
[0032] assumed The position and posture of the target point have been determined. That is, the terminal coordinate system has been transformed relative to the reference coordinate system, so the planar four-bar mechanism only needs to determine the position variables x, y and the attitude angle To uniquely locate the target point. Where x and y represent the coordinate position of the wrist joint plane of the end link of the four-bar mechanism, and Describes the spatial attitude angle of the end link. Therefore, by determining these parameters, we can calculate To determine the location of the target point, we further assume that all reachable target points are located in the subspace defined by equation (9): (9) in, Indicates angle The cosine value of Indicates angle The sine value of .
[0033] By equating equation (8) and equation (9), we obtain the following result: (10) (11) (12) (13) According to the joint solution of formula (10) and (13), the following results are obtained: ; When simulating the dynamic drive of the pumping unit, the joint angle θ1 is determined by combining formulas (10) and (13) and combined with the signal of the pumping unit motor. At the same time, the other joint angles θ2, θ3, and θ4 also need to be adjusted accordingly to achieve synchronous motion.
[0034] Through the geometric dimensions of the crank, frame, walking beam and connecting rod, the present application can accurately deduce the overall motion state of the oil pump. This series of calculations provides a basis for the integration of digital and physical space, enabling the oil pump to achieve three-dimensional dynamic display in digital space and synchronize with the entity in real time. In addition, through kinematic analysis, the dynamic relationship between the various components of the oil pump can be revealed and intuitively presented in three-dimensional form. Provides an intuitive and interactive virtual environment. Enhances the accuracy of the operation of the oil pump, and also provides a strong technical foundation for the monitoring, maintenance and optimization of other oilfield equipment, ensuring the efficiency and safety of oilfield production.
[0035] Step S2: construct a digital twin model of the oilfield equipment through the GA algorithm to comprehensively simulate and dynamically monitor the operating status of the oilfield equipment.
[0036] In a specific embodiment of the present invention, step S2 includes: Step S21: using the GA algorithm to determine the optimal liquid level height of the oil field separator; Step S22: constructing an initial population according to the optimal liquid level height of the oil field separator, and the individuals in the initial population are binary-coded to form a simulation starting point; Wherein, the initial population includes: basic parameters and optimization variables of the oil field separator; Step S23: constructing an objective function and a constraint function according to the basic parameters and optimization variables of the oil field separator; Step S24: performing selection, crossover and mutation operations on the initial population to iteratively evolve to an optimal solution; Step S25: Decode the optimization variables and determine the dehydration efficiency of the oil field separator according to the objective function.
[0037] Specifically, the present invention takes a "three-phase separator" as an example. The three-dimensional modeling of the three-phase separator can be realized by constructing an accurate virtual model, which can simulate the actual physical equipment and operate and test it in a virtual environment. The fluid dynamics behavior inside the three-phase separator can be simulated and analyzed in detail, including the flow pattern of the fluid, the pressure distribution, and the separation efficiency between different phases.
[0038] When constructing the digital twin model of the three-phase separator, the GA algorithm is used to construct a mathematical model to describe the movement of the fluid, so as to obtain the detailed flow characteristics of the fluid inside the separator. In the field of oilfield surface engineering, three-phase separators are widely used for the preliminary separation of oil, gas and water mixtures. Accurate adjustment of the oil-water interface is extremely critical to optimizing the dehydration process, which directly affects the amount of oil and water separation. This simulation analysis uses the GA algorithm to accurately calculate the height of the oil-water interface in the separator to improve the oil-water separation efficiency. After the separated oil-water mixed fluid enters the sedimentation chamber, the oil and water layers are further separated. In the process of oil-water layer separation in the sedimentation chamber, the oil phase and the water phase may entrain part of each other to form a dispersion of oil droplets or water droplets. From Figure 4 It can be observed that when the separator is operating to separate the oil-water layer, the droplets can be separated under the combined action of horizontal advection and vertical sedimentation / suspension. The analysis of this composite motion is of great significance for understanding the fluid dynamics behavior inside the separator and optimizing the separation efficiency.
[0039] Specifically, using physical analysis, the following formula describes the suspension height of an oil drop in a water layer and the settling height of a water drop in an oil layer.
[0040] ; In the formula, δ 2 represents the floating diameter of oil droplets in the water layer, μ w represents the viscosity of the continuous phase water, ρ w represents the density of the oil phase, ρ o Represents the density of the water phase.
[0041] When the initial boundary condition t is equal to 0, in the horizontal flow path of the separator, the oil-water mixture is initially introduced into the device and continues to pass through the rectifying plate and finally reaches the gravity settling area. By analyzing the steady flow of the oil-water mixture in the horizontal direction, the distance moved by the fluid can be calculated according to the following formula.
[0042] ; In the formula, Q in represents the inlet flow, A represents the cross-sectional area of the liquid phase space, t Indicates the horizontal movement time of oil and water, ω Indicates the horizontal flow rate of oil and water.
[0043] The functional relationship between the dehydration efficiency of the separator and the oil-water interface height is expressed by the following formula: ; In the formula, Hω represents the oil-water interface height, Q wout It represents the relationship between the water phase outlet flow rate and the oil-water interface height, Q Lout It represents the relationship between the total outlet liquid flow rate and the oil-water interface height; Q oout It represents the relationship between the oil phase outlet flow rate and the oil-water interface height.
[0044] Traditional analytical methods often produce complex solutions when dealing with models with complex nested relationships, making the solution process cumbersome and inefficient. Under the premise of ensuring that the system constraints are met, this application uses the GA algorithm to simulate and solve the mathematical model. When optimizing the oil-water interface parameters to achieve the highest dehydration efficiency and constructing the separator liquid level height model, first write the main script, set the parameters, define the variables, and finally generate the initial population. And calculate the fitness of each individual. Selection, crossover and mutation operations are performed within the set parameter range to iteratively evolve to the optimal solution. After each iteration, evaluate whether the current solution is optimal, and decide whether to continue iterating based on the evaluation results. This process is repeated until the optimal solution that meets all constraints is found.
[0045] During the digital twin simulation process, the GA algorithm was used to conduct an in-depth simulation of the optimal liquid level height of the three-phase separator.
[0046] Through simulation, an initial population containing basic parameters and optimization variables was constructed, and these individuals were binary-coded to form the starting point of the simulation. The optimization variables were then decoded and substituted into the objective function to obtain the dehydration efficiency.
[0047] During the simulation process, the constraints and variable settings are strictly controlled to ensure the rationality and accuracy of the simulation results. This not only provides valuable reference data for actual production, but also verifies the effectiveness and reliability of genetic algorithms in simulating complex industrial processes and optimizing system parameters.
[0048] Digital twin technology combines the three-dimensional dynamic model optimized by genetic algorithm (GA) and accurately optimizes and simulates the liquid level height of the three-phase separator by building a digital twin simulation environment in three-dimensional modeling. It provides a highly realistic virtual environment that can intuitively understand and analyze the working status of the three-phase separator, accurately predict and control the liquid level change through real-time data-driven models, and intuitively demonstrate the impact of liquid level changes on the separation effect, deepen the understanding of the liquid level control mechanism of the three-phase separator, and demonstrate the important role of three-dimensional modeling and simulation technology in solving practical engineering problems.
[0049] Step S3: Based on the digital twin technology, a three-dimensional dynamic model of the oilfield equipment is constructed according to the three-dimensional model of the oilfield equipment and the digital twin model, and the state of the oilfield equipment is optimized.
[0050] In a specific embodiment of the present invention, step S3 also includes: constructing a liquid level control simulation model of the oilfield separator based on digital twin technology, regulating the internal pressure, liquid inlet temperature and oil-water interface height of the oilfield separator, real-time monitoring and analyzing the changes in the inlet flow, outlet flow and internal parameters of the separator, and then automatically adjusting the control parameters to ensure the stability of laminar flow during the liquid inlet process to optimize the separation efficiency and product quality.
[0051] Specifically, the three-dimensional dynamic model constructed by digital twin technology takes the three-phase separator of the oil field as the research object to construct and analyze the dynamic control model. Given that the fluctuation of inlet and outlet flow rates significantly interferes with the separation efficiency and stability in the oil field separation system, careful optimization design of the separation process is crucial to improving the operating efficiency and reliability of the entire oil field equipment and facilities.
[0052] Specifically, an advanced liquid level control simulation model is built based on digital twins. With the ability to fully simulate and dynamically monitor the operating status of oilfield equipment and facilities, the simulation will build a three-dimensional dynamic based on the intelligent digital twin dynamic control model, and deeply explore the optimization strategy of separator liquid level control. Through three-dimensional modeling, the internal pressure, inlet temperature and oil-water interface height of the separator are finely controlled to optimize the separation efficiency and product quality. Accurate control of the oil-water interface height is crucial to maintaining liquid level stability and improving separation effects. If the oil-water interface is too high, the water phase will break through the oil layer and increase the water content of the crude oil. Therefore, during operation, a fine control system must be used to maintain the oil-water interface within the optimal operating range to optimize the performance of the separator and product quality.
[0053] Specifically, in order to maintain the stable state of the oil-water interface and reduce the adverse effects caused by interface fluctuations, the intelligent digital twin dynamic control can integrate advanced control algorithms and rectifier element optimization strategies. It can monitor and analyze the changes in the inlet flow, outlet flow and internal parameters of the separator in real time, and then automatically adjust the control parameters to ensure the stability of the laminar flow during the liquid inlet process. At the same time, the clever application of rectifier elements effectively suppresses the formation of turbulence and eddy currents during the liquid inlet stage, further promoting the smooth separation of the oil-water interface.
[0054] Specifically, Figure 5 This is a vertical axial cross-section of the separator. By presetting the axial cross-section to a circle, the liquid inflow and outflow will not be compressed when establishing the dynamic mathematical model. On the same cross-section, the density of the liquid remains the same. Based on these factors, the volume of the liquid cross-section is calculated using the following formula.
[0055] ; In the formula, h w represents the height of the oil-water interface, r represents the radius of the separator axial section, L represents the effective length of the separator, dh w Represents a small change in the height of the oil-water interface, where x is a variable.
[0056] Specifically, when constructing the dynamic mathematical model of the separator, it is necessary to first set the output variables, the height of the oil-water interface and the internal pressure, as well as the input variables, the inlet flow rate and the outlet water volume. In actual oilfield operations, it is shown that under high liquid volume conditions, two separators of the same structure process the flow in parallel. The oil-water interface control model calculates the liquid phase volume based on the axial parameters of the liquid level change. Applying the principle of conservation of materials, a differential equation is further derived, which quantitatively describes the change of the water phase volume inside the separator. The change process is expressed by the following formula: ; In the formula, α j and Respectively represent the proportion of flow to each separator and the water content in the crude oil, Q woutj and Q in represent the liquid inlet flow rate and the water phase outlet flow rate respectively.
[0057] When analyzing the dynamic changes of the oil-water interface in the separator, the dynamic equation of the oil-water interface is derived by comparing the differential equation of the water phase volume with the volume change of the oil-water interface in the separator. Then, a mathematical model of the pressure control of the separator is constructed. It is necessary to determine the relationship between the pressure and volume change inside the separator, especially when the pressure changes. In addition, to form the equation to control the internal pressure change, it is also necessary to consider the flow difference between the inlet and outlet and the volume change of the gas phase space inside the separator. This simulation is calculated based on the oil phase flow of the outlet valve, because the actual oil phase flow of the settling chamber cannot be directly measured. However, the flow can be calculated based on the linear characteristics of the outlet valve, and then the calculated result is substituted into the dynamic equation. The three-dimensional dynamic model is solved by the linearization method to determine the structural parameters of the separator and the physical properties of the crude oil.
[0058] This application constructs an intelligent digital twin dynamic control model, which not only provides solid technical support for the construction of a high-precision liquid level control simulation model, but also opens up a new path for the intelligent and refined control of the separation process. This transformation is expected to significantly improve the overall efficiency of oilfield production.
[0059] Embodiment 2 One embodiment of the present invention also provides a three-dimensional modeling system for oilfield equipment and facilities based on digital twins, referring to Figure 2 As shown, including: 3D model building module 10: building a 3D model of oilfield equipment through 3D visualization and virtual-real mapping technology to simulate the operating status of the oilfield equipment and conduct real-time monitoring; Wherein, the oilfield equipment includes an oil pump and an oilfield separator; Digital twin model construction module 20: constructing a digital twin model of the oilfield equipment through the GA algorithm, and comprehensively simulating and dynamically monitoring the operating status of the oilfield equipment; The three-dimensional dynamic model construction module 30 constructs a three-dimensional dynamic model of the oilfield equipment according to the three-dimensional model of the oilfield equipment and the digital twin model based on the digital twin technology, and optimizes the state of the oilfield equipment.
[0060] In a specific embodiment of the present invention, the three-dimensional model building module 10 is used to perform the following steps: Step S11: constructing a three-dimensional model of the oilfield equipment by collecting operation data of the oilfield equipment; Step S12: simulating the motion state of the oilfield equipment during dynamic driving according to the three-dimensional model; Step S13: Analyze the oilfield equipment through kinematics to reveal the dynamic relationship between the components of the oilfield equipment and display it in three-dimensional form.
[0061] In a specific embodiment of the present invention, the structure of the oil pumping unit includes: a crank, a frame, a walking beam and a connecting rod.
[0062] In a specific embodiment of the present invention, the digital twin model construction module 20 is used to perform the following steps: Step S21: using the GA algorithm to determine the optimal liquid level height of the oil field separator; Step S22: constructing an initial population according to the optimal liquid level height of the oil field separator, and the individuals in the initial population are binary-coded to form a simulation starting point; Wherein, the initial population includes: basic parameters and optimization variables of the oil field separator; Step S23: constructing an objective function and a constraint function according to the basic parameters and optimization variables of the oil field separator; Step S24: performing selection, crossover and mutation operations on the initial population to iteratively evolve to an optimal solution; Step S25: Decode the optimization variables and determine the dehydration efficiency of the oil field separator according to the objective function.
[0063] In a specific embodiment of the present invention, the three-dimensional dynamic model construction module 30 is used to: construct a liquid level control simulation model of the oil field separator based on digital twin technology, regulate the internal pressure, liquid inlet temperature and oil-water interface height of the oil field separator, monitor and analyze the changes in the inlet flow, outlet flow and internal parameters of the separator in real time, and then automatically adjust the control parameters to ensure the stability of laminar flow during the liquid inlet process to optimize the separation efficiency and product quality.
[0064] The present invention proposes a three-dimensional modeling system for oilfield equipment and facilities based on digital twins. The system constructs a high-precision three-dimensional model through three-dimensional visualization and virtual-real mapping technology, simulates real-time and accurate monitoring of the operating status of equipment and facilities, and improves data analysis and processing capabilities. At the same time, a digital twin GA optimization dynamic control model and an intelligent digital twin dynamic regulation model are constructed to achieve comprehensive simulation and dynamic monitoring of the operating status of equipment and facilities, and provide an intuitive display of the equipment operating status. At the same time, advanced intelligent management and optimization algorithms are integrated to make fault prediction and maintenance decisions more scientific and efficient, and the response speed is significantly improved, ensuring production efficiency and safety. Enhance the deep interaction between users and the system, and improve the operating experience and analysis depth. In addition, the system also has good adaptability and scalability, and can easily cope with the expansion of oilfield production scale and the updating of equipment and facilities, reducing customization costs and operation and maintenance difficulties.
[0065] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0066] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referenced to each other. The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps of the functions specified in one or more boxes. Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they know the basic creative concept. Therefore, the attached claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention. Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or terminal device including a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0067] The method and device provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
[0068] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", "one specific embodiment" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0069] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A three-dimensional modeling method for oilfield equipment and facilities based on digital twins, characterized in that: include: Step S1: constructing a three-dimensional model of oilfield equipment through three-dimensional visualization and virtual-real mapping technology to simulate the operating status of the oilfield equipment and perform real-time monitoring; Step S2: constructing a digital twin model of the oilfield equipment through the GA algorithm to comprehensively simulate and dynamically monitor the operating status of the oilfield equipment; Step S3: Based on the digital twin technology, a three-dimensional dynamic model of the oilfield equipment is constructed according to the three-dimensional model of the oilfield equipment and the digital twin model, and the state of the oilfield equipment is optimized.
2. The three-dimensional modeling method of oilfield equipment and facilities based on digital twin according to claim 1 is characterized in that: Step S1 includes: Step S11: constructing a three-dimensional model of the oilfield equipment by collecting operation data of the oilfield equipment; Step S12: simulating the motion state of the oilfield equipment during dynamic driving according to the three-dimensional model; Step S13: Analyze the oilfield equipment through kinematics to reveal the dynamic relationship between the components of the oilfield equipment and display it in three-dimensional form.
3. The three-dimensional modeling method of oilfield equipment and facilities based on digital twin according to claim 2 is characterized in that: The oilfield equipment comprises an oil pumping unit and an oilfield separator; the structure of the oil pumping unit comprises a crank, a frame, a walking beam and a connecting rod.
4. The three-dimensional modeling method of oilfield equipment and facilities based on digital twin according to claim 3 is characterized in that: Step S2 includes: Step S21: using the GA algorithm to determine the optimal liquid level height of the oil field separator; Step S22: constructing an initial population according to the optimal liquid level height of the oil field separator, and the individuals in the initial population are binary-coded to form a simulation starting point; Wherein, the initial population includes: basic parameters and optimization variables of the oil field separator; Step S23: constructing an objective function and a constraint function according to the basic parameters and optimization variables of the oil field separator; Step S24: performing selection, crossover and mutation operations on the initial population to iteratively evolve to an optimal solution; Step S25: Decode the optimization variables and determine the dehydration efficiency of the oil field separator according to the objective function.
5. The method for three-dimensional modeling of oilfield equipment and facilities based on digital twins according to claim 4 is characterized in that: Step S3 also includes: constructing a liquid level control simulation model of the oilfield separator based on digital twin technology, regulating the internal pressure, liquid inlet temperature and oil-water interface height of the oilfield separator, real-time monitoring and analyzing the changes in the inlet flow, outlet flow and internal parameters of the separator, and then automatically adjusting the control parameters to ensure the stability of laminar flow during the liquid inlet process to optimize the separation efficiency and product quality.
6. A three-dimensional modeling system for oilfield equipment and facilities based on digital twins, characterized in that: include: 3D model building module: builds a 3D model of oilfield equipment through 3D visualization and virtual-real mapping technology to simulate the operating status of the oilfield equipment and conduct real-time monitoring; Wherein, the oilfield equipment includes an oil pump and an oilfield separator; Digital twin model construction module: construct the digital twin model of the oilfield equipment through the GA algorithm, and comprehensively simulate and dynamically monitor the operating status of the oilfield equipment; Three-dimensional dynamic model construction module: Based on the digital twin technology, a three-dimensional dynamic model of the oilfield equipment is constructed according to the three-dimensional model of the oilfield equipment and the digital twin model, and the state of the oilfield equipment is optimized.
7. The oilfield equipment and facility three-dimensional modeling system based on digital twin according to claim 6 is characterized in that: The three-dimensional model building module is used to perform the following steps: Step S11: constructing a three-dimensional model of the oilfield equipment by collecting operation data of the oilfield equipment; Step S12: simulating the motion state of the oilfield equipment during dynamic driving according to the three-dimensional model; Step S13: Analyze the oilfield equipment through kinematics to reveal the dynamic relationship between the components of the oilfield equipment and display it in three-dimensional form.
8. The oilfield equipment and facility three-dimensional modeling system based on digital twin according to claim 7 is characterized in that: The structure of the oil pumping unit comprises a crank, a frame, a walking beam and a connecting rod.
9. The oilfield equipment and facility three-dimensional modeling system based on digital twin according to claim 8, characterized in that: The digital twin model building module is used to perform the following steps: Step S21: using the GA algorithm to determine the optimal liquid level height of the oil field separator; Step S22: constructing an initial population according to the optimal liquid level height of the oil field separator, and the individuals in the initial population are binary-coded to form a simulation starting point; Wherein, the initial population includes: basic parameters and optimization variables of the oil field separator; Step S23: constructing an objective function and a constraint function according to the basic parameters and optimization variables of the oil field separator; Step S24: performing selection, crossover and mutation operations on the initial population to iteratively evolve to an optimal solution; Step S25: Decode the optimization variables and determine the dehydration efficiency of the oil field separator according to the objective function.
10. The oilfield equipment and facility three-dimensional modeling system based on digital twin according to claim 9, characterized in that: The three-dimensional dynamic model construction module is also used to: construct a liquid level control simulation model of the oilfield separator based on digital twin technology, regulate the internal pressure, liquid inlet temperature and oil-water interface height of the oilfield separator, monitor and analyze the changes in the inlet flow, outlet flow and internal parameters of the separator in real time, and then automatically adjust the control parameters to ensure the stability of laminar flow during the liquid inlet process to optimize the separation efficiency and product quality.
Citation Information
Patent Citations
Petroleum pumping unit digital twin system construction method
CN115145229A
Unattended intelligent digital twinning centralized control method and system for oil field station
CN116594365A
System and method for monitoring field based augmented reality using digital twin
US20210201584A1
Cited By
Pumping unit balance automatic optimization system based on digital twinning technology
CN120524613A
An automatic optimization system for pumping unit balance based on digital twin technology
CN120524613B