Natural gas station control method and related device

By establishing the station digital twin and neural network model, the optimal control scheme for the natural gas station is determined, which solves the problem of low flexibility of traditional control methods and achieves efficient operation and intelligent control of the natural gas station.

CN118778474APending Publication Date: 2024-10-15CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410756618.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Traditional natural gas station control methods are difficult to achieve refined and intelligent control, have low flexibility, and are difficult to operate efficiently in complex and changeable operating environments.

Method used

By establishing a digital twin of the station and based on the neural network model, simulation boundary prediction and simulation of multiple control schemes within the control feasible region are carried out to determine the optimal control scheme to achieve efficient operation of the natural gas station.

Benefits of technology

It achieves refined and intelligent control of natural gas stations, quickly and accurately selects the optimal control plan, and improves operational efficiency and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778474A_ABST
    Figure CN118778474A_ABST
Patent Text Reader

Abstract

The invention discloses a natural gas station control method and a related device, which can be used in the field of natural gas station control, and the method comprises the steps: firstly, determining a control feasible region based on station operation data through a pre-established station digital twin; then, simulation boundaries of a plurality of control schemes in the control feasible region are predicted based on a neural network model, and boundary conditions changing along with time are obtained; then, on the basis of the boundary conditions, the multiple control schemes in the control feasible region are simulated, and respective simulation results of the multiple control schemes are obtained; and finally, according to a simulation result, determining an optimal control scheme from the plurality of control schemes so as to control the natural gas station based on the optimal control scheme. Therefore, the optimal control scheme which most meets the requirement can be quickly, accurately and flexibly selected from numerous executable control schemes, the natural gas station is controlled through the optimal control scheme, and efficient operation of the natural gas station is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of natural gas station control technology, and in particular to a natural gas station control method and related devices. Background Art

[0002] With the continuous improvement of the requirements for natural gas metering, the control of natural gas stations is facing greater and greater challenges.

[0003] Natural gas stations are key infrastructure that make the natural gas supply process reliable, efficient and safe, including various process stations in gas pipeline projects. Their main functions include receiving natural gas, pressurizing pipeline natural gas, distribution, gas distribution, gas storage and peak regulation, sending and receiving pigs, etc. The pipelines of natural gas stations are complex, and usually need to control the coordinated operation of multiple process flows for achieving different functions. The operation process of process flow switching in daily operation is complicated.

[0004] At present, traditional natural gas station control methods rely heavily on manual experience and fixed control strategies. Although these control methods can achieve control of natural gas stations, their limitations are gradually revealed in the face of complex and changing operating environments. Specifically, on the one hand, traditional natural gas station control methods are difficult to carry out refined and intelligent control of natural gas stations; on the other hand, the control strategy is a pre-set fixed strategy with low flexibility, making it difficult to achieve efficient operation of natural gas stations.

[0005] Therefore, how to achieve efficient operation of natural gas stations has become a problem that needs to be solved. Summary of the invention

[0006] Based on the above problems, the present application provides a natural gas station control method and related devices, which can realize the efficient operation of the natural gas station.

[0007] The embodiments of the present application disclose the following technical solutions:

[0008] In a first aspect, an embodiment of the present application provides a natural gas station control method, the method comprising:

[0009] By means of a pre-established station digital twin, a control feasible domain is determined based on station operation data; the station digital twin is established based on station construction information, station operation data and operation process information of the natural gas station;

[0010] Predicting the simulation boundaries of multiple control schemes within the control feasible domain based on the neural network model to obtain boundary conditions that vary with time;

[0011] Based on the boundary conditions, simulating multiple control schemes within the control feasible domain respectively to obtain simulation results of the multiple control schemes;

[0012] According to the simulation results, an optimal control scheme is determined from the multiple control schemes, so as to control the natural gas station based on the optimal control scheme.

[0013] Optionally, the determining the control feasible domain based on the station operation data by using the pre-established station digital twin includes:

[0014] The first feasible domain is obtained by processing the station operation data through the pre-established station digital twin;

[0015] Based on the first feasible domain, parameter identification is performed on the data of each operating point in the natural gas station to obtain parameter identification results corresponding to each of the multiple control schemes in the first feasible domain;

[0016] Based on the parameter identification result, the first feasible region is reduced to obtain a control feasible region.

[0017] Optionally, based on the boundary conditions, simulating a plurality of control schemes within the control feasible domain respectively to obtain simulation results of the plurality of control schemes respectively includes:

[0018] Based on the boundary conditions, the multiple control schemes are respectively simulated at multiple scales using the station operation data to obtain multivariate simulation information of each of the multiple control schemes; the multivariate simulation information at least includes valve simulation information, pipe section simulation information and manifold simulation information;

