Introduction

In view of the great potential of hydrogen in energy transformation and sustainable development around the world, how to realize the adequate transportation of hydrogen has become a hot spot of concern1. Among them, as a critical form of hydrogen transportation, natural gas hydrogen mixing technology is developing rapidly. Meanwhile, as a new type of pipeline ( hydropower, gas, etc. ) laying method is necessary for developing civilized cities, the construction of underground pipe galleries is also in full swing. The two’s rapid growth and application overlap will inevitably lead to many hydrogen-doped natural gas pipelines passing through the underground pipe gallery to deliver hydrogen to end users. According to statistics, large-scale natural gas pipelines are currently laid in the underground pipe gallery. It is worth noting that the change in the conveying medium will inevitably lead to a difference in the fluid dynamics performance of the leakage and diffusion behavior of the medium and further affect the response of the relevant safety control measures2,3,4,5. Therefore, exploring the leakage and diffusion characteristics of hydrogen-doped natural gas pipelines in the underground pipe gallery can enhance the understanding of safety management and control and help to further promote the development of energy transformation and low-carbon society.

Methane and hydrogen leakage, diffusion, and explosion in confined or semi-confined environments have been the subject of numerous investigations by domestic and international researchers. When the hydrogen blending ratio was less than 50%, the accumulation behavior of hydrogen-doped natural gas was comparable to that of pure natural gas, according to Lowesmith’s6 study on the leakage and accumulation behavior of hydrogen-doped natural gas in confined areas. Wilkening et al.7 simulated the diffusion and leakage of pure methane and H2-CH4 mixture gas in the pipeline under windy and windless conditions, respectively, and discovered that the mixed gas’s leakage rate and volume were greater than methane’s. The research of Li Du8 and Li Ranran et al.9. showed that the static storage of hydrogen-doped natural gas after leakage in the kitchen would cause gas stratification, and different gas components and leakage conditions had significant effects on the concentration distribution. In order to examine the diffusion law and leakage of hydrogen-doped natural gas in a valve chamber under various hydrogen volume concentrations, wind speeds, leakage diameters, and leakage port directions, Jia Wenlong et al.10 used a typical valve chamber from the West-East Gas Pipeline as an example. Stefano11 and Mohammad et al.12. studied how the diffusion of hydrogen in a confined space is significantly affected by the leak rate, while the leak location is less affected, and revealed the diffusion behavior of the gas and measured the danger height and vanishing moment. Gupta et al.13 ‘s research shows that the peak concentration of helium leakage in a closed garage is mainly determined by the total amount of leakage, while the leakage rate affects the gas mixing behavior. In addition, Jiang, H et al.14 based on the case of “6.13” explosion accident in Shiyan City, Hubei Province, calculated the amount of natural gas involved from three perspectives: TNT equivalent of explosion energy, damage to buildings and overpressure distribution in buildings.

Some scholars have conducted relevant studies on the gas leakage and diffusion of public pipe corridors. From the perspective of gas leakage and diffusion characteristics, Lei Peng et al.15 studied the diffusion of hydrogen leakage in the pipe gallery and found that the contact time after gas injection was long, resulting in slow propagation speed. Zhou Ning et al.16 simulated the diffusion process of natural gas in an underground pipeline corridor and found that under the action of wind, natural gas diffused in a “snail” shape and the turbulence intensity increased. From the perspective of leakage influencing factors, Duan Pengfei et al.1718 studied the influence of leakage hole direction, diameter and hydrogen mixing ratio on natural gas concentration distribution. Sun et al.19 found that higher pipeline pressure increases the amount of gas leaking and accelerates the injection rate, leading to concentration stratification. Li Jingtao et al.20 found that increased slope would shorten the alarm response time. Zhang Chenglong et al.21 analyzed the influence of multi-factor coupling on leakage and simulated leakage scenario. From the perspective of alarm and safety, Some scholars analyzed the process of leakage alarm and accident ventilation in the pipe gallery from the Angle of alarm and safety, and put forward the alarm scheme18,22.

However, the leakage and diffusion of hydrogen-doped natural gas at home and abroad rarely consider the leakage of long and narrow underground structures such as pipe corridors. In addition, the current study mainly analyzes the gas leakage and diffusion behavior under fixed ventilation frequency and inlet and outlet spacing, and neural network prediction is less applied in this area, and more work needs to be done to fill these gaps. Therefore, a numerical model of leakage and diffusion of hydrogen-doped natural gas in the integrated pipeline corridor is established in this paper, and the difference of concentration distribution and velocity field of hydrogen-doped natural gas is analyzed under the conditions of different inlet speed, inlet and outlet spacing, hydrogen ratio and leakage port size. The explosion risk volume of methane and hydrogen under different conditions is predicted by backpropagation neural network. GA-BPANN can accurately model complex nonlinear relationships and process high-dimensional data. This method can be used for rapid and flexible risk assessment under various conditions, and can provide reliable information for safety design. It can influence the ventilation design of pipeline corridors, the layout design of hydrogen-doped natural gas pipelines, and the formulation of emergency repair strategies for pipeline corridors. The technical route is shown in Fig. 1.

Fig. 1
Fig. 1
Full size image

Technology roadmap.

Theory and methodology

Computational fluid theory

Control equations

The leakage and diffusion of gas in the pipe gallery first satisfies the law of conservation of mass23. the continuous equation of gas leakage and diffusion in the pipe gallery is shown in Eq. (1).

$$\frac{{\partial \rho }}{{\partial {\text{t}}}}+\frac{{\partial (\rho {u_x})}}{{\partial x}}+\frac{{\partial (\rho {u_y})}}{{\partial y}}+\frac{{\partial (\rho {u_z})}}{{\partial z}}=0$$
(1)

Where, ρ is the gas density ( kg/m3 ). u is the velocity field of fluid (m/s).

The leakage and diffusion of hydrogen-doped natural gas in the pipe gallery must satisfy the law of conservation of energy24, and its energy equation is shown in Eq. (2).

$$\frac{{\partial \left( {\rho h} \right)}}{{\partial {\text{t}}}}+\frac{{\partial \left( {\rho {u_x}h} \right)}}{{\partial x}}+\frac{{\partial \left( {\rho {u_y}h} \right)}}{{\partial y}}+\frac{{\partial \left( {\rho {u_z}h} \right)}}{{\partial z}}= - p\left( {\frac{{\partial {u_x}}}{{\partial x}}+\frac{{\partial {u_y}}}{{\partial y}}+\frac{{\partial {u_z}}}{{\partial z}}} \right)+div(\lambda gradT)+\phi +{S_h}$$
(2)

