Combustible gas leakage detection method, device, equipment and medium

Through the combination of CFD model and monitoring data, the problem of difficulty in accurately detecting combustible gas leakage in the prior art is solved, and more efficient determination of leakage location and diffusion range is achieved, ensuring safety and environmental protection.

CN120068708APending Publication Date: 2025-05-30TIANJIN SHENGTONG TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510112266.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-24
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The prior art is difficult to detect combustible gas leakage accurately and quickly and determine leakage locations and diffusion ranges, especially in complex environments.

Method used

Computational fluid dynamics (CFD) tools are used to build pipeline models, and leak simulation and gas diffusion analysis are combined with monitoring data, leakage location and diffusion range are determined, and maintenance strategies are formulated based on simulation results.

Benefits of technology

It improves the accuracy and efficiency of combustible gas leakage detection, ensures timely and effective measures, and reduces safety hazards and environmental impacts caused by leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120068708A_ABST
    Figure CN120068708A_ABST
Patent Text Reader

Abstract

The invention relates to a combustible gas leakage detection method, device and equipment and a medium, and is applied to the technical field of gas leakage detection, and the method comprises the steps: obtaining monitoring data, pipeline information, pipeline conveying information and environment information; the pipeline information, the pipeline conveying information and the environment information are input into a CFD tool, and a CFD model is constructed; analyzing the monitoring data and the monitoring position corresponding to the monitoring data to obtain a current leakage area; performing leakage simulation based on the CFD model and each position included in the current leakage area to obtain a first simulation result, and comparing the first simulation result with the monitoring data to obtain a current leakage position; performing gas diffusion simulation through the CFD model, the current leakage position and the monitoring data to obtain a second simulation result; and determining a maintenance strategy based on the second simulation result. The combustible gas leakage detection method has the effect of improving the accuracy and efficiency of combustible gas leakage detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of gas leakage detection, and particularly to a method, device, equipment and medium for detecting combustible gas leakage. Background Art

[0002] With the rapid development of industrialization, combustible gases are increasingly widely used in the fields of energy, chemical industry, etc. However, combustible gas leakage accidents also occur from time to time, posing a serious threat to people's lives, property safety and the environment. Therefore, how to accurately and quickly detect combustible gas leakage and determine the leakage location and diffusion range has become an urgent technical problem to be solved.

[0003] Traditional leakage detection methods often rely on manual inspections and single-sensor monitoring, which are not only inefficient but also difficult to accurately judge leakage situations in complex environments. Summary of the Invention

[0004] In order to improve the accuracy and efficiency of combustible gas leakage detection, so as to timely adopt effective maintenance strategies and reduce the potential safety hazards and environmental impacts caused by leakage, the present application provides a method, device, equipment and medium for detecting combustible gas leakage.

[0005] In a first aspect, the present application provides a method for detecting combustible gas leakage, adopting the following technical solution: A method for detecting combustible gas leakage, comprising: Obtaining monitoring data, pipeline information, pipeline transportation information and environmental information, where the monitoring data includes internal monitoring data and external monitoring data; Inputting the pipeline information, the pipeline transportation information and the environmental information into a CFD tool to construct a CFD model; Analyzing the monitoring data and the monitoring positions corresponding to the monitoring data to obtain a current leakage area, where the current leakage area is the area where the combustible gas leakage source is located; Performing leakage simulation based on the CFD model and each position included in the current leakage area to obtain a first simulation result, and comparing the first simulation result with the monitoring data to obtain the current leakage position; Performing gas diffusion simulation through the CFD model, the current leakage position and the monitoring data to obtain a second simulation result, where the second simulation result includes a diffusion range and a diffusion degree; Determining a maintenance strategy based on the second simulation result.

[0006] By adopting the above technical solutions, through the analysis of the monitoring data and the monitoring positions corresponding to the monitoring data, it is possible to quickly determine whether a combustible gas leak has occurred and the general area where the current leak position is located, and perform leak simulations on each position included in the current leak area through the CFD model of the pipeline. By comparing the first simulation result with the monitoring data, the current leak position is obtained. First, the current leak area is determined, and then a more accurate current leak position is obtained through simulation by the CFD model, improving the accuracy and efficiency of combustible gas leak detection. The maintenance strategy is determined based on the second simulation result obtained through gas diffusion simulation, improving the reliability of the maintenance strategy. Thus, effective measures can be taken in a timely manner according to the maintenance strategy to reduce the potential safety hazards and environmental impacts caused by the leak.

[0007] Optionally, the analysis of the monitoring data and the monitoring positions corresponding to the monitoring data to obtain the current leak area includes: Compare the external monitoring data with a preset threshold to obtain abnormal external data, where the abnormal external data is the external monitoring data that exceeds the preset threshold; Based on the gas type, divide the abnormal external data to obtain at least one first combination, where the abnormal external data in the first combination corresponds to the same gas type; Calculate the first distance between the monitoring positions corresponding to every two abnormal external data in each first combination; Divide the first combination to obtain at least one second combination, where the first distance corresponding to each second combination is less than a first preset distance, and the difference between every two first distances corresponding to the second combination is less than a first preset difference. The first distance corresponding to the second combination is the first distance between the monitoring positions corresponding to every two abnormal external data in the second combination; Based on the multi-point positioning algorithm, calculate the monitoring positions corresponding to the abnormal external data in the second combination to obtain candidate leak positions; Calculate the second distance between the candidate leak positions corresponding to the first combination; Based on the second distance, combine the candidate leak positions corresponding to the first combination to obtain the current leak area.