[0019] According to the adjacency matrix algorithm of directed graph connection, the multivariate simulation information of each of the multiple control schemes is jointly solved respectively to obtain the simulation results of each of the multiple control schemes.

[0020] Optionally, after determining the optimal control scheme from the multiple control schemes according to the simulation results, the method further includes:

[0021] Performing simulation verification on the optimal control scheme;

[0022] If the optimal control scheme passes the simulation verification, the natural gas station is controlled based on the optimal control scheme.

[0023] Optionally, the station digital twin is established by the following method:

[0024] Acquire station construction information, station operation data and operation process information of the natural gas station; the station operation data includes pressure, flow rate and temperature data of the natural gas flowing through each device in the natural gas station;

[0025] Based on the station construction information, the station operation data and the operation process information, a station digital twin is formed through a hybrid model of data drive and mechanism drive.

[0026] Optionally, the obtaining of the operation process information of the natural gas station includes:

[0027] Obtain the current status information and status change information of each device in the natural gas station;

[0028] The current state information and the state change information of each node are processed by the target tree-success tree method to obtain the operation process information of the natural gas station.

[0029] Optionally, the forming of a station digital twin through a hybrid model of data-driven and mechanism-driven based on the station construction information, the station operation data and the operation process information includes:

[0030] Processing the station operation data through a hybrid model of data drive and mechanism drive to form station observation data;

[0031] A station digital twin is formed based on the station construction information, the station observation data and the operation process information.

[0032] In a second aspect, an embodiment of the present application provides a natural gas station control device, the device comprising: a control feasible domain determination module, a neural network prediction module, a simulation module and a decision module;

[0033] The control feasible domain determination module is used to determine the control feasible domain based on the station operation data through the pre-established station digital twin; the station digital twin is established based on the station construction information, station operation data and operation process information of the natural gas station;

[0034] The neural network prediction module is used to predict the simulation boundaries of multiple control schemes within the control feasible domain based on the neural network model to obtain boundary conditions that change over time;

[0035] The simulation module is used to simulate the multiple control schemes in the control feasible domain respectively based on the boundary conditions to obtain simulation results of the multiple control schemes respectively;

[0036] The decision module is used to determine the optimal control scheme from the multiple control schemes according to the simulation results, so as to control the natural gas station based on the optimal control scheme.

[0037] In a third aspect, an embodiment of the present application provides a natural gas station control device, the device comprising: a memory and a processor;

[0038] The memory is used to store program code and transmit the program code to the processor;

[0039] The processor is used to execute the steps of the natural gas station control method described in any embodiment of the first aspect according to the program code.

[0040] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program runs on a natural gas station control device, the natural gas station control device performs the steps of the natural gas station control method described in any embodiment of the first aspect above.

[0041] Compared with the prior art, this application has the following beneficial effects:

[0042] The embodiment of the present application provides a natural gas station control method, in which, first, a control feasible domain is determined based on the station operation data through a pre-established station digital twin; then, the simulation boundaries of multiple control schemes in the control feasible domain are predicted based on a neural network model to obtain boundary conditions that change over time; then, based on the boundary conditions, multiple control schemes in the control feasible domain are simulated respectively to obtain simulation results of each of the multiple control schemes; finally, according to the simulation results, an optimal control scheme is determined from multiple control schemes, so as to control the natural gas station based on the optimal control scheme. Thus, the control feasible domain is first determined using the station digital twin and the boundary conditions are determined using the neural network model, and then simulation is performed based on the control feasible domain and the boundary conditions, so that the optimal control scheme that best meets the needs can be selected from a large number of executable control schemes quickly, accurately and flexibly, and the natural gas station can be controlled with the optimal control scheme, so that the natural gas station can be controlled in a refined and intelligent manner, and the efficient operation of the natural gas station can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0044] Figure 1 A flow chart of a natural gas station control method provided in an embodiment of the present application;

[0045] Figure 2 A flow chart of another natural gas station control method provided in an embodiment of the present application;

[0046] Figure 3 A flow chart of a method for establishing a digital twin of a station provided in an embodiment of the present application;

[0047] Figure 4 A schematic diagram of a natural gas station control device provided in an embodiment of the present application;

[0048] Figure 5 A structural diagram of a natural gas station control equipment provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The natural gas station control method and related devices provided in the present application can be used in the field of natural gas station control. The above is only an example and does not limit the application field of the natural gas station control method and related devices provided in the present application.

[0050] The terms "first", "second", "third" and "fourth" etc. in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.

[0051] In the embodiments of the present application, the words "as an example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "as an example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the words "as an example" or "for example" is intended to present the relevant concepts in a specific way.

