A method, apparatus, electronic device and storage medium for controlling the odorization of natural gas.

By detecting the concentration and pipe material at the end of the gas pipeline network, the amount of odorant compensation is automatically calculated, which solves the problem of inaccurate control of odorant concentration in gas, realizes fully automated and precise odorant output, reduces costs and improves safety.

CN115789526BActive Publication Date: 2025-10-31新奥新智科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211710839.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2025-10-31
Estimated Expiration
2042-12-29

AI Technical Summary

Technical Problem

Existing technologies do not accurately control the concentration of odorants in natural gas, resulting in high costs or ineffective warnings, and excessive odorant use pollutes the environment.

Method used

By detecting the concentration of odorant at the end of the gas pipeline network, and combining the pipeline material and the concentration of the target substance, the system automatically calculates the amount of odorant compensation for each gas pipeline, and controls the odorizer to output odorant at the starting end, thus achieving fully automated gas odorization control.

Benefits of technology

It improves the accuracy of odorant output, reduces labor costs, enhances adaptability, avoids environmental pollution, and ensures the effectiveness of safety warnings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115789526B_ABST
    Figure CN115789526B_ABST
Patent Text Reader

Abstract

This application discloses a gas odorization control method, device, electronic equipment, and storage medium to achieve a fully automated gas odorization method and improve the accuracy of odorant output dosage. The method includes: detecting the odorant concentration at the end of a gas pipeline network; the gas pipeline network includes multiple gas pipes; when the odorant concentration at the end is less than a concentration threshold, determining the odorant compensation amount for each gas pipe based on the material of each gas pipe and the concentration of the target substance contained in each gas pipe; controlling the odorizer located at the beginning of each of the multiple gas pipes to output odorant based on the determined odorant compensation amounts for each gas pipe; wherein, gas pipes of different materials have different adsorption capacities for odorant, and the target substance is the substance adsorbed by the odorant within each gas pipe.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet of Things (IoT) technology, and in particular to a gas odor control method, apparatus, electronic device, and storage medium. Background Technology

[0002] Odorization of natural gas is an essential step in the gas industry. Odorant is an organic compound or mixture with a strong odor. Adding it to natural gas at an appropriate concentration gives it a distinctive warning odor, allowing for timely detection of gas leaks. However, excessive odorant concentration is costly and can lead to incomplete combustion, producing carbon monoxide and sulfur-containing gases that pollute the environment. Insufficient odorant concentration, on the other hand, fails to serve its warning purpose and can easily cause safety accidents. Therefore, accurately controlling the odorant concentration is a pressing issue that needs to be addressed. Summary of the Invention

[0003] This application provides a gas odorization control method, apparatus, electronic device, and storage medium to achieve a fully automated gas odorization method and improve the accuracy of the odorant output dosage.

[0004] In a first aspect, embodiments of this application propose a method for controlling the odorization of natural gas, including:

[0005] The concentration of odorant at the end of the gas pipeline network is detected; the gas pipeline network includes multiple gas pipelines.

[0006] When the odorant concentration at the end is less than the concentration threshold, the odorant compensation amount for each gas pipeline is determined based on the material of each gas pipeline in the gas pipeline network and the concentration of the target substance contained in each gas pipeline.

[0007] Based on the determined odorant compensation amount for each of the multiple gas pipelines, the odorizer located at the starting end of each of the multiple gas pipelines is controlled to output odorant.

[0008] Among them, the adsorption capacity of odorant varies for gas pipelines made of different materials, and the target substance is the substance that adsorbs odorant in each gas pipeline.

[0009] In some embodiments, controlling the odorizer located at the starting end of the plurality of gas pipelines to output odorizer according to the determined odorizer compensation amount for each of the plurality of gas pipelines includes:

[0010] Based on the amount of odorant compensation for each gas pipeline, the odorizer located at the beginning of each gas pipeline is controlled to output odorant.

[0011] In some embodiments, controlling the odorizer located at the starting end of the plurality of gas pipelines to output odorizer according to the determined odorizer compensation amount for each of the plurality of gas pipelines includes:

[0012] Based on the amount of odorant compensation in the first pipeline among the multiple gas pipelines, the odorizer located at the starting end of the first pipeline is controlled to output odorant.

[0013] The first pipeline is the gas pipeline with the smallest odorant compensation among the multiple gas pipelines.

[0014] In some embodiments, controlling the odorizer located at the starting end of the plurality of gas pipelines to output odorizer according to the determined odorizer compensation amount for each of the plurality of gas pipelines includes:

[0015] Collect the flow rate of gas in each gas pipeline;

[0016] The gas delivery time for each gas pipeline is determined based on the length of each gas pipeline and the gas flow rate in each gas pipeline.

[0017] Based on the amount of odorant compensation in the second pipeline among the multiple gas pipelines, the odorizer located at the beginning of the second pipeline is controlled to output odorant.

[0018] The second pipeline is the gas pipeline with the shortest gas delivery time among the multiple gas pipelines.

[0019] In some embodiments, the method further includes:

[0020] When the difference between the odorant concentration at the end and the concentration threshold is greater than a preset value, the odorant delivery amount of each gas pipeline is determined based on the odorant concentration at the beginning of each gas pipeline and the volume of each gas pipeline; and the odorant delivery time of each gas pipeline is determined based on the volume of each gas pipeline and the flow rate of gas in each gas pipeline.

[0021] The third pipeline is determined from the plurality of gas pipelines based on the odorant delivery amount of each gas pipeline, the odorant delivery time of each gas pipeline, and the difference.