[0008] By adopting the above technical solution, when determining the current leakage area, the abnormal external data is first divided according to the gas type to obtain a first combination. The abnormal external data in the first combination is further divided according to the first distance between the corresponding monitoring positions, so that the abnormal external data with a relatively small distance and a relatively close difference between the distances is divided into a second combination. By calculating the monitoring positions corresponding to the abnormal external data in each second combination through the multi-point positioning algorithm, the candidate leakage positions can be more accurately located, and then the current leakage area is combined, improving the accuracy of combustible gas leakage detection.

[0009] Optionally, combining the candidate leakage positions corresponding to the first combination based on the second distance to obtain the current leakage area includes: Dividing the candidate leakage positions corresponding to the first combination to obtain at least one third combination, where the second distance between every two candidate leakage positions in each third combination is less than a second preset distance, and the difference between every two second distances is less than a second preset difference; Merging at least two third combinations including the same candidate leakage position to obtain a fourth combination, where the fourth combination includes the combination obtained by merging the third combinations and the third combinations that do not need to be merged; Determining the area formed by the candidate leakage positions in each fourth combination as the current leakage area.

[0010] By adopting the above technical solution, the candidate leakage positions are divided according to the second distance, so that the candidate leakage positions with a relatively small distance and a relatively close difference between the distances are divided into a third combination, and the third combinations with repeated candidate leakage positions are merged. The current leakage area is determined by the combination obtained after merging and the third combinations that do not need to be merged. Through the merging operation, the overlap degree between the current leakage areas is reduced, thereby reducing the number of simulation times when determining the current leakage position and improving the efficiency of combustible gas leakage detection.

[0011] Optionally, performing gas diffusion simulation through the CFD model, the current leakage position, and the monitoring data to obtain a second simulation result includes: Analyzing the internal monitoring data to obtain a pressure abnormal area; Obtaining historical leakage information, where the historical leakage information includes historical monitoring data and historical leakage data; Constructing a leakage prediction model based on the historical leakage information and a machine learning algorithm; Inputting the internal monitoring data and the pressure abnormal area into the leakage prediction model to obtain a predicted leakage position; Based on the CFD model, the current leakage location, the predicted leakage location, and the monitoring data, gas diffusion simulation is carried out to obtain a second simulation result, where the second simulation result includes the current leakage simulation result and the predicted leakage simulation result.

[0012] By adopting the above technical solution, when detecting the leakage of combustible gas, not only can the current leakage situation be monitored, but also the possible future leakage can be predicted, so that measures can be taken in advance for prevention, reducing the probability of combustible gas leakage.

[0013] Optionally, determining the maintenance strategy based on the second simulation result includes: If there are multiple current leakage locations and / or predicted leakage locations, based on the second simulation result, determine the gas type, diffusion degree, and diffusion range of the leakage; Determine the leakage level based on the gas type, the diffusion degree, and the diffusion range; Obtain the environmental information and building information based on the current leakage location and the predicted leakage location, where the environmental information includes geological information, terrain information, and meteorological information; Determine the influence level based on the environmental information and the building information; Determine the maintenance level based on the leakage level and the influence level; Sort the current leakage locations in descending order according to the maintenance level to obtain a first sorting result; Sort the predicted leakage locations in descending order according to the maintenance level to obtain a second sorting result; Determine the maintenance order based on the first sorting result and the second sorting result; Determine the maintenance strategy based on the maintenance order and the second simulation result.

[0014] By adopting the above technical solution, when there are multiple leaks that have occurred or are about to occur simultaneously, the maintenance level is obtained by determining the leakage level and the influence level, and the maintenance order is determined according to the maintenance level, so that the leakage situations with higher maintenance levels can be processed preferentially, improving the reliability of the maintenance strategy and thus reducing the impact caused by the leakage.

[0015] Optionally, determining the maintenance strategy based on the maintenance order and the second simulation result includes: If there are more than one type of gas leaking, determine the mixing ratio of each gas type based on the monitoring data; Judge whether the gas transmission is safe based on the gas type, the mixing ratio, and the preset mixing rule; If the gas transmission is not safe, determine the ratio adjustment information based on the gas type and the preset mixing rule; Determine the valve information to be closed based on the current leakage location and the pipeline transportation information; Determine the protective equipment information to be worn based on the gas type; Determine the maintenance strategy based on the maintenance sequence, the ratio adjustment information, the valve information to be closed, and the protective equipment information to be worn.

[0016] By adopting the above technical solution, when determining the maintenance strategy, not only the maintenance sequence is considered, but also whether the mixing ratio of the gas type is safe, the valve information to be closed, and the protective equipment information to be worn are considered. The leakage is processed according to the maintenance strategy, making the processing more accurate and timely.

[0017] Optionally, before obtaining the monitoring data, the method further includes: Obtain historical leakage information and key monitoring areas, where the key monitoring areas include construction areas and densely populated areas; Statistically analyze the historical leakage information to obtain the high-leakage areas and the reasons for high leakage; Determine the first distribution area by taking the key monitoring areas and the high-leakage areas, where the first distribution area is the area where the monitoring equipment is installed according to the first distribution frequency; Determine the second distribution area based on the reasons for high leakage and the pipeline information, where the second distribution area is the area where the monitoring equipment is installed according to the second distribution frequency; Determine the third distribution area by taking the pipeline installation areas other than the first distribution area and the second distribution area, where the third distribution area is the area where the monitoring equipment is installed according to the third distribution frequency.

[0018] By adopting the above technical solution, according to the leakage occurrence situation, the monitoring equipment is installed in different areas according to different distribution frequencies, so as to improve the utilization rate of the monitoring equipment without affecting the monitoring effect.

