Warehouse gas diffusion simulation method and device based on cellular space and storage medium

By simulating the diffusion of toxic gases in sealed warehouses based on cellular space, the problem of difficulty in evaluating the diffusion laws of toxic gases in sealed warehouses is solved, and data support for the diffusion laws of toxic gases in sealed warehouses is provided to help formulate effective emergency measures.

CN119069013AInactive Publication Date: 2024-12-03GUANGZHOU YUNZHU INFORMATION TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411001620.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-12-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art is difficult to effectively evaluate and simulate the diffusion law of toxic gases in sealed warehouses, making it difficult to quickly formulate effective emergency measures in the event of an emergency.

Method used

Using a method based on cell space, by dividing sealed warehouses into multiple cell spaces, instantaneous and continuous leakage models are constructed, the initial concentration and diffusion concentration of toxic gases in each cell space are calculated, and the diffusion of toxic gases is simulated until the Preset conditions.

Benefits of technology

It provides data support for the diffusion rules of toxic gases in sealed warehouses, helps to formulate effective emergency measures and first aid plans, and improves emergency response capabilities at the accident site.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119069013A_ABST
    Figure CN119069013A_ABST
Patent Text Reader

Abstract

The invention discloses a warehouse gas diffusion simulation method based on cellular spaces. The warehouse gas diffusion simulation method comprises the following steps: dividing a sealed warehouse according to a space division rule to form a plurality of cellular spaces; then simulating and determining the cellular space with a leakage source, and determining the toxic gas initial concentration of each cellular space when the toxic gas of the leakage source completes instantaneous leakage according to the constructed instantaneous leakage model; and calculating the toxic gas concentration of each cellular space at regular time according to the constructed continuous leakage model. And when a preset condition is met, obtaining the poisonous gas concentration of each cellular space calculated each time, and displaying the poisonous gas concentration to a worker. According to the invention, diffusion simulation during leakage of the toxic gas in the sealed warehouse is realized by using the cellular space, and then the concentration change of the toxic gas in the sealed warehouse is calculated, so that data support is provided for subsequent formulation of emergency measures and the like. The invention further discloses a warehouse gas diffusion simulation device based on the cellular space and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a simulation of poisonous gas diffusion in a sealed warehouse in a park, and in particular to a warehouse gas diffusion simulation method, device and storage medium based on cellular space. Background Art

[0002] At present, for sealed warehouses storing hazardous chemicals and other toxic gases on the market, effective emergency measures and methods need to be provided to reduce the loss of property and personnel caused by accidents such as hazardous chemicals. At present, it is generally through the construction of a hazardous chemical diffusion model so that in the event of an emergency, the degree of harm in the toxic gas diffusion area can be assessed at the fastest speed and in the simplest way, so as to provide effective emergency measures for real-time rescue. In order to formulate effective emergency measures and methods, it is necessary to obtain relevant experimental data to provide data support. Therefore, there is an urgent need for a method that can provide data on the diffusion law of toxic gases. Summary of the invention

[0003] In order to overcome the shortcomings of the prior art, one of the objects of the present invention is to provide a method for simulating the diffusion of toxic gas concentration in a sealed warehouse based on cellular space, which can obtain the diffusion law data of toxic gas in the sealed warehouse by simulating the diffusion of toxic gas based on cellular space.

[0004] The second purpose of the present invention is to provide a cellular space-based simulation device for simulating the diffusion of toxic gas concentration in a sealed warehouse, which can obtain the diffusion law data of toxic gas in the sealed warehouse by simulating the diffusion of toxic gas based on cellular space.

[0005] A third object of the present invention is to provide a computer-readable storage medium, which can obtain diffusion law data of toxic gases in a sealed warehouse by simulating the diffusion of toxic gases based on cellular space.

[0006] One of the purposes of the present invention is achieved by the following technical solution:

[0007] A warehouse gas diffusion simulation method based on cellular space, comprising:

[0008] Warehouse division step: obtaining the space size of the sealed warehouse and simulating the construction of the sealed warehouse, dividing the sealed warehouse according to the space division rule to form a plurality of cellular spaces, and determining the adjacent cellular spaces of each cellular space; wherein each cellular space is a cube;

[0009] Initial concentration calculation step: simulating and determining the cellular space where the leakage source exists, and determining the initial concentration of the toxic gas in each cellular space when the toxic gas of the leakage source completes the instantaneous leakage according to the constructed instantaneous leakage model;

