Diffusion region analysis method and system based on environmental gas concentration detection

By obtaining the diffusion rate of the gas under natural state and the diffusion conditions under different wind directions and wind speed conditions, and analyzing and correcting the gas concentration, the problem of unconsidered wind direction in the prior art has been solved, and the efficiency and accuracy of gas concentration analysis have been improved.

CN120183555APending Publication Date: 2025-06-20SHENZHEN EMPAER TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510243329.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

When analyzing the gas diffusion area, the prior art does not take into account the reaction of the wind direction on the gas concentration, resulting in multiple invalid collection points appearing during the gas concentration collection process, and the analysis efficiency is low.

Method used

By obtaining the diffusion rate of the gas in a natural state, the natural diffusion rate is obtained; based on the gas diffusion conditions under different wind directions and wind speed conditions, the wind direction relationship curve and the wind speed relationship curve are obtained respectively; based on these relationship curves, the gas concentration is analyzed and corrected to obtain the real-time diffusion area.

Benefits of technology

By considering the diffusion efficiency of the wind direction to the gas concentration, the invalid collection point is reduced, and the efficiency and accuracy of gas concentration analysis are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120183555A_ABST
    Figure CN120183555A_ABST
Patent Text Reader

Abstract

The invention discloses a diffusion region analysis method and system based on environmental gas concentration detection, and relates to the technical field of environmental safety, and the method comprises the steps: obtaining the diffusion rate of gas in a natural state, and obtaining the natural diffusion rate; a wind direction relation curve is obtained based on the diffusion conditions of the gas under different wind direction conditions; a wind speed relation curve is obtained based on the diffusion conditions of the gas under different wind speed conditions; analyzing the wind direction relation curve to obtain an effective concentration ratio; performing diffusion calculation on the effective concentration based on the wind speed relation curve to obtain a real-time diffusion area; the method is used for solving the problem that in the prior art, when the diffusion area of gas is analyzed, the diffusion efficiency of the gas concentration is not analyzed based on the wind direction, so that a plurality of invalid collection points appear in the gas concentration collection process, and the analysis efficiency is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of environmental safety, and specifically to a diffusion area analysis method and system based on environmental gas concentration detection. Background Art

[0002] Gas concentration detection refers to measuring the content of a certain gas in the air per unit volume, usually expressed in ppm or volume percentage; it is a standard for measuring the content of a certain gas in the air and is of great significance for industrial production and environmental protection.

[0003] In the prior art, when analyzing the gas diffusion area, it is often through collecting and analyzing the gas concentration distribution near the diffusion source to obtain the diffusion area, without considering the reverse effect of the wind direction on the gas concentration. For example, in the application document with the publication number CN114443917A, a leakage gas diffusion area analysis method, terminal device and storage medium are disclosed. This solution is to calculate the leakage gas concentration corresponding to different coordinates after gas leakage; group each coordinate according to the leakage gas concentration; for each group of coordinates, extract the coordinates at the boundary position in the formed graph and set them as boundary coordinates; for each group of boundary coordinates, calculate its center point; for each group of boundary coordinates, calculate the angle between the line connecting each boundary coordinate and the center point and the positive direction of longitude in turn, and sort them according to the size of the angle; for each group of boundary coordinates, connect the corresponding positions of the boundary coordinates on the map according to the serial number, and connect the head and tail, and take the area surrounded by the connection as the leakage gas distribution area corresponding to each group of concentrations; this method does not analyze the diffusion efficiency of the gas concentration based on the wind direction, so there will be multiple invalid collection points during the process of collecting the gas concentration, resulting in the problem of low analysis efficiency. Summary of the Invention

[0004] The present invention aims to solve at least one of the technical problems in the prior art. By respectively obtaining the influence of wind speed and wind direction on gas diffusion to obtain the wind direction relationship curve and the wind speed relationship curve, obtaining the effective diffusion concentration of the gas based on the wind direction relationship curve, and performing diffusion analysis on the effective diffusion concentration of the gas based on the wind speed to obtain the diffusion area; to solve the problem in the prior art that when analyzing the diffusion area of the gas, the diffusion efficiency of the gas concentration is not analyzed based on the wind direction, so there will be multiple invalid collection points during the process of collecting the gas concentration, resulting in the problem of low analysis efficiency.

[0005] To achieve the above object, in the first aspect, the present application provides a diffusion area analysis method based on environmental gas concentration detection, which is characterized by including the following steps:

[0006] Obtain the diffusion rate of the gas in the natural state to obtain the natural diffusion rate;

[0007] Based on the diffusion of gas under different wind direction conditions, a wind direction relationship curve is obtained;

[0008] Based on the diffusion of gas under different wind speed conditions, a wind speed relationship curve is obtained;

[0009] Analyze the wind direction relationship curve to obtain the effective concentration ratio;

[0010] Based on the wind speed relationship curve, perform diffusion calculation on the effective concentration to obtain the real-time diffusion area.