[0052] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.

[0053] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] See also Figure 1 , which is a flow chart of a natural gas station control method provided in an embodiment of the present application, the method comprising:

[0055] S101: Determine the control feasible domain based on the station operation data through the pre-established station digital twin.

[0056] Specifically, a station digital twin can be established based on the station construction information, station operation data and operation process information of the physical natural gas station, wherein the station digital twin is a virtual model corresponding to the natural gas station in the real world.

[0057] As an example, station construction information may include but is not limited to construction information such as automation control system architecture information, monitoring and data acquisition system information, instrument and control loop design information, and emergency shutdown system (ESD) information; station operation data may include but is not limited to data such as the pressure, flow rate, and temperature of natural gas flowing through equipment such as pipelines in the natural gas station during operation of the natural gas station, which may be collected through instruments such as pressure gauges, flow meters, and temperature gauges installed in the natural gas station; operation process information may include process information corresponding to each of the multiple process flows that can be executed by the natural gas station, for example, information such as the actions of each valve involved in the process flow and the order of the actions.

[0058] Optionally, the station operation data can be processed through the hybrid model of data-driven and mechanism-driven contained in the pre-established station digital twin, and the connection between the data of each collection point can be analyzed, and then expanded to analyze all the station operation data in the entire natural gas station, so as to obtain accurate and comprehensive station observation data; then, the station observation data is integrated to obtain the operation status of the current entity natural gas station, and then the control feasible region is obtained. Among them, the collection point can be an instrument monitoring point where instruments such as pressure gauges are located; the control feasible region includes the set of control variables in all control schemes that can control the natural gas station to achieve the desired effect.

[0059] S102: Predicting simulation boundaries of multiple control schemes within a control feasible domain based on a neural network model to obtain boundary conditions that vary with time.

[0060] Specifically, the simulation boundary is the boundary limit for data such as pressure and temperature in the process of using the simulation model to simulate the control scheme. For example, in the process of simulating the control scheme, the pipeline pressure cannot exceed a certain preset threshold value. The process of simulating the control scheme includes using the simulation model to simulate and execute a series of actions such as changing the valve opening, thereby simulating the process of the natural gas station applying the control scheme and continuously running. In this process, the simulation boundary can be a series of boundary limit values ​​that change over time.

[0061] For example, in order to accurately predict the simulation boundaries of multiple control schemes within the control feasible domain, a method based on a neural network model can be adopted. By taking advantage of the powerful data processing and pattern recognition capabilities of the neural network model and using a pre-trained neural network model, for different control schemes, it is possible to effectively predict the time-varying boundary conditions that the simulation model used for simulation calculations needs to be subject to.

[0062] S103: Based on the boundary conditions, multiple control schemes within the control feasible region are simulated respectively to obtain simulation results of the multiple control schemes.

[0063] Specifically, the control feasible domain includes a set of control variables in all control schemes that can control the natural gas station to achieve the desired results, which may include a large number of control schemes composed of multiple control variables. These control schemes can be used to control the equipment in the natural gas station to a certain state so that the pressure, flow rate and temperature parameters in the natural gas station reach the desired values. For example, it can be used to control the valves in the natural gas station to a certain opening combination so that the operating pressure, flow rate and temperature parameters of the natural gas station reach the desired range. These control schemes are not necessarily all feasible, and it is necessary to determine whether each control scheme meets the boundary conditions to determine whether the control scheme is feasible. For example, if a certain control scheme may cause the pipeline pressure at a certain moment to exceed the boundary conditions of the pipeline pressure at that moment during the process of adjusting the valve opening, then the control scheme is not feasible.

[0064] For example, through the simulation model, each control scheme within the control feasible domain can be simulated and calculated based on the simulation boundary to obtain simulation results, which can be used to determine the feasibility of the control scheme and predict the control effect of the control scheme.

[0065] S104: Determine an optimal control scheme from multiple control schemes according to the simulation results, so as to control the natural gas station based on the optimal control scheme.

[0066] Specifically, when different control schemes are simulated and calculated through the simulation model, it is possible to compare which simulation result among the multiple simulation results obtained is more in line with the preset target, and the control scheme that best meets the preset target is taken as the optimal control scheme, and the optimal control scheme is actually applied to the natural gas station to facilitate the efficient operation of the natural gas station.

[0067] As an example, the preset goal may be to reduce the operating pressure drop of the natural gas station on the one hand to ensure the stable operation of the natural gas station; on the other hand, to reduce the number of actions that valves and other equipment need to perform to ensure the efficient operation of the natural gas station.

