Power transmission line scene flood disaster risk prediction method and system

Through the combination of smooth particle fluid dynamics method and shallow water equation, a SPH-SWE numerical model was constructed, which solved the problem of difficult to take into account both the efficiency and accuracy of flood simulation in the existing technology, and achieved real-time and accurate flood disaster risk prediction and evaluation.

CN118917235APending Publication Date: 2024-11-08GUANGDONG ELECTRIC POWER SCI RES INST ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410949796.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing technology is difficult to take into account both accuracy and efficiency in flood disaster simulation, especially in complex and large-scale scenarios. It is impossible to simulate the flood diffusion range and destructiveness to transmission lines in real time. It is also difficult to deal with the calculation and programming. Complex boundary conditions.

Method used

The SPH fluid dynamics method is used to establish a numerical model of SPH fluid simulation. By solving shallow water equations, the motion behavior of fluid particles is controlled, the calculation volume is reduced, the SPH-SWE numerical model is constructed, and the flood simulation program is written to simulate the height and motion behavior of fluid particles. , predict flood disaster risks in real time.

Benefits of technology

It has achieved the reduction of computing volume at the numerical calculation level, improved simulation efficiency, and can conduct real-time and accurate flood simulation, predict the flood diffusion range and surge, evaluate the destructiveness of transmission lines, and assist in decision-making and disaster prevention measures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917235A_ABST
    Figure CN118917235A_ABST
Patent Text Reader

Abstract

The invention discloses a power transmission line scene flood disaster risk prediction method and system, and the method comprises the steps: building an SPH fluid simulation numerical model of power transmission line scene flood according to a smoothed particle fluid dynamics method, solving a shallow water equation, and obtaining a continuity equation and a momentum conservation equation of the shallow water equation in a Lagrange form; constructing an SPH-SWE numerical model on the basis of the two equations; writing a flood simulation program based on the SPH-SWE numerical model; and acquiring three-dimensional point cloud data of the power transmission line scene in real time, and importing the three-dimensional point cloud data into a flood simulation program to simulate the height and movement behavior of each fluid particle so as to complete risk prediction of the flood disaster of the power transmission line scene. According to the method, the fluid simulation numerical model is established by adopting the SPH method, and the shallow water equation is solved, so that the particle motion behaviors of the fluid in the horizontal direction and the longitudinal direction are respectively controlled, the motion behavior calculation amount is reduced, and the simulation operation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of disaster prediction and protection, and in particular to a method and system for predicting flood disaster risks in power transmission line scenarios. Background Art

[0002] In the field of computer fluid simulation technology, accurate simulation and restoration of fluid surface motion and efficient simulation rate have always been two major problems that are difficult to balance. In the face of scenes with high simulation accuracy requirements, the SPH (Smoothed Particle Hydrodynamics) particle method is usually used to discretize the fluid domain, and then the final motion effect is obtained by tracking the motion behavior of each particle itself and superimposing the effects of its nearby particles on it. The fluid simulation effect of this method is real and reliable, but usually requires a large number of particles, especially when facing large-scale scenes, and it is impossible to reach the level of real-time simulation; and when pursuing efficient fluid simulation effects, the Euler grid method is usually used, that is, the shallow water equation is obtained after solving the NS equation. The surface motion of the target fluid is simulated by this grid method. Although the efficiency is improved to a certain extent, it cannot restore the key real details of the fluid motion. Therefore, it is not suitable for the simulation of scenes such as flood surges, open boundary basins, and reservoir dam breaches with high precision requirements. It is difficult to handle free surfaces and complex terrains, and cannot simulate the flow and erosion of water on land.

[0003] In recent years, the application of computer fluid simulation technology in flood simulation has become more and more extensive, and the commonly used methods are finite element method and finite difference method. For the finite element method, the entire continuous flood area is first discretized into units, such as triangles, tetrahedrons or other shaped areas, and then a collection of these units is used to build a complete flood area model, and the movement of water flow, including water flow speed, water level, etc., is simulated by solving the equations on each unit. Although this method can take into account the influence of complex factors such as terrain and hydraulic structures, and can adapt to the irregular shape of flood areas, the finite element method requires discretization of the entire flood area and solves the equations on each unit. Therefore, the amount of calculation is large, the programming implementation is relatively complex, and more code and computing resources are required. At the same time, the ability to handle complex boundary conditions is weak, such as irregular river channels, hydraulic structures, etc. The finite difference method is to discretize the continuous time and space into a series of grid points, and then approximate the differential equations of water flow movement at each grid point, and calculate the next water level and flow rate in each time step based on the water level and flow rate of the previous step. This method is simple and intuitive, easy to program, and the finite difference method has high efficiency when dealing with regular flood areas. However, for complex flood area shapes and boundary conditions, the finite difference method may require finer grids and more complex algorithms to ensure the accuracy of the simulation. The quality of the grid has a great influence on the simulation results. If the grid quality is not good, it may lead to large errors in the simulation results. At the same time, when the simulated water flow speed is high or there is a rapid flow, problems such as numerical oscillation may occur. Summary of the invention

[0004] The embodiment of the present invention provides a method and system for predicting flood disaster risks in a power transmission line scenario, which adopts the SPH method for simulation modeling, controls the particle motion behavior of the fluid in the horizontal direction, controls the longitudinal motion behavior of the fluid by solving the shallow water equation, reduces the amount of motion behavior calculation, and improves the operation efficiency of the simulation.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a method for predicting flood disaster risk in a transmission line scenario, comprising:

[0006] According to the smoothed particle fluid dynamics method, the SPH fluid simulation numerical model of the transmission line flood scenario is established, and the shallow water equation is solved to obtain the continuity equation and momentum conservation equation of the shallow water equation in Lagrangian form;

[0007] Based on the continuity equation and the momentum conservation equation, constructing a SPH-SWE numerical model;

[0008] Based on the SPH-SWE numerical model, write a flood simulation program;

[0009] The three-dimensional point cloud data of the transmission line scene is acquired in real time, and the three-dimensional point cloud data is imported into the flood simulation program so that the flood simulation program simulates the height and movement behavior of each fluid particle to complete the risk prediction of the flood disaster in the transmission line scene.

[0010] In implementing the embodiment of the present invention, a smooth particle fluid dynamics method is adopted to establish an SPH fluid simulation numerical model of the transmission line scenario to control the particle motion behavior of the fluid in the horizontal direction and ensure the authenticity of the fluid motion simulation, and solve the shallow water equation to obtain the continuity equation and the momentum conservation equation of the shallow water equation in the Lagrangian form to control the longitudinal motion behavior of the fluid, and by solving the shallow water equation (SWE), the amount of motion behavior calculation is reduced, and then based on the continuity equation and the momentum conservation equation, an SPH-SWE numerical model is constructed, which can simulate and reproduce flood scenarios. At the numerical calculation level, the numerical model greatly reduces the amount of calculation, while ensuring the running efficiency of the simulation, so that users can perform real-time and accurate flood simulation. Next, based on the SPH-SWE numerical model, a flood simulation program was written. The flood simulation program can simulate the height and movement behavior of each fluid particle in the flood, allowing users to predict the flood diffusion range, flow rate, surge and other parameters of the transmission line scenario in real time, evaluate the destructiveness of the flood to the transmission line, and assist in decision-making to determine the high-risk location, so that users can plan the task content in advance, take preventive measures, and maximize the protection of personal and facility property.

[0011] As a preferred solution, the SPH-SWE numerical model is constructed based on the continuity equation and the momentum conservation equation, specifically:

[0012] Based on the continuity equation and the momentum conservation equation, a height approximation equation for fluid particles is introduced to construct a momentum conservation equation that takes terrain and external forces into consideration;

[0013] The SPH-SWE numerical model is constructed using the momentum conservation equation considering the terrain and external forces.

[0014] The preferred scheme for implementing the embodiment of the present invention introduces a highly approximate equation for fluid particles based on the continuity equation and the momentum conservation equation, and incorporates the terrain and external forces into the momentum conservation equation, which can more accurately describe the various influencing factors in the flood flow process. Then, the SPH-SWE numerical model constructed by the momentum conservation equation considering the terrain and external forces can better simulate the dynamic process of flood flow, and the influence of terrain and external forces can be more accurately calculated and simulated.

[0015] As a preferred solution, the momentum conservation equation considering terrain and external forces is used to construct the SPH-SWE numerical model, specifically:

[0016] Taking the flood of the transmission line scenario as the target fluid, establishing a height value equation of the fluid particles of the target fluid during the movement process;

[0017] The momentum conservation equation considering the terrain and external force, and the height value equation of the fluid particles of the target fluid during the movement process are used to construct the SPH-SWE numerical model.

[0018] A preferred scheme for implementing the embodiments of the present invention is to construct an SPH-SWE numerical model based on the momentum conservation equation considering terrain and external forces and the height value equation of fluid particles. Through the SPH-SWE numerical model, the interaction force between fluid particles and the particle interpolation technology based on the SPH method can be combined to more accurately simulate the dynamics of flood flow and further calculate the surge, hydraulic and mechanical effects of floods in transmission line scenarios.

[0019] As a preferred solution, the SPH fluid simulation numerical model for power transmission line flooding is established according to the smoothed particle fluid dynamics method, specifically:

[0020] According to the smooth particle fluid dynamics method, the flood in the transmission line scene is taken as the target fluid, and the target fluid is discretely sampled to obtain the physical properties of the fluid particles of the target fluid; wherein the physical properties of the fluid particles of the target fluid include: density, acceleration, velocity and pressure of the fluid particles of the target fluid;

[0021] Based on the physical properties of the fluid particles of the target fluid and in combination with a preset smooth kernel function, a calculation formula for the fluid density value, the fluid velocity value and the pressure value of the target fluid is obtained by analysis;

[0022] The calculation formula of the fluid density value, fluid velocity value and pressure value of the target fluid and the gravitational acceleration are substituted into the NS equation in Lagrangian form to obtain the SPH fluid simulation numerical model.

[0023] A preferred scheme for implementing the embodiments of the present invention is to discretely sample the flood target fluid in the transmission line scenario to obtain physical properties such as density, acceleration, velocity and pressure of the fluid particles of the target fluid, and based on the physical properties of the fluid particles of the target fluid, combined with a preset smooth kernel function, analyze and obtain calculation formulas for the fluid density value, fluid velocity value and pressure value of the target fluid. Through these calculation formulas, techniques such as the calculation of fluid particle interaction forces and particle interpolation can be derived and optimized to approximately describe the dynamic changes of the target fluid during the simulation process.

[0024] As a preferred solution, the physical properties of the fluid particles of the target fluid are combined with a preset smooth kernel function to analyze and obtain the calculation formula of the fluid density value, fluid velocity value and pressure value of the target fluid, specifically:

[0025] Based on the physical properties of each fluid particle and in combination with the poly6 smooth kernel function, a density formula at the particle of the target fluid is established; wherein the density formula at the particle is used to calculate the particle density value at any position of the target fluid;

[0026] Using the ideal gas state equation, a pressure formula at the particle of the target fluid is established; wherein the pressure formula at the particle is used to calculate the particle pressure value at any position of the target fluid;

[0027] A force analysis is performed on fluid particles of the target fluid, and a calculation formula for the fluid velocity of the target fluid is established based on the analysis result.

[0028] The preferred scheme of the embodiment of the present invention is implemented by combining the poly6 smooth kernel function and the physical properties of the fluid particles to establish a density formula at the particle of the target fluid, which is used to calculate the particle density value of the target fluid at any position, so as to achieve high-precision simulation of the target fluid, help analyze and predict the flow of the target fluid, and improve the accuracy and reliability of the simulation results. In addition, through the ideal gas state equation, combined with the physical properties of the fluid particles, a pressure formula at the particle of the target fluid is established to calculate the particle pressure value of the target fluid at any position, which helps to analyze the dynamic characteristics and pressure distribution of the target fluid, and further provide a reference for the simulation results.

[0029] As a preferred solution, the force analysis is performed on the fluid particles of the target fluid, and a calculation formula for the fluid velocity of the target fluid is established according to the analysis results, which is specifically:

[0030] Based on the pressure formula at the particle and the density formula at the particle, combined with the Spiky smooth kernel function, a particle motion acceleration formula is established, and based on the velocity of the fluid particles of the target fluid and the density formula at the particle, combined with the viscosity kernel function, a viscosity acceleration formula is established; wherein the particle motion acceleration formula is used to calculate the particle motion acceleration generated by the pressure on the fluid particles of the target fluid; the viscosity acceleration formula is used to calculate the viscosity acceleration generated by the viscosity force on the fluid particles of the target fluid;

[0031] A force analysis is performed on the fluid particles of the target fluid, and the gravity acceleration, the particle motion acceleration formula and the viscosity acceleration formula are synthesized according to the analysis results to obtain a combined acceleration formula, and based on the combined acceleration formula, the movement speed of the fluid particles at any position is analyzed to obtain a calculation formula for the fluid speed of the target fluid; wherein the combined acceleration formula is used to calculate the combined acceleration of the fluid particles of the target fluid at any position.

[0032] The preferred scheme of the embodiment of the present invention is to establish a viscosity acceleration formula by combining the Spiky smooth kernel function and the viscosity kernel function to calculate the particle motion acceleration of the fluid particles of the target fluid caused by the viscosity force, which can help analyze the action mechanism of the viscosity force of the target fluid and the influence of the viscosity property on the fluid motion, and is of great significance for simulating complex flow processes and analyzing the viscosity distribution of fluids. In addition, according to the force analysis results of the fluid particles of the target fluid, the gravity acceleration, the particle motion acceleration formula and the viscosity acceleration formula are synthesized to obtain a combined acceleration formula, and based on the combined acceleration formula, the movement speed of the target fluid particles at any position is analyzed, which can predict the flow and evolution process of the fluid, analyze the dynamic characteristics of the fluid motion and the conservation of energy and other issues, thereby improving the accuracy and reliability of the simulation results.

[0033] In order to solve the same technical problem, an embodiment of the present invention further provides a transmission line scene flood disaster risk prediction system, comprising:

[0034] Modeling and solving module, used to establish the SPH fluid simulation numerical model of the transmission line scene flood according to the smooth particle fluid dynamics method, and solve the shallow water equation to obtain the continuity equation and momentum conservation equation of the shallow water equation in Lagrangian form;

[0035] A construction module, for constructing a SPH-SWE numerical model based on the continuity equation and the momentum conservation equation;

[0036] A writing module, used for writing a flood simulation program based on the SPH-SWE numerical model;

[0037] The prediction module is used to obtain the three-dimensional point cloud data of the transmission line scene in real time, and import the three-dimensional point cloud data into the flood simulation program so that the flood simulation program simulates the height and movement behavior of each fluid particle to complete the risk prediction of the flood disaster in the transmission line scene.

[0038] As a preferred solution, the building blocks specifically include:

[0039] A first construction unit is used to introduce a height approximation equation of fluid particles based on the continuity equation and the momentum conservation equation, and to construct a momentum conservation equation that takes terrain and external forces into consideration;

[0040] The second construction unit is used to construct the SPH-SWE numerical model by using the momentum conservation equation considering the terrain and external force.

[0041] As a preferred solution, the modeling and solving module is specifically:

[0042] A discrete sampling unit is used for discretely sampling the target fluid according to the smooth particle fluid dynamics method, taking the flood of the transmission line scene as the target fluid, and obtaining the physical properties of the fluid particles of the target fluid; wherein the physical properties of the fluid particles of the target fluid include: density, acceleration, velocity and pressure of the fluid particles of the target fluid;

[0043] An analysis unit, configured to analyze and obtain a calculation formula for a fluid density value, a fluid velocity value, and a pressure value of the target fluid based on the physical properties of the fluid particles of the target fluid in combination with a preset smooth kernel function;

[0044] A substitution unit is used to substitute the calculation formula of the fluid density value, fluid velocity value and pressure value of the target fluid, and the gravitational acceleration into the NS equation in Lagrangian form to obtain an SPH fluid simulation numerical model;

[0045] The solving unit is used for solving the shallow water equation according to the smoothed particle hydrodynamics method, and obtaining the continuity equation and momentum conservation equation of the shallow water equation in Lagrangian form.