Where, h is the enthalpy of hydrogen-doped natural gas ( J/mol ), \(\lambda\) is the thermal conductivity ( W·m− 1·K− 1 ), T is the thermodynamic temperature of the micro-element ( K ), \(\phi\) is the energy dissipation function, \({S_h}\) is the internal heat source term of the micro-element.

The momentum equation is describing the relationship between hydrogen-doped natural gas leakage and diffusion and air25. The differential form is shown in Eq. (3), (4), (5).

$$\frac{{\partial \left( {\rho {u_x}} \right)}}{{\partial {\text{t}}}}+\frac{{\partial \left( {\rho {u_x}{u_x}} \right)}}{{\partial x}}+\frac{{\partial \left( {\rho {u_x}{u_y}} \right)}}{{\partial y}}+\frac{{\partial \left( {\rho {u_x}{u_z}} \right)}}{{\partial z}}= - \frac{{\partial P}}{{\partial x}}+\mu \left[ {\frac{{{\partial ^2}{u_x}}}{{\partial {x^2}}}+\frac{{{\partial ^2}{u_x}}}{{\partial {y^2}}}+\frac{{{\partial ^2}{u_x}}}{{\partial {z^2}}}} \right]+{F_x}$$
(3)
$$\frac{{\partial \left( {\rho {u_y}} \right)}}{{\partial {\text{t}}}}+\frac{{\partial \left( {\rho {u_x}{u_y}} \right)}}{{\partial x}}+\frac{{\partial \left( {\rho {u_y}{u_y}} \right)}}{{\partial y}}+\frac{{\partial \left( {\rho {u_y}{u_z}} \right)}}{{\partial z}}= - \frac{{\partial P}}{{\partial y}}+\mu \left[ {\frac{{{\partial ^2}{u_y}}}{{\partial {x^2}}}+\frac{{{\partial ^2}{u_y}}}{{\partial {y^2}}}+\frac{{{\partial ^2}{u_y}}}{{\partial {z^2}}}} \right]+{F_y}$$
(4)
$$\frac{{\partial \left( {\rho {u_z}} \right)}}{{\partial {\text{t}}}}+\frac{{\partial \left( {\rho {u_x}{u_z}} \right)}}{{\partial x}}+\frac{{\partial \left( {\rho {u_y}{u_z}} \right)}}{{\partial y}}+\frac{{\partial \left( {\rho {u_z}{u_z}} \right)}}{{\partial z}}= - \frac{{\partial P}}{{\partial x}}+\mu \left[ {\frac{{{\partial ^2}{u_z}}}{{\partial {x^2}}}+\frac{{{\partial ^2}{u_z}}}{{\partial {y^2}}}+\frac{{{\partial ^2}{u_z}}}{{\partial {z^2}}}} \right]+{F_z}$$
(5)

where, \(\mu\) is the dynamic viscosity ( N·s/m2 ), \({F_x}\)\({F_y}\)\({F_z}\) is the volume force ( N ) acting on the x, y, z coordinate axes by the infinitesimal body.

Component transmission equation

After the leakage and diffusion of hydrogen-doped natural gas pipeline in the pipe gallery, it will continuously blend with the air in the pipe gallery, which belongs to the blending and transmission of different components26. There is no chemical reaction in this process, so the component transmission equation is equation (6).

$$\frac{{\partial \left( {\rho \omega } \right)}}{{\partial {\text{t}}}}+\frac{{\partial \left( {\rho {u_x}\omega } \right)}}{{\partial x}}+\frac{{\partial \left( {\rho {u_y}\omega } \right)}}{{\partial y}}+\frac{{\partial \left( {\rho {u_z}\omega } \right)}}{{\partial z}}=\frac{\partial }{{\partial x}}\left( {\rho {D_t}\frac{{\partial \omega }}{{\partial x}}} \right)+\frac{\partial }{{\partial y}}\left( {\rho {D_t}\frac{{\partial \omega }}{{\partial y}}} \right)+\frac{\partial }{{\partial z}}\left( {\rho {D_t}\frac{{\partial \omega }}{{\partial z}}} \right)$$
(6)

Where, \(\omega\)is the mass fraction of the component, \({D_t}\) is the turbulent diffusion coefficient ( m2/s ).

Turbulence modeling

The Realizable k-ε turbulence model is used to represent the turbulent motion based on the features of the hydrogen-doped natural gas jet. Compared with the standard k-ε model, the realizable k-ε model shows substantial improvement, mainly in the case of flow field including strong streamline curvature, eddy current and rotation. The model is capable of accurately simulating gas leakage and diffusion processes, turbulent flow, jet flow, and mixed flow27,28,29,30. This model’s equation can be found in (7) and (8)31.

$$\begin{gathered} \frac{\partial }{{\partial t}}\left( {\rho k} \right)+\frac{\partial }{{\partial x}}\left( {\rho k{u_x}} \right)+\frac{\partial }{{\partial y}}\left( {\rho k{u_y}} \right)+\frac{\partial }{{\partial z}}\left( {\rho k{u_z}} \right)= \hfill \\ \frac{\partial }{{\partial x}}\left[ {\left( {\mu +\frac{{{\mu _t}}}{{{\sigma _k}}}} \right)\frac{{\partial k}}{{\partial x}}} \right]+\frac{\partial }{{\partial y}}\left[ {\left( {\mu +\frac{{{\mu _t}}}{{{\sigma _k}}}} \right)\frac{{\partial k}}{{\partial y}}} \right]+\frac{\partial }{{\partial z}}\left[ {\left( {\mu +\frac{{{\mu _t}}}{{{\sigma _k}}}} \right)\frac{{\partial k}}{{\partial z}}} \right]+{G_k}+{G_b}-\rho \varepsilon -{Y_M}+{S_k} \hfill \\ \end{gathered}$$
(7)
$$\begin{gathered} \frac{\partial }{{\partial t}}\left( {\rho \varepsilon } \right)+\frac{\partial }{{\partial x}}\left( {\rho \varepsilon {u_x}} \right)+\frac{\partial }{{\partial y}}\left( {\rho \varepsilon {u_y}} \right)+\frac{\partial }{{\partial z}}\left( {\rho \varepsilon {u_z}} \right)= \hfill \\ \frac{\partial }{{\partial x}}\left[ {\left( {\mu +\frac{{{\mu _t}}}{{{\sigma _\varepsilon }}}} \right)\frac{{\partial \varepsilon }}{{\partial x}}} \right]+\frac{\partial }{{\partial y}}\left[ {\left( {\mu +\frac{{{\mu _t}}}{{{\sigma _\varepsilon }}}} \right)\frac{{\partial \varepsilon }}{{\partial y}}} \right]+\frac{\partial }{{\partial z}}\left[ {\left( {\mu +\frac{{{\mu _t}}}{{{\sigma _\varepsilon }}}} \right)\frac{{\partial \varepsilon }}{{\partial z}}} \right]+\rho {C_1}S\varepsilon - \rho {C_2}\frac{{{\varepsilon ^2}}}{{k+\sqrt {v\varepsilon } }}+{C_{1\varepsilon }}\frac{\varepsilon }{k}{C_{3\varepsilon }}{G_b}+{S_\varepsilon } \hfill \\ \end{gathered}$$
(8)

