METHOD FOR PREDICTING GASIFICATION REACTION CHARACTERISTICS OF BIOMASS CHAR

Information

  • Patent Application
  • 20230419073
  • Publication Number
    20230419073
  • Date Filed
    April 27, 2022
    2 years ago
  • Date Published
    December 28, 2023
    4 months ago
Abstract
The present disclosure provides a method for predicting gasification characteristics of biomass char, including the following steps: step 10): acquiring training data of biomass char gasification; step 20): establishing a BP neural network model including an input layer, a hidden layer and an output layer, input parameters of the BP neural network model being char making temperature, char specific surface area and gasification time, and output parameters being char conversion rate; step 30): training the BP neural network model by adopting the training data, and optimizing the BP neural network model by adopting a particle swarm optimization algorithm to obtain a BP neural network model with high prediction precision; and step 40): predicting the char conversion rate by using the BP neural network model with high prediction precision. According to the method, high-fitness simulation can be performed on the gasification process of biomass char, and the char gasification characteristics can be accurately predicted.
Description
TECHNICAL FIELD

The present disclosure belongs to the technical field of biomass gasification utilization, and particularly relates to a method for predicting gasification reaction characteristics of biomass char.


BACKGROUND

Electric power is the key to carbon neutralization of energy systems in China, and the utilization of a biomass energy technology in the electric power industry has important significance for promoting the realization of carbon neutralization. A biomass gasification technology is a promising utilization technology, it not only realizes high-efficiency cleaning of biomass, but also can be used for preparing high-quality synthesis gas. However, the gasification process of the biomass is very complex and is generally divided into three stages of pyrolysis, volatile gasification and char gasification. The gasification of the char belongs to a gas-solid heterogeneous reaction, and its reaction rate is far lower than that of pyrolysis and volatile gasification, so that the reaction rate of the biomass gasification is mainly controlled by the reaction activity of the char, and the activity of the char is mainly determined by the temperature, the time and the pore structure of the char.


The biomass has characteristics of high ash content and high alkali metal content, but alkali metal has a certain catalytic effect on the biomass pyrolysis gasification process, which influences the reaction rate of the biomass. Therefore, it is difficult to predict the gasification reaction characteristics of the biomass by a fixed mathematical model. An artificial neural network model does not need to consider the influence of the alkali metal on the gasification characteristics of the biomass, and the establishment of a model for predicting the gasification reactivity of the biomass is completely feasible as long as enough biomass gasification data is provided.


At present, there are some researches on predicting the biomass pyrolysis process by using a BP neural network model, but there are few predictions about the gasification reactivity of the biomass char. Moreover, since a BP neural network has the defects such as low convergence speed and easy falling into local minimum, there is a certain error between predicted data and measured data.


SUMMARY

Technical problems to be resolved in the present disclosure is that a method for predicting gasification reaction characteristics of biomass char is provided, which can perform high-fitness simulation on an air gasification reaction process of the biomass char and can accurately predict the gasification reaction characteristics of the biomass char.


In order to solve above technical problems, the present disclosure provides a method for predicting gasification reaction characteristics of biomass char, including the following steps:

    • step 10): acquiring training data of gasification reaction of the biomass char;
    • step 20): establishing a BP neural network model including an input layer, a hidden layer and an output layer, input parameters of the BP neural network model being char making temperature, char sample specific surface area and gasification time, and output parameters being char conversion rate;
    • step 30): training the BP neural network model by adopting the training data, and optimizing the BP neural network model by adopting a particle swarm optimization algorithm to obtain a BP neural network model with high prediction precision; and
    • step 40): predicting the char conversion rate in the gasification reaction of the biomass char by using the BP neural network model with high prediction precision.


As a further improvement of an embodiment of the present disclosure, the step 30) specifically includes:

    • step 31): acquiring an initial weight and an initial threshold of the BP neural network model;
    • step 32): initializing a particle swarm, each particle including the weight and the threshold of the BP neural network model, and giving a random initial position and a random initial speed;
    • step 33): inputting conditional data in the training data into the BP neural network model to obtain prediction data;
    • step 34): calculating an error between the prediction data and output data in the training data, and calculating by utilizing Formula (1) to obtain an individual fitness value of particles:









F
=


1
2






p
=
1

p





k
=
1

m



(


Y
pk

-

O
pk


)

2








Formula



(
1
)










    • where F represents the individual fitness value, Ypk represents an expected output value, Opk represents an output value, k represents a coefficient, and m represents the number of nodes of the output layer;

    • step 35): determining an individual extreme value and a swarm extreme value of the particle swarm, updating the speed of each particle by utilizing Formula (2), and updating the position of each particle by utilizing Formula (3):









