A flow coefficient calculation system for a pneumatic shield dam

The system addresses the limitations of single-dimensional data in bubble dam flow coefficient calculations by integrating multi-source data and employing a hybrid model with RF-LSTM and GNN layers to improve prediction accuracy.

CN120086733BActive Publication Date: 2025-07-15QINGDAO HECHANG HIGH TECH EQUIP MFG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510563335.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-07-15
Estimated Expiration
2045-04-30

AI Technical Summary

Technical Problem

In the prior art, the data of the calculation method of the gas shield dam flow coefficient is relatively single, and it is difficult to deal with the influence of changes in the gas shield dam structure, dam top shape and incoming flow conditions on the flow coefficient from multiple dimensions.

Method used

A multi-source data acquisition module is used to integrate field measurement, physical model experiments and numerical simulation data, and key features are screened through feature engineering processing. A hybrid model includes RF-LSTM layer, GNN layer and fusion layer is used to perform multi-dimensional learning to predict the flow coefficient of the gas shield dam.

Benefits of technology

It improves the accuracy and reliability of the prediction of the flow coefficient of the gas shield dam, provides a comprehensive data foundation, and improves the training efficiency of the model and the comprehensiveness of the prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120086733B_ABST
    Figure CN120086733B_ABST
Patent Text Reader

Abstract

The present invention discloses a calculation system for the discharge coefficient of an air shield dam, which relates to the technical field of discharge coefficient calculation. The system includes a multi-source data acquisition module for acquiring multi-source training data of the air shield dam and preprocessing the multi-source training data of the air shield dam; a feature engineering processing module for performing feature processing on the preprocessed multi-source training data of the air shield dam to obtain a training feature data set of the air shield dam; a model training module for inputting the training feature data set of the air shield dam into a constructed hybrid model and training the hybrid model; and an air shield dam discharge coefficient prediction module for acquiring an actual feature data set of the air shield dam and inputting it into the trained hybrid model to obtain a predicted discharge coefficient of the air shield dam, solving the problem that the existing technology has relatively single data and is difficult to process from multiple dimensions, thus making it inconvenient to capture the influence of changes in the air shield dam structure, crest shape, and incoming flow conditions on the discharge coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of flow coefficient calculation, and in particular to a gas shield dam flow coefficient calculation system. Background Art

[0002] A gas shield dam is a new type of hydraulic structure that combines the advantages of rubber dams and steel plate dams. This dam absorbs the essence of traditional movable dam types and abandons their deficiencies. It has the characteristics of simple structure, short construction and installation period, outstanding flood control and flood passing ability, safe and reliable operation, controllable water passing ability and operation state, stronger sewage cleaning and silt discharging ability, short charging and discharging time, simple operation management, extremely long service life, high comprehensive benefits, very beautiful overfall at the dam crest, and good landscape effect. This new dam type has the characteristics of traditional water conservancy flow discharge and water retention, and also has the advantages of ecological water conservancy landscape environmental protection. In recent years, it has been gradually widely applied to various rivers with complex hydrological conditions and rivers for beautifying urban construction.

[0003] The Chinese invention patent with the publication number of CN112182701B discloses a method for calculating the flow coefficient and flow rate of a gas shield dam. According to Bernoulli's equation, the relationship between the discharge per unit width and the water head of the gas shield dam is obtained. Secondly, the water head and discharge per unit width values of the gas shield dam without side contraction under 12 working conditions are measured. Then, using excel data analysis, the relationship between the discharge per unit width and the water head of each opening of the gas shield dam is determined. And by comparing this relationship with the discharge per unit width formula of the free outfall weir flow without side contraction, the flow coefficient corresponding to each opening of the gas shield dam is obtained. Finally, the discharge of the gas shield dam is calculated according to the flow coefficient, and the flow rate of the gas shield dam without side contraction is determined according to the relationship between the discharge per unit width and the water head.

[0004] The existing calculation method of the flow coefficient is mainly based on the relationship between the discharge per unit width and the water head of the gas shield dam. The data is relatively single and difficult to process from multiple dimensions, so it is inconvenient to capture the influence of changes in the gas shield dam structure, dam crest shape and incoming flow conditions on the flow coefficient. Summary of the Invention

[0005] Aiming at the deficiencies of the prior art, the present invention provides a gas shield dam flow coefficient calculation system, which solves the problem that the existing calculation method of the flow coefficient has relatively single data and is difficult to process from multiple dimensions, so it is inconvenient to capture the influence of changes in the gas shield dam structure, dam crest shape and incoming flow conditions on the flow coefficient.

[0006] To achieve the above objectives, the present invention is realized through the following technical solutions: A gas shield dam flow coefficient calculation system includes a multi-source data acquisition module for acquiring multi-source training data of the gas shield dam and preprocessing the multi-source training data of the gas shield dam. Among them, the multi-source training data of the gas shield dam includes field measurement data, physical model test data, and numerical simulation data; a feature engineering processing module for performing feature processing on the preprocessed multi-source training data of the gas shield dam to obtain a gas shield dam training feature data set; a model training module for inputting the gas shield dam training feature data set into the constructed hybrid model and training the hybrid model; a gas shield dam flow coefficient prediction module for acquiring the actual feature data set of the gas shield dam and inputting it into the trained hybrid model to obtain the predicted gas shield dam flow coefficient.