[0019] In a second aspect, the present application provides a combustible gas leakage detection device, adopting the following technical solution: A combustible gas leakage detection device includes: An information acquisition module, configured to acquire monitoring data, pipeline information, pipeline transportation information, and environmental information, where the monitoring data includes internal monitoring data and external monitoring data; A model construction module, configured to input the pipeline information, the pipeline transportation information, and the environmental information into a CFD tool to construct a CFD model; An area determination module for analyzing the monitoring data and the monitoring location corresponding to the monitoring data to obtain a current leakage area, where the current leakage area is the area where the combustible gas leakage source is located; A position determination module for performing leakage simulation based on the CFD model and each position included in the current leakage area to obtain a first simulation result, and comparing the first simulation result with the monitoring data to obtain the current leakage position; A diffusion determination module for performing gas diffusion simulation through the CFD model, the current leakage position, and the monitoring data to obtain a second simulation result, where the second simulation result includes a diffusion range and a diffusion degree; A strategy determination module for determining a maintenance strategy based on the second simulation result.

[0020] By adopting the above technical solutions, by analyzing the monitoring data and the monitoring location corresponding to the monitoring data, it is possible to quickly determine whether a combustible gas leakage has occurred and the general area where the current leakage position is located, and perform leakage simulation on each position included in the current leakage area through the CFD model of the pipeline, compare the first simulation result with the monitoring data to obtain the current leakage position, first determine the current leakage area, and then obtain a more accurate current leakage position through simulation by the CFD model, improving the accuracy and efficiency of combustible gas leakage detection. The maintenance strategy is determined based on the second simulation result obtained by gas diffusion simulation, improving the reliability of the maintenance strategy, so that effective measures can be taken in a timely manner according to the maintenance strategy, reducing the safety hazards and environmental impacts caused by the leakage.

[0021] In a third aspect, the present application provides an electronic device, adopting the following technical solution: An electronic device includes a processor, and the processor is coupled to a memory; A computer program capable of being loaded and executed by the processor for the combustible gas leakage detection method according to any one of the first aspects is stored on the memory.

[0022] In a fourth aspect, the present application provides a computer-readable storage medium, adopting the following technical solution: A computer-readable storage medium stores a computer program capable of being loaded and executed by the processor for the combustible gas leakage detection method according to any one of the first aspects.

[0023] In summary, the present application includes at least one of the following beneficial technical effects: 1. By analyzing the monitoring data and the corresponding monitoring locations of the monitoring data, it is possible to quickly determine whether a combustible gas has leaked and the general area where the current leakage location is located. Then, a leakage simulation is performed on each location included in the current leakage area through the CFD model of the pipeline. By comparing the first simulation result with the monitoring data, the current leakage location is obtained. First, the current leakage area is determined, and then a more accurate current leakage location is obtained through simulation by the CFD model, improving the accuracy and efficiency of combustible gas leakage detection. The maintenance strategy is determined based on the second simulation result obtained through gas diffusion simulation, improving the reliability of the maintenance strategy. Thus, effective measures can be taken in a timely manner according to the maintenance strategy to reduce the potential safety hazards and environmental impacts caused by the leakage; 2. When determining the current leakage area, first divide the abnormal external data according to the gas type to obtain a first combination. Then divide the abnormal external data in the first combination according to the first distance between the corresponding monitoring locations, so that the abnormal external data with a relatively small distance and a relatively close difference between the distances is divided into a second combination. By calculating the monitoring locations corresponding to the abnormal external data in each second combination through the multi-point positioning algorithm, the candidate leakage locations can be more accurately located, and then the current leakage area is obtained by combination, improving the accuracy of combustible gas leakage detection. Description of the Drawings

[0024] Figure 1 is a schematic flowchart of a combustible gas leakage detection method provided by an embodiment of the present application.

[0025] Figure 2 is a structural block diagram of a combustible gas leakage detection device provided by an embodiment of the present application.

[0026] Figure 3 is a structural block diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments

[0027] The following further details the present application with reference to the accompanying drawings.

[0028] An embodiment of the present application provides a combustible gas leakage detection method. This combustible gas leakage detection method can be executed by an electronic device, which can be a server or a terminal device. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.

[0029] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, rather than all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the scope of protection of this application.

[0030] In addition, the term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after, unless otherwise specified.

[0031] As Figure 1 shown, a method for detecting combustible gas leakage, the main process of this method is described as follows (Steps S101 to S106): Step S101: Obtain monitoring data, pipeline information, pipeline transportation information, and environmental information.

[0032] Among them, the monitoring data includes internal monitoring data and external monitoring data. The pipeline information is information used to characterize the physical characteristics of the pipeline, such as: materials, service life, wall roughness, etc. The pipeline transportation information is information about the gas transported by the pipeline, including gas type, transmission volume, and speed, etc. The environmental information includes meteorological information and geological information at the location where the pipeline is located. The geological information is, for example: soil humidity.

[0033] A variety of monitoring devices are installed inside and outside the pipeline, such as: gas flow meters, pressure sensors, temperature sensors, etc. Obtain monitoring data from the monitoring devices. Specifically, obtain internal monitoring data from the monitoring devices installed inside the pipeline, and obtain external monitoring data from the monitoring devices installed outside the pipeline; obtain pipeline information, pipeline transportation information, and environmental information from the database or from the staff.

[0034] Step S102: Input the pipeline information, pipeline transportation information, and environmental information into the CFD tool to construct a CFD model.

[0035] Input the pipeline information, pipeline transportation information, and environmental information into the CFD tool, so as to construct a CFD model for simulating gas flow through the CFD tool. Among them, the CFD tool can be FLUENT or CFX, and no specific limitation is made here.

[0036] Step S103: Analyze the monitoring data and the monitoring location corresponding to the monitoring data to obtain the current leakage area.

[0037] Among them, the current leakage area is the area where the source of the combustible gas leakage is located.