[0046] As a preferred solution, the analysis unit specifically includes:

[0047] The first establishment subunit is used to establish a density formula at the particle of the target fluid based on the physical properties of each fluid particle and in combination with the poly6 smooth kernel function; wherein the density formula at the particle is used to calculate the particle density value at any position of the target fluid;

[0048] The second establishing subunit is used to establish a pressure formula at a particle of the target fluid using an ideal gas state equation; wherein the pressure formula at a particle is used to calculate a particle pressure value at any position of the target fluid;

[0049] The third establishing subunit is used to perform force analysis on the fluid particles of the target fluid, and establish a calculation formula for the fluid velocity of the target fluid according to the analysis result. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1: A schematic diagram of a flow chart of a method for predicting flood disaster risk in a power transmission line scenario provided in Embodiment 1 of the present invention;

[0051] Figure 2 : A structural diagram of a transmission line scenario flood disaster risk prediction system provided in Example 1 of the present invention. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] Embodiment one:

[0054] Please refer to Figure 1 , is a method for predicting flood disaster risk in a power transmission line scenario provided by an embodiment of the present invention, the method comprises steps S1 to S3, each step is specifically as follows:

[0055] Step S1, according to the smoothed particle fluid dynamics method, an SPH fluid simulation numerical model of the transmission line scene flood is established, and the shallow water equation is solved to obtain the continuity equation and momentum conservation equation of the shallow water equation in Lagrangian form.

[0056] As a preferred solution, step S1 includes steps S11 to S14, and each step is specifically as follows:

[0057] Step S11, according to the smooth particle hydrodynamics method (SPH method), taking the flood of the transmission line scene as the target fluid, discrete sampling is performed on the target fluid to obtain the physical properties of the fluid particles of the target fluid. These sampling points are smooth fluid particles, and each particle represents a part of the fluid area.

[0058] The physical properties of the fluid particles of the target fluid include, but are not limited to: density, acceleration, velocity and pressure of the fluid particles of the target fluid.

[0059] Step S12, based on the physical properties of the fluid particles of the target fluid and in combination with a preset smooth kernel function, a calculation formula for the fluid density value, the fluid velocity value and the pressure value of the target fluid is analyzed and obtained.

[0060] As a preferred solution, step S12 includes step S121 to step S123, and each step is specifically as follows:

[0061] Step S121, based on the physical properties of each fluid particle and in combination with the poly6 smooth kernel function, establish a particle density formula of the target fluid as shown in formula (2).

[0062] In this embodiment, the core idea of ​​the SPH method is to calculate the physical properties of the target fluid at that location according to the physical properties of the neighboring particles of the fluid particles through an interpolation method. For details, please refer to formula (1).

[0063]

[0064] Where A(x) represents the physical properties of the target fluid at position x; A j represents the physical properties of particle j; m j and ρ j They represent the mass and density of particle j within the smooth radius at position x, respectively; X ij represents the space vector between particle i and particle j; W(x ij ,h) represents the smooth kernel function; h represents the smooth radius.

[0065] According to formula (1), the calculation formula of the particle density of the target fluid at a certain location is derived. For details, please refer to formula (2).

[0066]

[0067] In the formula, x i represents the position of particle i in space; ρ(x i ) indicates that the target fluid is at position X i In the three-dimensional SPH method, the poly6 smooth kernel function is generally used to calculate the density value of particles at a specific position. Therefore, when the mass and shape of the simulated particles are kept consistent, combining equation (2) and The density formula at the particle can be derived as shown in formula (3). The density formula at the particle shown in formula (3) is used to calculate the particle density value at any position of the target fluid.

[0068] Step S122, using the ideal gas state equation of formula (4), establish a formula for the pressure at the particle of the target fluid.

[0069] The particle pressure formula is used to calculate the particle pressure value at any position of the target fluid.

[0070] p=k(ρ-ρ0); (4)

[0071] Wherein, p represents the particle pressure value at any position of the target fluid; ρ represents the particle density value at any position of the target fluid; ρ0 represents the static density of the fluid; and k represents a constant term related to the fluid.

[0072] Step S123, performing force analysis on fluid particles of the target fluid, and establishing a calculation formula for the fluid velocity of the target fluid based on the analysis result.

[0073] In this embodiment, after analyzing the force on the fluid particles of the target fluid, it can be known that the force on the fluid particles includes: the pressure F generated by the pressure difference inside the fluid pressure , the viscosity force F caused by the different movement speeds of fluid particles viscosity , and gravity F external Therefore, the formula for calculating the resultant force on the fluid particles is shown in formula (5).

[0074] F=F external +F pressure +F viscosity ; (5)

[0075] As a preferred solution, step S123 includes step S1231 to step S1232, and each step is specifically as follows:

[0076] Step S1231, based on the pressure formula at the particle and the density formula at the particle, establish the pressure calculation formula of formula (6), and then combine with the Spiky smooth kernel function of formula (7) to establish the particle motion acceleration formula of formula (8); based on the velocity of the fluid particles of the target fluid and the density formula at the particle, establish the viscosity force calculation formula of formula (10), and combine with the viscosity kernel function of formula (11) to establish the viscosity force acceleration formula of formula (12).

[0077] The particle motion acceleration formula is used to calculate the particle motion acceleration generated by the pressure on the fluid particles of the target fluid; the viscous force acceleration formula is used to calculate the viscous force acceleration generated by the viscous force on the fluid particles of the target fluid.