[0007] Further, the field measurement data includes measured gas shield dam structure form parameters, measured gas shield dam crest shape parameters, and measured incoming flow condition data. Among them, the measured incoming flow condition data includes the measured gas shield dam flow rate; the physical model test data includes physical model gas shield dam structure form parameters, physical model gas shield dam crest shape parameters, and physical model incoming flow condition data. Among them, the physical model incoming flow condition data includes the physical model gas shield dam flow rate; the numerical simulation data includes numerical simulation gas shield dam structure form parameters, numerical simulation gas shield dam crest shape parameters, and numerical simulation incoming flow condition data. Among them, the numerical simulation incoming flow condition data includes the numerical simulation gas shield dam flow rate.

[0008] Further, the gas shield dam training feature data set includes multiple groups of training feature data and the corresponding training gas shield dam flow coefficients for each group of training feature data. Among them, the training feature data includes gas shield dam structure form parameters, crest shape numerical features, and incoming flow condition features. The acquisition process is as follows: Sampling the field measurement data, physical model test data, and numerical simulation data according to a set ratio to obtain an initial gas shield dam training data set, including multiple groups of initial training feature data and the corresponding training gas shield dam flow coefficients for each group of initial training feature data. The initial training feature data includes initial gas shield dam structure form parameters, initial crest shape numerical features, and initial incoming flow condition features; Analyzing the influence degree of each parameter feature in the initial training feature data on the flow coefficient based on the correlation coefficient. If the influence degree of a certain parameter feature on the flow coefficient is greater than the set degree threshold, then retain the parameter feature, otherwise delete it to obtain an optimized feature data set; Normalizing all continuous features of the optimized feature data set to obtain the gas shield dam training feature data set.

[0009] Further, the method for obtaining the influence degree of each parameter feature on the flow coefficient is as follows:

[0010] ;

[0011] Among them, is the degree of influence, is the i-th value of the parameter feature x, is the average value of the parameter feature x, is the i-th value of the flow coefficient, is the average value of the flow coefficient.

[0012] Furthermore, the hybrid model includes an RF-LSTM layer, a GNN layer, and a fusion layer, where: The RF-LSTM layer trains and learns from the input training feature dataset of the air shield dam based on random forest and long short-term memory network. After training is completed, it processes the actual feature dataset of the air shield dam and outputs the first predicted air shield dam flow coefficient; The GNN layer trains and learns from the input training feature dataset of the air shield dam based on graph neural network. After training is completed, it processes the actual feature dataset of the air shield dam and outputs the second predicted air shield dam flow coefficient; The fusion layer performs weighted summation on the first predicted air shield dam flow coefficient and the second predicted air shield dam flow coefficient to obtain the predicted air shield dam flow coefficient.

[0013] Furthermore, the RF-LSTM layer includes a random forest unit, a long short-term memory network unit, and a fusion prediction unit: Among them, the random forest unit processes the air shield dam structure form parameters and the numerical characteristics of the dam crest shape, and obtains a preliminary evaluation result of the influence of the air shield dam structure form parameters and the numerical characteristics of the dam crest shape on the flow coefficient. The long short-term memory network unit processes the oncoming flow condition characteristics and outputs the hidden state vector output at the last time step.

[0014] Furthermore, the construction process of the random forest unit is as follows: Concatenate the air shield dam structure form parameters and the numerical characteristics of the dam crest shape in each group to obtain multiple groups of air shield dam structure characteristic parameter data, and fuse them to obtain an air shield dam structure characteristic training dataset containing all groups of air shield dam structure characteristic parameter data; From the air shield dam structure characteristic training dataset, M sub-datasets with the same scale as the multi-source training data of the air shield dam are repeatedly sampled with replacement for constructing M decision trees; During the construction of each decision tree, for each internal node, randomly select some features from the sub-dataset, and determine the optimal splitting feature and splitting point by calculating the information gain, and repeat this process continuously until the preset stop condition is reached; Construct a decision tree output result integration layer, and integrate the output results of the M decision trees to obtain the final output result of the decision tree;

[0015] The construction process of the long short-term memory network unit is as follows: Set multiple LSTM layers, and each LSTM layer contains N memory units; Connect two fully connected layers after the last LSTM layer. The first fully connected layer contains G neurons, and the second fully connected layer contains 1 neuron.

[0016] Furthermore, the fusion prediction unit includes two fully connected neural network layers. The first fully connected neural network layer takes the concatenated feature vector of the final output result of the decision tree and the hidden state vector output by the last LSTM layer as input and performs a linear transformation. The second fully connected neural network layer performs a second linear transformation on the linear transformation result of the first fully connected neural network layer, and the output result is used as the predicted flow coefficient of the pneumatic shield dam.