[0068] Optionally, if the preset target includes multiple different requirements, weights may be set for the multiple different requirements respectively, so as to find the optimal control scheme that takes into account the multiple requirements among multiple control schemes.

[0069] Therefore, the embodiment of the present application provides a natural gas station control method. First, the control feasible domain is determined based on the station operation data through the pre-established station digital twin; then, the simulation boundaries of multiple control schemes in the control feasible domain are predicted based on the neural network model to obtain boundary conditions that change over time; then, based on the boundary conditions, multiple control schemes in the control feasible domain are simulated respectively to obtain simulation results of multiple control schemes; finally, according to the simulation results, the optimal control scheme is determined from multiple control schemes, so as to control the natural gas station based on the optimal control scheme. Therefore, the control feasible domain is first determined using the station digital twin and the boundary conditions are determined using the neural network model, and then simulation is performed based on the control feasible domain and the boundary conditions, so that the optimal control scheme that best meets the needs can be selected from a large number of executable control schemes quickly, accurately and flexibly, and the natural gas station can be controlled with the optimal control scheme, so that the natural gas station can be controlled in a refined and intelligent manner, and the efficient operation of the natural gas station can be achieved.

[0070] See also Figure 2 , which is a flow chart of another natural gas station control method provided in an embodiment of the present application, the method comprising:

[0071] S201: Processing station operation data through a pre-established station digital twin to obtain a first feasible domain.

[0072] As an example, the hybrid model of data-driven and mechanism-driven in the pre-established digital twin of the station can be used to process the station operation data, analyze the data of each collection point, and then expand to analyze all the station operation data in the entire natural gas station, so as to obtain accurate and comprehensive station observation data; then, the station observation data is analyzed with the help of the observer and observation model in the digital twin of the station, and the operation status information set of all equipment in the current entity natural gas station is obtained, and the first feasible domain is determined in combination with the equipment operation logic and equipment operation plan in the pre-established expert experience library. Among them, the collection point can be an instrument monitoring point where instruments such as pressure gauges are located; the first feasible domain can be a set of control variables in all control schemes that control the natural gas station to achieve the desired effect.

[0073] S202: Based on the first feasible domain, parameter identification is performed on the data of each operating point in the natural gas station to obtain parameter identification results corresponding to each of the multiple control schemes in the first feasible domain.

[0074] Specifically, the operating point data refers to a combination of operating status parameters of natural gas processing equipment such as compressors and regulating valves in a natural gas station under specific operating conditions. These parameters may include but are not limited to the flow, pressure, temperature and efficiency of natural gas.

[0075] For example, the collected data of each operating point can be analyzed by parameter identification, that is, parameter analysis and data identification methods, so that the parameter values ​​of some unknown parameters can be determined, that is, parameter identification is performed on the unknown parameters to obtain parameter identification results.

[0076] S203: Based on the parameter identification result, the first feasible region is reduced to obtain a control feasible region.

[0077] Specifically, based on the parameter identification results, factors such as the maximum operating load of the equipment, the transportation capacity of the pipeline, and safety and environmental protection requirements can be comprehensively considered to determine which control schemes in the first feasible domain do not conform to the actual operating process, thereby removing the control schemes in the first feasible domain that do not conform to the actual operating process, narrowing the first feasible domain, and obtaining the control feasible domain.

[0078] S204: Predicting simulation boundaries of multiple control schemes within the control feasible domain based on the neural network model to obtain boundary conditions that vary with time.

[0079] For example, in order to accurately predict the simulation boundaries of multiple control schemes within the control feasible domain, a method based on a neural network model can be adopted. By utilizing the powerful data processing and pattern recognition capabilities of the neural network model and using a pre-trained neural network model, for different control schemes, it is possible to effectively predict the time-varying boundary conditions that the simulation model used for simulation calculations under the current operating conditions needs to follow.

[0080] S205: Based on the boundary conditions, the station operation data is used to perform multi-scale simulations on the multiple control schemes to obtain multivariate simulation information of the multiple control schemes.

[0081] As an example, the station operation data can be first processed and calculated through a hybrid model of data-driven and mechanism-driven in the station digital twin to form station observation data; then, based on the boundary conditions, the station observation data can be used to perform multi-scale simulations on multiple control schemes to obtain the multivariate simulation information of the multiple control schemes.

[0082] Specifically, the multivariate simulation information may include but is not limited to valve-level simulation information, pipe-section-level simulation information, and manifold-level simulation information.

[0083] For valve-level simulation information, the pipelines and equipment before and after each valve in the natural gas station can be regarded as a single pipe section, and the pipeline data before and after each valve can be integrated. The complex natural gas station can be abstracted into a one-pipe-one-valve model of the site unit. Therefore, based on the quasi-steady-state algorithm, by reading the information of the station digital twin model without reducing the calculation accuracy, the pressure and flow rate before and after the valve can be quickly calculated using the station observation data to form a flow characteristic curve of a single valve, and obtain valve-level simulation information that can provide a reference for active control.