[0011] Furthermore, the obtaining of the diffusion rate of gas in the natural state to obtain the natural diffusion rate includes the following sub-steps:

[0012] Obtain the orientation of the gas discharge port, and set the orientation of the gas discharge port as the gas discharge direction;

[0013] Set an initial concentration sensor at the gas discharge port, obtain the gas concentration at the gas discharge port every first time period, and set the average value of the obtained gas concentrations as the initial concentration;

[0014] Set a secondary concentration sensor, the horizontal distance between the secondary concentration sensor and the gas discharge port is the first length, and obtain the reading of the secondary concentration sensor in real time and set it as the secondary concentration;

[0015] Set the first ratio of the initial concentration as the concentration threshold. When the secondary concentration is greater than or equal to the concentration threshold, set the difference between the time point at this time and the time point when the exhaust starts as the diffusion time;

[0016] Set the ratio of the first length to the diffusion time as the natural diffusion rate.

[0017] Furthermore, the obtaining of the wind direction relationship curve based on the diffusion of gas under different wind direction conditions includes the following sub-steps:

[0018] Obtain the gas discharge direction and set the gas discharge direction as the initial direction;

[0019] Taking the gas discharge port as the origin and the initial direction as the z-axis, establish a three-dimensional rectangular coordinate system to obtain a wind direction analysis coordinate system;

[0020] Use the wind direction influence method to obtain the influence of different wind directions on gas diffusion to obtain the wind direction relationship curve;

[0021] The wind direction influence method includes: setting the plane formed by the X-axis and the Y-axis as the horizontal plane, setting multiple wind direction angles based on the horizontal plane, and the included angles between the wind direction angles and the horizontal plane are -90 degrees, -60 degrees, -30 degrees, 0 degrees, 30 degrees, 60 degrees, and 90 degrees respectively;

[0022] For any wind direction angle, set this wind direction angle as the influencing wind direction, and apply a wind force with the direction of the influencing wind direction and a wind speed of the first wind speed to the gas discharge port;

[0023] When the secondary concentration is greater than or equal to the concentration threshold, set the difference between the time point at this time and the time point when exhaust starts as the wind direction influence duration;

[0024] Set the ratio of the first length to the wind direction influence duration as the wind direction influence rate;

[0025] Obtain the wind direction influence rates for different wind direction angles respectively. Establish a plane rectangular coordinate system with the angle as the abscissa and the wind direction influence rate as the ordinate to obtain the wind direction influence coordinate system. Mark points in the wind direction influence coordinate system based on the wind direction influence rate of the wind direction angle, and fit the marked points in the wind direction influence coordinate system into a curve, denoted as the wind direction relationship curve.

[0026] Further, the obtaining of the wind speed relationship curve based on the diffusion situation of the gas under different wind speed conditions includes the following sub-steps:

[0027] Establish a plane rectangular coordinate system with the gas discharge port as the origin and the initial direction as the x-axis to obtain the wind speed influence coordinate system;

[0028] Use the wind speed influence method to obtain the influence of different wind directions on the gas diffusion rate to obtain the wind speed relationship curve;

[0029] The wind speed influence method includes: establishing a wind speed gradient. For any wind speed in a wind speed gradient, set it as the influencing wind speed, and apply a wind force with the direction of the initial direction and a wind speed of the influencing wind speed to the gas discharge port; when the secondary concentration is greater than or equal to the concentration threshold, set the difference between the time point at this time and the time point when exhaust starts as the wind speed influence duration;

[0030] Set the ratio of the first length to the wind speed influence duration as the wind speed influence rate;

[0031] Obtain the wind speed influence rates for different wind speeds respectively. Establish a plane rectangular coordinate system with the angle as the abscissa and the wind speed influence rate as the ordinate to obtain the wind speed influence coordinate system. Mark points in the wind speed influence coordinate system based on the wind speed influence rate of the wind speed, and fit the marked points in the wind speed influence coordinate system into a curve, denoted as the wind speed relationship curve.

[0032] Further, the analysis of the wind direction relationship curve to obtain the effective concentration ratio includes the following sub-steps:

[0033] Obtain the wind direction influence rate when the wind direction angle is 90 degrees from the wind direction relationship curve and set it as the initial rate;

[0034] For any point on the wind direction relationship curve, obtain the ratio of the wind direction influence rate to the initial rate at this point to obtain the effective concentration ratio.

[0035] Furthermore, the diffusion calculation of the effective concentration based on the wind speed relationship curve to obtain the real-time diffusion area includes the following sub-steps:

[0036] Set a wind direction sensor and a wind speed sensor at the gas discharge port, and obtain the readings of the wind direction sensor and the wind speed sensor in real time, and set them as the actual wind direction and the actual wind speed;

[0037] Obtain the effective concentration ratio corresponding to the wind direction from the wind direction relationship curve based on the actual wind direction;