[0022] Based on the odorant compensation amount in the third pipeline, the odorant output at the starting end of the third pipeline is controlled.

[0023] In some embodiments, determining a third gas pipeline from the plurality of gas pipelines based on the odorant delivery amount of each gas pipeline, the odorant delivery time of each gas pipeline, and the difference includes:

[0024] Based on the difference, the preset weights for the odorant delivery amount and the odorant delivery time are obtained respectively;

[0025] Based on the obtained weights, the weighted sum of the odorant delivery amount and odorant delivery time for each gas pipeline is calculated respectively;

[0026] The gas pipeline with the highest weighted sum calculated is designated as the third pipeline.

[0027] In some embodiments, the method further includes:

[0028] After controlling the set duration of the odorant output at the beginning of the third pipeline according to the odorant compensation amount of the third pipeline, it is determined that the difference is greater than the preset value.

[0029] Send alarm information to the management equipment; the alarm information is used to indicate that the gas output from the third pipeline is abnormal.

[0030] Secondly, embodiments of this application propose a gas odor control device, the device comprising:

[0031] A detection unit is used to detect the concentration of odorant at the end of a gas pipeline network; the gas pipeline network includes multiple gas pipelines.

[0032] The processing unit is configured to execute:

[0033] When the odorant concentration at the end is less than the concentration threshold, the odorant compensation amount for each gas pipeline is determined based on the material of each gas pipeline in the gas pipeline network and the concentration of the target substance contained in each gas pipeline.

[0034] Based on the determined odorant compensation amount for each of the multiple gas pipelines, the odorizer located at the starting end of each of the multiple gas pipelines is controlled to output odorant.

[0035] Among them, the adsorption capacity of odorant varies for gas pipelines made of different materials, and the target substance is the substance that adsorbs odorant in each gas pipeline.

[0036] In some embodiments, the processing unit is specifically used for:

[0037] Based on the amount of odorant compensation for each gas pipeline, the odorizer located at the beginning of each gas pipeline is controlled to output odorant.

[0038] In some embodiments, the processing unit is specifically used for:

[0039] Based on the amount of odorant compensation in the first pipeline among the multiple gas pipelines, the odorizer located at the starting end of the first pipeline is controlled to output odorant.

[0040] The first pipeline is the gas pipeline with the smallest odorant compensation among the multiple gas pipelines.

[0041] In some embodiments, the processing unit is specifically used for:

[0042] Collect the flow rate of gas in each gas pipeline;

[0043] The gas delivery time for each gas pipeline is determined based on the length of each gas pipeline and the gas flow rate in each gas pipeline.

[0044] Based on the amount of odorant compensation in the second pipeline among the multiple gas pipelines, the odorizer located at the beginning of the second pipeline is controlled to output odorant.

[0045] The second pipeline is the gas pipeline with the shortest gas delivery time among the multiple gas pipelines.

[0046] In some embodiments, the processing unit is further configured to:

[0047] When the difference between the odorant concentration at the end and the concentration threshold is greater than a preset value, the odorant delivery amount of each gas pipeline is determined based on the odorant concentration at the beginning of each gas pipeline and the volume of each gas pipeline; and the odorant delivery time of each gas pipeline is determined based on the volume of each gas pipeline and the flow rate of gas in each gas pipeline.

[0048] The third pipeline is determined from the plurality of gas pipelines based on the odorant delivery amount of each gas pipeline, the odorant delivery time of each gas pipeline, and the difference.

[0049] Based on the odorant compensation amount in the third pipeline, the odorant output at the starting end of the third pipeline is controlled.

[0050] In some embodiments, the processing unit is specifically used for:

[0051] Based on the difference, the preset weights for the odorant delivery amount and the odorant delivery time are obtained respectively;

[0052] Based on the obtained weights, the weighted sum of the odorant delivery amount and odorant delivery time for each gas pipeline is calculated respectively;

[0053] The gas pipeline with the highest weighted sum calculated is designated as the third pipeline.

[0054] In some embodiments, the device further includes a communication unit; the processing unit is further configured to determine that the difference is greater than a preset value after controlling the set duration of the odorant output odorant at the starting end of the third pipeline according to the odorant compensation amount of the third pipeline.

[0055] The communication unit is used to send alarm information to the management equipment; the alarm information is used to indicate that the third pipeline is outputting abnormal gas.

[0056] Thirdly, an electronic device is provided, comprising a controller and a memory. The memory stores computer-executable instructions, and the controller executes the computer-executable instructions in the memory to perform operational steps of any possible implementation of the method of the first aspect using hardware resources in the controller.

[0057] Fourthly, a computer-readable storage medium is provided, which stores instructions that, when executed on a computer, cause the computer to perform the methods described above.

[0058] This application proposes a method to determine whether odorant compensation in the gas pipeline is needed by detecting the odorant concentration at the end of the gas pipeline network. When odorant compensation is determined to be necessary, the system automatically calculates the odorant compensation amount based on the adsorption of odorant within the gas pipeline and controls the odorizer at the beginning of the pipeline to increase the output concentration of odorant based on the calculated compensation amount. This application designs an automatic odorant compensation mechanism by combining the odorant concentration at the end of the pipeline network with the adsorption of odorant by the odorizer in each pipeline. Compared to the existing technology that relies on manual control of the odorizer's output, this application's solution not only saves labor costs but also accurately determines the odorant compensation amount based on the actual conditions of the gas pipeline, exhibiting high adaptability. Attached Figure Description

[0059] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0060] Figure 1 A schematic diagram of the architecture of a gas odorization control system provided in an embodiment of this application;

