A method and system for predicting the diffusion characteristics of battery thermal runaway gases in a confined space

By constructing a Gaussian smoke model with enhanced characteristic parameters, the problem of accuracy and efficiency in predicting the gas diffusion characteristics of thermal runaway in lithium-ion batteries within confined spaces was solved. This enabled rapid and accurate prediction and real-time early warning of gas concentration, and is applicable to high-pressure transient impacts and roof accumulation characteristics within the sealed cavity of the battery pack.

CN123180010APending Publication Date: 2026-11-27JIANGSU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611660066.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-26
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies are unable to quickly and accurately predict the gas diffusion characteristics during thermal runaway of lithium-ion batteries in confined spaces, failing to meet the engineering requirements of online early warning response and large-scale sensor layout optimization. Furthermore, existing models cannot adapt to the high-pressure transient impact release and ceiling accumulation characteristics within the sealed cavity of the battery pack.

Method used

A Gaussian smoke puff model with enhanced feature parameters is constructed. Spatiotemporal data of the concentration field are obtained through CFD modeling. Gas diffusion characteristics are analyzed and dead zones in the flow field are identified. A concentration prediction model that takes into account wall reflection and ceiling accumulation is constructed. Feature parameters are extracted and correlations are fitted. The model is calibrated and validated to output predicted values ​​of gas mole fraction.

Benefits of technology

It enables rapid and accurate prediction of thermal runaway gas diffusion concentration in confined spaces, improving prediction accuracy and computational efficiency, simplifying the model calibration process in engineering applications, and is suitable for real-time early warning of different leak source locations and monitoring points.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180010A_ABST
    Figure CN123180010A_ABST
Patent Text Reader

Abstract

The application discloses a battery thermal runaway gas diffusion characteristic prediction method and system in a confined space, S1, a battery pack thermal runaway gas diffusion CFD model is constructed, and concentration field space-time data is obtained; S2, thermal runaway gas diffusion characteristics are analyzed, and a flow field dead zone is identified; S3, a characteristic parameter enhanced Gaussian plume model is constructed; S4, characteristic parameters are extracted, and a correlation formula is fitted; S5, the CPE-GPM is calibrated and verified, and prediction and early warning are output. The application discloses a battery pack thermal runaway gas diffusion characteristic by CFD simulation, and the flow field dead zone in the corner of the module causes transmission lag, thereby providing a basis for sensor layout. The CPE-GPM considering wall reflection and front impact is established, the concentration curve of the monitoring point is analyzed and reconstructed, and efficiency and accuracy are considered. The generalization is good in multi-working condition verification; the diffusion coefficient is not sensitive to the position of the leakage source, and the universal parameter set can be applied across working conditions, thereby simplifying calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a method and system for predicting the gas diffusion characteristics of thermal runaway in a confined space, belonging to the field of battery prediction technology. Background Technology

[0002] Lithium-ion batteries, due to their excellent electrochemical performance, have achieved large-scale application in electric vehicles, grid energy storage, and portable devices. However, lithium-ion batteries are prone to thermal runaway under extreme conditions such as overcharging, over-discharging, short circuits, or mechanical impacts. This triggers the decomposition of the internal electrolyte, producing a large amount of flammable gas mixture containing hydrogen (H2), carbon monoxide (CO), carbon dioxide (CO2), and hydrocarbons, which is then injected instantaneously into the confined space within the battery pack through a pressure relief valve. This flammable gas mixture rapidly diffuses and accumulates within the enclosed battery pack or module space, easily causing fires or even explosions, posing a significant threat to life and property. Research shows that the characteristic gases released in the early stages of thermal runaway occur earlier than significant voltage drops and temperature surges, and monitoring methods based on characteristic gas detection can indicate internal battery anomalies earlier. However, to achieve accurate monitoring and effective early warning of characteristic gases, a deeper understanding of the diffusion mechanism and spatiotemporal distribution patterns of these gases within confined spaces such as the sealed cavities of the battery pack is necessary.

[0003] Currently, the main method for obtaining the spatiotemporal distribution of gas concentration in confined spaces is computational fluid dynamics (CFD) transient simulation. CFD methods solve the gas leakage and diffusion process based on the conservation equations of mass, momentum, energy, and composition. While highly accurate and information-rich, each simulation is time-consuming and requires separate modeling and calculation for each leakage source location and leakage rate condition, which cannot meet the engineering requirements of online early warning response and large-scale sensor deployment optimization.

[0004] Physically based mathematical modeling methods achieve rapid concentration assessment by establishing analytical or semi-analytical equations describing dominant processes such as gas buoyancy transport, convection, and diffusion, offering advantages such as high computational efficiency and clear physical meaning. However, the applicability of such models is limited by their assumptions and spatial scale: taking the filled box model as an example, its uniform stratification assumption has been proven to be inapplicable in large, flat, confined spaces, while the internal space of a battery module is smaller and the wall constraints are stronger, requiring more targeted testing and correction of the model's assumptions. More importantly, existing Gaussian diffusion models all assume open spaces and steady turbulent dispersion, while thermal runaway exhaust in the sealed cavity of a battery pack exhibits characteristics of high-pressure transient impact release, multiple wall reflections, and ceiling accumulation. Existing models cannot characterize the concentration surge caused by the arrival of the gas front, nor can they account for the base concentration increase caused by ceiling accumulation. Directly applying them to battery pack thermal runaway scenarios will result in a mismatch of physical mechanisms and a systematic underestimation of concentration. In summary, CFD methods are insufficient to meet the need for rapid prediction, and existing analytical models cannot adapt to the transient impact and accumulation characteristics of thermal runaway exhaust within the sealed cavity of the battery pack. Summary of the Invention

[0005] Purpose of the invention: To address the shortcomings of existing technologies, this invention provides a method and system for predicting the diffusion characteristics of thermal runaway gases in confined spaces. This invention rapidly and accurately predicts the diffusion concentration of thermal runaway gases in confined spaces by constructing a Gaussian puff model with enhanced characteristic parameters.

[0006] Technical solution: A method for predicting the diffusion characteristics of thermal runaway gases in a confined space, comprising the following steps:

[0007] S1. Construct a CFD model of thermal runaway gas diffusion in the battery pack and obtain spatiotemporal data of the concentration field: Through battery pack geometric modeling, leakage source and monitoring point layout settings, CFD control equation and solution settings, grid independence verification and time step independence verification, spatiotemporal evolution data of thermal runaway gas concentration field under different leakage source conditions are obtained.

[0008] S2. Analyze the diffusion characteristics of thermal runaway gas and identify dead zones in the flow field: Based on the spatiotemporal evolution data of the concentration field obtained in S1, conduct analysis on the distribution of top hydrogen cloud, flow field topology of different leakage sources, concentration comparison of equidistant monitoring points, diffusion velocity and response time characteristics, and identify monitoring points with response lag and dead zones in the flow field.

[0009] S3. Constructing a Gaussian puff model with enhanced feature parameters: Based on the gas diffusion characteristics obtained in S2, the model is simplified using a Gaussian puff model, a mirror source is introduced, the filling box theory is described, feature parameters are defined, the basis term and puff increment term are constructed, and a piecewise function model is established to form a concentration prediction model framework that takes into account wall reflection, ceiling accumulation and transient impact characteristics of the front.

[0010] S4. Extracting feature parameters and fitting correlation equations: Based on the feature parameter-enhanced Gaussian smoke model constructed in S3, gas concentration surge time and base mole fraction are extracted from CFD transient data. Empirical expressions for front sweep area and front velocity are constructed, and feature parameter prediction expressions and base mole fraction prediction values ​​are obtained through nonlinear fitting.

[0011] S5. Calibrate and validate CPE-GPM and output prediction and early warning: Based on the characteristic parameter correlation obtained in S4, conduct error spatial distribution analysis, eliminate dead zone monitoring points and refit parameters, compare the model before and after improvement, construct evaluation indicators and compare source-by-source independent fitting and global joint fitting to obtain a general parameter set applicable across leakage conditions and verify the model's generalization ability. Output the predicted value of thermal runaway gas mole fraction at any leakage source location, any monitoring point and any time, and link thermal runaway gas monitoring and early warning.

[0012] Preferably, S1 specifically includes:

[0013] S101. Construct a geometric model of the battery pack, select typical cell locations as leakage sources according to the symmetry of the box, set the mass flow inlet of the leakage port as the leakage port boundary condition, set the shell and battery components as wall boundary conditions, and arrange the top gas monitoring point.

[0014] S102. Constructing CFD governing equations and solution settings, using... The turbulence model employs the Coupled algorithm to handle pressure-velocity coupling, and the governing equations include the continuity equation, momentum conservation equation, energy conservation equation, and component transport equation.

[0015] S103. Conduct grid independence verification, set up multiple grid density schemes, and determine the computational grid scheme using root mean square error as the evaluation index.