[0078]

[0079] In the formula, represents the magnitude of the pressure at the fluid particle i; The pressure at the fluid particle i is obtained by calculating the negative value of the gradient of the pressure at the fluid particle i; p j represents the pressure at the fluid particle j. ij ,h) is the Spiky smooth kernel function, Spiky smooth kernel function W spiky The form of (x,h) can be found in equation (7).

[0080]

[0081] According to the Spiky smooth kernel function, the particle motion acceleration caused by pressure can be found in formula (8).

[0082]

[0083] Viscosity force caused by the difference in speed between fluid particle i and other fluid particles Equal to the viscosity term between fluid particles The calculation formula is shown in formula (9).

[0084]

[0085] Where μ is the fluid viscosity coefficient, which represents the ability of the fluid to deform; v j represents the velocity of fluid particle j of the target fluid. Similarly, the force imbalance problem also exists in the calculation results here. Since the change of the velocity field depends only on the velocity difference between particles, not the absolute velocity, the calculation of the viscosity force is adjusted by using the relative velocity to obtain the calculation formula shown in formula (10) to achieve balance.

[0086]

[0087] In the formula, v i represents the velocity of fluid particle i of the target fluid. The viscosity force is caused by the velocity difference between particles. The viscosity kernel function makes the velocity field smooth, which helps to achieve a more stable and accurate simulation effect. ij ,h) is the viscosity kernel function, and the viscosity acceleration formula can be obtained by referring to formula (12). The viscosity kernel function W viscosity For the form of (x,h), please refer to formula (11).

[0088]

[0089] In step S1232, a force analysis is performed on the fluid particles of the target fluid, and the gravity acceleration, the particle motion acceleration formula and the viscosity acceleration formula are synthesized according to the analysis results to obtain the combined acceleration formula shown in formula (13), and based on the combined acceleration formula, the movement speed of the fluid particles at any position is analyzed to obtain the calculation formula for the fluid speed of the target fluid.

[0090]

[0091] The total acceleration formula is used to calculate the total acceleration of the fluid particles of the target fluid at any position. By introducing the total acceleration, the motion behavior of each particle can be described.

[0092] Step S13, substitute the calculation formula of the fluid density value, fluid velocity value and pressure value of the target fluid, and the gravitational acceleration into the NS equation in Lagrangian form of equation (14) to obtain the SPH fluid simulation numerical model.

[0093]

[0094] In the formula, represents the material derivative, ρ represents the fluid density, v represents the fluid velocity, p represents the pressure, g represents the gravitational acceleration, μ represents the kinematic viscosity coefficient, and t represents the time.

[0095] Step S14, solving the shallow water equation to obtain the continuity equation and momentum conservation equation of the shallow water equation in Lagrangian form. The continuity equation is shown in equation (15), and the momentum conservation equation is shown in equation (16).

[0096]

[0097] In the formula, is the material derivative; h represents the overall height of the water body; and u represents the velocity vector in the horizontal direction. Solving the shallow water equation using the SPH method is actually solving equations (15) and (16) based on the 2D SPH particle simulation. Therefore, the particle velocity field in the horizontal direction will be calculated based on the 2D SPH simulation method.

[0098] Step S2, constructing the SPH-SWE numerical model based on the continuity equation and the momentum conservation equation.

[0099] As a preferred solution, step S2 includes step S21 to step S22, and each step is specifically as follows:

[0100] Step S21, based on the continuity equation and momentum conservation equation, introduce the height approximation equation of the fluid particles Construct the momentum conservation equation considering terrain and external forces as shown in equation (17).

[0101]

[0102] In the formula, ρ 2D is the density of SPH particles in 2D; ρ 3D is the water density in 3D, which is a constant value; H is the terrain height; a ext is the external acceleration; ρ 2D The calculation formula of is the same as that of SPH particle density in 2D case, see formula (18).

[0103]

[0104] In the formula, ρ2D (r i ) is the density at the 2D SPH particle i; m j 2D is the mass of the SPH particle; W poly6 (r i -r j ) is the poly6 smooth kernel function; h is the smooth search radius.

[0105] Step S22, constructing the SPH-SWE numerical model using the momentum conservation equation taking into account the terrain and external forces.

[0106] As a preferred solution, step S22 includes step S221 to step S222, and each step is specifically as follows:

[0107] Step S221, taking the flood in the transmission line scene as the target fluid, establishes a height value equation of the fluid particles of the target fluid during the movement process as shown in equation (19).

[0108] It should be noted that in real-time simulation combined with complex terrain, the equation for the final height value of fluid particle i during movement can be found in equation (19); where: H i is the terrain height corresponding to the bottom of the water.

[0109] y i 2D =h i +H i ; (19)

[0110] In step S222, the momentum conservation equation considering terrain and external forces as shown in equation (17) and the height value equation of the fluid particles of the target fluid during the motion as shown in equation (19) are used to construct the SPH-SWE numerical model.

[0111] In this embodiment, a smooth kernel function suitable for 2D SPH fluid simulation is used, specifically: see formula (20) for the poly6 kernel function used to calculate the density, see formula (21) for the gradient function used to calculate the pressure, and see formula (22) for the Laplace operator used to calculate the viscosity force.

[0112]

[0113] Where h represents the radius of the smooth kernel; r is the distance between the current particle and the neighboring particles; r i -r j Represents the vector difference between the current particle and the neighboring particles.

[0114] Step S3, writing a flood simulation program based on the SPH-SWE numerical model.