[0038] Obtain the initial concentration, and set the product of the initial concentration and the effective concentration ratio as the effective concentration;

[0039] Obtain the corresponding wind speed influence rate from the wind speed relationship curve based on the actual wind speed;

[0040] Use the area analysis method to analyze the diffusion area based on the effective concentration and the wind speed influence rate to obtain the real-time diffusion area.

[0041] Furthermore, the area analysis method includes establishing a plane rectangular coordinate system with the gas discharge port as the coordinate origin and the initial direction as the positive x-axis direction. Taking the coordinate origin as an endpoint, make a line segment along the projection of the actual wind direction on the plane, and set it as the first line segment. The length of the first line segment is the product of the wind speed influence rate and the diffusion time;

[0042] Taking the midpoint of the first line segment as an endpoint, make a line segment along the direction perpendicular to the projection of the actual wind direction on the plane, and set it as the second line segment. The length of the second line segment is the product of the diffusion time and the natural diffusion rate;

[0043] Taking the coordinate origin as the first focus of the ellipse, the first line segment as the focal length of the ellipse, the sum of the first line segment and twice the second line segment as the major axis of the ellipse, and twice the second line segment as the minor axis of the ellipse to make an ellipse, and set it as the real-time diffusion area.

[0044] In a second aspect, the present application provides a diffusion area analysis system based on ambient gas concentration detection for implementing the diffusion area analysis method based on ambient gas concentration detection described in any one of the above. The system includes: a diffusion collection module, an influence analysis module, and a diffusion analysis module;

[0045] The diffusion acquisition module includes a rate acquisition unit, a wind direction acquisition unit, and a wind speed acquisition unit; the rate acquisition unit is used to obtain the diffusion rate of the gas in the natural state to obtain the natural diffusion rate; the wind direction acquisition unit obtains a wind direction relationship curve based on the diffusion of the gas under different wind direction conditions; the wind speed acquisition unit obtains a wind speed relationship curve based on the diffusion of the gas under different wind speed conditions;

[0046] The influence analysis module is used to analyze the wind direction relationship curve to obtain an effective concentration ratio;

[0047] The diffusion analysis module performs diffusion calculation on the effective concentration based on the wind speed relationship curve to obtain a real-time diffusion area.

[0048] In a third aspect, the present application provides an electronic device, including a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are run.

[0049] In a fourth aspect, the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above method are run.

[0050] Advantages of the present invention: The present invention first obtains the diffusion rate of the gas in the natural state to obtain the natural diffusion rate, and then obtains the wind direction relationship curve by obtaining the diffusion of the gas under different wind direction conditions, and obtains the wind speed relationship curve by obtaining the diffusion of the gas under different wind speed conditions; by obtaining the diffusion rates under various different environmental influences, the obtained relationship curves are universal, providing data support for subsequent analysis;

[0051] The present invention also analyzes the wind direction relationship curve to obtain an effective concentration ratio, and finally performs diffusion calculation on the effective concentration based on the wind speed relationship curve to obtain a real-time diffusion area, and corrects the gas concentration by the effective concentration ratio to reduce the influence of wind force on the diffusion rate and improve the accuracy of analysis. Description of the Drawings

[0052] Figure 1 It is a flowchart of the steps of the method of the present invention;

[0053] Figure 2 It is a schematic diagram of the wind direction angle of the present invention;

[0054] Figure 3 It is a schematic diagram of the regional analysis method of the present invention;

[0055] Figure 4 It is a principle block diagram of the system of the present invention;

[0056] Figure 5 Schematic diagram of the electronic structure of the present invention. Specific embodiments

[0057] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0058] Example 1, please refer to Figure 1 As shown, the present application provides a diffusion region analysis method based on ambient gas concentration detection, which is characterized by including the following steps:

[0059] S1: Obtain the diffusion rate of the gas in the natural state to obtain the natural diffusion rate; Step S1 includes the following sub-steps:

[0060] S101: Obtain the orientation of the gas discharge port and set the orientation of the gas discharge port as the gas discharge direction; In the specific implementation process, for example, if the outlet orientation of a gas discharge port is obtained as upward, the above direction is set as the gas discharge direction;

[0061] S102: Set an initial concentration sensor at the gas discharge port, obtain the gas concentration at the gas discharge port every first time period, and set the average value of the obtained gas concentration as the initial concentration; In the specific implementation process, the first time period is set to 5 minutes;

[0062] S103: Set a secondary concentration sensor, the horizontal distance between the secondary concentration sensor and the gas discharge port is the first length, and obtain the reading of the secondary concentration sensor in real time and set it as the secondary concentration. In the specific implementation process, the first length is set to 50 meters; The secondary concentration sensor is used to detect the diffusion rate of the gas in the horizontal direction;