[0016] S104. Conduct time step independence verification, set up multiple solution time step schemes, and determine the solution time step using root mean square error as the evaluation index.

[0017] S105. Perform CFD transient simulations on different leakage source conditions to obtain spatiotemporal evolution data of thermal runaway gas concentration field under different leakage source conditions, and obtain data on the change of hydrogen mole fraction with time at each monitoring point.

[0018] Preferably, S2 specifically includes:

[0019] S201. Based on CFD data analysis, analyze the two-stage transient characteristics of thermal runaway gas diffusion and obtain the hydrogen cloud distribution at the top of the module under different leakage sources; analyze the flow field topology and differentiated vortex structure under the conditions of center leakage, near-wall leakage and corner leakage.

[0020] S202. Compare the concentrations at equidistant monitoring points to analyze the wall boundary layer effect and the low sensitivity of concentration distribution to the location of the leakage source; analyze the evolution of gas diffusion velocity and gas front arrival time or response time at monitoring points at different distances.

[0021] S203. Compare the surge time of each monitoring point with the surge time of a reference measuring point that is close to the leak source. When the difference in surge time exceeds a preset time difference threshold, the monitoring point is determined to have a delayed initial response. Compare the concentration time series of each monitoring point with the concentration time series of the reference measuring point. When the mole fraction of the monitoring point is continuously lower than that of the monitoring points that are at the same or greater distance from the leak source since the surge time, the amplitude of the monitoring point is determined to be low. The monitoring points that simultaneously meet the conditions of delayed initial response and low amplitude, and are located in the gas stagnation region where the vortex structure evolves slowly on the concentration cloud map, are identified as delayed response monitoring points, and their areas are determined to be flow field dead zones.

[0022] Preferably, S3 specifically includes:

[0023] S301. Based on the assumption of horizontal isotropy, the Gaussian plume model is simplified, the horizontal diffusion coefficient is merged, a plume concentration description is established with horizontal radial distance and vertical height as coordinates, and plume accumulation is performed for continuous leakage.

[0024] S302. Arrange mirror sources on the upper and lower walls of the leak space and establish a concentration correction term that takes into account the multiple reflection effects of the walls.

[0025] S303. Based on the conservation of mass and volume, describe the accumulation process of target gas in the buoyancy layer of the roof and establish a description of the base concentration under the filling box theory.

[0026] S304. To address the two-stage characteristics of the gas front arrival moment—the step surge in gas concentration and the subsequent slow accumulation—two characteristic parameters are defined: gas concentration surge time and base mole fraction.

[0027] S305. Construct the basis terms described by the filled-box theory and the puff increment terms described by the mirror-source Gaussian puff model;

[0028] S306. Superimpose the base term with the smoke increment term to establish a piecewise function concentration prediction model based on the gas concentration surge time.

[0029] Preferably, S4 specifically includes:

[0030] S401. Extract the time when the gas concentration at each monitoring point reaches a set threshold from the CFD transient data as the gas concentration surge time, and establish its power function correlation with the diffusion distance.

[0031] S402. Perform Reynolds decomposition on the CFD concentration field and estimate the base mole fraction by time averaging the signed difference between the CFD values ​​and the predicted values ​​of the smoke plume after the surge time.

[0032] S403. Construct an empirical expression for the power-law growth of the front sweep area;

[0033] S404. Construct a separable empirical expression for the spatial power-law decay of the dual-modal time-pulse superposition of the leading velocity;

[0034] S405. The Levenberg-Marquardt nonlinear least squares algorithm is used to fit the correlation between surge time, front sweep area and front velocity to obtain the predicted expression of characteristic parameters and the predicted value of the base mole fraction.

[0035] Preferably, S5 specifically includes:

[0036] S501. Based on CPE-GPM, parameter fitting is performed on the concentration time series of all monitoring points of each leakage source, and the root mean square error (RMSE) of each monitoring point is mapped to a three-dimensional geometric space to analyze the error distribution.

[0037] S502. Spatial superposition and verification of the high error region with the flow field dead zone identified in S2, elimination of dead zone monitoring point data, and refitting and optimizing the diffusion coefficient based on the effective dataset;

[0038] S503. Compare the prediction accuracy of the classic Gaussian plume model and CPE-GPM on the mole fraction evolution curves at each monitoring point, and evaluate the ability of the feature parameters to characterize the concentration step surge characteristics and the base accumulation characteristics.

[0039] S504. Based on the RMSE mentioned in S501, the coefficient of determination R², mean absolute error MAE and relative root mean square error RRMSE are added to construct a multi-dimensional model accuracy evaluation index system to comprehensively evaluate the fitting accuracy of CPE-GPM.

[0040] S505. Integrate the operating condition data of each leakage source into a unified dataset to carry out global joint fitting, and compare it with the independent fitting results of each source to verify the generalization ability of the general parameter set across leakage conditions.

[0041] S506: Call the calibrated CPE-GPM output to predict the mole fraction of thermal runaway gas at any leak source location, any monitoring point, and any time, and link it with thermal runaway gas monitoring and early warning.

[0042] Preferably, S301-S303 specifically includes:

[0043] S301. Based on the assumption of horizontal isotropy, the horizontal diffusion coefficients are combined to obtain an expression for the plume concentration with horizontal radial distance and vertical height as coordinates, and the plume concentration is accumulated for continuous leakage; the diffusion process of a single Gaussian plume is expressed as:

[0044]

[0045] In the formula, The concentration value at a certain spatial point; Indicates the time of leakage; The strength of the leakage source; For wind speed, Set to 0; , The horizontal diffusion coefficient; The vertical diffusion coefficient; These are the coordinates of each spatial point relative to the wind direction and horizontal. The coordinates of each spatial point perpendicular to the wind direction; These are the vertical height coordinates of each spatial point;

[0046] Under conditions of no ambient wind and isotropic horizontal turbulence, the downwind spacing will be... Distance from crosswind direction Combined into horizontal radial distance ,make The horizontal diffusion coefficient is unified as follows: The vertical diffusion coefficient is The gases rapidly achieve a uniform mixture in the vertical direction. Take 0; Equation (1) simplifies to:

[0047]

[0048] The concentration of continuously leaking gas can be determined by... The sum of the concentrations of each smoke plume yields:

[0049]

[0050] In the formula, Leakage time The total number of smoke plumes inside, ; For time intervals; Represents the first time series distribution A plume of smoke; For the first The horizontal diffusion coefficient of a smoke plume ;

[0051] S302. Mirror sources are arranged on the upper and lower walls of the leak space. The concentration field obtained by superimposing the real source and all mirror sources satisfies the flux-free boundary condition. Establish a concentration correction term that takes into account the multiple reflection effect of the walls:

[0052] The vertical multiple reflectance concentration weights are:

[0053]

[0054] In the formula, This represents the distance between the upper and lower walls; For the first One mirror source; Maximum number of mirrors;

[0055] The gas concentration field considering wall reflection is:

[0056]

[0057] S303. Based on the principle of mass conservation, describe the accumulation process of the target gas within the buoyancy layer of the roof, obtain the mass growth rate of the target gas within the layer and the volume growth rate of the layer, and thus obtain the mass concentration of the target gas within the layer; the mass conservation equation is written as:

[0058]

[0059]

[0060] In the formula, The axis coordinate of the plume; The radial coordinates are within the cross-section of the plume. Indicates the height of crossing The mass flow rate of the target gas at the plume cross section, where , , All are about The function; The mass concentration of the target gas within the plume; Vertical velocity; The characteristic radius of the plume; This refers to the plume entrainment velocity; The mass concentration of the target gas in the environment;

[0061] The change in target gas along the plume originates solely from entrainment of the surrounding fluid. The leading edge is the surface of the surrounding air, below which lies the surrounding air. Assuming the environment initially contains no target gas, the leading edge initially does not carry the target gas. Therefore, let... ,get:

[0062]

[0063] That is, the mass flow rate of the target gas is conserved along the plume, and the mass flow rate at any cross-section, including the top plate interaction section and the front crossing section, is equal to the leakage source strength:

[0064]

[0065] The target gas transported by the jet to the top plate within the sealed enclosure enters the buoyancy layer entirely, with no other destination. The leading edge is the surface of ambient air, and below it is always the initial state air without the target gas; the leading edge does not carry the target gas. The only source of the target gas is the plume passing through the leading edge, and its transport rate is always equal to the source strength of the leakage source. According to the law of conservation of mass, the mass of the target gas within the layer... The growth rate is:

[0066]

[0067] According to the law of volume conservation, the downward volume flux in the environment after the front has passed must be equal to the upward flux in the plume. At the height of the front, the layer volume... The growth rate is:

[0068]

[0069] In the formula, Sweep up the area for the forwards; Forward movement speed;

[0070] The mass concentration of the target gas in the mixed gas entering the layer is:

[0071] .

[0072] Preferably, S305-S306 specifically includes:

[0073] S305. Construct the basis terms described by the filled-box theory and the puff increment terms described by the mirror-source Gaussian puff model:

[0074] The impact phase is described using the packed box theory, with the following hydrogen molar fraction in the substrate:

[0075]

[0076] In the formula, Time of gas concentration surge; The molar concentration of hydrogen at the base; The molar concentration of the substrate mixture; The molar concentration of air;

[0077] The molar concentration of hydrogen in the substrate is calculated using the following formula:

[0078]

[0079] In the formula, This refers to the molar mass of hydrogen gas.

[0080] The incremental term of the smoke plume is constructed; the concentration increase during the diffusion stage is described by a Gaussian smoke plume model that takes into account reflections from the mirror source, and the molar fraction of hydrogen contributed by the smoke plume is:

[0081]

[0082] In the formula, The molar concentration of hydrogen transported by the smoke plume; The molar concentration of the mixed gas transported by the smoke plume;

[0083] The molar concentration of hydrogen transported by the smoke plume can be calculated using the following formula:

[0084]

[0085] S306. Superimpose the base term and the smoke plume increment term to establish a piecewise function concentration prediction model based on the gas concentration surge time: the hydrogen mole fraction at any point in space and at any time is the sum of the base term and the smoke plume increment term, forming a piecewise function model based on the gas concentration surge time.

[0086] .

[0087] Preferably, S401-S405 specifically refers to:

[0088] The time point at which the mole fraction at the monitoring point reaches a set threshold is selected as the criterion for determining the gas concentration surge time, and the relationship between the surge time and the diffusion distance is described using a power function:

[0089]

[0090] The CFD concentration field was decomposed using Reynolds decomposition, and the base mole fraction was estimated by averaging the signed difference between the CFD values ​​and the predicted plume values ​​over time after the arrival of the leading edge.

[0091]

[0092] In the formula, The hydrogen mole fraction obtained from CFD simulation; This is the end time of the CFD simulation. for Number of time samples within the period;

[0093] Empirical expressions for forward sweep area and forward velocity are constructed; the forward sweep area is represented by a power-law growth pattern.

[0094]

[0095] In the formula, This represents the initial sweep area of ​​the forwards; The characteristic relaxation time;

[0096] Forward velocity is expressed in a separable empirical form using a superposition of dual-modal time-pulse superposition and spatial power-law decay:

[0097]

[0098] In the formula, , These are the amplitude coefficients for the two modes; , To increase the power exponent, control the initial acceleration rate; , The exponential decay rate controls the rate of decay in the later stages. The spatial decay index; Here is the near-source regularization constant;

[0099] The Levenberg–Marquardt nonlinear least squares algorithm is used to fit equations (18), (20), and (21). The fitted coefficients are substituted to obtain the prediction expressions for each characteristic parameter, and then the predicted value of the base mole fraction is obtained from equation (13).

[0100] A system for predicting the gas diffusion characteristics of battery thermal runaway in confined spaces includes:

[0101] The CFD modeling and simulation module is used to construct the geometric model of the battery module, set the layout of the leakage source and monitoring points, and numerically solve the thermal runaway gas leakage and diffusion process based on the CFD control equation to obtain the spatiotemporal evolution data of the gas concentration field under different leakage conditions.

[0102] The gas diffusion characteristics analysis module is used to analyze the two-stage transient characteristics of gas diffusion, the flow field topology at different leakage source locations, the wall boundary layer effect, the spatiotemporal evolution of diffusion velocity and response time characteristics, and to identify flow field dead zones.

[0103] The feature parameter extraction module is used to extract two feature parameters, gas concentration surge time and base mole fraction, from CFD transient data and fit their correlation expression with diffusion distance.

[0104] The CPE-GPM building module is used to embed feature parameters into the Gaussian puff model in the form of step functions and basis terms, and to construct a Gaussian puff model with enhanced feature parameters by combining the mirror source model and the filled box theory.

[0105] The monitoring point screening and parameter calibration module is used to perform spatial superposition verification based on the spatial distribution of RMSE of each monitoring point and the dead zone of the flow field, remove the data of monitoring points in the dead zone, refit and optimize the model parameters based on the selected effective dataset, and obtain a general parameter set applicable across leakage conditions through global joint fitting to complete the model calibration.

[0106] The concentration prediction and early warning output module is used to call the calibrated CPE-GPM to quickly output the predicted value of the mole fraction of thermal runaway gas at any leak source location, any monitoring point, and any time, and to link with thermal runaway gas monitoring and early warning.

[0107] Beneficial Effects: This invention reveals the diffusion characteristics of thermally runaway gas within the sealed cavity of a battery pack. Based on CFD numerical simulation, it captures the transient diffusion process and differentiated flow field structure under different leakage conditions. It finds that dead zones in the flow field are formed at the corners of the module under each condition, leading to gas transport lag. This provides a physical basis for sensor layout optimization and monitoring failure risk avoidance. Furthermore, a CPE-GPM model considering wall reflection and transient impact characteristics of the leading edge is established. By introducing gas concentration surge time and substrate mole fraction characteristic parameters, combined with the mirror source model and the filled box theory, the analytical reconstruction of the mole fraction evolution curve of the monitoring point is achieved. While maintaining computational efficiency and physical interpretability, the prediction accuracy is significantly improved. At the same time, the applicability and generalization ability of the proposed method under multiple conditions are verified. The diffusion coefficient is not sensitive to the location of the leakage source, indicating that the gas diffusion capacity in the confined space is mainly determined by the geometric scale. The universal parameter set of global joint fitting can be applied across conditions, greatly simplifying the model calibration process in engineering applications. Attached Figure Description

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

[0109] Figure 1 This is a flowchart of the method of the present invention;

[0110] Figure 2 This includes the geometric model of the battery module and the sensor layout; among which, Figure 2 (a) is the geometric model of the battery module. Figure 2 (b) Sensor layout;

[0111] Figure 3 The curves showing the change in hydrogen mole fraction under different grid numbers;

[0112] Figure 4 The curves showing the change in hydrogen mole fraction under different solution time steps;

[0113] Figure 5 A slice diagram showing the hydrogen concentration distribution from different leak sources;

[0114] Figure 6 The curves show the variation of hydrogen mole fraction at equidistant monitoring points under the P3 operating condition of the leak source; among them, Figure 6 (a) are the monitoring points near the left and right side walls. Figure 6 (b) is the monitoring point at the middle position;

[0115] Figure 7 The curves showing the change in hydrogen mole fraction at the response lag monitoring point and adjacent monitoring points under different leakage source operating conditions are shown; among them, Figure 7 (a) shows the central monitoring point P1 and the near-wall monitoring point P4. Figure 7 (b) is corner monitoring point P6;

[0116] Figure 8 The graphs show the variation of hydrogen mole fraction at equidistant monitoring points for different leakage sources; among them, Figure 8 (a) shows the central monitoring point P1 and the corner monitoring point P6. Figure 8 (b) Near-wall monitoring point P5 and corner monitoring point P6;

[0117] Figure 9 The curves showing the variation of gas diffusion velocity at monitoring points at different distances;

[0118] Figure 10 This represents the arrival time of the gas front at each monitoring point under different leakage sources; among which, Figure 10 (a) is P1, Figure 10 (b) is P2, Figure 10 (c) is P3, Figure 10 (d) is P4. Figure 10 (e) is P5. Figure 10 (f) is P6;

[0119] Figure 11 This represents the fitting results of the gas concentration surge time versus the base mole fraction; where, Figure 11 (a) is the fitted curve of the gas concentration surge time. Figure 11(b) represents the relative error between the fitted value and the measured value of the gas concentration surge time. Figure 11 (c) is the base mole fraction fitting curve. Figure 11 (d) represents the relative error between the fitted value and the measured value of the base mole fraction.

[0120] Figure 12 The RMSE distribution at various monitoring points under different leakage sources; among them, Figure 12 (a) is P1, Figure 12 (b) is P2, Figure 12 (c) is P3, Figure 12 (d) is P4. Figure 12 (e) is P5. Figure 12 (f) is P6;

[0121] Figure 13 The curves showing the changes in hydrogen mole fraction between CFD simulations and GPM and CPE-GPM are shown; among them, Figure 13 (a) is P1-S32, Figure 13 (b) is P1-S12, Figure 13 (c) is P6-S44, Figure 13 (d) is P6-S11;

[0122] Figure 14 The RMSE of GPM and CPE-GPM at each monitoring point; among which, Figure 14 (a) is P1, Figure 14 (b) is P2, Figure 14 (c) is P3, Figure 14 (d) is P4. Figure 14 (e) is P5. Figure 14 (f) is P6;

[0123] Figure 15 RMSE for source-by-source independent fitting and global joint fitting. Detailed Implementation

[0124] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0125] In the description of this invention, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0126] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.

[0127] like Figure 1 As shown, a method for predicting the diffusion characteristics of gas during thermal runaway in a confined space is characterized by comprising the following steps:

