Unity-based flacs gas phase leakage simulation data embedding method and injury assessment method

By converting FLACS simulation data into usable data in Unity, the problems of accuracy and data comprehensiveness in gas phase leak simulation in existing technologies have been solved, enabling high-precision virtual reality emergency scenarios and injury assessments, and improving emergency response capabilities.

CN122154261APending Publication Date: 2026-06-05CHINA PETROLEUM & CHEMICAL CORP +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA PETROLEUM & CHEMICAL CORP
Filing Date
2024-12-04
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing technologies for simulating gas phase leak accidents rely on two-dimensional or simplified three-dimensional models, which fail to accurately reflect the dynamic changes and complexity of the leak scenario. Furthermore, the data acquisition is not comprehensive enough, resulting in insufficient accuracy in virtual reality emergency scenarios.

Method used

Gas monitoring domain data is obtained through FLACS simulation and converted into standard data recognizable by Unity. This data is then embedded into a virtual reality scene and combined with an injury assessment model to conduct injury assessments for emergency personnel.

Benefits of technology

It enables more accurate simulation of gas phase leaks and damage assessment, reduces the subjectivity of monitoring point setting, improves data accuracy and the accuracy of virtual reality scenarios, and supports the improvement of emergency response capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122154261A_ABST
    Figure CN122154261A_ABST
Patent Text Reader

Abstract

The application provides a Unity-based FLACS gas phase leakage simulation data embedding method and injury evaluation method, and belongs to the technical field of gas leakage accident simulation, comprising the following steps: constructing a standard geometric model available for FLACS; according to an accident scene, performing grid division on the standard geometric model to determine a leakage position area; obtaining and setting simulation parameters and gas monitoring domain parameters, performing FLACS gas phase leakage simulation according to the set simulation parameters and gas monitoring domain parameters to obtain gas monitoring domain data; performing gas monitoring domain data conversion to form standard data recognizable by Unity; constructing a geometric model available for Unity and corresponding to the standard geometric model, embedding the standard data into Unity after the geometric model is imported into Unity to generate a virtual reality scene. Comprehensive gas monitoring domain data is obtained through FLACS simulation, and the data is converted into Unity available data, so that the generated Unity virtual emergency simulation scene is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention application relates to the field of gas leak accident simulation technology, and in particular to a Unity-based FLACS gas phase leak simulation data embedding method and injury assessment method. Background Technology

[0002] Gas phase leaks are a common safety incident in industrial production, posing a serious threat to personnel and the environment. Traditional gas phase leak simulation methods are often based on two-dimensional or simplified three-dimensional models, resulting in limited scenarios that fail to accurately reflect the dynamic changes and complexity of leak situations. Virtual reality (VR) technology, due to its immersive and interactive features, is gradually becoming a research and practice hotspot in the field of emergency response. By simulating real events in VR systems, personnel can be provided with scenarios facing emergency situations to practice emergency management skills (such as evacuation, communication, and rescue), thereby effectively improving emergency response capabilities.

[0003] Unity is a real-time 3D interactive content creation and operation platform with wide applications in architectural visualization, industrial design, virtual and augmented reality, and simulation training. In emergency management, the Unity engine provides a platform for emergency management personnel to conduct simulations and provide decision support by creating highly realistic virtual environments. Unity can construct various complex virtual scenarios, including natural disaster scenes such as fires, earthquakes, and floods, or simulated scenarios of emergencies such as chemical leaks and traffic accidents. Through VR systems developed with Unity, personnel can participate in simulations in an immersive way. Unity can also record and analyze data from these simulations, including evacuation times, evacuation routes, and behavioral characteristics. This data can provide valuable feedback to emergency management personnel and strongly support the development of emergency plans.

[0004] Accurate acquisition and import of external data are crucial for simulating real-world accident scenarios. However, current technologies are often limited by the selection of monitoring points, resulting in an inability to obtain comprehensive data and consequently, insufficient accuracy in virtual reality emergency scenarios.