[0063] S104: Set the first ratio of the initial concentration as the concentration threshold. When the secondary concentration is greater than or equal to the concentration threshold, set the difference between the time point at this time and the time point when the exhaust starts as the diffusion time. In the specific implementation process, different gases have different impacts on the environment, so the first ratio is set manually. For example, in this embodiment, the first ratio is set to 50%. When the gas concentration in the area does not reach the concentration threshold, it is regarded as having no impact, so it is not recorded as diffusion arrival;

[0064] S105: Set the ratio of the first length to the diffusion time as the natural diffusion rate.

[0065] S2: Obtain the wind direction relationship curve based on the diffusion situation of the gas under different wind direction conditions;

[0066] Step S2 includes the following sub-steps:

[0067] S201: Obtain the gas discharge direction and set the gas discharge direction as the initial direction;

[0068] S202: Establish a three-dimensional rectangular coordinate system with the gas discharge port as the origin and the initial direction as the z-axis to obtain a wind direction analysis coordinate system;

[0069] S203: Use the wind direction influence method to obtain the influence of different wind directions on gas diffusion and obtain a wind direction relationship curve;

[0070] Please refer to Figure 2 As shown, the wind direction influence method includes: setting the plane formed by the X-axis and the Y-axis as the horizontal plane, setting multiple wind direction angles based on the horizontal plane, and the included angles between the wind direction angles and the horizontal plane are -90 degrees, -60 degrees, -30 degrees, 0 degrees, 30 degrees, 60 degrees, and 90 degrees respectively; for any wind direction angle, set the wind direction angle as the influencing wind direction, and apply a wind force with the direction of the influencing wind direction and a wind speed of the first wind speed to the gas discharge port; in the specific implementation process, the first wind speed is set artificially. For example, the first wind speed in this embodiment is 0.25 m / s;

[0071] When the secondary concentration is greater than or equal to the concentration threshold, set the difference between the time point at this time and the time point at the start of gas discharge as the wind direction influence duration; set the ratio of the first length to the wind direction influence duration as the wind direction influence rate; in the specific implementation process, the wind forces at different angles will affect the diffusion direction and angle of the discharged gas. For example, the wind force with a wind direction angle of 30 degrees causes the gas originally discharged vertically to deviate from the horizontal direction by an angle that is far less than the angle by which the wind force with a wind direction angle of 60 degrees causes the gas originally discharged vertically to deviate from the horizontal direction. Therefore, it is necessary to obtain the influence of multiple wind direction angles on the discharged gas;

[0072] Respectively obtain the wind direction influence rates of different wind direction angles, establish a plane rectangular coordinate system with the angle as the abscissa and the wind direction influence rate as the ordinate to obtain a wind direction influence coordinate system, mark points in the wind direction influence coordinate system based on the wind direction influence rate of the wind direction angle, and fit the marked points in the wind direction influence coordinate system into a curve, denoted as the wind direction relationship curve;

[0073] S3: Based on the diffusion of gas under different wind speed conditions, obtain a wind speed relationship curve; Step S3 includes the following sub-steps:

[0074] S301: Establish a plane rectangular coordinate system with the gas discharge port as the origin and the initial direction as the x-axis to obtain a wind speed influence coordinate system;

[0075] S302: Use the wind speed influence method to obtain the influence of different wind directions on the gas diffusion rate, and obtain the wind speed relationship curve;

[0076] The wind speed influence method includes: establishing a wind speed gradient. For the wind speed in any wind speed gradient, set it as the influencing wind speed, and apply a wind force with a direction of the initial direction and a wind speed of the influencing wind speed to the gas discharge port; when the secondary concentration is greater than or equal to the concentration threshold, set the difference between the time point at this time and the time point when the exhaust starts as the wind speed influence duration; in the specific implementation process, the wind speed gradient is one-fifth of the first wind speed, and the minimum value of the wind speed gradient is the first wind speed;

[0077] Set the ratio of the first length to the wind speed influence duration as the wind speed influence rate;

[0078] Respectively obtain the wind speed influence rates of different wind speeds. Establish a plane rectangular coordinate system with the angle as the abscissa and the wind speed influence rate as the ordinate to obtain the wind speed influence coordinate system. Punctuate based on the wind speed influence rate of the wind speed in the wind speed influence coordinate system, and fit the punctuations in the wind speed influence coordinate system into a curve, denoted as the wind speed relationship curve;

[0079] S4: Analyze the wind direction relationship curve to obtain the effective concentration ratio; Step S4 includes the following sub-steps:

[0080] S401: Obtain the wind direction influence rate when the wind direction angle is 90 degrees from the wind direction relationship curve, and set it as the initial rate; in the specific implementation process, when establishing the wind direction analysis coordinate system, when the wind direction angle is 90 degrees, the direction of the wind force is the initial direction, that is, the gas discharge port direction. When in this wind direction angle, the diffusion direction during the gas discharge process will not deviate along the original angle;