[0038] Specifically, by analyzing the monitoring data and the monitoring locations corresponding to the monitoring data, the current leakage area is obtained, including: comparing the external monitoring data with a preset threshold to obtain abnormal external data, where the abnormal external data is the external monitoring data that exceeds the preset threshold; dividing the abnormal external data based on the gas type to obtain at least one first combination, and the abnormal external data in the first combination corresponds to the same gas type; calculating the first distance between the monitoring locations corresponding to every two abnormal external data in each first combination; dividing the first combination to obtain at least one second combination, where the first distance corresponding to each second combination is less than a first preset distance, and the difference between every two first distances corresponding to the second combination is less than a first preset difference, and the first distance corresponding to the second combination is the first distance between the monitoring locations corresponding to every two abnormal external data in the second combination; calculating the candidate leakage locations based on the multi-point positioning algorithm for the monitoring locations corresponding to the abnormal external data in the second combination; calculating the second distance between the candidate leakage locations corresponding to the first combination; and combining the candidate leakage locations corresponding to the first combination based on the second distance to obtain the current leakage area.

[0039] In this embodiment, the external monitoring data can be used to determine whether a combustible gas has leaked. By comparing the external monitoring data with a preset threshold, the external monitoring data that exceeds the preset threshold is determined as abnormal external data. The preset threshold is a threshold set in advance. The abnormal external data corresponding to the same gas type is divided into one combination to obtain at least one first combination. Among them, the same gas type means that the components of the gas are the same. Here, the gas type can be a gas type formed by mixing multiple gases. Calculate the first distance between the monitoring locations corresponding to every two abnormal external data in each first combination. The monitoring location corresponding to the abnormal external data is the location of the monitoring device where the abnormal external data is obtained.

[0040] The first combination is divided into at least one second combination, such that the first distance corresponding to each second combination is less than a first preset distance, and the difference between every two first distances corresponding to the second combination is less than a first preset difference, that is, the abnormal external data in each second combination is relatively close and the difference between every two first distances is small. The first preset distance and the first preset difference are preset in advance. It should be noted that each abnormal external data can exist in multiple second combinations.

[0041] Calculate the monitoring positions corresponding to the abnormal external data in the second combination and the time when the abnormal external data is obtained through the multi-point positioning algorithm to obtain candidate leakage positions. Each second combination corresponds to one candidate leakage position. If there is only one abnormal external data in the second combination, the monitoring position corresponding to the abnormal external data is the candidate leakage position. Among them, the multi-point positioning algorithm is an algorithm for calculating the target position based on multiple reference positions (here are the monitoring positions) and time, which will not be elaborated here; calculate the second distance between the candidate leakage positions corresponding to the first combination. The candidate leakage positions corresponding to the first combination are the candidate leakage positions calculated for all the second combinations included in the first combination. Combine the candidate leakage positions corresponding to the first combination according to the second distance to obtain the current leakage area.

[0042] Specifically, combining the candidate leakage positions corresponding to the first combination based on the second distance to obtain the current leakage area includes: dividing the candidate leakage positions corresponding to the first combination to obtain at least one third combination. In each third combination, the second distance between every two candidate leakage positions is less than the second preset distance, and the difference between every two second distances is less than the second preset difference; combining at least two third combinations including the same candidate leakage position to obtain a fourth combination. The fourth combination includes the combinations obtained by combining the third combinations and the third combinations that do not need to be combined; determining the area formed by the candidate leakage positions in each fourth combination as the current leakage area.

[0043] In this embodiment, divide the candidate leakage positions corresponding to each first combination according to the second distance to obtain at least one third combination. In each third combination, the second distance between every two candidate leakage positions is less than the second preset distance, and the difference between every two second distances is less than the second preset difference. That is, the candidate leakage positions in each third combination are relatively close and the difference between every two second distances is small. The second preset distance and the second preset difference are preset. It should be noted that each candidate leakage position can exist in multiple third combinations.

[0044] In order to reduce the overlap of the current leakage area, combine at least two third combinations including the same or multiple candidate leakage positions to obtain a fourth combination. The fourth combination includes the combinations obtained by combining the third combinations and the third combinations that do not need to be combined. Each candidate leakage position only exists in one fourth combination; connect the candidate leakage positions in each fourth combination with a drawing tool or graphic software to form a closed area, thereby obtaining the current leakage area. The current leakage area can also be a specific position. If there is only one candidate leakage position in a fourth combination, the candidate leakage position is the current leakage area.

[0045] Step S104: Perform a leakage simulation based on the CFD model and each location included in the current leakage area to obtain a first simulation result, and compare the first simulation result with the monitoring data to obtain the current leakage location.

[0046] In the CFD model, simulate the situation when each location in the current leakage area leaks in sequence to obtain a first simulation result. Each location corresponds to a first simulation result, and the first simulation result includes the simulation data at the location where the monitoring device is located. Compare the simulation data with the monitoring data corresponding to the same location through a preset similarity rule, and determine the location with the highest similarity as the current leakage location within the current leakage area. Here, the preset similarity rule is a rule for obtaining similarity by comparing two sets of data, and the preset similarity rule is preset in advance and will not be specifically limited here.

[0047] Step S105: Perform a gas diffusion simulation through the CFD model, the current leakage location, and the monitoring data to obtain a second simulation result.

[0048] Among them, the second simulation result includes the diffusion range and the diffusion degree.

[0049] Specifically, perform a gas diffusion simulation through the CFD model, the current leakage location, and the monitoring data to obtain a second simulation result, including: analyzing the internal monitoring data to obtain a pressure anomaly area; obtaining historical leakage information, where the historical leakage information includes historical monitoring data and historical leakage data; constructing a leakage prediction model based on the historical leakage information and a machine learning algorithm; inputting the internal monitoring data and the pressure anomaly area into the leakage prediction model to obtain a predicted leakage location; performing a gas diffusion simulation based on the CFD model, the current leakage location, the predicted leakage location, and the monitoring data to obtain a second simulation result, and the second simulation result includes the current leakage simulation result and the predicted leakage simulation result.