[0005] FLACS is a comprehensive and easy-to-use 3D modeling software tool for dispersion and explosion impact analysis, providing a solution for emissions of all typical flammable and toxic substances. It is widely used in the oil and gas and process industries, and increasingly in the nuclear industry, as well as for dust explosion potential analysis and facilities in many other fields. CFD (Computational Fluid Dynamics) processes are all modeled in 3D, allowing for more accurate prediction of consequences and mitigating the effects of constraints and congestion on realistic geometry, resulting in more precise results. FLACS simulations provide more comprehensive monitoring data.

[0006] Therefore, providing a Unity-based FLACS gas phase leakage simulation data embedding method has important practical application significance. Summary of the Invention

[0007] To address the aforementioned issues and to more accurately establish 3D virtual scenes for gas phase leaks, this invention provides a Unity-based FLACS gas phase leak simulation data embedding method and injury assessment method. This method uses gas monitoring domain data obtained through FLACS simulation, converts it, and embeds it into the Unity virtual environment. This ensures that sufficiently comprehensive gas monitoring domain data, converted into standard data, is available for Unity to utilize, and injury assessments can be performed based on Unity to guide personnel evacuation.

[0008] On one hand, this invention application provides a Unity-based FLACS gas phase leakage simulation data embedding method, the method comprising: Construct standard geometric models usable by FLACS; Based on the accident scenario, the standard geometric model is divided into meshes to determine the leakage location area; Acquire and set simulation parameters and gas monitoring domain parameters, and perform FLACS gas phase leakage simulation based on the set simulation parameters and gas monitoring domain parameters to obtain gas monitoring domain data; Perform the gas monitoring domain data conversion to form standard data that can be recognized and used by Unity; A geometric model that is usable in Unity and corresponds to the standard geometric model is constructed. After importing the geometric model into Unity to generate a virtual reality scene, the standard data is embedded into Unity.

[0009] As a further improvement of this invention, the construction of a standard geometric model usable by FLACS includes constructing a basic geometric model based on 3DMax, and then converting the basic geometric model into a standard geometric model usable by FLACS.

[0010] As a further improvement to this invention, the step of constructing a basic geometric model using 3DMax and then converting the basic geometric model into a standard geometric model usable by FLACS includes converting the basic geometric model into a standard geometric model using the FLACS extension geo2flacs.

[0011] As a further improvement of this invention, the construction of a geometric model that is usable in Unity and corresponds to the standard geometric model, importing the geometric model into Unity to generate a virtual reality scene, and then embedding the standard data into Unity includes constructing the geometric model based on 3DMax and importing the geometric model into Unity to generate a virtual reality scene.

[0012] As a further improvement of this invention, the step of dividing the standard geometric model into meshes according to the accident scenario and determining the leakage location region includes distinguishing the mesh division fineness based on the determined leakage location region. The leakage location region includes a core simulation domain and an outer simulation domain outside the core simulation domain, and the mesh volume gradually expands from the core simulation domain to the outer simulation domain.

[0013] As a further improvement of this invention application, the gas monitoring domain includes linear and / or volumetric types.

[0014] As a further improvement of this invention application, the line type is used to measure the fuel concentration or pressure on a given pipeline within a region, and the volume type is used to measure the amount of fuel in a given volume within a region.

[0015] As a further improvement of this invention, the step of acquiring and setting simulation parameters and gas monitoring domain parameters, performing FLACS gas phase leakage simulation based on the set simulation parameters and gas monitoring domain parameters, and obtaining gas monitoring domain data includes writing the gas monitoring domain data into a .MON text file.

[0016] As a further improvement of this invention, in the data layout of the gas monitoring domain data, the first part is the grid definition, and the second part is the change of the parameters of each grid center point over time. The first part defines the grid in the gas monitoring domain and clarifies the location of the grid center point. Subsequently, the parameters of the grid center point in the region are recorded at certain time intervals.

[0017] As a further improvement to this invention, the conversion of the gas monitoring domain data to form standard data that can be recognized and used by Unity includes acquiring and parsing the gas monitoring domain data and converting it into JSON or CSV format.