[0128] S1. Construct a CFD model of thermal runaway gas diffusion in the battery pack and obtain spatiotemporal data of the concentration field: Through battery pack geometric modeling, leakage source and monitoring point layout settings, CFD control equation and solution settings, grid independence verification and time step independence verification, spatiotemporal evolution data of thermal runaway gas concentration field under different leakage source conditions are obtained.

[0129] S101. Construct a geometric model of the battery pack. Select typical cell locations as leakage sources according to the symmetry of the box. Assume that the leaking gas is an ideal gas. Set the mass flow inlet of the leakage port as the leakage port boundary condition. Set the shell and battery components as wall boundary conditions. Arrange the top gas monitoring point.

[0130] The simulation object in this embodiment is a typical battery module with dimensions of 0.931 m × 0.706 m × 0.235 m. The module contains 52 battery cells arranged in four groups, with each cell measuring 0.174 m × 0.072 m × 0.205 m. The locations of the thermal runaway cells and the layout of the sensors are as follows... Figure 2 (a) and Figure 2As shown in (b), hydrogen sensors are installed on the top of the battery module, with four sensors distributed on the top of each cell, totaling 16 sensors, numbered S11 to S44. To simulate gas leakage during thermal runaway in cells at different locations, considering that the battery pack geometry, cell array, and monitoring point array are all mirror-symmetrical about the central axis of the pack, the leakage diffusion and monitoring response characteristics of any candidate leak location are equivalent to the response characteristics of its symmetrical location. Therefore, only the candidate leak locations within a quarter of the pack area (i.e., the quadrant region on one side of the central axis) need to be simulated to cover all candidate locations through symmetry. Within this area, six leak source locations are selected as typical locations, numbered P1 to P6, including four peripheral locations and two additional central locations. The gas leak point is located at the center of the top of the cell, where a cell safety valve with a diameter of 0.008 m is installed. The valve begins to leak mixed gas after reaching a working pressure of 4 MPa. Assuming the leaking gas is an ideal gas, the leakage process is a constant mass flow rate, the boundary condition at the leak outlet is set as a mass flow inlet, and the constant mass flow rate is set to 0.01451 kg / s.

[0131] S102. Constructing CFD governing equations and solution settings, using... The turbulence model employs the Coupled algorithm to handle pressure-velocity coupling, and the governing equations include the continuity equation, momentum conservation equation, energy conservation equation, and component transport equation.

[0132] This embodiment adopts the standard. The turbulence model and pressure-velocity coupling are solved using the pressure-based Coupled algorithm. Considering the strong pressure-velocity coupling and weak compressibility effect in the high-pressure transient release process of the pressure relief valve, the Coupled algorithm solves the problem implicitly by simultaneously solving the discrete momentum equation and the pressure-based continuity equation. Compared with the separate algorithm, it has better convergence robustness and can more stably capture the transient process of compression wave propagation and jet impact on the ceiling in the initial stage of leakage.

[0133] S103. Conduct grid independence verification, set up multiple grid density schemes, and determine the computational grid scheme using root mean square error as the evaluation index.

[0134] This embodiment sets up four schemes with 401,147, 609,658, 1,185,161, and 1,711,393 grid cells respectively. Figure 3 The graphs show the variation of hydrogen mole fraction under different grid densities. The mole fraction generally increases with increasing grid density. Using Scheme 4 as a baseline, the RMSE values ​​for Schemes 1, 2, and 3 are 0.045, 0.012, and 0.007, respectively. Considering both computational accuracy and cost, Scheme 3 was selected for subsequent simulations.

[0135] S104. Conduct time step independence verification, set up multiple solution time step schemes, and determine the solution time step using root mean square error as the evaluation index.

[0136] This embodiment selects four schemes: 0.01 s, 0.005 s, 0.002 s, and 0.001 s. Figure 4 The corresponding hydrogen mole fraction variation curves show that the RMSEs of schemes 1, 2, and 3, and the baseline scheme 4 are 0.035, 0.022, and 0.008, respectively. Balancing computational accuracy and cost, a time step of 0.002 s was ultimately adopted.

[0137] S105. Perform CFD transient simulations on different leakage source conditions to obtain spatiotemporal evolution data of thermal runaway gas concentration field under different leakage source conditions, and obtain data on the change of hydrogen mole fraction with time at each monitoring point.

[0138] S2. Analyze the diffusion characteristics of thermal runaway gas and identify dead zones in the flow field: Based on the spatiotemporal evolution data of the concentration field obtained in S1, conduct analysis on the distribution of top hydrogen cloud, flow field topology of different leakage sources, concentration comparison of equidistant monitoring points, diffusion velocity and response time characteristics, and identify monitoring points with response lag and dead zones in the flow field.

[0139] S201. Based on CFD data analysis, analyze the two-stage transient characteristics of thermal runaway gas diffusion and obtain the hydrogen cloud distribution at the top of the module under different leakage sources; analyze the flow field topology and differentiated vortex structure under the conditions of center leakage, near-wall leakage and corner leakage.

[0140] Figure 5 The hydrogen concentration distribution in the top space of the battery under different leakage source locations is shown. The temporal evolution exhibits obvious stages: at 0.1 s, the initial momentum dominates, and the high-speed jet expands over a large area; at 0.5 s, the hydrogen has filled the top space and formed a large-scale backflow vortex, and the flow field changes from momentum-dominated to buoyancy-dominated; from 1 s to 5 s, the macroscopic flow field structure tends to stabilize, and diffusion is mainly manifested as the accumulation of component concentration under the original flow field structure.

[0141] S202. Compare the concentrations at equidistant monitoring points to analyze the wall boundary layer effect and the low sensitivity of concentration distribution to the location of the leakage source; analyze the evolution of gas diffusion velocity and gas front arrival time or response time at monitoring points at different distances.

[0142] Analysis of the flow field topology at different leakage source locations: In terms of spatial distribution, the location of the leakage source significantly changes the flow field topology: The central leakage source (P1, P2) forms a radially spreading canopy jet centered directly above the leakage point, with a uniform concentration distribution at the top; the near-wall leakage source (P4, P5) is affected by the confined side hindrance effect, causing the plume core to deflect towards the unconfined side, forming a distinct low-concentration zone near the confined side wall; the corner leakage source (P3, P6) is controlled by a binary interference mechanism, with the jet sliding along the sub-near-end wall and continuously convolving, forming and maintaining a large-scale vortex, and the gas pushing and accumulating towards the sub-near-end wall, exhibiting a strip-shaped high-concentration distribution along the wall.

[0143] Wall boundary layer effect analysis: Select the P3 working condition and compare the non-near-wall monitoring points S21-S24 with the radial distances corresponding to the near-wall monitoring points S41-S44. Figure 6 (a) and Figure 6 (b) shows that the mole fraction of the near-wall side monitoring points in each group of equidistant monitoring points is significantly higher, indicating that the boundary layer effect leads to gas enrichment in the near-wall region; this effect changes the spatial distribution amplitude of the concentration, but does not change the time-varying trend.

[0144] Concentration consistency analysis of equidistant monitoring points: After excluding dead zone monitoring points with the above characteristics, Figure 8 (a) and Figure 8 (b) Comparison of data from monitoring points at equidistant distances at the far and near ends of corner leak source P6, central leak source P1, and near-wall leak source P5. The results show that although the spatial locations of the leak sources differ significantly, the gas mole fraction is highly consistent when the straight-line distance from the monitoring point to the leak source is consistent, indicating that the concentration distribution at this spatial scale is mainly controlled by the diffusion distance and has low sensitivity to the location of the leak source.

[0145] Analysis of the spatiotemporal evolution of gas diffusion velocity: Figure 9 The figures show the gas diffusion velocity variations at monitoring points 0.1075 m, 0.2073 m, 0.3679 m, and 0.5425 m from the leak source under P4 conditions. The diffusion velocity rapidly increases to a peak value within a short period and then decays over time; the further the distance, the lower the peak value and the later it is reached. The transient peak value originates from the compression wave induced by the high-pressure eruption. Subsequently, a sharp decrease in the pressure gradient and viscous dissipation cause the velocity to decay monotonically. With increasing distance, the cross-sectional area of ​​the gas mass increases, leading to a decrease in momentum flux density; the far-field velocity is significantly lower than that in the near-source region. Velocity evolution dominates the concentration distribution: early high-speed diffusion causes the concentration to rapidly fill the space within 0.5 s, followed by a sharp drop in transport capacity, and the concentration field transitions to a slow micro-mixing stage.