[0010] Diffusion concentration calculation step: according to the constructed continuous leakage model, the toxic gas diffusion concentration of each cellular space is calculated regularly according to the constructed continuous leakage model, and then the toxic gas concentration of each cellular space is calculated in combination with the initial concentration of the toxic gas in each cellular space;

[0011] Simulation end step: When the preset conditions are met, the toxic gas concentration of each cell space calculated each time is obtained and displayed to the staff.

[0012] Furthermore, the simulation end step specifically includes: obtaining the current time of the system and determining whether the current time of the system meets the preset conditions, and if so, obtaining the toxic gas concentration of each cellular space calculated each time and displaying it to the staff; wherein, the preset conditions are: t0+(b-1)*t′<t1<t0+b*t′, b is equal to the preset threshold; wherein, t0 is the time when the toxic gas from the leakage source completes the instantaneous leakage, t1 is the current time of the system; t′ is the time slice; b is the number of time slices.

[0013] Furthermore, the simulation end step specifically includes: determining whether the absolute value of the difference between the toxic gas concentration of each cellular space calculated last time and the toxic gas concentration of the corresponding cellular space calculated last time is less than a preset threshold value; if so, obtaining the toxic gas concentration of each cellular space calculated each time and displaying it to the staff.

[0014] Furthermore, the initial concentration calculation step specifically includes: firstly simulating and determining the cellular space where the leakage source exists and constructing a cellular coordinate system with the center of the cellular space where the leakage source exists as the center of the circle, and then obtaining the coordinates of the center point of each cellular space and marking each cellular space according to the coordinates of the center point of each cellular space, and at the same time constructing an instantaneous leakage model according to the Gaussian chimney model;

[0015] Wherein, the formula of the instantaneous leakage model is:

[0016]

[0017] Where: t is the leakage time of the toxic gas from the leakage source;

[0018] C(x,y,z,t,H) is the concentration of toxic gas in the cell space (x,y,z) at time t;

[0019] H is the effective height of the leakage source;

[0020] V is wind speed;

[0021] σ x , σ y , σ zare respectively the diffusion coefficients of the toxic gas when diffusing in the x-direction, y-direction and z-direction of the cell coordinate system;

[0022] Q is the instantaneous leakage of the leakage source, and Q = Q'*t, Q' is the leakage rate of toxic gas; C d is the leakage coefficient of toxic gas; A is the crack area of ​​the leakage source; M is the relative molecular mass of the gas; R is the universal gas constant; T is the storage temperature of the toxic gas; k is the adiabatic index of the gas, that is, the ratio of the specific heat at constant pressure to the specific heat at constant volume.

[0023] Then, the time when the toxic gas from the leakage source completes the instantaneous leakage is determined, and the initial concentration of the toxic gas in each cell space when the toxic gas from the leakage source completes the instantaneous leakage is calculated according to the instantaneous leakage model.

[0024] Further, the determining of the time when the toxic gas from the leakage source completes instantaneous leakage specifically includes: obtaining the total mass of the toxic gas from the leakage source and calculating the time when the toxic gas from the leakage source completes instantaneous leakage according to the total mass of the toxic gas from the leakage source and the leakage rate of the toxic gas; wherein t0=M / Q′, t0 is the time when the toxic gas from the leakage source completes instantaneous leakage;

[0025] The initial concentration of the toxic gas in each cell space when the instantaneous leakage of the toxic gas from the leakage source is completed is C(x, y, z, t0, H).

[0026] Furthermore, the diffusion concentration calculation step also includes: firstly, calculating the diffusion concentration of the toxic gas in each cell space after each preset long time slice according to the constructed continuous leakage model;

[0027] Among them, the formula of the continuous leakage model is:

[0028]

[0029] Where: C′(x,y,z,t,Q′,H) is the diffusion concentration of toxic gas in the cell space (x,y,z) within time t;

[0030] Q′ is the continuous diffusion rate of toxic gas from the leakage source;

[0031] t is the leakage time of the toxic gas from the leakage source;

[0032] H is the effective height of the leakage source;

[0033] V is wind speed;

[0034] σ x , σ y , σ zare respectively the diffusion coefficients of the toxic gas when diffusing in the x-direction, y-direction and z-direction of the cell coordinate system;