[0050] In this embodiment, pipelines are prone to leakage at positions with abnormal pressure values. By using a data analysis tool to analyze the internal monitoring data, the pressure abnormal area is obtained. Here, the data analysis tool can be Excel, Python, SQL, etc., and no specific limitation is made here. The historical leakage information is obtained from the database, and the machine learning algorithm is trained with the historical leakage information to obtain a leakage prediction model. The internal monitoring data and the pressure abnormal area are input into the leakage prediction model to obtain the predicted leakage position, that is, the position where combustible gas leakage may occur in the future. The monitoring data is input into the CFD model to simulate the gas diffusion situation at the current leakage position or the predicted leakage position, and a second simulation result is obtained. The second simulation result includes the current leakage simulation result and the predicted leakage simulation result. The current leakage simulation result is the simulation result obtained by simulating the gas diffusion situation at the current leakage position, and the predicted leakage simulation result is the simulation result obtained by simulating the gas diffusion situation at the predicted leakage position.

[0051] Step S106: Determine the maintenance strategy based on the second simulation result.

[0052] Specifically, determining the maintenance strategy based on the second simulation result includes: if there are multiple current leakage positions and / or predicted leakage positions, then determine the gas type, diffusion degree, and diffusion range of the leakage based on the second simulation result; determine the leakage level based on the gas type, diffusion degree, and diffusion range; obtain the environmental information and building information based on the current leakage position and the predicted leakage position. The environmental information includes geological information, terrain information, and meteorological information; determine the influence level based on the environmental information and the building information; determine the maintenance level based on the leakage level and the influence level; sort the current leakage positions in descending order of the maintenance level to obtain a first sorting result; sort the predicted leakage positions in descending order of the maintenance level to obtain a second sorting result; determine the maintenance order based on the first sorting result and the second sorting result; determine the maintenance strategy based on the maintenance order and the second simulation result.

[0053] In this embodiment, when there are multiple current leakage locations and / or predicted leakage locations, that is, when maintenance needs to be carried out on multiple locations, due to limited maintenance personnel or equipment, it is necessary to sort all the leakage locations, find the types of leaked gases, the degree of diffusion, and the diffusion range from the second simulation result. The database stores the corresponding relationships between the types of gases, the degree of diffusion, the diffusion range, and the leakage level. The leakage level is found from the database according to the types of gases, the degree of diffusion, and the diffusion range. The environmental information and building information corresponding to the current leakage locations and predicted leakage locations are obtained from the database. The database stores the corresponding relationships between the environmental information, the building information, and the impact level. The impact level is found from the database according to the environmental information and the building information. The database also stores the corresponding relationships between the leakage level, the impact level, and the maintenance level. The maintenance level is found from the database according to the leakage level and the impact level.

[0054] Sort the current leakage locations in descending order of the maintenance level to obtain the first sorting result, that is, the first sorting result is the sorting result of all current leakage locations; sort the predicted leakage locations in descending order of the maintenance level to obtain the second sorting result, that is, the second sorting result is the sorting result of all predicted leakage locations. Arrange the second sorting result after the first sorting result to obtain the maintenance order, and determine the maintenance strategy according to the maintenance order and the second simulation result.

[0055] Specifically, determining the maintenance strategy based on the maintenance order and the second simulation result includes: if there is more than one type of leaked gas, determining the mixing ratio of each type of gas based on the monitoring data; judging whether the gas transmission is safe based on the types of gases, the mixing ratio, and the preset mixing rule; if the gas transmission is not safe, determining the ratio adjustment information based on the types of gases and the preset mixing rule; determining the information of the valves to be closed based on the current leakage locations and the pipeline transportation information; determining the protective equipment information to be worn based on the types of gases; and determining the maintenance strategy based on the maintenance order, the ratio adjustment information, the information of the valves to be closed, and the protective equipment information to be worn.

[0056] In this embodiment, during the transportation of combustible gases, sometimes multiple gases are mixed before transportation. If the types of leaked gases are more than one, that is, the leaking pipeline transports multiple gases simultaneously, then find the mixing ratio of each gas type from the monitoring data, and obtain the preset mixing rules from the database. The preset mixing rules are the rules for the mixing ratios of various gas types to be within the safe range. Determine whether the current gas types and mixing ratios are safe through the preset mixing rules, that is, whether the gas transmission is safe; if the gas transmission is not safe, then find the safe ratio from the preset mixing rules according to the gas types, so as to obtain the ratio adjustment information. The ratio adjustment information includes the safe mixing ratios of various gas types and the gas types. If there is only one type of leaked gas or the gas transmission is safe, then there is no need to generate ratio adjustment information; find the transportation direction of the gas from the pipeline transportation information, and find the information of the valve closest to the current leakage location from the database according to the transportation direction of the gas, that is, the information of the valve to be closed. Find the information of the protective equipment to be worn corresponding to the type of leaked gas from the database; determine the maintenance strategy based on the maintenance sequence, ratio adjustment information, valve-to-be-closed information, and protective-equipment-to-be-worn information.

[0057] The maintenance strategy includes automatically closing the valve according to the valve-to-be-closed information, adjusting the mixing ratio of multiple gas types according to the ratio adjustment information, maintenance personnel wearing protective equipment according to the protective-equipment-to-be-worn information, and sequentially maintaining each leakage location according to the maintenance sequence (if there is only one current leakage location and / or predicted leakage location, then there is no need to determine the maintenance sequence), and sending an alarm message so that the personnel near the leakage location can evacuate in time.