Where, k is the turbulent kinetic energy, \(\varepsilon\) is the turbulent dissipation rate, \({\mu _t}\) is the turbulent viscosity, \({G_k}\) the turbulent kinetic energy generated by the average velocity gradient, \({G_b}\) is the turbulent kinetic energy generated by the buoyancy effect, \({Y_M}\) is the turbulent dissipation rate generated by the compression of the turbulent pulsation expansion, \({S_k}\) and \({S_\varepsilon }\) is the custom source term, \({C_{1\varepsilon }}\)= 1.44, \({C_2}\)=1.9, \({C_{3\varepsilon }}\), \({\sigma _\varepsilon }\)=1.0 and \({\sigma _k}\)= 1.2 are the model coefficients. \({C_1}=\hbox{max} \left[ {0.43,\frac{\eta }{{\eta +5}}} \right]\);\(\eta =S\frac{k}{\varepsilon }\); \(S=\sqrt {2{S_{ij}}{S_{ij}}}\).

Numerical model

Physical modeling and meshing

in order to comprehend the concentration distribution and diffusion behavior of hydrogen-doped natural gas in the public pipe gallery following leaking. As seen in Fig. 2(a), a three-dimensional physical model of the gas chamber of a 200 m × 1.8 m × 2.4 m common pipe gallery was built. The installation spacing of pipes in the independent cabin of the public works pipe gallery is described in Fig. 2(b) in accordance with the Chinese national standard GB 50,838 − 2015 “Technical Code for Urban Comprehensive Pipe Corridor Engineering,”32 and the pipe gallery is 1.8 m wide and 2.4 m high. The seamless steel pipe used for the hydrogen-doped natural gas pipeline has DN250, 400 mm a, 500 mm, and 800 mm for b1 and b2, respectively. Considering the current state of engineering design, The air inlet and outlet have the same dimensions (1 m by 1 m). The pipe gallery is reduced to a long, narrow, rectangular building that has ventilatable walls on the left and right sides. The hydrogen-doped natural gas pipeline has a leak hole in the middle of its upper surface. The model mainly simulates the diffusion of hydrogen-doped natural gas in the pipe gallery after leakage into the atmosphere from small holes and analyzes the effects of ventilation velocity, inlet and outlet spacing, hydrogen blending ratio, and leakage port size on the diffusion of hydrogen-doped natural gas. Combined with several features of the model, a hexahedral mesh-based meshing strategy was adopted. The grid encryption grid is set up at the air inlet, outlet, and leak hole for locations prone to large velocity gradients, as shown in Fig. 2(c).

Fig. 2
Fig. 2
Full size image

Numerical model: (a) 3D pipe gallery model, (b) installation spacing of pipes in pipe gallery, (c) mesh generation strategy.

Study of the design of working conditions

This paper, based on the “Technical Specifications for Urban Comprehensive Pipe Tunnel Engineering,” explores the effects of pipe body factors and ventilation conditions on the diffusion behavior of hydrogen-contaminated natural gas leaks33. The selected influencing factors are listed in Table 1. According to the influencing factors, specific scenarios were designed as shown in Table 2.

Table 1 Classification and values of influencing factors.
Table 2 Parameters of operating conditions.

Calculation of working condition parameters

Physical properties of gas mixtures

The thermodynamic properties of the mixture gas can be calculated based on the gas mixture rules.

$$m={x_1}{m_1}+{x_2}{m_2}+{x_3}{m_3}+ \ldots +{x_n}{m_n}$$
(9)
$${c_{p,m}}={x_1}{c_{p,1}}+{x_2}{c_{p,2}}+{x_3}{c_{p,3}}+ \ldots +{x_i}{c_{p,i}}$$
(10)
$${c_{v,m}}={x_1}{c_{v,1}}+{x_2}{c_{v,2}}+{x_3}{c_{v,3}}+ \ldots +{x_i}{c_{v,i}}$$
(11)
$${k_m}=\frac{{{c_{p,m}}}}{{{c_{v,m}}}}$$
(12)

Where, xi is the percentage of the i gas ; m is the average molar mass, kg/mol ; cp, m is the specific heat capacity at constant pressure, J/(kg•K) ; cv, m is the constant volume specific heat capacity, J/(kg•K).

Leakage flow rate

The temperature of the manhole space, leaking point, intake, and exhaust is set to 300 K, and the pressure is set to standard atmospheric pressure during the first stage of hydrogen-containing natural gas leakage. One way to think about the gas leaking process is as a small hole leakage problem34.

According to the critical pressure ratio classification, the natural gas flow velocity can be divided into supersonic and subsonic. The critical pressure ratio is:

$$\beta ={\left( {\frac{2}{{k+1}}} \right)^{\frac{k}{{k - 1}}}}$$
(13)

Where, k is the isentropic index of gas.

When Pa/P2 > β, the gas flow rate of the leakage hole is subsonic, and the leakage rate is:

$$Q={C_0}{P_2}A\sqrt {\frac{M}{{ZR{T_2}}}\frac{{2k}}{{k - 1}}\left[ {{{\left( {\frac{{{P_a}}}{{{P_2}}}} \right)}^{\frac{2}{k}}} - {{\left( {\frac{{{P_a}}}{{{P_2}}}} \right)}^{\frac{{k - 1}}{k}}}} \right]}$$
(14)