[0061] Figure 2 A flowchart illustrating a gas odorization control method provided in this application embodiment;

[0062] Figure 3 A schematic diagram of the topology of a gas pipeline network provided for an embodiment of this application;

[0063] Figure 4 A schematic diagram of another gas odorization control system provided in an embodiment of this application;

[0064] Figure 5 A flowchart illustrating another gas odorization control method provided in this application embodiment;

[0065] Figure 6 This is a schematic diagram of the structure of a gas odorization control device provided in an embodiment of this application;

[0066] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0067] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.

[0068] It should be noted that the terms "first," "second," etc., used in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data used can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0069] Odorants are organic compounds or mixtures with a strong odor, characterized by sulfur content, low toxicity, flammability, explosiveness, and high cost. When added to natural gas at a low concentration, odorants impart a distinctive, alert odor, allowing leaks to be detected promptly when they reach the lower explosive limit or harmful concentrations. Insufficient odorant concentration may fail to provide a warning of leaks, potentially leading to accidents. Conversely, excessive odorant concentration is costly, as it is expensive. Furthermore, incomplete combustion of excess odorant can produce toxic gases such as carbon monoxide and sulfur-containing compounds, polluting the environment. Currently, adding odorants to gas pipelines at the gas source typically involves workers determining the amount based on concentration and flow data and their experience. This method is highly manual, unsuitable for various pipeline environments, and lacks automation.

[0070] To address the aforementioned issues, this application proposes a fully automated gas odorization control scheme. This scheme determines whether odorization compensation is needed by detecting the concentration of odorant at the end of the gas pipeline, and matches different odorant compensation mechanisms to different gas pipeline conditions, thereby achieving a fully automated and adaptive gas odorization control method.

[0071] The following details the gas odor control method and apparatus proposed in this application. In the embodiments of this application, "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. The singular expressions "a," "an," "the," "the," "this," and "this" are intended to also include expressions such as "one or more," unless the context explicitly indicates otherwise. Furthermore, unless otherwise stated, the ordinal numbers such as "first" and "second" mentioned in the embodiments of this application are used to distinguish multiple objects and are not used to limit the order, sequence, priority, or importance of multiple objects. For example, "first task execution device" and "second task execution device" are only used to distinguish different task execution devices, and do not indicate a difference in priority or importance between the two task execution devices.

[0072] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0073] First, the application scenarios involved in the embodiments of this application will be introduced. See [link to relevant documentation]. Figure 1 This is a schematic diagram of the architecture of a gas odorization control system proposed in this application. It should be understood that the embodiments of this application are not limited to those described above. Figure 1 In the system shown, in addition, Figure 1The device in the diagram can be hardware, software categorized by function, or a combination of both. For example... Figure 1 As shown, the system architecture provided in this application embodiment includes a management platform and multiple odorizers. It should be noted that this application does not limit the number of odorizers.

[0074] Figure 1 The management platform shown can be an electronic device with computing, data analysis, and communication capabilities, or it can be a computer processing chip. Optionally, the functions of the management platform can also be implemented by a server cluster consisting of one or more servers. This may include hardware such as processors, hard drives, memory, system buses, and communication modules. In an optional embodiment, the management platform may also have or be connected to a display screen for displaying various analytical data.

[0075] In this application, the management platform can be used to monitor the odorant concentration at the end of the gas pipeline, and automatically match and determine the odorant compensation amount based on the odorant concentration at the pipeline end through algorithm analysis. It can also be used to control the gas source to add odorant according to the calculated compensation amount. In some embodiments, the management platform can also be used to record and manage the odorization control process, for example, by generating and archiving a disposal work order each time odorant compensation is performed.

[0076] Figure 1 The odorizer shown is a device located at the beginning of a gas pipeline, used to output odorant into the gas pipeline. Optionally, the odorizer may include hardware configurations such as a processor, sensors, communication components, and a display screen. The processor can collect and process signals transmitted from various sensors in real time, and process the received signals according to the set processing logic.

[0077] Optionally, in a gas pipeline network, an odorizer can be configured at the beginning of each gas pipeline, or an odorizer can be configured at the beginning of multiple gas pipelines. This application does not limit the configuration method of the odorizers or the number of odorizers included in the system.

[0078] Below, based on Figure 1 The system shown provides a detailed description of the solution in this application. See also... Figure 2 This is a flowchart of a gas odorization control method provided in an embodiment of this application. Optionally, the method flowchart can be... Figure 1 The system shown includes a management platform for execution. Figure 2 The method flow shown specifically includes:

[0079] 201. Detect the concentration of odorant at the end of the gas pipeline network.

[0080] The gas pipeline network consists of multiple gas pipelines, each with one end and at least one starting end.

[0081] 202. When the odorant concentration at the end of the gas pipeline network is less than the concentration threshold, the odorant compensation amount for each gas pipeline is determined based on the material of each gas pipeline in the gas pipeline network and the concentration of the target substance contained in each gas pipeline.

[0082] Among them, gas pipes made of different materials have different adsorption effects on odorants. For example, gas pipes made of polyethylene (PE) and galvanized materials have a smaller adsorption effect on odorants, while carbon steel pipes have a larger adsorption effect on odorizers.

[0083] The target substance refers to the substance that adsorbs the odorant within each gas pipeline, such as dust and scale impurities. Optionally, the concentration of the target substance in any gas pipeline can be pre-determined through fixed-point detection. The concentration of the target substance in any gas pipeline and the material of any gas pipeline can be pre-stored in the management platform.