[0058] Specifically, before obtaining the monitoring data, the method further includes: obtaining historical leakage information and key monitoring areas. The key monitoring areas include construction areas and densely populated areas; statistically analyzing the historical leakage information to obtain the high-leakage areas and the reasons for high leakage; determining the first distribution area by combining the key monitoring areas and the high-leakage areas. The first distribution area is the area where monitoring devices are installed according to the first distribution frequency; determining the second distribution area based on the reasons for high leakage and pipeline information. The second distribution area is the area where monitoring devices are installed according to the second distribution frequency; determining the third distribution area as the pipeline installation area other than the first distribution area and the second distribution area. The third distribution area is the area where monitoring devices are installed according to the third distribution frequency.

[0059] In this embodiment, historical leakage information is obtained from a database, and key monitoring areas are obtained from staff. The key monitoring areas include construction areas and densely populated areas. Statistical analysis is performed on the historical leakage information through a data analysis tool to obtain high-leakage areas (i.e., areas with a relatively high probability of combustible gas leakage) and high-leakage causes (i.e., reasons with a relatively high probability of combustible gas leakage). The high-leakage causes include, for example, pipeline aging, pipeline corrosion, and loose joints. The key monitoring areas and high-leakage areas are determined as the first distribution areas, and monitoring devices are installed in the first distribution areas at the first distribution frequency. At the same time, the data acquisition frequency of the monitoring devices is the first acquisition frequency.

[0060] Search for areas where high-leakage causes exist in the pipeline information. For example, if the high-leakage causes include pipeline aging, search for pipeline areas with a service life exceeding a preset number of years in the pipeline information, and determine the pipeline areas with a service life exceeding the preset number of years as the second distribution areas. If the high-leakage causes include loose joints, search for the areas where the joints are located in the pipeline information, and determine the pipeline areas where the joints are located as the second distribution areas. Monitoring devices are installed in the second distribution areas at the second distribution frequency. At the same time, the data acquisition frequency of the monitoring devices is the second acquisition frequency.

[0061] Determine the pipeline installation areas other than the first distribution areas and the second distribution areas as the third distribution areas. Monitoring devices are installed in the third distribution areas at the third distribution frequency. At the same time, the data acquisition frequency of the monitoring devices is the third acquisition frequency. The first distribution frequency, the second distribution frequency, and the third distribution frequency decrease in sequence. The first acquisition frequency, the second acquisition frequency, and the third acquisition frequency decrease in sequence or are all real-time acquisitions.

[0062] Figure 2 It is a structural block diagram of a combustible gas leakage detection device 200 provided in an embodiment of the present application.

[0063] As Figure 2 shown, the combustible gas leakage detection device 200 mainly includes: An information acquisition module 201, configured to acquire monitoring data, pipeline information, pipeline transportation information, and environmental information. The monitoring data includes internal monitoring data and external monitoring data; A model construction module 202, configured to input the pipeline information, pipeline transportation information, and environmental information into a CFD tool to construct a CFD model; A region determination module 203, configured to analyze the monitoring data and the monitoring positions corresponding to the monitoring data to obtain the current leakage region. The current leakage region is the region where the combustible gas leakage source is located; A location determination module 204 is configured to perform leakage simulation based on a CFD model and each location included in the current leakage area, obtain a first simulation result, and compare the first simulation result with monitoring data to obtain the current leakage location; A diffusion determination module 205 is configured to perform gas diffusion simulation through a CFD model, the current leakage location, and monitoring data to obtain a second simulation result, where the second simulation result includes a diffusion range and a diffusion degree; A strategy determination module 206 is configured to determine a maintenance strategy based on the second simulation result.

[0064] As an optional implementation manner of this embodiment, the area determination module 203 is further specifically configured to analyze the monitoring data and the monitoring locations corresponding to the monitoring data to obtain the current leakage area, including: comparing the external monitoring data with a preset threshold to obtain abnormal external data, where the abnormal external data is the external monitoring data exceeding the preset threshold; dividing the abnormal external data based on the gas type to obtain at least one first combination, and the abnormal external data in the first combination corresponds to the same gas type; calculating a first distance between the monitoring locations corresponding to every two abnormal external data in each first combination; dividing the first combination to obtain at least one second combination, where the first distance corresponding to each second combination is less than a first preset distance, and the difference between every two first distances corresponding to the second combination is less than a first preset difference, and the first distance corresponding to the second combination is the first distance between the monitoring locations corresponding to every two abnormal external data in the second combination; calculating the monitoring locations corresponding to the abnormal external data in the second combination based on a multi-point positioning algorithm to obtain candidate leakage locations; calculating a second distance between the candidate leakage locations corresponding to the first combination; combining the candidate leakage locations corresponding to the first combination based on the second distance to obtain the current leakage area.

[0065] As an optional implementation manner of this embodiment, the area determination module 203 is further specifically configured to combine the candidate leakage locations corresponding to the first combination based on the second distance to obtain the current leakage area, including: dividing the candidate leakage locations corresponding to the first combination to obtain at least one third combination, where the second distance between every two candidate leakage locations in each third combination is less than a second preset distance, and the difference between every two second distances is less than a second preset difference; combining at least two third combinations including the same candidate leakage location to obtain a fourth combination, where the fourth combination includes the combination obtained by combining the third combinations and the third combinations that do not need to be combined; determining the area formed by the candidate leakage locations in each fourth combination as the current leakage area.

[0066] As an alternative implementation of this embodiment, the diffusion determination module 205 is further specifically configured to perform gas diffusion simulation through a CFD model, the current leakage position, and monitoring data to obtain a second simulation result, including: analyzing the internal monitoring data to obtain a pressure anomaly area; obtaining historical leakage information, where the historical leakage information includes historical monitoring data and historical leakage data; constructing a leakage prediction model based on the historical leakage information and a machine learning algorithm; inputting the internal monitoring data and the pressure anomaly area into the leakage prediction model to obtain a predicted leakage position; performing gas diffusion simulation based on the CFD model, the current leakage position, the predicted leakage position, and the monitoring data to obtain a second simulation result, where the second simulation result includes a current leakage simulation result and a predicted leakage simulation result.

