Virtual pre-debugging method and system for first commissioning of offshore oil and gas production

Through virtual pre-debug methods, establish and connect simulation models for virtual debugging, solving the problem that traditional debugging methods are difficult to identify and troubleshoot control system errors, achieving a more efficient and accurate debugging process, and reducing offshore debugging time and cost.

CN119414800APending Publication Date: 2025-02-11康士伯数字技术服务(北京)有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411565807.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

The traditional offshore oil and gas production control system debugging method is difficult to effectively identify and troubleshoot logic and code errors, resulting in adjustments that still need to be made after production, and manual signal testing is difficult to touch on practical problems in complex processes.

Method used

Using virtual pre-debug method, by establishing a dynamic full process chain simulation model and control system simulation model, and connecting through the OPC interface, a twin model of the full process chain process of oil and gas production is constructed, and virtual debugging is carried out to diagnose and optimize the startup process parameters.

Benefits of technology

It improves the consistency between debugging and actual production conditions, reduces offshore debugging time, saves high cost of offshore early production, and ensures the reliability and safety of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119414800A_ABST
    Figure CN119414800A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual pre-debugging method and system for first-time production of offshore oil and gas production, and the method comprises the steps: building a dynamic whole process chain simulation model according to the whole process chain flow of the offshore oil and gas production and corresponding starting process parameters, and building a control system simulation model according to the whole process chain flow and process matching control logic; connecting the dynamic whole process chain simulation model with the control system simulation model, and constructing a twin model of the oil and gas production whole process chain process; setting initial starting process parameters and boundary conditions according to a first-time production scheme of offshore oil and gas production, and operating the twin model according to a starting time sequence to perform virtual debugging to obtain a debugging result; the debugging result is analyzed, whether the first-time production scheme is reasonable or not is diagnosed, and a virtual debugging diagnosis result is obtained; optimizing starting process parameters according to the virtual debugging diagnosis result; therefore, the pre-debugging work from the unit to the overall linkage is realized, the goodness of fit between debugging and actual production conditions is improved, and the offshore debugging time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a production process of offshore oil engineering, and is a virtual pre-debugging method and system for the first commissioning of offshore oil and gas production. Background Art

[0002] The factory debugging of control systems such as the Distributed Control System (DCS) provided by traditional control manufacturers is mainly tested by manually inputting signal points due to limited conditions. However, as the control logic contained in control systems such as DCS becomes more and more complex, the code content is also complicated and cumbersome, and manual signal testing is difficult to touch the actual problems in the process, especially in the environment of offshore oil and gas fields. The instability of underwater production systems puts higher requirements on the debugging of control systems such as DCS. Since manual signal input cannot fully reflect the real dynamics of process parameters, it is still necessary to adjust control systems such as DCS after production. Faced with the continuous improvement of production efficiency and quality requirements of oil and gas field production enterprises, the current debugging method is difficult to identify and troubleshoot logic and code errors in the automatic control database as early as possible. During the on-site debugging process, it is a non-filling debugging, and the omitted problems may cause hidden dangers in actual production. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a virtual pre-debugging method and system for the initial commissioning of offshore oil and gas production, which can virtually debug all aspects of the overall production and improve the consistency between the debugging and the actual production situation.

[0004] In order to solve the above technical problems, the present invention provides a virtual pre-commissioning method for the first commissioning of offshore oil and gas production, comprising: S1: According to the full process chain of offshore oil and gas production and the corresponding startup process parameters, a dynamic full process chain simulation model is established, wherein the full process chain includes the full process chain of oil and gas from the bottom of the well, the wellhead, the sea pipeline, the platform process to external transmission; S2: Establish a control system simulation model based on the entire process chain flow and process supporting control logic; S3: Connecting the dynamic full process chain simulation model and the control system simulation model through an OPC interface to construct a twin model of the full process chain of oil and gas production; S4: according to the first commissioning plan of offshore oil and gas production, set the initial startup process parameters and boundary conditions, run the twin model according to the startup sequence for virtual debugging, and obtain the debugging results; S5: Analyze the debugging result, diagnose whether at least one of the control logic, control parameter setting, startup timing plan, startup pressure flow, pipeline flow safety, and startup time in the initial production plan is reasonable, and obtain a virtual debugging diagnosis result; S6: Optimizing the startup process parameters according to the virtual commissioning diagnosis results.

