Introduction

As one of the most energy-intensive industries, cement plants consume around 100 kWh of electrical energy for each ton of their production. This can be counted yearly as over 6% of global energy consumption. More than 60% of this tremendous energy has been used in the comminution units (crushers and mills) to reduce the size of raw materials and clinker1,2,3. In the mid-1990s, the vertical roller mill (VRM) was introduced to the cement industry to reduce this energy usage. Besides lowering power consumption, VRMs may improve process capacity and simplify it since VRMs can simultaneously implement milling and drying processes. However, controlling VRM performances and understanding relationships within their operational variables need serious attention4,5,6,7.

In the cement plant, the conventional VRM controlling systems mainly rely on the field staff to manually adjust the few process parameters based on their experience. These adjustments generally lead to having an unstable system, increasing power consumption, and reducing plant productivity8. For filling these gaps and having a long-term stable operation, it would be essential to provide a complete picture of relationships within VRM elements. Understanding these correlations and their magnitude would help develop models for generating robust controlling systems. Generating such systems and assessing the VRM process operational parameters would help to optimize power consumption, improve maintenance, reduce environmental issues, and make the process sustainable.

A few investigations have been conducted to model VRM performance. Fernandes et al.9 used the back-propagation neural network (BPNN) to model size products of a raw VRM mill. They indicated RMSprop as an optimizer for modeling raw meal residual values would generate a lower error than the Adagrad and Adam optimizers. Their results showed that BPNN algorithms could accurately predict raw meal residue product quality in the cement industry. The population balance model for simulation of a VRM in a cement clinker grinding circuit was investigated by Fatahi and Barani11. They reported that the clinker particle spent a short time inside the VRM, and the mean residence time is about 67 s. The tanks-in series model compared to the Weller model was more proper to describe the residence time distributions in the VRM11. Extreme learning as an artificial intelligence (AI) method was used for modeling online measurement quality parameters of a raw material VRM. Results showed that the proposed model effectively achieved the online estimation of the key indicator parameters for the VRM process, laying the foundation for online parameter optimization11. However, no published study has been modeled and examined inter-correlations between VRM energy consumption indicative factors and plant operational parameters. Using “conscious lab (CL)” and constructing models based on operational data originated from industrial VRM could be an innovative way to tackle these gaps.

CL as a new model vision constructs based on datasets that have been generated by monitoring operational parameters within industrial plants12,13,14,15. CL is exploring relationships between these parameters by using AI systems and highlighting the effectiveness of each variable on the key process factors16,17. CL can be upgraded using explainable artificial intelligence (EAI) models as an innovative concept. EAI systems are emerging approaches of modeling that translate big complicated datasets into know-how information and relieve considerable transparency by converting complex relationships into human basis structures18,19. In other words, EAIs can change black box AI systems into white-box ones. CL constructed using EAI models and real processing datasets can be a powerful tool for ranking operational variables based on their importance, reducing time, cost, and possible laboratory and scale-up errors, and can be considered for training operating person based on the plant reality.

As a strategic approach, for the first time, this investigation is going to develop a CL based on over 3000 records monitored from a cement VRM circuit by using the most recent generated EAI models called "SHAP" (SHapley Additive exPlanations). Based on the game-theoretic approach, SHAP explores relationships within variables (linearly and nonlinearly), ranks them based on their importance, and marks their magnitude. SHAP illustrates these correlations for every record of variables and develops a complete explanation between the global average and the model output20,21,22,23. Besides SHAP, a sophisticated CL system would be required to predict the output variables accurately. Thus, XGBoost (eXtreme Gradient Boosting), a comprehensive predictive tool, has been employed to model motor power and outlet temperature as representative energy consumption factors of the VRM circuit. XGBoost is a flexible AI predictor tool with high performance and accuracy22,24,25,26,27. One of the main advantages of XGBoost over other typical machine learning methods is its more significant set of hyperparameters, which makes it capable of being better tuned. For comparison purposes, random forest28,29,30,31 and support vector regression32,33,34,35 as conventional AI methods have also been used to assess the SHAP-XGBoost ability to develop CL of VRM.

Materials and methods

Database