[0067] As an alternative implementation of this embodiment, the strategy determination module 206 is further specifically configured to determine a maintenance strategy based on the second simulation result, including: if there are multiple current leakage positions and / or predicted leakage positions, determining the gas type, diffusion degree, and diffusion range of the leakage based on the second simulation result; determining the leakage level based on the gas type, diffusion degree, and diffusion range; obtaining environmental information and building information based on the current leakage position and the predicted leakage position, where the environmental information includes geological information, terrain information, and meteorological information; determining the influence level based on the environmental information and the building information; determining the maintenance level based on the leakage level and the influence level; sorting the current leakage positions in descending order of the maintenance level to obtain a first sorting result; sorting the predicted leakage positions in descending order of the maintenance level to obtain a second sorting result; determining the maintenance order based on the first sorting result and the second sorting result; and determining the maintenance strategy based on the maintenance order and the second simulation result.

[0068] As an alternative implementation of this embodiment, the strategy determination module 206 is further specifically configured to determine a maintenance strategy based on the maintenance order and the second simulation result, including: if the number of gas types of the leakage is greater than one, determining the mixing ratio of each gas type based on the monitoring data; determining whether the gas transmission is safe based on the gas type, the mixing ratio, and a preset mixing rule; if the gas transmission is not safe, determining ratio adjustment information based on the gas type and the preset mixing rule; determining the valve information to be closed based on the current leakage position and the pipeline transportation information; determining the protective equipment information to be worn based on the gas type; and determining the maintenance strategy based on the maintenance order, the ratio adjustment information, the valve information to be closed, and the protective equipment information to be worn.

[0069] As an alternative implementation of this embodiment, the information acquisition module 201 is further specifically configured to, before acquiring the monitoring data, further include: acquiring historical leakage information and key monitoring areas, where the key monitoring areas include construction areas and densely populated areas; statistically analyzing the historical leakage information to obtain high-leakage areas and reasons for high leakage; determining the key monitoring areas and high-leakage areas as the first distribution areas, where the first distribution areas are areas where monitoring devices are installed according to the first distribution frequency; determining the second distribution areas based on the reasons for high leakage and pipeline information, where the second distribution areas are areas where monitoring devices are installed according to the second distribution frequency; and determining the pipeline installation areas other than the first distribution areas and the second distribution areas as the third distribution areas, where the third distribution areas are areas where monitoring devices are installed according to the third distribution frequency.

[0070] In one example, the modules in any of the above devices may be one or more integrated circuits configured to implement the above methods. For example: one or more application specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.

[0071] Again, when the modules in the device can be implemented in the form of a processing element scheduler, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call programs. Again, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0072] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0073] Figure 3 This is a structural block diagram of an electronic device 300 provided by an embodiment of the present application.

[0074] As Figure 3 shown, the electronic device 300 includes a processor 301 and a memory 302, and may further include one or more of an information input / output (I / O) interface 303, a communication component 304, and a communication bus 305.

[0075] Among them, the processor 301 is used to control the overall operation of the electronic device 300 to complete all or part of the steps of the above-mentioned combustible gas leakage detection method; the memory 302 is used to store various types of data to support the operation of the electronic device 300. Such data may include, for example, instructions for any application or method operating on the electronic device 300, as well as application-related data. The memory 302 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic memory, flash memory, one or more of a magnetic disk or an optical disc.

[0076] The I / O interface 303 provides an interface between the processor 301 and other interface modules. The above-mentioned other interface modules may be a keyboard, a mouse, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 304 is used for wired or wireless communication between the electronic device 300 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them. Therefore, the corresponding communication component 304 may include: a Wi-Fi component, a Bluetooth component, an NFC component.

[0077] The electronic device 300 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components, and is used to execute the combustible gas leakage detection method given in the above embodiments.

[0078] The communication bus 305 may include a path for transmitting information between the above components. The communication bus 305 can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 305 can be divided into an address bus, a data bus, a control bus, etc.

[0079] The electronic device 300 may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc., and may also be a server, etc.

[0080] This application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above combustible gas leakage detection method are implemented.

[0081] The computer-readable storage medium may include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.

[0082] The terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or apparatus that comprises a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus.

[0083] The above description is only a preferred embodiment of the present application and an explanation of the technical principles applied. Those skilled in the art should understand that the scope of the application involved in the present application is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the technical solutions formed by mutually replacing the above features with technical features having similar functions (but not limited to) claimed in the present application.

Claims

1. A method for detecting a combustible gas leak, characterized in that: include: Acquire monitoring data, pipeline information, pipeline transportation information and environmental information, wherein the monitoring data includes internal monitoring data and external monitoring data; Inputting the pipeline information, the pipeline transportation information and the environmental information into a CFD tool to construct a CFD model; Analyze the monitoring data and the monitoring positions corresponding to the monitoring data to obtain a current leakage area, where the current leakage area is the area where the source of the combustible gas leakage is located; Perform leakage simulation based on the CFD model and various locations included in the current leakage area to obtain a first simulation result, and compare the first simulation result with the monitoring data to obtain a current leakage location; Performing a gas diffusion simulation by using the CFD model, the current leakage location, and the monitoring data to obtain a second simulation result, wherein the second simulation result includes a diffusion range and a diffusion degree; A maintenance strategy is determined based on the second simulation result.