[0035] Then, the concentration evolution rule of the toxic gas in the cellular space is determined, and then the concentration of the toxic gas in each cellular space after each preset time slice is calculated based on the constructed continuous leakage model;

[0036] C(x,y,z,t,H)=C(x,y,z,t0+(b-1)*t′,H)+ΔC(x,y,z,t0+(b-1)*t′,H)(3);

[0037]

[0038] Wherein, C(x,y,z,t,H) is the concentration of toxic gas in the cell space (x,y,z) at time t; t=t0+b*t′, t′ is a preset long time slice, and t0 is the time when the toxic gas from the leakage source completes the instantaneous leakage;

[0039] C(x,y,z,t0+(b-1)*t′,H) is the concentration of toxic gas in the cell space (x,y,z) at time tt′;

[0040] ΔC(x,y,z,t,Q′,H) is the toxic gas diffusion concentration in a cell space from time tt′ through a preset long time slice t′;

[0041] ΔC(m*d,n*d,h*d,t,Q′(m*d,n*d,h*d,tt′),H) represents the diffusion concentration of toxic gas in an adjacent cell space (m*d,n*d,h*d) of the cell space (x,y,z) within time t.

[0042] Q′(m*d,n*d,h*d,tt′) is the continuous diffusion rate of toxic gas in the cellular space (m*d,n*d,h*d) at time tt′.

[0043] It represents the concentration of toxic gas diffused into the cell space from an adjacent cell space (m*d,n*d,h*d) of the cell space (x,y,z) at time t;

[0044] Indicates the diffusion concentration of toxic gas diffused out of the cell space (x, y, z);

[0045] d is the length of the cube corresponding to the cellular space; the length, width and height of the cube are the same; m, n, h are integers, and m, n, h are not zero at the same time.

[0046] Furthermore, the concentration evolution rule of the toxic gas in the cellular space includes stipulating that each cellular space diffuses mutually only between adjacent cellular spaces within a preset long time slice.

[0047] Furthermore, the adjacent cellular space of the cellular space refers to a cellular space having the same points, edges or faces as the cellular space.

[0048] The second object of the present invention is achieved by adopting the following technical solution:

[0049] A warehouse gas diffusion simulation device based on cellular space includes a memory and a processor. The memory stores a diffusion simulation program running on the processor. The diffusion simulation program is a computer program. When the processor executes the diffusion simulation program, the steps of a warehouse gas diffusion simulation method based on cellular space adopted as one of the purposes of the present invention are implemented.

[0050] The third object of the present invention is achieved by adopting the following technical solution:

[0051] A computer-readable storage medium stores a diffusion simulation program thereon, wherein the diffusion simulation program is a computer program, and when the diffusion simulation program is executed by a processor, the steps of a warehouse gas diffusion simulation method based on cellular space as one of the purposes of the present invention are implemented.

[0052] Compared with the prior art, the present invention has the following beneficial effects:

[0053] The present invention realizes diffusion simulation of toxic gas leakage in a sealed warehouse by simulation, and uses cellular space to obtain the diffusion of toxic gas in the sealed warehouse over time, providing good data support for the subsequent formulation of effective first aid measures for the sealed warehouse. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A flow chart of the warehouse gas diffusion simulation method based on cellular space provided by the present invention;

[0055] Figure 2 Schematic diagram of the constructed cellular coordinate system;

[0056] Figure 3 A schematic diagram of the adjacent cell spaces arranged by the center point of a cell space;

[0057] Figure 4 A schematic diagram of the adjacent cell spaces in front of the center point of a cell space;

[0058] Figure 5 Schematic diagram of the adjacent cellular spaces behind the center point of a cellular space. DETAILED DESCRIPTION

[0059] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.

[0060] Embodiment 1

[0061] The present invention simulates the diffusion of toxic gases in sealed warehouses based on a spatial cellular automaton model, provides data support for the subsequent construction of a dangerous chemical diffusion model in sealed warehouses, and provides a scientific basis for emergency intelligent decision-making at the accident site. Figure 1 As shown, the present invention provides a preferred embodiment, a method for simulating the diffusion of toxic gases in a sealed warehouse based on cellular space, comprising:

[0062] Step S1, obtaining the space size of the sealed warehouse and simulating the construction of the sealed warehouse, dividing the sealed warehouse according to the space division rule to form a plurality of cellular spaces, and determining the adjacent cellular spaces of each cellular space.