Where, Pa is atmospheric pressure, Pa ; P2 is the pipeline pressure, Pa ; C0 is the correction coefficient of orifice leakage, and the circular orifice is taken as 1 ; A is the area of leakage orifice, m2 ; M is the molar mass of the leaking gas, kg/mol.

When Pa/P2 ≤ β, the gas flow rate of the leakage hole is sonic, and the leakage rate is:

$$Q={C_0}{P_2}A\sqrt {\frac{M}{{ZR{T_2}}}{{(\frac{2}{{k+1}})}^{\frac{{k+1}}{{k - 1}}}}}$$
(15)
Wind speed

The normal ventilation frequency must be at least six times per hour, and the accident ventilation frequency must be at least twelve times per hour, as per the Chinese national standard GB 50,838 − 2015, “Technical Specifications for Urban Integrated pipe Corridor Engineering.” The average wind velocity method35 was used to determine the ventilation velocity of air intake under mechanical ventilation settings.

$$v=\frac{{nV}}{{3600{A_0}}}$$
(16)

where, v is the average wind speed of the inlet, m/s ; n is the ventilation frequency, times/h ; V is the volume of the pipe gallery, m3 ; A0 is the area of the inlet, m2.

Equation (17) can be used to determine the wind speed corresponding to various ventilation frequencies in a two-dimensional simplified numerical model with model width as unit length. Table 3 displays the results of the computation.

Table 3 Calculation results of wind speed at different ventilation frequencies.
Upper and lower limits of explosion

The explosion limit of hydrogen-doped natural gas is calculated using Le Chatelier’s mixing rule. The explosion limit of methane is 5.00%~15.00%, and the explosion limit of hydrogen is 4.00%~75.60%. Le Chatelier’s law is as Eq. (17), (18).

$$LE{L_{{\text{mix}}}}=1/\left( {\frac{{{y_1}}}{{LE{L_1}}}+\frac{{{y_2}}}{{LE{L_2}}}+\frac{{{y_3}}}{{LE{L_3}}}+ \ldots +\frac{{{y_i}}}{{LE{L_i}}}} \right)$$
(17)
$$UE{L_{{\text{mix}}}}=1/\left( {\frac{{{y_1}}}{{UE{L_1}}}+\frac{{{y_2}}}{{UE{L_2}}}+\frac{{{y_3}}}{{UE{L_3}}}+ \ldots +\frac{{{y_i}}}{{UE{L_i}}}} \right)$$
(18)

Where, LELmix and UELmix are the upper and lower limits of the explosion of the mixed gas, yi is the volume fraction of a kind of gas in the mixed gas ; s is the total number of gas species contained in the mixed gas ; LELi and UELi are the upper and lower explosion limits of a certain kind of gas in a mixed gas.

The parameters of mixed gas under different hydrogen mixing ratios can be obtained by calculation, as shown in Table 4.

Table 4 Upper and lower explosion limits of mixed gases.

Boundary conditions and solution setup

The FLUENT finite volume method was used to solve the equations related to the conservation of mass, momentum, and energy36. A hydrogen-doped natural gas leakage port, an air inlet, an air outlet, two side outlets, a pipe wall, and a pipe corridor wall comprise the model’s primary boundaries. The combination of CH4 and H2 is separated into various proportions within the group, and the temperature is set at 300 K. The mass flow rate inlet is chosen as the boundary condition of the hydrogen-doped natural gas leakage port10,36. The group is separated into air, and the air inlet is configured as the speed inlet. The Outlet boundary condition often refers to the gas outlet end, which is set as a Pressure Outlet to simulate the gas diffusion perpendicular to the wall under the action of the airflow. In the setting of the wall boundary, since thermal analysis is not the focus of this paper, the research wall is set as an isothermal wall with a temperature of 300K17,36. The boundary condition Settings are shown in Table 5. It is assumed that the flow field in the calculation area is in a stable state before the leakage of the natural gas pipeline, and the velocity and concentration of methane and hydrogen are 036.

Table 5 Boundary condition settings.

Grid-independent verification

The area with a high gradient of data change, particularly the area surrounding the leak hole, needs to be locally adjusted in order to lower computing complexity and increase numerical accuracy. Wind speed of 2.4 m/s, intake and outlet spacing of 200 m, HBR of 20%, and leakage size of 20 mm were the parameters used to study grid independence. Four grid schemes with grid numbers of 1,202,370, 1,523,970, 2,172,970 and 3,430,000 were used for calculation. The variation of methane concentration in the vertical Y direction of the leak hole location under the four grid schemes is shown in Fig. 3(a). Mesh quality verification is usually evaluated through a series of quantitative metrics, such as maximum skew, aspect ratio, etc37. Therefore, the maximum skew of the four meshes is compared, and the results are shown in Fig. 3(b). As can be seen from the figure, when the number of grids reaches 3,430,000, the calculation results gradually tend to be stable. In order to meet the requirements of simulation accuracy and efficiency, the number of meshes used in subsequent simulations was 3,430,000.

Fig. 3
Fig. 3
Full size image

Grid validation data (a) Simulation results verify (b) Comparison of maximum skewness.

Verification of accuracy

A leakage and diffusion experiment of hydrogen-doped natural gas in a home kitchen was chosen for comparative analysis in order to confirm the accuracy of the numerical model8. The kitchen model data was obtained from the literature and had dimensions of 2.5 m by 1.6 m by 2.6 m, as illustrated in Fig. 4(a). The leak hole is 8 mm in size, with a leakage flow rate of 4 and 8 Nm3/h, 80% nitrogen, and 20% helium. The monitoring points 1 (0.76, 0.50, 1.15), 5 (1.50, 0.50, 1.68), 8 (1.50, 0.50, 0.20), and 9 (0.50, 1.55, 2.05) are displayed in Fig. 4(b) and (c). Simulations and experimental findings on oxygen concentration. At these two instances, it is evident that the trend of the computer findings and the experimental results is consistent. These two leakage flows had maximum and average absolute deviations of 1.20% and 1.20%, respectively, 34% and 1.60% and 2.19%. The numerical model’s dependability is confirmed by the deviation value, which is within an acceptable range and quite tiny.

Fig. 4
Fig. 4
Full size image

Accuracy verification (a) 3D model of the kitchen (b) Comparison of simulation results and experimental results when the leakage flow rate is 4Nm3/h (c) Comparison of the simulation results and experimental results when the leakage flow rate is 8Nm3/h.

Analysis of single influencing factors on the diffusion behavior of hydrogen-doped natural gas