[0084] This application proposes that the amount of odorant reduction in each gas pipeline can be automatically calculated based on the adsorption of the odorizer by each gas pipeline, which can then be used as the odorant compensation amount.

[0085] 203. Based on the determined odorant compensation amount for each of the multiple gas pipelines, control the odorizer output of the odorizer located at the starting end of the multiple gas pipelines.

[0086] Optionally, one or more odorizers can be installed at the starting end of multiple gas pipelines. After calculating the amount of odorizer compensation required for each gas pipeline, the output of odorizer can be controlled to increase the amount of odorizer compensation on top of the normal output.

[0087] Based on the above scheme, this application proposes to determine whether odorant compensation in the gas pipeline is needed by detecting the odorant concentration at the end of the gas pipeline network. When it is determined that odorant compensation is needed, the odorant compensation amount is automatically calculated based on the adsorption of odorant in the gas pipeline, and the odorizer at the beginning of the pipeline is controlled to increase the output concentration of odorant based on the calculated odorant compensation amount. This application designs an automatic odorant compensation mechanism by combining the odorant concentration at the end of the pipeline network and the adsorption of odorizer by each pipeline. Compared with the existing technology of manually controlling the output of odorant by the odorizer, the solution of this application not only saves labor costs, but also can accurately determine the odorant compensation amount based on the actual situation of the gas pipeline, and has a high degree of adaptability.

[0088] In some embodiments, the management platform can detect the odorant concentration at the end of the gas pipeline network in real time and determine whether the odorant concentration is less than a concentration threshold. For example, according to the standard requirements of the gas industry, the odorant concentration threshold at the end can be set to 8 mg / Nm³. 3 When the concentration of odorant at the end of the pipeline network is determined to be less than the concentration threshold, the amount of odorant to be replenished can be determined by considering the adsorption of odorant by each pipeline.

[0089] For example, let's take tetrahydrothiophene as the odorant and carbon steel and PE as the gas pipeline materials. Based on existing measurement data: carbon steel pipes with rust on the surface have an adsorption capacity of 0.265 g / kg for tetrahydrothiophene, meaning that 0.256 grams of odorant are adsorbed per kilogram of rust. Dust in the pipes has an adsorption capacity of 0.063 g / kg for tetrahydrothiophene, and scale in the pipes has an adsorption capacity of 0.045 g / kg for tetrahydrothiophene. It should be noted that since the adsorption capacity of PE pipes for the odorant tends to reach equilibrium over time, this application proposes not to consider the adsorption capacity of PE gas pipes for the odorant when considering the overall adsorption effect.

[0090] Continuing with the example above, suppose the gas pipeline A is made of PE and carbon steel. In the gas pipeline A with a length of (L1+L2), the length occupied by the carbon steel pipe is L1, the length occupied by the PE pipe is L2, the cross-sectional area of ​​the carbon steel pipe is S1, and the cross-sectional area of ​​the PE pipe is S2. Then, when calculating the odorant compensation amount of gas pipeline A (which can also be called the odorant reduction amount of gas pipeline A), the following formula (1) can be used:

[0091] Δw=(0.265C1S1L1+0.063C2S2L2+0.450C3S2L2)*10 3 mg Formula (1)

[0092] Where Δw is the amount of odorant compensation in gas pipeline A, C1 is the average concentration of rust in gas pipeline A, S1 is the cross-sectional area of ​​the carbon steel pipe in gas pipeline A, L1 is the length of the carbon steel pipe, C2 is the average concentration of dust in gas pipeline A, S2 is the cross-sectional area of ​​the PE pipe in gas pipeline A, L2 is the length of the PE pipe, and C3 is the average concentration of scale in gas pipeline A.

[0093] Furthermore, after determining the odorant compensation amount for gas pipeline A, the odorant compensation concentration for gas pipeline A can also be calculated, for example, using the following formula (2):

[0094]

[0095] Wherein, ΔC is the odorant compensation concentration of gas pipeline A, Δw is the odorant compensation amount of gas pipeline A, S1 is the cross-sectional area of ​​the carbon steel pipe included in gas pipeline A, L1 is the length of the carbon steel pipe, S2 is the cross-sectional area of ​​the PE pipe included in gas pipeline A, and L2 is the length of the PE pipe.

[0096] Furthermore, after determining the odorant compensation concentration for gas pipeline A based on the odorant compensation amount, the output of the odorizer from the odorizer located at gas pipeline A can be controlled according to the determined odorant compensation concentration. For example, if the original odorant concentration output by the odorizer at the beginning of gas pipeline A is C, and the calculated odorant compensation concentration is ΔC, then the output odorant concentration of the odorizer at the beginning of gas pipeline A can be adjusted to: C + ΔC.

[0097] As an alternative, the odorant concentration output by the odorizer located in gas pipeline A can be calculated using the gas flow meter and the liquid level change in the odorant storage tank. For example, the mass change and volume change of the odorant can be calculated first using the liquid level change and tank volume of the odorant storage tank. Furthermore, the odorant concentration over a certain time period can be calculated based on the gas flow rate, the mass change of the odorant, and the volume change of the odorant. As an example, the odorant concentration per unit time t can be calculated using the following formula (3):

[0098]

[0099] Where C is the concentration of odorant per unit time t, Δw is the mass change of odorant per unit time t, Δv is the volume change of odorant per unit time t, and a is the flow rate of the gas, where the unit of a is Nm³. 3 / h.