[0005] In one embodiment of the present disclosure, the initial production plan includes multiple startup plans; wherein the method further includes: Plan the various initial startup plans according to different processes or emergency management requirements; Performing virtual debugging on the multiple initial startup schemes based on the twin model to obtain debugging results corresponding to each initial startup scheme; Based on the debugging result corresponding to each initial startup scheme, an optimal startup scheme is selected from the multiple initial startup schemes.

[0006] In one embodiment of the present disclosure, the twin model of the entire process chain of oil and gas production is constructed according to the dynamic entire process chain simulation model and the control system simulation model, including: The dynamic full process chain simulation model and the control system simulation model are connected via an OPC interface to obtain the twin model.

[0007] In one embodiment of the present disclosure, the full process chain includes the entire process chain from oil and gas passing through the bottom of the well, the wellhead, the sea pipeline, the platform process to external transmission.

[0008] The present invention also provides a virtual pre-commissioning system for the first commissioning of offshore oil and gas production, comprising: The full process chain simulation module is used to establish a dynamic full process chain simulation model according to the full process chain process of offshore oil and gas production and the corresponding startup process parameters, wherein the full process chain process includes the full process chain of oil and gas from the bottom of the well, the wellhead, the sea pipeline, the platform process to the external transmission; A control system simulation module is used to establish a control system simulation model according to the full process chain flow and process supporting control logic; A model building module, used to connect the dynamic full process chain simulation model and the control system simulation model through an OPC interface to build a twin model of the full process chain of oil and gas production; The commissioning scheme debugging module is used to set the initial startup process parameters and boundary conditions according to the first commissioning scheme of offshore oil and gas production, run the twin model according to the startup sequence for virtual debugging, and obtain the debugging results; A debugging result diagnosis module is used to analyze the debugging result, diagnose whether at least one of the control logic, control parameter setting, startup timing plan, startup pressure flow, pipeline flow safety, and startup time in the first production plan is reasonable, and obtain a virtual debugging diagnosis result; A process parameter optimization module is used to optimize the startup process parameters according to the virtual commissioning diagnosis result.

[0009] In one embodiment of the present disclosure, the initial production plan includes multiple startup plans; wherein: The full process chain simulation module is used to plan the multiple initial startup plans according to different processes or emergency management requirements; The commissioning scheme debugging module is used to perform virtual debugging on the multiple initial startup schemes based on the twin model to obtain a debugging result corresponding to each initial startup scheme; The system further comprises: The startup scheme screening module is used to screen the best startup scheme from the multiple initial startup schemes based on the debugging result corresponding to each initial startup scheme.

[0010] In one embodiment of the present disclosure, the model building module is used to connect the dynamic full process chain simulation model and the control system simulation model through an OPC interface to obtain the twin model.

[0011] In one embodiment of the present disclosure, the full process chain includes the entire process chain from oil and gas passing through the bottom of the well, the wellhead, the sea pipeline, the platform process to external transmission.

[0012] The technical effect of the present invention is as follows: the virtual pre-debugging method for the first commissioning of offshore oil and gas production of the present invention comprises establishing a dynamic full process chain simulation model according to the full process chain flow of offshore oil and gas production and the corresponding startup process parameters, wherein the full process chain flow includes the full process chain of oil and gas from the bottom of the well, the wellhead, the sea pipeline, the platform process to the external transmission; establishing a control system simulation model according to the full process chain flow and the process supporting control logic; connecting the dynamic full process chain simulation model and the control system simulation model through the OPC interface to construct a twin model of the full process chain flow of oil and gas production; setting the initial startup process parameters and boundary conditions according to the first commissioning plan of offshore oil and gas production, and running the twin model according to the startup sequence for virtual debugging to obtain the debugging results; Analyze the debugging results, diagnose whether at least one of the control logic, control parameter settings, startup timing plan, startup pressure flow, pipeline flow safety, and startup time in the initial production plan is reasonable, and obtain the virtual debugging diagnosis results; optimize the startup process parameters according to the virtual debugging diagnosis results, and use the twin model of the entire process flow such as integrated wells, subsea pipelines, risers, and platforms to achieve pre-commissioning work from unit to overall linkage. Production operators can be trained to deepen their understanding of the production system, virtually debug all aspects of the overall production, improve the consistency between debugging and actual production conditions, and reduce offshore debugging time; and establish and run multiple and multi-dimensional scenario tests to verify whether the design parameters are reasonable and determine the optimal operating parameter range.