text missing or illegible when filed
=wV
k
+c
1
r
1(text missing or illegible when filed)+c2r2(Ptext missing or illegible when filed)  Formula (2)






X
text missing or illegible when filed+1=Xtext missing or illegible when filed1  Formula (3)

    • where text missing or illegible when filed represents the speed of an ith particle in k+1 iterations, Vtext missing or illegible when filed represents the speed of the ith particle in k iterations, w represents an inertia weight, c1 represents a first learning factor, c2 represents a second learning factor, r1 and r2 both represent random numbers between 0 and 1, Xz,999 represents the position of the ith particle in k+1 iterations, Xtext missing or illegible when filed represents the position of the ith particle in k iterations, Ptext missing or illegible when filed represents the individual extreme value, and Ptext missing or illegible when filed represents the swarm extreme value;
    • step 36): if meeting an end condition, outputting the weight and the threshold, and executing step 37); otherwise, continuously executing the step 35), and in each iteration, enabling the particles to track the individual extreme value and the swarm extreme value to realize autonomous updating; and
    • step 37): updating the weight and the threshold output in the step 36) into the BP neural network model, and inputting the conditional data in the training data into the updated BP neural network model to obtain the prediction data; if meeting the requirements, determining that the updated BP neural network model is a qualified BP neural network model; otherwise, executing the step 34).


As a further improvement of the embodiment of the present disclosure, the meeting the requirements specifically includes:

    • calculating to obtain a fitting degree by using Formula (4):










R
2

=







j
=
1




n




(



y
_

1

-

y
1


)

2








j
=
1




n





y
_

1
2








j
=
1




n



y
1
2









Formula



(
4
)










    • where yi represents a predicted value, yi represents a measured value, and R2 represents the fitting degree; and

    • if the fitting degree is greater than 0.99, the requirements are met.





As a further improvement of the embodiment of the present disclosure, the step 10) specifically includes:

    • step 101): selecting homogeneous biomass as a test sample, performing drying and screening pretreatment, then performing pyrolysis gasification tests at different char making temperatures through a tubular furnace, and recording gasification time at different char making temperatures;
    • step 102): processing obtained thermal weight loss curves of the test sample at different temperatures, and performing reaction kinetic parameter calculation on data to obtain char conversion rates at different char making temperatures;
    • step 103): performing specific surface area test experiments on a pore structure of the char sample at different temperatures to obtain char specific surface areas at different char making temperatures; and
    • step 104): reflecting a distribution rule of the gasification characteristics of the char by using pore structure distribution of the char, forming the conditional data of the training data by using the char making temperatures, the char specific surface areas and the gasification time obtained through a plurality of gasification tests, and forming the output data of the training data by using the char conversion rates obtained through the plurality of gasification tests.


As a further improvement of the embodiment of the present disclosure, the step 10) further includes:

    • step 105): normalizing the training data by using Formula (5):









P
=



P
1

-

P
min




P
max

-

P
min







Formula



(
5
)










    • where P1 represents the original training data, P represents the normalized training data, Pmin represents a preset minimum value, and Pmax represents a preset maximum value.





As a further improvement of the embodiment of the present disclosure, in the BP neural network model, a transfer function between the input layer and the hidden layer is a tansig function









f
1

(
x
)

=


tan



sig

(
x
)


=


2

1
+

e


-
2


x




-
1



,




and the transfer function between the hidden layer and the output layer is a purelin type ƒ2(x)=x function.


As a further improvement of the embodiment of the present disclosure, the step 20) further includes:

    • calculating the number of layers of the hidden layer by using Formula (6) according to the number of the input parameters and the number of the output parameters:






m=√{square root over (n+l)}+a  Formula (6)

    • where m represents the number of layers of the hidden layer, n represents the number of the input parameters, l represents the number of the output parameters, and a represents a constant from 1 to 10.


Compared with the prior art, the technical solutions of the present disclosure have the following beneficial effects: in the method for predicting gasification reaction characteristics of biomass char provided by the embodiment of the present disclosure, the training data of the gasification reaction of the biomass char are trained through the BP neural network, the BP neural network model is optimized by using the particle swarm optimization (PSO) algorithm, and the optimal weight and threshold of the BP neural network model are updated, thereby reducing the prediction error of the BP neural network model, enhancing the prediction accuracy, and making the prediction of the gasification activity of biomass char more accurate.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a flow chart of a method for predicting gasification reaction characteristics of biomass char of an embodiment of the present disclosure;