[0100] In some embodiments, when the management platform controls the output of odorant at the starting end of multiple gas pipelines based on the odorant compensation amount for each pipeline, odorant compensation can be performed for each gas pipeline. Optionally, the odorant compensation concentration for each gas pipeline can be calculated based on the odorant compensation amount for each pipeline. Further, the odorizer output at the starting end of each gas pipeline can be controlled based on the calculated odorant compensation concentration for each pipeline. The specific control process can be found in the description in the above embodiments, and will not be repeated here.

[0101] In other embodiments, when the management platform compensates for the odorant, it can also select one gas pipeline from multiple gas pipelines for compensation.

[0102] As an alternative approach, the management platform can select the pipeline with the smallest odorant compensation amount from among multiple gas pipelines. The management platform can then control the odorizer output from the odorizer unit located at the beginning of the first pipeline based on the calculated odorant compensation concentration. Optionally, the management platform can adopt this compensation method when the difference between the odorant concentration at the end of the pipeline network and the concentration threshold is small.

[0103] As an alternative approach, the management platform can select the second gas pipeline with the shortest gas delivery time from among multiple gas pipelines. Alternatively, the management platform can calculate the gas delivery time of each gas pipeline based on the gas flow rate, length, and cross-sectional area of ​​each gas pipeline. For example, the gas delivery time of any gas pipeline can be calculated using the following formula (4):

[0104]

[0105] Where t is the gas delivery time of any gas pipeline, S is the cross-sectional area of ​​any gas pipeline, L is the length of any gas pipeline, and a is the gas flow rate in any gas pipeline.

[0106] Furthermore, after determining the second pipeline with the shortest gas delivery time, the management platform can control the output of odorant from the odorizer at the beginning of the second pipeline based on the odorant compensation concentration in the second pipeline.

[0107] In some scenarios, when the difference between the concentration of odorant at the end of the gas pipeline and the concentration threshold is greater than a preset value, the management platform can determine that the current gas delivery status is abnormal. This application proposes to automatically match and select a gas pipeline for gas replenishment based on the abnormal gas delivery status.

[0108] In some embodiments, when the management platform determines that the current gas delivery status is abnormal, it can determine the odorant delivery amount for each gas pipeline based on the odorant concentration at the beginning of each gas pipeline and the volume of each gas pipeline. For example, the odorant delivery amount for any gas pipeline can be calculated using the following formula (5):

[0109] w=CLS; Formula (5)

[0110] Where w is the odorant delivery rate of any gas pipeline, C is the odorant concentration at the starting end of any gas pipeline, L is the length of any gas pipeline, and S is the cross-sectional area of ​​any gas pipeline.

[0111] Optionally, in some scenarios, any gas pipeline may include a high-pressure pipeline, a medium-pressure pipeline, and a low-pressure pipeline. Let the lengths of the high-pressure, medium-pressure, and low-pressure pipelines included in any gas pipeline be L, respectively. 高L 中 L 低 Therefore, the odorant delivery volume for any gas pipeline can be calculated using the following formula (6):

[0112] w = C(S) 高 L 高 +S 低 L 低 +S 中 L 中 ); Formula (6)

[0113] Where w is the odorant delivery rate of any gas pipeline, C is the odorant concentration at the starting end of any gas pipeline, and L 高 Let S be the length of the high-pressure pipe in any gas pipeline. 高 L is the cross-sectional area of ​​the high-pressure pipeline. 低 Let S be the length of the low-pressure section in any gas pipeline. 低 L is the cross-sectional area of ​​the low-pressure pipeline. 中 S is the length of the medium-pressure pipeline included in any gas pipeline. 中 This represents the cross-sectional area of ​​the medium-pressure pipeline.

[0114] Furthermore, the management platform can determine the odorant delivery time for each gas pipeline based on the volume of each gas pipeline and the gas flow rate in each gas pipeline. For specific calculation methods, please refer to the gas delivery time calculated in the above formula (4).

[0115] Furthermore, the management platform can select a third gas pipeline from multiple gas pipelines for odorant compensation based on the odorant concentration at the end of the gas pipeline network, the odorant delivery time of each gas pipeline, and the odorant delivery volume of each gas pipeline. The specific compensation mechanism can be found in the description in the above embodiments, and will not be repeated here.

[0116] Alternatively, a third gas pipeline can be selected from multiple gas pipelines in the following manner:

[0117] The management platform can obtain preset weights for odorant delivery volume and odorant delivery time based on the difference between the odorant concentration at the end of the gas pipeline network and the concentration threshold. Optionally, when the difference is large, delivery time can be prioritized, and the weight of odorant delivery time can be set greater than the weight of odorant delivery volume. When the difference is small, delivery volume can be prioritized to reduce odorant costs, and the weight of odorant delivery volume can be set greater than the weight of odorant delivery time.

[0118] Furthermore, based on the obtained weights, a weighted sum of the odorant delivery volume and delivery time for each gas pipeline can be calculated separately. As an example, the weighted sum can be calculated using the following formula (7):

[0119] p = k1w + k2t; Formula (7)

[0120] Where p is the weighted sum of any gas pipeline, k1 is the weight of the preset odorant delivery amount, w is the odorant delivery amount of any gas pipeline, k2 is the weight of the preset odorant delivery time, and t is the odorant delivery time of any gas pipeline.

[0121] Alternatively, the gas pipeline with the highest weighted sum among multiple gas pipelines can be designated as the third pipeline.