[0146] Analysis of gas response time characteristics: Figure 10 (a)- Figure 10(f) represents the time required for the mole fraction at each monitoring point to reach the 0.01 threshold under different leakage sources. The arrival time monotonically increases with distance and exhibits a superlinear growth, stemming from the attenuation of the velocity of the ceiling jet front along the path, indicating that gas diffusion in areas without strong wall interference follows a radial ceiling jet mechanism. Under near-wall and corner conditions, the arrival time of some near-source monitoring points is later than that of adjacent far-source monitoring points, deviating from the uniform scaling relationship. Moreover, the deviation points highly coincide with the "dead zone" locations, confirming that the dead zones formed by the internal structure of the module can cause local monitoring points to fail to detect gas in a timely manner during the initial stage of thermal runaway.

[0147] S203. Compare the surge time of each monitoring point with the surge time of a reference measuring point with a similar distance to the leak source. When the difference in surge time exceeds a preset time difference threshold, the monitoring point is determined to have a delayed initial response. Compare the concentration time series of each monitoring point with the concentration time series of the reference measuring point. When the mole fraction of the monitoring point is continuously lower than that of the monitoring points with the same or greater distance to the leak source from the surge time, the amplitude of the monitoring point is determined to be low. The monitoring points that simultaneously meet the conditions of delayed initial response and low amplitude, and are located in the gas stagnation region with slow vortex structure evolution on the concentration cloud map, are identified as delayed response monitoring points, and their areas are determined to be flow field dead zones.

[0148] The preset time difference threshold of 0.2 s is determined based on the fluctuation range of the response time difference between normal monitoring points. The response time difference between normal adjacent monitoring points is much less than 0.2 s, and exceeding 0.2 s constitutes a significant deviation.

[0149] Figure 7 (a) and Figure 7 (b) A comparison was made between the lag monitoring points and adjacent monitoring points under various operating conditions: the initial response of S11 at P1 was significantly delayed compared to S12, and the mole fraction remained consistently low; S41 and S42 at P4 showed the same pattern; the monitoring point shown at P6 also exhibited lag in response and low initial values. Monitoring points with significantly delayed initial responses, consistently low values, and located in the low-velocity stagnation zone at the edge of the backflow vortex were identified as dead zone monitoring points. Dead zones, due to their extremely weak material exchange capacity with the mainstream zone, result in lag in response and low concentration values, which can easily lead to monitoring failure and constitute a serious safety hazard.

[0150] S3. Constructing a Gaussian puff model with enhanced feature parameters: Based on the gas diffusion characteristics obtained in S2, the model is simplified using a Gaussian puff model, a mirror source is introduced, the filling box theory is described, feature parameters are defined, the basis term and puff increment term are constructed, and a piecewise function model is established to form a concentration prediction model framework that takes into account wall reflection, ceiling accumulation and transient impact characteristics of the front.

[0151] S301. Based on the assumption of horizontal isotropy, the horizontal diffusion coefficients are combined to obtain an expression for the plume concentration with horizontal radial distance and vertical height as coordinates, and the plume concentration is accumulated for continuous leakage; the diffusion process of a single Gaussian plume is expressed as:

[0152]

[0153] In the formula, The concentration value at a certain spatial point; Indicates the time of leakage; The strength of the leakage source; For wind speed, Set to 0; , The horizontal diffusion coefficient; The vertical diffusion coefficient; These are the coordinates of each spatial point relative to the wind direction and horizontal. The coordinates of each spatial point perpendicular to the wind direction; These are the vertical height coordinates of each spatial point;

[0154] Under conditions of no ambient wind and isotropic horizontal turbulence, the downwind spacing will be... Distance from crosswind direction Combined into horizontal radial distance ,make The horizontal diffusion coefficient is unified as follows: The vertical diffusion coefficient is The gases rapidly achieve a uniform mixture in the vertical direction. Take 0; Equation (1) simplifies to:

[0155]

[0156] The concentration of continuously leaking gas can be determined by... The sum of the concentrations of each smoke plume yields:

[0157]

[0158] In the formula, Leakage time The total number of smoke plumes inside, ; For time intervals; Represents the first time series distribution A plume of smoke; For the first The horizontal diffusion coefficient of a smoke plume ;

[0159] S302. Mirror sources are arranged on the upper and lower walls of the leak space. The concentration field obtained by superimposing the real source and all mirror sources satisfies the flux-free boundary condition. Establish a concentration correction term that takes into account the multiple reflection effect of the walls:

[0160] The vertical multiple reflectance concentration weights are:

[0161]

[0162] In the formula, This represents the distance between the upper and lower walls; For the first One mirror source; Maximum number of mirrors;

[0163] The gas concentration field considering wall reflection is:

[0164]

[0165] S303. Based on the principle of mass conservation, describe the accumulation process of the target gas within the buoyancy layer of the roof, obtain the mass growth rate of the target gas within the layer and the volume growth rate of the layer, and thus obtain the mass concentration of the target gas within the layer; the mass conservation equation is written as:

[0166]

[0167]

[0168] In the formula, The axis coordinate of the plume; The radial coordinates are within the cross-section of the plume. Indicates the height of crossing The mass flow rate of the target gas at the plume cross section, where , , All are about The function; The mass concentration of the target gas within the plume; Vertical velocity; The characteristic radius of the plume; This refers to the plume entrainment velocity; The mass concentration of the target gas in the environment;

[0169] The change in target gas along the plume originates solely from entrainment of the surrounding fluid. The leading edge is the surface of the surrounding air, below which lies the surrounding air. Assuming the environment initially contains no target gas, the leading edge initially does not carry the target gas. Therefore, let... ,get:

[0170]

[0171] That is, the mass flow rate of the target gas is conserved along the plume, and the mass flow rate at any cross-section, including the top plate interaction section and the front crossing section, is equal to the leakage source strength:

[0172]

[0173] The target gas transported by the jet to the top plate within the sealed enclosure enters the buoyancy layer entirely, with no other destination. The leading edge is the surface of ambient air, and below it is always the initial state air without the target gas; the leading edge does not carry the target gas. The only source of the target gas is the plume passing through the leading edge, and its transport rate is always equal to the source strength of the leakage source. According to the law of conservation of mass, the mass of the target gas within the layer... The growth rate is:

[0174]

[0175] According to the law of volume conservation, the downward volume flux in the environment after the front has passed must be equal to the upward flux in the plume. At the height of the front, the layer volume... The growth rate is:

[0176]

[0177] In the formula, Sweep up the area for the forwards; Forward movement speed;

[0178] The mass concentration of the target gas in the mixed gas entering the layer is:

[0179]

[0180] S304. To address the two-stage concentration characteristics of the gas front arriving in a confined space—a step surge followed by slow accumulation—two characteristic parameters are introduced: the gas concentration surge time and the base mole fraction. These parameters characterize the arrival time of the gas front and the established background concentration level, respectively. The concentration field is then decomposed into a base term and a plume increment term.

[0181] S305. Construct the basis terms described by the filled-box theory and the puff increment terms described by the mirror-source Gaussian puff model:

[0182] The impact phase is described using the packed box theory, with the following hydrogen molar fraction in the substrate:

[0183]

[0184] In the formula, Time of gas concentration surge; The molar concentration of hydrogen at the base; The molar concentration of the substrate mixture; The molar concentration of air;

[0185] The molar concentration of hydrogen in the substrate is calculated using the following formula:

[0186]

[0187] In the formula, This refers to the molar mass of hydrogen gas.

[0188] The incremental term of the smoke plume is constructed; the concentration increase during the diffusion stage is described by a Gaussian smoke plume model that takes into account reflections from the mirror source, and the molar fraction of hydrogen contributed by the smoke plume is:

[0189]

[0190] In the formula, The molar concentration of hydrogen transported by the smoke plume; The molar concentration of the mixed gas transported by the smoke plume;

[0191] The molar concentration of hydrogen transported by the smoke plume can be calculated using the following formula:

[0192]

[0193] S306. Superimpose the base term and the smoke plume increment term to establish a piecewise function concentration prediction model based on the gas concentration surge time: the hydrogen mole fraction at any point in space and at any time is the sum of the base term and the smoke plume increment term, forming a piecewise function model based on the gas concentration surge time.

[0194]

[0195] S4. Extracting feature parameters and fitting correlation equations: Based on the feature parameter-enhanced Gaussian smoke model constructed in S3, gas concentration surge time and base mole fraction are extracted from CFD transient data. Empirical expressions for front sweep area and front velocity are constructed, and feature parameter prediction expressions and base mole fraction prediction values ​​are obtained through nonlinear fitting.

[0196] S401. Since the gas front is not an infinitely thin discontinuous surface, its head has a certain thickness of entrainment mixing transition layer. The 0.01 threshold corresponds to the moment when the leading edge of the transition layer passes over the monitoring point, characterizing the initial response time of the sensor to the tracer component. In this embodiment, the time point when the mole fraction reaches 0.1 is selected as the unified criterion for judging the gas concentration surge time, corresponding to the moment when the concentration surge is completed and the base concentration is basically established. The gas concentration surge time at each monitoring point of different leakage sources is statistically analyzed, and the relationship between surge time and distance is described using a power function:

[0197]

