Blast furnace coke performance prediction system based on machine learning regression decision tree
Through the prediction system based on the machine learning regression decision tree algorithm, the problem of difficulty in predicting coke performance and carbon emissions in blast furnace smelting is solved, real-time prediction of coke performance and optimization of the production process are achieved, and smelting efficiency and environmental protection are improved.
Patent Information
- Application Number
- CN202410747640.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-08
AI Technical Summary
Coke performance and carbon emissions cannot be predicted in real time during the blast furnace smelting process, leading to unstable production and waste of resources.
A prediction system based on machine learning regression decision tree algorithm is used to predict the CSR and CRI indicators of coke in real time through data collection, preprocessing, model training and prediction modules to optimize the production process.
It improves the coke reduction utilization rate, reduces carbon emissions, reduces production delays and labor costs, and realizes the development of intelligent and economic benefits for blast furnace smelting.
Smart Images

Figure CN118747608A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of coke performance prediction, resource regulation and environmental protection technology in a steel production process of a blast furnace in iron and steel metallurgy, and in particular relates to a prediction system for blast furnace coke performance based on a machine learning regression decision tree algorithm. Background Art
[0002] In modern blast furnace ironmaking, coking coal is the main reducing agent and skeleton material, and its performance directly affects many key links such as blast furnace smelting efficiency, coke consumption, production cost and environmental emissions. Coking coal is converted into coke through dry distillation under high temperature environment, which not only provides heat and reducing gas (CO) for iron ore reduction, but also the quality of coke determines the permeability of the material column in the furnace and the working stability of the furnace. Among them, CSR (coke strength after reaction) and CRI (coke reactivity index) are the two most critical performance indicators to measure the quality of coke and its behavior in the blast furnace.
[0003] CSR reflects the mechanical strength of coke after undergoing high-temperature chemical reactions, which is directly related to whether a good air permeability channel can be maintained during the descent of the charge, and to avoid problems such as uneven airflow distribution caused by fragmentation. When CSR increases, the strength of coke can better resist thermal shock and mechanical stress at high temperatures during blast furnace smelting, thereby maintaining good air permeability and supporting structure, and improving the efficiency of blast furnace ironmaking and product quality; when CSR decreases, the quality of coke decreases, affecting the stability and economic benefits of steel production. CRI measures the activity of coke in reacting with CO2 at high temperatures. This characteristic directly affects the indirect reduction process in the blast furnace and the rate of coke consumption. Too high or too low an index is not conducive to the normal progress of blast furnace ironmaking. Too high CRI leads to uneven heat distribution in the blast furnace, thus affecting furnace stability and production efficiency. Too low CRI indicates that the coke is too hard and difficult to reduce, which reduces the reaction rate with oxides in the ore and reduces the overall smelting efficiency.
[0004] Therefore, by scientifically measuring and regulating these two indicators, we can effectively guide coke production and blast furnace smelting practices, reduce energy consumption, reduce resource waste, and help achieve the goal of green and low-carbon metallurgy.
[0005] Through the above analysis, the problems and defects of the prior art are as follows:
[0006] There are a series of problems in the blast furnace smelting process, such as the inability to make real-time predictions, the inability to judge the performance of coke, carbon emissions, and the basic composition of coke. Summary of the invention
[0007] In view of the problems existing in the prior art, the present invention provides a prediction system for blast furnace coke performance based on a machine learning regression decision tree algorithm.
[0008] The present invention is implemented in such a way that a prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm is applied, comprising:
[0009] Data acquisition module, data preprocessing module, main control module, algorithm parameter adjustment module, data training module, model prediction module;
[0010] A data acquisition module, connected to the data preprocessing module, is used to periodically collect the properties of the coke material applied during the blast furnace production process;
[0011] The data preprocessing module is connected with the data acquisition module and the main control module and is used to clean, integrate, convert and reduce the data stored in the database system;
[0012] The main control module is connected with the data preprocessing module, algorithm parameter adjustment module, data training module, and model prediction module to control the normal operation of each module;
[0013] The algorithm parameter adjustment module is connected to the main control module and is used to set parameters based on the established decision tree algorithm model;
[0014] A data training module, connected to the main control module, is used to train the data;
[0015] The model prediction module is connected to the main control module and is used to realize the prediction function of the optimized model.
[0016] The working principle of this system can be divided into four main parts, involving data collection, preprocessing, model training and prediction.
[0017] The data acquisition module is responsible for periodically collecting the properties of coke materials used in the blast furnace production process. These data include but are not limited to the chemical composition, physical properties and combustion characteristics of coke. Once the data are collected, they will be transferred to the data preprocessing module. In the data preprocessing module, the raw data will go through steps such as cleaning, integration, conversion and reduction to remove outliers, handle missing values, convert data formats and reduce data dimensions to ensure the quality and efficiency of subsequent analysis.
[0018] After the data is preprocessed, the main control module will guide the data flow to the algorithm parameter adjustment module and the data training module. The algorithm parameter adjustment module is responsible for setting the parameters of the decision tree algorithm, such as the depth of the tree, the minimum number of samples required for splitting, etc. These parameters are crucial to the performance and generalization ability of the model. Parameter adjustment usually relies on techniques such as cross-validation to determine the optimal parameter combination.
[0019] The parameter-adjusted model is then trained in the data training module. This module uses the preprocessed data to train a decision tree model to learn the relationship between input (coke attributes) and output (coke performance). Through supervised learning methods, the model is able to capture complex nonlinear relationships in the data, thereby making effective predictions on unseen data.
[0020] Finally, in the model prediction module, the trained decision tree model is used to predict the performance of new coke samples. This module uses the trained model to analyze the properties of the newly input coke and predict its performance, providing scientific data support and decision-making basis for blast furnace production. This prediction function allows blast furnace operators to optimize the production process, thereby improving the quality of furnace materials and production efficiency.
[0021] Further, the data acquisition module acquisition method:
[0022] Periodic collection of coke material properties used in the blast furnace production process, basic performance parameters such as coke ash, moisture, sulfur content, and coke post-reaction strength CSR and reactivity index CRI obtained by manufacturers, and the basic properties and post-reaction data of coke obtained through multiple sets of measurements and combustion to establish a coke performance database;
[0023] While collecting the properties of coke, the data acquisition module will intelligently record the property parameters of the blast furnace, including the furnace number, height, production batch, and production efficiency information.
[0024] Further, the data preprocessing module processing method:
[0025] Clean, integrate, convert and standardize the data stored in the database system; data cleaning is to deal with errors, missing, duplicate and abnormal data in the original data;
[0026] Data integration is to integrate data from multiple data sources into one data set, merge duplicate data, and retain useful data; data conversion is to convert the original data into a suitable text form for easy storage in Excel or CSV files, and divide the data into 80% training data and 20% test data; data reduction is to perform Min-Max normalization on the data to make it linearly transformed and map the data to the interval [0,1].
[0027] Further, the algorithm parameter adjustment module method:
[0028] Set parameters based on the established decision tree algorithm model, including the tree depth, random seed number, and maximum leaf node number algorithm parameters in the decision tree algorithm;
[0029] The best matching parameters of the model are found through grid search and cross-validation. The parameters are adjusted and verified according to the properties and characteristics of the database results. When the accuracy of the model reaches the highest, this parameter is selected; after adjusting the parameters, the performance of the model is improved to a certain extent, and the update parameters are selected; the influence size between the data is analyzed, and the input feature with the greatest impact on the prediction result is determined as the root node of the entire decision tree. In addition to the input features other than the root node, the entropy value is compared again, and the input feature with the largest impact on the prediction result is used as the intermediate node under the root node. This cycle is repeated and analogous to establish a regression decision tree model;
[0030] The input features of the decision tree model include: basic properties of coke such as moisture, ash, volatile matter, etc.; the output features include: CSR and CRI of coke to evaluate its performance; it also includes setting the decision traversal algorithm; number of training iterations: training is stopped when the number of training iterations is reached; minimum error: training is stopped when the predicted value and experimental value are less than the minimum error.
[0031] Further, the data training module method:
[0032] After adjusting the model parameters, the decision tree is a recursive process of reading data into the program from the root node to the leaf node, finding a partition attribute at each node, and selecting the most characteristic to build the root node at the beginning of the partition decision tree, and placing all the training data on the root node, so as to divide the training data set into subsets according to this feature and enter the child nodes; loop this process, recursively divide all subsets according to the attributes of the internal nodes, including these subsets can be basically correctly classified, then the leaf nodes will be built, and these subsets will be divided into the corresponding leaf nodes;
[0033] When the model is too simple, the model will have underfitting behavior, that is, the error on the training set is too large, resulting in too large error on the test set. Through continuous training and optimization of the model, the complexity of the model with simple structure continues to increase, and the underfitting behavior of the model continues to decrease; when the model complexity is too high, the model will have overfitting behavior, that is, the training error of the model on the training set is almost 0, but the test error of the model is too large. Through continuous training, its own optimization reduces complexity and prevents overfitting. Until the critical point of underfitting and overfitting is found, the model training is completed; in addition, the evaluation indicators will be given accordingly in this section function: mean absolute error MAE, mean square error MSE, mean absolute percentage error MAPE and determination coefficient R 2 .
[0034] Further, the model prediction module method:
[0035] The optimized model realizes the prediction function; by inputting different basic attribute parameters of coke to obtain corresponding prediction results, unknown basic attribute parameters of coke such as moisture, ash, sulfur content, etc. are input into the decision tree prediction system to obtain corresponding prediction results;
[0036] According to different blast furnace models and control conditions, the actual input selects a subset of the model input, and the actual output selects a subset of the model output; different input variables are selected as input parameters according to different output characteristics.
[0037] Another object of the present invention is to provide a prediction method for blast furnace coke performance based on a machine learning regression decision tree algorithm, comprising:
[0038] Step 1, periodically collecting the properties of the coke material used in the blast furnace production process through a data acquisition module;
[0039] Step 2: Clean, integrate, convert and reduce the data stored in the database system through the data preprocessing module;
[0040] Step 3: The main control module sets parameters based on the established decision tree algorithm model through the algorithm parameter adjustment module;
[0041] Step 4: Train the data through the data training module; optimize the model to the best one through the model prediction module to realize the prediction function.
[0042] Another object of the present invention is to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the prediction method based on the machine learning regression decision tree algorithm applied to the performance of blast furnace coke.
[0043] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to execute the steps of the prediction method based on the machine learning regression decision tree algorithm applied to the performance of blast furnace coke.
[0044] Another object of the present invention is to provide an information data processing terminal, which is used to implement the prediction system based on machine learning regression decision tree algorithm applied to blast furnace coke performance.
[0045] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:
[0046] First, the present invention proposes a prediction system that applies a machine learning regression decision tree algorithm to the performance of blast furnace coke, and converts blast furnace smelting into the corresponding special structure of the decision tree algorithm. The advantage of the decision tree algorithm is that it has the advantage of real-time prediction, which replaces manual judgment on the content of various substances in the production process based on experience. Compared with manual judgment, it has higher accuracy and faster and better prediction effect. At the same time, it reduces labor costs, promotes the intelligentization of blast furnace smelting, and promotes the development of economic benefits.
[0047] Second, the expected benefits and commercial value of the technical solution of the present invention after transformation are:
[0048] The development of this system provides effective decision-making support for blast furnace production, accurately controls the CSR and CRI indicators of coke, increases the coke reduction utilization rate from 70.6% to 75.3%, and reduces carbon emissions by about 5%. This technology realizes online real-time monitoring, which can significantly reduce production delays, raw material waste and labor costs caused by coke quality problems, and reduce economic losses in the production process by about 30 million yuan per year. After adopting this technology, it can effectively reduce the emission of greenhouse gases such as CO and CO2, help enterprises meet international environmental standards, and avoid economic losses or production capacity restrictions caused by non-compliance with environmental standards. The development of this system has enabled the prediction accuracy of coke performance to reach more than 95%, and the prediction time has been shortened to less than 0.3s.
[0049] The technical solution of the present invention fills the technical gap in the industry at home and abroad:
[0050] At present, machine learning algorithms are widely used in the industrial field, but the prediction work of blast furnace coke performance based on machine learning regression decision tree algorithm has not been carried out. The present invention pioneered the development of a prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm, filling the technical gap in the field of blast furnace coke performance prediction at home and abroad, and promoting the intelligent development of blast furnace smelting.
[0051] The technical solution of the present invention solves the technical problems that people have been eager to solve but have never been able to solve successfully:
[0052] The hot strength of coke: reactivity (CRI) and strength after reaction (CSR) are crucial to blast furnace operation. Coke with good hot strength has less particle size change in the furnace, which helps to maintain good air permeability. If the hot performance of coke is poor, it will cause it to break quickly in a high temperature environment and reduce its particle size, thereby increasing the resistance of the charge and affecting the smooth operation of the blast furnace and the air permeability of the furnace. In the past, the judgment of coke performance relied solely on manual experience, which lacked accuracy and real-time performance. The technology of the present invention overcomes the error and real-time problems caused by manual labor, so that the prediction accuracy of coke performance reaches more than 95%, and the prediction time is shortened to less than 0.3s.
[0053] The technical solution of the present invention overcomes technical bias: The technical solution of the present invention overcomes design bias and usage bias. The prediction system based on machine learning regression decision tree algorithm applied to blast furnace coke performance is based on the designer's own experience while taking into account user needs and habits. The design is oriented to all users, and the interface tends to be simple and the program operation tends to be simplified, which benefits the general public.
[0054] Third, the prediction system of the coke performance of blast furnaces based on machine learning regression decision tree algorithm of the present invention can realize accurate prediction of the performance of coke materials used in the blast furnace production process by integrating multiple functional modules. The system not only improves the prediction accuracy of coke performance, but also improves the efficiency and stability of blast furnace production.
[0055] Existing technical problems solved:
[0056] 1) Data quality issues: Traditional prediction methods often use raw data directly without performing necessary data preprocessing, resulting in low data quality and affecting the accuracy of prediction results.
[0057] 2) Weak model generalization ability: Traditional models may lack sufficient flexibility and generalization ability to adapt to the complexity of changes in coke properties during blast furnace production.
[0058] 3) Low prediction efficiency: Traditional prediction methods may require a lot of computing resources and time, and cannot meet the needs of blast furnace production for fast and accurate prediction.
[0059] Technological progress achieved:
[0060] 1) Data preprocessing optimization: The data preprocessing module cleans, integrates, converts and reduces the original data, effectively improving the data quality and providing a high-quality data foundation for subsequent model training.
[0061] 2) Model parameter optimization: The algorithm parameter adjustment module can set parameters based on the established decision tree algorithm model. By adjusting the model parameters, the prediction performance of the model can be optimized and the generalization ability of the model can be improved.
[0062] 3) Improved prediction efficiency: The system controls the normal operation of each module through the main control module, realizing rapid data processing and efficient model training. At the same time, the model prediction module can quickly give prediction results, meeting the needs of blast furnace production for fast and accurate prediction.
[0063] 4) Improved prediction accuracy: Based on the machine learning regression decision tree algorithm, the system can accurately capture the complex relationship between coke performance and multiple attributes, improving prediction accuracy. The prediction accuracy can be further improved by continuously optimizing model parameters and training data.
[0064] 5) Enhanced production stability: By accurately predicting coke performance, the system can help blast furnace production personnel understand the performance changes of coke in advance, so that they can take corresponding measures to adjust production parameters and ensure the stability and continuity of blast furnace production.
[0065] In summary, the prediction system of blast furnace coke performance based on machine learning regression decision tree algorithm of the present invention is applied to it, which significantly improves the prediction accuracy, prediction efficiency and production stability by optimizing data preprocessing, model parameter adjustment and prediction process, and provides strong technical support for blast furnace production. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 It is a structural block diagram of a prediction system for blast furnace coke performance based on a machine learning regression decision tree algorithm provided in an embodiment of the present invention.
[0067] Figure 2 It is a flow chart of a prediction method for blast furnace coke performance based on a machine learning regression decision tree algorithm provided by an embodiment of the present invention.
[0068] Figure 3 It is a schematic diagram of a decision tree model for predicting blast furnace coke performance provided by an embodiment of the present invention.
[0069] Figure 4 It is a flow chart of a decision tree model for predicting blast furnace coke performance provided by an embodiment of the present invention.
[0070] Figure 5 This is a main interface diagram of the blast furnace coke performance prediction decision tree model software provided by an embodiment of the present invention.
[0071] Figure 6 It is a prediction module diagram of a blast furnace coke performance prediction decision tree model software provided by an embodiment of the present invention.
[0072] Figure 7 It is a rendering of the CRI and CSR property values of coke predicted by testing provided by an embodiment of the present invention.
[0073] Figure 1 In: 1. Data acquisition module; 2. Data preprocessing module; 3. Main control module; 4. Algorithm parameter adjustment module; 5. Data training module; 6. Model prediction module. DETAILED DESCRIPTION
[0074] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0075] like Figure 1 As shown, a prediction system for blast furnace coke performance based on a machine learning regression decision tree algorithm provided by an embodiment of the present invention includes:
[0076] Data acquisition module 1, data preprocessing module 2, main control module 3, algorithm parameter adjustment module 4, data training module 5, model prediction module 6;
[0077] The data acquisition module 1 is connected to the data preprocessing module 2 and is used to periodically collect the properties of the coke material used in the blast furnace production process;
[0078] The data preprocessing module 2 is connected to the data acquisition module 1 and the main control module 3 and is used to clean, integrate, convert and reduce the data stored in the database system;
[0079] The main control module 3 is connected with the data preprocessing module 2, the algorithm parameter adjustment module 4, the data training module 5, and the model prediction module 6 to control the normal operation of each module;
[0080] The algorithm parameter adjustment module 4 is connected to the main control module 3 and is used to set parameters based on the established decision tree algorithm model;
[0081] The data training module 5 is connected to the main control module 3 and is used for training the data;
[0082] The model prediction module 6 is connected to the main control module 3 and is used to realize the prediction function of the optimized model.
[0083] The data acquisition module acquisition method provided by the embodiment of the present invention:
[0084] Periodic collection of coke material properties used in the blast furnace production process, basic performance parameters such as coke ash, moisture, sulfur content, and coke post-reaction strength CSR and reactivity index CRI obtained by manufacturers, and the basic properties and post-reaction data of coke obtained through multiple sets of measurements and combustion to establish a coke performance database;
[0085] While collecting the properties of coke, the data acquisition module will intelligently record the property parameters of the blast furnace, including the furnace number, height, production batch, and production efficiency information.
[0086] The data preprocessing module processing method provided by the embodiment of the present invention:
[0087] Clean, integrate, convert and standardize the data stored in the database system; data cleaning is to deal with errors, missing, duplicate and abnormal data in the original data;
[0088] Data integration is to integrate data from multiple data sources into one data set, merge duplicate data, and retain useful data; data conversion is to convert the original data into a suitable text form for easy storage in Excel or CSV files, and divide the data into 80% training data and 20% test data; data reduction is to perform Min-Max normalization on the data to make it linearly transformed and map the data to the interval [0,1].
[0089] The algorithm parameter adjustment module method provided by the embodiment of the present invention:
[0090] Set parameters based on the established decision tree algorithm model, including the tree depth, random seed number, and maximum leaf node number algorithm parameters in the decision tree algorithm;
[0091] The best matching parameters of the model are found through grid search and cross-validation. The parameters are adjusted and verified according to the properties and characteristics of the database results. If the accuracy of the model is the highest, this parameter is selected; if the performance of the model is improved to a certain extent after adjusting the parameters, the parameters are updated; the influence between the data is analyzed, and the input feature with the greatest impact on the prediction result is determined as the root node of the entire decision tree. In addition to the input features other than the root node, the entropy value is compared again, and the input feature with the largest impact on the prediction result is used as the intermediate node under the root node. This cycle is repeated and analogous to establish a regression decision tree model;
[0092] The input features of the decision tree model include: basic properties of coke such as moisture, ash, volatile matter, etc.; the output features include: CSR and CRI of coke to evaluate its performance; it also includes setting the decision traversal algorithm; number of training iterations: training is stopped when the number of training iterations is reached; minimum error: training is stopped when the predicted value and experimental value are less than the minimum error.
[0093] The data training module method provided by the embodiment of the present invention:
[0094] After adjusting the model parameters, the decision tree is a recursive process of reading data into the program from the root node to the leaf node, finding a partition attribute at each node, and selecting the most characteristic to build the root node at the beginning of the partition decision tree, and placing all the training data on the root node, so as to divide the training data set into subsets according to this feature and enter the child nodes; loop this process, recursively divide all subsets according to the attributes of the internal nodes, including these subsets can be basically correctly classified, then the leaf nodes will be built, and these subsets will be divided into the corresponding leaf nodes;
[0095] When the model is too simple, the model will have underfitting behavior, that is, the error on the training set is too large, resulting in too large error on the test set. Through continuous training and optimization of the model, the complexity of the model with simple structure continues to increase, and the underfitting behavior of the model continues to decrease; when the model complexity is too high, the model will have overfitting behavior, that is, the training error of the model on the training set is almost 0, but the test error of the model is too large. By reducing the complexity through its own optimization, overfitting is also prevented. Until the critical point of underfitting and overfitting is found, the model training is completed; in addition, the evaluation indicators will be given accordingly in this section function: mean absolute error MAE, mean square error MSE, mean absolute percentage error MAPE and determination coefficient R 2 .
[0096] The model prediction module method provided by the embodiment of the present invention:
[0097] The optimized model realizes the prediction function; by inputting different basic attribute parameters of coke to obtain corresponding prediction results, unknown basic attribute parameters of coke such as moisture, ash, sulfur content, etc. are input into the decision tree prediction system to obtain corresponding prediction results;
[0098] According to different blast furnace models and control conditions, the actual input selects a subset of the model input, and the actual output selects a subset of the model output; different input variables are selected as input parameters according to different output characteristics.
[0099] like Figure 2 As shown, a prediction method for blast furnace coke performance based on a machine learning regression decision tree algorithm provided by an embodiment of the present invention includes:
[0100] S101, periodically collecting, through a data acquisition module, properties of coke materials used in a blast furnace production process;
[0101] S102, cleaning, integrating, converting and reducing the data stored in the database system through a data preprocessing module;
[0102] S103, the main control module sets parameters based on the established decision tree algorithm model through the algorithm parameter adjustment module;
[0103] S104, training the data through the data training module; optimizing the optimal model through the model prediction module to realize the prediction function.
[0104] Another object of the present invention is to provide a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the prediction method based on the machine learning regression decision tree algorithm applied to the performance of blast furnace coke.
[0105] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to execute the steps of the prediction method based on the machine learning regression decision tree algorithm applied to the performance of blast furnace coke.
[0106] Another object of the present invention is to provide an information data processing terminal, which is used to implement the prediction system based on machine learning regression decision tree algorithm applied to blast furnace coke performance.
[0107] The prediction system for applying a machine learning regression decision tree algorithm to blast furnace coke performance provided by the present invention comprises a data acquisition module, a data preprocessing module, an algorithm parameter adjustment module, a data training module and a model prediction module.
[0108] The data is mainly collected from the coke materials used in the blast furnace production process, the basic performance parameters of coke such as ash, moisture, sulfur content, and the coke post-reaction strength (CSR) and reactivity index (CRI) obtained by the manufacturer, and the basic properties and post-reaction data of coke are obtained through multiple sets of measurements and combustion to establish a coke performance database;
[0109] The obtained data on coke ash, moisture, sulfur content, etc. are screened, and data with large errors and mistakes are excluded. The data are checked for outliers, missing values, and duplicate values, and the outliers and duplicate values are deleted. The missing values are supplemented by repeated experiments, and the data are standardized and normalized. After obtaining complete and correct data, the data set is divided into 80% training data set and 20% test data set.
[0110] After obtaining a complete database, the prediction system parameters will be adjusted. The best matching parameters of the model will be found through grid search and cross-validation. The parameters will be adjusted and verified according to the properties and characteristics of the database results. If the accuracy of the model reaches the highest, this parameter will be selected; if the performance of the model has been improved to a certain extent after adjusting the parameters, the updated parameters will be selected. The influence of the data is analyzed, and the input feature with the greatest impact on the prediction result is determined as the root node of the entire decision tree. In addition to the input features other than the root node, the entropy value is compared again, and the input feature with the greatest impact on the prediction result is used as the intermediate node under the root node. This cycle is repeated and analogous to establish a regression decision tree model.
[0111] The processed data is used for model training. After the training, the accuracy, error rate, mean square error and mean absolute error are obtained. The quality of the model parameters is judged by the above indicators. If the accuracy obtained by the experimental results is lower than the expected value, the parameters of the model are modified through claim 3 and claim 4 is repeated until the model prediction results reach the expected value.
[0112] After the model parameters are adjusted to the optimal level and data training is completed, the basic properties of the coke to be tested, such as moisture, ash, and sulfur, are input into the prediction system, and predictions are performed according to the system's operations to obtain real-time prediction values.
[0113] The predicted value can be used to judge the output status of the blast furnace during the smelting process in advance. At the same time, the CSR and CRI performance of coke can be changed by adjusting the basic parameters of coke, avoiding the waste of resources, reducing the emission of gases such as CO and CO2, promoting green and intelligent production, and reducing the economic cost of the factory by approximately 30 million yuan each year.
[0114] The prediction system was packaged and encapsulated into software using the Tkinter framework under the Python language, and then promoted to industrial applications to promote industrial production and bring benefits and revenue to the development of the industrial economy.
[0115] The present invention is a prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm, including data acquisition module, data preprocessing module, algorithm parameter adjustment module, data training module and model prediction module. The data acquisition module is the data source information of the basic attributes such as moisture, ash, sulfur content of coking coal and CSR and CRI of coke obtained in the blast furnace smelting production process, and also includes experimental conditions and experimental results; the data preprocessing module refers to cleaning, integrating, converting and reducing the data stored in the database system, removing duplicate data and erroneous data, and dividing the data set into: 80% training data and 20% test data; the algorithm parameter adjustment module is to set parameters based on the built decision tree algorithm model, including algorithm parameters such as the depth of the tree in the decision tree algorithm, the number of random seeds, and the maximum number of leaf nodes, and find the best matching parameters of the model through grid search and cross-validation methods, adjust and verify the parameters according to the attributes and characteristics of the database results, and if the accuracy of the model reaches the highest, then this parameter is selected; if the performance of the model is improved to a certain extent after adjusting the parameters, then the update parameters are selected. Through the use of data analysis tools such as heat maps, the influence of data is analyzed, and the input feature with the greatest impact on the prediction result is determined as the root node of the entire decision tree. In addition to the input features other than the root node, the entropy value is compared again, and the input feature with the greatest impact on the prediction result is used as the intermediate node under the root node. This cycle is repeated to establish a regression decision tree model, etc.; it also includes setting the decision traversal algorithm; the number of training iterations: that is, stop training when the number of training iterations is reached; the minimum error: stop training when the predicted value and the experimental value are less than the minimum error; the data training module is after the model parameters are adjusted, the decision The decision tree is a recursive process of reading data into the program from the root node to the leaf node, finding a partitioning attribute at each node, selecting the most characteristic to build the root node at the beginning of the partition decision tree, and placing all the training data on the root node, so as to divide the training data set into subsets according to this feature and enter the child nodes; loop this process, recursively divide all subsets according to the attributes of the internal nodes, if these subsets can be basically correctly classified, then the leaf nodes will be built and these subsets will be divided into the corresponding leaf nodes; the model prediction module is to optimize the model to achieve the prediction function. By inputting different basic attribute parameters of coke to obtain the corresponding prediction results, the unknown basic attribute parameters of coke such as moisture, ash, sulfur content, etc. are input into the decision tree prediction system to predict the prediction results of coke performance CSR and CRI.
[0116] The purpose of the embodiments of the present invention is to increase the decision tree prediction system, while ensuring the accuracy of the model, to achieve privacy protection and guarantee the efficiency of the protocol. Specifically, the purposes of the embodiments of the present invention are as follows:
[0117] 1) Improve prediction ability. Compared with other prediction models, the decision tree model has good adaptability to the prediction of blast furnace coke performance, and its prediction accuracy is higher than other neural network models, especially in the process of industrial field application, which reflects the advantage of strong prediction ability.
[0118] 2) Real-time prediction. At the blast furnace smelting site, the traditional judgment method often relies on manual experience. In recent years, numerical simulation and neural network algorithms have been applied to the blast furnace smelting process. However, compared with the lack of real-time prediction capabilities of the machine learning regression decision tree algorithm model, the machine learning regression decision tree algorithm can shorten the prediction time to within 0.1-0.3s. Through real-time prediction, the production process can be effectively monitored and production parameters can be adjusted in time to avoid unnecessary losses.
[0119] 3) Efficient evaluation. The evaluation method of the model takes into account the computing cost and communication overhead, and reduces the communication overhead to achieve accurate prediction when the computing cost is moderate. This is particularly important in the application of the prediction model.
[0120] 4) Privacy protection. The blast furnace smelting process data is highly confidential data. The input end of the prediction model is equipped with confidential encryption information. The decision tree model system is an important property. The prediction code is packaged and packaged through the Tkinter library of the Python language to form an online software. Important information should not be leaked during the prediction process.
[0121] The prediction software process of the present invention can be summarized into the following three steps:
[0122] 1) Obtain the performance characteristics of coke, such as CSR and CRI of coke, through sample measurement, preprocess the results, take the moisture, ash, sulfur and other characteristics of coke as input features, and CSR and CRI as output features, load them into the prediction model to establish a training set.
[0123] 2) After determining the characteristic value and target value of the data, the data is processed for missing values, the data set is divided into 80% training data and 20% test data, and the data set is converted into a dictionary output form through dictionary special engineering. 2 It is an indicator to measure how well a statistical model fits the data, indicating how well the model quantitatively explains the variability of the response variable (dependent variable).
[0124]
[0125] Its value is between 0 and 1, indicating how much of the total variance of the dependent variable observations can be explained by the independent variables (explanatory variables) through the model. 2 The closer it is to 1, the better the model fit is, that is, the stronger the model's ability to explain the variation of the dependent variable is; R2 The closer it is to 0, the weaker the explanatory power of the model is, and the model fails to effectively capture the changing trend of the dependent variable.
[0126] 3) The prediction model shares the prediction results with users in a visual form through the interface, and users obtain the prediction result information.
[0127] In the embodiment of the present invention, in the recursive process of the decision tree from the root to the leaf, a "partition" attribute is found in each intermediate node, and there are three stopping conditions:
[0128] 1) All attributes of the samples contained in the current node belong to the same category and do not need to be divided;
[0129] 2) The current attribute set is empty, there are no other attributes to continue classification, and it cannot be divided;
[0130] 3) The sample set contained in the current node is empty and cannot be divided.
[0131] like Figure 3 The figure shows a schematic diagram of the decision tree model for predicting blast furnace coke performance: The decision tree algorithm uses the data feature of the largest influencing factor as the root node of the decision tree. The basis for dividing the data is the difference in the attribute values of the data features. In addition to the root node data feature, the entropy values of other features are compared. The data feature with the largest entropy value is used as the next intermediate node of the root node. The entropy values of other nodes are compared, and the cycle is repeated until all data features generate tree nodes and the decision tree is established. The decision tree model generated for the first time is repeatedly trained and tested until the best decision tree model is found. The model evaluation results are observed: MAE, R 2 , TrainScore, TextScore and other evaluation indicators. If the error between the predicted value and the experimental value does not meet the expectations, it is necessary to change the decision tree structure, adjust the maximum depth of the tree, random seeds and maximum number of leaf nodes, etc. until the expected results are met.
[0132] For example, in the case of coke performance prediction, the model has eight input features: ash, sulfur, moisture, activated carbon, M40 / M25, M10, volatile matter and coke content, and two output features: CSR and CRI of coke. Through the entropy attribute, it is found that the influence of ash, sulfur, moisture, activated carbon, M40 / M25, M10, volatile matter and coke content on CSR is 4.3%, 20%, 10.6%, 2.3%, 19.9%, 24.4%, 3.2%, 15.3%, and the influence of ash, sulfur, moisture, activated carbon, M40 / M25, M10, volatile matter and coke content on coke CRI is 3%, 12.4%, 6.5%, 24.4%, 23.1%, 19%, 0%, 11.6%.
[0133] The influence of different basic property characteristics on coke performance can be judged. The importance of the characteristics of the coke CRI value is fixed carbon>M40 / M25>M10>sulfur>coke content>moisture>ash>volatile matter. Among them, fixed carbon, M40 / M25 and M10 account for about 20% and are the main influencing factors. Coke with high fixed carbon content is relatively pure and stable, making the coke show a relatively low CRI, which is beneficial to maintain a stable coke skeleton in the blast furnace and reduce fuel consumption; ash and moisture account for less than 10%, which has little effect on the results, and volatile matter The characteristics of the CSR value are M10>sulfur>M40 / M25>coke content>moisture>ash>volatile matter>fixed carbon, among which M10, M40 / M25 and sulfur account for about 20%, which is the main influencing factor. Coke with higher M10 shows poor wear resistance and is more likely to break during transportation or use, which indirectly affects the filling structure of coke in the blast furnace and its ability to serve as a skeleton support, thereby affecting the CSR index; ash, volatile and fixed carbon account for less than 10%, which has little effect on the results. According to the actual analysis of on-site production, the characteristics of importance are consistent with the general experience of coke. The influence of M40 / M25 and M10 on the two indicators is the main influencing factor. The influence of ash and volatile matter on the two indicators is not significant. The influence of fixed carbon on the coke CRI index is dominant, and the influence on the CSR index is small.
[0134] The data results obtained through training show:
[0135] Based on the Python 3.9 operating environment, the decision tree code was encapsulated using Tkinter and Cv2 library functions to form an online prediction software, which realized the prediction of CSR and coke CRI performance and was put into use after passing the test in the factory. When predicting coke, a database training set needs to be added, and the input features need to include its basic properties such as ash, volatile matter, and sulfur content, so that the numerical prediction of CSR and coke CRI can be realized. Through the real-time prediction of the online prediction software, the running time is between 0.1-0.3s, and the prediction accuracy reaches 98.543% and 96.825% respectively.
[0136] Figure 4Flow chart of decision tree model for blast furnace coke performance prediction: Establish a coke performance database, mainly through the coke materials used in the blast furnace production process, the basic performance parameters of coke ash, moisture, sulfur content, and CSR and CRI of coke obtained by the manufacturer, and obtain the basic properties of coke and the data after reaction through multiple groups of measurements and combustion, and establish a coke performance database; Data preprocessing: missing values and error values are processed in the data in the database, and a complete information database is obtained after data preprocessing, and then the data is divided into 80% training data and 20% test data. The decision tree algorithm model parameters are set as tree depth, number of random seeds, tree traversal method, maximum number of leaf nodes, etc. The training data is input into the prediction system developed by Python language using the Pycharm platform. 80% of the data is used for training and fitting, and then 20% of the data is used for testing. The predicted value is compared with the experimental value. The evaluation parameter indicators of the model are obtained through the error between the predicted value and the experimental value: accuracy, error rate, mean square error, mean absolute error, which are used to judge the prediction ability of the model, and the model parameters are adjusted to achieve the expected evaluation indicators. The optimized prediction model is used for data prediction, and the prediction results of the model are obtained by inputting the basic parameters of coke. The real-time monitoring function of the system avoids abnormalities in the production process and further ensures production stability and efficiency.
[0137] Figure 5 The main interface of the decision tree model software for predicting the performance of blast furnace coke: The machine learning decision tree model code is written in Python language, and encapsulated using Tkinter database and Cv2 database to form the performance prediction software for coke. The software includes four major sections: setting data reading, algorithm parameters, data training and data prediction. It realizes the functions in the flow chart of the performance prediction model of coke. It can automatically perform repetitive or tedious model training and testing, improve the work efficiency of users, and realize real-time monitoring of CSR and coke CRI at industrial production sites, improve the reduction utilization rate of coke (from 70.6% to 75.3%), and promote the intelligent development of blast furnace smelting. It can save enterprises about 30 million yuan in costs each year. The development of the software system provides effective decision-making support for blast furnace production, helps optimize coke performance, improve production efficiency, and promote green, efficient and intelligent production.
[0138] Figure 6 Prediction module diagram of the decision tree model software for blast furnace coke performance prediction: The prediction module is a section for users to operate after data training and model parameter adjustment are completed. After inputting the basic parameters of coke, the user can predict the two indicators of CSR and coke CRI.
[0139] The advantage of the decision tree algorithm prediction model of the present invention is that the relevant parameters of the decision tree algorithm can be adjusted according to the different furnace numbers and control conditions at the blast furnace production site, thereby reducing the error between the predicted value and the actual value. Through different optimization data sets, the structure of the data set and data optimization, it is found through testing that the optimized machine learning regression decision tree model has a higher accuracy rate and can achieve the effect of real-time prediction.
[0140] The use of this technology can effectively reduce the emission of greenhouse gases such as CO and CO2, help companies meet international environmental standards, and avoid the risk of economic fines or production capacity restrictions caused by non-compliance with environmental standards.
[0141] The coke performance prediction model based on decision tree developed by the present invention is not only forward-looking in technology, but also brings direct practical benefits in economic and environmental protection, showing great superiority compared with the existing technology. Through the application of this innovative technology, steel production enterprises can realize the efficiency, intelligence and greenness of the production process, and promote the industry to move towards sustainable development.
[0142] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.
[0143] The embodiments of the present invention have achieved some positive effects during the development or use process, and indeed have great advantages over the prior art. The following content is described in conjunction with data, charts, etc. of the test process.
[0144] The CRI and CSR property values of coke were predicted through testing, and the effect diagram is shown in the figure below: Figure 7 As shown, the prediction accuracy rate reaches more than 95%, and the prediction time is shortened to less than 0.3s, achieving the purpose of controlling steelmaking costs. At the same time, real-time prediction improves production efficiency and promotes efficient, low-cost and intelligent production.
[0145] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered within the protection scope of the present invention.
Claims
1. A prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm, characterized in that: include: A data acquisition module, connected to the data preprocessing module, is used to periodically collect the properties of the coke material applied during the blast furnace production process; The data preprocessing module is connected with the data acquisition module and the main control module and is used to clean, integrate, convert and reduce the data stored in the database system; The main control module is connected with the data preprocessing module, algorithm parameter adjustment module, data training module, and model prediction module to control the normal operation of each module; The algorithm parameter adjustment module is connected to the main control module and is used to set parameters based on the established decision tree algorithm model; A data training module, connected to the main control module, is used to train the data; The model prediction module is connected to the main control module and is used to realize the prediction function of the optimized model.
2. The prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm as claimed in claim 1, characterized in that: The data acquisition module acquisition method: Periodic collection of coke material properties used in the blast furnace production process, basic performance parameters such as coke ash, moisture, sulfur content, and coke post-reaction strength CSR and reactivity index CRI obtained by manufacturers, and the basic properties and post-reaction data of coke obtained through multiple sets of measurements and combustion to establish a coke performance database; While collecting the properties of coke, the data acquisition module will intelligently record the property parameters of the blast furnace, including the furnace number, height, production batch, and production efficiency information.
3. The prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm as claimed in claim 1, characterized in that: The data preprocessing module processing method: Clean, integrate, convert and standardize the data stored in the database system; data cleaning is to deal with errors, missing, duplicate and abnormal data in the original data; Data integration is to integrate data from multiple data sources into one data set, merge duplicate data, and retain useful data; Data conversion is to convert the original data into a suitable text form for storage in Excel or CSV files, and divide the data into 80% training data and 20% test data; Data reduction is to perform Min-Max normalization on the data to make it linearly transformed and map the data to the interval [0,1].
4. The prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm as claimed in claim 1, characterized in that: The algorithm parameter adjustment module method: Set parameters based on the established decision tree algorithm model, including the tree depth, random seed number, and maximum leaf node number algorithm parameters in the decision tree algorithm; The best matching parameters of the model are found through grid search and cross-validation. The parameters are adjusted and verified according to the properties and characteristics of the database results. If the accuracy of the model is the highest, this parameter is selected; if the performance of the model is improved to a certain extent after adjusting the parameters, the parameters are updated; the influence between the data is analyzed, and the input feature with the greatest impact on the prediction result is determined as the root node of the entire decision tree. In addition to the input features other than the root node, the entropy value is compared again, and the input feature with the largest impact on the prediction result is used as the intermediate node under the root node. This cycle is repeated and analogous to establish a regression decision tree model; The input features of the decision tree model include: basic properties of coke such as moisture, ash, volatile matter, etc.; the output features include: CSR and CRI of coke to evaluate its performance; it also includes setting the decision traversal algorithm; number of training iterations: training is stopped when the number of training iterations is reached; minimum error: training is stopped when the predicted value and experimental value are less than the minimum error.
5. The prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm as claimed in claim 1, characterized in that: The data training module method: After adjusting the model parameters, the decision tree is a recursive process of reading data into the program from the root node to the leaf node, finding a partition attribute at each node, and selecting the most characteristic to build the root node at the beginning of the partition decision tree, and placing all the training data on the root node, so as to divide the training data set into subsets according to this feature and enter the child nodes; loop this process, recursively divide all subsets according to the attributes of the internal nodes, including these subsets can be basically correctly classified, then the leaf nodes will be built, and these subsets will be divided into the corresponding leaf nodes; When the model is too simple, the model will have underfitting behavior, that is, the error on the training set is too large, resulting in too large error on the test set. Through continuous training and optimization of the model, the complexity of the model with simple structure continues to increase, and the underfitting behavior of the model continues to decrease; when the model complexity is too high, the model will have overfitting behavior, that is, the training error of the model on the training set is almost 0, but the test error of the model is too large. By reducing the complexity through its own optimization, overfitting is also prevented. Until the critical point of underfitting and overfitting is found, the model training is completed; in addition, the evaluation indicators will be given accordingly in this section function: mean absolute error MAE, mean square error MSE, mean absolute percentage error MAPE and determination coefficient R 2 .
6. The prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm as claimed in claim 1, characterized in that: The model prediction module method: The optimized model realizes the prediction function; by inputting different basic attribute parameters of coke to obtain corresponding prediction results, the unknown basic attribute parameters of coke such as moisture, ash and sulfur are input into the decision tree prediction system to obtain corresponding prediction results; According to different blast furnace models and control conditions, the actual input selects a subset of the model input, and the actual output selects a subset of the model output; different input variables are selected as input parameters according to different output characteristics.
7. A method for predicting blast furnace coke performance based on machine learning regression decision tree algorithm applied to a prediction system for blast furnace coke performance based on machine learning regression decision tree algorithm as described in any one of claims 1 to 6, characterized in that: The prediction method based on machine learning regression decision tree algorithm applied to blast furnace coke performance includes: Step 1, periodically collecting the properties of the coke material used in the blast furnace production process through a data acquisition module; Step 2: Clean, integrate, convert and reduce the data stored in the database system through the data preprocessing module; Step 3: The main control module sets parameters based on the established decision tree algorithm model through the algorithm parameter adjustment module; Step 4: Train the data through the data training module; optimize the model to the best one through the model prediction module to realize the prediction function.
8. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the prediction method based on machine learning regression decision tree algorithm applied to blast furnace coke performance as claimed in claim 7.
9. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the method for predicting the performance of blast furnace coke based on a machine learning regression decision tree algorithm as described in claim 7.
10. An information data processing terminal, characterized in that: The information data processing terminal is used to implement a prediction system based on a machine learning regression decision tree algorithm applied to blast furnace coke performance as described in any one of claims 1-6.
Citation Information
Cited By
Efficient energy consumption extrusion speed adjusting system and method
CN119148656A
Photovoltaic device multivariable and electrical performance prediction method
CN121276222A
A Multivariable and Electrical Performance Prediction Method for Water-Based Photovoltaic Devices
CN121276222B