[0018] On the other hand, this invention application provides a method for injury assessment, the method comprising: Construct standard geometric models usable by FLACS; Based on the accident scenario, the standard geometric model is divided into meshes to determine the leakage location area; Acquire and set simulation parameters and gas monitoring domain parameters, and perform FLACS gas phase leakage simulation based on the set simulation parameters and gas monitoring domain parameters to obtain gas monitoring domain data; Perform the gas monitoring domain data conversion to form standard data that can be recognized and used by Unity; A geometric model that is usable in Unity and corresponds to the standard geometric model is constructed. After importing the geometric model into Unity to generate a virtual reality scene, the standard data is embedded into Unity. This study uses Unity to assess injuries to emergency responders using a damage value model.

[0019] As a further improvement of this invention, the damage value model is as follows:

[0020] In the formula, D represents the total cumulative amount of injuries sustained by emergency personnel during the entire emergency response or evacuation process; i This represents the total number of different concentrations of hydrogen sulfide that emergency personnel were exposed to during the entire emergency response process. t i For personnel in the i Exposure time in the concentration distribution, in seconds; x i For the first i The concentration of hydrogen sulfide in the concentration distribution is expressed in ppm; E is the natural constant.

[0021] As a further improvement to this invention application, a data-based control system is used in Unity to simulate the real rate of leakage and diffusion through particle effects.

[0022] As a further improvement of this invention application, the leakage data of any point can be obtained in real time in Unity and displayed in the UI.

[0023] This invention provides a Unity-based FLACS gas phase leak simulation data embedding method and injury assessment method. It acquires comprehensive gas monitoring domain data through FLACS simulation and transforms the data to obtain Unity-usable data, thereby ensuring a more accurate generated Unity virtual emergency simulation scenario. During embedding, there is no need to excessively consider monitoring point settings, reducing the impact of subjectivity on data embedding to a certain extent, and eliminating the need for manual processing of monitoring point data. Furthermore, this invention can quickly and accurately couple injury-related values ​​with emergency response and training processes in a virtual reality environment, resulting in higher data accuracy. Attached Figure Description

[0024] Figure 1 This is a flowchart illustrating the Unity-based FLACS gas phase leakage simulation data embedding method according to an embodiment of the present invention.

[0025] Figure 2 This is a schematic diagram of the framework of the Unity-based FLACS gas phase leakage simulation data embedding method according to an embodiment of the present invention.

[0026] Figure 3 This is a schematic diagram of the CFD gas-phase leakage diffusion simulation process.

[0027] Figure 4 This is a top view of a marine production platform model imported into FLACS using the Unity-based FLACS gas phase leakage simulation data embedding method in this embodiment of the invention.

[0028] Figure 5 This is a top view of a marine production platform model imported into Unity3D using the Unity-based FLACS gas phase leakage simulation data embedding method in this embodiment of the invention. Detailed Implementation

[0029] The following describes specific embodiments and appendices. Figure 1-5 The invention application is described in detail so that those skilled in the art can more fully understand the purpose, features and effects of the invention application.

[0030] Unless otherwise specified, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. In the event of any discrepancy between the definition of a term in this application and its commonly understood meaning by one of ordinary skill in the art, the definition stated in this application shall prevail.

[0031] Example 1 As a specific embodiment of this invention, this embodiment provides a Unity-based FLACS gas phase leakage simulation data embedding method, referring to... Figure 1 , Figure 2 The specific steps are as follows: S01. Construct a basic geometric model and perform model transformation to obtain a standard geometric model. FLACS weather leak simulation is based on a 3DMax model for modeling and computation. First, a basic geometric model is built in 3DMax, and then the basic geometric model is converted into a standard geometric model usable in FLACS.

[0032] S02. Mesh the standard geometric model to determine the leak location area. After establishing the standard geometric model, it is meshed according to the selected accident scenario. Specifically, based on the characteristics and requirements of the accident scenario, the standard geometric model is divided into a series of discrete mesh elements. FLACS uses mesh-based numerical methods (such as the finite volume method or the finite element method) for simulation calculations; therefore, appropriate mesh generation is crucial to ensuring the accuracy and reliability of the simulation results.