Given that the city comprehensive pipe gallery’s gas tank has a medium- and low-pressure hydrogen-doped natural gas pipeline leak, this part includes varying wind speeds (1.4, 1.9, 2.4, and 2.9 m/s), input and outlet spacing (50, 100, 150, and 100 m), hydrogen mixing ratio (0, 5%, 10%, 15%, 20%) and leakage port size (10 mm, 20 mm, 30 mm, 40 mm) Influence on leakage and diffusion characteristics of hydrogen-doped natural gas in gas tanks in urban integrated pipeline corridors.

Leakage aperture size

Figure 5 shows the distribution of the leakage gas concentration field and velocity field in the pipe gallery under different leakage port sizes (when the air inlet and outlet spacing is 200 m, HBR is 20%, and the wind speed is 2.4 m/s).

Fig. 5
Fig. 5
Full size image

Distribution of hydrogen-doped natural gas under different leakage pore sizes (a), concentration field (b), velocity field.

As shown in Fig. 5(a), as the size of the leakage increases, the high-volume fraction of gas above the pipe gallery becomes more concentrated, while hydrogen-doped natural gas accumulates more around the leakage port beneath the pipeline. The concentration beneath the air inlet is mainly concentrated at the top of the pipe gallery, though it remains lower than that at the air outlet. Notably, when the leakage port is 10 mm, a stratification phenomenon of hydrogen-doped natural gas appears in the pipe gallery. This layering effect gradually diminishes as the leakage port size increases. When the leakage is 40 mm, the overall concentration level in the pipe gallery is significantly high, resulting in an extremely hazardous situation.

As seen in Fig. 5(b), the increase in leakage size alters the streamline structure within the pipeline gallery, with a substantial expansion of the high-velocity diffusion area. When the leakage port size increases to 20 mm, the length of the vortex area beneath the air inlet increases, causing the streamlines downstream of the pipe gallery to no longer converge, and the concentration distribution becomes broader. As the leakage port size reaches 40 mm, the vortex structure beneath the air inlet disappears. The gas accumulation above the pipe gallery increases, and the leakage velocity above the leakage port rises sharply. Simultaneously, part of the leaking gas is carried into the middle and lower spaces of the pipe gallery, leading to an increase in gas concentration in the lower areas.

Fig. 6
Fig. 6
Full size image

Changes in the explosion volume of hydrogen-doped natural gas under different leakage orifice sizes.

Figure 6 illustrates the variation of the explosion volume of hydrogen-doped natural gas at different leak orifice sizes. Compared with the standard operating condition, when the leakage aperture size increased from 20 mm to 40 mm, the explosion volume of CH4 decreased by 52.99% and 99.88% respectively. The explosion volume of H2 increased by 143.48% and 214.58%. When the leakage aperture size is reduced from 20 mm to 10 mm, the explosion volume of CH4 is reduced by 29.23% respectively. The H2 explosion volume is reduced by 100%. Among them, the larger the leakage hole, the smaller the methane explosion volume in the pipe gallery. This phenomenon is mainly because when the natural gas leakage is large, the concentration of methane in the confined space will increase rapidly, and the methane concentration will soon exceed the upper limit of the explosion (UEL). After exceeding the UEL, the concentration of methane in the gas mixture is too high, and the oxygen is insufficient to support combustion or explosion. As a result, this part of the area where the concentration exceeds the UEL is no longer explosive but “out” of the blast range. The explosion volume of hydrogen can be increased all the time because the upper and lower explosion limits of hydrogen are wide and less limited by the upper and lower explosion limits. As the leakage increases, the concentration of hydrogen rises rapidly in the confined space, and the upper limit of the explosion is less exceeded, resulting in an increase in the effective explosion volume.

Hydrogen-doped ratio

Figure 7 shows the distribution of the leakage gas concentration field and velocity field in the pipe gallery under different hydrogen doping ratios (when the spacing between the air inlet and outlet is 200 m, the leakage aperture size is 20 mm, and the wind speed is 2.4 m/s).

Fig. 7
Fig. 7
Full size image

Distribution of hydrogen-blended natural gas with different hydrogen doping volume ratios (a), concentration field (b), velocity field.

Figure 7(a) shows the distribution of the leakage gas concentration field in the pipe gallery. Compared with natural gas, when the hydrogen blending ratio is 5% and 10%, the concentration field does not change obviously, and the concentration distribution law is similar. When the hydrogen doping ratio is increased to 15%, the high volume fraction of gas near the air inlet of the leakage port gathers above the pipe gallery, and the gas concentration distribution near the air outlet has little effect. When the HBR value is 20%, the downwind danger area near the outlet increases significantly, but the gas concentration above the pipe gallery in the direction of the air inlet is low, and most of the hydrogen-doped natural gas gathers below the air outlet and at the top of the pipe gallery. It is shown that hydrogen mixing will increase the safety risk of public pipe corridors after pipeline leakage. Figure 7(b) shows the velocity field distribution of leakage gas in the pipe gallery. Observing the velocity streamlines diagram of different hydrogen doping ratios, it can be found that hydrogen doping does not significantly change the streamline structure of the pipeline corridor but only lifts the vortex line near the air inlet and increases the length of the vortex area so that a fast flow area is formed under the pipeline on the left side of the leakage port so that the gas is not easy to accumulate at the bottom of the pipe corridor.

Fig. 8
Fig. 8
Full size image

Variation of the explosion volume of hydrogen-doped natural gas under different hydrogen-doped volume ratios.

As can be seen from Fig. 8, Compared with the standard condition, the explosion volume of CH4 is reduced by 9.78%, 10.78%, 13.55% and 12.25% respectively when the hydrogen mixture ratio is reduced from 20% to 0. The explosion volume of H2 is reduced by 86.55%, 100%, 100%, 100%. In particular, when the hydrogen mixture ratio is 0–10%, the explosion volume of H2 is close to 0. the larger the hydrogen doping ratio, the larger the explosion volume of methane and hydrogen in the pipe gallery, which is mainly related to the explosion limit characteristics and their behavior in the gas mixture. One is that the explosion limit (LEL and UEL) of hydrogen is wider than that of methane. With the increase in the number of hydrogen gas integrals in the leaked gas, the range of hydrogen concentrations that can form explosive mixtures in the pipe gallery increases. The second is that hydrogen diffuses faster than methane. After being mixed with hydrogen, the mixed gas diffuses faster in the pipe gallery and is easy to form a homogeneous mixture in a larger area. This rapid diffusion property may allow larger volumes of gas mixtures to reach the explosive concentration range, resulting in an increase in the explosive volumes of methane and hydrogen. Therefore, in relatively enclosed spaces such as pipe corridors, the explosion volume of methane and hydrogen increases significantly. This phenomenon requires special attention in industrial safety management to prevent a greater risk of explosion due to increased hydrogen doping.