[0017] Furthermore, the construction process of the GNN layer is as follows: Determine the nodes, including the dam body nodes, pneumatic shield nodes, dam top nodes, and water flow nodes; Define the edges: Between the dam body nodes and adjacent dam body nodes, and between the dam body nodes and pneumatic shield nodes, if there is a physical connection, create an undirected edge with the weight initialized to 1; Between the dam top nodes and adjacent dam top nodes, and between the water flow nodes and neighboring water flow nodes, calculate the edge weight according to the reciprocal of the Euclidean distance d, where d > 0; The water flow nodes at the same spatial position are connected in chronological order to create a directed edge with the weight fixed to 1; Initialize the node features of each node; Build an S-layer GCN network to update the node features of each layer; Perform node feature aggregation; Define a global virtual node, and the global virtual node outputs a feature vector after being operated by the S-layer GCN network; The feature vector is input into the GNN fully connected layer for linear transformation to predict the flow coefficient. The loss function uses the mean square error, and the weights of the GCN layer and the parameters of the fully connected layer are updated through the Adam optimizer.

[0018] Furthermore, the update formula is as follows:

[0019] ;

[0020] Among them, is the node feature matrix of the l-th layer GCN network, is the node feature matrix of the (l + 1)-th layer GCN network, is the degree matrix, represents the reciprocal of the square root of the degree matrix for symmetric normalization, is the adjacency matrix with self-loops, , is the adjacency matrix, is the identity matrix, is the weight matrix, is the activation function, using the ReLU non-linear function;

[0021] The formula for predicting the flow coefficient is as follows:

[0022] ;

[0023] Among them, is the predicted flow coefficient output by the GNN layer. When the actual feature dataset of the pneumatic shield dam is input into the GNN layer, it is denoted as the second predicted flow coefficient of the pneumatic shield dam. is the weight matrix of the fully connected layer of the GNN, is the feature vector output by the last layer of the GCN network, is the bias vector.

[0024] The present invention has the following beneficial effects:

[0025] The flow coefficient calculation system of the air shield dam integrates on-site measurement, physical model test and numerical simulation data through the multi-source data acquisition module, providing a comprehensive data basis for subsequent analysis; the feature engineering processing module screens key features and normalizes continuous features to improve data quality; the hybrid model combines the advantages of different models, learns data features from multiple dimensions, synthesizes prediction results, and improves the accuracy of the air shield dam flow coefficient prediction.

[0026] Of course, it is not necessary for any product implementing the present invention to achieve all the above-mentioned advantages simultaneously. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is the flow chart of the air shield dam flow coefficient calculation system of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0028] Please refer to Figure 1 , an embodiment of the present invention provides a technical solution: an air shield dam flow coefficient calculation system, including a multi-source data acquisition module, which is used to acquire multi-source training data of the air shield dam and preprocess the multi-source training data of the air shield dam. Among them, the multi-source training data of the air shield dam includes on-site measurement data, physical model test data and numerical simulation data, which contain various key factors affecting the flow coefficient of the air shield dam, laying a foundation for subsequent accurate analysis and prediction of the flow coefficient.

[0029] The on-site measurement data includes measured air shield dam structure form parameters, measured air shield dam crest shape parameters and measured incoming flow condition data, where the measured incoming flow condition data includes the measured air shield dam flow rate; at the actual air shield dam project site, professional measurement equipment and instruments are used to measure the structure form of the air shield dam (such as dam body dimensions, air shield layout methods, etc.), the crest shape of the dam (accurately measure the curve shape and related dimensions of the dam crest), and the incoming flow conditions (including flow rate, flow velocity, water level, water temperature, etc.). For the corresponding flow coefficient, it can be preliminarily estimated by using the formula based on broad-crested weir flow, and the formula for broad-crested weir flow is , where Q is the water flow rate, m is the discharge coefficient, B is the crest width of the air shield dam, g is the acceleration due to gravity, and h is the head above the weir, i.e., the difference between the water level in front of the dam and the crest elevation of the dam. The discharge coefficient can be preliminarily estimated based on the measured flow rate of the air shield dam. Similarly, such a preliminary estimate can also be made for the discharge coefficients corresponding to the physical model test data and numerical simulation data in the following text. This provides a basis for analyzing the relationship between the structural form parameters, crest shape parameters of the air shield dam, and the data of the incoming flow conditions and the discharge coefficient, so that the discharge coefficient can be predicted according to the actual characteristic dataset of the air shield dam, where the actual characteristic dataset of the air shield dam includes the actual characteristic parameters of the structural form of the air shield dam, the actual characteristic parameters of the crest shape of the air shield dam, and the actual characteristic data of the incoming flow conditions.

[0030] The physical model test data includes the structural form parameters of the physical model air shield dam, the crest shape parameters of the physical model air shield dam, and the data of the physical model incoming flow conditions, where the data of the physical model incoming flow conditions includes the flow rate of the physical model air shield dam; according to certain similarity criteria, a physical model of the air shield dam is established in the laboratory. By adjusting various parameters in the model, different structural forms, crest shapes, and incoming flow conditions are simulated, and then the corresponding discharge coefficients are measured.