[0033] S03, FLACS gas phase leakage simulation, and acquisition of gas monitoring domain data. Input simulation parameters, set the gas monitor region, determine the location to be monitored, and perform FLACS gas phase leakage simulation based on the set simulation parameters and gas monitor region parameters. Acquire gas monitor region data based on the set gas monitor region and generate a gas monitor region data file. The gas phase leakage diffusion simulation process is as follows: Figure 3 As shown.

[0034] S04, Gas monitoring domain data conversion to obtain standard data Unity cannot directly recognize gas monitoring domain data obtained from FLACS gas phase leak simulation. Therefore, the gas monitoring domain data is converted into a standard data format acceptable to Unity, making it easier for Unity to use.

[0035] S05. Generate a virtual reality scene and embed standard data into Unity. The basic geometric model obtained from 3ds Max modeling is imported into Unity to generate a 3D virtual reality scene. The standard data obtained after conversion is imported into the Unity virtual scene, and data at any location and time can be obtained within the monitoring area.

[0036] By establishing basic geometric models in 3ds Max and using them in FLACS and Unity respectively, the consistency of the geometric models used in FLACS and Unity can be guaranteed, and the accuracy of standard data embedding can be improved.

[0037] Example 2 As a specific embodiment of this invention, this embodiment provides a Unity-based FLACS gas phase leakage simulation data embedding method, referring to... Figure 1 , Figure 2 The specific steps are as follows: S01. Construct a basic geometric model and perform model transformation to obtain a standard geometric model. FLACS weather leak simulation is based on a 3DMax model for modeling and computation. First, a basic geometric model is built in 3DMax, and then the basic geometric model is converted into a standard geometric model usable in FLACS.

[0038] Preferably, the .max type file containing the basic geometric model exported from 3ds Max is converted into a FLACS-compatible file using the FLACS extension geo2flacs, resulting in a standard geometric model. This conversion process ensures that the details and features of the basic geometric model are fully preserved, providing high-quality input data for subsequent simulation calculations.

[0039] Due to the inherent advantages of 3DMax models in terms of detail and complexity, the accuracy and model reproduction of imported geometric models are higher than those performed directly in the CASD preprocessor of FLACS, thus improving the accuracy and reliability of simulations.

[0040] Modeling with 3DMax and converting it into a geometric model usable by geo2flacs can fully leverage the modeling advantages of 3DMax and the simulation computing capabilities of FLACS, providing support for achieving high-precision and high-efficiency FLACS meteorological leak simulation in the later stages.

[0041] Taking marine production platforms as an example, Figure 4 This is a marine production platform model that is modeled in 3DMax and converted using geo2flacs and is usable in FLACS.

[0042] S02. Mesh the standard geometric model to determine the leak location area. After establishing the standard geometric model, it is meshed according to the selected accident scenario. Specifically, based on the characteristics and requirements of the accident scenario, the standard geometric model is divided into a series of discrete mesh elements.

[0043] The mesh fineness directly affects the accuracy and computational efficiency of the simulation. A finer mesh can provide more accurate results, but it increases computation time and resource requirements. Therefore, a balance needs to be struck between mesh fineness and the complexity of the accident scenario and the simulation requirements. In this embodiment, mesh generation needs to pay special attention to key features in the standard geometric model, such as leak sources, obstacles, and vents, to ensure that these areas can be simulated with sufficient resolution and accuracy.

[0044] Preferably, in this embodiment, to balance computation time and computational resources, the leakage location region includes a main leakage location region and a peripheral leakage region. The main leakage location region is called the core simulation domain, and the peripheral leakage region outside the core simulation domain is called the peripheral simulation domain. The core simulation domain has a small mesh volume, while the peripheral simulation domain has a large mesh volume. An extension method is used to gradually increase the mesh volume from the core simulation domain to the peripheral simulation domain to reduce the overall number of meshes, thereby ensuring that the subsequent simulation time and computational resource requirements remain within a reasonable range.

[0045] S03, FLACS gas phase leakage simulation, and acquisition of gas monitoring domain data. Input simulation parameters, set the gas monitoring domain, determine the location to be monitored, and perform FLACS gas phase leakage simulation based on the set simulation parameters and gas monitoring domain parameters. Acquire gas monitoring domain data based on the set gas monitoring domain and generate a gas monitoring domain data file.