Wind speed

Figure 9 shows the distribution of the leakage gas concentration field and velocity field in the pipe gallery at wind speed (when the spacing between the air inlet and outlet is 200 m, the HBR is 20%, and the leakage aperture size is 20 mm).

Fig. 9
Fig. 9
Full size image

Distribution of hydrogen-doped natural gas at different wind speeds (a) concentration field (b) velocity field.

Figure 9(a) shows the distribution of the leakage gas concentration field in the pipe gallery. It can be seen that with the increase in wind speed, the gas concentration at the air inlet decreases significantly, and the hydrogen-doped natural gas with a high volume fraction no longer gathers above the pipe gallery at the air inlet. According to the concentration distribution of hydrogen-doped natural gas at the air outlet, it can be seen that with the increase in wind speed, the high volume fraction of gas accumulation above the pipe gallery at the air outlet and the accumulation degree of hydrogen-doped natural gas below the pipeline is also reduced. On the whole, the increase in wind speed reduces the concentration of hydrogen-doped natural gas in the pipe gallery as a whole, and the danger range is reduced. Figure 9(b) shows the velocity field distribution of leaked gas in the pipe gallery. With the increase of wind speed, the vortex area below the air inlet gradually increases, and more hydrogen-doped natural gas with a high volume fraction enters the downstream of the pipe gallery through the vortex, which accelerates the gas flow in the overall pipe gallery space. The velocity streamlines below the air outlet gradually move downward, pushing the high volume fraction of gas under the pipe to flow to the air outlet, which reduces the accumulation of hydrogen-doped natural gas at the bottom of the pipe gallery to a certain extent.

Fig. 10
Fig. 10
Full size image

Variation of the explosion volume of hydrogen-doped natural gas at different inlet wind speeds.

As can be seen from Fig. 10, Compared with the standard condition, when the inlet wind speed increases from 2.4 m/s to 2.9 m/s, the explosion volume of CH4 decreases by 35.68% and that of H2 decreases by 20.50%. When the inlet wind speed decreased from 2.4 m/s to 1.4 m/s, the explosion volume of CH4 first decreased by 3.79% and then increased by 20.43%. The explosion volume of H2 first decreases by 0.28% and then increases by 8.91%. So the methane explosion volume dropped even more. In confined spaces, the larger the ventilation velocity, the smaller the explosion volume of methane and hydrogen leakage, which is mainly related to the dilution effect of ventilation on methane and hydrogen concentrations and the control of mixed gas concentrations. Ventilation can dilute the concentration of leaking gases. As the number of ventilations increases, fresh air entering the space can dilute leaked methane and hydrogen, making them less concentrated in the air. When ventilation is strong enough, the concentration of methane and hydrogen falls below the lower explosion limit (LEL), reducing or completely eliminating the volume of explosive gases. It can be seen that with proper ventilation design, the leaking hydrogen-doped natural gas can be quickly controlled below the safe concentration, thus effectively preventing the risk of explosion.

The effect of ventilation on the volume reduction of methane and hydrogen explosions in confined spaces varies, mainly related to the explosion limit, molecular mass, and diffusivity of methane and hydrogen. Methane and hydrogen have different explosion limits. Methane has a narrow explosion limit of 5–15% (volume fraction), while hydrogen has a wide explosion limit of 4–75%. This means that even at low concentrations, hydrogen can still cause an explosion, while methane only explodes in a relatively small concentration range. Secondly, hydrogen has a smaller molecular mass (2 g/mol) and, therefore, diffuses faster in the air; Hydrogen diffuses more easily and occupies a larger space. In summary, although ventilation can reduce the explosion volume of methane and hydrogen, due to the wide explosion limit, fast diffusion, and fast flame propagation speed of hydrogen, ventilation often requires stricter control and more effective ventilation design to reduce the risk of hydrogen explosion.

Distance between air inlet and outlet

Figure 11 shows the distribution of the leakage gas concentration field and velocity field in the pipe gallery under different inlet and outlet spacing (when the leakage aperture size is 20 mm, the HBR is 20%, and the wind speed is 2.4 m/s).

Fig. 11
Fig. 11
Full size image

Distribution of hydrogen-doped natural gas at different inlet and outlet spacing (a) concentration field (b) velocity field.

Figure 11(a) shows the distribution of the leakage gas concentration field in the pipe gallery. On the whole, when the spacing between the air inlets and outlets is 50 m, the overall concentration level of the pipe gallery is the lowest, and the area of high-volume hydrogen-doped natural gas distribution is the smallest. When the spacing is 50 m, the second air inlet is located above the leakage, resulting in a low distribution of hydrogen-doped natural gas upstream of the pipe gallery, and at the same time, it works together with the air inlet at 200 m to aggregate the gas at the air outlet of 150 m, resulting in the smallest aggregation of hydrogen-doped natural gas with high volume fraction. When the spacing is 100 m, the air outlet is located above the leakage port, and the leaked gas can directly escape out of the pipe gallery due to the joint action of its own jet and the air inlet on both sides, but because there is only one air outlet, the overall concentration level is higher than that of 50 m. As the spacing between the air inlets and outlets increases, the overall concentration level increases, and the hazard range increases. It shows that the distance between the air outlet and the leakage point greatly affects the concentration level of hydrogen-doped natural gas in the pipe gallery.

Figure 11(b) shows the velocity field distribution of leakage gas in the pipe gallery. Observing the cloud image, it can be seen that the increase of the spacing between the inlet and outlet has little effect on the velocity on the center line of the jet but completely changes the streamline of the diffusion of hydrogen-doped natural gas. When the spacing between the air inlets and outlets is 50 m, the air intakes on both sides and in the center of the pipe gallery promote the diffusion of hydrogen-doped natural gas to the air outlets on the left and right sides of the leakage port, and the overall fluidity is strong. When the spacing between the air inlet and outlet is 100 m, the air outlet is located above the leakage port, and the air inlets on both sides promote the diffusion of hydrogen-doped natural gas out of the pipe gallery. The concentration distribution of the air inlet and outlet spacing of 150 m and the spacing of 200 m is similar, but the shorter the spacing, the shorter the distance of hydrogen-doped natural gas diffusion, which is conducive to the reduction of the concentration level of hydrogen-doped natural gas in the pipe gallery.