[0031] The numerical simulation data includes the structural form parameters of the numerical simulation air shield dam, the crest shape parameters of the numerical simulation air shield dam, and the data of the numerical simulation incoming flow conditions, where the data of the numerical simulation incoming flow conditions includes the flow rate of the numerical simulation air shield dam. Using numerical simulation software such as computational fluid dynamics (CFD), a numerical model of the air shield dam is established. By setting different structural parameters, incoming flow boundary conditions, etc., the water flow movement of the air shield dam is simulated, and the discharge coefficient is calculated. For example, using software such as ANSYS Fluent, a three-dimensional numerical simulation of the water flow inside the air shield dam is carried out, and by adjusting parameters such as the shape of the air shield and the roughness of the dam body, the discharge coefficients under different working conditions are obtained.

[0032] The feature engineering processing module is used to perform feature processing on the preprocessed multi-source training data of the air shield dam to obtain the training feature dataset of the air shield dam;

[0033] The training feature dataset of the air shield dam includes multiple groups of training feature data and the corresponding training discharge coefficients of each group of training feature data, where the training feature data includes the structural form parameters of the air shield dam, the numerical characteristics of the crest shape, and the characteristics of the incoming flow conditions. The acquisition process is as follows:

[0034] Sample the field measurement data, physical model test data, and numerical simulation data according to a set ratio to obtain the initial training dataset for the air shield dam, including multiple groups of initial training feature data and the corresponding training air shield dam discharge coefficients for each group of initial training feature data. The initial training feature data includes the initial air shield dam structure form parameters, the numerical characteristics of the initial dam crest shape, and the initial incoming flow condition characteristics. Sample the field measurement, physical model test, and numerical simulation data according to a set ratio to obtain the initial training dataset for the air shield dam. This can not only make full use of the diversity of multi-source data, covering data characteristics under different scenarios, but also control the data scale to a certain extent, avoid waste of computing resources and low training efficiency caused by excessive data volume, and ensure the high efficiency and feasibility of subsequent model training.

[0035] Take the structure form parameters of the air shield dam, i.e., the dam body length, dam height, air shield diameter, air shield quantity, air shield spacing, etc., as the input features of the model. For discrete features such as air shield quantity and air shield arrangement, use the one-hot encoding method for encoding so that it can be processed by machine learning models. Extract the parameters related to the dam crest shape such as the dam crest slope, dam crest curvature, and dam crest flatness as features. Convert the description of the dam crest shape into numerical features. Select the incoming flow rate, velocity, water level, water temperature, etc. as the incoming flow condition features.

[0036] Based on the correlation coefficient, analyze the influence degree of each parameter feature in the initial training feature data on the discharge coefficient. If the influence degree of a certain parameter feature on the discharge coefficient is greater than the set degree threshold, then retain this parameter feature; otherwise, delete it to obtain the optimized feature dataset. Retain the parameter features with an influence degree greater than the set threshold and delete the irrelevant or less influential features to obtain the optimized feature dataset. This operation removes redundant information and reduces noise interference, enabling the model training to focus on key factors and improving the accuracy and reliability of the model's prediction of the discharge coefficient.

[0037] Normalize all continuous features in the optimized feature dataset to obtain the training feature dataset for the air shield dam. The continuous features include the incoming flow rate, velocity, water level, water temperature, etc.

[0038] The method for obtaining the influence degree of each parameter feature on the discharge coefficient is as follows:

[0039] ;

[0040] Among them, is the influence degree, is the i-th value of the parameter feature x, is the average value of the parameter feature x, is the i-th value of the discharge coefficient, is the average value of the discharge coefficient.

[0041] For example, the parameter feature x is the flow velocity, with the unit of meters per second. During calculation, the dimension is removed, and there are 3 values in total. The respective values and the corresponding discharge coefficients are shown in Table 1 below:

[0042] Table 1: Values of Flow Velocity and Discharge Coefficient

[0043]

[0044] Based on the values in the table, it can be known that the average value of the flow velocity is 1.43, and the average value of the discharge coefficient is 0.39. Through the above formula calculation, it can be known that the calculation result of the influence degree r is 0.984.

[0045] The model training module is used to input the air shield dam training feature dataset into the constructed hybrid model and train the hybrid model;

[0046] The hybrid model includes an RF-LSTM layer, a GNN layer, and a fusion layer, where:

[0047] The RF-LSTM layer trains and learns the input air shield dam training feature dataset based on random forest and long short-term memory network. After training is completed, it processes the actual feature dataset of the air shield dam and outputs the first predicted air shield dam discharge coefficient;

[0048] The RF-LSTM layer includes a random forest unit, a long short-term memory network unit, and a fusion prediction unit:

[0049] Among them, the random forest unit processes the air shield dam structure form parameters and the numerical characteristics of the dam crest shape, and obtains a preliminary evaluation result of the influence of the air shield dam structure form parameters and the numerical characteristics of the dam crest shape on the discharge coefficient. The random forest is mainly used to process static characteristics such as the air shield dam structure form. For the input air shield dam structure form feature data, such as dam body length, dam height, air shield diameter, air shield quantity, air shield spacing, and fractal dimension, etc., the random forest first conducts multiple random samplings on the dataset to construct multiple decision trees. During the node splitting process of each decision tree, some features are randomly selected, and by calculating indicators such as information gain or Gini coefficient, the optimal splitting feature and splitting point are determined, so as to gradually divide the dataset and form a decision tree structure. A large number of decision trees are trained in parallel, and finally, the prediction results of each decision tree are integrated by voting or averaging, etc., to obtain a preliminary evaluation of the influence of the air shield dam structure form on the discharge coefficient.