[0198] S402. Perform Reynolds decomposition on the CFD concentration field, and estimate the base mole fraction by averaging the signed difference between the CFD values ​​and the predicted smoke plume values ​​over the time after the arrival of the leading edge:

[0199]

[0200] In the formula, The hydrogen mole fraction obtained from CFD simulation; This is the end time of the CFD simulation. for Number of time samples within the period;

[0201] S403, The area swept by the vanguard is represented by a power-law growth pattern:

[0202]

[0203] In the formula, This represents the initial sweep area of ​​the forwards; The characteristic relaxation time;

[0204] S404. Construct a separable empirical expression for the spatial power-law decay of the dual-modal time-pulse superposition of the leading velocity:

[0205]

[0206] In the formula, , These are the amplitude coefficients for the two modes; , To increase the power exponent, control the initial acceleration rate; , The exponential decay rate controls the rate of decay in the later stages. The spatial decay index; Here is the near-source regularization constant;

[0207] S405. The Levenberg-Marquardt nonlinear least squares algorithm is used to fit the correlation between surge time, front sweep area and front velocity to obtain the predicted expression of characteristic parameters and the predicted value of the base mole fraction.

[0208] The nonlinear fitting result is as follows:

[0209]

[0210]

[0211]

[0212] Figure 11 For the fitting results and relative error: Figure 11 In (a), the surge time increases slightly faster with increasing distance than linearly, reflecting the gradual deceleration of the frontal movement process; Figure 11 (b) It shows that the relative error of most data points falls within ±50%, while the data points of a small number of corner leakage sources under the P6 condition fall outside ±70%. This is because the jet flow along the wall causes the measured values ​​of data points close to the wall to be much earlier than the predicted values. The correlation can reproduce the variation of the arrival time of the front with distance with acceptable accuracy. Figure 11 In (c), the base mole fraction increases with distance. When the distance approaches 0.2 m, the two show a near-linear relationship. This is essentially due to the increase in the arrival time of the front along the path and the increase in background concentration with the cumulative leakage. Figure 11 (d) shows that most of the predicted values ​​deviate from the measured values ​​within ±30%, and the maximum relative error does not exceed ±50%.

[0213] S5. Calibrate and validate CPE-GPM and output prediction and early warning: Based on the characteristic parameter correlation obtained in S4, conduct error spatial distribution analysis, eliminate dead zone monitoring points and refit parameters, compare the model before and after improvement, construct evaluation indexes and compare source-by-source independent fitting and global joint fitting to obtain a general parameter set applicable across leakage conditions and verify the model's generalization ability. Output the predicted value of thermal runaway gas mole fraction at any leakage source location, any monitoring point and any time, and link thermal runaway gas monitoring and early warning.

[0214] S501. Based on CPE-GPM, parameter fitting is performed on the concentration time series of all monitoring points of each leakage source, and the root mean square error (RMSE) of each monitoring point is mapped to a three-dimensional geometric space to analyze the error distribution.

[0215] Figure 12 (a)- Figure 12(f) shows the RMSE distribution of each monitoring point in the three-dimensional geometric space of the battery pack under different leakage sources. Most areas have low RMSE values, showing good model adaptability, but there are several local high error points. The spatial distribution of model error has significant non-uniformity. By spatially superimposing the high error area with the dead zone identified in the flow field characteristic analysis, it was found that the two highly overlapped, and these high error points are mainly concentrated in the backflow retention area at the corner of the battery module.

[0216] S502. Spatial superposition and verification of the high error region with the flow field dead zone identified in S2, elimination of dead zone monitoring point data, and refitting and optimizing the diffusion coefficient based on the effective dataset;

[0217] In the mainstream region, gas transport is dominated by convection, consistent with the physical assumptions of CPE-GPM. Within the dead zone, fluid momentum is extremely low or even nearly stationary, and gas migration relies primarily on weak secondary flows. To improve the prediction accuracy of the proposed model for the main diffusion paths and ensure the physical interpretability of the parameters, this embodiment removes data from two sets of monitoring points located within the dead zone from each leakage source. Based on the filtered effective dataset, key parameters such as the diffusion coefficient are refitted and optimized, enabling the proposed model to more accurately characterize the dominant mechanism of gas diffusion within confined spaces.

[0218] S503. Compare the prediction accuracy of the classic Gaussian puff model GPM and the characteristic parameter enhanced Gaussian puff model CPE-GPM on the mole fraction evolution curves at each monitoring point, and evaluate the ability of the characteristic parameter introduction to characterize the concentration step surge characteristics and the base accumulation characteristics.

[0219] To intuitively evaluate the effectiveness of introducing gas concentration surge time and base mole fraction, after removing data from dead zone monitoring points, Figure 13 (a)- Figure 13 (d) The nearest monitoring point S32 and the farthest monitoring point S12 of the central leakage source P1, and the nearest monitoring point S44 and the farthest monitoring point S11 of the corner leakage source P6 were selected. The hydrogen mole fraction change curves of CFD simulation, GPM, and CPE-GPM were compared and displayed. The results show that there is a significant deviation between GPM and CFD simulation data. This is because the model is based on the assumption of free gas diffusion in open space and fails to effectively characterize the complex boundary constraints and initial gas concentration accumulation effect in confined space. In contrast, CPE-GPM, by introducing the gas concentration surge time and base mole fraction correction, has a prediction curve shape that is highly consistent with the CFD results. This model not only accurately captures the concentration step characteristics when the gas front arrives, but also the upward trend after superimposing the base concentration is in good agreement with the simulation data. Figure 14 (a)- Figure 14(f) shows the comparison of RMSE between GPM and CPE-GPM at each monitoring point and the percentage reduction of CPE-GPM relative to GPM. Statistical data shows that the RMSE of CPE-GPM is significantly reduced at all monitoring locations, with a maximum RMSE of 0.069, while the maximum RMSE of GPM reaches 0.335, and the RMSE reduction relative to GPM at all monitoring locations exceeds 60%. This significant error decay indicates that by introducing the transient impact characteristics of the gas front and the base accumulation effect in the confined space, the consistency between the mathematical framework of the model and the real physical process is significantly improved.

[0220] S504. Based on the RMSE mentioned in S501, the coefficient of determination R², mean absolute error MAE and relative root mean square error RRMSE are added to construct a multi-dimensional model accuracy evaluation index system to comprehensively evaluate the fitting accuracy of CPE-GPM.

[0221] S505. Integrate the operating condition data of each leakage source into a unified dataset to carry out global joint fitting, and compare it with the independent fitting results of each source to verify the generalization ability of the general parameter set across leakage conditions.

[0222] The above discussion is based on source-by-source independent fitting, and the fitting results differ for different leakage sources. To improve the engineering applicability of the model and simplify the parameter calibration process, simulation data samples from all leakage source conditions were integrated into a unified dataset for global regression analysis. The coefficient of determination R², mean absolute error (MAE), root mean square error (RMSE), and relative root mean square error (RRMSE) were constructed as goodness-of-fit evaluation indicators. Table 1 summarizes the diffusion parameters and goodness-of-fit evaluation indicators for each leakage source under source-by-source independent fitting and global joint fitting. The results show that, except for leakage source P6, the R² value... 2 Outside of the good range of 0.7 and RRMSE within 10%~20%, the RRMSE for other operating conditions is... 2 All parameters exceeded 0.8, even reaching 0.9, and the RRMSE was less than 10%, accurately reproducing the variation of the target variable. The fitting results for condition P6 were not as good as other conditions due to the complex boundary conditions at the corner location, but were still within acceptable limits. Compared to source-by-source independent fitting, global joint fitting slightly decreased in accuracy due to the use of uniform parameters, but the results remained highly consistent.

[0223] Table 1. Diffusion parameters and goodness of fit for each leakage source under source-by-source independent and global joint fitting.

[0224]

[0225] Figure 15A detailed comparison of the RMSE of different leakage sources and their monitoring points under two fitting methods was conducted. Comprehensive analysis of all leakage sources revealed that while the RMSE of global joint fitting was slightly higher than that of source-by-source independent fitting, it maintained a high degree of consistency with the results of independent fitting overall. Changes in the location of the leakage source did not substantially alter the diffusion mechanism. This result has profound physical significance: it shows that within the confined space of a battery module, although the location of the leakage source alters the topology of the local flow field, the turbulent diffusion capacity of the gas is macroscopically determined primarily by the scale of the geometric space, rather than the local location of the source. The complex boundary effects of the confined space are homogenized, and the diffusion coefficient exhibits insensitivity to the source location. This finding strongly demonstrates that gas diffusion within this complex confined space macroscopically follows statistical self-similarity. Therefore, the universal parameter set obtained by global joint fitting has strong generalization ability and can adapt to thermal runaway conditions at different locations, thus greatly simplifying the model calibration process in engineering applications and verifying the feasibility and robustness of constructing a rapid prediction model based on global parameters.