[0046] The simulation parameters include, but are not limited to, simulation time, ventilation, boundary conditions, leakage rate, and leakage location.

[0047] The parameters of the gas monitoring domain include, but are not limited to, leak location, size, and monitoring data type.

[0048] Specifically, before performing FLACS gas phase leak simulation, the gas monitoring domains must first be set up. Monitoring files can be created directly in a text editor or in the "Custom Gas Monitoring Region" section of the scene menu. Each gas monitoring region should be given a unique name. <name>The overall output of all monitored objects is written to a text file of type .MON. Further, the overall output of all monitored objects is written to a file named rt. <jobnumber>A text file of type .MON, with detailed output for each monitor object written to a file named rt. <jobnumber>The text file .MON. <name>.

[0049] Gas monitoring zones can be linear or volumetric. There are two types of gas monitoring zones: linear monitors and volume monitors. Linear monitors are used to measure fuel concentration or pressure on a given pipeline within the zone, while volume monitors are used to measure the amount of fuel in a given volume within the zone.

[0050] Specifically, the straight line of the linear monitor is defined by its start and end positions and divided into segments of equal length, such as 100. Detailed output for each point along the line is obtained through trilinear interpolation of the 3D data and written to a specific file of the linear monitor. (rt) <jobnumber>The .MON file records the basic output of the linearity monitor, such as the average or integral value over the line length.

[0051] The volume of the volume monitor is defined by the two opposite corners of a rectangular box, forming a cuboid with its faces parallel to the grid plane. The results are written to rt. <jobnumber>The .MON file and the monitor-specific file include multiple output variables, such as total fuel quantity, equivalent cloud size, and gas concentration. The output files for different monitored objects have specific suffixes, such as .FUEL for fuel quantity and .NFMOLE for leaked gas concentration. The .MON file is obtained after the simulation is completed.

[0052] S04, Gas monitoring domain data conversion to obtain standard data Unity cannot directly recognize gas monitoring domain data obtained from FLACS gas phase leak simulation. Therefore, the gas monitoring domain data is converted into a standard data format acceptable to Unity, making it easier for Unity to use.

[0053] The gas monitoring domain data obtained from S03 is of type .FMOLE. Unity itself cannot recognize and use .NFMOLE format data, so it needs to be converted.

[0054] Specifically, use an appropriate programming language (such as Python) to read .NFMOLE format files, parse the grid positions and time-varying parameters, and convert the parsed data into a Unity-acceptable format, such as JSON, CSV, or other custom formats.

[0055] Furthermore, in the data layout of the .NFMOLE format file obtained from FLACS gas phase leakage simulation, the first part is the grid definition, and the second part is the change of parameters of each grid center point over time. The first part defines the grid within the gas monitoring domain and clarifies the location of the grid center point. Subsequently, the parameters of the grid center points within the region are recorded at certain time intervals.

[0056] Since the current data is from the center point of each grid cell, depending on the grid size, there's a possibility that data from other locations might be unavailable. All points are divided into multiple regions, which can be squares, rectangles, triangles, or cubes. When the point to be detected is within a region, the current time is first determined, and the data value for the current point at that time is calculated among the points forming that region. Because each data entry exported from FLACS has intervals, the data for the current time can be interpolated from two adjacent data points. Based on the data of the points forming the current region, various forms of interpolation can be performed according to the shape of the region to obtain the data for the current point. Preferably, the interpolation methods include, but are not limited to, bilinear interpolation, trilinear interpolation, or barycentric coordinate interpolation.

[0057] S05. Generate a virtual reality scene and embed standard data into Unity. The basic geometric model obtained from 3ds Max modeling is imported into Unity to generate a 3D virtual reality scene. The standard data obtained after conversion is imported into the Unity virtual scene, and data at any location and time can be obtained within the monitoring area.

[0058] Taking marine production platforms as an example, Figure 5 This is a model of an ocean production platform created using 3ds Max and imported into Unity.

[0059] Furthermore, based on Unity, data visualization and analysis tools allow for interactive browsing, analysis, and simulation of gaseous leak scenarios and emergency personnel injuries.