[0084] For pipeline segment-level simulation information, the natural gas station can be divided into multiple abstract standard pipeline segments. By setting the equivalent pipe diameter to introduce corrected friction resistance and compensate for the error caused by local friction resistance, the friction resistance of a single pipeline segment can be corrected and the actual friction resistance of the pipeline segment can be calculated. Therefore, based on the finite volume method and using the station observation data, the pressure, flow and other parameter values ​​of the pipeline segment can be quickly calculated while considering the local friction resistance, thus achieving high-precision simulation calculation of the pipeline segment and obtaining pipeline segment-level simulation information.

[0085] For the simulation information of the header level, the accurate and reliable Kriging model established in advance can be used to simulate and solve the header. By using the observation data of the station, the spatial characteristics of pressure and flow that are ignored by the traditional simulation calculation can be calculated, so as to achieve high-precision simulation calculation of the header and obtain the simulation information of the header level. While ensuring the accuracy of the calculation results, it also has a faster calculation speed, and can provide a reliable simulation result basis for the flow distribution problem of parallel pipe sections in the natural gas station.

[0086] Specifically, for a control scheme, the established one-pipe-one-valve model can be used to solve the station operation data such as pressure, flow and temperature in the natural gas station when the control scheme is applied, and obtain valve-level simulation information; then, the results output by the one-pipe-one-valve model are solved by the PIPE model at the pipe section level to obtain high-precision pressure and flow distribution, that is, pipe section level simulation information; finally, the results output by the one-pipe-one-valve model are input into the manifold model of the manifold level to obtain manifold-level simulation information with flow velocity spatial distribution characteristics.

[0087] Therefore, the control scheme is simulated and calculated with full elements and multiple scales, which can obtain more accurate and comprehensive evaluation results and provide a reliable basis for the selection of control schemes.

[0088] S206: According to the adjacency matrix algorithm of directed graph connection, the multivariate simulation information of the multiple control schemes is jointly solved respectively to obtain the simulation results of the multiple control schemes.

[0089] Optionally, the adjacency matrix algorithm of directed graph connection can be used to connect various models or algorithms for simulation to form a directed matrix that can represent the topology and process of the natural gas station to support multi-step residual solution. The residuals of the results calculated by the PIPE model and the manifold model are iteratively solved, and the one-pipe-one-valve model is corrected with the iterative solution results until the residual meets the preset requirements and the simulation results of the control scheme are output.

[0090] S207: Determine an optimal control scheme from multiple control schemes according to the simulation results.

[0091] Specifically, an optimization algorithm can be used to compare the simulation results corresponding to different control schemes to see which simulation result is more in line with the preset target, and the control scheme whose simulation result best meets the preset target is taken as the optimal control scheme.

[0092] S208: Simulate and verify the optimal control solution. If the optimal control solution passes the simulation verification, execute step S209; if the optimal control solution fails the simulation verification, remove the optimal control solution and re-execute steps S207 to S208 until an optimal control solution that can pass the simulation verification is obtained.

[0093] For example, the optimal control scheme can be simulated and verified again through steps S205 to S206 to evaluate whether all operation processes in the optimal control scheme meet the safety requirements and efficiency targets. If so, step S209 is executed; if not, the optimal control scheme is removed, a new optimal control scheme is determined from the remaining control schemes, and then the new optimal control scheme is simulated and verified until an optimal control scheme that passes the simulation verification is obtained. Thus, the control scheme is multiple-verified to improve the reliability of the selected optimal control scheme.

[0094] S209: Control the natural gas station based on the optimal control solution.

[0095] For example, the optimal control solution may be output to an active control system, and the active control system actually controls the physical natural gas station based on the optimal control solution.

[0096] The embodiment of the present application proposes an active control strategy for natural gas stations based on digital twin technology, and realizes full-element, multi-scale simulation of natural gas stations based on quasi-steady-state algorithms and adjacency matrix algorithms connected by directed graphs; it realizes active acquisition of station operation data of natural gas stations, active selection of control schemes, active prediction of simulation boundaries, and multiple verifications of control schemes. As a result, active control of natural gas stations is realized, the intelligence level of natural gas stations is improved, and the operating potential of equipment can be more fully utilized, thereby improving the operating efficiency of natural gas stations, reducing energy consumption, and improving economic benefits.

[0097] See also Figure 3 , which is a flow chart of a method for establishing a digital twin of a station provided in an embodiment of the present application, the method comprising:

[0098] S301: Acquire station construction information, station operation data, and operation process information of a natural gas station.

[0099] As an example, the station construction information may include, but is not limited to, a three-dimensional layout diagram of the natural gas station, a process flow diagram, a pipeline instrument distribution diagram, and other construction information.

[0100] As an example, station operation data may include, but are not limited to, data such as the pressure, flow rate and temperature of natural gas flowing through equipment such as pipelines in the natural gas station during operation of the natural gas station, which can be collected through instruments such as pressure gauges, flow meters and temperature meters installed in the natural gas station.

[0101] As an example, the operation process information may include process information corresponding to each of multiple process flows being carried out at the natural gas station, for example, information including the actions of each valve involved in the process flow and the sequence of the actions.

[0102] Optionally, the station construction information and station operation data of the natural gas station may be data that has been standardized in advance.

[0103] Optionally, obtaining the operation process information may specifically include: first obtaining the current state information and state change information of each device in the natural gas station, for example, the current action, target action and process of reaching the target action of the devices such as valves and pipelines in the natural gas station may be obtained, wherein the current action may be a valve opening of 10%, the target action may be a valve opening of 60%, and the process of reaching the target action may be increasing the valve opening so that the valve opening changes from 10% to 60% within a period of time; then, the current state information and state change information are identified by the target tree-success tree (GTST) method, and the target action may be obtained by the target tree-success tree (GTST) method. These current status information and status change information are combined together. For example, the valves, pipelines and other equipment elements in the station and the valve switching and other actions that need to be realized are connected in a directed manner through the target tree-success tree method. The key valves in the natural gas station are used as the basis for judgment. The basic elements in the natural gas station, such as equipment status and natural gas flow characteristics, are decomposed. The description of each target action is realized through the combination of basic elements, and then the operating status and switching process of each process flow in the natural gas station are identified, and the operating process information that can provide an operating mode reference for the digital twin model is obtained.

[0104] S302: Based on the station construction information, station operation data and operation process information, a station digital twin is formed through a hybrid model of data-driven and mechanism-driven.

[0105] Exemplarily, the station operation data can be first processed through a hybrid model of data-driven and mechanism-driven to form station observation data; then, a station digital twin can be formed based on the station construction information, station observation data and operation process information.

[0106] Specifically, data-driven methods mainly rely on historical data and statistical analysis techniques, such as machine learning and deep learning algorithms, to discover laws and patterns in data; their advantages are that they can handle nonlinear problems and adapt to complex and changing data environments, but they lack interpretability and generalization capabilities when data is scarce or noisy. Mechanism-driven methods are based on the understanding of the inherent physical, chemical, biological or other scientific principles of the system, and describe the dynamic behavior and causal relationships of the system by establishing mathematical equations or logical relationships; they rely on known scientific laws and theories, can provide clear physical meaning and high interpretability, and are suitable for understanding the working mechanism of the system, but may not be flexible enough when dealing with highly nonlinear and uncertain problems.

[0107] As an example, a hybrid model of data-driven and mechanism-driven can be established by integrating historical station operation data with the data-driven model. The hybrid model of data-driven and mechanism-driven can combine the advantages of data-driven methods and mechanism-driven methods, overcome their respective limitations, and achieve both accurate and flexible modeling goals. Through the hybrid model of data-driven and mechanism-driven, using the least squares method, the connection between the data of each collection point in the station operation data can be analyzed, and then expanded to analyze the connection between all station operation data in the entire natural gas station, so as to obtain accurate and comprehensive station observation data. Among them, the collection point can be an instrument monitoring point where instruments such as pressure gauges are located.

[0108] Optionally, the Kalman filter algorithm can be used to iteratively solve the pipeline unsteady equation to obtain the observation data of the station. For example, the following pipeline space model can be derived based on the pipeline unsteady equation:

[0109]

[0110] Where p is pressure, Pa; v is the velocity of natural gas, m / s; x is the length of the calculation section, m; t is the time step of the calculation, s; ρ is the gas density under standard conditions, kg / m 3 ; D is the pipe diameter, m; λ is the friction coefficient, θ is the pipe inclination.

[0111] The pipeline space model is Laplace transformed to finally obtain the following pipeline observation equation:

[0112] z k =H k x k +v k

[0113] Where Z k is the observed value; H k is the measurement matrix; x k is the system noise; v k is the measurement error vector;