[0050] The long short-term memory network unit processes the characteristics of the oncoming flow conditions and outputs the hidden state vector at the last time step. The long short-term memory (LSTM) network is used to capture the time series information of dynamic characteristics such as the oncoming flow conditions. The oncoming flow condition data, such as flow rate, flow velocity, water level, water temperature, water flow turbulence characteristic parameters (turbulence intensity, Reynolds stress, etc.), water quality parameters (pH value, dissolved oxygen, etc.), and sediment content, are input into the LSTM network in the form of a time series.

[0051] The memory unit in the LSTM network selectively memorizes and updates the information in the time series through the control of the input gate, forget gate, and output gate. At each time step, the input data is fused with the information in the memory unit, and after a series of linear transformations and activation function operations, the hidden state at the current time step is output. These hidden states not only contain the information at the current time step but also integrate the long-term dependency information from the previous time steps. By learning the hidden states of multiple time steps, the LSTM network can capture the changing patterns of the oncoming flow conditions over time and the impact of these changes on the discharge coefficient.

[0052] The construction process of the random forest unit is as follows:

[0053] The structural form parameters and numerical characteristics of the dam crest shape of each group of air shield dams are spliced to obtain multiple groups of air shield dam structural characteristic parameter data, and a training data set of air shield dam structural characteristics containing all groups of air shield dam structural characteristic parameter data is obtained through fusion;

[0054] From the training data set of air shield dam structural characteristics, M sub-data sets with the same scale as the multi-source training data of air shield dams are repeatedly sampled with replacement multiple times to construct M decision trees;

[0055] During the construction of each decision tree, for each internal node, a part of the features in the sub-data set is randomly selected, and the optimal splitting feature and splitting point are determined by calculating the information gain. This process is repeated continuously until the preset stopping condition is reached;

[0056] A comprehensive layer for the output results of the decision trees is constructed to comprehensively combine the output results of the M decision trees to obtain the final output result of the decision trees; when all M decision trees are constructed, for the newly input air shield dam structural form feature data, each decision tree makes a prediction independently. If the prediction task is regression (predicting the discharge coefficient as a continuous value), the prediction results of all decision trees are averaged to obtain a preliminary evaluation value of the impact of the air shield dam structural form on the discharge coefficient by the random forest. If it is a classification task (such as classifying the range of the discharge coefficient), the category with the most votes is selected as the prediction result of the random forest through voting.

[0057] The construction process of the long short-term memory network unit is as follows:

[0058] Multiple LSTM layers are set, and each LSTM layer contains N memory units. In this embodiment, 3 LSTM layers are set, and each LSTM layer contains 128 memory units;

[0059] After the last LSTM layer, two fully connected layers are connected. The first fully connected layer contains G neurons, and the second fully connected layer contains 1 neuron. In this embodiment, the first fully connected layer contains 64 neurons, and the 1 neuron in the second fully connected layer corresponds to output a single flow coefficient prediction value.

[0060] The fusion prediction unit includes two fully connected layers of neural networks. Among them, the first fully connected layer of neural network takes the concatenated feature vector of the final output result of the decision tree and the hidden state vector output by the last LSTM layer as input and performs a linear transformation. The second fully connected layer of neural network performs a second linear transformation on the linear transformation result of the first fully connected layer of neural network and outputs the result as the first predicted flow coefficient of the pneumatic shield dam.

[0061] Finally, the evaluation result of the pneumatic shield dam structure form output by the random forest is fused with the inflow condition time series feature result output by the LSTM network. The concatenation method can be used to connect the output vectors of the two in sequence to form a new feature vector. Then, this fused feature vector is input into a fully connected neural network. Through the linear transformation of multiple layers of neurons and the action of a non-linear activation function (such as the ReLU function), the fused feature is further learned and mapped, and finally the prediction value of the flow coefficient is output. In this process, the fully connected neural network continuously adjusts its own weight and bias parameters to minimize the error between the prediction value and the true flow coefficient, so as to achieve accurate learning of the flow coefficient.