The provided data were collected from a cement plant (Fig. 1) located in Ilam, west of Iran. The plant has two cement production lines which in total produces 5300 t/day cement. The raw materials (lime, silica, and iron ore) enter the circuit through two apron feeders. The raw materials are crushed in a hammer crusher to D95 80 mm. The raw materials were mixed in a certain proportion and fed into a vertical roller mill (LOESCHE mill). The raw vertical roller mill has four rollers, 3000 KW main drive, 4.8 m table diameter, 2.16 m roller diameter with 330 t/h capacity (made by LOESCHE Company from Germany). The table mill's rotation speeds are mainly constant, and there is approximately a fixed one-year period of changing liners of the mill body and hardfacing operations of wear rollers. For constructing a CL dedicated to the VRM circuit and predicting motor power and outlet temperature (as indicative energy factors), a dataset was collected from one of the vertical roller raw mill circuits (line 2) in the Ilam cement plant. The critical operating parameters gathered during the standard operation are summarized in Table 1. Variables were monitored hourly and were taken into account. In general, over 3000 records were prepared and used for the modeling.

Figure 1
figure 1

Schematic of raw vertical roller mill circuit in the Ilam cement plant.

Table 1 Monitoring variables in the Ilam cement plant (STD: Standard deviation).

In the LOESCHE mill, the rollers are hydraulically pressed against a disc table, and the feed would be crushed and pulverized between the rollers and the disc table. The motor power running all four rollers was calculated based on Eq. (1). In other words, the rollers are hydraulically pressed by working pressure against a table, and the feed is ground between the rollers and the table36,37,38. Therefore, working pressure would affect the size distribution of products. The main motor power is related to the rollers' applied pressure (working pressure) and the feed rate of raw materials on the grinding table. The hot gas was produced by kiln and preheater7. For drying, ground materials are transported to the separator by hot gas that is introduced into the mill. Thus, the difference between the input and output pressures of the mill (ΔP) would be essential. Dried material will be transferred for size classification37. Unground material would stay over the classifier, and they have to be kept inside the mill to meet the desired size. One of the critical factors through the process is controlling the mill body vibrating as a result of the working pressure of the rollers on the crushing table39. After the grinding, drying, transportation, and separation process inside the mill, the product is transferred as cement kiln feed to a storage silo.

$$P=\sqrt{3 }IVCos\varphi$$
(1)

where Cos \(\varphi\) (Cos \(\varphi\) is 0.88 for the Ilam cement production) is the power factor, I is the current, V is the voltage, and P is the power.

Modeling

After removing the missing data, the provided dataset was processed by different AI models. SHAP and Pearson correlation were initially considered to assess the relationship between variables. After that, the dataset was randomly split into three sections: training (70%), validation (15%), and testing (15%). Similar dataset sections were considered for constructing all the proposed models for comparison purposes. The procedure was based on the following diagram (Fig. 2).

Figure 2
figure 2

Constructing a conscious lab for a vertical roller mill.

SHapley Additive exPlanations (SHAP)

SHAP stands for "SHapley Additive exPlanations", a machine learning (ML) approach to explain models predictions and provide interpretability of an ML model. First presented by Lloyd Shapley, it uses Shapley values to interpret the model's output16,23,40,41. The Shapley value of a feature is equal to the difference between the average prediction value of samples with and without this feature42. It measures the feature's importance in the model43,44. Shapley value \({\phi }_{i}\) for the model \(f\) can be computed as follows:

$${\phi }_{i}\left(f,\mathbf{x}\right)=\sum_{S\subset M\backslash i}\frac{\left|S\right|!\left(\left|M\right|-\left|S\right|-1\right)!}{\left|M\right|!}\left[f\left(S\cup \left\{i\right\}\right)-f\left(S\right)\right]$$
(2)

where \(M\) represents the set of all input variables, \(S\) denotes a subset of \(M\) with the \(i\) th feature excluded from \(M\), and \(f\left(S\cup \left\{i\right\}\right)-f\left(S\right)\) is the marginal feature contribution of the \(i\) th variable45,46,47,48.

Extreme Gradient Boosting (XGBoost)