FIG. 2 is an isothermal gasification characteristic rule chart of furfural residues at different char making temperatures in an example 1 of the present disclosure;



FIG. 3 is a change rule chart of a char specific surface area and a pore volume of furfural residues along with temperature in an example 1 of the present disclosure;



FIG. 4 is a comparison chart of a measured value and a predicted value of a char conversion rate of furfural residues in an example 1 of the present disclosure; and



FIG. 5 is a regression line chart of a predicted value and a measured value in an example 1 of the present disclosure.





DETAILED DESCRIPTION

The technical solutions of the present disclosure are described below in detail.


An embodiment of the present disclosure provides a method for predicting gasification reaction characteristics of biomass char, as shown in FIG. 1, including the following steps:

    • Step 10): training data of gasification reaction of the biomass char is acquired.
    • Step 20): a BP neural network model including an input layer, a hidden layer and an output layer is established, input parameters of the BP neural network model are char making temperature, char sample specific surface area and gasification time, and output parameters are char conversion rate.
    • Step 30): the BP neural network model is trained by adopting the training data, and the BP neural network model is optimized by adopting a particle swarm optimization algorithm to obtain a BP neural network model with high prediction precision.
    • Step 40): the char conversion rate in the gasification reaction of the biomass char is predicted by using the BP neural network model with high prediction precision.


In the method for predicting gasification reaction characteristics of biomass char provided by the embodiment of the present disclosure, the training data of the gasification reaction of the biomass char are trained through the BP neural network, the BP neural network model is optimized by using the particle swarm optimization (PSO) algorithm, and the optimal weight and threshold of the BP neural network model are updated, thereby reducing the prediction error of the BP neural network model, enhancing the prediction accuracy, and making the prediction of the gasification activity of biomass char more accurate.


Preferably, as shown in FIG. 1, the step 30) specifically includes:

    • Step 31): an initial weight and an initial threshold of the BP neural network model are acquired.
    • Step 32): a particle swarm is initialized, each particle includes the weight and the threshold of the BP neural network model, and a random initial position and a random initial speed are given.
    • Step 33): conditional data in the training data is input into the BP neural network model to obtain prediction data.
    • Step 34): an error between the prediction data and output data in the training data is calculated, calculating by utilizing Formula (1) to obtain an individual fitness value of particles:









F
=


1
2






p
=
1

p





k
=
1

m



(


Y
pk

-

O
pk


)

2








Formula



(
1
)










    • where F represents the individual fitness value, Ypk represents an expected output value, Opk represents an output value, k represents a coefficient, and m represents the number of nodes of the output layer.

    • Step 35): iterative search is performed on each particle in a solution space, and a new solution is searched by continuously adjusting the position of the particle, thereby determining an individual extreme value and a swarm extreme value of a particle swarm, updating the speed of each particle by using Formula (2), and updating the position of each particle by using Formula (3):









V
text missing or illegible when filed idk+c1r1(Ptext missing or illegible when filed−Xtext missing or illegible when filed)+c2r2(Ptext missing or illegible when filed−Xtext missing or illegible when filed)  Formula (2)






X
text missing or illegible when filed=Xtext missing or illegible when filed+Vtext missing or illegible when filed+1  Formula (3)

    • where Vtext missing or illegible when filed represents the speed of an ith particle in k+1 iterations, Vtext missing or illegible when filed represents the speed of the ith particle in k iterations, w represents an inertia weight, c1 represents a first learning factor, c2 represents a second learning factor, r1 and r2 both represent random numbers between 0 and 1, Xtext missing or illegible when filed represents the position of the ith particle in k+1 iterations, Xtext missing or illegible when filed represents the position of the ith particle in k iterations, Ptext missing or illegible when filed represents the individual extreme value, and Ptext missing or illegible when filed represents the swarm extreme value.
    • Step 36): if an end condition is met, the weight and the threshold are output, and step 37) is executed; otherwise, the step 35) is continuously executed, where each time the step 35) is executed, an iteration is completed, and in each iteration, the particles can track the individual extreme value and the swarm extreme value to realize autonomous updating; and
    • the end condition is that the global optimal fitness is smaller than an error or the number of iterations reaches a preset maximum iteration number.
    • Step 37): the weight and the threshold output in the step 36) are updated into the BP neural network model, and the conditional data in the training data is input into the updated BP neural network model to obtain the prediction data. If the requirements are met, it's determined that the updated BP neural network model is a qualified BP neural network model; otherwise, executing the step 34).