[0063] Specifically, for an actual sealed warehouse, it has an actual space size, so the model of the sealed warehouse is simulated by obtaining the actual space size of the sealed warehouse, including length, width, and height, and then the sealed warehouse is divided into multiple small cubes according to the space division rule. Among them, each small cube is used as a cellular space, so that the sealed warehouse is divided into multiple cellular spaces. In addition, the length, width, and height of each small cube are the same.

[0064] In addition, this embodiment also stipulates that the center of each small cube is used as the center of the corresponding cellular space, and the corresponding cellular space is marked through the center coordinates of each cellular space. Assuming the length, width and height of the cube are all d, when d is 0.5m, the sealed warehouse can be divided into multiple 0.5*0.5*0.5m 3 small cubes, each small cube serves as a cell space.

[0065] Step S2: Simulate and determine the cellular space where the leakage source exists, and determine the initial concentration of the toxic gas in each cellular space when the toxic gas of the leakage source completes the instantaneous leakage according to the constructed instantaneous leakage model.

[0066] Among them, when a toxic gas leak occurs in a sealed warehouse, according to the law of leakage, it is generally divided into two stages: an instantaneous leakage stage and a diffusion stage. That is, within a certain period of time, when a leak occurs at a leak point, there will be a stage of instantaneous leakage, and when the instantaneous leakage is completed, it will diffuse to the surrounding area. Since the diffusion rate and diffusion distance of toxic gases are different in the instantaneous leakage stage and the diffusion stage, this embodiment calculates the initial concentration of toxic gases at the source of the leak when the instantaneous leakage is completed by constructing an instantaneous leakage model, and then calculates the concentration of the toxic gas after diffusion in the subsequent diffusion stage, so as to finally obtain the diffusion of toxic gases over time.

[0067] In addition, since this embodiment realizes the leakage and diffusion of toxic gas in a sealed warehouse by simulation, this embodiment also needs to simulate and determine the toxic gas leakage source before calculation. For example, the cellular space where the toxic gas leakage source is located can be determined according to the actual placement pattern of items in the sealed warehouse.

[0068] In this way, after the cellular space with the leakage source is determined, the cellular space with the leakage source is used as the center of the circle to construct the cellular coordinate system, and the cellular space is identified by the center point coordinates of each cellular space, that is, the center point coordinates of the cellular space are: (x, y, z). Therefore, the center point coordinates of the cellular space with the leakage source are (0, 0, 0), and the center point coordinates of other cellular spaces are: (m*d, n*d, h*d); d is the size of the cellular space, and m, n, and h are integers. The labeling of each cellular space is achieved through the center point coordinates of each cellular space mentioned above.

[0069] When each cellular space is annotated in the above manner, the adjacent cellular spaces of each cellular space can be obtained. In this embodiment, the adjacent cellular space of a cellular space means that there is any cellular space that has the same point, edge or face as the cellular space, then the any cellular space is the adjacent cellular space of the cellular space. Specifically, a cellular space has 26 adjacent cellular spaces, including the adjacent cellular spaces of the center point row, the adjacent cellular spaces behind the center point, and the adjacent cellular spaces in front of the center point, such as Figure 3 The adjacent cell space of the center point row is shown in Figure 4 The adjacent cell space behind the center point is shown in FIG. Figure 5 Shown is the adjacent cell space behind the center point.

[0070] In addition, in the actual calculation process, the adjacent relationship between a cellular space and other cellular spaces can also be recorded by constructing a matrix, that is, when there is a point, edge or surface between a cellular space and the cellular space, it is recorded as 1, otherwise it is recorded as 0.

[0071] After the cellular space where the leakage source exists is determined, the initial concentration of the toxic gas in each cellular space when the toxic gas of the leakage source completes the instantaneous leakage is determined according to the instantaneous leakage model.

[0072] Specifically, the instantaneous leakage model in step S2 is also constructed based on the Gaussian chimney model.

[0073] The instantaneous leakage model is as follows:

[0074]

[0075] Where: t is the leakage time of the toxic gas from the leakage source.

[0076] C(x,y,z,t,H) is the concentration of toxic gas in the cell space (x,y,z) at time t.