Extreme Gradient Boosting (XGBoost), proposed by Chen and Guestrin49, is an efficient and scalable ensemble algorithm based on gradient boosted trees16,50. XGBoost has been used in a wide range of engineering fields, resulting in outstanding performance due to the advantages of parallel tree boosting and using various regularization techniques13,51,52. XGBoost is a stable algorithm with low bias and variance, handling outliers24,53. It adds a regularization term to the objective function as follows:

$$Obj\left(\theta \right)=L\left(\theta \right)+\Omega (\theta )$$
(3)

where \(L\left(\cdot \right)\) is a convex loss function and \(\Omega \left(\cdot \right)\) is a regularization function used to avoid overfitting by controlling the model's complexity54. \(\Omega (\theta )\) is calculated as follows:

$$\Omega \left(\theta \right)=\gamma T+\frac{1}{2}\lambda {\Vert w\Vert }^{2}$$
(4)

where \(T\) denotes the number of leaf nodes, and \(w\) is the weight of each leaf. \(\gamma\) and \(\lambda\) are regularization parameters that determine the relative weight of each penalty term24,55,56,57.

Random forest

Random forest (RF) is an ensemble learning technique that combines the bagged integrated learning theory58 with the random subspace approach59,60. RF is a nonparametric method, robust to outliers, and can handle missing values in data16,61,62. RF is a collection of decision trees that are grown independently. The predictions of these trees are aggregated by averaging to generate the final output. This ensures that the overall variance is reduced24,56,63. Mathematically speaking, RF generates an ensemble of \(N\) decision trees. Using these trees, the final output of an input feature vector \(\mathbf{x}\) is computed as follows:

$$\widehat{T}\left(\mathbf{x}\right)=\frac{1}{N}\sum_{n=1}^{N}{\widehat{T}}_{n}\left(\mathbf{x}\right)$$
(5)

where \({\widehat{T}}_{n}\left(\mathbf{x}\right)\) is the result of the \(n\)th tree’s estimation13,64,65,66.

Support vector regression

Support vector regression (SVR) is a nonparametric supervised machine learning approach proposed by Drucker67. Vapnik's support vector concept was the inspiration for Drucker to develop SVR67. An important feature of SVR is its powerful capability for nonlinear predictions68, which results from the nonlinear transformation it uses. SVR maps observations into a higher-dimensional feature space via nonlinear transformation and then solves the problem24,69,70. Given a training dataset with \(n\) samples \(T=\{\left({\mathbf{x}}_{1},{y}_{1}\right),\left({\mathbf{x}}_{2},{y}_{2}\right), ..., ({\mathbf{x}}_{n},{y}_{n})\}\), \({\mathbf{x}}_{i} \epsilon {\mathbb{R}}^{d}\), \({y}_{i} \epsilon {\mathbb{R}}\), the following linear function can formulate non-linear relation between input and output:

$$f\left(\mathbf{x}\right)={\mathbf{w}}^{T}\phi \left(\mathbf{x}\right)+b$$
(6)

where \(f\left(\mathbf{x}\right)\) denotes the estimated output and \(\phi \left(\mathbf{x}\right)\) is a mapping function. \(\mathbf{w}\) and \(b\) (i.e., bias) are two parameters that can be determined by optimizing the following objective function:

$$\phi \left(\mathbf{w},{\varvec{\xi}}\right)=\frac{1}{2}{\Vert \mathbf{w}\Vert }^{2}+C\sum_{i=1}^{n}({\xi }_{i}^{-}+{\xi }_{i}^{+})$$
(7)

where \(C\) is the penalty parameter or regularization constant, \({\xi }_{i}^{-}\) and \({\xi }_{i}^{+}\) denote slack variables that represent the upper and lower constraints on the output variable13,24,71,72,73.

Evaluation

Coefficient of determination (R2), Root mean square error (RMSE), and the differences between actual and predicted values in different stages of modeling (training, validating, and testing) were used to assess the model's accuracy.

$${R}^{2}=1-\frac{S{S}_{res}}{S{S}_{tot}}$$
(8)

where \(S{S}_{res}\) denotes the sum of squares of residuals and \(S{S}_{tot}\) is the total sum of squares that can be computed as follows:

$$S{S}_{tot}=\sum_{i}{\left({y}_{i}-\overline{y }\right)}^{2}$$
(9)

