Abnormal monitoring method and system for gas pipeline network simulation system
By building a simulation monitoring and operation network for gas terminals and performing simulation calculations and anomaly judgments based on initial data, the problems of low monitoring efficiency and poor accuracy in the gas pipeline network simulation system were solved, and more accurate anomaly monitoring and early warning were achieved.
Patent Information
- Application Number
- CN202411212488.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-08-30
AI Technical Summary
The abnormality monitoring efficiency and accuracy in the existing gas pipeline network simulation system are low, mainly because the equipment signals are simulated, resulting in large data errors and the inability to accurately identify the simulation operation status.
Build a simulation monitoring network and simulation operation network for the gas terminal, perform simulation calculations based on the initial gas data, judge anomalies through monitoring thresholds and strategies, generate abnormal monitoring results, and issue early warnings.
The monitoring accuracy of the gas pipeline network simulation system has been improved, management anomalies caused by data and simulation logic factors have been reduced, and the simulation effect has been improved.
Smart Images

Figure CN119129238B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of natural gas technology, and in particular to an abnormality monitoring method and system for a gas pipe network simulation system. Background Art
[0002] During the gas transportation process, in order to ensure the safety of gas transportation, various devices are used to monitor the gas transportation situation, such as various sensors and pipeline valves. Then, a gas pipeline network simulation system is built. The gas in transportation is simulated based on the data collected by various devices to simulate the gas transportation situation.
[0003] Currently, gas monitoring in existing gas pipeline network simulation systems is typically achieved by comparing thresholds collected by each device. However, because the signals corresponding to each device in the simulation system are simulated, data errors can occur and the simulation results cannot be accurately identified, resulting in the failure of the simulation operation of various devices in the gas pipeline network simulation system. Summary of the Invention
[0004] In view of this, the present invention provides a method and system for abnormality monitoring of a gas pipe network simulation system, the main purpose of which is to solve the problems of low efficiency and poor accuracy of abnormality monitoring of existing gas pipe network simulation systems.
[0005] According to one aspect of the present invention, a method for monitoring abnormalities in a gas pipe network simulation system is provided, comprising:
[0006] Constructing a simulation monitoring network for a plurality of selected gas terminals, and constructing a simulation operation network between the plurality of gas terminals;
[0007] Inputting the collected initial gas data into the simulation operation network for simulation calculation to obtain simulation operation data of the gas terminal;
[0008] If the difference between the simulation operation data and the collected equipment operation data is smaller than a preset threshold, an abnormal monitoring judgment is performed on the simulation operation data based on the simulation monitoring network to obtain an abnormal monitoring result.
[0009] Furthermore, the construction of the simulation monitoring network for the selected plurality of gas terminals includes:
[0010] Displaying first simulation components of all gas terminals in a first interface of the gas network simulation system, wherein the first simulation components are created in advance based on functional information of the gas terminals and information of different terminals;
[0011] After the user selects the first simulation component to obtain the target first simulation component, the monitoring connection correspondence relationship matching the target first simulation component is retrieved and the monitoring connection relationship is output, wherein the monitoring connection correspondence relationship includes the interface monitoring connection relationship, the data transmission monitoring connection relationship, and the operation execution monitoring connection relationship between each first simulation component;
[0012] After the user screens the monitoring connection relationships, the target first simulation components are connected based on the screened monitoring connection relationships to obtain a simulation monitoring network.
[0013] Furthermore, the constructing of the simulation operation network between the plurality of gas terminals includes:
[0014] Displaying gas transmission starting position information and gas transmission parameters in the second interface of the gas pipe network simulation system;
[0015] When the user selects a target starting position from the gas transmission starting position information and determines a target transmission parameter from the gas transmission parameter, a second simulation component matching the target transmission parameter and the target starting position is retrieved;
[0016] The second simulation component is inserted into the default simulation network according to the simulation information of the gas terminal pre-configured in the target starting position, and the simulation network into which the second simulation component is inserted is adjusted based on the target transmission parameters to obtain a simulation operation network.
[0017] Furthermore, the collected initial gas data is input into the simulation operation network for simulation calculation to obtain the simulation operation data of the gas terminal, which includes:
[0018] Retrieving a pre-configured terminal simulation function in each of the second simulation components in the simulation operation network, wherein the terminal simulation function is used to calculate data obtained from expected operation of each gas terminal;
[0019] The simulation results corresponding to the network nodes corresponding to each gas terminal in the simulation operation network are calculated based on the terminal simulation function, the target transmission parameters, and the initial gas data, and are determined as the simulation operation data.
[0020] Furthermore, the abnormal monitoring judgment of the simulation operation data based on the simulation monitoring network to obtain the abnormal monitoring result includes:
[0021] Retrieving a monitoring threshold and / or monitoring strategy that matches the first simulation component, wherein the monitoring strategy includes at least one rule content for performing abnormal monitoring judgment on the simulation operation data;
[0022] If the simulation operation data exceeds the monitoring threshold, and / or the simulation operation data does not match the monitoring strategy, an abnormal monitoring result is generated.
[0023] Furthermore, after generating the abnormal monitoring result, the method further includes:
[0024] parsing the abnormality type in the abnormality monitoring result, and determining the simulation abnormality object of the gas pipe network simulation system based on the abnormality type and the initial gas data;
[0025] An early warning is issued to the gas pipe network simulation system according to the abnormality level of the simulation abnormal object.
[0026] Furthermore, before constructing the simulation monitoring network for the selected multiple gas terminals and constructing the simulation operation network between the multiple gas terminals, the method further includes:
[0027] When a simulation request from a gas terminal is received in the gas pipe network simulation system, a first simulation component is queried based on the terminal information and function information carried in the simulation request;
[0028] If so, executing the steps of constructing a simulation monitoring network for the selected multiple gas terminals and constructing a simulation operation network between the multiple gas terminals;
[0029] If not, create the first simulation component based on the terminal information and the function information.
[0030] According to another aspect of the present invention, there is provided an abnormality monitoring system for a gas pipe network simulation system, comprising:
[0031] A construction module, configured to construct a simulation monitoring network for a plurality of selected gas terminals, and to construct a simulation operation network between the plurality of gas terminals;
[0032] A calculation module, configured to input the collected initial gas data into the simulation operation network for simulation calculation to obtain simulation operation data of the gas terminal;
[0033] The monitoring module is used to perform abnormal monitoring judgment on the simulation operation data based on the simulation monitoring network to obtain an abnormal monitoring result if the difference between the simulation operation data and the collected equipment operation data is less than a preset threshold.
[0034] Furthermore, the construction module is specifically used to display the first simulation components of all gas terminals in the first interface of the gas pipeline network simulation system, and the first simulation components are pre-created based on the functional information of the gas terminals and different terminal information; when the user selects the first simulation component to obtain the target first simulation component, the monitoring connection correspondence matching the target first simulation component is retrieved and the monitoring connection relationship is output, and the monitoring connection correspondence includes the interface monitoring connection relationship, the data transmission monitoring connection relationship and the operation execution monitoring connection relationship between each first simulation component; when the user filters the monitoring connection relationship, the target first simulation component is connected based on the filtered monitoring connection relationship to obtain a simulation monitoring network.
[0035] Furthermore, the construction module is specifically used to display the gas transmission starting position information and gas transmission parameters in the second interface of the gas pipeline network simulation system; when the user selects the target starting position from the gas transmission starting position information and determines the target transmission parameters from the gas transmission parameters, the second simulation component that matches the target transmission parameters and the target starting position is called; the second simulation component is inserted into the default simulation network according to the simulation information of the gas terminal pre-configured in the target starting position, and the simulation network into which the second simulation component is inserted is adjusted based on the target transmission parameters to obtain a simulation operation network.
[0036] Furthermore, the calculation module is specifically used to call the terminal simulation function pre-configured in each of the second simulation components in the simulation operation network, and the terminal simulation function is used to calculate the data obtained by the expected operation of each gas terminal; based on the terminal simulation function, the target transmission parameters, and the initial gas data, the simulation results corresponding to the network nodes corresponding to each gas terminal in the simulation operation network are calculated to determine the simulation operation data.
[0037] Furthermore, the monitoring module is specifically used to call the monitoring threshold and / or monitoring strategy that matches the first simulation component, and the monitoring strategy includes at least one rule content for performing abnormal monitoring judgment on the simulation operation data; if the simulation operation data exceeds the monitoring threshold, and / or the simulation operation data does not match the monitoring strategy, an abnormal monitoring result is generated.
[0038] Furthermore, the device further comprises:
[0039] a parsing module, configured to parse an abnormality type in the abnormality monitoring result, and determine a simulation abnormality object of the gas pipe network simulation system based on the abnormality type and the initial gas data;
[0040] The early warning module is used to issue an early warning to the gas pipe network simulation system according to the abnormality level of the simulated abnormal object.
[0041] Furthermore, the device further comprises: a query module, an execution module,
[0042] The query module is configured to query the first simulation component based on the terminal information and function information carried in the simulation request after receiving a simulation request from the gas terminal in the gas pipe network simulation system;
[0043] The execution module is configured to, if present, execute the steps of constructing a simulation monitoring network for the selected multiple gas terminals and constructing a simulation operation network between the multiple gas terminals;
[0044] The creation module is further used to create the first simulation component based on the terminal information and the function information if it does not exist.
[0045] According to another aspect of the present invention, a storage medium is provided, wherein the storage medium stores at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the above-mentioned abnormality monitoring method for a gas pipe network simulation system.
[0046] According to another aspect of the present invention, there is provided a terminal, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus;
[0047] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned abnormality monitoring method of the gas pipeline network simulation system.
[0048] By means of the above technical solution, the technical solution provided by the embodiment of the present invention has at least the following advantages:
[0049] The present invention provides an abnormality monitoring method and system for a gas pipeline network simulation system. Compared with the prior art, the embodiment of the present invention constructs a simulation monitoring network for a plurality of selected gas terminals, and constructs a simulation operation network between the plurality of gas terminals; based on the collected initial gas data, the simulation operation network is input for simulation calculation to obtain the simulation operation data of the gas terminal; if the difference between the simulation operation data and the collected equipment operation data is less than a preset threshold, the simulation operation data is subjected to abnormal monitoring judgment based on the simulation monitoring network to obtain an abnormal monitoring result, thereby achieving the purpose of abnormal monitoring of the simulation conditions of each simulation component in the gas pipeline network simulation system, reducing the management abnormality of the gas pipeline network system caused by simulation abnormalities caused by factors such as data and simulation logic during the simulation process, greatly improving the simulation effect, and thus achieving the purpose of accurate monitoring of the gas pipeline network simulation system.
[0050] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present invention. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:
[0052] Figure 1 A flow chart of an abnormality monitoring method for a gas pipe network simulation system provided by an embodiment of the present invention is shown;
[0053] Figure 2 A schematic diagram of a simulation monitoring network provided by an embodiment of the present invention is shown;
[0054] Figure 3 A schematic diagram of a simulation operation network provided by an embodiment of the present invention is shown;
[0055] Figure 4 A schematic diagram of a gas pipe network simulation system displaying a cloud map is shown in an embodiment of the present invention;
[0056] Figure 5 A block diagram showing the composition of an abnormality monitoring system of a gas pipe network simulation system provided by an embodiment of the present invention is shown;
[0057] Figure 6 A schematic structural diagram of a terminal provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0058] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0059] The embodiment of the present invention provides a method for monitoring abnormalities in a gas pipe network simulation system. Figure 1 As shown, the method includes:
[0060] 101. Construct a simulation monitoring network for a plurality of selected gas terminals, and construct a simulation operation network between the plurality of gas terminals.
[0061] In an embodiment of the present invention, the current execution end, serving as the abnormality monitoring execution end for the gas pipeline network simulation system, can be either a cloud server or a terminal server, to construct a simulation monitoring network and a corresponding simulation operation network for the gas pipeline network simulation system. The gas pipeline network simulation system, as a digital simulation system, is capable of simulating a gas pipeline network including all gas terminals. In this case, the gas pipeline network simulation system can include functions such as operating condition simulation and data simulation. Accordingly, the current execution end constructs a simulation monitoring network for monitoring multiple gas terminals, as well as a simulation operation network for the operation of multiple gas terminals.
[0062] It should be noted that in the embodiment of the present invention, the gas pipeline network simulation system is a simulation system that includes all the equipment in the gas pipeline network. When constructing the simulation monitoring network and the simulation operation network, it can select the gas terminal that needs to construct a separate simulation network based on the monitoring requirements of the gas pipeline network simulation system. At this time, the gas terminal includes but is not limited to a gas quantity detector, a gas valve opening detector, a gas transmission speed detector, a gas transmission pipeline pressure detector, etc. Correspondingly, the constructed simulation monitoring network and simulation operation network can be one or more, and the embodiment of the present invention does not make specific limitations.
[0063] In another embodiment of the present invention, for further definition and explanation, the steps of constructing a simulation monitoring network for a plurality of selected gas terminals include:
[0064] Displaying first simulation components of all gas terminals in a first interface of a gas pipe network simulation system;
[0065] After the user selects the first simulation component to obtain a target first simulation component, the monitoring connection correspondence relationship matching the target first simulation component is retrieved and the monitoring connection relationship is output;
[0066] After the user screens the monitoring connection relationships, the target first simulation components are connected based on the screened monitoring connection relationships to obtain a simulation monitoring network.
[0067] In order to effectively utilize the simulation monitoring network to monitor the simulation status of the equipment in the gas pipe network simulation system that needs to be monitored, when the current execution end constructs the simulation monitoring network, specifically, firstly, the first simulation component of all gas terminal equipment is displayed in the first interface of the gas pipe network simulation system. Among them, the first simulation component is pre-created based on the functional information of the gas terminal and different terminal information. It can be the same simulation component as the simulation operation of each gas terminal in the gas pipe network simulation system, or it can be configured according to the functional information and terminal information of the gas terminal based on the default simulation component in the gas pipe network simulation system to obtain a first simulation component that can be used for the gas terminal. The embodiment of the present invention does not make specific limitations. For example, the gas pipe network simulation system is a system constructed based on the simulation models corresponding to all gas valves and gas pipeline flow detectors in the city's gas pipe network. The first simulation components of all gas valves and gas pipeline flow detectors are displayed in the first interface. At this time, the first simulation component is a gas valve simulation component and a gas pipeline flow detection simulation component. The embodiment of the present invention does not make specific limitations. For example, the simulation component is a logical function embedded in the gas terminal device corresponding to the function, and the operation of the gas terminal is simulated based on the logical function as a component. In the embodiment of the present invention, the logical function can be configured based on functional information and terminal information without specific limitation.
[0068] It should be noted that after the current execution end displays the first simulation component, the user selects it to obtain the target first simulation component. At this time, the selected first simulation component can be a part of or all of the simulation components of the gas terminal, and the embodiment of the present invention does not make specific limitations. Furthermore, the monitoring connection correspondence that matches the target first simulation component is retrieved, and the monitoring connection relationship is output, wherein the monitoring connection correspondence includes the interface monitoring connection relationship, the data transmission monitoring connection relationship, and the operation execution monitoring connection relationship between each first simulation component, so that the user can make a secondary selection of the interface monitoring connection relationship, the data transmission connection relationship, and the operation execution monitoring connection relationship in the monitoring connection relationship. After the user filters the monitoring connection relationship, the target first simulation component is connected based on the filtered monitoring connection relationship to obtain a simulation monitoring network. The interface monitoring connection relationship is used to characterize the relationship between two simulation components for monitoring the connection interface. For example, there is a monitoring relationship between interface a of component 1 and interface b of component 2, and there is no monitoring relationship between interface a of component 1 and interface c of component 3. The data transmission connection relationship is used to characterize the relationship between two simulation components for monitoring data transmission. For example, there is a monitoring relationship when data is transmitted between component 1 and component 2, and there is no monitoring relationship when data is transmitted between component 2 and component 3. The operation execution monitoring connection relationship is used to characterize the relationship between two simulation components for monitoring the execution status of component operations, and the embodiments of the present invention do not make specific limitations.
[0069] In a specific embodiment of the present invention, the gas pipe network simulation system is a simulation system including 10 flow detectors at each gas transmission station in the city's gas network. When creating a simulation monitoring network, the user selects the simulation components of the five flow detectors belonging to the prefecture-level city, and retrieves the interface monitoring connection relationships corresponding to the flow detectors 1, 3, 4, 6, and 10 (for example, if the flow detector 1 and the flow detector 3 are detectors of the same model, the corresponding interface monitoring connection relationship is direct connection; if the flow detector 3 and the flow detector 10 are detectors of different models, the corresponding interface monitoring relationship is connection after conversion or no connection), data transmission monitoring connection relationship (for example, there is a monitoring relationship between the flow detector 3 and the flow detector 4 when data is transmitted, and there is no monitoring relationship between the flow detector 6 and the flow detector 10), and operation execution monitoring connection relationship (for example, when the flow detector 1 and the flow detector 3 are performing flow simulation, they need to be monitored simultaneously, that is, they have an operation execution monitoring connection relationship). Furthermore, the operator can filter the obtained monitoring connection relationships, for example, select all, or only select according to the interface monitoring connection relationship, so as to complete the connection of each simulation component, such as Figure 2 The simulated monitoring network shown is used to obtain the simulated monitoring network, which is not specifically limited in the embodiment of the present invention.
[0070] In another embodiment of the present invention, for further definition and explanation, the step of constructing a simulation operation network between the plurality of gas terminals includes:
[0071] Displaying gas transmission starting position information and gas transmission parameters in the second interface of the gas pipe network simulation system;
[0072] When the user selects a target starting position from the gas transmission starting position information and determines a target transmission parameter from the gas transmission parameter, a second simulation component matching the target transmission parameter and the target starting position is retrieved;
[0073] The second simulation component is inserted into the default simulation network according to the simulation information of the gas terminal pre-configured in the target starting position, and the simulation network into which the second simulation component is inserted is adjusted based on the target transmission parameters to obtain a simulation operation network.
[0074] In order to effectively utilize the simulation operation network to simulate the device simulation conditions in the gas pipeline network simulation system that requires monitoring and determine whether the simulation system is abnormal, when the current execution end constructs the simulation operation network, since the simulation operation network is a separate simulation operation network constructed when abnormality monitoring is required, specifically, the gas transmission starting position and gas transmission parameters are displayed on the second interface of the gas pipeline network simulation system for user selection. Gas transmission parameters include gas transmission volume, gas transmission speed, gas transmission temperature, etc. The gas transmission starting position is the multiple initial starting positions corresponding to the gas equipment when the user selects the first simulation component, which is not specifically limited in this embodiment of the present invention. After the user selects a target starting position from the gas transmission starting position information and determines the target transmission parameters from the gas transmission parameters, a second simulation component matching the target transmission parameters and the target starting position is retrieved. In this case, the second simulation component is used to represent the simulation component matching each starting position and transmission parameter. For example, if the target transmission parameter is transmission volume, the corresponding second simulation component is a pipeline flow detection component, which is not specifically limited in this embodiment of the present invention. Then, according to the simulation information of the gas terminal pre-configured at the target starting location, the second simulation component is inserted into the default simulation network, and the simulation network with the second simulation component inserted is adjusted based on the target transmission parameters to obtain a simulated operation network. The default simulation network is the smallest unit network capable of simulating gas transmission, such as a valve simulation component and a pipeline transmission component, and is not specifically limited in this embodiment of the present invention.
[0075] It should be noted that, in order to simplify the construction of the simulation operation network, after determining the target starting position, the current execution end retrieves a preset default simulation network and inserts the second simulation component into the default network according to the simulation information of the gas terminal at the target starting position. In this case, the simulation information includes parameters to be simulated, such as the valve simulation component, where the simulation parameter is the opening value, which is not specifically limited in this embodiment of the present invention. Furthermore, the simulation network with the second simulation component inserted is adjusted according to the target transmission parameters to obtain the simulation operation network. In a specific implementation scenario, the operator selects the target gas starting location information as the city's gate station and the pressure regulating station to the city, and selects the target gas transmission parameters as the transmission pipeline pressure a, the transmission pipeline flow rate b, and the transmission pipeline flow direction from the gate station to the pressure regulating station. The pressure simulation component and the flow rate simulation component in the matching gate station to the pressure regulating station are retrieved, and the pressure simulation component and the flow rate simulation component are inserted into the default simulation network (the default simulation network pre-created between the gate station and the pressure regulating station is a flow simulation component connected to a pressure simulation component) according to the simulation information of the gas terminal pre-configured in the gate station-pressure regulating station (such as the simulation time is 4 hours, etc.). The operator also selects the insertion location and adjusts the simulation network of the inserted pressure simulation component and flow rate simulation component based on the target transmission parameters to obtain a simulation operation network, such as Figure 3 shown.
[0076] 102. Input the collected initial gas data into the simulation operation network for simulation calculation to obtain simulation operation data of the gas terminal.
[0077] In this embodiment of the present invention, after the simulation operation network and the simulation monitoring network are constructed, the current execution end collects initial gas data for input into the gas pipeline network simulation system. The initial gas data may be data collected from the gas pipeline network system and to be input into the gas pipeline network simulation system, and this is not specifically limited in this embodiment of the present invention. Furthermore, the current execution end inputs the collected initial gas data into the simulation operation network, performs simulation calculations, and obtains simulation operation data, which serves as a basis for determining the simulated operation status of the gas pipeline network simulation system.
[0078] In another embodiment of the present invention, for further definition and explanation, the step of inputting the collected initial gas data into the simulation operation network for simulation calculation to obtain the simulation operation data of the gas terminal includes:
[0079] Retrieve the terminal emulation function pre-configured in each of the second emulation components in the emulation operation network;
[0080] The simulation results corresponding to the network nodes corresponding to each gas terminal in the simulation operation network are calculated based on the terminal simulation function, the target transmission parameters, and the initial gas data, and are determined as the simulation operation data.
[0081] In order to effectively monitor the simulation situation of the gas pipe network simulation system, after the current execution end has built a simulation monitoring network and a simulation operation network, when the current execution end inputs the initial gas data into the simulation operation network for simulation calculation, specifically, first call the terminal simulation function pre-configured in each second simulation component in the simulation operation network. Among them, the terminal simulation function is used to calculate the data expected to be obtained by the operation of each gas terminal, including but not limited to flow calculation function, pressure calculation function, etc., which can be pre-configured based on the functions of each gas terminal, and the embodiment of the present invention does not make specific limitations. Then, based on the terminal simulation function, the target transmission parameters, and the initial gas data, the simulation results corresponding to the network nodes corresponding to each gas terminal in the simulation operation network are calculated to determine the simulation operation data. For example, in the simulation operation network, gas terminal 1 is bound to a terminal simulation function, and the target transmission parameters and the initial gas data are used as variable parameters of the terminal simulation function for calculation to obtain the simulation result of the gas terminal at the network node a, that is, the simulation operation data.
[0082] It should be noted that, in the embodiment of the present invention, each network node corresponds to a selected gas terminal simulation component, and the terminal simulation functions corresponding to the same gas terminal can be the same or different, which is not specifically limited in the embodiment of the present invention. For example, the simulation function of the simulation component of the valve control terminal is ,in, is the real-time pipeline flow, is the maximum pipeline flow threshold, is the valve coefficient.
[0083] 103. If the difference between the simulation operation data and the collected device operation data is smaller than a preset threshold, an abnormal monitoring judgment is performed on the simulation operation data based on the simulation monitoring network to obtain an abnormal monitoring result.
[0084] In an embodiment of the present invention, after obtaining the simulated operation data, the current execution end compares the collected device operation data in the gas pipe network simulation system with the simulated operation data calculated based on the simulation operation network. If the difference between the simulated operation data and the device operation data is less than a preset threshold, it indicates that the gas pipe network simulation system has an abnormal device simulation during the simulation process. Therefore, the current execution end inputs the simulated operation data into the simulation monitoring network for abnormal monitoring judgment, and obtains the final abnormal monitoring result. The preset threshold is the maximum value of the simulation error allowed when simulating each device based on the gas pipe network simulation system. The specific numerical configuration is not specifically limited in the embodiment of the present invention.
[0085] In the embodiment of the present invention, the gas network simulation system can simulate the gas transmission situation in the gas network system, and is embedded with advanced machine learning algorithms to process the data content of each simulation component during the gas transmission process. At this time, the machine learning algorithm includes but is not limited to convolutional neural algorithm, support vector machine algorithm, clustering algorithm, etc., which are not specifically limited in the embodiment of the present invention. Figure 4 As shown, the simulation results obtained by the gas pipe network simulation system can be viewed through a cloud map, which is not specifically limited in the embodiment of the present invention.
[0086] In another embodiment of the present invention, for further definition and explanation, the step of performing abnormal monitoring judgment on the simulation operation data based on the simulation monitoring network to obtain an abnormal monitoring result includes:
[0087] Retrieving a monitoring threshold and / or monitoring strategy that matches the first simulation component;
[0088] If the simulation operation data exceeds the monitoring threshold, and / or the simulation operation data does not match the monitoring strategy, an abnormal monitoring result is generated.
[0089] In order to meet the demand for flexible monitoring of simulation operation data, the current execution end first calls the monitoring threshold and / or monitoring strategy that matches the first simulation component when performing abnormal monitoring judgment on the simulation operation data based on the simulation monitoring network. Among them, the monitoring threshold is used to judge whether the simulation operation data exceeds the corresponding maximum or minimum value of the simulation operation number. The monitoring strategy includes at least one rule content for abnormal monitoring judgment of the simulation operation data. The monitoring strategy includes but is not limited to a sub-strategy for combined judgment using multiple simulation operation data. For example, the simulation operation data corresponding to the gas flow detector 1 and the gas flow detector 3 are respectively proportionally added. If the added value is within the preset simulation threshold range, it means that the simulation operation data is normal. If the added value is within the preset simulation threshold range, it means that the gas pipeline simulation system is abnormal. Therefore, an abnormal monitoring result is generated. At this time, the abnormal monitoring result is a simulation numerical abnormality. For different monitoring strategies, the abnormal monitoring result also includes simulation logic abnormality, simulation component abnormality, etc., which is not specifically limited in the embodiment of the present invention.
[0090] In another embodiment of the present invention, for further definition and explanation, after the step of generating the abnormal monitoring result, the method further includes:
[0091] parsing the abnormality type in the abnormality monitoring result, and determining the simulation abnormality object of the gas pipe network simulation system based on the abnormality type and the initial gas data;
[0092] An early warning is issued to the gas pipe network simulation system according to the abnormality level of the simulation abnormal object.
[0093] In order to effectively monitor the abnormality of the gas pipe network simulation system and thus improve the monitoring effectiveness, after the current execution end obtains the abnormal monitoring result, it classifies the abnormal monitoring result into abnormal categories to obtain the abnormal type. Among them, the abnormality type includes simulation logic abnormality and numerical simulation abnormality. For example, if the abnormal monitoring result is a simulation numerical abnormality, the abnormality type is a numerical simulation abnormality type, which can be parsed based on a pre-configured classification mapping relationship. The embodiment of the present invention does not make specific limitations. Furthermore, the current execution end determines the simulation abnormality object of the gas pipe network simulation system according to the abnormality type and the initial gas data. At this time, the simulation abnormality object is used to characterize the specific object where the simulation operation abnormality occurs, such as a simulation component, a simulation transmission channel, a simulation connection interface, etc., so as to issue an early warning to the gas pipe network simulation system according to the abnormality level of the simulation abnormality object. The embodiment of the present invention does not make specific limitations.
[0094] It should be noted that, in an embodiment of the present invention, when determining a simulation abnormality object, it can be specifically determined based on a simulation component index constructed when constructing a simulation monitoring network, wherein the simulation component index includes a query relationship between different simulation components and different gas initial data, and the corresponding different abnormality types are configured in the next-level index of the corresponding simulation component. The next-level index of each abnormality type is correspondingly configured with a marked simulation abnormality object, so that the simulation abnormality object can be queried based on the constructed simulation component index, and the embodiment of the present invention does not make specific limitations.
[0095] In another embodiment of the present invention, for further definition and explanation, before the steps of constructing a simulation monitoring network for a plurality of selected gas terminals and constructing a simulation operation network between the plurality of gas terminals, the method further includes:
[0096] When a simulation request from a gas terminal is received in the gas pipe network simulation system, a first simulation component is queried based on the terminal information and function information carried in the simulation request;
[0097] If so, executing the steps of constructing a simulation monitoring network for the selected multiple gas terminals and constructing a simulation operation network between the multiple gas terminals;
[0098] If not, create the first simulation component based on the terminal information and the function information.
[0099] In order to meet the requirements of building a simulation monitoring network based on the first simulation terminal and to achieve the timeliness of the simulation monitoring network, the current execution end can also pre-configure the trigger event of the simulation request so that the user can trigger it. When the user triggers the trigger event in the gas pipe network simulation system, the current execution end receives the simulation request of the gas terminal, and queries the first simulation component based on the terminal information and function information carried in the simulation request to determine whether there is a configured first simulation component. At this time, if it exists, it means that the first simulation component exists, and then the steps of building a simulation monitoring network for the selected multiple gas terminals and building a simulation operation network between the multiple gas terminals are executed. If it does not exist, the first simulation component is created based on the terminal information and function information. Specifically, the default components of different functions in the simulation system are first retrieved, and then the function information and terminal information are embedded in the default components for configuration. For example, the function information is to measure the gas transmission speed range ab, and the terminal information is the instrument model. Correspondingly, the function information and terminal information are embedded in the flow simulation default component. This embodiment of the present invention does not make specific limitations.
[0100] An embodiment of the present invention provides an abnormality monitoring method for a gas pipeline network simulation system. Compared with the prior art, the embodiment of the present invention constructs a simulation monitoring network for a plurality of selected gas terminals, and constructs a simulation operation network between the plurality of gas terminals; based on the collected initial gas data, the simulation operation network is input for simulation calculation to obtain the simulation operation data of the gas terminal; if the difference between the simulation operation data and the collected equipment operation data is less than a preset threshold, the simulation operation data is subjected to abnormal monitoring judgment based on the simulation monitoring network to obtain an abnormal monitoring result, thereby achieving the purpose of abnormal monitoring of the simulation conditions of each simulation component in the gas pipeline network simulation system, reducing the management abnormality of the gas pipeline network system caused by simulation abnormalities caused by factors such as data and simulation logic during the simulation process, greatly improving the simulation effect, and thus achieving the purpose of accurate monitoring of the gas pipeline network simulation system.
[0101] Furthermore, as a response to the above Figure 1 The embodiment of the present invention provides an abnormal monitoring system for a gas pipe network simulation system, such as Figure 5 As shown, the system includes:
[0102] A construction module 21 is used to construct a simulation monitoring network for a plurality of selected gas terminals and to construct a simulation operation network between the plurality of gas terminals;
[0103] The calculation module 22 is used to input the collected initial gas data into the simulation operation network for simulation calculation to obtain simulation operation data of the gas terminal;
[0104] The monitoring module 23 is configured to perform abnormal monitoring judgment on the simulation operation data based on the simulation monitoring network to obtain an abnormal monitoring result if the difference between the simulation operation data and the collected equipment operation data is less than a preset threshold.
[0105] Furthermore, the construction module is specifically used to display the first simulation components of all gas terminals in the first interface of the gas pipeline network simulation system, and the first simulation components are pre-created based on the functional information of the gas terminals and different terminal information; when the user selects the first simulation component to obtain the target first simulation component, the monitoring connection correspondence matching the target first simulation component is retrieved and the monitoring connection relationship is output, and the monitoring connection correspondence includes the interface monitoring connection relationship, the data transmission monitoring connection relationship and the operation execution monitoring connection relationship between each first simulation component; when the user filters the monitoring connection relationship, the target first simulation component is connected based on the filtered monitoring connection relationship to obtain a simulation monitoring network.
[0106] Furthermore, the construction module is specifically used to display the gas transmission starting position information and gas transmission parameters in the second interface of the gas pipeline network simulation system; when the user selects the target starting position from the gas transmission starting position information and determines the target transmission parameters from the gas transmission parameters, the second simulation component that matches the target transmission parameters and the target starting position is called; the second simulation component is inserted into the default simulation network according to the simulation information of the gas terminal pre-configured in the target starting position, and the simulation network into which the second simulation component is inserted is adjusted based on the target transmission parameters to obtain a simulation operation network.
[0107] Furthermore, the calculation module is specifically used to call the terminal simulation function pre-configured in each of the second simulation components in the simulation operation network, and the terminal simulation function is used to calculate the data obtained by the expected operation of each gas terminal; based on the terminal simulation function, the target transmission parameters, and the initial gas data, the simulation results corresponding to the network nodes corresponding to each gas terminal in the simulation operation network are calculated to determine the simulation operation data.
[0108] Furthermore, the monitoring module is specifically used to call the monitoring threshold and / or monitoring strategy that matches the first simulation component, and the monitoring strategy includes at least one rule content for performing abnormal monitoring judgment on the simulation operation data; if the simulation operation data exceeds the monitoring threshold, and / or the simulation operation data does not match the monitoring strategy, an abnormal monitoring result is generated.
[0109] Furthermore, the device further comprises:
[0110] a parsing module, configured to parse an abnormality type in the abnormality monitoring result, and determine a simulation abnormality object of the gas pipe network simulation system based on the abnormality type and the initial gas data;
[0111] The early warning module is used to issue an early warning to the gas pipe network simulation system according to the abnormality level of the simulated abnormal object.
[0112] Furthermore, the device further comprises: a query module, an execution module,
[0113] The query module is configured to query the first simulation component based on the terminal information and function information carried in the simulation request after receiving a simulation request from the gas terminal in the gas pipe network simulation system;
[0114] The execution module is configured to, if present, execute the steps of constructing a simulation monitoring network for the selected multiple gas terminals and constructing a simulation operation network between the multiple gas terminals;
[0115] The creation module is further used to create the first simulation component based on the terminal information and the function information if it does not exist.
[0116] An embodiment of the present invention provides an abnormality monitoring system for a gas pipeline network simulation system. Compared with the prior art, the embodiment of the present invention constructs a simulation monitoring network for a plurality of selected gas terminals, and constructs a simulation operation network between the plurality of gas terminals; based on the collected initial gas data, the simulation operation network is input for simulation calculation to obtain the simulation operation data of the gas terminal; if the difference between the simulation operation data and the collected equipment operation data is less than a preset threshold, the simulation operation data is subjected to abnormal monitoring judgment based on the simulation monitoring network to obtain an abnormal monitoring result, thereby achieving the purpose of abnormal monitoring of the simulation conditions of each simulation component in the gas pipeline network simulation system, reducing the management abnormality of the gas pipeline network system caused by simulation abnormalities caused by factors such as data and simulation logic during the simulation process, greatly improving the simulation effect, and thus achieving the purpose of accurate monitoring of the gas pipeline network simulation system.
[0117] According to one embodiment of the present invention, a storage medium is provided, wherein the storage medium stores at least one executable instruction. The computer executable instruction can execute the abnormality monitoring method for a gas pipe network simulation system in any of the above method embodiments.
[0118] Figure 6 A schematic structural diagram of a terminal provided according to an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the terminal.
[0119] like Figure 6 As shown, the terminal may include: a processor 302 , a communications interface 304 , a memory 306 , and a communication bus 308 .
[0120] The processor 302 , the communication interface 304 , and the memory 306 communicate with each other via a communication bus 308 .
[0121] The communication interface 304 is used to communicate with other devices such as clients or other servers.
[0122] The processor 302 is configured to execute the program 310 , and specifically to execute the relevant steps in the embodiment of the abnormality monitoring method for the gas pipe network simulation system.
[0123] Specifically, the program 310 may include program codes, which include computer operation instructions.
[0124] Processor 302 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the terminal may be processors of the same type, such as one or more CPUs, or processors of different types, such as one or more CPUs and one or more ASICs.
[0125] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, or may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0126] The program 310 may be specifically configured to cause the processor 302 to perform the following operations:
[0127] Constructing a simulation monitoring network for a plurality of selected gas terminals, and constructing a simulation operation network between the plurality of gas terminals;
[0128] Inputting the collected initial gas data into the simulation operation network for simulation calculation to obtain simulation operation data of the gas terminal;
[0129] If the difference between the simulation operation data and the collected equipment operation data is smaller than a preset threshold, an abnormal monitoring judgment is performed on the simulation operation data based on the simulation monitoring network to obtain an abnormal monitoring result.
[0130] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing system. They can be centralized on a single computing system or distributed across a network of multiple computing systems. Alternatively, they can be implemented using program code executable by a computing system, and thus, they can be stored in a storage system and executed by the computing system. In some cases, the steps shown or described herein can be performed in a different order than that shown, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0131] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A method for monitoring abnormalities in a gas network simulation system, characterized in that: include: Constructing a simulation monitoring network for a plurality of selected gas terminals, and constructing a simulation operation network between the plurality of gas terminals; Inputting the collected initial gas data into the simulation operation network for simulation calculation to obtain simulation operation data of the gas terminal; If the difference between the simulated operation data and the equipment operation data collected in the gas pipe network simulation system is greater than a preset threshold, performing abnormal monitoring judgment on the simulated operation data based on the simulation monitoring network to obtain an abnormal monitoring result; The construction of the simulation monitoring network for the selected multiple gas terminals includes: Displaying first simulation components of all gas terminals in a first interface of the gas pipe network simulation system, where the first simulation components are pre-created based on functional information of the gas terminals and information of different terminals; After the user selects the first simulation component to obtain the target first simulation component, the monitoring connection correspondence relationship matching the target first simulation component is retrieved and the monitoring connection relationship is output, wherein the monitoring connection correspondence relationship includes the interface monitoring connection relationship, the data transmission monitoring connection relationship, and the operation execution monitoring connection relationship between each first simulation component; After the user filters the monitoring connection relationship, the target first simulation component is connected based on the filtered monitoring connection relationship to obtain a simulation monitoring network; The constructing of a simulation operation network between the plurality of gas terminals includes: Displaying gas transmission starting position information and gas transmission parameters in the second interface of the gas pipe network simulation system; When the user selects a target starting position from the gas transmission starting position information and determines a target transmission parameter from the gas transmission parameter, a second simulation component matching the target transmission parameter and the target starting position is retrieved; The second simulation component is inserted into the default simulation network according to the simulation information of the gas terminal pre-configured in the target starting position, and the simulation network into which the second simulation component is inserted is adjusted based on the target transmission parameters to obtain a simulation operation network.
2. The method according to claim 1, characterized in that The collected initial gas data is input into the simulation operation network for simulation calculation to obtain the simulation operation data of the gas terminal, which includes: Retrieving a pre-configured terminal simulation function in each of the second simulation components in the simulation operation network, wherein the terminal simulation function is used to calculate data obtained from expected operation of each gas terminal; The simulation results corresponding to the network nodes corresponding to each gas terminal in the simulation operation network are calculated based on the terminal simulation function, the target transmission parameters, and the initial gas data, and are determined as the simulation operation data.
3. The method according to claim 2, characterized in that The abnormal monitoring and judgment of the simulation operation data based on the simulation monitoring network to obtain the abnormal monitoring result includes: Retrieving a monitoring threshold and / or monitoring strategy that matches the first simulation component, wherein the monitoring strategy includes at least one rule content for performing abnormal monitoring judgment on the simulation operation data; If the simulation operation data exceeds the monitoring threshold, and / or the simulation operation data does not match the monitoring strategy, an abnormal monitoring result is generated.
4. The method according to claim 3, characterized in that After generating the abnormal monitoring result, the method further includes: parsing the abnormality type in the abnormality monitoring result, and determining the simulation abnormality object of the gas pipe network simulation system based on the abnormality type and the initial gas data; An early warning is issued to the gas pipe network simulation system according to the abnormality level of the simulation abnormal object.
5. The method according to any one of claims 1 to 4, characterized in that Before constructing the simulation monitoring network for the selected multiple gas terminals and constructing the simulation operation network between the multiple gas terminals, the method further includes: When a simulation request from a gas terminal is received in the gas pipe network simulation system, a first simulation component is queried based on the terminal information and function information carried in the simulation request; If so, executing the steps of constructing a simulation monitoring network for the selected multiple gas terminals and constructing a simulation operation network between the multiple gas terminals; If not, create the first simulation component based on the terminal information and the function information.
6. An abnormality monitoring device for a gas pipe network simulation system, characterized in that: include: A construction module, configured to construct a simulation monitoring network for a plurality of selected gas terminals, and to construct a simulation operation network between the plurality of gas terminals; A calculation module, configured to input the collected initial gas data into the simulation operation network for simulation calculation to obtain simulation operation data of the gas terminal; A monitoring module, configured to perform abnormal monitoring judgment on the simulated operation data based on the simulation monitoring network to obtain an abnormal monitoring result if the difference between the simulated operation data and the equipment operation data collected in the gas pipe network simulation system is greater than a preset threshold; The construction module is specifically configured to display first simulation components of all gas terminals in the first interface of the gas network simulation system, wherein the first simulation components are pre-created based on functional information of the gas terminals and information of different terminals; After the user selects the first simulation component to obtain the target first simulation component, the monitoring connection correspondence relationship matching the target first simulation component is retrieved and the monitoring connection relationship is output, wherein the monitoring connection correspondence relationship includes the interface monitoring connection relationship, the data transmission monitoring connection relationship, and the operation execution monitoring connection relationship between each first simulation component; After the user filters the monitoring connection relationship, the target first simulation component is connected based on the filtered monitoring connection relationship to obtain a simulation monitoring network; The construction module is specifically further used to display the gas transmission starting position information and gas transmission parameters in the second interface of the gas pipeline network simulation system; when the user selects the target starting position from the gas transmission starting position information and determines the target transmission parameters from the gas transmission parameters, the second simulation component that matches the target transmission parameters and the target starting position is called; the second simulation component is inserted into the default simulation network according to the simulation information of the gas terminal pre-configured in the target starting position, and the simulation network into which the second simulation component is inserted is adjusted based on the target transmission parameters to obtain a simulation operation network.
7. A storage medium storing at least one executable instruction, wherein the executable instruction enables a processor to execute an operation corresponding to the abnormality monitoring method for a gas pipe network simulation system according to any one of claims 1 to 5.
8. A terminal comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the abnormality monitoring method for a gas pipe network simulation system according to any one of claims 1 to 5.
Citation Information
Patent Citations
Gas pipe network leakage detection method and device based on simulation technology
CN110263416A