[0077] That is, after determining the time when the toxic gas from the leakage source leaks out instantaneously, the initial concentration of the toxic gas in each cell space when the toxic gas from the leakage source leaks out instantaneously can be obtained according to formula (1). For example, assuming that the time when the toxic gas from the leakage source leaks out instantaneously is t0, the initial concentration of the toxic gas in each cell space when the toxic gas from the leakage source leaks out instantaneously is: C(x, y, z, t0, H).

[0078] H is the effective height of the leakage source.

[0079] Q is the instantaneous leakage amount of the leakage source.

[0080] Q = Q'*t, Q' is the leakage rate of toxic gas, specifically, Among them, C d is the leakage coefficient of the toxic gas; A is the crack area of ​​the leakage source; M is the relative molecular mass of the gas; R is the universal gas constant; T is the storage temperature of the toxic gas; k is the adiabatic index of the gas, that is, the constant pressure specific heat C p and constant volume specific heat C v Ratio.

[0081] V is the wind speed.

[0082] σ x , σ y , σ z are the diffusion coefficients of the toxic gas in the x, y and z directions of the cellular coordinate system respectively.

[0083] More preferably, the time for instantaneous complete leakage of the toxic gas from the leakage source is determined based on the total mass of the toxic gas from the leakage source and the leakage rate of the toxic gas. Specifically, t0 = M / Q'.

[0084] Step S3, construct a continuous leakage model and calculate the toxic gas diffusion concentration of each cellular space according to the constructed continuous leakage model, and then calculate the toxic gas concentration of each cellular space in combination with the initial concentration of the toxic gas in each cellular space.

[0085] The continuous leakage model is shown in formula (2):

[0086]

[0087] Where: C′(x,y,z,t,Q′,H) is the diffusion concentration of toxic gas in the cell space (x,y,z) within time t, unit: kg / m 3 .

[0088] Q' is the continuous diffusion rate of the leakage source, unit: kg / s.

[0089] The toxic gas concentration of the cellular space in this embodiment refers to the toxic gas in the cellular space within time t, which is composed of the toxic gas diffusion concentration of the cellular space within time t and the toxic gas initial concentration of the cellular space.

[0090] Therefore, after the toxic gas diffusion concentration of a cellular space at a certain time can be obtained according to formula (2), the toxic gas concentration of the cellular space at the corresponding time can be obtained by combining the toxic gas initial concentration of the cellular space.

[0091] Furthermore, step S3 also includes: firstly, calculating the toxic gas diffusion concentration of each cellular space after each preset long time slice according to the constructed continuous leakage model.

[0092] Assuming the preset long time slice as t′, the toxic gas diffusion concentration in each cell space after each preset long time slice is: C′(x, y, z, t′, Q′, H).

[0093] Then, the concentration evolution rule of the toxic gas in the cellular space is determined, and the toxic gas concentration in each cellular space after each preset long time slice is calculated based on the continuous leakage model.

[0094] Specifically, when calculating the diffusion concentration, the concentration evolution rule of the toxic gas in the cellular space is first determined. The concentration evolution rule includes stipulating that each cellular space only diffuses mutually between its adjacent cellular spaces within a preset long time slice. The setting of the preset long time slice can be specifically set according to actual experience values, and the setting basis of the preset long time slice can be that each cellular space only diffuses mutually between its adjacent cellular spaces, that is, it will not diffuse into non-adjacent cellular spaces.

[0095] After determining the concentration evolution rule of the toxic gas in the cellular space, the concentration of the toxic gas in each cellular space after each preset long time slice can be calculated. The concentration of the toxic gas in each cellular space after each preset long time slice actually includes two parts, namely, the concentration of the toxic gas in each cellular space calculated by the previous preset long time slice and the diffusion concentration of the toxic gas in the cellular space during the process of passing through a preset long time slice.

[0096] That is, when the current time of the system is t=t0+b*t′, the concentration of toxic gas in the cell space (x, y, z) is:

[0097] C(x,y,z,t,H)=C(x,y,z,t0+(b-1)*t′,H)+ΔC(x,y,z,t0+(b-1)*t′,H)(3).

[0098] Among them, C(x,y,z,t0+(b-1)*t′,H) refers to the concentration of toxic gas calculated in the cell space (x,y,z) at time t0+(b-1)*t′.

[0099] C(x,y,z,t,H) refers to the concentration of toxic gas calculated at time t in the cell space (x,y,z).