[0226] S506: Call the calibrated CPE-GPM output to predict the mole fraction of thermal runaway gas at any leak source location, any monitoring point, and any time, and link it with thermal runaway gas monitoring and early warning.

[0227] A system for predicting the gas diffusion characteristics of battery thermal runaway in confined spaces, characterized in that it comprises:

[0228] The CFD modeling and simulation module is used to construct the geometric model of the battery module, set the layout of the leakage source and monitoring points, and numerically solve the thermal runaway gas leakage and diffusion process based on the CFD control equation to obtain the spatiotemporal evolution data of the gas concentration field under different leakage conditions.

[0229] The gas diffusion characteristics analysis module is used to analyze the two-stage transient characteristics of gas diffusion, the flow field topology at different leakage source locations, the wall boundary layer effect, the spatiotemporal evolution of diffusion velocity and response time characteristics, and to identify flow field dead zones.

[0230] The feature parameter extraction module is used to extract two feature parameters, gas concentration surge time and base mole fraction, from CFD transient data and fit their correlation expression with diffusion distance.

[0231] The CPE-GPM building module is used to embed feature parameters into the Gaussian puff model in the form of step functions and basis terms, and to construct a Gaussian puff model with enhanced feature parameters by combining the mirror source model and the filled box theory.

[0232] The monitoring point screening and parameter calibration module is used to perform spatial superposition verification based on the spatial distribution of RMSE of each monitoring point and the dead zone of the flow field, remove the data of monitoring points in the dead zone, refit and optimize the model parameters based on the selected effective dataset, and obtain a general parameter set applicable across leakage conditions through global joint fitting to complete the model calibration.

[0233] The concentration prediction and early warning output module is used to call the calibrated CPE-GPM to quickly output the predicted value of the mole fraction of thermal runaway gas at any leak source location, any monitoring point, and any time, and to link with thermal runaway gas monitoring and early warning.

[0234] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0235] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for predicting the gas diffusion characteristics of battery thermal runaway in a confined space, characterized in that, Includes the following steps: S1. Construct a CFD model of thermal runaway gas diffusion in the battery pack and obtain spatiotemporal data of the concentration field: Through battery pack geometric modeling, leakage source and monitoring point layout settings, CFD control equation and solution settings, grid independence verification and time step independence verification, spatiotemporal evolution data of thermal runaway gas concentration field under different leakage source conditions are obtained. S2. Analyze the diffusion characteristics of thermal runaway gas and identify dead zones in the flow field: Based on the spatiotemporal evolution data of the concentration field obtained in S1, conduct analysis on the distribution of top hydrogen cloud, flow field topology of different leakage sources, concentration comparison of equidistant monitoring points, diffusion velocity and response time characteristics, and identify monitoring points with response lag and dead zones in the flow field. S3. Constructing a Gaussian puff model with enhanced feature parameters: Based on the gas diffusion characteristics obtained in S2, the model is simplified using a Gaussian puff model, a mirror source is introduced, the filling box theory is described, feature parameters are defined, the basis term and puff increment term are constructed, and a piecewise function model is established to form a concentration prediction model framework that takes into account wall reflection, ceiling accumulation and transient impact characteristics of the front. S4. Extracting feature parameters and fitting correlation equations: Based on the feature parameter-enhanced Gaussian smoke model constructed in S3, gas concentration surge time and base mole fraction are extracted from CFD transient data. Empirical expressions for front sweep area and front velocity are constructed, and feature parameter prediction expressions and base mole fraction prediction values ​​are obtained through nonlinear fitting. S5. Calibrate and validate CPE-GPM and output prediction and early warning: Based on the characteristic parameter correlation obtained in S4, conduct error spatial distribution analysis, eliminate dead zone monitoring points and refit parameters, compare the model before and after improvement, construct evaluation indicators and compare source-by-source independent fitting and global joint fitting to obtain a general parameter set applicable across leakage conditions and verify the model's generalization ability. Output the predicted value of thermal runaway gas mole fraction at any leakage source location, any monitoring point and any time, and link thermal runaway gas monitoring and early warning.

2. The method for predicting the gas diffusion characteristics of battery thermal runaway in a confined space according to claim 1, characterized in that, S1 specifically includes: S101. Construct a geometric model of the battery pack, select typical cell locations as leakage sources according to the symmetry of the box, set the mass flow inlet of the leakage port as the leakage port boundary condition, set the shell and battery components as wall boundary conditions, and arrange the top gas monitoring point. S102. Constructing CFD governing equations and solution settings, using... The turbulence model employs the Coupled algorithm to handle pressure-velocity coupling, and the governing equations include the continuity equation, momentum conservation equation, energy conservation equation, and component transport equation. S103. Conduct grid independence verification, set up multiple grid density schemes, and determine the computational grid scheme using root mean square error as the evaluation index. S104. Conduct time step independence verification, set up multiple solution time step schemes, and determine the solution time step using root mean square error as the evaluation index. S105. Perform CFD transient simulations on different leakage source conditions to obtain spatiotemporal evolution data of thermal runaway gas concentration field under different leakage source conditions, and obtain data on the change of hydrogen mole fraction with time at each monitoring point.

3. The method for predicting the gas diffusion characteristics of battery thermal runaway in a confined space according to claim 1, characterized in that, S2 specifically includes: S201. Based on CFD data analysis, analyze the two-stage transient characteristics of thermal runaway gas diffusion and obtain the hydrogen cloud distribution at the top of the module under different leakage sources; analyze the flow field topology and differentiated vortex structure under the conditions of center leakage, near-wall leakage and corner leakage. S202. Compare the concentrations at equidistant monitoring points to analyze the wall boundary layer effect and the low sensitivity of concentration distribution to the location of the leakage source; analyze the evolution of gas diffusion velocity and gas front arrival time or response time at monitoring points at different distances. S203. Compare the surge time of each monitoring point with the surge time of a reference measuring point that is close to the leak source. When the difference in surge time exceeds a preset time difference threshold, the monitoring point is determined to have a delayed initial response. Compare the concentration time series of each monitoring point with the concentration time series of the reference measuring point. When the mole fraction of the monitoring point is continuously lower than that of the monitoring points that are at the same or greater distance from the leak source since the surge time, the amplitude of the monitoring point is determined to be low. The monitoring points that simultaneously meet the conditions of delayed initial response and low amplitude, and are located in the gas stagnation region where the vortex structure evolves slowly on the concentration cloud map, are identified as delayed response monitoring points, and their areas are determined to be flow field dead zones.

4. The method for predicting the gas diffusion characteristics of battery thermal runaway in a confined space according to claim 1, characterized in that, S3 specifically includes: S301. Based on the assumption of horizontal isotropy, simplify the Gaussian plume model, merge the horizontal diffusion coefficients, establish a plume concentration description with horizontal radial distance and vertical height as coordinates, and accumulate plumes for continuous leakage. S302. Arrange mirror sources on the upper and lower walls of the leak space and establish a concentration correction term that takes into account the multiple reflection effects of the walls. S303. Based on the conservation of mass and volume, describe the accumulation process of target gas in the buoyancy layer of the roof and establish a description of the base concentration under the filling box theory. S304. To address the two-stage characteristics of the gas front arrival moment—the step surge in gas concentration and the subsequent slow accumulation—two characteristic parameters are defined: gas concentration surge time and base mole fraction. S305. Construct the basis terms described by the filled-box theory and the puff increment terms described by the mirror-source Gaussian puff model; S306. Superimpose the base term with the smoke increment term to establish a piecewise function concentration prediction model based on the gas concentration surge time.

5. The method for predicting the gas diffusion characteristics of battery thermal runaway in a confined space according to claim 1, characterized in that, S4 specifically includes: S401. Extract the time when the gas concentration at each monitoring point reaches a set threshold from the CFD transient data as the gas concentration surge time, and establish its power function correlation with the diffusion distance. S402. Perform Reynolds decomposition on the CFD concentration field and estimate the base mole fraction by time averaging the signed difference between the CFD values ​​and the predicted values ​​of the smoke plume after the surge time. S403. Construct an empirical expression for the power-law growth of the front sweep area; S404. Construct a separable empirical expression for the spatial power-law decay of the dual-modal time-pulse superposition of the leading velocity; S405. The Levenberg-Marquardt nonlinear least squares algorithm is used to fit the correlation between surge time, front sweep area and front velocity to obtain the predicted expression of characteristic parameters and the predicted value of the base mole fraction.