[0013] 2. The virtual pre-commissioning system for the first commissioning of offshore oil and gas production of the present invention, based on the integrated understanding of the dynamic characteristics of the system, from the perspective of the system, a parameter change in the system will inevitably cause a chain reaction of the system. The integrated model includes various production links, and some parameters of a certain link can be manually adjusted to examine the dynamic feedback caused, so as to deeply understand the sensitivity and system bottleneck problems. Based on the full-process integrated simulation virtual commissioning technology, the transformation from traditional commissioning to virtual commissioning is realized. The problem that process data cannot be used for commissioning in the early stage in traditional commissioning is solved, thereby greatly improving the efficiency and accuracy of commissioning. Since the dynamic model used in virtual commissioning supports accelerated operation and iterative commissioning, it can greatly save the manpower and material resources required for on-site commissioning. After the problems in the control system are discovered and solved in advance, the system can be put into production and started in advance, which has significant contributions to economy and safety. The virtual digital system simulation is used to realize the pre-commissioning work from unit to overall joint commissioning, eliminate the contradiction between the integration of the control system and the process system, improve the stability of the production process, and greatly save the commissioning time of the offshore site commissioning and save the high cost of the offshore early commissioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a flow chart of the virtual pre-commissioning method for the first commissioning of offshore oil and gas production of the present invention.

[0015] Figure 2 It is a schematic diagram of the debugging process of the virtual pre-debugging method for the first commissioning of offshore oil and gas production provided by the present invention.

[0016] Figure 3 It is a structural schematic diagram of a virtual pre-commissioning system for the first commissioning of offshore oil and gas production according to the present invention.

[0017] Description of the main numbers in the figure: 110-dynamic full process chain simulation model unit; 120-control system simulation model unit; 210-full process chain simulation module; 220-control system simulation module; 230-model building module; 240-production plan debugging module; 250-debugging result diagnosis module; 260-process parameter optimization module. DETAILED DESCRIPTION

[0018] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0019] Figure 1 This is a virtual pre-commissioning method for the first commissioning of offshore oil and gas production of the present invention. Figure 1 As shown, in one embodiment, a virtual pre-commissioning method for the first commissioning of offshore oil and gas production includes the following steps:

[0020] S1: According to the full process chain of offshore oil and gas production and the corresponding startup process parameters, a dynamic full process chain simulation model is established, where the full process chain includes the entire process chain of oil and gas from the bottom of the well, wellhead, sea pipeline, platform process to external transmission; S2: Establish a control system simulation model based on the entire process chain and process supporting control logic; S3: Connect the dynamic full process chain simulation model and the control system simulation model through the OPC interface to build a twin model of the full process chain of oil and gas production; S4: According to the first commissioning plan of offshore oil and gas production, the initial startup process parameters and boundary conditions are set, and the twin model is run according to the startup sequence for virtual debugging to obtain the debugging results; S5: Analyze the debugging results, diagnose whether at least one of the control logic, control parameter settings, startup sequence plan, startup pressure flow, pipeline flow safety, and startup time in the initial production plan is reasonable, and obtain virtual debugging diagnosis results; S6: Optimize startup process parameters based on virtual commissioning diagnosis results.

[0021] In one embodiment, the full process chain includes the full process chain of multiple processes of offshore oil and gas from the bottom of the well, the wellhead, the sea pipe, the riser, the platform process to the external transmission. Corresponding startup process parameters are set in each process. It should be noted that the startup process parameters of each process can be set according to actual needs, and this disclosure does not make specific restrictions on this. For example, at least one of the oil and gas temperature, pressure, flow rate, composition, output, valve opening, etc. can be used as the startup process parameter.

[0022] In S1, the startup process parameters for constructing a dynamic full-process chain simulation model refer to process parameter variables in a specific process, that is, process parameters that can affect the quality or performance of oil and gas production by adjusting the startup process parameters.