[0060] In one embodiment, based on the results of FLACS simulations, particle effects are used in Unity to simulate the real rate of leakage propagation by a data-driven control system. Leakage data at any point in the scene can be acquired in real time and displayed in the UI.

[0061] This invention provides a Unity-based FLACS gas phase leak simulation data embedding method, which comprehensively embeds relevant data from the gas monitoring domain without being limited by the selection of data monitoring points. It closely integrates CFD accident simulation data and VR emergency simulation, thereby enabling the creation of a more accurate 3D virtual scene for gas phase leaks. This provides a basis for quantitative analysis and evaluation of emergency response effectiveness and can meet the current and future needs of the oil and gas chemical industry for accident emergency experiments and training in a virtual reality environment.

[0062] Example 3 As a specific embodiment of this invention, this embodiment provides a method for injury assessment, based on the method described in Embodiment 1 or Embodiment 2, with reference to... Figure 1 , Figure 2 ,include: S01. Construct a basic geometric model and perform model transformation to obtain a standard geometric model. FLACS weather leak simulation is based on a 3DMax model for modeling and computation. First, a basic geometric model is built in 3DMax, and then the basic geometric model is converted into a standard geometric model usable in FLACS.

[0063] S02. Mesh the standard geometric model to determine the leak location area. After establishing the standard geometric model, it is meshed according to the selected accident scenario. Specifically, based on the characteristics and requirements of the accident scenario, the standard geometric model is divided into a series of discrete mesh elements.

[0064] S03, FLACS gas phase leakage simulation, and acquisition of gas monitoring domain data. Input simulation parameters, set the gas monitoring domain, determine the location area to be monitored, perform FLACS gas phase leakage simulation based on the set gas monitoring domain, acquire gas monitoring domain data based on the set gas monitoring domain, and generate a gas monitoring domain data file.

[0065] S04, Gas monitoring domain data conversion to obtain standard data By converting gas monitoring domain data into a standard data format acceptable to Unity, it becomes easier for Unity to utilize.

[0066] S05. Embed standard data into Unity to generate virtual reality scenes. The basic geometric model obtained from 3ds Max modeling is imported into Unity to generate a 3D virtual reality scene. The standard data obtained after conversion is imported into the virtual scene of Unity. Data can be obtained at any location and time within the monitoring area, and emergency simulation training can be carried out in Unity.

[0067] S06. Assessment of injuries to emergency personnel based on Unity In this embodiment, the simulated emergency responders calculate the damage to the physical condition of people in reality by accumulating hazard parameters.

[0068] Specifically, for toxic gas leak accident scenarios, taking hydrogen sulfide, the most common toxic gas in oil and gas production and processing scenarios, as an example, the following model is used to calculate the injury value of emergency personnel.

[0069]

[0070] In the formula, D represents the total cumulative amount of injuries sustained by emergency personnel during the entire emergency response or evacuation process; i This represents the total number of different concentrations of hydrogen sulfide that emergency personnel were exposed to during the entire emergency response process. t i For personnel in the i Exposure time in the concentration distribution, in seconds; x i For the first i The concentration of hydrogen sulfide in the given concentration distribution is expressed in ppm. E is the natural constant, which is optional and has a value of 2.718.

[0071] The damage value to emergency personnel will be accumulated based on the concentration of toxic gases at their location and the exposure time during emergency evacuation or response.

[0072] Furthermore, during simulated emergency drills, an int type variable is assigned to represent the damage value suffered by emergency personnel. The damage value is accumulated based on the concentration of toxic gas at the location of the emergency personnel during emergency evacuation or disposal and the exposure time.

[0073] Furthermore, the total cumulative damage is calculated and displayed in the UI. Based on the damage value model mentioned above, the damage value of emergency personnel is calculated every frame and the data is refreshed on the UI, which can be used to analyze the rationality of the emergency personnel's handling process.

[0074] The Unity virtual emergency simulation system accumulates data such as injury values ​​and time of death of virtual emergency responders during training, based on their location and dwell time. If needed, it can also statistically analyze the concentration of toxic gases at a specific location over a specific time period. When the training concludes, all collected data will be displayed on the end-of-training summary page, or a data file can be generated as required.

