A method and device for predicting erosion rate of coalbed methane elbow
Through finite element analysis and PSO-ELM neural network, a coal bed methane elbow erosion rate prediction model is constructed, which solves the problem of difficulty in predicting the coal bed methane elbow erosion rate and perforation location, achieves high accuracy and rapid prediction, and reduces the cost of Risk of safety accidents.
Patent Information
- Application Number
- CN202410299324.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-03-15
AI Technical Summary
Existing technology cannot accurately predict the erosion rate and perforation location of coal bed methane bends, leading to an increased risk of safety accidents.
Finite element analysis and particle swarm optimization extreme learning machine (PSO-ELM) neural network are used to construct an elbow erosion rate prediction model based on historical load data to predict the maximum erosion rate and perforation location under the target load.
It improves the accuracy and speed of coalbed methane bend pipe erosion rate prediction, ensures the safety and reliability of the pipeline, and meets the need for rapid and accurate prediction.
Smart Images

Figure CN118194649B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of neural network, and in particular relates to a method and device for predicting the erosion rate of a coalbed methane elbow, which is suitable for predicting the erosion rate of a coalbed methane elbow under special gas quality conditions. Background Art
[0002] Coalbed methane is a "double-edged sword". As a co-resource of coal seams, it is a clean energy source. It not only has good environmental performance, but also has high thermal efficiency. It is the most realistic and reliable supplement or alternative energy source to conventional natural gas, and can provide important energy for industry and civilian use. However, there are still many difficult problems in the use of coalbed methane. For example, compared with conventional natural gas, coalbed methane will carry coal powder, quartz sand, and sulfide impurities during the production process. These impurities will cause abrasion and corrosion damage to the pipeline system, but the characteristics and laws of the impact of these impurities on the pipeline are still unclear. Once these impurities cause erosion and corrosion to the pipeline and cause perforation, it will cause gas leakage, which will lead to safety accidents such as explosions. At present, there is a problem that the erosion rate of coalbed methane elbows cannot be predicted. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a method and device for predicting the erosion rate of a coalbed methane elbow. The pipeline erosion rate data is obtained through finite element analysis and the erosion rate is quickly predicted through a particle swarm optimization extreme learning machine neural network. The maximum erosion rate of the coalbed methane elbow is predicted quickly and accurately, with high credibility and accuracy, and meets the requirements for quickly predicting the locations where pipelines are prone to perforation, laying an important foundation for quickly and accurately predicting pipeline erosion rates.
[0004] To achieve the above object, the present invention adopts the following technical solution:
[0005] A method for predicting the erosion rate of a coalbed methane elbow comprises the following steps:
[0006] Step S1, obtaining historical data of erosion rate of gas layer elbow pipe under historical loads through finite element analysis;
[0007] Step S2, obtaining a prediction model for the elbow erosion rate according to the historical data of the elbow erosion rate in the gas layer;
[0008] Step S3: input the inlet flow velocity, mass flow rate and particle size under the target load into the elbow erosion rate prediction model to predict the maximum erosion rate of the coalbed methane elbow under the target load.
[0009] Preferably, in step S1, the historical data of the erosion rate of the coalbed methane elbow under historical loads include: pipe diameter, inlet flow velocity, particle mass flow rate, particle size, and maximum erosion rate; wherein, the finite element analysis simulates the erosion and wear of the inner wall of the coalbed methane elbow through the Finney erosion model based on the erosion and corrosion parameters of the coalbed methane elbow under historical loads to obtain the maximum erosion rate under historical loads; the erosion and corrosion parameters of the coalbed methane elbow include: pipe diameter, inlet velocity, particle size, and particle mass flow rate.
[0010] Preferably, step S2 comprises:
[0011] Step S21, training the ELM neural network according to the historical data of the erosion rate of the gas layer elbow to obtain the ELM prediction model;
[0012] Step S22, optimizing the ELM prediction model by PSO algorithm to obtain a PSO-ELM prediction model, wherein the PSO-ELM prediction model is a prediction model for the erosion rate of an elbow.
[0013] Preferably, the coalbed methane elbow is a U-shaped elbow.
[0014] The present invention also provides a device for predicting the erosion rate of a coalbed methane elbow, comprising:
[0015] An acquisition module, used for acquiring historical data of erosion rate of gas layer elbow pipe under historical loads through finite element analysis;
[0016] A construction module is used to obtain a prediction model for the erosion rate of an elbow pipe according to the historical data of the erosion rate of the elbow pipe in the gas layer;
[0017] The prediction module is used to input the inlet flow velocity, mass flow rate and particle size under the target load into the elbow erosion rate prediction model to predict the maximum erosion rate of the coalbed methane elbow under the target load.
[0018] Preferably, the historical data of erosion rate of coalbed methane elbow under historical loads include: pipe diameter, inlet flow velocity, particle mass flow rate, particle size, and maximum erosion rate; the acquisition module is based on finite element analysis, and according to the erosion and corrosion parameters of coalbed methane elbow under historical loads, the erosion and wear of the inner wall of the coalbed methane elbow is simulated by the Finney erosion model to obtain the maximum erosion rate under historical loads; the erosion and corrosion parameters of coalbed methane elbow include: pipe diameter, inlet velocity, particle size, and particle mass flow rate.
[0019] Preferably, the building blocks include:
[0020] A training unit, used for training the ELM neural network according to the historical data of the erosion rate of the gas layer elbow to obtain the ELM prediction model;
[0021] The optimization unit is used to optimize the ELM prediction model through the PSO algorithm to obtain a PSO-ELM prediction model, wherein the PSO-ELM prediction model is a prediction model for the erosion rate of a bent pipe.
[0022] Preferably, the coalbed methane elbow is a U-shaped elbow.
[0023] In view of the fact that the remaining life of coalbed methane pipelines is difficult to predict due to complex gas quality conditions and limited operating conditions, the present invention adopts finite element analysis to accurately predict the maximum erosion rate and remaining life of the pipelines, and optimizes the ELM neural network through the PSO algorithm to greatly improve the prediction rate and accuracy of the pipeline erosion rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0025] Figure 1 is a flow chart of a method for predicting erosion rate of a coalbed methane elbow according to an embodiment of the present invention;
[0026] Figure 2 It is a graph of the error change of PSO-ELM after 100 iterations;
[0027] Figure 3 This is a comparison chart of the test set-prediction classification-results of the true value, PSO-ELM, and ELM. DETAILED DESCRIPTION
[0028] 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.
[0029] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0030] Embodiment 1:
[0031] like Figure 1 As shown, an embodiment of the present invention provides a method for predicting the erosion rate of a coalbed methane elbow, comprising the following steps:
[0032] Step S1, obtaining historical data of erosion rate of coal seam gas bend pipe under historical loads through finite element analysis; wherein the coal seam gas bend pipe is a U-shaped bend pipe;
[0033] Step S2, obtaining a prediction model for the elbow erosion rate according to the historical data of the elbow erosion rate of the gas layer;
[0034] Step S3: input the inlet flow velocity, mass flow rate and particle size under the target load into the elbow erosion rate prediction model to predict the maximum erosion rate of the coalbed methane elbow under the target load.
[0035] As an implementation mode of an embodiment of the present invention, in step S1, the historical data of the erosion rate of the gas layer elbow under historical loads includes: pipe diameter, inlet flow velocity, particle mass flow rate, particle size, and maximum erosion rate; wherein, the finite element analysis simulates the erosion and wear of the inner wall of the coalbed methane elbow through the Finney erosion model according to the erosion and corrosion parameters of the coalbed methane elbow under historical loads to obtain the maximum erosion rate under historical loads; the erosion and corrosion parameters of the coalbed methane elbow include: pipe diameter, inlet velocity, particle size, and particle mass flow rate.
[0036] As an implementation of the embodiment of the present invention, step S2 includes:
[0037] Step S21, training the ELM neural network according to the historical data of the erosion rate of the gas layer elbow to obtain the ELM prediction model;
[0038] Step S22, optimizing the ELM prediction model by PSO algorithm to obtain a PSO-ELM prediction model, wherein the PSO-ELM prediction model is a prediction model for the erosion rate of an elbow.
[0039] Embodiment 2:
[0040] The embodiment of the present invention provides a method for predicting the erosion rate of a coalbed methane pipe elbow, comprising the following steps:
[0041] Step 1: Obtain historical data of erosion rate of gas layer elbow pipe under historical loads through finite element analysis;
[0042] Step 2: train the ELM neural network according to the historical data of erosion rate of coal gas layer elbows to obtain the ELM prediction model;
[0043] Step 3: Optimize the optimization weight and bias item of the ELM prediction model by PSO algorithm to obtain a PSO-ELM prediction model, wherein the PSO-ELM prediction model is a bend erosion rate prediction model;
[0044] Step 4: Input the inlet flow velocity, mass flow rate and particle size under the target load into the elbow erosion rate prediction model to predict the maximum erosion rate of the coalbed methane elbow under the target load.
[0045] As an implementation mode of an embodiment of the present invention, in step S1, the historical data of the erosion rate of the gas layer elbow under historical loads includes: pipe diameter, inlet flow velocity, particle mass flow rate, particle size, and maximum erosion rate; wherein, the finite element analysis simulates the erosion and wear of the inner wall of the coalbed methane elbow through the Finney erosion model according to the erosion and corrosion parameters of the coalbed methane elbow under historical loads to obtain the maximum erosion rate under historical loads; the erosion and corrosion parameters of the coalbed methane elbow include: pipe diameter, inlet velocity, particle size, and particle mass flow rate.
[0046] Further, the finite element analysis in step 1 is as follows:
[0047] Construct a three-dimensional model of a DN100 U-shaped pipe and its internal flow field area.
[0048] Determine the flow state of the flow field in the pipeline. When the Reynolds number R e ≤2300, the flow is laminar; when 2300 <R e <4000, the flow is in transitional flow state; when R e When ≥4000, the flow is in a turbulent state. The Reynolds number calculation formula is: Where u is the average flow velocity in the pipeline, D is the pipe diameter, and v is the dynamic viscosity of the fluid. Use the finite element analysis flow fluid particle tracking module to model particle tracking. By inputting the pipeline inlet flow velocity, the average flow velocity and flow trajectory in the pipeline can be quickly obtained.
[0049] Constructing the continuous phase governing equation Its momentum equation is:
[0050]
[0051] Among them, i, j = 123 represents three dimensions, ρ m represents the mixture density, represents the mass average velocity, represents the Reynolds stress.
[0052] In order to accurately simulate the turbulent flow behavior inside the coalbed methane pipeline, a Realizable k-ε turbulence model is constructed. The control equations of turbulent kinetic energy k and turbulent dissipation rate are:
[0053]
[0054] Among them, G k is the turbulence result term; C ε1 , C ε2 , C ε3 is the coefficient in the model, with values of 1.44, 1.9, and 0.09; σ k is the Prandtl number corresponding to the turbulent kinetic energy, which takes the value of 1; σ kis the Prandtl number corresponding to the turbulent dissipation rate, which is 1.2; S is the average strain rate tensor modulus, Make the control equations closed.
[0055] Considering the interaction between flow force and particle force, bidirectional coupling is used to construct the mass and momentum conservation equations of incompressible steady flow:
[0056]
[0057] Among them, ρ f is the fluid density, u is the fluid velocity, x i is the position, t is the time, p is the pressure, and finally μ eff is the effective viscosity, F s is the interaction term between the continuous and discrete phases, α f is the continuous flow volume fraction, and the calculation formula is as follows: V p,i is the volume of the particle, V cell is the total volume of the cell, n is the number of particles, and finally i is the selected particle.
[0058] Since coalbed methane contains coal dust, carbon dioxide, and trace amounts of hydrogen sulfide, it is necessary to calculate the resistance of the fluid to the particles, where the particle Reynolds number is defined as
[0059]
[0060] Where u is the velocity of the fluid in the pipe, u p is the particle speed, r is the particle size, ρ is the fluid density, μ is the dynamic viscosity of the fluid, and the resistance formula of the fluid on the particle is:
[0061] F=πr 2 ρ|uu p |(uu p )[1.84Re p -0.31 +0.293Re p 0.06 ]3.45
[0062] Meshing software is used for meshing and local encryption of the boundary layer. In order to ensure the reliability of the simulation results, the maximum inclination is not greater than 0.95 and the minimum orthogonal quality is not less than 0.1.
[0063] In order to ensure that the results of numerical simulation are consistent with the actual situation, it is necessary to select the rebound coefficient and construct the rebound coefficient equation:
[0064]
[0065] Among them, e n Represents the normal rebound coefficient, e t is the tangential rebound coefficient, v n represents the component of velocity on the normal vector, v t represents the component of velocity on the tangent vector, subscript 1 is before the particle collides with the wall, and subscript 2 is after the particle collides with the wall; the Normal formula e is calculated n and Tangent formulae t :
[0066]
[0067] Construct the erosion wear simulation equation to predict the erosion rate ER=Kf(φ)v n , where K is a constant related to the properties of the target material, particle shape, and particle hardness, f(φ) represents a dimensionless function of the incident angle, v is the velocity of the particle, and n represents an index related to the material;
[0068] According to the special gas quality condition of coalbed methane, the Finnie erosion model is constructed, and the formula is:
[0069]
[0070] in, is the mass of material loss per unit area per unit time, used to describe the erosion rate. is the erosion rate of the wall in the Finnie model, K is a dimensional constant that depends on the properties of the particles and the wall, M is the particle mass flow rate, ρ W is the wall material density, m is the mass of particles in the pipe, V is the collision velocity between particles and the wall, P W is the wall flow stress, f(φ) is the function of the impact angle; finally, The maximum value and its location, that is, the maximum erosion rate and specific location during the operation of the pipeline.
[0071] As an implementation method of the embodiment of the present invention, in step 2, the historical data of the erosion rate of the gas layer bend pipe is normalized, and the normalized historical data of the erosion rate of the gas layer bend pipe is used to train the ELM neural network.
[0072] Furthermore, the normalized historical data of erosion rate of gas layer elbows are divided into training set and test set, the training set is imported into the ELM neural network, the sigmod function is selected as the activation function, and the mapping relationship between input data and output data is established. The ELM prediction model expression is Hβ=Y,
[0073]
[0074] Among them, y i is the output data; f is the activation function; x i is the input data (training set); ω i is the connection weight from the input layer node to the i-th node in the hidden layer; b i represents the threshold of the i-th node in the hidden layer; β i Represents the weight from the node of the i-th hidden layer to the output node.
[0075] The expression of the connection weight ω from the input layer node to the hidden layer is The expression of the threshold of the first hidden layer is The expression of the connection weight β from the hidden layer node to the output node is
[0076] Once the initial weights of the ELM prediction model are determined, they will no longer change. The learning goal of the ELM prediction model can be transformed into minimizing the output error. At this time, β is calculated by the formula The least squares method is used to solve it. Through matrix operations, the optimal solution of β can be calculated as in, is the generalized inverse matrix of the matrix H.
[0077] As an implementation method of an embodiment of the present invention, in step 3, the initial velocity and position of the particles in the PSO optimization algorithm, the number of hidden layer nodes in the ELM prediction model and the model termination condition parameters are set to optimize the initial weight of the ELM prediction model.
[0078] The PSO algorithm continuously optimizes the initial weights by sharing and updating particle group information. The particle speed and position update formulas are as follows:
[0079]
[0080] in, Iterate the flight speed of particle i at time t+1; is the iterative position of particle i at time t+1; p i and p g are the current local optimum and global optimum respectively; c1 and c2 are learning factors; r1 and r2 are used to increase the randomness of the search; a represents the inertia weight.
[0081] The inertia weight a is used to improve the convergence speed of the algorithm in the form of a concave function descent. The calculation formula is:
[0082]
[0083] Where t is the number of iterations, T max is the maximum number of iterations.
[0084] The optimal initial weight optimized by the PSO algorithm is introduced into the ELM prediction model to obtain the PSO-ELM prediction model. The number of hidden layer nodes is calculated using the empirical formula Get, where N y is the number of hidden layer nodes, p and s are the number of input layer and output layer nodes respectively, and the random particles are initialized with speed and position. After the settings are completed, network training is performed.
[0085] Two model evaluation indicators, mean square error (MSE) and determination coefficient (R-squared), were selected to evaluate the accuracy of the prediction results of the ELM model and the PSO-ELM model.
[0086] The MSE calculation formula is: Where m is the number of samples, y i is the true value, f(x i ) is the predicted value. The smaller the MSE value, the better the performance of the prediction model, otherwise the performance is poor.
[0087] The R-squared calculation formula is: Among them, y i is the actual value, is the model prediction value, is the average of the actual values.
[0088] The error curve of the PSO-ELM model after 100 iterations is as follows: Figure 2 As shown in the figure, the MSE of the military error dropped significantly in the first 20 iterations, and gradually stabilized after 100 iterations. The simulation mean square error after 100 iterations was 0.0015102, and the calculation accuracy reached the target. Figure 3 As shown in the figure, the prediction accuracy is significantly improved after PSO optimization, and the determination coefficient is 0.99883, which meets the prediction requirements and can be used for subsequent prediction of pipeline erosion rate with different parameters.
[0089] Embodiment 3:
[0090] The embodiment of the present invention also provides a device for predicting the erosion rate of a coalbed methane elbow, comprising:
[0091] An acquisition module is used to acquire historical data of erosion rate of coal seam pipe bends under historical loads through finite element analysis; wherein the coal seam pipe bend is a U-shaped bend;
[0092] A construction module is used to obtain a prediction model for the erosion rate of an elbow pipe according to the historical data of the erosion rate of the elbow pipe in the gas layer;
[0093] The prediction module is used to input the inlet flow velocity, mass flow rate and particle size under the target load into the elbow erosion rate prediction model to predict the maximum erosion rate of the coalbed methane elbow under the target load.
[0094] As an implementation method of an embodiment of the present invention, the historical data of the erosion rate of the gas layer elbow under historical loads includes: pipe diameter, inlet flow velocity, particle mass flow rate, particle size, and maximum erosion rate; the acquisition module is based on finite element analysis, and according to the erosion and corrosion parameters of the coalbed methane elbow under historical loads, the erosion and wear of the inner wall of the coalbed methane elbow is simulated through the Finney erosion model to obtain the maximum erosion rate under historical loads; the erosion and corrosion parameters of the coalbed methane elbow include: pipe diameter, inlet velocity, particle size, and particle mass flow rate.
[0095] As an implementation of an embodiment of the present invention, the building block includes:
[0096] A training unit, used for training the ELM neural network according to the historical data of the erosion rate of the gas layer elbow to obtain the ELM prediction model;
[0097] The optimization unit is used to optimize the ELM prediction model through the PSO algorithm to obtain a PSO-ELM prediction model, wherein the PSO-ELM prediction model is a prediction model for the erosion rate of a bent pipe.
[0098] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.
Claims
1. A method for predicting the erosion rate of a coalbed methane elbow, characterized in that: The following steps are involved: Step S1, obtaining historical data of erosion rate of gas layer elbow pipe under historical loads through finite element analysis; Step S2, obtaining a prediction model for the elbow erosion rate according to the historical data of the elbow erosion rate in the gas layer; Step S3, inputting the inlet flow velocity, mass flow rate and particle size under the target load into the elbow erosion rate prediction model to predict the maximum erosion rate of the coalbed methane elbow under the target load; In step S1, the historical data of the erosion rate of the coalbed methane elbow under the historical load include: pipe diameter, inlet flow velocity, particle mass flow rate, particle size, and maximum erosion rate; wherein, the finite element analysis simulates the erosion and wear of the inner wall of the coalbed methane elbow through the Finney erosion model according to the erosion and corrosion parameters of the coalbed methane elbow under the historical load, and obtains the maximum erosion rate under the historical load; the erosion and corrosion parameters of the coalbed methane elbow include: pipe diameter, inlet velocity, particle size, and particle mass flow rate; Step S2 includes: Step S21, training the ELM neural network according to the historical data of the erosion rate of the gas layer elbow to obtain the ELM prediction model; Step S22, optimizing the ELM prediction model by PSO algorithm to obtain a PSO-ELM prediction model, wherein the PSO-ELM prediction model is a prediction model for the erosion rate of an elbow; Among them, the initial speed and position of the particles in the PSO optimization algorithm, the number of hidden layer nodes in the ELM prediction model and the model termination condition parameters are set to optimize the initial weight of the ELM prediction model; the PSO algorithm continuously optimizes the initial weight by sharing and updating the particle group information, and the particle speed and position update formula is as follows: in, Iterate the flight speed of particle i at time t+1; is the iterative position of particle i at time t+1; p i and p g are the current local optimum and global optimum respectively; c1 and c2 are learning factors; r1 and r2 are used to increase the randomness of the search; a is the inertia weight; The inertia weight a improves the convergence speed of the algorithm in the manner of a concave function descent. The calculation formula is: Where t is the number of iterations, T max is the maximum number of iterations; The optimal initial weight optimized by the PSO algorithm is introduced into the ELM prediction model to obtain the PSO-ELM prediction model. The number of hidden layer nodes is calculated using the empirical formula Get, where N y is the number of hidden layer nodes, p and s are the number of input layer and output layer nodes respectively, and the random particles are initialized with speed and position. After the settings are completed, network training is performed.
2. The method for predicting the erosion rate of a coalbed methane elbow according to claim 1, characterized in that: The coalbed methane elbow is a U-shaped elbow.
3. A device for predicting the erosion rate of a coalbed methane elbow, characterized in that: include: An acquisition module, used for acquiring historical data of erosion rate of gas layer elbow pipe under historical loads through finite element analysis; A construction module is used to obtain a prediction model for the elbow erosion rate based on the historical data of the elbow erosion rate in the gas layer; A prediction module, used for inputting the inlet flow velocity, mass flow rate and particle size under the target load into the elbow erosion rate prediction model to predict the maximum erosion rate of the coalbed methane elbow under the target load; The historical data of erosion rate of coalbed methane elbow under historical loads include: pipe diameter, inlet flow rate, particle mass flow rate, particle size, and maximum erosion rate; the acquisition module is based on finite element analysis, and according to the erosion and corrosion parameters of coalbed methane elbow under historical loads, the erosion and wear of the inner wall of coalbed methane elbow is simulated through the Finney erosion model to obtain the maximum erosion rate under historical loads; the erosion and corrosion parameters of coalbed methane elbow include: pipe diameter, inlet velocity, particle size, and particle mass flow rate; The building blocks include: A training unit, used for training the ELM neural network according to the historical data of the erosion rate of the gas layer elbow to obtain the ELM prediction model; An optimization unit, used for optimizing the ELM prediction model by PSO algorithm to obtain a PSO-ELM prediction model, wherein the PSO-ELM prediction model is a prediction model for the erosion rate of a bent pipe; Among them, the initial speed and position of the particles in the PSO optimization algorithm, the number of hidden layer nodes in the ELM prediction model and the model termination condition parameters are set to optimize the initial weight of the ELM prediction model; the PSO algorithm continuously optimizes the initial weight by sharing and updating the particle group information, and the particle speed and position update formula is as follows: in, Iterate the flight speed of particle i at time t+1; is the iterative position of particle i at time t+1; p i and p g are the current local optimum and global optimum respectively; c1 and c2 are learning factors; r1 and r2 are used to increase the randomness of the search; a is the inertia weight; The inertia weight a improves the convergence speed of the algorithm in the manner of a concave function descent. The calculation formula is: Where t is the number of iterations, T max is the maximum number of iterations; The optimal initial weight optimized by the PSO algorithm is introduced into the ELM prediction model to obtain the PSO-ELM prediction model. The number of hidden layer nodes is calculated using the empirical formula Get, where N y is the number of hidden layer nodes, p and s are the number of input layer and output layer nodes respectively, and the random particles are initialized with speed and position. After the settings are completed, network training is performed.
4. The device for predicting the erosion rate of a coalbed methane elbow according to claim 3, characterized in that: The coalbed methane elbow is a U-shaped elbow.