[0114] As an example, the station construction information provides construction information such as the three-dimensional layout diagram, process flow diagram, pipeline instrument distribution diagram of the physical natural gas station. The operation process information provides an operation mode reference for the digital twin model, so that a station digital twin that corresponds highly to the physical natural gas station can be established. At the same time, important flow parameters such as roughness in the station digital twin can be optimized based on the real-time collected station observation data. The station digital twin can be continuously updated and optimized to obtain a high-precision station digital twin, providing a reliable basis for the subsequent active selection of control schemes.

[0115] See also Figure 4 , this figure is a schematic diagram of a natural gas station control device provided in an embodiment of the present application, the device includes: a control feasible domain determination module 401, a neural network prediction module 402, a simulation module 403 and a decision module 404.

[0116] The control feasible domain determination module 401 is used to determine the control feasible domain based on the station operation data through the pre-established station digital twin; the station digital twin is established based on the station construction information, station operation data and operation process information of the natural gas station.

[0117] The neural network prediction module 402 is used to predict the simulation boundaries of multiple control schemes within the control feasible domain based on the neural network model to obtain boundary conditions that change with time.

[0118] The simulation module 403 is used to simulate multiple control schemes in the control feasible domain based on boundary conditions to obtain simulation results of each of the multiple control schemes.

[0119] The decision module 404 is used to determine the optimal control scheme from multiple control schemes according to the simulation results, so as to control the natural gas station based on the optimal control scheme.

[0120] Therefore, the embodiment of the present application provides a natural gas station control device, which uses the digital twin of the station to determine the control feasible domain, and uses the neural network model to determine the boundary conditions, and performs simulation based on the control feasible domain and boundary conditions. It can quickly, accurately and flexibly select the optimal control scheme that best meets the needs from a large number of executable control schemes, control the natural gas station with the optimal control scheme, and perform refined and intelligent control of the natural gas station to achieve efficient operation of the natural gas station.

[0121] Optionally, the control feasible domain determining module 401 may include a first feasible domain determining unit, a parameter identifying unit and a control feasible domain determining unit.

[0122] The first feasible domain determination unit is used to process the station operation data through a pre-established station digital twin to obtain a first feasible domain.

[0123] The parameter identification unit is used to perform parameter identification on the data of each operating point in the natural gas station based on the first feasible domain, and obtain parameter identification results corresponding to each of the multiple control schemes in the first feasible domain.

[0124] The control feasible region determining unit is used to reduce the first feasible region based on the parameter identification result to obtain the control feasible region.

[0125] Optionally, the simulation module 403 may include a multi-scale simulation unit and a simulation calculation unit.

[0126] The multi-scale simulation unit is used to perform multi-scale simulation on multiple control schemes based on boundary conditions and using station operation data to obtain multivariate simulation information of each of the multiple control schemes; the multivariate simulation information at least includes valve-level simulation information, pipe-section-level simulation information and manifold-level simulation information.

[0127] The simulation calculation unit is used to jointly solve the multivariate simulation information of each of the multiple control schemes according to the adjacency matrix algorithm of the directed graph connection, so as to obtain the simulation results of each of the multiple control schemes.

[0128] Optionally, in some other embodiments provided in the present application, the natural gas station control device also includes: a verification module, used to perform simulation verification on the optimal control scheme; if the optimal control scheme passes the simulation verification, the natural gas station is controlled based on the optimal control scheme.

[0129] The present application also provides a device for establishing a digital twin of a station, which includes: an acquisition module and an establishment module.

[0130] The acquisition module is used to obtain the station construction information, station operation data and operation process information of the natural gas station; the station operation data includes the pressure, flow and temperature data of the natural gas flowing through each device in the natural gas station.

[0131] A module is established to form a digital twin of the station through a hybrid model of data-driven and mechanism-driven based on the station construction information, the station operation data and the operation process information.

[0132] Therefore, the station construction information provides construction information such as the three-dimensional layout diagram, process flow diagram, pipeline instrument distribution diagram of the physical natural gas station, and the operation process information provides an operation mode reference for the digital twin model, so that a station digital twin that corresponds highly to the physical natural gas station can be established; at the same time, important flow parameters such as roughness in the station digital twin can be optimized based on the real-time collected station observation data, and the station digital twin can be continuously updated and optimized to obtain a high-precision station digital twin, providing a reliable basis for the subsequent active selection of control schemes.

[0133] Optionally, the acquisition module includes a cloud database and a process identification unit.

[0134] The cloud database is used to obtain the station construction information, station operation data, and current status information and status change information of each device of the natural gas station. Optionally, the cloud database can standardize the acquired information; the cloud database can also pre-store expert experience data.

[0135] The process identification unit is used to process the current state information and state change information of each node through the target tree-success tree method to obtain the operation process information of the natural gas station.

[0136] Optionally, the establishment module includes a twin data center and an establishment unit.