[0023] The process supporting control logic includes but is not limited to process system startup, shutdown, process execution sequence, etc. Different initial startup plans may have different process supporting control logics, or may have the same process supporting control logic, which is not specifically limited in this disclosure.

[0024] The control system simulation model can simulate the corresponding control processes in various processes of offshore oil and gas from well bottom, wellhead, sea pipeline, riser, platform technology to external transmission.

[0025] OPC (OLE for Process Control, Object Linking and Embedding), OLE (Object Linking and Embedding) for process control, OPC includes a complete set of standard interfaces, properties and methods for process control and manufacturing automation systems. OLE is a desktop application integration, and also defines and implements a mechanism that allows applications to connect to each other as software objects, which can be used to create compound documents. Compound documents include data created in different source applications and of different types.

[0026] The OPC interface is a series of specifications jointly developed by industry suppliers, end users and software developers. It can define the interface between clients and servers and between servers. By calling the OPC interface, you can access real-time data, monitor alarms and events, access historical data and other applications, etc.

[0027] In the present invention, the OPC interface can be used to implement a dynamic full process chain simulation model and a control system simulation model, thereby constructing a twin model of the full process chain flow of oil and gas production.

[0028] The twin model of the entire process chain of oil and gas production can be an application that simulates the entire process chain, process parameters and process supporting control logic in actual production in a virtual system.

[0029] The offshore oil and gas production first production plan refers to the plan used when the oil and gas field is first produced.

[0030] In S4, setting the initial startup process parameters refers to the process of assigning corresponding values ​​to the startup process parameters in S1 according to the corresponding initial production plan. For example, the initial startup process parameters of the subsea pipeline include the initial startup temperature, and the initial startup temperature is 10°C.

[0031] In S4, setting boundary conditions refers to the process of assigning values ​​to the change amplitude or range of the startup process parameters during the process. By setting boundary conditions, it is possible to ensure that the changes of various startup process parameters during the process are within a safe range, thereby ensuring the safety of the production system.

[0032] In S4, the start-up sequence may be determined by the entire process chain flow and the corresponding process supporting control logic, and different process supporting control logics may have different start-up sequences. The present disclosure does not specifically limit the start-up sequence.

[0033] In one embodiment, the debugging results may include a logic control diagram, a startup timing diagram, a startup time, etc., so as to determine whether the startup timing plan and startup time meet the process supporting control logic by comparing the startup timing diagram. If it is unreasonable, a startup timing adjustment suggestion can be generated.

[0034] In one embodiment, the debugging results may also include control parameters, starting pressure flow and other parameters. By comparing the relationship between the control parameters and the corresponding boundary conditions, it can be judged whether the above parameter configuration is reasonable. If it is unreasonable, parameter optimization suggestions or reminders can be generated, so as to promptly remind relevant personnel to pay attention and optimize the starting process parameters.

[0035] In addition, the debugging results can also include parameters such as pipeline flow safety, so as to determine whether the simulated pipeline flow safety is reasonable and obtain the corresponding virtual debugging diagnosis results.

[0036] In S6, the startup process parameters are optimized according to the virtual debugging diagnosis results. The optimized startup process parameters and the corresponding process parameter values ​​can also be used to regenerate the initial startup plan, and the newly generated initial startup plan is virtually debugged again until at least one of the control logic, control parameter settings, startup timing plan, startup pressure flow, pipeline flow safety, and startup time in the initial startup plan is reasonable.

[0037] The virtual pre-debugging method for the first commissioning of offshore oil and gas production of the present invention includes establishing a dynamic full process chain simulation model according to the full process chain flow of offshore oil and gas production and the corresponding startup process parameters, wherein the full process chain flow includes the full process chain of oil and gas passing through the bottom of the well, the wellhead, the sea pipeline, the platform process to the external transmission; establishing a control system simulation model according to the full process chain flow and the process supporting control logic; connecting the dynamic full process chain simulation model and the control system simulation model through the OPC interface to construct a twin model of the full process chain flow of oil and gas production; setting the initial startup process parameters and boundary conditions according to the first commissioning plan of offshore oil and gas production, running the twin model according to the startup sequence for virtual debugging, and obtaining the debugging results; analyzing the debugging results , diagnose whether at least one of the control logic, control parameter settings, startup timing plan, startup pressure flow, pipeline flow safety, and startup time in the initial production plan is reasonable, and obtain virtual commissioning diagnosis results; optimize the startup process parameters according to the virtual commissioning diagnosis results, and use the twin model of the entire process flow such as integrated wells, subsea pipelines, risers, and platforms to realize pre-commissioning work from unit to overall linkage. Production operators can be trained to deepen their understanding of the production system, virtually debug all aspects of the overall production, improve the consistency between debugging and actual production conditions, and reduce offshore commissioning time; and establish and run multiple and multi-dimensional scenario tests to verify whether the design parameters are reasonable and determine the optimal operating parameter range.