According to the method provided by the embodiment of the present disclosure, the weight and threshold of the BP neural network model are updated by using the SPO algorithm, so that the convergence speed of the BP neural network is improved, and the defects such as easy falling into local minimum are overcome.


Preferably, the meeting the requirement specifically includes:

    • calculating to obtain a fitting degree by using Formula (4):










R
2

=







j
=
1




n




(



y
_

1

-

y
1


)

2








j
=
1




n





y
_

1
2








j
=
1




n



y
1
2









Formula



(
4
)










    • where yi represents a predicted value, yi represents a measured value, and R2 represents the fitting degree.





If the fitting degree is greater than 0.99, the requirements are met.


Preferably, the step 10) specifically includes:

    • Step 101): selecting homogeneous biomass as a test sample, performing drying and screening pretreatment, then performing pyrolysis gasification tests at different char making temperatures through a tubular furnace, and recording gasification time at different char making temperatures.
    • Step 102): processing obtained thermal weight loss curves of the test sample at different temperatures, and performing reaction kinetic parameter calculation on data to obtain char conversion rates at different char making temperatures.
    • Step 103): performing specific surface area test (BET) experiments on a pore structure of the char sample at different temperatures to obtain char specific surface areas at different char making temperatures.
    • Step 104): reflecting a distribution rule of the gasification characteristics of the char by using pore structure distribution of the char, setting the char making temperatures, the char specific surface areas and the gasification time obtained through a plurality of gasification tests as the conditional data of the training data, and setting the char conversion rates obtained through the plurality of gasification tests as the output data of the training data.


Preferably, the step 10) further includes:

    • Step 105): normalizing the training data by using Formula (5):









P
=



P
1

-

P
min




P
max

-

P
min







Formula



(
5
)










    • where Pl represents the original training data, represents the normalized training data, Pmin represents a preset minimum value, and Pmax represents a preset maximum value.





According to the embodiment of the present disclosure, the training data is normalized and then used for training the neural network model, so that relatively large magnitude order difference of the input data and the output data can be avoided, and as a result, the error of a prediction result can be reduced.


Preferably, in the BP neural network model, a transfer function between the input layer and the hidden layer is a tansig function









f
1

(
x
)

=


tan



sig

(
x
)


=


2

1
+

e


-
2


x




-
1



,




the transfer function between the hidden layer and the output layer is a purelin type ƒ2(x)=x function, and the training function of the BP neural network model is a trainlm function.


Preferably, the step 20) further includes:

    • calculating the number of layers of the hidden layer by using Formula (6) according to the number of the input parameters and the number of the output parameters:






m=√{square root over (n+l)}+a  Formula (6)

    • where m represents the number of layers of the hidden layer, n represents the number of the input parameters, l represents the number of the output parameters, and a represents a constant from 1 to 10.


A specific example is provided as follows for verifying the performance of the embodiment of the present disclosure.


Example 1

Step 1): Furfural residue char was prepared at different char making temperatures through a tubular furnace, isothermal gasification thermogravimetric experiment and BET characterization were performed, and training data was acquired.


Homogeneous furfural residues with particle sizes ranging from 40 to 60 meshes were selected as biomass, the biomass was pre-treated by drying and screening, pyrolysis was performed in the tubular furnace at temperatures of 800° C., 850° C. and 900° C. respectively to prepare furfural residue char samples (C800° C., C850° C. and C900° C.), and a gas cylinder containing 10% O2+90% N2 was provided for the thermogravimetric experiment.


In order to guarantee the measurement accuracy of the thermogravimetric experiment, about 8 mg by mass of the samples at the temperatures of C800° C., C850° C. and C900° C. were taken each time, where the nitrogen flow was 25 m/min.


The temperature was increased to 900° C. in a gas 1 (99.999% of N2) atmosphere at a temperature increase rate of 30 K/min, and after staying for 10 min, the gas was switched into gas 2 (10% O2+90% N2) for performing an air gasification experiment at a constant temperature of 900° C. for 30 min.


The obtained thermal weight loss curves at the temperatures of C800° C., C850° C. and C900° C. were processed, and reaction kinetic parameter calculation was performed on the data. As shown in FIG. 2, the time of complete char gasification was gradually advanced along with the increase of the char making temperature, and the gasification ending time at the temperature of C900° C. was about twice that at the temperature of C800° C.


A BET experiment was performed for the changes of pore structures of the particles at the temperatures of C800° C., C850° C. and C900° C. to obtain a rule that the specific surface area of the furfural residue char particles changed along with the char making temperature. As shown in FIG. 3, the specific surface area and pore volume were increased due to the increase of the gasification temperature, so that the pore structure of the char was more developed, and the gasification reaction rate was higher.