[0100] ΔC(x,y,z,t0+(b-1)*t′,H) refers to the diffusion concentration of toxic gas in the cell space (x,y,z) starting from time t0+(b-1)*t′ and passing through a preset long time slice t′, which can be obtained by formulas (4) and (5):

[0101]

[0102] Among them, ΔC(x,y,z,t,Q′,H) is the toxic gas diffusion concentration of a cellular space from time tt′ to a preset long time slice t′, that is, the toxic gas diffusion concentration of all adjacent cellular spaces diffused into the cellular space and the toxic gas diffusion concentration of the cellular space diffused outward with the cellular space (x,y,z) as the center.

[0103] ΔC(m*d,n*d,h*d,t,Q′(m*d,n*d,h*d,tt′),H) represents the diffusion concentration of toxic gas in an adjacent cell space (m*d,n*d,h*d) of the cell space (x,y,z) within time t.

[0104] Q′(m*d,n*d,h*d,tt′) is the continuous diffusion rate of toxic gas in the cellular space (m*d,n*d,h*d) at time tt′.

[0105] It represents the concentration of toxic gas diffused into the cell space from an adjacent cell space (m*d,n*d,h*d) of the cell space (x,y,z) at time t; Represents the diffusion concentration of toxic gas diffused out of the cell space (x, y, z).

[0106] That is, when the calculation conditions are reached, that is, when the current system time is t=t0+b*t′, the toxic gas diffusion concentration of a cellular space after a preset long time slice from time t0+(b-1)*t′ can be calculated according to formula (4) and formula (5), and the toxic gas concentration of the cellular space can be calculated by combining the toxic gas concentration calculated in the previous time.

[0107] Step S4: When the preset conditions are met, the concentration of toxic gas in each cellular space calculated each time is obtained and displayed to the staff. When the preset conditions are met, the simulation ends, and the concentration of toxic gas in each cellular space calculated each time is displayed to the staff, who summarize the diffusion law of toxic gas in the sealed warehouse to provide data support for the subsequent formulation of emergency measures and first aid plans.

[0108] Specifically, the preset conditions in this embodiment can set different conditions according to actual needs. Specifically, as provided in this embodiment: determine whether the current time of the system meets the preset conditions. If so, obtain the toxic gas concentration of each cellular space calculated each time and display it to the staff. Among them, the preset conditions include t0+(b-1)*t′<t1<t0+b*t′, and b is equal to the preset threshold; t0 is the time when the toxic gas from the leakage source completes the instantaneous leakage, t1 is the current time of the system; t′ is the time slice; b is the number of time slices. That is, when the number of iterations of the above-mentioned continuous diffusion model reaches the preset number, the simulation is terminated, and the toxic gas concentration of each cellular space calculated in the system is displayed to the staff, or by setting a preset time threshold, when the current time of the system reaches the preset time threshold, the simulation is terminated.

[0109] More preferably, meeting the preset conditions also includes determining whether the absolute value of the difference between the toxic gas concentration of each cellular space calculated last time and the toxic gas concentration of the corresponding cellular space calculated last time is less than a preset threshold value. If so, the toxic gas concentration of each cellular space calculated each time is obtained and displayed to the staff. That is, when the toxic gas concentration of the cellular space calculated twice before and after does not change much, it is considered that the toxic gas in the sealed warehouse is evenly diffused and there is no need to continue the cyclic calculation. Therefore, the simulation is terminated and the toxic gas concentration of each cellular space calculated each time is displayed to the staff to provide data support for the subsequent formulation of rescue measures and first aid measures.

[0110] The present invention provides theoretical support for emergency rescue decisions by simulating the concentration distribution of gas after leakage in a sealed warehouse in an industrial park, and can be widely used in daily emergency plans and drills of enterprises. At the same time, according to the simulation, it can also be applied to the management of actual sealed warehouses to analyze the gas leakage situation in the sealed warehouse, and then take safe and effective measures to improve the safety of rescuers and rescued persons.

[0111] Embodiment 2

[0112] Based on the warehouse gas diffusion simulation method based on cellular space provided in the first embodiment, the present invention further provides a warehouse gas diffusion simulation device based on cellular space, including a memory and a processor, the memory stores a diffusion simulation program running on the processor, the diffusion simulation program is a computer program, and the processor implements the following steps when executing the diffusion simulation program:

[0113] Embodiment 3