[0038] Figure 2 The virtual pre-commissioning method of the present invention can be used as follows: Figure 2 As shown in the figure, the virtual commissioning system for the first commissioning of offshore oil and gas production is completed, wherein the system includes a dynamic full process chain simulation model unit 110 and a control system simulation model unit 120. From the perspective of single-loop testing, the dynamic full process chain simulation model unit 110 can not only realize the verification of the basic settings of the controller (for example, positive and negative effects, anti-integral saturation, dead zone hysteresis setting, etc.), but also realize the preliminary setting of PID parameters (for example, startup process parameters), speeding up and ensuring the switching process to automatic control. From the perspective of control logic testing, the control system simulation model unit 120 can calculate the process parameters under all conditions such as startup, shutdown, increase and decrease of production, and test whether the code logic (such as SFC) of the control system is correct. The high and low point setting verification of the SIS system can also be tested through the extreme working conditions of the model, not only to test whether the code is written correctly, but also to perform iterative debugging to find the optimal alarm setting value. Through virtual debugging, common errors that can be found include the corresponding problems of I / O signals and instrument points, the description of the control logic does not meet the process requirements, the control logic code writing problems, and the connection problems between HMI and the control system database.

[0039] In one embodiment, the initial production plan includes multiple startup plans; the virtual pre-commissioning method for the initial production of offshore oil and gas production in the embodiment of the present invention also includes: Plan a variety of initial startup plans based on different processes or emergency management requirements; Based on the twin model, multiple initial startup schemes are virtually debugged to obtain the debugging results corresponding to each initial startup scheme; Based on the debugging results corresponding to each initial startup scheme, the optimal startup scheme is selected from multiple initial startup schemes.

[0040] In one embodiment, the initial commissioning plan for offshore oil and gas production includes multiple startup plans, and the multiple startup plans are virtually debugged through the twin system to screen out the optimal startup plan, thereby ensuring the reliability of the offshore oil and gas field commissioning.

[0041] It should be noted that the implementation process of various initial startup schemes is different from Figure 1 The implementation process provided in the embodiment is similar and will not be repeated here.

[0042] In an embodiment of the present invention, a dynamic full process chain simulation model is established according to the full process chain flow of offshore oil and gas production and the corresponding startup process parameters, wherein the full process chain flow includes the full process chain of oil and gas from the bottom of the well, the wellhead, the sea pipeline, the platform process to the external transmission; a control system simulation model is established according to the full process chain flow and the process supporting control logic; the dynamic full process chain simulation model and the control system simulation model are connected through the OPC interface to construct a twin model of the full process chain flow of oil and gas production; according to the first production plan of offshore oil and gas production, the initial startup process parameters and boundary conditions are set, and the twin model is run according to the startup sequence for virtual debugging to obtain the debugging results; the debugging results are analyzed to diagnose the first production Whether at least one of the control logic, control parameter settings, startup timing plan, startup pressure flow, pipeline flow safety, and startup time in the plan is reasonable, and the virtual commissioning diagnosis result is obtained; according to the virtual commissioning diagnosis result, the startup process parameters are optimized, and the twin model of the entire process flow such as integrated wells, subsea pipelines, risers, and platforms is used to realize pre-commissioning work from unit to overall linkage. Production operators can be trained to deepen their understanding of the production system, virtually debug all aspects of the overall production, improve the consistency between debugging and actual production conditions, and reduce offshore commissioning time; and establish and run multiple and multi-dimensional scenario tests to verify whether the design parameters are reasonable and determine the optimal operating parameter range.