where \({y}_{i}\) and \(\overline{y }\) represent the observed data and mean of the observed data, respectively. RMSE can be calculated as follows:

$$RMSE= \sqrt{\frac{{\sum }_{i=1}^{n}{\left({\widehat{y}}_{i}-{y}_{i}\right)}^{2}}{n}}$$
(10)

where \({\widehat{y}}_{i}\) and \({y}_{i}\) denote the predicted and observed values, respectively, and \(n\) represents the number of samples. Moreover, to assess whether the performance of the XGBoost is statistically significant, a two-tailed Welch’s t-test with a significance level \(\alpha =0.05\) was applied for RMSE and R2 between the XGBoost and other methods, and the obtained p-value was reported. Welch’s t-test is a nonparametric univariate statistical test used to test the hypothesis that two samples have equal means74.

Results and discussions

Relationship assessments

Exploring correlations and ranking variables based on their effectiveness on key parameters would help operate heavy machines such as VRMs accurately, make the process sustainable and reduce energy consumption. For drawing insights about relationships with the VRM variables, Pearson correlation (as a typical correlation assessment method) and SHAP assessment were conducted through the entire recorded data from the plant. SHAP (Fig. 3) showed the complexity of relationships between VRM operational variables. Ranking variables (Figs. 4, 5) based on their importance (SHAP values) illustrated that working pressure and input gas flow had the highest effectiveness on output temperature and motor power, respectively. Their correlations were positive. Working pressure (grinding pressure) could be considered the most effective variable through the VRM size reduction process. Increasing working pressure enhances the energy applied to the material, and more fines are offered to the classifier, leaving the circuit faster37. Altun et al.6 indicated a strong correlation coefficient between \(\frac{Working pressure}{Classifier rotor speed}\) and product rate. In other words, increasing the work pressure would enhance energy consumption6,7,37,75.

Figure 3
figure 3

SHAP assessed the complexity of inter-correlations between VRM operational variables.

Figure 4
figure 4

Ranking SHAP values and magnitude of relationships between VRM monitoring variables and output temperature.

Figure 5
figure 5

Ranking SHAP values and magnitude of relationships between VRM monitoring variables and motor power.

There is a good agreement between SHAP and Pearson correlation outcomes (Fig. 6); however, SHAP could model relationships much more accurately. It was well documented that Pearson correlation can only examine one by one linear relationship and show their magnitude. While, SHAP would develop a multi-linear-nonlinear interaction assessment among the recorded variables, rank them based on their importance, and highlight the magnitude of the multivariable relationships. For example, while linear relationship examination by Pearson correlation showed no significant interactions between input pressure or temperature and VRM indicative energy consumption factors, SHAP placed it within the most influential variables. Obviously, input temperature would affect the output temperature of products. Moreover, input pressure could commendably affect the process energy consumption since too low negative inlet pressure influences the steady gas flow within the system and disturbs the grinding procedure6,37,75. Pearson correlation showed a positive relationship between motor power, while multivariable assessment by SHAP illustrated a negative correlation. VRMs are very prone to vibration if their operational variables marginally are varied. It was reported that slight vibration could enhance particle transportation and improve energy consumption7. Apart from linear assessment (Fig. 5), gas flow also influences energy consumption factors, as SHAP illustrated (Fig. 4). Gas flow through the mill helps ensure constant lift for the internal circulating material and keeps separator performance constant to ensure a consistent product size distribution6,76.

Figure 6
figure 6

Pearson correlation assessments between VRM monitoring variables.

It was reported that only the mill input material feed rate has a decisive influence on the mill differential pressure (ΔP) while gas flow rate, grinding pressure, and classifier speed are maintained at the similar condition according to the pre-adjustments during operation unless the characteristics of the raw material such as the grind ability of the material have been changed6,76. However, SHAP results showed by increasing the ΔP, the power consumption was increased (Fig. 4). This correlation can be explained by the fact that variations in the ΔP when the grinding pressure and the hot air circulation are constant directly reflect the amount of material inside the mill. In other words, when the ΔP decreases, the amount of input material is less than the discharge material, causing the material bed to be thinner. Thus, as the ΔP increases, the material bed becomes thicker. VRM vibrates when the material bed is too thin or thick and trips or stops when the vibration limit is exceeded. For these reasons, the total feed amount must be adjusted so that the ΔP is within the correct range6,76. Based on these facts, SHAP analyses indicated (Fig. 7) that keeping the most effective parameter constant and changing other variables for the same size production makes it possible to reduce energy consumption. These results demonstrated that CL can model motor power and output temperature.