[0081] S402: For any point on the wind direction relationship curve, obtain the ratio of the wind direction influence rate of this point to the initial rate to obtain the effective concentration ratio; in the specific implementation process, for example, the wind direction influence rate of any point is 0.5 m / s, and the initial rate is 0.1 m / s; then the calculated effective concentration ratio in this wind direction angle is 5.

[0082] S5: Based on the wind speed relationship curve, perform diffusion calculation on the effective concentration to obtain the real-time diffusion area; Step S5 includes the following sub-steps:

[0083] S501: Set a wind direction sensor and a wind speed sensor on the gas discharge port, and obtain the readings of the wind direction sensor and the wind speed sensor in real time, and set them as the actual wind direction and the actual wind speed;

[0084] S502: Obtain the effective concentration ratio corresponding to the wind direction from the wind direction relationship curve based on the actual wind direction;

[0085] S503: Obtain the initial concentration, and set the product of the ratio of the initial concentration to the effective concentration as the effective concentration; in the specific implementation process, when there is a wind direction angle, there will be ineffective diffusion or excessive diffusion during the gas diffusion process, and there will be a deviation between the concentration in the normal diffusion state and the initial concentration. Therefore, it is necessary to correct the initial concentration based on the effective concentration ratio; for example, in a calculation process, the obtained initial concentration is 5 mg / m 3 , and the effective concentration ratio is 5, then the effective concentration is 25 mg / m 3 ;

[0086] S504: Obtain the corresponding wind speed influence rate from the wind speed relationship curve based on the actual wind speed;

[0087] S505: Use the regional analysis method to analyze the diffusion region based on the effective concentration and the wind speed influence rate to obtain the real-time diffusion region.

[0088] Please refer to Figure 3 As shown, the regional analysis method includes establishing a plane rectangular coordinate system with the gas discharge port as the coordinate origin and the initial direction as the positive x-axis direction. Taking the coordinate origin as an endpoint, draw a line segment along the projection of the actual wind direction on the plane, and set it as the first line segment. The length of the first line segment is the product of the wind speed influence rate and the diffusion time;

[0089] Taking the midpoint of the first line segment as an endpoint, draw a line segment along the direction perpendicular to the projection of the actual wind direction on the plane, and set it as the second line segment. The length of the second line segment is the product of the diffusion time and the natural diffusion rate;

[0090] Taking the coordinate origin as the first focus of the ellipse, the first line segment as the focal length of the ellipse, the sum of the first line segment and twice the second line segment as the major axis of the ellipse, and twice the second line segment as the minor axis of the ellipse to make an ellipse, which is set as the real-time diffusion region.

[0091] Example 2, please refer to Figure 4 As shown, the present application also provides a diffusion region analysis system based on ambient gas concentration detection, including: a diffusion acquisition module, an influence analysis module, and a diffusion analysis module;

[0092] The diffusion acquisition module includes a rate acquisition unit, a wind direction acquisition unit, and a wind speed acquisition unit; the rate acquisition unit is used to obtain the diffusion rate of the gas in the natural state to obtain the natural diffusion rate; the rate acquisition unit is configured with a rate acquisition strategy, and the rate acquisition strategy includes: obtaining the orientation of the gas discharge port and setting the orientation of the gas discharge port as the gas discharge direction; setting an initial concentration sensor at the gas discharge port, obtaining the gas concentration at the gas discharge port every first time period, and setting the average value of the obtained gas concentrations as the initial concentration; setting a secondary concentration sensor, the horizontal distance between the secondary concentration sensor and the gas discharge port being the first length, and obtaining the reading of the secondary concentration sensor in real time and setting it as the secondary concentration; setting the first ratio of the initial concentration as the concentration threshold, and when the secondary concentration is greater than or equal to the concentration threshold, setting the difference between the time point at this time and the time point when the exhaust starts as the diffusion time; setting the ratio of the first length to the diffusion time as the natural diffusion rate.

[0093] The wind direction acquisition unit obtains a wind direction relationship curve based on the diffusion conditions of the gas under different wind direction conditions; the wind direction acquisition unit is configured with a wind direction acquisition strategy, and the wind direction acquisition strategy includes: obtaining the gas discharge direction and setting the gas discharge direction as the initial direction; establishing a three-dimensional rectangular coordinate system with the gas discharge port as the origin and the initial direction as the z-axis to obtain a wind direction analysis coordinate system; using the wind direction influence method to obtain the influence of different wind directions on the gas diffusion to obtain a wind direction relationship curve;

[0094] The wind direction influence method includes: setting the plane formed by the X-axis and the Y-axis as the horizontal plane, setting multiple wind direction angles based on the horizontal plane, and the included angles between the wind direction angles and the horizontal plane being -90 degrees, -60 degrees, -30 degrees, 0 degrees, 30 degrees, 60 degrees, and 90 degrees respectively; for any one wind direction angle, setting the wind direction angle as the influencing wind direction, applying a wind force with the direction of the influencing wind direction and the wind speed of the first wind speed to the gas discharge port; when the secondary concentration is greater than or equal to the concentration threshold, setting the difference between the time point at this time and the time point when the exhaust starts as the wind direction influence duration; setting the ratio of the first length to the wind direction influence duration as the wind direction influence rate;