Fig. 12
Fig. 12
Full size image

Variation of the explosion volume of hydrogen-doped natural gas at different inlet and outlet spacing.

As shown in Fig. 12, Compared with the standard working condition, when the inlet and outlet spacing is reduced from 200 m to 50 m, the explosion volume of CH4 is reduced by 49.81%, 3.21% and 99.92%, and the explosion volume of H2 is reduced by 8.12% and 100%. This phenomenon is closely related to factors such as ventilation efficiency, gas diffusion behavior, and concentration distribution. When the spacing between the air inlets and outlets of the pipe gallery is large, the ventilation efficiency will be reduced. As the airflow passes through the corridor over long distances, it gradually weakens, resulting in a decrease in the velocity of the airflow. The reduced ventilation efficiency means that the leaking gas cannot be quickly discharged or diluted in the pipe gallery and tends to accumulate in some areas, and methane and hydrogen can easily accumulate and reach concentrations between the lower explosion limit (LEL) and the upper limit (UEL), thus increasing the explosion volume in that area. The long-distance air inlet and outlet will lead to the formation of a clear gas concentration gradient in the pipe gallery; that is, the concentration is higher in the area near the leakage source, and the concentration may be lower in the area away from the air outlet.

Among them, when the spacing between air inlets and outlets increases from 100 m to 200 m, the explosion volume of methane decreases first and then increases. This is because the explosive volume of hydrogen gas increases rapidly due to the accumulation of airflow, which occupies a large amount of pipe gallery space. Then, with the increase of the spacing between the air inlets and outlets, the accumulation effect of the airflow is further strengthened, the volume fraction of hydrogen is smaller, and the diffusion degree is limited, so the explosion volume of methane increases.

Intelligent prediction model of explosive gas volume in pipe corridor based on GA-BPANN

Data processing

Latin hypercube sampling

Latin Hypercube Sampling (LHS) is a hierarchical stochastic process that provides an efficient way to sample variables from a given distribution38. For the four factors studied, LHS was sampled within their respective ranges. The value ranges are leakage flow velocity (0.0247–0.3958 kg/s), hydrogen doping ratio (0–20%), wind speed (1.4–2.9 m/s), and air inlet and outlet spacing (50–200 m). The sampled experimental data are shown in Table 6.

Table 6 Experimental data.

Data normalization

In order to eliminate the influence of dimensions on the prediction results, the data need to be normalized39. The maximum-minimum normalization method is usually used to normalize the sample data into the [0,1] interval, as shown in Eq. (19).

$$x_{i}^{\prime }=\frac{{{x_i} - {x_{\hbox{min} }}}}{{{x_{\hbox{max} }} - {x_{\hbox{min} }}}}$$
(19)

Where, xi and \(x_{i}^{\prime }\) is the data before and after standardization, \({x_{\hbox{max} }}\) and \({x_{\hbox{min} }}\) is the maximum and minimum value of the sample data.

GA-BP neural network creation

The way the human brain functions is the basis for modeling backpropagation neural networks. The most popular neural network model at the moment is the BPNN algorithm. An input layer, a hidden layer, and an output layer are all part of BPNN40. The acquired simulation data is used to train and learn hidden layer neurons, which reflect the input-output relationship. Following adequate education, the study’s findings were reviewed. The trained model can be used to forecast new outputs once the learning outcomes are approved. Thus, BPNNs can be used to address complicated nonlinear problems. The explosion danger volume of hydrogen and methane in the pipe gallery was predicted in this investigation using BPNN.

In this study, the leakage orifice (d), hydrogen doping ratio (HBR), wind speed (v), and inlet and outlet spacing (D) were found in the input layer. There are four input points in the input layer, and the output layer includes the explosion volume (Vgas) of methane and hydrogen. The relationship between input and output can be expressed as Eq. (20).:

$${V_{{\text{gas}}}}=f(d,D,v,HBR)$$
(20)

A BPNN with a three-layer prediction model was developed in order to derive the explosion volume (V) of hydrogen and methane at the maximum horizontal diffusion distance from this unknown function. As seen in Fig. 1441, there are one node in the output layer and four nodes in the input layer. The number of neurons in the hidden layer can be obtained according to the Kolmogorov theorem or through the training test of different hidden layer node numbers. The more nodes, the easier to overfit, the fewer nodes, will increase the error. Usually, the approximate interval of N is determined by the equations (21) and (22), and then the optimal number N is obtained by many experiments42.

$$N=\sqrt {\left( {m+n} \right)} +c$$
(21)
$$\frac{{(m+n)}}{2} \leqslant h \leqslant (m+n)+10$$
(22)

where, N is the number of hidden layer nodes, m is the number of output layer nodes, n is the number of input layer nodes, and c is a constant of [ 0,10 ].

The training effect is optimum when N is 4, according to a comparison and analysis of the prediction outcomes under the number of nodes in various hidden layers. As a result, Fig. 13 displays the topology of BPNN, which is 4-4-1. The learning rate is set to 0.01; the minimum training error is 1 × 10− 6; the training times are 1000 times; the maximum number of failures is 6 times; the output layer neuron’s transfer function is chosen as a pure line; and the hidden layer neuron’s transfer function is chosen as transit.

Fig. 13
Fig. 13
Full size image

Neural network topology.

Genetic algorithm optimization of neural networks

The accuracy of the final prediction findings is significantly impacted by the weights and thresholds that are first established in BP-ANN. Local optimality may arise during model execution if these parameters are assigned at random using conventional procedures4344. The genetic algorithm to optimize the back propagation neural network can improve the generalization ability of the model and avoid falling into the overfitting problem. The genetic algorithm optimizes the initial weights and biases through the global search ability, which overcomes the limitation that the traditional BP neural network is easy to fall into the local optimum, thus reducing the over-fitting of the model to the training data. The selection function is the geometric selection of the norm, the mutation function is the uncombined mutation and the hybridization function is the two-point hybridization with an initial population size of 10 and a maximum evolutionary program of 50. The GA chromosome has 25 genes (weight 4 × 4 + 1 × 4 = 20, threshold 4 + 1 = 5). The optimization process of the genetic algorithm is illustrated in Fig. 14.