[0115] In this embodiment, this step includes step S31 to step S32, and each step is specifically as follows:

[0116] Step S31, build a program framework based on the U3D platform, and use C# to write a code script, and complete the parallel operation program writing based on U3D's ComputeShader. First, the operation of the C# script is completed serially on the CPU, while ComputeShader runs on the GPU and is independent of the conventional rendering pipeline. Compute Shader allows users to put a large number of parallel computing tasks on the GPU, saving CPU resources and improving the efficiency of calculation. In this method, the program for particle initialization creation is run in C#, and the physical quantity calculation and update between each particle is completed independently and in parallel in Compute Shader. In the program writing stage, first initialize and create all particle entities in the C# script at one time, and store these particles in a GameObject array. Then, create a corresponding structure for all physical properties of the particle. The content in the structure defines the specific properties of each property, such as the particle position is represented by a three-dimensional vector, and the particle density is represented by a floating point number. In order to exchange physical quantity data between the C# script and the Compute Shader, a corresponding Compute Buffer is created. After the creation is completed, use InitBuffer<struct type>(number of particles, ref corresponding physical quantity Buffer) in the C# script to initialize an independent Buffer for all particles to store the calculation results of their own physical quantities. After completing the Buffer initialization, divide the calculation task into N thread groups. Each thread group contains 1024 threads, and each thread undertakes the calculation task of a particle physical quantity. Next, define four kernel functions in Compute Shader, each kernel function is responsible for the calculation of density, pressure, particle force, and particle final position. When the program is initialized, the initial physical properties of the particles are simultaneously passed to Compute Shader through the SetBuffer method. According to the calculation process of density, pressure, force, and particle final position, the threads between each particle perform independent and parallel calculations. When the new particle position is calculated, the obtained particle position information is passed to the C# script with the help of SwapBuffer operation to update the latest position of the particle.

[0117] Step S32, call the WebGPU API to convert the program content into Compute Shader code suitable for the Web (Shader programming based on the Web is more complicated, so it is first based on U3D programming and then converted), and deployed to the station platform. This step is a relatively important step. It is necessary to package and export the script written based on the U3D platform and the Compute Shader, and convert it into JS script code according to the script code logic for migration to the Web system. Secondly, the Compute Shader code written in U3D cannot be directly called by the Web system. It is necessary to first call the WebGPU API and convert it into Compute Shader code suitable for the Web according to the Copmpute Shader calculation logic of U3D to form a flood simulation program. After completing the above two operations, the new code is packaged and published to the system platform container for containerized application deployment to provide flood simulation computing capabilities.

[0118] Step S4, acquiring the three-dimensional point cloud data of the transmission line scene in real time, and importing the three-dimensional point cloud data into the flood simulation program, so that the flood simulation program simulates the height and movement behavior of each fluid particle, and completes the risk prediction of flood disasters in the transmission line scene.

[0119] It should be noted that the typical application scenario of this embodiment is the power transmission line scenario. Therefore, it is necessary to use laser radar, drones and other equipment on site to perform tilted model photography or point cloud data collection to provide point information of the three-dimensional model, including the horizontal position and height information in the three-dimensional space. The height information is the most critical and will be used to import equations (17) and (19) for calculation and processing to obtain the final height and movement of each fluid particle. The distribution and height value of the fluid particles are analyzed to obtain key information. After completing the flood scenario simulation of the power transmission line based on the war-end platform, the program script will automatically record the particle distribution during the simulation operation, provide the operation trajectory data file, and draw a flow rate and velocity color map on the front end accordingly. The user can intuitively see which areas are most strongly impacted by the flood. The corresponding areas will be highlighted on the front end and accompanied by warning information reminders. Secondly, the program analysis gives the extreme value area of ​​the fluid particle height. The user can intuitively see which areas are facing the risk of flooding, avoid the corresponding risk area in advance during task planning, complete the task safely and smoothly, and assist the user in deciding the areas that should be protected before the disaster, take precautions, and reduce property losses.

[0120] Please refer to Figure 2 , is a schematic diagram of the structure of a transmission line scenario flood disaster risk prediction system provided by an embodiment of the present invention, the system includes a modeling and solving module M1, a construction module M2, a writing module M3 and a prediction module M4, and each module is specifically as follows:

[0121] Modeling and solving module M1 is used to establish the SPH fluid simulation numerical model of the transmission line scene flood according to the smooth particle fluid dynamics method, and solve the shallow water equation to obtain the continuity equation and momentum conservation equation of the shallow water equation in Lagrangian form;

[0122] Building module M2, used to build the SPH-SWE numerical model based on the continuity equation and momentum conservation equation;

[0123] Writing module M3, used to write flood simulation program based on SPH-SWE numerical model;

[0124] The prediction module M4 is used to obtain the three-dimensional point cloud data of the transmission line scene in real time, and import the three-dimensional point cloud data into the flood simulation program so that the flood simulation program simulates the height and movement behavior of each fluid particle to complete the risk prediction of flood disasters in the transmission line scene.

[0125] As a preferred solution, the building module M2 specifically includes a first building unit 21 and a second building unit 22, and each unit is specifically as follows:

[0126] A first construction unit 21 is used to introduce a height approximation equation of fluid particles based on the continuity equation and the momentum conservation equation, and to construct a momentum conservation equation that takes terrain and external forces into consideration;

[0127] The second construction unit 22 is used to construct the SPH-SWE numerical model by using the momentum conservation equation considering the terrain and external forces.