[0114] Based on the warehouse gas diffusion simulation method based on cellular space provided in the first embodiment, the present invention also provides another embodiment, a computer-readable storage medium, on which a diffusion simulation program is stored, the diffusion simulation program is a computer program, and when the diffusion simulation program is executed by a processor, the following steps are implemented:

[0115] The above-mentioned embodiments are only preferred embodiments of the present invention and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and substitutions made by technicians in this field on the basis of the present invention shall fall within the scope of protection required by the present invention.

Claims

1. A warehouse gas diffusion simulation method based on cellular space, characterized in that: include: Warehouse division step: obtaining the space size of the sealed warehouse and simulating the construction of the sealed warehouse, dividing the sealed warehouse according to the space division rule to form a plurality of cellular spaces, and determining the adjacent cellular spaces of each cellular space; wherein each cellular space is a cube; Initial concentration calculation step: simulating and determining the cellular space where the leakage source exists, and determining the initial concentration of the toxic gas in each cellular space when the toxic gas of the leakage source completes the instantaneous leakage according to the constructed instantaneous leakage model; Diffusion concentration calculation step: according to the constructed continuous leakage model, the toxic gas diffusion concentration of each cellular space is calculated regularly according to the constructed continuous leakage model, and then the toxic gas concentration of each cellular space is calculated in combination with the initial concentration of the toxic gas in each cellular space; Simulation end step: When the preset conditions are met, the toxic gas concentration of each cell space calculated each time is obtained and displayed to the staff.

2. The warehouse gas diffusion simulation method based on cellular space according to claim 1 is characterized in that: The simulation end step specifically includes: obtaining the current time of the system and determining whether the current time of the system meets the preset conditions. If so, obtaining the toxic gas concentration of each cellular space calculated each time and displaying it to the staff; wherein, the preset conditions are: t0+(b-1)*t′<t1<t0+b*t′, b is equal to the preset threshold; wherein t0 is the time when the toxic gas from the leakage source completes the instantaneous leakage, t1 is the current time of the system; t′ is the time slice; b is the number of time slices.

3. The warehouse gas diffusion simulation method based on cellular space according to claim 1 is characterized in that: The simulation end step specifically includes: determining whether the absolute value of the difference between the toxic gas concentration of each cellular space calculated last time and the toxic gas concentration of the corresponding cellular space calculated last time is less than a preset threshold value; if so, obtaining the toxic gas concentration of each cellular space calculated each time and displaying it to the staff.

4. The warehouse gas diffusion simulation method based on cellular space according to claim 1 is characterized in that: The initial concentration calculation step specifically includes: firstly simulating and determining the cellular space where the leakage source exists and constructing a cellular coordinate system with the center of the cellular space where the leakage source exists as the center of the circle, and then obtaining the coordinates of the center point of each cellular space and marking each cellular space according to the coordinates of the center point of each cellular space, and at the same time constructing an instantaneous leakage model according to the Gaussian chimney model; Wherein, the formula of the instantaneous leakage model is: Where: t is the leakage time of the toxic gas from the leakage source; C(x,y,z,t,H) is the concentration of toxic gas in the cell space (x,y,z) at time t; H is the effective height of the leakage source; V is wind speed; σ x , σ y , σ z are respectively the diffusion coefficients of the toxic gas when diffusing in the x-direction, y-direction and z-direction of the cell coordinate system; Q is the instantaneous leakage of the leakage source, and Q = Q'*t, Q' is the leakage rate of toxic gas; C d is the leakage coefficient of toxic gas; A is the crack area of ​​the leakage source; M is the relative molecular mass of the gas; R is the universal gas constant; T is the storage temperature of the toxic gas; k is the adiabatic index of the gas, that is, the ratio of the specific heat at constant pressure to the specific heat at constant volume. Then, the time when the toxic gas from the leakage source completes the instantaneous leakage is determined, and the initial concentration of the toxic gas in each cell space when the toxic gas from the leakage source completes the instantaneous leakage is calculated according to the instantaneous leakage model.