Step 2): A BP neural network model was trained by adopting the training data, and the BP neural network model was optimized by adopting a PSO algorithm to obtain a PSO-BP model.


Step 3): The char making temperature, char sample specific surface area and gasification time were input into the PSO-BP model for prediction to obtain a predicted char conversion rate.


The prediction data fitted by the PSO-BP model was compared with output data, the result was as shown in FIG. 4, and the correlation coefficient R2 reached 0.9981. As shown in FIG. 5, the accuracy of the PSO-BP model in the method of the present disclosure was verified, and a reliable method was provided for research of the reaction characteristics of the biomass char in the gasification process.


The basic principles, main features, and advantages of the present disclosure are shown and described above. A person skilled in the art may understand that the present disclosure is not limited to the foregoing specific embodiments. Descriptions in the foregoing specific embodiments and specification are only intended to further illustrate the principles of the present disclosure. Various modifications and improvements are made in the present disclosure without departing from the spirit and the scope of the present disclosure, and these modifications and improvements shall fall within the protection scope of the present disclosure. The protection scope of the present disclosure is subject to the claims and equivalents thereof.

Claims
  • 1. A method for predicting gasification reaction characteristics of biomass char, comprising the following steps: step 10): acquiring training data of gasification reaction of the biomass char;step 20): establishing a BP neural network model comprising an input layer, a hidden layer and an output layer, input parameters of the BP neural network model being char making temperature, char sample specific surface area and gasification time, and output parameters being char conversion rate;step 30): training the BP neural network model by adopting the training data, and optimizing the BP neural network model by adopting a particle swarm optimization algorithm to obtain a BP neural network model with high prediction precision; andstep 40): predicting the char conversion rate in the gasification reaction of the biomass char by using the BP neural network model with high prediction precision.
  • 2. The method for predicting gasification reaction characteristics of biomass char according to claim 1, wherein the step 30) specifically comprises: step 31): acquiring an initial weight and an initial threshold of the BP neural network model;step 32): initializing a particle swarm, each particle comprising the weight and the threshold of the BP neural network model, and giving a random initial position and a random initial speed;step 33): inputting conditional data in the training data into the BP neural network model to obtain prediction data;step 34): calculating an error between the prediction data and output data in the training data, and calculating by utilizing Formula (1) to obtain an individual fitness value of particles:
  • 3. The method for predicting gasification reaction characteristics of biomass char according to claim 2, wherein the meeting the requirements specifically comprises: calculating to obtain a fitting degree by using Formula (4):
  • 4. The method for predicting gasification reaction characteristics of biomass char according to claim 1, wherein the step 10) specifically comprises: step 101): selecting homogeneous biomass as a test sample, performing drying and screening pretreatment, then performing pyrolysis gasification tests at different char making temperatures through a tubular furnace, and recording gasification time at different char making temperatures;step 102): processing obtained thermal weight loss curves of the test sample at different temperatures, and performing reaction kinetic parameter calculation on data to obtain char conversion rates at different char making temperatures;step 103): performing specific surface area test experiments on a pore structure of the char sample at different temperatures to obtain char specific surface areas at different char making temperatures; andstep 104): reflecting a distribution rule of the gasification characteristics of the char by using pore structure distribution of the char, forming the conditional data of the training data by using the char making temperatures, the char specific surface areas and the gasification time obtained through a plurality of gasification tests, and forming the output data of the training data by using the char conversion rates obtained through the plurality of gasification tests.
  • 5. The method for predicting gasification reaction characteristics of biomass char according to claim 4, wherein the step 10) further comprises: step 105): normalizing the training data by using Formula (5):
  • 6. The method for predicting gasification reaction characteristics of biomass char according to claim 1, wherein in the BP neural network model, a transfer function between the input layer and the hidden layer is a tansig function
  • 7. The method for predicting gasification reaction characteristics of biomass char according to claim 1, wherein the step 20) further comprises: calculating the number of layers of the hidden layer by using Formula (6) according to the number of the input parameters and the number of the output parameters: m=√{square root over (n+l)}+a  Formula (6)wherein m represents the number of layers of the hidden layer, n represents the number of the input parameters, l represents the number of the output parameters, and a represents a constant from 1 to 10.
Priority Claims (1)
Number Date Country Kind
202110860387.8 Jul 2021 CN national
PCT Information
Filing Document Filing Date Country Kind
PCT/CN2022/089540 4/27/2022 WO