Fig. 14
Fig. 14
Full size image

Genetic algorithm optimization process.

Backpropagation neural network prediction

There were two sets of experimental data used in the GA-BP-ANN model: a training set and a validation set45. The model is constructed and trained in the training group, and its usability is confirmed in the validation group. Fifty sets of simulated data were included in the experimental data. The model is learned and trained using 70% of the dataset, and the set is validated using 30%. In the end, 15 validation samples and 35 training samples were acquired. The GA-BP-ANN training was completed at last.

The fitness value is a crucial measure of chromosomal quality in the iterative GA process. The quality of each member of the chromosomal set is indicated by the fitness value. The neural network represented by each chromosome is trained to determine the fitness value based on the training data. The result is the total of the absolute values of the errors in the prediction of all nodes in the output layer, as indicated in Eq. (23).

$${F_{fit}}=\left| {{y_1} - {f_1}} \right|+\left| {{y_2} - {f_2}} \right|+\left| {{y_3} - {f_3}} \right|+ \cdots +\left| {{y_N} - {f_N}} \right|$$
(23)

where, N is the number of samples, fi and yi the predicted and true values of the explosion volume, i = 1, 2, 3,. n.

Fig. 15
Fig. 15
Full size image

Neural network prediction results: (a)Ffit curve (b) fitting of the actual and predicted values of the train set (c) fitting of the actual and predicted values of the test set.

Figure 15(a) presents the curve for GA-BP-AN. During the iteration process, the overall value decreases as the number of iterations increases, indicating that the genetic algorithm optimization is progressing in the right direction. For methane and hydrogen explosion volume predictions, the average fitness values of the populations began to stabilize after approximately 30 and 15 iterations, respectively. In the methane group, the weight and threshold of the evolved individuals reached optimal values after 30 iterations, while in the hydrogen group, only 15 iterations were required.

Figure 15(b) and (c) demonstrate how well the training set’s actual and projected values match the test set. The constructed GA-BP-ANN model is shown to have strong approximation capacity when the correlation coefficient R2 between the actual output data and the expected data is near 1. Furthermore, the model performance evaluation index may also be determined using the square correlation coefficient (R2) and the root mean square error (RMSE), and the equations are computed as Eqs. (24) and (25).

$$RMSE=\sqrt {\frac{1}{N}\left[ {{{\left( {{f_1} - {y_1}} \right)}^2}+{{\left( {{f_2} - {y_2}} \right)}^2}{{\left( {{f_3} - {y_3}} \right)}^2}+ \cdots +{{\left( {{f_N} - {y_N}} \right)}^2}} \right]}$$
(24)
$${R^2}=1 - \frac{{{{\left( {{f_1} - {y_1}} \right)}^2}+{{\left( {{f_2} - {y_2}} \right)}^2}{{\left( {{f_3} - {y_3}} \right)}^2}+ \cdots +{{\left( {{f_N} - {y_N}} \right)}^2}}}{{{{\left( {{f_1} - \mathop y\limits^{ - } } \right)}^2}+{{\left( {{f_2} - \mathop y\limits^{ - } } \right)}^2}{{\left( {{f_3} - \mathop y\limits^{ - } } \right)}^2}+ \cdots +{{\left( {{f_N} - \mathop y\limits^{ - } } \right)}^2}}}$$
(25)

Where, \(\mathop y\limits^{ - }\) is the average true value.

Table 7 displays the findings of a neural network-based prediction of the methane and hydrogen explosion volume. The established GA-BPANN prediction model’s viability is confirmed by the training set data’s R2 of 0.84 and 0.91 and the test set data’s R2 of 0.83 and 0.85.

Table 7 Prediction model data.

Conclude

This research uses numerical simulation to model the diffusion distribution of hydrogen-doped natural gas in the extensive pipe gallery. Analysis was done on the impacts of various parameters on the hydrogen explosion volume, methane, concentration field distribution, and velocity field distribution of hydrogen-doped natural gas. BPNN was used to establish a prediction model of the explosion volume of methane and hydrogen after diffusion stabilization of hydrogen-doped natural gas under multi-factor coupling. The conclusion is as follows:

(1) The centerline of the hydrogen-doped natural gas jet’s jet in the near-field region is greatly influenced by the leakage hole’s diameter. As the leakage hole’s size increases, the explosion volume of hydrogen rapidly increases while the explosion volume of methane first increases and then decreases. The majority of the hydrogen-doped natural gas is collected at the top of the pipe gallery and beneath the air outlet, and the explosion volume of hydrogen and methane in the pipe gallery increases with the hydrogen blending ratio. The horizontal jet centerline of the hydrogen-doped natural gas is also deflected upward earlier.

(2) With the increase of wind speed, the gas concentration at the air inlet decreases significantly, and the hydrogen-doped natural gas with high volume fraction no longer gathers above the pipe gallery at the air inlet, and the explosion volume of methane and hydrogen in the pipe gallery decreases. The distance between the air outlet and the leakage point greatly affects the concentration level of hydrogen-doped natural gas in the pipe gallery, and the long-distance air inlet and outlet will lead to the formation of an obvious gas concentration gradient in the pipe gallery, that is, the concentration is higher in the area near the leakage source, and the concentration may be lower in the area far away from the air outlet.

(3) A GA-BPNN surrogate model that can be used to predict the dangerous explosion volume of methane and hydrogen was established. The R2 of the training set data and the R2 of the test set data are 0.83 and 0.85, respectively, which verifies the accuracy of the surrogate model.

(4) According to the results of the study, reasonable design of Distance between inlet and outlet and air flow configuration can help to quickly discharge harmful gases and ensure safe evacuation and equipment maintenance in the pipe gallery in an emergency. Therefore, in the design of pipeline infrastructure, for important facilities or high-risk areas, a reasonable mixing ratio of hydrogen should be designed and ensured within the safety threshold of pipeline operation. Moreover, the spacing and wind speed of the inlet and outlet of the pipe corridor should be optimized so that the air can be evenly distributed in the pipe corridor to prevent the accumulation of gas in local areas, so as to effectively reduce the risk of explosion.

(5) Future studies can conduct field experiments in different regions and different types of pipe corridors to collect actual data to validate the simulation model and provide a basis for further optimization of the design. Sensor technology can also be combined with artificial intelligence (such as deep learning) to develop real-time gas concentration monitoring and explosion risk warning systems to improve the safety of pipe corridors.