[0137] The twin data center is used to process station operation data through a hybrid model of data-driven and mechanism-driven to form station observation data.

[0138] A unit is established to form a digital twin of the station based on station construction information, station observation data and operation process information.

[0139] See also Figure 5 , this figure is a structural diagram of a natural gas station control device provided in an embodiment of the present application, and the device includes: a memory 501 and a processor 502.

[0140] Memory 501: used to store program codes and transmit the program codes to the processor.

[0141] Processor 502: used to execute the steps of the above-mentioned natural gas station control method according to the instructions in the program code.

[0142] In addition, the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on the natural gas station control device, the natural gas station control device executes the steps of the above-mentioned natural gas station control method.

[0143] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components indicated as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0144] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A natural gas station control method, characterized in that: The method comprises: By means of a pre-established station digital twin, a control feasible domain is determined based on station operation data; the station digital twin is established based on station construction information, station operation data and operation process information of the natural gas station; Predicting the simulation boundaries of multiple control schemes within the control feasible domain based on the neural network model to obtain boundary conditions that vary with time; Based on the boundary conditions, simulating multiple control schemes within the control feasible domain respectively to obtain simulation results of the multiple control schemes; According to the simulation results, an optimal control scheme is determined from the multiple control schemes, so as to control the natural gas station based on the optimal control scheme.

2. The method according to claim 1, characterized in that The method of determining the control feasible domain based on the station operation data by using the pre-established station digital twin includes: The first feasible domain is obtained by processing the station operation data through the pre-established station digital twin; Based on the first feasible domain, parameter identification is performed on the data of each operating point in the natural gas station to obtain parameter identification results corresponding to each of the multiple control schemes in the first feasible domain; Based on the parameter identification result, the first feasible region is reduced to obtain a control feasible region.

3. The method according to claim 1, characterized in that The simulating of the plurality of control schemes in the control feasible domain based on the boundary conditions to obtain simulation results of the plurality of control schemes respectively includes: Based on the boundary conditions, the multiple control schemes are respectively simulated at multiple scales using the station operation data to obtain multivariate simulation information of each of the multiple control schemes; the multivariate simulation information at least includes valve-level simulation information, pipe-section-level simulation information, and manifold-level simulation information; According to the adjacency matrix algorithm of directed graph connection, the multivariate simulation information of each of the multiple control schemes is jointly solved respectively to obtain the simulation results of each of the multiple control schemes.

4. The method according to claim 1, characterized in that: After determining the optimal control scheme from the multiple control schemes according to the simulation results, the method further includes: Performing simulation verification on the optimal control scheme; If the optimal control scheme passes the simulation verification, the natural gas station is controlled based on the optimal control scheme.

5. The method according to claim 1, characterized in that The station digital twin is established by the following method: Acquire station construction information, station operation data and operation process information of the natural gas station; the station operation data includes pressure, flow rate and temperature data of the natural gas flowing through each device in the natural gas station; Based on the station construction information, the station operation data and the operation process information, a station digital twin is formed through a hybrid model of data drive and mechanism drive.

6. The method according to claim 5, characterized in that The obtaining of the operation process information of the natural gas station includes: Obtain the current status information and status change information of each device in the natural gas station; The current state information and the state change information of each node are processed by the target tree-success tree method to obtain the operation process information of the natural gas station.

7. The method according to claim 5, characterized in that The station digital twin is formed through a hybrid model of data-driven and mechanism-driven based on the station construction information, the station operation data and the operation process information, including: Processing the station operation data through a hybrid model of data drive and mechanism drive to form station observation data; A station digital twin is formed based on the station construction information, the station observation data and the operation process information.

8. A natural gas station control device, characterized in that: The device comprises: a control feasible domain determination module, a neural network prediction module, a simulation module and a decision module; The control feasible domain determination module is used to determine the control feasible domain based on the station operation data through the pre-established station digital twin; the station digital twin is established based on the station construction information, station operation data and operation process information of the natural gas station; The neural network prediction module is used to predict the simulation boundaries of multiple control schemes within the control feasible domain based on the neural network model to obtain boundary conditions that change over time; The simulation module is used to simulate the multiple control schemes in the control feasible domain respectively based on the boundary conditions to obtain simulation results of the multiple control schemes respectively; The decision module is used to determine the optimal control scheme from the multiple control schemes according to the simulation results, so as to control the natural gas station based on the optimal control scheme.

9. A natural gas station control device, characterized in that: The device comprises: a memory and a processor; The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the steps of the natural gas station control method according to any one of claims 1-7 according to the program code.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program. When the computer program runs on the natural gas station control device, the natural gas station control device executes the steps of the natural gas station control method according to any one of claims 1 to 7.