[0062] The GNN layer trains and learns from the input training feature dataset of the air shield dam based on the graph neural network. After the training is completed, it processes the actual feature dataset of the air shield dam and outputs the second predicted discharge coefficient of the air shield dam. The factors such as the structural form of the air shield dam, the shape of the dam crest, and the oncoming flow conditions are constructed into a graph structure. In the graph structure, each structural component of the air shield dam (such as the dam body, air shield, etc.), different positions on the dam crest, and the oncoming flow condition data at different time and space points can be used as nodes of the graph, while the physical connections, spatial position relationships, or time sequence relationships between them can be used as edges of the graph. For node features, the structural parameters of the air shield dam (such as the dam body length, air shield diameter, etc.), the dam crest shape parameters (such as the dam crest slope, curvature, etc.), and the oncoming flow condition parameters (such as flow rate, flow velocity, etc.) are used as the initial features of the nodes. Through graph convolution operations, each node continuously aggregates the feature information of its adjacent nodes. After the operations of multiple graph convolution networks, the node features gradually integrate the relevant information in its local area and the global graph structure. Finally, by analyzing the features of specific nodes in the graph (such as the virtual node representing the overall characteristics of the entire air shield dam), the predicted value of the discharge coefficient is output. During the training process, the graph neural network adjusts the parameters of the graph convolution kernel and the update method of node features to minimize the error between the predicted discharge coefficient and the true value, thereby learning the complex relationship between the various factors of the air shield dam and the discharge coefficient.

[0063] The construction process of the GNN layer is as follows:

[0064] Determine the nodes, including dam body nodes (units subdivided by the volume or geometric shape of the dam body, each node carrying a unique number, three-dimensional spatial coordinates, and a structural position identifier), air shield nodes (independent units divided by the physical form of the air shield (such as diameter, installation angle) and spatial position, recording the air shield type (standard type / enhanced type), inflation state parameters, and installation coordinates on the dam body), dam crest nodes (discrete points divided by the geometric features of the dam crest (slope change section, key curvature position), marking the elevation relative to the dam body base surface, horizontal coordinates, and the dam crest partition to which it belongs (such as the overflow section, non-overflow section)), and water flow nodes (monitoring points set at fixed spatial intervals (such as every 5 meters) on the water flow path, generating new nodes at each time step, carrying a time stamp, spatial coordinates, and an oncoming flow direction vector);

[0065] Define the edges:

[0066] Between the dam body nodes and adjacent dam body nodes, and between the dam body nodes and air shield nodes, if there is a physical connection (such as bolt fixation, welding), create an undirected edge, and initialize the weight to 1;

[0067] For the dam crest nodes and adjacent dam crest nodes, and the water flow nodes and adjacent water flow nodes, calculate the edge weight according to the reciprocal of the Euclidean distance d, where d > 0;

[0068] The water flow nodes at the same spatial position are connected in chronological order to create a directed edge with a fixed weight of 1;

[0069] Initialize the node features of each node, including the initialization of dam body node features (standardize the geometric parameters, such as length, width, and height, and use the material parameters directly as feature components, such as elastic modulus, Poisson's ratio), the initialization of air shield node features (standardize the physical parameters, such as air shield diameter, inflation pressure, etc., and keep the spatial parameters in their original dimensions, such as installation angle), the initialization of dam top node features (standardize the morphological parameters, such as slope, curvature), and the initialization of water flow node features (standardize the dynamic parameters, such as flow rate, flow velocity, etc.)

[0070] Build an S-layer GCN network to update the node features of each layer;

[0071] Perform node feature aggregation;

[0072] Define a global virtual node. The global virtual node outputs a feature vector after being operated on by the S-layer GCN network. The global virtual node is connected to the following key nodes through trainable edges: the dam body nodes with the top 10% stress concentration coefficients in the dam body (marked as key stress-bearing nodes), the dam top nodes with a curvature change rate exceeding the threshold (such as 0.1 / m) (marked as shape key nodes), and the water flow nodes with the top 15% flow velocity gradients (marked as flow-sensitive nodes). The edge weights are initialized to 1 and are adaptively adjusted through the attention mechanism during training.

[0073] The feature vector is input into the fully connected layer of the GNN for linear transformation to predict the flow coefficient. The loss function uses the mean square error, and the weights of the GCN layer and the parameters of the fully connected layer are updated through the Adam optimizer.

[0074] Update the node features of each layer. The update formula is as follows:

[0075] ;

[0076] where, where, is the node feature matrix of the l-th layer of the GCN network, is the node feature matrix of the (l + 1)-th layer of the GCN network, is the degree matrix, represents the reciprocal of the square root of the degree matrix and is used for symmetric normalization, is the adjacency matrix with self-loops, , is the adjacency matrix, is the identity matrix, is the weight matrix, is the activation function, using the ReLU non-linear function, in the form of , which means that when X is greater than 0, the ReLU non-linear function outputs X, otherwise it outputs 0;

[0077] In one embodiment, assume there is a simplified air shield dam graph structure, which includes 3 nodes: 1 dam body node (B1), 1 air shield node (S1), and 1 water flow node (W1). Initially, their feature vectors are as follows:

[0078] The feature vector of the dam body node B1 , which respectively represent length, width, elastic modulus, and Poisson's ratio; the feature vector of the air shield node S1 , which respectively represent air shield diameter, wall thickness, inflation pressure, and installation angle; the feature vector of the water flow node W1 , which respectively represent flow rate, flow velocity, and water level.

[0079] Adjacency matrix A represents the connection relationship between nodes. Assume that in this graph structure, the dam body node B1 is connected to the air shield node S1, and the water flow node W1 is connected to the dam body node B1. Its adjacency matrix A is:

[0080] ;

[0081] Due to the addition of self-loops, ;

[0082] Degree matrix The diagonal elements of are the degrees of the corresponding nodes (including self-loops), that is:

[0083] ;

[0084] Assume that the weight matrix of the 0th layer is a randomly initialized matrix, which is set here as:

[0085] ;

[0086] The activation function adopts the ReLU non-linear function, and we get:

[0087] ;

[0088] That is .

[0089] The formula for predicting the flow coefficient is as follows:

[0090] ;

[0091] Among them, is the predicted flow coefficient output by the GNN layer. When the actual feature dataset of the pneumatic shield dam is input to the GNN layer, it is denoted as the second predicted flow coefficient of the pneumatic shield dam. is the weight matrix of the GNN fully connected layer. is the feature vector output by the last layer of the GCN network. is the bias vector.

[0092] The fusion layer performs a weighted sum of the first predicted flow coefficient of the pneumatic shield dam and the second predicted flow coefficient of the pneumatic shield dam to obtain the predicted flow coefficient of the pneumatic shield dam.

[0093] The pneumatic shield dam flow coefficient prediction module is used to obtain the actual feature dataset of the pneumatic shield dam and input it into the trained hybrid model to obtain the predicted flow coefficient of the pneumatic shield dam.

[0094] An electronic device includes: a processor; and a memory in which computer program instructions are stored, and when the computer program instructions are run by the processor, the processor executes the pneumatic shield dam flow coefficient calculation system as described above.

[0095] A computer-readable storage medium is used to store a program, and when the program is executed by a processor, it implements the pneumatic shield dam flow coefficient calculation system as described above.

[0096] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.

[0097] The present invention is described with reference to the flowcharts and / or block diagrams of systems, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the specified functions in one Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0098] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means that implement the function specified in one or more of the processes and / or blocks Figure 1 in the flow(s) and / or block(s). Figure 1 The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable apparatus provide steps for implementing the function specified in one or more of the processes and / or blocks