[0122] In some embodiments, the management platform can also obtain the odorant concentration at the end of the gas pipeline after a set time for odorant compensation through the third pipeline, and determine whether the difference between the concentration and the concentration threshold is less than a preset value. If it is not less than the preset value, an alarm message can be sent to the management device to indicate that the gas output of the third pipeline is abnormal. Optionally, after sending the alarm message, the management platform can also select another pipeline for odorant compensation in the above manner.

[0123] In some scenarios, this application proposes to segment each gas pipeline within a gas pipeline network, construct a pipeline topology, and determine whether each gas pipeline segment has any abnormalities such as leaks based on data such as the odorant concentration at each node in the topology. This helps workers conduct leak detection and other troubleshooting work on the pipeline. See, as an example, [link to example]. Figure 3 This is a schematic diagram of the topology of a gas pipeline network proposed in an embodiment of this application.

[0124] See Figure 3 Point A is the starting point of the gas pipeline network, also known as the gas source end, and the odorizer is located at point A. Point C is the ending point of the gas pipeline network. Points E and H are nodes connecting the high-pressure pipeline to the medium-pressure pipeline, and points F and G are nodes connecting the medium-pressure pipeline to the low-pressure pipeline. Points B, D, E, F, G, and H are detection points, meaning the management platform can determine the gas delivery status of each segment of the gas pipeline network by analyzing data such as flow rate at these detection points.

[0125] Optionally, it is possible to Figure 3 The detection points shown are equipped with various sensors or IoT data from each point, which can include data such as pressure, gas flow rate, gas concentration, odorant concentration, rust concentration, dust concentration, and scale concentration. The management platform can periodically acquire IoT data from each detection point and parse the data according to the set matching rules to determine the gas and odorant delivery status of each section of the gas pipeline network, thereby enabling timely detection and location of pipeline leaks and other problems. For sections with frequent anomalies, relevant data can be collected and sent to the management equipment, instructing staff to add or remove detection equipment in that section.

[0126] In some scenarios, the functions implemented by the management platform in the above embodiments can also be implemented by multiple smart devices. For example, see [link to relevant documentation]. Figure 4 This is another system architecture diagram provided in this application embodiment, including an odorizer, IoT devices, an operation platform, and a management device. The IoT devices can be used to collect data such as the concentration of odorant in the gas pipeline, and can also be used to determine whether the odorant concentration is abnormal based on the odorant concentration at the end of the gas pipeline network. The IoT devices can also be used to determine whether the odorizer is working properly based on the odorant concentration at the beginning of the gas pipeline network, and notify the management device when an abnormal operation is determined. The operation platform is used to implement functions such as automatic odorant compensation, intelligent matching, and control of the odorizer output based on the data collected by the IoT devices. The operation platform can also be used to record the compensation and matching process during odorant compensation and intelligent matching. The management device is used to receive abnormal warnings from the IoT devices and the operation platform and notify the staff; for example, the management device may include a display screen to display abnormal warnings.

[0127] Below, in conjunction with Figure 4 The system architecture shown illustrates the gas odor control method proposed in this application. See also... Figure 5 A gas odor control method provided in this application includes:

[0128] 501, IoT devices collect the concentration of odorant at the end of the gas pipeline network.

[0129] 502. The IoT device determines whether the concentration of the odorant at the end is less than the concentration threshold.

[0130] If so, proceed to step 503.

[0131] If not, return to step 501.

[0132] 503, the IoT device sends an instruction message to the operation center.

[0133] The indication information is used to indicate abnormal concentrations of odorant at the end of the gas pipeline network.

[0134] 504. The operations center determines the amount of odorant compensation for each gas pipeline based on the material of each gas pipeline in the gas pipeline network and the concentration of the target substance it contains.

[0135] The specific calculation process can be found in the descriptions in the above embodiments, and will not be repeated here.

[0136] 505. The operations center sends control information to the odorizer based on the odorant compensation amount for multiple gas pipelines.

[0137] Among them, the control information is generated by the operation center based on the odorant compensation amount of multiple gas pipelines, and is used to control the output of odorant by the odorizer.

[0138] 506. The operations center records all data during the odorant replenishment process and sends the recorded data to the management equipment.

[0139] Based on the same concept as the method described above, see [link to relevant documentation]. Figure 6 This application provides a gas odor control device 600, which is used to implement the various steps in the above method. To avoid repetition, these steps will not be described again here. The device 600 includes a detection unit 601, a processing unit 602, and a communication unit 603.

[0140] The detection unit 601 is used to detect the concentration of odorant at the end of the gas pipeline network; the gas pipeline network includes multiple gas pipelines.

[0141] Processing unit 602 is configured to execute:

[0142] When the odorant concentration at the end is less than the concentration threshold, the odorant compensation amount for each gas pipeline is determined based on the material of each gas pipeline in the gas pipeline network and the concentration of the target substance contained in each gas pipeline.

[0143] Based on the determined odorant compensation amount for each of the multiple gas pipelines, the odorizer located at the starting end of each of the multiple gas pipelines is controlled to output odorant.

[0144] Among them, the adsorption capacity of odorant varies for gas pipelines made of different materials, and the target substance is the substance that adsorbs odorant in each gas pipeline.

[0145] In some embodiments, the processing unit 602 is specifically used for:

[0146] Based on the amount of odorant compensation for each gas pipeline, the odorizer located at the beginning of each gas pipeline is controlled to output odorant.

[0147] In some embodiments, the processing unit 602 is specifically used for:

[0148] Based on the amount of odorant compensation in the first pipeline among the multiple gas pipelines, the odorizer located at the starting end of the first pipeline is controlled to output odorant.

[0149] The first pipeline is the gas pipeline with the smallest odorant compensation among the multiple gas pipelines.