[0043] Figure 3 Schematic diagram of the structure of the virtual pre-commissioning system for the first commissioning of offshore oil and gas production of the present invention. Figure 3 As shown, in one embodiment, a virtual pre-commissioning system for the first commissioning of offshore oil and gas production includes:

[0044] The full process chain simulation module 210 is used to establish a dynamic full process chain simulation model according to the full process chain process of offshore oil and gas production and the corresponding startup process parameters, wherein the full process chain process includes the full process chain of oil and gas from the bottom of the well, the wellhead, the sea pipeline, the platform process to the external transmission; The control system simulation module 220 is used to establish a control system simulation model according to the whole process chain flow and process supporting control logic; The model building module 230 is used to connect the dynamic full process chain simulation model and the control system simulation model through the OPC interface to build a twin model of the full process chain of oil and gas production; The commissioning scheme debugging module 240 is used to set initial startup process parameters and boundary conditions according to the first commissioning scheme of offshore oil and gas production, run the twin model according to the startup sequence for virtual debugging, and obtain the debugging results; The debugging result diagnosis module 250 is used to analyze the debugging results, diagnose whether at least one of the control logic, control parameter settings, startup timing plan, startup pressure flow, pipeline flow safety, and startup time in the initial production plan is reasonable, and obtain virtual debugging diagnosis results; The process parameter optimization module 260 is used to optimize the startup process parameters according to the virtual commissioning diagnosis results.

[0045] In one embodiment, the initial production plan includes multiple startup plans; the full process chain simulation module 210 is used to plan multiple initial startup plans according to different processes or emergency management requirements; The commissioning scheme debugging module 240 is used to perform virtual debugging on multiple initial startup schemes based on the twin model to obtain the debugging results corresponding to each initial startup scheme; The system also includes a startup scheme screening module which is not shown in the attached figure. The startup scheme screening module is used to screen the best startup scheme from multiple initial startup schemes based on the debugging result corresponding to each initial startup scheme.

[0046] It should be noted that the specific implementation of the system is the same as the specific implementation of the method embodiment, and the similarities are not repeated here.

[0047] In the present invention, a twin model of the entire process flow, including integrated wells, subsea pipelines, risers, platforms, etc., is used to realize pre-debugging work from unit to overall joint debugging; virtual training is conducted for production operators to deepen their understanding of the production system; all aspects of the overall production are virtually debugged to improve the consistency between debugging and actual production conditions and reduce offshore debugging time; and multiple and multi-dimensional scenario tests are established and run to verify whether the design parameters are reasonable and to determine the optimal operating parameter range.

[0048] In the present invention, according to the integrated understanding of the dynamic characteristics of the system, from the perspective of the system, a change in a parameter in the system will inevitably cause a chain reaction of the system. The integrated model includes various production links, and certain parameters of a certain link can be manually adjusted to examine the dynamic feedback caused, so as to deeply understand the sensitivity and system bottleneck problems. Based on the full-process integrated simulation virtual debugging technology, the transformation from traditional debugging to virtual debugging is realized. The problem that process data cannot be used for debugging in the early stage in traditional debugging is solved, thereby greatly improving the efficiency and accuracy of debugging. Since the dynamic model used in virtual debugging supports accelerated operation and iterative debugging, it can greatly save the manpower and material resources required for on-site debugging. After the problems in the control system are discovered and solved in advance, the system can be put into production and started in advance, which has significant contributions to economy and safety. The virtual digital system simulation is used to realize the pre-debugging work from unit to overall joint debugging, eliminate the contradiction between the integration of the control system and the process system, improve the stability of the production process, and greatly save the commissioning time of the offshore site, saving the high cost of early offshore production.

[0049] The full-process virtual debugging technology of the production process chain is based on the full-process integrated simulation to reproduce the process flow and control logic. It uses the full-process integrated coupling model combined with the soft control program of the simulation control system to realize the pre-debugging work from unit to overall joint debugging, eliminate the contradiction between the integration of the control system and the process system, and improve the stability of the production process. It can pre-debug the startup process, analyze and diagnose and optimize various processes, test the dynamic changes of process system pressure, temperature, flow, components and other parameters during the startup and shutdown of the process system to the linkage feedback of the control system, verify whether the parking logic can effectively guarantee the safety of the process system, and dynamically verify the overall adaptability and stability of the process under various disturbances, etc., realizing the transformation from traditional on-site debugging to virtual debugging, greatly improving the efficiency and accuracy of debugging. And through the integrated dynamic model in the virtual digital environment to accelerate operation and iterative debugging, it can detect a variety of complex working conditions, greatly saving the manpower and material resources required for on-site debugging, thereby greatly saving the time of commissioning on the offshore site and saving the high cost of offshore commissioning.