[0099] in the flow(s) and / or block(s). Figure 1 in the flow(s) and / or block(s). Figure 1 Although the preferred embodiments of the present invention have been described, additional changes and modifications can be made by those skilled in the art once they learn of the basic inventive concept. Therefore, the appended claims are intended to be construed to cover the preferred embodiments as well as all changes and modifications that fall within the scope of the present invention.

[0100] It is apparent that those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.

[0101] It is obvious that those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the invention. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.

Claims

1. A flow coefficient calculation system for an air shield dam, characterized in that Including: A multi-source data acquisition module, which is used to acquire multi-source training data of the air shield dam and preprocess the multi-source training data of the air shield dam. The multi-source training data of the air shield dam includes field measurement data, physical model test data, and numerical simulation data; A feature engineering processing module, which is used to perform feature processing on the preprocessed multi-source training data of the air shield dam to obtain a training feature dataset of the air shield dam; A model training module, which is used to input the training feature dataset of the air shield dam into the constructed hybrid model and train the hybrid model; An air shield dam discharge coefficient prediction module, which is used to obtain an actual feature dataset of the air shield dam and input it into the trained hybrid model to obtain the predicted air shield dam discharge coefficient; The field measurement data includes measured air shield dam structure form parameters, measured air shield dam crest shape parameters, and measured incoming flow condition data, where the measured incoming flow condition data includes the measured air shield dam discharge; The physical model test data includes physical model air shield dam structure form parameters, physical model air shield dam crest shape parameters, and physical model incoming flow condition data, where the physical model incoming flow condition data includes the physical model air shield dam discharge; The numerical simulation data includes numerical simulation air shield dam structure form parameters, numerical simulation air shield dam crest shape parameters, and numerical simulation incoming flow condition data, where the numerical simulation incoming flow condition data includes the numerical simulation air shield dam discharge; The training feature dataset of the air shield dam includes multiple groups of training feature data and the corresponding training air shield dam discharge coefficients for each group of training feature data. The training feature data includes air shield dam structure form parameters, crest shape numerical features, and incoming flow condition features. The acquisition process is as follows: Sampling the field measurement data, physical model test data, and numerical simulation data according to a set ratio to obtain an initial training dataset of the air shield dam, which includes multiple groups of initial training feature data and the corresponding training air shield dam discharge coefficients for each group of initial training feature data. The initial training feature data includes initial air shield dam structure form parameters, initial crest shape numerical features, and initial incoming flow condition features; Based on the correlation coefficient, analyzing the influence degree of each parameter feature in the initial training feature data on the discharge coefficient. If the influence degree of a certain parameter feature on the discharge coefficient is greater than the set degree threshold, then retain the parameter feature, otherwise delete it to obtain an optimized feature dataset; Normalize all continuous features of the optimized feature dataset to obtain the training feature dataset of the air shield dam.

2. The flow coefficient calculation system of an air shield dam according to claim 1, wherein The method for obtaining the influence degree of each parameter feature on the discharge coefficient is as follows: ; wherein, is the degree of influence, is the i-th value of the parameter feature x, is the average value of the parameter feature x, is the i-th value of the flow coefficient, is the average value of the flow coefficient.