[0150] In some embodiments, the processing unit 602 is specifically used for:

[0151] Collect the flow rate of gas in each gas pipeline;

[0152] The gas delivery time for each gas pipeline is determined based on the length of each gas pipeline and the gas flow rate in each gas pipeline.

[0153] Based on the amount of odorant compensation in the second pipeline among the multiple gas pipelines, the odorizer located at the beginning of the second pipeline is controlled to output odorant.

[0154] The second pipeline is the gas pipeline with the shortest gas delivery time among the multiple gas pipelines.

[0155] In some embodiments, the processing unit 602 is further configured to:

[0156] When the difference between the odorant concentration at the end and the concentration threshold is greater than a preset value, the odorant delivery amount of each gas pipeline is determined based on the odorant concentration at the beginning of each gas pipeline and the volume of each gas pipeline; and the odorant delivery time of each gas pipeline is determined based on the volume of each gas pipeline and the flow rate of gas in each gas pipeline.

[0157] The third pipeline is determined from the plurality of gas pipelines based on the odorant delivery amount of each gas pipeline, the odorant delivery time of each gas pipeline, and the difference.

[0158] Based on the odorant compensation amount in the third pipeline, the odorant output at the starting end of the third pipeline is controlled.

[0159] In some embodiments, the processing unit 602 is specifically used for:

[0160] Based on the difference, the preset weights for the odorant delivery amount and the odorant delivery time are obtained respectively;

[0161] Based on the obtained weights, the weighted sum of the odorant delivery amount and odorant delivery time for each gas pipeline is calculated respectively;

[0162] The gas pipeline with the highest weighted sum calculated is designated as the third pipeline.

[0163] In some embodiments, the device further includes a communication unit 603; the processing unit 602 is further configured to determine that the difference is greater than a preset value after controlling the set duration of the odorant output at the starting end of the third pipeline according to the odorant compensation amount of the third pipeline.

[0164] The communication unit 603 is used to send alarm information to the management device; the alarm information is used to indicate that the third pipeline is outputting abnormal gas.

[0165] Figure 7 A schematic diagram of the structure of an electronic device 700 provided in an embodiment of this application is shown. The electronic device 700 in this embodiment may further include a communication interface 703, which is, for example, a network port. The electronic device can transmit data through the communication interface 703. For example, the communication interface 703 can realize the function of the communication unit 603 described in the above embodiment.

[0166] In this embodiment, the memory 702 stores instructions that can be executed by at least one controller 701. By executing the instructions stored in the memory 702, the at least one controller 701 can perform various steps in the above-described method. For example, the controller 701 can implement the above-described... Figure 6 The functions of the detection unit 601 and the processing unit 602 in the process.

[0167] The controller 701 is the control center of the electronic device, capable of connecting various parts of the device via various interfaces and lines. It executes instructions stored in the memory 702 and retrieves data stored in the memory 702. Optionally, the controller 701 may include one or more processing units. The controller 701 may integrate an application controller and a modem controller. The application controller primarily handles the operating system and applications, while the modem controller primarily handles wireless communication. It is understood that the modem controller may not be integrated into the controller 701. In some embodiments, the controller 701 and the memory 702 may be implemented on the same chip; in other embodiments, they may be implemented on separate chips.

[0168] The controller 701 can be a general-purpose controller, such as a central processing unit (CPU), digital signal controller, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose controller can be a microcontroller or any conventional controller. The steps performed by the data statistics platform disclosed in the embodiments of this application can be directly executed by the hardware controller, or executed by a combination of hardware and software modules within the controller.

[0169] Memory 702, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 702 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 702 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, memory 702 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.

[0170] By designing and programming the controller 701, for example, the code corresponding to the neural network model training method described in the foregoing embodiments can be embedded into the chip, so that the chip can execute the steps of the aforementioned neural network model training method when running. How to design and program the controller 701 is a technique known to those skilled in the art, and will not be described in detail here.

[0171] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0172] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a controller of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions, which execute via the controller of the computer or other programmable data processing device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0173] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0174] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0175] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0176] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for controlling the odorization of natural gas, characterized in that, The method includes: The concentration of odorant at the end of the gas pipeline network is detected; the gas pipeline network includes multiple gas pipelines. When the odorant concentration at the end is less than the concentration threshold, the odorant compensation amount for each gas pipeline is determined based on the material of each gas pipeline in the gas pipeline network and the concentration of the target substance contained in each gas pipeline. Based on the determined odorant compensation amount for each of the multiple gas pipelines, the odorizer located at the starting end of each of the multiple gas pipelines is controlled to output odorant. Among them, the amount of odorant adsorbed by gas pipes of different materials is different, and the target substance is the substance that adsorbs odorant in each gas pipe; When the difference between the odorant concentration at the end and the concentration threshold is greater than a preset value, the odorant delivery amount of each gas pipeline is determined based on the odorant concentration at the beginning of each gas pipeline and the volume of each gas pipeline; and the odorant delivery time of each gas pipeline is determined based on the volume of each gas pipeline and the flow rate of gas in each gas pipeline. The third pipeline is determined from the plurality of gas pipelines based on the odorant delivery amount of each gas pipeline, the odorant delivery time of each gas pipeline, and the difference. Based on the odorant compensation amount in the third pipeline, the odorant output at the starting end of the third pipeline is controlled. The step of determining a third gas pipeline from the plurality of gas pipelines based on the odorant delivery amount of each gas pipeline, the odorant delivery time of each gas pipeline, and the difference, includes: Based on the difference, the preset weights for the odorant delivery amount and the odorant delivery time are obtained respectively; Based on the obtained weights, the weighted sum of the odorant delivery amount and odorant delivery time for each gas pipeline is calculated respectively; The gas pipeline with the highest weighted sum calculated is designated as the third pipeline.