[0050] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Equivalent substitutions or changes made by those skilled in the art based on the present invention are within the protection scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A virtual pre-commissioning method for the first commissioning of offshore oil and gas production, characterized in that: include: S1: Establish a dynamic full process chain simulation model according to the full process chain process of offshore oil and gas production and the corresponding startup process parameters, wherein the full process chain process includes the full process chain of oil and gas from the bottom of the well, the wellhead, the sea pipeline, the platform process to the external transmission, and the startup process parameters include at least one of the oil and gas temperature, pressure, flow, composition, output, and valve opening; S2: Establish a control system simulation model based on the entire process chain flow and process supporting control logic; S3: constructing a twin model of the entire process chain of oil and gas production according to the dynamic entire process chain simulation model and the control system simulation model; S4: according to the offshore oil and gas production initial commissioning plan, set initial startup process parameters and boundary conditions, run the twin model according to the startup sequence for virtual debugging, and obtain the debugging results, wherein the initial commissioning plan includes multiple startup plans; S5: Analyze the debugging result, diagnose whether at least one of the control logic, control parameter setting, startup timing plan, startup pressure flow, pipeline flow safety, and startup time in the initial production plan is reasonable, and obtain a virtual debugging diagnosis result; S6: Optimizing the startup process parameters according to the virtual commissioning diagnosis result; Among them, the method also includes: planning the multiple initial startup plans according to different processes or emergency management requirements; performing virtual debugging on the multiple initial startup plans based on the twin model to obtain debugging results corresponding to each initial startup plan; based on the debugging results corresponding to each initial startup plan, selecting the optimal startup plan from the multiple initial startup plans.

2. The method according to claim 1, characterized in that The twin model of the entire process chain of oil and gas production is constructed according to the dynamic entire process chain simulation model and the control system simulation model, including: The dynamic full process chain simulation model and the control system simulation model are connected via an OPC interface to obtain the twin model.

3. A virtual pre-commissioning system for the first commissioning of offshore oil and gas production, characterized in that: include: The full process chain simulation module is used to establish a dynamic full process chain simulation model according to the full process chain process of offshore oil and gas production and the corresponding startup process parameters, wherein the full process chain process includes the full process chain of oil and gas from the bottom of the well, the wellhead, the sea pipeline, the platform process to the external transmission, and the startup process parameters include at least one of the oil and gas temperature, pressure, flow, composition, output, and valve opening; A control system simulation module is used to establish a control system simulation model according to the full process chain flow and process supporting control logic; A model building module, used to connect the dynamic full process chain simulation model and the control system simulation model through an OPC interface to build a twin model of the full process chain of oil and gas production; A commissioning scheme debugging module is used to set initial startup process parameters and boundary conditions according to the first commissioning scheme of offshore oil and gas production, run the twin model according to the startup sequence for virtual debugging, and obtain the debugging results, wherein the first commissioning scheme includes multiple startup schemes; A debugging result diagnosis module is used to analyze the debugging result, diagnose whether at least one of the control logic, control parameter setting, startup timing plan, startup pressure flow, pipeline flow safety, and startup time in the first production plan is reasonable, and obtain a virtual debugging diagnosis result; A process parameter optimization module, used for optimizing the startup process parameters according to the virtual commissioning diagnosis result; The full process chain simulation module is used to plan a variety of initial startup plans according to different processes or emergency management requirements; The commissioning scheme debugging module is used to perform virtual debugging on the multiple initial startup schemes based on the twin model to obtain a debugging result corresponding to each initial startup scheme; The system further comprises: The startup scheme screening module is used to screen the best startup scheme from the multiple initial startup schemes based on the debugging result corresponding to each initial startup scheme.

4. The system according to claim 3, characterized in that The model building module is used to connect the dynamic full process chain simulation model and the control system simulation model through the OPC interface to obtain the twin model.