3. The flow coefficient calculation system of a pneumatic shield dam according to claim 2, characterized in that, The hybrid model includes an RF-LSTM layer, a GNN layer, and a fusion layer, where: The RF-LSTM layer trains and learns the input training feature dataset of the air shield dam based on the random forest and long short-term memory network. After training, it processes the actual feature dataset of the air shield dam and outputs the first predicted air shield dam discharge coefficient; The GNN layer trains and learns the input training feature dataset of the air shield dam based on the graph neural network. After training, it processes the actual feature dataset of the air shield dam and outputs the second predicted air shield dam discharge coefficient; The fusion layer performs weighted summation on the first predicted air shield dam discharge coefficient and the second predicted air shield dam discharge coefficient to obtain the predicted air shield dam discharge coefficient.

4. The air shield dam flow coefficient calculation system according to claim 3, wherein The RF-LSTM layer includes a random forest unit, a long short-term memory network unit, and a fusion prediction unit: Among them, the random forest unit processes the structural form parameters of the air shield dam and the numerical characteristics of the dam crest shape, and obtains a preliminary evaluation result of the influence of the structural form parameters of the air shield dam and the numerical characteristics of the dam crest shape on the discharge coefficient. The long short-term memory network unit processes the characteristics of the incoming flow conditions and outputs the hidden state vector output at the last time step.

5. The air shield dam flow coefficient calculation system according to claim 4, characterized in that, The construction process of the random forest unit is as follows: The structural form parameters of each group of air shield dams and the numerical characteristics of the dam crest shape are spliced to obtain multiple groups of air shield dam structural characteristic parameter data, and they are fused to obtain an air shield dam structural characteristic training data set containing all groups of air shield dam structural characteristic parameter data; From the air shield dam structural characteristic training data set, M sub-data sets with the same scale as the multi-source training data of the air shield dam are repeatedly sampled with replacement for constructing M decision trees; During the construction of each decision tree, for each internal node, a part of the features in the sub-data set is randomly selected, and the optimal splitting feature and splitting point are determined by calculating the information gain. This process is continuously repeated until the preset stop condition is reached; Construct a decision tree output result integration layer, and integrate the output results of the M decision trees to obtain the final output result of the decision tree; The construction process of the long short-term memory network unit is as follows: Set multiple LSTM layers, and each LSTM layer contains N memory units; Two fully connected layers are connected after the last LSTM layer. The first fully connected layer contains G neurons, and the second fully connected layer contains 1 neuron.

6. The flow coefficient calculation system of a pneumatic shield dam according to claim 5, characterized in that The fusion prediction unit includes two fully connected layers of neural networks. Among them, the first fully connected layer of neural networks takes the concatenated feature vector of the final output result of the decision tree and the hidden state vector output by the last LSTM layer as the input for linear transformation. The second fully connected layer of neural networks performs a second linear transformation on the linear transformation result of the first fully connected layer of neural networks and outputs the result as the first predicted discharge coefficient of the air shield dam.

7. The flow coefficient calculation system of a pneumatic shield dam according to claim 5, characterized in that The construction process of the GNN layer is as follows: Determine the nodes, including dam body nodes, air shield nodes, dam crest nodes, and water flow nodes; Define the edges: Between the dam body node and the adjacent dam body nodes, and between the dam body node and the air shield nodes, if there is a physical connection, create an undirected edge, and the weight is initialized to 1; For the dam crest node and the adjacent dam crest nodes, and the water flow node and the adjacent water flow nodes, calculate the edge weight according to the reciprocal of the Euclidean distance d, where d > 0; The water flow nodes at the same spatial position are connected in chronological order to create a directed edge, and the weight is fixed to 1; Initialize the node features of each node; Build an S-layer GCN network to update the node features of each layer; Perform node feature aggregation; Define a global virtual node, and the global virtual node outputs a feature vector after being operated by the S-layer GCN network; The feature vector is input into the fully connected layer of the GNN for linear transformation to perform discharge coefficient prediction. The loss function uses the mean square error, and the weights of the GCN layer and the parameters of the fully connected layer are updated through the Adam optimizer.

8. The flow coefficient calculation system of an air shield dam according to claim 7, characterized in that The node features of each layer are updated, and the update formula is as follows: ; Among them, is the node feature matrix of the l-th layer GCN network, is the node feature matrix of the (l + 1)-th layer GCN network, is the degree matrix, represents the reciprocal square root of the degree matrix, which is used for symmetric normalization, is the adjacency matrix with self-loops, , is the adjacency matrix, is the identity matrix, is the weight matrix, is the activation function, and the ReLU non-linear function is adopted; The formula for discharge coefficient prediction is as follows: ; Among them, is the predicted flow coefficient output by the GNN layer. When the actual feature dataset of the pneumatic shield dam is input to the GNN layer, it is denoted as the second predicted flow coefficient of the pneumatic shield dam. is the weight matrix of the GNN fully connected layer. is the feature vector output by the last layer of the GCN network. is the bias vector.

Citation Information

Patent Citations

  • A calculation method for flow coefficient and flow of gas shield dam

    CN112182701B

  • Method for predicting flow of trapezoidal overflow dam through computational fluid dynamics

    CN117408188A