[0128] As a preferred solution, the modeling and solving module M1 specifically includes a discrete sampling unit 11, an analysis unit 12, a substitution unit 13 and a solving unit 14, and the specific details of each unit are as follows:

[0129] The discrete sampling unit 11 is used to perform discrete sampling on the target fluid according to the smooth particle fluid dynamics method, taking the flood of the transmission line scene as the target fluid, and obtaining the physical properties of the fluid particles of the target fluid; wherein the physical properties of the fluid particles of the target fluid include: density, acceleration, velocity and pressure of the fluid particles of the target fluid;

[0130] An analysis unit 12 is used to analyze and obtain a calculation formula for a fluid density value, a fluid velocity value and a pressure value of the target fluid based on the physical properties of the fluid particles of the target fluid in combination with a preset smooth kernel function;

[0131] Substitution unit 13 is used to substitute the calculation formula of the fluid density value, fluid velocity value and pressure value of the target fluid and the gravity acceleration into the NS equation in Lagrangian form to obtain the SPH fluid simulation numerical model;

[0132] The solving unit 14 is used to solve the shallow water equation according to the smoothed particle fluid dynamics method to obtain the continuity equation and momentum conservation equation of the shallow water equation in Lagrangian form.

[0133] As a preferred solution, the analysis unit 12 specifically includes a first establishment subunit 121, a second establishment subunit 122 and a third establishment subunit 123, and each unit is specifically as follows:

[0134] The first establishing subunit 121 is used to establish a density formula at the particle of the target fluid based on the physical properties of each fluid particle and in combination with the poly6 smooth kernel function; wherein the density formula at the particle is used to calculate the particle density value at any position of the target fluid;

[0135] The second establishing subunit 122 is used to establish a pressure formula at a particle of the target fluid using an ideal gas state equation; wherein the pressure formula at a particle is used to calculate a particle pressure value at any position of the target fluid;

[0136] The third establishing subunit 123 is used to perform force analysis on fluid particles of the target fluid and establish a calculation formula for the fluid velocity of the target fluid according to the analysis result.

[0137] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0138] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0139] The present invention provides a method and system for predicting flood disaster risks in a power transmission line scenario. The smooth particle fluid dynamics method is adopted to establish an SPH fluid simulation numerical model for the power transmission line scenario to control the particle motion behavior of the fluid in the horizontal direction and ensure the authenticity of the fluid motion simulation. The shallow water equation is solved to obtain the continuity equation and the momentum conservation equation of the shallow water equation in the Lagrangian form to control the longitudinal motion behavior of the fluid. The amount of motion behavior calculation is reduced by solving the shallow water equation. Then, based on the continuity equation and the momentum conservation equation, an SPH-SWE numerical model is constructed to simulate and reproduce flood scenarios. At the numerical calculation level, the numerical model greatly reduces the amount of calculation and can ensure the running efficiency of the simulation, so that users can perform real-time and accurate flood simulation. Next, based on the SPH-SWE numerical model, a flood simulation program was written. The flood simulation program can simulate the height and movement behavior of each fluid particle in the flood, allowing users to predict the flood diffusion range, flow rate, surge and other parameters of the transmission line scenario in real time, evaluate the destructiveness of the flood to the transmission line, and assist in decision-making to determine the high-risk location, so that users can plan the task content in advance, take preventive measures, and maximize the protection of personal and facility property.

[0140] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for predicting flood disaster risk in a power transmission line scenario, characterized in that: include: According to the smoothed particle fluid dynamics method, the SPH fluid simulation numerical model of the transmission line flood scenario is established, and the shallow water equation is solved to obtain the continuity equation and momentum conservation equation of the shallow water equation in Lagrangian form; Based on the continuity equation and the momentum conservation equation, constructing a SPH-SWE numerical model; Based on the SPH-SWE numerical model, write a flood simulation program; The three-dimensional point cloud data of the transmission line scene is acquired in real time, and the three-dimensional point cloud data is imported into the flood simulation program so that the flood simulation program simulates the height and movement behavior of each fluid particle to complete the risk prediction of the flood disaster in the transmission line scene.

2. A method for predicting flood disaster risk in a power transmission line scenario according to claim 1, characterized in that: Based on the continuity equation and the momentum conservation equation, the SPH-SWE numerical model is constructed, specifically: Based on the continuity equation and the momentum conservation equation, a height approximation equation for fluid particles is introduced to construct a momentum conservation equation that takes terrain and external forces into consideration; The SPH-SWE numerical model is constructed using the momentum conservation equation considering the terrain and external forces.

3. A method for predicting flood disaster risk in a power transmission line scenario as claimed in claim 2, characterized in that: The SPH-SWE numerical model is constructed by using the momentum conservation equation considering terrain and external forces, specifically: Taking the flood of the transmission line scenario as the target fluid, establishing a height value equation of the fluid particles of the target fluid during the movement process; The momentum conservation equation considering the terrain and external force, and the height value equation of the fluid particles of the target fluid during the movement process are used to construct the SPH-SWE numerical model.