[0095] Respectively obtain the wind direction influence rates of different wind direction angles, establish a plane rectangular coordinate system with the angle as the abscissa and the wind direction influence rate as the ordinate to obtain a wind direction influence coordinate system, punctuate based on the wind direction influence rates of the wind direction angles in the wind direction influence coordinate system, and fit the punctuations in the wind direction influence coordinate system into a curve, denoted as the wind direction relationship curve;

[0096] The wind speed acquisition unit obtains a wind speed relationship curve based on the diffusion of gas under different wind speed conditions; the wind speed acquisition unit is configured with a wind speed acquisition strategy, and the wind speed acquisition strategy includes establishing a plane rectangular coordinate system with the gas discharge port as the origin and the initial direction as the x-axis to obtain a wind speed influence coordinate system; using the wind speed influence method to obtain the influence of different wind directions on the gas diffusion rate and obtaining a wind speed relationship curve;

[0097] The wind speed influence method includes: establishing a wind speed gradient, setting the wind speed in any wind speed gradient as the influencing wind speed, and applying a wind force with a direction of the initial direction and a wind speed of the influencing wind speed to the gas discharge port; when the secondary concentration is greater than or equal to the concentration threshold, setting the difference between the time point at this time and the time point when exhaust starts as the wind speed influence duration;

[0098] Setting the ratio of the first length to the wind speed influence duration as the wind speed influence rate;

[0099] Respectively obtain the wind speed influence rates of different wind speeds, establish a plane rectangular coordinate system with the angle as the abscissa and the wind speed influence rate as the ordinate to obtain a wind speed influence coordinate system, punctuate based on the wind speed influence rate of the wind speed in the wind speed influence coordinate system, and fit the punctuations in the wind speed influence coordinate system into a curve, denoted as the wind speed relationship curve;

[0100] The influence analysis module is used to analyze the wind direction relationship curve to obtain an effective concentration ratio; the influence analysis module is configured with an influence analysis strategy, and the influence analysis strategy includes obtaining the wind direction influence rate when the wind direction angle is 90 degrees from the wind direction relationship curve and setting it as the initial rate; for any point on the wind direction relationship curve, obtaining the ratio of the wind direction influence rate at this point to the initial rate to obtain an effective concentration ratio;

[0101] The diffusion analysis module performs diffusion calculation on the effective concentration based on the wind speed relationship curve to obtain a real-time diffusion area; the diffusion analysis module is configured with a diffusion analysis strategy, and the diffusion analysis strategy includes setting a wind direction sensor and a wind speed sensor on the gas discharge port, obtaining the readings of the wind direction sensor and the wind speed sensor in real time and setting them as the actual wind direction and the actual wind speed; obtaining the effective concentration ratio corresponding to the wind direction from the wind direction relationship curve based on the actual wind direction; obtaining the initial concentration and setting the product of the initial concentration and the effective concentration ratio as the effective concentration; obtaining the corresponding wind speed influence rate from the wind speed relationship curve based on the actual wind speed; using the area analysis method to analyze the diffusion area based on the effective concentration and the wind speed influence rate to obtain a real-time diffusion area;

[0102] The area analysis method includes establishing a plane rectangular coordinate system with the gas discharge port as the coordinate origin and the positive direction of the initial direction as the x-axis, making a line segment along the projection of the actual wind direction on the plane with the coordinate origin as the end point, setting it as the first line segment, and the length of the first line segment is the product of the wind speed influence rate and the diffusion time;

[0103] Taking the midpoint of the first line segment as an end point, draw a line segment along the direction perpendicular to the projection of the actual wind direction on the plane, and set it as the second line segment. The length of the second line segment is the product of the diffusion time and the natural diffusion rate.

[0104] Taking the origin of coordinates as the first focus of the ellipse, taking the first line segment as the focal length of the ellipse, taking the sum of the first line segment and twice the second line segment as the major axis of the ellipse, and taking twice the second line segment as the minor axis of the ellipse to make an ellipse, and set it as the real-time diffusion area.

[0105] Example 3, please refer to Figure 5 as shown in Figure 5 illustrates a schematic structural diagram of an electronic device. The electronic device may include: a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus. The memory stores computer-readable instructions. The processor can call the instructions in the memory. When the computer-readable instructions are executed by the processor, it runs the steps in the diffusion area analysis method based on ambient gas concentration detection to achieve the following functions: obtaining the diffusion rate of the gas in the natural state to obtain the natural diffusion rate; obtaining the wind direction relationship curve based on the diffusion conditions of the gas under different wind direction conditions; obtaining the wind speed relationship curve based on the diffusion conditions of the gas under different wind speed conditions; analyzing the wind direction relationship curve to obtain the effective concentration ratio; performing diffusion calculation on the effective concentration based on the wind speed relationship curve to obtain the real-time diffusion area.