5. The warehouse gas diffusion simulation method based on cellular space according to claim 4 is characterized in that: The method of determining the time when the toxic gas from the leakage source completes instantaneous leakage specifically includes: obtaining the total mass of the toxic gas from the leakage source and calculating the time when the toxic gas from the leakage source completes instantaneous leakage according to the total mass of the toxic gas from the leakage source and the leakage rate of the toxic gas; wherein t0=M / Q′, t0 is the time when the toxic gas from the leakage source completes instantaneous leakage; The initial concentration of the toxic gas in each cell space when the instantaneous leakage of the toxic gas from the leakage source is completed is C(x, y, z, t0, H).

6. The warehouse gas diffusion simulation method based on cellular space according to claim 1 is characterized in that: The diffusion concentration calculation step also includes: firstly, calculating the toxic gas diffusion concentration of each cell space after each preset long time slice according to the constructed continuous leakage model; Among them, the formula of the continuous leakage model is: Where: C′(x,y,z,t,Q′,H) is the diffusion concentration of toxic gas in the cell space (x,y,z) within time t; Q′ is the continuous diffusion rate of toxic gas from the leakage source; t is the leakage time of the toxic gas from the leakage source; H is the effective height of the leakage source; V is wind speed; σ x , σ y , σ z are respectively the diffusion coefficients of the toxic gas when diffusing in the x-direction, y-direction and z-direction of the cell coordinate system; Then, the concentration evolution rule of the toxic gas in the cellular space is determined, and then the concentration of the toxic gas in each cellular space after each preset time slice is calculated based on the constructed continuous leakage model; C(x,y,z,t,H)=C(x,y,z,t0+(b-1)*t′,H)+ΔC(x,y,z,t0+(b-1)*t′,H) (3); Wherein, C(x,y,z,t,H) is the concentration of toxic gas in the cell space (x,y,z) at time t; t=t0+b*t′, t′ is a preset long time slice, and t0 is the time when the toxic gas from the leakage source completes the instantaneous leakage; C(x,y,z,t0+(b-1)*t′,H) is the concentration of toxic gas in the cell space (x,y,z) at time tt′; ΔC(x,y,z,t,Q′,H) is the toxic gas diffusion concentration in a cell space from time tt′ through a preset long time slice t′; ΔC(m*d,n*d,h*d,t,Q′(m*d,n*d,h*d,tt′),H) represents the diffusion concentration of toxic gas in an adjacent cell space (m*d,n*d,h*d) of the cell space (x,y,z) within time t. Q′(m*d,n*d,h*d,tt′) is the continuous diffusion rate of toxic gas in the cellular space (m*d,n*d,h*d) at time tt′. It represents the concentration of toxic gas diffused into the cell space from an adjacent cell space (m*d,n*d,h*d) of the cell space (x,y,z) at time t; Indicates the diffusion concentration of toxic gas diffused out of the cell space (x, y, z); d is the length of the cube corresponding to the cellular space; the length, width and height of the cube are the same; m, n, h are integers, and m, n, h are not zero at the same time.

7. The warehouse gas diffusion simulation method based on cellular space according to claim 6 is characterized in that: The concentration evolution rule of the poisonous gas in the cellular space includes stipulating that each cellular space diffuses mutually only between adjacent cellular spaces within a preset long time slice.

8. The warehouse gas diffusion simulation method based on cellular space according to claim 1 is characterized in that: The adjacent cellular space of the cellular space refers to a cellular space having the same points, edges or faces as the cellular space.

9. A warehouse gas diffusion simulation device based on cellular space, characterized in that: It includes a memory and a processor, and is characterized in that the memory stores a diffusion simulation program running on the processor, the diffusion simulation program is a computer program, and the processor implements the steps of a warehouse gas diffusion simulation method based on cellular space as described in any one of claims 1 to 8 when executing the diffusion simulation program.

10. A computer-readable storage medium having a diffusion simulation program stored thereon, characterized in that: The diffusion simulation program is a computer program, and when the diffusion simulation program is executed by a processor, it implements the steps of a warehouse gas diffusion simulation method based on cellular space as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Cellular automaton based diffusion simulation method

    CN105243186A

  • Emergency personnel evacuation route design method for leakage accident of hazardous chemical substance park

    CN116595766A

  • Hazardous chemical substance leakage and diffusion prediction system based on meteorological and geographic information

    CN116805216A

  • Natural gas leakage diffusion prediction method based on Gaussian-cellular automaton model

    CN118070986A

  • Method of modeling diffusion of toxic gas

    KR1020000002127A

Cited By

  • Wine storage warehouse leakage monitoring and early warning system and method

    CN122524339A