Figure 7
figure 7

Possible optimization for the motor power consumption based on the SHAP results.

Predictive models

For constructing predictive AI models (XGBoost, RF, and SVR), from the entire provided dataset, 70% of records were randomly used for the training step, 15% for the validation and the rest were considered for the testing step. Many XGBoost features were explored and adjusted during the training step for finding the most accurate models and tuning process (Table 2). The XGBoost validation and testing stage outcomes (Table 3) demonstrated that the generated model could quite accurately predict the energy consumption indicative essential factors based on the plant monitored variables. A comparison between various models' outcomes (Table 3) highlighted that the XGBoost model resulted in higher accuracy than these two conventional AI models for the prediction (Fig. 8). A two-tailed Welch’s t-test with a significance level \(\alpha =0.05\) was applied for R2 and RMSE between the XGBoost and other methods, and the obtained p-value was reported in Table 3. As can be seen, in all comparisons, the null hypothesis is rejected based on the statistical tests with a 95% confidence level, and the results are considered statistically significant.

Table 2 The XGBoost parameter settings for predicting VRM indicative energy parameters.
Table 3 Outcomes of various models in the validation and testing stages.
Figure 8
figure 8

Differences between actual and predicted energy consumption indicative variables generated by various models in the testing phase.

By comparing different machine learning methods used in this research, it is crucial noting that RF and XGBoost are both ensemble techniques, whereas SVR is not. XGBoost is a boosting method that builds on weak learners to train the next learner to enhance the already trained ensemble. RF is a bagging method that uses a random subset of features to train each weak learner independently. XGBoost and SVR have a low computational cost, but RF does not. SVR takes advantage of the kernel trick, and XGBoost uses parallel processing to reduce the computational cost. All three methods are getting little impact from outliers. XGBoost and RF are performed well with missing data in the dataset, but SVR does not. SVR has low bias and high variance in terms of bias and variance, while XGBoost and RF have low bias and variance24,53,77,78,79,80. These outcomes illustrated that SHAP-XGBoost could effectively construct a CL for a VRM circuit as an impressive EAI structure. Moreover, these results showed that using EAI can highlight the reality of relationships between operating variables on the industrial scale. Therefore, besides controlling the system regarding the process variables, it would be possible to predict the performance of existing machines based on the new feed materials, reduce penalties and keep the circuit sustainable. The robust capability of such a system depicted the potential of industrial digitalization for understanding, predicting, and maintaining various powder technology processes and controlling their energy consumption.

Conclusion

Understanding relationships among operational variables can effectively help to improve control systems and reduce energy consumption in the cement plant as one of the most intensive energy consumer industries. Digitalization and constructing a conscious lab for exploring correlations between operational variables of a vertical roller mill and its indicative energy factors would potentially enhance its maintenance and efficiency. SHAP-XGBoost, as one of the most recently developed explainable artificial intelligence systems, would be a novel approach for developing a conscious lab and converting industrial datasets to understandable human basis pictures. SHAP-XGBoost could accurately depict correlations among operational parameters of an industrial vertical roller mill. SHAP assessment indicated that working pressure and input gas flow had the highest effectiveness (positive correlations) on output temperature and motor power, respectively. Pearson correlation and SHAP could highlight a negative inter-correlation between classifier speed and working pressure. Moreover, results showed that increasing the input gas flow would decrease the input temperature. XGBoost has accurately estimated the vertical roller mill's output temperature and motor power based on the plant monitoring variables (R-square over 0.99, and 0.80 for the output temperature and motor power, respectively). In the validation and testing stages, a comparison between results of SHAP-XGBoost and the other examined conventional models (Pearson correlation, random forest, and support vector regression) indicated that SHAP-XGBoost as a powerful method could be applied for generating conscious labs which dedicated to the energy sector factors within powder production technologies.