4. A method for predicting flood disaster risk in a power transmission line scenario according to any one of claims 1 to 3, characterized in that: According to the smoothed particle fluid dynamics method, an SPH fluid simulation numerical model for power transmission line flooding is established, specifically: According to the smoothed particle fluid dynamics method, taking the flood of the transmission line scene as the target fluid, discrete sampling is performed on the target fluid to obtain the physical properties of the fluid particles of the target fluid; Wherein, the physical properties of the fluid particles of the target fluid include: density, acceleration, velocity and pressure of the fluid particles of the target fluid; Based on the physical properties of the fluid particles of the target fluid and in combination with a preset smooth kernel function, a calculation formula for the fluid density value, the fluid velocity value and the pressure value of the target fluid is obtained by analysis; The calculation formula of the fluid density value, fluid velocity value and pressure value of the target fluid and the gravitational acceleration are substituted into the NS equation in Lagrangian form to obtain the SPH fluid simulation numerical model.

5. A method for predicting flood disaster risk in a power transmission line scenario as claimed in claim 4, characterized in that: The physical properties of the fluid particles of the target fluid are combined with a preset smooth kernel function to analyze and obtain the calculation formula of the fluid density value, fluid velocity value and pressure value of the target fluid, which is specifically: Based on the physical properties of each fluid particle and in combination with the poly6 smooth kernel function, a density formula at the particle of the target fluid is established; wherein the density formula at the particle is used to calculate the particle density value at any position of the target fluid; Using the ideal gas state equation, a pressure formula at the particle of the target fluid is established; wherein the pressure formula at the particle is used to calculate the particle pressure value at any position of the target fluid; A force analysis is performed on fluid particles of the target fluid, and a calculation formula for the fluid velocity of the target fluid is established based on the analysis result.

6. A method for predicting flood disaster risk in a power transmission line scenario as claimed in claim 5, characterized in that: The force analysis is performed on the fluid particles of the target fluid, and according to the analysis results, a calculation formula for the fluid velocity of the target fluid is established, which is specifically: Based on the pressure formula at the particle and the density formula at the particle, combined with the Spiky smooth kernel function, a particle motion acceleration formula is established, and based on the velocity of the fluid particles of the target fluid and the density formula at the particle, combined with the viscosity kernel function, a viscosity acceleration formula is established; wherein the particle motion acceleration formula is used to calculate the particle motion acceleration generated by the pressure on the fluid particles of the target fluid; the viscosity acceleration formula is used to calculate the viscosity acceleration generated by the viscosity force on the fluid particles of the target fluid; A force analysis is performed on the fluid particles of the target fluid, and the gravity acceleration, the particle motion acceleration formula and the viscosity acceleration formula are synthesized according to the analysis results to obtain a combined acceleration formula, and based on the combined acceleration formula, the movement speed of the fluid particles at any position is analyzed to obtain a calculation formula for the fluid speed of the target fluid; wherein the combined acceleration formula is used to calculate the combined acceleration of the fluid particles of the target fluid at any position.

7. A transmission line flood disaster risk prediction system, characterized in that: include: Modeling and solving module, used to establish the SPH fluid simulation numerical model of the transmission line scene flood according to the smooth particle fluid dynamics method, and solve the shallow water equation to obtain the continuity equation and momentum conservation equation of the shallow water equation in Lagrangian form; A construction module, for constructing a SPH-SWE numerical model based on the continuity equation and the momentum conservation equation; A writing module, used for writing a flood simulation program based on the SPH-SWE numerical model; The prediction module is used to obtain the three-dimensional point cloud data of the transmission line scene in real time, and import the three-dimensional point cloud data into the flood simulation program so that the flood simulation program simulates the height and movement behavior of each fluid particle to complete the risk prediction of the flood disaster in the transmission line scene.

8. A power transmission line flood disaster risk prediction system as claimed in claim 7, characterized in that: The building blocks specifically include: A first construction unit is used to introduce a height approximation equation of fluid particles based on the continuity equation and the momentum conservation equation, and to construct a momentum conservation equation that takes terrain and external forces into consideration; The second construction unit is used to construct the SPH-SWE numerical model by using the momentum conservation equation considering the terrain and external force.

9. A power transmission line flood disaster risk prediction system as claimed in claim 7 or 8, characterized in that: The modeling and solving module is specifically: A discrete sampling unit is used for discretely sampling the target fluid according to the smooth particle fluid dynamics method, taking the flood of the transmission line scene as the target fluid, and obtaining the physical properties of the fluid particles of the target fluid; wherein the physical properties of the fluid particles of the target fluid include: density, acceleration, velocity and pressure of the fluid particles of the target fluid; An analysis unit, configured to analyze and obtain a calculation formula for a fluid density value, a fluid velocity value, and a pressure value of the target fluid based on the physical properties of the fluid particles of the target fluid in combination with a preset smooth kernel function; A substitution unit is used to substitute the calculation formula of the fluid density value, fluid velocity value and pressure value of the target fluid, and the gravitational acceleration into the NS equation in Lagrangian form to obtain an SPH fluid simulation numerical model; The solving unit is used for solving the shallow water equation according to the smoothed particle hydrodynamics method, and obtaining the continuity equation and momentum conservation equation of the shallow water equation in the Lagrangian form.

10. A power transmission line flood disaster risk prediction system according to claim 9, characterized in that: The analysis unit specifically comprises: The first establishment subunit is used to establish a density formula at the particle of the target fluid based on the physical properties of each fluid particle and in combination with the poly6 smooth kernel function; wherein the density formula at the particle is used to calculate the particle density value at any position of the target fluid; The second establishing subunit is used to establish a pressure formula at a particle of the target fluid using an ideal gas state equation; wherein the pressure formula at a particle is used to calculate a particle pressure value at any position of the target fluid; The third establishing subunit is used to perform force analysis on the fluid particles of the target fluid, and establish a calculation formula for the fluid velocity of the target fluid according to the analysis result.