2. The method according to claim 1, characterized in that The analyzing the monitoring data and the monitoring positions corresponding to the monitoring data to obtain the current leakage area includes: Compare the external monitoring data with a preset threshold to obtain abnormal external data, wherein the abnormal external data is the external monitoring data exceeding the preset threshold; Dividing the abnormal external data based on gas types to obtain at least one first combination, wherein the abnormal external data in the first combination corresponds to the same gas type; Calculating a first distance between monitoring locations corresponding to every two of the abnormal external data in each first combination; Divide the first combination to obtain at least one second combination, wherein the first distance corresponding to each second combination is smaller than the first preset distance, and the difference between every two first distances corresponding to the second combination is smaller than the first preset difference, and the first distance corresponding to the second combination is the first distance between the monitoring positions corresponding to every two abnormal external data in the second combination; Calculate the monitoring position corresponding to the abnormal external data in the second combination based on a multi-point positioning algorithm to obtain a candidate leakage position; Calculating a second distance between the candidate leakage locations corresponding to the first combination; The candidate leakage positions corresponding to the first combination are combined based on the second distance to obtain the current leakage area.

3. The method according to claim 2, characterized in that The combining the candidate leakage positions corresponding to the first combination based on the second distance to obtain the current leakage area includes: Divide the candidate leakage positions corresponding to the first combination to obtain at least one third combination, wherein the second distance between every two candidate leakage positions in each of the third combinations is less than a second preset distance, and the difference between every two second distances is less than a second preset difference; Merge at least two of the third combinations including the same candidate leakage position to obtain a fourth combination, wherein the fourth combination includes a combination obtained by merging the third combinations and the third combination that does not need to be merged; An area formed by the candidate leakage positions in each of the fourth combinations is determined as the current leakage area.

4. The method according to claim 1, characterized in that The gas diffusion simulation is performed by using the CFD model, the current leakage position and the monitoring data to obtain a second simulation result, including: Analyzing the internal monitoring data to obtain an abnormal pressure area; Acquire historical leakage information, wherein the historical leakage information includes historical monitoring data and historical leakage data; Building a leakage prediction model based on the historical leakage information and the machine learning algorithm; Inputting the internal monitoring data and the abnormal pressure area into the leakage prediction model to obtain a predicted leakage location; A gas diffusion simulation is performed based on the CFD model, the current leakage location, the predicted leakage location and the monitoring data to obtain a second simulation result, wherein the second simulation result includes a current leakage simulation result and a predicted leakage simulation result.

5. The method according to claim 4, characterized in that The determining of the maintenance strategy based on the second simulation result comprises: If there are multiple current leakage locations and / or predicted leakage locations, determining the type of leaked gas, the degree of diffusion, and the range of diffusion based on the second simulation result; determining a leakage level based on the gas type, the diffusion degree, and the diffusion range; Acquire environmental information and building information based on the current leakage location and the predicted leakage location, wherein the environmental information includes geological information, topographic information, and meteorological information; determining an impact level based on the environmental information and the building information; Determining a maintenance level based on the leakage level and the impact level; Sorting the current leakage locations from high to low according to the maintenance levels to obtain a first sorting result; Sorting the predicted leakage locations from high to low according to the maintenance levels to obtain a second sorting result; Determine a maintenance order based on the first sorting result and the second sorting result; A maintenance strategy is determined based on the maintenance sequence and the second simulation result.

6. The method according to claim 5, characterized in that The determining of the maintenance strategy based on the maintenance sequence and the second simulation result comprises: If the leaked gas type is more than one, determining the mixing ratio of each gas type based on the monitoring data; Determining whether gas transmission is safe based on the gas type, the mixing ratio and the preset mixing rule; If the gas transmission is unsafe, determining the ratio adjustment information based on the gas type and the preset mixing rule; Determine the valve information to be closed based on the current leakage position and the pipeline transportation information; Determining information of protective gear to be worn based on the type of gas; A maintenance strategy is determined based on the maintenance sequence, the ratio adjustment information, the valve to be closed information, and the protective gear to be worn information.

7. The method according to claim 1, characterized in that Before acquiring the monitoring data, the method further includes: Obtain historical leakage information and key monitoring areas, including construction areas and areas with dense populations; Performing statistical analysis on the historical leakage information to obtain high-incidence areas of leakage and high-incidence causes of leakage; Determine the key monitoring area and the high-leakage area as a first distribution area, where the first distribution area is an area where monitoring equipment is installed according to a first distribution frequency; Determine a second distribution area based on the high-incidence cause of leakage and the pipeline information, where the second distribution area is an area where the monitoring equipment is installed according to a second distribution frequency; The pipeline installation area outside the first distribution area and the second distribution area is determined as a third distribution area, and the third distribution area is an area where the monitoring equipment is installed according to the third distribution frequency.

8. A combustible gas leak detection device, characterized in that: include: An information acquisition module, used to acquire monitoring data, pipeline information, pipeline transportation information and environmental information, wherein the monitoring data includes internal monitoring data and external monitoring data; A model building module, used for inputting the pipeline information, the pipeline transportation information and the environmental information into a CFD tool to build a CFD model; An area determination module is used to analyze the monitoring data and the monitoring positions corresponding to the monitoring data to obtain a current leakage area, where the current leakage area is the area where the source of the combustible gas leakage is located; A position determination module, configured to perform leakage simulation based on the CFD model and various positions included in the current leakage area to obtain a first simulation result, and compare the first simulation result with the monitoring data to obtain a current leakage position; a diffusion determination module, configured to perform a gas diffusion simulation using the CFD model, the current leakage location, and the monitoring data to obtain a second simulation result, wherein the second simulation result includes a diffusion range and a diffusion degree; A strategy determination module is used to determine a maintenance strategy based on the second simulation result.

9. An electronic device, characterized in that: comprising a processor coupled to a memory; The processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The method comprises a computer program or an instruction, which, when executed on a computer, causes the computer to execute the method according to any one of claims 1 to 7.