[0106] In addition, when the logical instructions in the above-mentioned memory are implemented in the form of software function units and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. And the foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0107] Example 4. The present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the diffusion area analysis method based on ambient gas concentration detection provided by the above-mentioned various methods. The method includes: obtaining the diffusion rate of the gas in the natural state to obtain the natural diffusion rate; obtaining the wind direction relationship curve based on the diffusion situation of the gas under different wind direction conditions; obtaining the wind speed relationship curve based on the diffusion situation of the gas under different wind speed conditions; analyzing the wind direction relationship curve to obtain the effective concentration ratio; and performing diffusion calculation on the effective concentration based on the wind speed relationship curve to obtain the real-time diffusion area.

[0108] Example 5. The present application also provides a computer-readable storage medium. The present application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the diffusion area analysis method based on ambient gas concentration detection as described above are run to achieve the following functions: obtaining the diffusion rate of the gas in the natural state to obtain the natural diffusion rate; obtaining the wind direction relationship curve based on the diffusion situation of the gas under different wind direction conditions; obtaining the wind speed relationship curve based on the diffusion situation of the gas under different wind speed conditions; analyzing the wind direction relationship curve to obtain the effective concentration ratio; and performing diffusion calculation on the effective concentration based on the wind speed relationship curve to obtain the real-time diffusion area.

[0109] Through the description of the above embodiments, the embodiments of the present invention can be provided as a method, a system or a computer program product. Based on such an understanding, the above technical solution, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disc, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0110] In the embodiments provided by the present application, it should be understood that the disclosed system or method can be implemented in other ways. The above-described embodiments are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For another example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some communication interfaces. The indirect coupling or communication connection of systems, modules and units can be in an electrical, mechanical or other form.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A diffusion area analysis method based on ambient gas concentration detection, characterized in that: The steps include: Obtain the diffusion rate of the gas in the natural state and obtain the natural diffusion rate; Based on the diffusion of gas under different wind direction conditions, the wind direction relationship curve is obtained; Based on the diffusion of gas under different wind speed conditions, the wind speed relationship curve is obtained; Analyze the wind direction relationship curve to obtain the effective concentration ratio; The effective concentration is diffused based on the wind speed relationship curve to obtain the real-time diffusion area.

2. The diffusion area analysis method based on environmental gas concentration detection according to claim 1 is characterized in that: The step of obtaining the diffusion rate of the gas in a natural state to obtain the natural diffusion rate comprises the following sub-steps: Obtaining the direction of the gas exhaust port, and setting the direction of the gas exhaust port as the gas exhaust direction; An initial concentration sensor is arranged at the gas outlet, the gas concentration at the gas outlet is obtained once at a first time interval, and the average value of the obtained gas concentration is set as the initial concentration; A secondary concentration sensor is provided, the horizontal distance between the secondary concentration sensor and the gas outlet is a first length, and the reading of the secondary concentration sensor is obtained in real time and set as the secondary concentration; The first ratio of the initial concentration is set as the concentration threshold, and when the secondary concentration is greater than or equal to the concentration threshold, the difference between the time point at this time and the time point when exhaust starts is set as the diffusion time; The ratio of the first length to the diffusion time is set as the natural diffusion rate.

3. The diffusion area analysis method based on environmental gas concentration detection according to claim 2 is characterized in that: The step of obtaining the wind direction relationship curve based on the diffusion of gas under different wind direction conditions includes the following sub-steps: Obtain the gas discharge direction, and set the gas discharge direction as the initial direction; A three-dimensional rectangular coordinate system is established with the gas outlet as the circle point and the initial direction as the z-axis to obtain the wind direction analysis coordinate system; The wind direction influence method is used to obtain the influence of different wind directions on gas diffusion and obtain the wind direction relationship curve; The wind direction influence method includes: setting the plane formed by the X-axis and the Y-axis as a horizontal plane, and setting multiple wind direction angles based on the horizontal plane, wherein the angles between the wind direction angles and the horizontal plane are -90 degrees, -60 degrees, -30 degrees, 0 degrees, 30 degrees, 60 degrees and 90 degrees respectively; For any wind direction angle, the wind direction angle is set to affect the wind direction, and a wind force with a direction being the affected wind direction and a wind speed being the first wind speed is applied to the gas outlet; When the secondary concentration is greater than or equal to the concentration threshold, the difference between this time point and the time point when exhaust starts is set as the wind direction influence duration; The ratio of the first length to the wind direction influence duration is set as the wind direction influence rate; The wind direction influence rate at different wind direction angles is obtained respectively, and a plane rectangular coordinate system is established with the angle as the horizontal coordinate and the wind direction influence rate as the vertical coordinate to obtain the wind direction influence coordinate system. The wind direction influence rate based on the wind direction angle is punctuated in the wind direction influence coordinate system, and the punctuated points in the wind direction influence coordinate system are fitted into a curve, which is recorded as the wind direction relationship curve.