6. The method for predicting the gas diffusion characteristics of battery thermal runaway in a confined space according to claim 1, characterized in that, S5 specifically includes: S501. Based on CPE-GPM, parameter fitting is performed on the concentration time series of all monitoring points of each leakage source, and the root mean square error (RMSE) of each monitoring point is mapped to a three-dimensional geometric space to analyze the error distribution. S502. Spatial superposition and verification of the high error region with the flow field dead zone identified in S2, elimination of dead zone monitoring point data, and refitting and optimizing the diffusion coefficient based on the effective dataset. S503. Compare the prediction accuracy of the classic Gaussian plume model and CPE-GPM on the mole fraction evolution curves at each monitoring point, and evaluate the ability of the feature parameters to characterize the concentration step surge characteristics and the base accumulation characteristics. S504. Based on the RMSE mentioned in S501, the coefficient of determination R², mean absolute error MAE and relative root mean square error RRMSE are added to construct a multi-dimensional model accuracy evaluation index system to comprehensively evaluate the fitting accuracy of CPE-GPM. S505. Integrate the operating condition data of each leakage source into a unified dataset to carry out global joint fitting, and compare it with the independent fitting results of each source to verify the generalization ability of the general parameter set across leakage conditions. S506: Call the calibrated CPE-GPM output for any leak source location, any monitoring point, and any time of the predicted value of the mole fraction of thermal runaway gas, and link it with thermal runaway gas monitoring and early warning.

7. The method for predicting the gas diffusion characteristics of battery thermal runaway in a confined space according to claim 4, characterized in that, Specifically, S301-S303 includes: S301. Based on the assumption of horizontal isotropy, the horizontal diffusion coefficients are combined to obtain an expression for the plume concentration with horizontal radial distance and vertical height as coordinates, and the plume concentration is accumulated for continuous leakage; the diffusion process of a single Gaussian plume is expressed as: ; In the formula, The concentration value at a certain spatial point; Indicates the time of leakage; The strength of the leakage source; For wind speed, Set to 0; , The horizontal diffusion coefficient; The vertical diffusion coefficient; These are the coordinates of each spatial point relative to the wind direction and horizontal. The coordinates of each spatial point perpendicular to the wind direction; These are the vertical height coordinates of each spatial point; Under conditions of no ambient wind and isotropic horizontal turbulence, the downwind spacing will be... Distance from crosswind direction Combined into horizontal radial distance ,make The horizontal diffusion coefficient is unified as follows: The vertical diffusion coefficient is The gases rapidly achieve a uniform mixture in the vertical direction. Take 0; Equation (1) simplifies to: ; The concentration of continuously leaking gas can be determined by... The sum of the concentrations of each smoke plume yields: ; In the formula, Leakage time The total number of smoke plumes inside, ; For time intervals; Represents the first time series distribution A plume of smoke; For the first The horizontal diffusion coefficient of a smoke plume ; S302. Mirror sources are arranged on the upper and lower walls of the leak space. The concentration field obtained by superimposing the real source and all mirror sources satisfies the flux-free boundary condition. Establish a concentration correction term that takes into account the multiple reflection effect of the walls: The vertical multiple reflectance concentration weights are: ; In the formula, This represents the distance between the upper and lower walls; For the first One mirror source; Maximum number of mirrors; The gas concentration field considering wall reflection is: ; S303. Based on the principle of mass conservation, describe the accumulation process of the target gas within the buoyancy layer of the roof, obtain the mass growth rate of the target gas within the layer and the volume growth rate of the layer, and thus obtain the mass concentration of the target gas within the layer; the mass conservation equation is written as: ; ; In the formula, The axis coordinate of the plume; The radial coordinates are within the cross-section of the plume. Indicates the height of crossing The mass flow rate of the target gas at the plume cross section, where , , All are about The function; The mass concentration of the target gas within the plume; Vertical velocity; The characteristic radius of the plume; The plume entrainment velocity; The mass concentration of the target gas in the environment; The change in target gas along the plume originates solely from entrainment of the surrounding fluid. The leading edge is the surface of the surrounding air, below which lies the surrounding air. Assuming the environment initially contains no target gas, the leading edge initially does not carry the target gas. Therefore, let... ,get: ; That is, the mass flow rate of the target gas is conserved along the plume, and the mass flow rate at any cross-section, including the top plate interaction section and the front crossing section, is equal to the leakage source strength: ; The target gas transported by the jet to the top plate within the sealed enclosure enters the buoyancy layer entirely, with no other destination. The leading edge is the surface of ambient air, and below it is always the initial state air without the target gas; the leading edge does not carry the target gas. The only source of the target gas is the plume passing through the leading edge, and its transport rate is always equal to the source strength of the leakage source. According to the law of conservation of mass, the mass of the target gas within the layer... The growth rate is: ; According to the law of volume conservation, the downward volume flux in the environment after the front has passed must be equal to the upward flux in the plume. At the height of the front, the layer volume... The growth rate is: ; In the formula, Sweep up the area for the forwards; Forward movement speed; The mass concentration of the target gas in the mixed gas entering the layer is: 。 8. The method for predicting the gas diffusion characteristics of battery thermal runaway in a confined space according to claim 4, characterized in that, Specifically, S305-S306 includes: S305. Construct the basis terms described by the filled-box theory and the puff increment terms described by the mirror-source Gaussian puff model: The impact phase is described using the packed box theory, with the following hydrogen molar fraction in the substrate: ; In the formula, Time of gas concentration surge; The molar concentration of hydrogen at the base; The molar concentration of the substrate mixture; The molar concentration of air; The molar concentration of hydrogen in the substrate is calculated using the following formula: ; In the formula, This refers to the molar mass of hydrogen gas. The incremental term of the smoke plume is constructed; the concentration increase during the diffusion stage is described by a Gaussian smoke plume model that takes into account reflections from the mirror source, and the molar fraction of hydrogen contributed by the smoke plume is: ; In the formula, The molar concentration of hydrogen transported by the smoke plume; The molar concentration of the mixed gas transported by the smoke plume; The molar concentration of hydrogen transported by the smoke plume can be calculated using the following formula: ; S306. Superimpose the base term and the smoke plume increment term to establish a piecewise function concentration prediction model based on the gas concentration surge time: the hydrogen mole fraction at any point in space and at any time is the sum of the base term and the smoke plume increment term, forming a piecewise function model based on the gas concentration surge time. 。 9. The method for predicting the gas diffusion characteristics of battery thermal runaway in a confined space according to claim 5, characterized in that, Specifically, S401-S405 are: The time point at which the mole fraction at the monitoring point reaches a set threshold is selected as the criterion for determining the gas concentration surge time, and the relationship between the surge time and the diffusion distance is described using a power function: ; The CFD concentration field was decomposed using Reynolds decomposition, and the base mole fraction was estimated by averaging the signed difference between the CFD values ​​and the predicted plume values ​​over time after the arrival of the leading edge. ; In the formula, The hydrogen mole fraction obtained from CFD simulation; This is the end time of the CFD simulation. for Number of time samples within the period; Empirical expressions for forward sweep area and forward velocity are constructed; the forward sweep area is represented by a power-law growth pattern. ; In the formula, This represents the initial sweep area of ​​the forwards; The characteristic relaxation time; Forward velocity is expressed in a separable empirical form using a superposition of dual-modal time-pulse superposition and spatial power-law decay: ; In the formula, , These are the amplitude coefficients for the two modes; , To increase the power exponent, control the initial acceleration rate; , The exponential decay rate controls the rate of decay in the later stages. The spatial decay index; Here is the near-source regularization constant; The Levenberg–Marquardt nonlinear least squares algorithm is used to fit equations (18), (20), and (21). The fitted coefficients are substituted to obtain the prediction expressions for each characteristic parameter, and then the predicted value of the base mole fraction is obtained from equation (13).

10. A system for implementing the method for predicting the gas diffusion characteristics of a battery in a confined space according to any one of claims 1-9, characterized in that, include: The CFD modeling and simulation module is used to construct the geometric model of the battery module, set the layout of the leakage source and monitoring points, and numerically solve the thermal runaway gas leakage and diffusion process based on the CFD control equation to obtain the spatiotemporal evolution data of the gas concentration field under different leakage conditions. The gas diffusion characteristics analysis module is used to analyze the two-stage transient characteristics of gas diffusion, the flow field topology at different leakage source locations, the wall boundary layer effect, the spatiotemporal evolution of diffusion velocity and response time characteristics, and to identify flow field dead zones. The feature parameter extraction module is used to extract two feature parameters, gas concentration surge time and base mole fraction, from CFD transient data and fit their correlation expression with diffusion distance. The CPE-GPM building module is used to embed feature parameters into the Gaussian puff model in the form of step functions and basis terms, and to construct a Gaussian puff model with enhanced feature parameters by combining the mirror source model and the filled box theory. The monitoring point screening and parameter calibration module is used to perform spatial superposition verification based on the spatial distribution of RMSE of each monitoring point and the dead zone of the flow field, remove the data of monitoring points in the dead zone, refit and optimize the model parameters based on the selected effective dataset, and obtain a general parameter set applicable across leakage conditions through global joint fitting to complete the model calibration. The concentration prediction and early warning output module is used to call the calibrated CPE-GPM to quickly output the predicted value of the mole fraction of thermal runaway gas at any leak source location, any monitoring point, and any time, and to link with thermal runaway gas monitoring and early warning.