[0075] The injury assessment method proposed in this invention assesses the injuries of emergency personnel based on Unity and calculates quantitative information about the injuries using an injury value model. Since comprehensive gas monitoring domain data is obtained through FLACS, the injury assessment of emergency personnel can be made more accurate.

[0076] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any other way. Any modifications or equivalent changes made based on the technical essence of the present invention shall still fall within the scope of protection claimed in the present invention.< / jobnumber> < / jobnumber> < / name> < / jobnumber> < / jobnumber> < / name>

Claims

1. A method for embedding FLACS gas phase leakage simulation data based on Unity, characterized in that, The method includes: Construct standard geometric models usable by FLACS; Based on the accident scenario, the standard geometric model is divided into meshes to determine the leakage location area; Acquire and set simulation parameters and gas monitoring domain parameters, and perform FLACS gas phase leakage simulation based on the set simulation parameters and gas monitoring domain parameters to obtain gas monitoring domain data; Perform the gas monitoring domain data conversion to form standard data that can be recognized and used by Unity; A geometric model that is usable in Unity and corresponds to the standard geometric model is constructed. After importing the geometric model into Unity to generate a virtual reality scene, the standard data is embedded into Unity.

2. The method for embedding Unity-based FLACS gas phase leakage simulation data according to claim 1, characterized in that, The process of constructing a standard geometric model usable by FLACS involves building a base geometric model based on 3DMax, and then converting the base geometric model into a standard geometric model usable by FLACS.

3. The Unity-based FLACS gas phase leakage simulation data embedding method according to claim 2, characterized in that, The process of constructing a basic geometric model using 3DMax and then converting the basic geometric model into a standard geometric model usable by FLACS includes converting the basic geometric model into a standard geometric model using the FLACS extension geo2flacs.

4. The Unity-based FLACS gas phase leakage simulation data embedding method according to claim 2, characterized in that, The process involves constructing a geometric model that is usable in Unity and corresponds to the standard geometric model, importing the geometric model into Unity to generate a virtual reality scene, and then embedding the standard data into Unity, including constructing the base model based on 3DMax and importing the geometric model into Unity to generate a virtual reality scene.

5. The Unity-based FLACS gas phase leakage simulation data embedding method according to claim 1, characterized in that, The step of dividing the standard geometric model into meshes according to the accident scenario and determining the leakage location region includes differentiating the mesh division fineness based on the determined leakage location region. The leakage location region includes a core simulation domain and an outer simulation domain outside the core simulation domain, and the mesh volume gradually increases from the core simulation domain to the outer simulation domain.

6. The Unity-based FLACS gas phase leakage simulation data embedding method according to claim 1, characterized in that, The gas monitoring domain includes linear and / or volumetric types.

7. The Unity-based FLACS gas phase leakage simulation data embedding method according to claim 1, characterized in that, The process of acquiring and setting simulation parameters and gas monitoring domain parameters, performing FLACS gas phase leakage simulation based on the set simulation parameters and gas monitoring domain parameters, and obtaining gas monitoring domain data includes writing the gas monitoring domain data into a .MON text file.

8. The Unity-based FLACS gas phase leakage simulation data embedding method according to claim 1, characterized in that, The process of converting the gas monitoring domain data into standard data that can be recognized and used by Unity includes acquiring and parsing the gas monitoring domain data and converting it into JSON or CSV format.

9. A damage assessment method, comprising the Unity-based FLACS gas phase leakage simulation data embedding method according to any one of claims 1-8, characterized in that, This study uses Unity to assess injuries to emergency responders using a damage value model.

10. The injury assessment method according to claim 9, characterized in that, The damage value model is as follows: In the formula, D represents the total cumulative amount of injuries sustained by emergency personnel during the entire emergency response or evacuation process; i This represents the total number of different concentrations of hydrogen sulfide that emergency personnel were exposed to during the entire emergency response process. t i For personnel in the i Exposure time in the concentration distribution, in seconds; x i For the first i The concentration of hydrogen sulfide in the concentration distribution is expressed in ppm; E is the natural constant.