4. The diffusion area analysis method based on environmental gas concentration detection according to claim 3 is characterized in that: The step of obtaining the wind speed relationship curve based on the diffusion of gas under different wind speed conditions includes the following sub-steps: A plane rectangular coordinate system is established with the gas outlet as the circle point and the initial direction as the x-axis to obtain the wind speed influence coordinate system; The wind speed influence method is used to obtain the influence of different wind directions on the gas diffusion rate and obtain the wind speed relationship curve; The wind speed influencing method includes: establishing a wind speed gradient, setting the wind speed in any wind speed gradient as the influencing wind speed, applying a wind force with a direction as the initial direction and a wind speed as the influencing wind speed to the gas outlet; when the secondary concentration is greater than or equal to the concentration threshold, setting the difference between the time point at this time and the time point when exhaust starts as the wind speed influencing duration; The ratio of the first length to the wind speed impact duration is set as the wind speed impact rate; The wind speed influence rate of different wind speeds is obtained respectively, and a plane rectangular coordinate system is established with the angle as the horizontal coordinate and the wind speed influence rate as the vertical coordinate to obtain the wind speed influence coordinate system. Points are marked in the wind speed influence coordinate system based on the wind speed influence rate of the wind speed, and the points in the wind speed influence coordinate system are fitted into a curve, which is recorded as the wind speed relationship curve.

5. The diffusion area analysis method based on environmental gas concentration detection according to claim 4 is characterized in that: The analysis of the wind direction relationship curve to obtain the effective concentration ratio includes the following sub-steps: Obtain the wind direction influence rate when the wind direction angle is 90 degrees from the wind direction relationship curve and set it as the initial rate; For any point on the wind direction relationship curve, obtain the ratio of the wind direction impact rate at that point to the initial rate to obtain the effective concentration ratio.

6. The diffusion area analysis method based on environmental gas concentration detection according to claim 5 is characterized in that: The method of performing diffusion calculation on the effective concentration based on the wind speed relationship curve to obtain the real-time diffusion area includes the following sub-steps: A wind direction sensor and a wind speed sensor are arranged on the gas discharge port, and the readings of the wind direction sensor and the wind speed sensor are obtained in real time, and set as the actual wind direction and the actual wind speed; Based on the actual wind direction, the effective concentration ratio corresponding to the wind direction is obtained from the wind direction relationship curve; Get the initial concentration, and set the product of the initial concentration and the effective concentration ratio as the effective concentration; Obtain the corresponding wind speed impact rate from the wind speed relationship curve based on the actual wind speed; The regional analysis method is used to analyze the diffusion area based on the effective concentration and wind speed impact rate to obtain the real-time diffusion area.

7. The diffusion area analysis method based on environmental gas concentration detection according to claim 6 is characterized in that: The regional analysis method includes establishing a plane rectangular coordinate system with the gas outlet as the coordinate origin and the initial direction as the positive direction of the x-axis, taking the coordinate origin as the endpoint, making a line segment along the projection of the actual wind direction on the plane, setting it as the first line segment, and the length of the first line segment is the product of the wind speed influence rate and the diffusion time; With the midpoint of the first line segment as the endpoint, draw a line segment in a direction perpendicular to the projection of the actual wind direction on the plane, which is set as the second line segment. The length of the second line segment is the product of the diffusion time and the natural diffusion rate. An ellipse is made with the coordinate origin as the first focus of the ellipse, the first line segment as the focal length of the ellipse, the sum of the first line segment and twice the second line segment as the major axis of the ellipse, and twice the second line segment as the minor axis of the ellipse, and is set as the real-time diffusion area.

8. A diffusion area analysis system based on ambient gas concentration detection, used to implement the diffusion area analysis method based on ambient gas concentration detection according to any one of claims 1 to 7, characterized in that: The system includes: a diffusion acquisition module, an impact analysis module and a diffusion analysis module; The diffusion acquisition module includes a rate acquisition unit, a wind direction acquisition unit and a wind speed acquisition unit; the rate acquisition unit is used to obtain the diffusion rate of the gas in a natural state to obtain the natural diffusion rate; the wind direction acquisition unit obtains a wind direction relationship curve based on the diffusion of the gas under different wind direction conditions; the wind speed acquisition unit obtains a wind speed relationship curve based on the diffusion of the gas under different wind speed conditions; The impact analysis module is used to analyze the wind direction relationship curve to obtain an effective concentration ratio; The diffusion analysis module performs diffusion calculation on the effective concentration based on the wind speed relationship curve to obtain the real-time diffusion area.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 7 are executed.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 7 are executed.

Citation Information

Patent Citations

  • Leakage gas diffusion region analysis method, terminal equipment and storage medium

    CN114443917A