2. The method according to claim 1, characterized in that, The step of controlling the odorizer output from the odorizer located at the starting end of the multiple gas pipelines, based on the determined odorizer compensation amount for each of the multiple gas pipelines, includes: Based on the amount of odorant compensation for each gas pipeline, the odorizer located at the beginning of each gas pipeline is controlled to output odorant.

3. The method according to claim 1, characterized in that, The step of controlling the odorizer output from the odorizer located at the starting end of the multiple gas pipelines, based on the determined odorizer compensation amount for each of the multiple gas pipelines, includes: Based on the amount of odorant compensation in the first pipeline among the multiple gas pipelines, the odorizer located at the starting end of the first pipeline is controlled to output odorant. The first pipeline is the gas pipeline with the smallest odorant compensation among the multiple gas pipelines.

4. The method according to claim 1, characterized in that, The step of controlling the odorizer output from the odorizer located at the starting end of the multiple gas pipelines, based on the determined odorizer compensation amount for each of the multiple gas pipelines, includes: Collect the flow rate of gas in each gas pipeline; The gas delivery time for each gas pipeline is determined based on the length of each gas pipeline and the gas flow rate in each gas pipeline. Based on the amount of odorant compensation in the second pipeline among the multiple gas pipelines, the odorizer located at the beginning of the second pipeline is controlled to output odorant. The second pipeline is the gas pipeline with the shortest gas delivery time among the multiple gas pipelines.

5. The method according to claim 1, characterized in that, The method further includes: After controlling the set duration of the odorant output at the beginning of the third pipeline according to the odorant compensation amount of the third pipeline, it is determined that the difference is greater than the preset value. Send alarm information to the management equipment; the alarm information is used to indicate that the gas output of the third pipeline is abnormal.

6. A gas odor control device, characterized in that, The device includes: A detection unit is used to detect the concentration of odorant at the end of a gas pipeline network; the gas pipeline network includes multiple gas pipelines. The processing unit is configured to execute: When the odorant concentration at the end is less than the concentration threshold, the odorant compensation amount for each gas pipeline is determined based on the material of each gas pipeline in the gas pipeline network and the concentration of the target substance contained in each gas pipeline. Based on the determined odorant compensation amount for each of the multiple gas pipelines, the odorizer located at the starting end of each of the multiple gas pipelines is controlled to output odorant. Among them, the adsorption capacity of odorant varies for gas pipelines made of different materials, and the target substance is the substance that adsorbs odorant in each gas pipeline; The processing unit is further configured to: When the difference between the odorant concentration at the end and the concentration threshold is greater than a preset value, the odorant delivery amount of each gas pipeline is determined based on the odorant concentration at the beginning of each gas pipeline and the volume of each gas pipeline; and the odorant delivery time of each gas pipeline is determined based on the volume of each gas pipeline and the flow rate of gas in each gas pipeline. The third pipeline is determined from the plurality of gas pipelines based on the odorant delivery amount of each gas pipeline, the odorant delivery time of each gas pipeline, and the difference. Based on the odorant compensation amount in the third pipeline, the odorant output at the starting end of the third pipeline is controlled. The processing unit is specifically used for: Based on the difference, the preset weights for the odorant delivery amount and the odorant delivery time are obtained respectively; Based on the obtained weights, the weighted sum of the odorant delivery amount and odorant delivery time for each gas pipeline is calculated respectively; The gas pipeline with the highest weighted sum calculated is designated as the third pipeline.

7. The apparatus according to claim 6, characterized in that, The processing unit is specifically used for: Based on the amount of odorant compensation for each gas pipeline, the odorizer located at the beginning of each gas pipeline is controlled to output odorant.

8. The apparatus according to claim 6, characterized in that, The processing unit is specifically used for: Based on the amount of odorant compensation in the first pipeline among the multiple gas pipelines, the odorizer located at the starting end of the first pipeline is controlled to output odorant. The first pipeline is the gas pipeline with the smallest odorant compensation among the multiple gas pipelines.

9. The apparatus according to claim 6, characterized in that, The processing unit is specifically used for: Collect the flow rate of gas in each gas pipeline; The gas delivery time for each gas pipeline is determined based on the length of each gas pipeline and the gas flow rate in each gas pipeline. Based on the amount of odorant compensation in the second pipeline among the multiple gas pipelines, the odorizer located at the beginning of the second pipeline is controlled to output odorant. The second pipeline is the gas pipeline with the shortest gas delivery time among the multiple gas pipelines.

10. The apparatus according to claim 6, characterized in that, The device also includes a communication unit; the processing unit is further configured to determine that the difference is greater than a preset value after controlling the set duration of the odorant output at the starting end of the third pipeline according to the odorant compensation amount of the third pipeline. The communication unit is used to send alarm information to the management equipment; the alarm information is used to indicate that the third pipeline is outputting abnormal gas.

11. An electronic device, characterized in that, include: Memory and controller; Memory, used to store program instructions; A controller is configured to invoke program instructions stored in the memory and execute the method of any one of claims 1-5 according to the obtained program.

12. A computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are used to perform the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Intelligent natural gas odorization control device and method

    CN111536424A

  • Natural gas supplementing and odorizing method and miniature odorizing device thereof

    CN114542989A