Next Article in Journal
Electrochemical Degradation of Venlafaxine on Platinum Electrodes: Identification of Transformation Products by LC-MS/MS and In Silico Ecotoxicity Assessment
Previous Article in Journal
Colon-Targeted Mucoadhesive PLGA Microspheres Loaded with Ramulus Mori Alkaloids for Enhanced Water-Soluble Drug Delivery in Ulcerative Colitis Treatment
Previous Article in Special Issue
Effect of Silane Coupling Agents on Structure and Properties of Carbon Fiber/Silicon Rubber Composites Investigated by Positron Annihilation Spectroscopy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Implementation of Machine Learning in Flat Die Extrusion of Polymers

by
Nickolas D. Polychronopoulos
1,*,
Ioannis Sarris
1 and
John Vlachopoulos
2,*
1
Department of Mechanical Engineering, University of West Attica, Ancient Olive Grove Campus, Egaleo, 12241 Athens, Greece
2
Department of Chemical Engineering, McMaster University, Hamilton, ON L8S 4L7, Canada
*
Authors to whom correspondence should be addressed.
Molecules 2025, 30(9), 1879; https://doi.org/10.3390/molecules30091879
Submission received: 31 March 2025 / Revised: 18 April 2025 / Accepted: 21 April 2025 / Published: 23 April 2025

Abstract

:
Achieving a uniform thickness and defect-free production in the flat die extrusion of polymer sheets and films is a major challenge. Dies are designed for one extrusion scenario, for a polymer grade with specified rheological behavior, and for a given throughput rate. The extrusion of different polymer grades and at different flow rates requires trial-and-error procedures. This study investigated the application of machine learning (ML) to provide guidance for the extrusion of sheets and films with a reduced thickness, non-uniformities, and without defects. A dataset of 200 cases was generated using computer simulation software for flat die extrusion. The dataset encompassed variations in die geometry by varying the gap under a restrictor, polymer rheological and thermophysical properties, and processing conditions, including throughput rate and temperatures. The dataset was used to train and evaluate the following three powerful machine learning (ML) algorithms: Random Forest (RF), XGBoost, and Support Vector Regression (SVR). The ML models were trained to predict thickness variations, pressure drops, and the lowest wall shear rate (targets). Using the SHapley Additive exPlanations (SHAP) analysis provided valuable insights into the influence of input features, highlighting the critical roles of polymer rheology, throughput rate, and the gap beneath the restrictor in determining targets. This ML-based methodology has the potential to reduce or even eliminate the use of trial and error procedures.

1. Introduction

Flat dies are used in the production of thermoplastic sheets, films, oriented films, and extrusion coatings. A molten polymer is supplied from an extruder through a melt tube to a die, which terminates at a wide rectangular cross-section with a small gap. For thicknesses less than 0.25 mm, the process is referred to as-cast film extrusion, and for the sheet extrusion of thicker products, after exiting the flat die, the extrudate is cooled on chilled rollers and solidifies. The cooling rate determines several important properties of the finished product. Some films are stretched by a tenter frame, as in the case of biaxially oriented polypropylene (BOPP). Films are used in food packaging, protective wraps, and medical and industrial applications. Sheets are frequently shaped by thermoforming for refrigerator liners, containers, yogurt and drink cups, glass replacements, back lighting display panels, and other products.
The most important function of the die is to spread the molten polymer as uniformly as possible into the rectangular shaping die lips so that a wide sheet or film of uniform thickness is produced [1]. Thickness uniformity in both the machine and transverse directions is crucial. Machine direction uniformity can be improved by the addition of a gear pump between the extruder and the die to provide a steady melt flow. Transverse direction uniformity is a very challenging problem, especially due to die widths, which have increased dramatically in recent years, frequently reaching 4–5 m and occasionally exceeding 10 m. Obviously, the polymer melt would follow the path of least resistance flowing towards the die center, thereby producing a thicker sheet in the central area, being thinner near the edges. The flow channels should be designed in such a way as to exhibit more resistance in the central area and less resistance near the edges. Years ago, T-slot dies were used with a distribution channel perpendicular to the supply tube. Nowadays, the ‘coat-hanger’ geometry is by far the most common. Figure 1 shows the stream-tracers in a coat-hanger die 1 m wide, and Figure 2 shows the pressure field obtained by a fully 3D flow simulation using the Ansys Fluent package (Ansys Fluent Release 2022 R1) [2]. Pressures from 10 MPa to 40 MPa are common in such dies. It can easily be calculated that very large forces are developed due to the large surface area of flat dies used in industrial production installations. Flat dies are clamped together at the edges, and deflection may occur, with the largest magnitude at the center. This is usually referred to as clamshelling. It results in an increased flow in the central region, which must be compensated for through lip adjustments.
For polymer melt flow simulation, the viscosity as a function of the shear rate must be known, and it is usually expressed either by the power-law, Carreau–Yasuda, or Cross models.
η γ ˙ , T = m T γ ˙ n 1 ,
η γ ˙ , T =   η 0 T 1 + λ γ ˙ α n 1 a ,
η γ , ˙ T = η 0 T 1 + λ γ ˙ 1 n ,
where m is the consistency index (the viscosity value at γ ˙ = 1/s), n is the power-law exponent, η 0 is the zero shear viscosity, and a and λ are fitting parameters. Both m and η 0 are functions of temperature T . Temperature dependence is usually expressed by the Arrhenius or simple exponential models.
m T o r η 0 T = m r e f o r η 0 , r e f · e x p E a R 1 T 1 T r e f ,
m T o r η 0 T = m r e f o r η 0 , r e f · e x p b T T r e f ,
where m r e f and η 0 , r e f are measured at a refence temperature T r e f , E a is the activation energy, and R is the gas constant. While viscoelastic constitute equations are used for some simple problems like extrudate swell and entry flow in a contraction, they are not used in routine industrial die design due to challenges related to numerical convergence and the extraordinarily long computer times required. Thermal conductivity k and specific heat C p are also important, but they do not vary much within the temperature range of melt extrusion. Melt density ρ is usually about 15% less than the solid density of common polymers and can easily be measured [3].
The conservation of mass momentum and energy equations are as follows [3,4,5]:
· v = 0 ,
p + · τ = 0 ,
ρ C p v · T = k 2 T + τ : v ,
where v is the velocity vector, p is the pressure, τ is the stress tensor, k is thermal conductivity, and the term τ : v represents the viscous dissipation (frictional heating). The stress tensor is usually written in terms of the Generalized Newtonian Fluid (GNF) model in the following form:
τ = η Ι Ι D 2 D ,
where η Ι Ι D is the viscosity and Ι Ι D is the second invariant of the strain rate tensor D , given by the following:
D = 1 2 v + v T ,
These equations are usually solved by finite element [6] or finite volume [7] methods, and they provide detailed information on the flow field. In flat die extrusion, the main objective is to design a die with minimal transverse direction non-uniformity. Using computer flow simulation software, an iterative design process can be employed on the computer screen. In the first step, the designer must assume the initial geometrical dimensions which are likely to produce a sheet or film with the desired thickness and width. Several iterations are necessary to achieve a geometry capable of producing an acceptable thickness variation, which should not be more than perhaps 5%. Even a person experienced in the design of such dies is likely to require three dozen trial-and-error attempts on the computer screen for a new die for a new material. Fully 3D simulations are very time-consuming, and for this reason, the momentum and continuity equations shown above are frequently simplified to the generalized Hele-Shaw approximation with the assumption of narrow-gap geometry [1,8].
x S x , y p x + y S x , y p y = 0 ,
where the quantity S x , y is referred to as flow conductance and is defined as follows:
S x , y = 0 h z 2 d z η x , y , z ,
where h is the gap in the z-direction. The primary variable is the pressure p and after finding it, the gap-wise average velocity components can be calculated from the following:
V x ¯ = S h p x                     V y ¯ = S h p y ,
and the full velocity distributions are given by the following:
V x z = p x 0 h z d z η z                   V y z = p y 0 h z d z η z ,
where z is a dummy variable of integration. The optimization of flat die design has been attempted by some investigators [9,10,11,12], but this methodology has not been applied beyond publications in scholarly journals. Flat dies are currently designed by using iterative simulation procedures, as explained above.
A reduction in thickness non-uniformity can be further achieved by equipping the die with a restrictor bar. The restrictor is used to increase resistance to flow near the center or wherever else it might be required. Most flat dies include lip gap adjustment systems for fine-tuning the uniformity. They can be simple manually operated adjusting bolts or automated systems. Automated systems involve downstream web thickness measurement and feedback control.
The maximum possible line speed (throughput rate) is usually determined by the shear stress at the die lip wall. When a critical value is exceeded (0.14 MPa for HDPE), polyolefins (with the exemption of LDPE) and most other common polymers exhibit a surface irregularity known as sharkskin [13,14,15,16], which is visible to the naked eye and usually appears as ridges perpendicular to the flow direction. Polymer processing aids (PPAs) are used to increase the output rate for sharkskin-free surface, but most of them contain Per- and Poly-fluorinated substances (PFASs), which have recently been found to pose health risks [17,18,19]. However, several corporations are actively involved in developing PFAS-free alternatives. PPAs promote wall slip, thereby ‘postponing’ the sharkskin effect to higher output rates.
For extrudate sharkskin, which appears at high lip wall shear rates and stresses, there have been hundreds of publications. However, there are hardly any publications on extrusion defects occurring at low wall shear rates and affecting transparent films produced by flat film or blown film extrusion [1], which are known to extrusion operators and machine manufacturers. It has been observed in transparent and semi-transparent film extrusion that when regions of the die have a wall shear rate lower than a certain value, the optical clarity is inferior. For HDPE, when the wall shear rate is very low, the slow-moving melt layer near the wall tends to cross-link due to a high temperature. Cross-linking impairs film clarity. Other polymers may experience other forms of degradation. The deterioration of optical properties may be immediately visible after extrusion begins, but frequently, the die may operate for some time before defects are noticeable. Flat die manufacturers usually design dies for a lowest wall shear rate of 10 s−1. For some temperature-sensitive materials, the lowest acceptable shear rate is higher. Of course, the wall shear rate might be increased by increasing the output rate. However, such a remedy is not always possible due to limitations upstream (extruder capacity) or downstream (cooling rate).
Flat dies designed with the use of a suitable software package can meet the requirements for high-quality sheets and films. However, die flow channels are designed for one processing scenario, involving a specific material for the desired throughput rate. Of course, a die is expected to be used for different polymers with different properties, and the desired throughput rates may vary substantially. The objective of the present investigation is to develop a methodology, based on Artificial Intelligence (AI) and machine learning (ML), which can be used in providing guidance for the production of sheets or films with as uniform a thickness as possible and free from any extrusion defects, for a wide range of materials and throughput rates.
Artificial Intelligence (AI) techniques have exerted a significant influence on various technological areas. Machine learning (ML) has recently emerged as an AI branch focusing on the use of data and algorithms to identify patterns, make predictions, and progressively improve prediction accuracy with minimal, if any, human intervention. Supervised learning is a common machine learning process that typically involves learning a mapping between given input and output pairs. The success of ML and AI methodologies in several technological areas is due to the availability of extremely large digital datasets. For instance, ML for pattern identification in computer vision has been successful because of the existence and immediate availability of millions of images. However, datasets for the design of process equipment and machine structures are impossible or difficult to find. Yet, there are some exceptions. For airfoil design, the UIIC Airfoil Database [20] is a dataset of 1600 real designs of airfoils, recently updated with lift and drag values. Moreover, Wollstadt et al. [21] produced a dataset of more than 10,000 different vehicle hood shapes, along with mechanical performance data, and used machine learning to predict the hood mechanical performance and build metamodels for design optimization. Regenwetter et al. [22] used ML for the prediction of the structural performance of bicycle frames. Their dataset was constructed from various bicycle frames sourced from designers who used a software package.
For the present investigation, ideally, a dataset could have been collected from an extrusion plant where a die was used for polymers with different rheological and thermophysical properties and in different operating conditions. Such data are available to corporations that have been producing flat sheets or films for many years, but nothing similar is available in the open literature. Consequently, the present team of authors decided to generate a dataset using computer simulation.

2. Results and Discussion

Three powerful machine learning (ML) models (algorithms) were assessed in the present investigation by plotting the predicted values against those obtained from numerical simulations. Data points on the diagonal ( y = x ) indicate a zero-error prediction. The data scatter around the diagonal provides a quick visual assessment of the ML model for a training dataset and a testing dataset.
Figure 3 shows the scatter plot of the predictions by the Random Forest (RF) model versus the numerical simulations. Figure 3a–c show the scatter plots for the training dataset. The data points are concentrated around the diagonal line, indicating that the model exhibits a satisfactory degree of precision and relatively small deviations for the training data. This suggests that the RF model has learned the underlying patterns of the dataset, demonstrating a satisfactory predictive capability. The prediction of the thickness variation target h and the pressure drop target Δ p appear to be somewhat more scattered than that of the lowest shear rate γ ˙ w , m i n , The scatterplots for the test dataset (Figure 3d–f) provide insight into the capability of the RF model to predict targets not included in the training. The alignment of data points with the diagonal line appears to follow the trend of the training dataset, but for the h and Δ p targets, the majority of the points appear to be well off the diagonal line, especially for higher values. However, most of the test data for the lowest wall shear rate target are more clustered around the diagonal line, which suggests that RF likely generalizes better for this target. The overall performance suggests that RF regression remains a satisfactory technique for predicting these complex targets, with a reasonable generalization capability.
Figure 4 shows the scatter plots using the XGBoost ML algorithm. In the training data (top row, Figure 4a–c), it is observed that the predictions for the h ( % ) and γ ˙ w , m i n targets closely follow the diagonal line, indicating that the XGBoost regressor is able to learn and predict the training dataset with a high accuracy. A somewhat lower accuracy is observed for the Δ p target, as shown in Figure 4b. The data spread around the diagonal for all targets exhibits much less deviation than the RF model in Figure 3. This behavior suggests that the XGBoost model has effectively captured the underlying patterns in the training data. For the testing dataset, Figure 4d–f, the data are gathered closely around the diagonal line and follow the scatter pattern of the training dataset well, suggesting that overfitting, if any, is minimal. Therefore, the XGBoost model performance indicates that the model has successfully captured the key relationships in the data and makes reasonable generalizations. XGBoost, in handling numerical regression tasks, manages to produce high-fidelity approximations of complex relationships while maintaining a relatively low prediction error.
Figure 5a–c show the results for the training dataset using the Support Vector Regressor (SVR). Immediate comparison can be performed on the basis of the predictions made by XGboost in Figure 4 above. The SVR model demonstrates a robust predictive performance on the training dataset, as evidenced by the close alignment of the predicted values with the diagonal line. However, in comparison to the XGBoost regressor, an increased dispersion of data is observed, particularly with the h ( % ) target (Figure 5a) and, to some extent, with the lowest shear rate at the wall target (Figure 5c). For the case of the pressure drop target (Figure 5b), SVR makes very good predictions at low pressure drop values, but a high data spread is observed at higher pressure drop values. The test data results reveal notable differences between the XGBoost and SVR models. The thickness variation predictions for SVR in Figure 5d exhibit more deviation from the diagonal compared to XGBoost. For the Δ p target in Figure 5e and γ ˙ w , m i n target in Figure 5f, SVR’s test predictions remain fairly close to the diagonal, though they display slightly larger deviations than XGBoost’s results.
Table 1 presents the predictive performances of the three ML algorithms in terms of the R 2 value, RMSE, and MAE. The RF algorithm generally exhibits the lowest R 2 values and highest error metrics for all three targets, in accordance with the observations obtained from the scatter plots. For the thickness variation and lowest shear rate at the wall targets, XGBoost exhibits the highest R 2 values, 0.954 and 0.985, respectively and, at the same time, has the lowest errors for these two targets, namely RMSE = 0.591 and RMSE = 1.619, respectively. The SVR model exhibits lower R 2 values and higher error metrics for these two targets. For the case of the pressure drop target, SVR shows a slightly higher R 2 value and slightly lower errors than XGBoost. Overall, the performance of the XGBoost model was deemed better than that of the SVR. Therefore, we carry out further analysis with the XGBoost algorithm.
The predictions obtained from the XGBoost model are further interpreted by SHAP analysis in two different ways. First, the feature importance of the input variables is examined, which expresses their impact on the predictions made by the XGBoost model. This information is given in Figure 6 for the three targets. In all cases, the horizontal axis corresponds to the average of the absolute SHAP values of the dataset and the vertical axis corresponds to all the features. It can be seen from Figure 6a that the power-law index n exhibits the highest influence on the predictions of the thickness variation. This aligns very well with observations from experiments on several polymers that shear-thinning has a very high impact on lateral thickness distribution. The second most influential feature is the gap under the restrictor bar (H1) located on the axis of symmetry of the flat die analyzed. At this location, the gap was varied a lot in the numerical simulations for the purpose of obtaining a low transverse thickness variation. Yet, the feature importance ranking suggests that this parameter is less important than shear-thinning. The gaps at the other locations of the restrictor bar and the polymer thermophysical properties have a rather small effect on the XGBoost predictions. For the pressure drop target in Figure 6b, the most influential feature in the XGBoost prediction is the consistency index, m r e f , followed by the throughput rate Q , the power-law index n , the temperature sensitivity b , the melt entering temperature T i n , and the polymer thermal conductivity k . The rest of the features contribute less to the XGBoost predictions. It is noteworthy that, while for thickness variation, the algorithm relied mostly on two features, we see that for pressure drop, there were more contributions. From the physical perspective, the flow in the present die can be roughly approximated as the flow of a shear-thinning fluid between two flat plates, where, according to textbooks [3,4,5], Δ p ~ m Q n . The pressure drop is linearly correlated with m , but is less dependent on Q , since 0 < n < 1 , fully in agreement with the SHAP analysis. Also, since m = m ( T ) , the b , T i n , and k features have a high importance in the decisions made by XGBoost. Finally, for the lowest wall shear rate in Figure 6c, XGBoost relied mainly on one feature, the flow rate Q , with H1 and m r e f having significantly less impact.
More information on the decisions made by XGBoost can be obtained from the plot shown in Figure 7, frequently referred to in the ML literature as a SHAP summary plot. It shows the distribution of SHAP values for each feature, elucidating the directional feature influence on each target. In this figure, the x-axis corresponds to the SHAP values and the y-axis lists the features in descending order of importance. Note that, for visualization purposes, we show only the top eight contributing features for each target. Each point in the plot corresponds to an individual sample within the dataset. The color encoding to the right of each plot represents the feature magnitude. The blue color is for low feature values and the red color is for high feature values. The horizontal placement of each point signifies the impact of the feature on the model’s prediction values. It simply indicates whether a lower or higher feature value leads to a lower prediction value (negative SHAP value) or a higher prediction value (positive SHAP value). For example, for the h ( % ) target (Figure 7a), increasing the power-law index n leads to predictions of lower thickness variation values, since the corresponding SHAP values are negative. In other words, higher n values lead to an extruded sheet with lower thickness variation. A higher power-law index suggests that the polymer is less shear-thinning, thereby producing more uniform films or sheets. Is it worth mentioning that reducing the gap in the H1 bar restrictor location also leads to a decreased thickness variation. The same behavior is also noticed for the H4 location, but with a far lower contribution. For the pressure drop target Δ p (Figure 7b), increasing the consistency index m r e f , the throughput rate Q , and the power-law index n leads to an increase in Δ p , which is reasonable from the physical perspective. On the other hand, increasing the temperature sensitivity b and the melt entering temperature T i n decreases the pressure drop. This is also reasonable, because increasing these two features leads to decrease in viscosity, which finally leads to pressure drop decrease. Finally, it is shown in Figure 7c that increasing the throughput rate leads to an increase in the lowest shear rate at the wall, which is obvious, and the not so apparent impacts of other features.

3. Materials and Methods

3.1. Dataset Generation for a Base Case Flat Extrusion Die

As explained in the introduction, the objective is to employ ML for the successful operation of extrusion through a flat die of different polymers and at different throughputs, which means a reduction in the transverse thickness variation, the maintenance of pressure at an acceptable level, and an increase in the lowest wall shear rate above a certain value. The shear rate and the corresponding shear stress at the die lip wall are also important quantities related to the onset of sharkskin, but they can easily be calculated from simple equations of flow between two parallel plates [3,4,5]. The dataset was generated using a computer simulation. There are two options for computer simulation. Either a fully 3D flow analysis or a 2D one using the Hele-Shaw flow approximation. While 3D flow analysis is straightforward for a specific flat die geometry and a specific material rheology, as shown in Figure 1 and Figure 2, it is extremely challenging to produce a large dataset (200 cases in the present project) due to numerical convergence issues associated with geometrical complexities and the shear rate and temperature dependence of viscosity. A numerical grid might be suitable for one set of rheological parameters, but not for the next. Also, the required computation times are very large. It was, therefore, decided to use a software package called Flatcad (Flatcad v.3.0) [23,24], which is essentially a solution to the Hele-Shaw equation—Equation (10)—and also includes the temperature dependence of viscosity, using the control volume method. There are several dies operating in industry today which have been designed using Flatcad.
Flatcad divides the domain of integration into control volumes with pressure into the main ( x ) and the transverse y flow directions, maintaining mass, momentum, and energy balance [24]. To some extent, this method is similar to that of Köpplmayr and Mietlinger [25]. The current version of Flatcad was tested against some available experimental data [26] for a small die with a 200 mm width, carried out in the laboratory of the third author of the present publication. A satisfactory comparison of the thickness non-uniformity of the sheet produced is shown in Figure 8 for three materials, LLDPE-A, LLDPE-B, and HDPE, with viscosity and temperature sensitivities shown in Table 2. The differences between the simulation and experiment for HDPE were mostly due to experimental challenges in conducting local thickness measurements on frozen extruded tape, rather than in the melt assumed in the computer software. HDPE was more crystalline than the two LLDPEs and exhibited more shrinkage, and, consequently, more difficulty in measuring local thickness.
To generate the dataset for ML, the dimensions of an industrial production die were slightly modified. The width of the die lips was 2000 mm. As shown in Figure 9a, the die included a manifold, pre-land (land denotes parallel walls), a restrictor bar, a secondary manifold, and a die lip section (also called land). The die dimensions are shown in Figure 9b. H 1 , H 2 , and H 3 to H 11 indicate the sides of the 10 control volumes in the transverse (y-direction) where the thickness is calculated. There are also 5 rows of 10 control volumes in the flow direction (x-direction). In total, there are 50 control volumes for this (half) die. A total of 200 simulations were carried out and the inputs (features) and outputs (targets) are shown in Table 3. The inputs in this table are based on industrial experience and are in accordance with a previous publication [1] on flat die design by two of the present authors. For example, the power-law exponent n range is between 0.25 for a polymer with a broad molecular weight distribution (MWD) and 0.55 for a narrow MWD. Similarly, the other important material parameters were chosen for commodity polymers used in extrusion for film and sheet production [27]. The gap size range beneath the restrictor was also based on knowledge of industrial extrusion operations.
Of course, the most important result is the transverse thickness variation. The original die design, where the restrictor bar is not activated (gap beneath all bar restrictor locations = 1 mm), has a transverse thickness variation shown in Figure 10. The polymer melt has a consistency index of m = 10,000 Pa·sn and n = 0.45, a throughput of 400 kg/h, a pressure of 24.98 MPa, and a thickness variation somewhat less than ±5%.

3.2. Dataset Initialization and Machine Learning Models

Traditionally, in machine learning (ML), the dataset is split into two subsets of different data proportions. In the primary subset, known as the training dataset, the model has access to both inputs and corresponding outputs. The testing dataset serves as an independent set used to assess the trained model’s performance on unseen data. In total, 90% of the original dataset is allocated for training, while the remaining 10% is designated as the testing dataset. This proportion is frequently used, as explained in previous ML publications [28,29,30].
A key step in ML regression is data pre-processing. A common technique followed is feature (input) scaling. Without scaling, features with larger numerical values may dominate the model’s learning process. This eventually leads to features with smaller ranges to have a reduced impact [31]. Following Karakasidis et al. [32] and Benos et al. [33], features are scaled using the following equation:
X s = X X ¯ σ ,
where X s denotes the scaled feature, X is the unscaled one, X ¯ is the mean value of the feature, and σ is the standard deviation.
The following ML algorithms were employed: (i) Random Forest, (ii) eXreme Gradient Boosting (XGBoost), and (iii) Support Vector Regressor (SVR). The architectures of these algorithms are briefly summarized below.
The Random Forest (RF) algorithm is a robust ensemble learning method for both classification and regression analysis. It employs a strategy of constructing an ensemble of decision trees in parallel, each trained independently on a distinct subset of the original dataset [32]. Prediction is subsequently achieved through the aggregation of individual tree outputs, utilizing a majority voting mechanism for classification tasks and an arithmetic mean for regression. For the case of regression, like in the present study, predictions are made by [34], as follows:
Y p r e d . = 1 N i = 1 N Y i X
where N is the total number of trees in the forest and Y i X is the prediction made by the i -th decision tree for a given input X .
The eXtreme Gradient Boosting (XGBoost) machine learning algorithm is an ensemble learning method. XGBoost algorithm combines multiple decision trees to build a more accurate and robust model. Unlike RF, where trees are trained independently, XGBoost builds trees sequentially, with each new tree focusing on correcting the errors of the previous ones (boosting) [35,36]. The predictions are made by summing the outputs of the trees by the following equation [37]:
Y p r e d . = m = 1 M Y m X ,
where M is the total number of trees in the model and Y m X is the prediction from the m -th decision tree for a given input X .
The Support Vector Regressor (SVR) extends the principles of Support Vector Machines (SVMs) to address regression problems [38]. While SVMs are predominantly employed for classification tasks, through the identification of an optimal separating hyperplane in a high-dimensional feature space, the SVR aims to approximate a continuous-valued function. This approximation is achieved by minimizing model complexity while simultaneously constraining prediction errors within a user-defined margin [39,40]. Data points that lie outside this error margin, designated as support vectors, are critical in defining the regression function.
All algorithm scripts were written in PyCharm Community Edition (free) environment, using scikit-learn, a widely used open-source machine learning library for Python [41].
Each ML algorithm’s hyperparameters were fine-tuned by the method or technique called BayesSearchCV in the Scikit-optimize package [42] in PyCharm (PyCharm 2025), used in several ML publications [43,44,45]. This method leverages a probabilistic surrogate model to iteratively select the most promising hyperparameters based on prior evaluations [46]. Following Kavzoglu and Teke [47], we carried out a rigorous examination of the literature [48,49,50,51] to identify the most important hyperparameters and value range for each ML algorithm. BayesSearchCV incorporates cross-validation (CV), in k -folds, to ensure a robust evaluation of model performance across multiple data splits. In the present study, we set a 5-fold CV, in accordance with other publications [44,52].

3.3. Algorithm Performance Evaluation

The trained machine learning algorithms are evaluated on the testing dataset using three metrics. The first one is the coefficient of determination (R2), which expresses a measure of how well the predictions approximate the numerical simulation results. It ranges from 1, meaning a perfect fit, to negative values, which typically suggests that the model’s predictions are very inaccurate. The coefficient is determined as follows:
R 2 = 1 i = 1 n y t y p 2 i = 1 n y t y ¯ t 2 ,
where n is the total number of samples in the dataset, y t is the true value of the output, y p is the predicted value of the output, and y ¯ t is the mean value of the true output. The second metric we use is the root mean squared error (RMSE), given by the following:
R M S E = 1 n i = 1 n y t y p 2 ,
A lower RMSE is an indication of better model performance. The third performance metric we use is the mean absolute error (MAE), calculated from the following equation:
M A E = 1 n i = 1 n y t y p ,
Obviously, a lower MAE indicates a better performance of the ML algorithm.

3.4. Interpretability of the Predictions

Machine learning models, such as the ones employed in the present study, are frequently characterized as a black box, meaning that the algorithm’s internal structure (i.e., how it makes predictions) is too complicated for any human to understand [53,54]. Understanding why certain decisions or predictions have been made makes the ML model transparent.
The most frequently used tool to interpret ML predictions is to use the theoretical concept of Shapley values, which originates from cooperative game theory introduced by Shapley [55]. Štrumbelj and Kononenko [56], in their study, illustrated how Shapley values can be used to determine the contribution of each feature in an ML model. In general, computing these values exactly is hard and computationally expensive [57]. The Shapley values method was later popularized by Lundberg and Lee [58], introducing the so-called Shapley Additive exPlanations (SHAP) values and including several SHAP variants (e.g., KernelSHAP and TreeSHAP) for specific ML models. For example, TreeSHAP is designed specifically for tree-based algorithms such as Decision Trees and XGBoost. In the present study, we used the SHAP values analysis on the ML algorithm that simultaneously had the highest R 2 values and lower error values.

4. Conclusions

The present study demonstrated the potential of three machine learning algorithms, Random Forests (RF), XGBoost, and Support Vector Regression (SVR), for providing valuable insights and predictive capabilities for the flat die extrusion of polymers for the production of sheets and films. These three algorithms were trained and tested on a computationally generated dataset encompassing a wide range of processing parameters and material properties. Two of the algorithms (XGBoost and SVR) exhibited a high degree of accuracy in predicting critical output targets such as thickness variation, pressure drop, and the lowest wall shear rate. The superior performance of XGBoost was evidenced by higher R 2 values and lower error metrics compared to Support Vector Regression (SVR). The application of SHAP analysis provided a crucial layer of interpretability, elucidating the importance of various input features and their impacts on the predicted outcomes (targets). The analysis highlighted the dominant influence of the polymer shear-thinning exponent and, to a lesser extent, the impact of the gap beneath the restrictor and the throughput rate on the transverse thickness variation. Other input parameters had a much smaller influence. Pressure drop was mainly influenced by the polymer consistency index, the throughput rate, the shear-thinning exponent, the consistency dependence on temperature, the temperature of the incoming polymer melt, and its thermal conductivity, in that order of importance. For the lowest wall shear rate, the throughput rate had, by far, the greatest influence, followed by the gap beneath the restrictor on the plane of symmetry and the consistency index.

Author Contributions

Conceptualization, N.D.P.; methodology, N.D.P., I.S. and J.V.; software, N.D.P.; validation, N.D.P.; formal analysis, N.D.P.; investigation, N.D.P.; data curation, N.D.P.; writing—original draft preparation, N.D.P.; writing—review and editing, N.D.P., I.S. and J.V.; funding acquisition, N.D.P. and I.S.; supervision, J.V. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the European Union’s programme for research and innovation Horizon Europe under the Marie Skłodowska-Curie Action grant agreement No. 101129698-PROMATAI-Horizon-MSCA-2022-SE-01. Views and opinions expressed are, however, those of the author(s) only and do not necessarily reflect those of the European Union or European Research Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author(s).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
BOPPBiaxially oriented polypropylene
CVCross validation
GNFGeneralized Newtonian fluid
HDPEHigh-density polyethylene
LDPELow-density polyethylene
LLDPELinear low-density polyethylene
MAEMean absolute error
MLMachine learning
PFASPer- and poly-fluorinated substances
PPAsPolymer processing aids
RFRandom forest
RMSERoot mean squared error
SHAPShapley additive explanations
SVRSupport vector regression
XGBoostExtreme gradient boosting

References

  1. Vlachopoulos, J.; Polychronopoulos, N.D.; Tanifuji, S.; Peter Müller, J. Flat Film and Sheet Dies. In Design of Extrusion Forming Tools; Carneiro, O., Nobrega, M., Eds.; Smithers Rapra: London, UK, 2012; pp. 113–140. [Google Scholar]
  2. ANSYS Inc. Ansys Fluent Theory Guide, Release 2022 R1; ANSYS Inc.: Canonsburg, PA, USA, 2022. [Google Scholar]
  3. Bird, R.B.; Armstrong, R.C.; Hassager, O. Dynamics of Polymeric Liquids; Wiley: New York, NY, USA, 1987; Volume 1. [Google Scholar]
  4. Tadmor, Z.; Gogos, C.G. Principles of Polymer Processing; Wiley: New York, NY, USA, 2006. [Google Scholar]
  5. Vlachopoulos, J.; Polychronopoulos, N.D. Understanding Rheology and Technology of Polymer Extrusion; Polydynamics Inc.: Dundas, ON, Canada, 2019. [Google Scholar]
  6. Reddy, J.N.; Gartling, D.K. The Finite Element Method in Heat Transfer and Fluid Dynamics, 3rd ed.; CRC Press: Boca Raton, FL, USA, 2010. [Google Scholar]
  7. Moukalled, F.; Mangani, L.; Darwish, M. The Finite Volume Method in Computational Fluid Dynamics An Advanced Introduction with OpenFOAM® and Matlab®; Springer: Cham, Switzerland, 2016. [Google Scholar]
  8. Dantzig, J.A.; Tucker, C.L., III. Modeling in Materials Processing; Cambridge University Press: Cambridge, UK, 2001. [Google Scholar]
  9. Smith, D.E.; Tortorelli, D.A.; Tucker, C.L., III. Optimal design for polymer extrusion. Part I: Sensitivity analysis for nonlinear steady-state systems. Comput. Methods Appl. Mech. Eng. 1998, 167, 283–302. [Google Scholar] [CrossRef]
  10. Smith, D.E.; Tortorelli, D.A.; Tucker, C.L., III. Optimal design for polymer extrusion. Part II: Sensitivity analysis for weakly-coupled nonlinear steady-state systems. Comput. Methods Appl. Mech. Eng. 1998, 167, 303–323. [Google Scholar] [CrossRef]
  11. Smith, D.E.; Wang, Q. Incorporating adjustable features in the optimal design of polymer sheet extrusion dies. J. Manuf. Sci. Eng. 2006, 128, 11–19. [Google Scholar] [CrossRef]
  12. Lebaal, N.; Schmidt, F.; Puissant, S. Design and optimization of three-dimensional extrusion dies, using constraint optimization algorithm. Finite Elem. Anal. Des. 2009, 45, 333–340. [Google Scholar] [CrossRef]
  13. Allal, A.; Lavernhe, A.; Vergnes, B.; Marin, G. Relationships between molecular structure and sharkskin defect for linear polymers. J. Non Newton. Fluid Mech. 2006, 134, 127–135. [Google Scholar] [CrossRef]
  14. Ghahramani, N.; Zhang, S.; Lyer, K.A.; Doufas, A.K.; Hatzikiriakos, S.G. Melt fracture and wall slip of thermoplastic vulcanizates. Polym. Eng. Sci. 2021, 61, 942–958. [Google Scholar] [CrossRef]
  15. Agassant, J.F.; Arda, D.R.; Combeaud, C.; Merten, A.; Münstedt, H.; Mackley, M.R.; Robert, L.; Vergnes, B. Polymer processing extrusion instabilities and methods for their elimination or minimization. Int. Polym. Process. 2006, 21, 239–255. [Google Scholar] [CrossRef]
  16. Denn, M.M. Extrusion instabilities and wall slip. Annu. Rev. Fluid Mech. 2001, 33, 265–287. [Google Scholar] [CrossRef]
  17. What’s all the Fuss About PFAS. Available online: https://www.plasticsengineering.org/2025/01/whats-all-the-fuss-about-pfas-007728/ (accessed on 7 March 2025).
  18. Habib, Z.; Song, M.; Ikram, S.; Zahra, Z. Overview of Per- and Polyfluoroaklyl substances (PFAS), their applications, sources, and potential impacts on human health. Pollutants 2024, 4, 136–152. [Google Scholar] [CrossRef]
  19. Materials Suppliers Team on PFAS-Free Solutions. Available online: https://www.ptonline.com/articles/materials-suppliers-team-on-pfas-free-solutions (accessed on 7 March 2025).
  20. Selig, M. UIUC Airfoil Coordinates Database. Version 2.0. Available online: https://m-selig.ae.illinois.edu/ads/coord_database.html (accessed on 17 April 2025).
  21. Wollstadt, B.M.; Ramnath, S.; Shah, J.J.; Detwiler, D.; Menzel, S. CarHoods10k: An industry-grade data set for representation learning and design optimization in engineering applications. IEEE Trans. Evol. Comput. 2022, 26, 1221–1235. [Google Scholar] [CrossRef]
  22. Regenwetter, L.; Weaver, C.; Ahmed, F. FRAMED: An AutoML approach for structural performance prediction of bicycle frames. Comput. Aided. Des. 2023, 156, 103446. [Google Scholar] [CrossRef]
  23. Flatcad v.3.0; Polydynamics Inc.: Dundas, ON, Canada, 2025.
  24. Vlcek, J.; Perdikoulias, J.; Vlachopoulos, J. Chapter 10 Extrusion die flow simulation and design with FLATCAD, COEXCAD and SPIRALCAD. In Application of CAE in Extrusion and Other Continuous Processes; O’Brien, K.T., Ed.; Hanser: Munich, Germany, 1992; pp. 487–504. [Google Scholar]
  25. Köpplmayr, T.; Miethlinger, J. Application of the network simulation method to flat dies with inverted prelands. Int. Polym. Process. 2013, 3, 322–330. [Google Scholar] [CrossRef]
  26. Vlcek, J.; Mailvaganam, G.N.; Vlachopoulos, J.; Perdikoulias, J. Computer simulation and experiments of flow distribution in flat sheet dies. Polym. Eng. Sci. 1990, 10, 309–322. [Google Scholar] [CrossRef]
  27. Vlachopoulos, J.; Polychronopoulos, N.D. Basic concepts in polymer melt rheology and their importance in processing. In Applied Polymer Rheology; Kontopoulou, M., Ed.; John Wiley & Sons: Hoboken, NJ, USA, 2012; pp. 1–27. [Google Scholar]
  28. Polychronopoulos, N.D.; Moustris, K.; Karakasidis, T.; Sikora, J.; Krasinskyi, V.; Sarris, I.E.; Vlachopoulos, J. Machine learning for screw design in single-screw extrusion. Polym. Eng. Sci. 2025. [Google Scholar] [CrossRef]
  29. Nguyen, Q.H.; Ly, H.B.; Ho, L.S.; Al-Ansari, N.; Van Le, H.; Tran, V.Q.; Prakash, I.; Pham, B.T. Influence of data splitting on performance of machine learning models in prediction of shear strength of soil. Math. Probl. Eng. 2021, 1–15. [Google Scholar] [CrossRef]
  30. Bessa, R.; Barreto, G.A.; Coehlo, D.N.; de Moura, E.P.; Murta, R.H.F. On least squares support vector regression for predicting mechanical properties of steel rebars. Metals 2024, 14, 695. [Google Scholar] [CrossRef]
  31. Cui, Z.; Gong, G. The effect of machine learning regression algorithms and sample size on individualized behavior prediction with functional connectivity features. Neuroimage 2018, 178, 622–637. [Google Scholar] [CrossRef] [PubMed]
  32. Karakasidis, T.E.; Sofos, F.; Tsonos, C. The electrical conductivity of ionic liquids: Numerical and analytical machine learning approaches. Fluids 2022, 7, 321. [Google Scholar] [CrossRef]
  33. Benos, L.; Tsaopoulos, D.; Tagarakis, A.C.; Kateris, D.; Bochtis, D. Optimal sensor placement and multimodal fusion for human activity recognition in agricultural tasks. Appl. Sci. 2024, 14, 8520. [Google Scholar] [CrossRef]
  34. Sofos, F.; Stavrogiannis, C.; Exarchou-Kouveli, K.K.; Akabua, D.; Charilas, G.; Karakasidis, T.E. Current trends in fluid research in the era of Artificial Intelligence: A review. Fluids 2022, 7, 116. [Google Scholar] [CrossRef]
  35. Lekidis, A.; Georgakis, A.; Dalamagkas, C.; Papageorgiou, E.I. Predictive maintenance framework for fault detection in remote terminal units. Forecasting 2024, 6, 239–265. [Google Scholar] [CrossRef]
  36. Wang, J.; Wang, X.; Feng, S.; Miao, Z. Studying the thermodynamic phase stability of organic-inorganic hybrid perovskites using machine learning. Molecules 2024, 29, 2974. [Google Scholar] [CrossRef] [PubMed]
  37. Huang, J.-C.; Tsai, Y.-C.; Wu, P.-Y.; Lien, Y.-H.; Chien, C.-Y.; Kuo, C.-F.; Hung, J.-F.; Chen, S.-C.; Kuo, C.-H. Predictive modeling of blood pressure during hemodialysis: A comparison of linear model, random forest, support vector regression, XGBoost, LASSO regression and ensemble method. Comput. Methods Programs Biomed. 2020, 195, 105536. [Google Scholar] [CrossRef]
  38. Novakovic, B.; Kashkoush, M. Modeling the matching stage of HDPE hot plate welding: A study using regression and support vector machine models. Polym. Eng. Sci. 2024, 64, 827–844. [Google Scholar] [CrossRef]
  39. Awad, A.; Khanna, R. Efficient Learning Machines, Theories, Concepts, and Applications for Engineers and System Designer; Apress: Berkeley, CA, USA, 2015. [Google Scholar]
  40. Sofos, F.; Papakonstantinou, C.G.; Valasaki, M.; Karakasidis, T.E. Fiber-reinforced polymer confined concrete: Data-driven predictions of compressive strength utilizing machine learning techniques. Appl. Sci. 2023, 13, 567. [Google Scholar] [CrossRef]
  41. Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn:machine learning in Python. J. Mach. Learn. Res. 2011, 12, 2825–2830. [Google Scholar]
  42. Scikit-Optimize Sequential Model-Based Optimization in Python. Available online: https://scikit-optimize.github.io/stable/ (accessed on 25 February 2025).
  43. Bernard, M. Integrating machine learning in geotechnical engineering: A novel approach for railway track layer design based on cone penetration test data. Infrastructures 2024, 9, 121. [Google Scholar] [CrossRef]
  44. Zhao, Y.; Zhang, W.; Liu, X. Grid search with a weighted error function: Hyper-parameter optimization for financial time series forecasting. Appl. Soft Comput. 2024, 154, 111362. [Google Scholar] [CrossRef]
  45. Seifrid, M.; Lo, S.; Choi, D.G.; Tom, G.; Le, M.L.; Li, K.; Sankar, R.; Vuong, H.-T.; Wakidi, H.; Yi, A.; et al. Beyond molecular structure: Critically assessing machine learning for designing organic photovoltaic materials and devices. J. Mater. Chem. A 2024, 12, 14540. [Google Scholar] [CrossRef]
  46. Liu, R.; Wang, Z.; Yang, W.; Cao, J.; Tao, S. Self-optimizing Bayesian for continuous flow synthesis process. Digit. Discov. 2024, 3, 1958. [Google Scholar] [CrossRef]
  47. Kavzoglu, T.; Teke, A. Advanced hyperparameter optimization for improved spatial prediction of shallow landslides using extreme gradient boosting (XGBoost). Bull. Eng. Geol. Environ. 2022, 81, 201. [Google Scholar] [CrossRef]
  48. Rutland, H.; You, J.; Liu, H.; Bowman, K. Application of machine learning for FOS/TAC soft sensing in bio-electrochemical anaerobic digestion. Molecules 2025, 30, 1092. [Google Scholar] [CrossRef]
  49. Alhakeem, Z.M.; Jebur, Y.M.; Henedy, S.N.; Imran, H.; Bernardo, L.F.A.; Hussein, H.M. Prediction of ecofriendly concrete compressive strength using gradient boosting regression tree combined with GridSearchCV hyperparameter-optimization techniques. Materials 2022, 15, 7432. [Google Scholar] [CrossRef] [PubMed]
  50. Ethier, J.G.; Casukhela, R.K.; Latimer, J.J.; Jacobsen, M.D.; Rasin, B.; Gupta, M.K.; Baldwin, L.A.; Vaia, R.A. Predicting phase behavior of linear polymers in solution using machine learning. Macromolecules 2022, 55, 2691–2702. [Google Scholar] [CrossRef]
  51. Schossler, R.T.; Ojo, S.; Yu, X.B. Optimizing photodegradation rate prediction of organic contaminants: Models with fine-tuned hyperparameters and SHAP feature analysis for informed decision making. ACS ES&T Water 2023, 4, 1131–1145. [Google Scholar]
  52. Asiminari, G.; Benos, L.; Kateris, D.; Busato, P.; Achillas, C.; Sørensen, C.G.; Pearson, S.; Bochtis, D. Simplifying field traversing efficiency estimation using machine learning and geometric field indices. AgriEngineering 2025, 7, 75. [Google Scholar] [CrossRef]
  53. Rudin, C.; Chen, C.; Chen, Z.; Huang, H.; Semenova, L.; Zhong, C. Interpretable machine learning: Fundamental principles and 10 grand challenges. Statist. Surv. 2022, 16, 1–85. [Google Scholar] [CrossRef]
  54. Molnar, C. Interpretable Machine Learning. 2020. Available online: https://christophm.github.io/interpretable-ml-book/ (accessed on 15 February 2025).
  55. Shapley, L.S. A Value for n-Person Games. Contributions to the Theory of Games; Harold William, K., Albert William, T., Eds.; Princeton University Press: Princeton, NJ, USA, 1953; Volume 2, pp. 307–318. [Google Scholar]
  56. Štrumbelj, E.; Kononenko, I. An efficient explanation of individual classifications using game theory. J. Mach. Learn. Res. 2010, 11, 1–18. [Google Scholar]
  57. Ponce-Bobadilla, A.V.; Schmitt, V.; Maier, C.S.; Mensing, S.; Stodtmann, S. Practical guide to SHAP analysis: Explaining supervised machine learning model predictions in drug development. Clin. Transl. Sci. 2024, 17, e70056. [Google Scholar] [CrossRef]
  58. Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. Adv. Neural. Inf. Proces. Syst. 2017, 30, 4766–4777. [Google Scholar]
Figure 1. Stream-tracers for a typical “coat-hanger” flat die, obtained from a fully 3D numerical simulation. Computational mesh size: 1.3 million cells, after a mesh convergence study.
Figure 1. Stream-tracers for a typical “coat-hanger” flat die, obtained from a fully 3D numerical simulation. Computational mesh size: 1.3 million cells, after a mesh convergence study.
Molecules 30 01879 g001
Figure 2. Pressure distribution for the die of Figure 1.
Figure 2. Pressure distribution for the die of Figure 1.
Molecules 30 01879 g002
Figure 3. Scatter plots of the three targets using Random Forest (RF). Training dataset for (a) thickness variation h ; (b) pressure drop Δ p ; and (c) lowest wall shear rate γ ˙ w , m i n and testing dataset for (d) thickness variation; (e) pressure drop Δ p ; and (f) lowest wall shear rate γ ˙ w , m i n .
Figure 3. Scatter plots of the three targets using Random Forest (RF). Training dataset for (a) thickness variation h ; (b) pressure drop Δ p ; and (c) lowest wall shear rate γ ˙ w , m i n and testing dataset for (d) thickness variation; (e) pressure drop Δ p ; and (f) lowest wall shear rate γ ˙ w , m i n .
Molecules 30 01879 g003
Figure 4. Scatter plots of the three targets using XGBoost. Training dataset for (a) thickness variation h ; (b) pressure drop Δ p ; and (c) lowest wall shear rate γ ˙ w , m i n and testing dataset for (d) thickness variation h ; (e) pressure drop Δ p ; and (f) lowest wall shear rate γ ˙ w , m i n .
Figure 4. Scatter plots of the three targets using XGBoost. Training dataset for (a) thickness variation h ; (b) pressure drop Δ p ; and (c) lowest wall shear rate γ ˙ w , m i n and testing dataset for (d) thickness variation h ; (e) pressure drop Δ p ; and (f) lowest wall shear rate γ ˙ w , m i n .
Molecules 30 01879 g004
Figure 5. Scatter plots of the three targets using Support Vector Regressor (SVR). Training dataset for (a) thickness variation h ; (b) pressure drop Δ p ; and (c) lowest wall shear rate γ ˙ w , m i n and testing dataset for (d) thickness variation h ; (e) pressure drop Δ p ; and (f) lowest wall shear rate γ ˙ w , m i n .
Figure 5. Scatter plots of the three targets using Support Vector Regressor (SVR). Training dataset for (a) thickness variation h ; (b) pressure drop Δ p ; and (c) lowest wall shear rate γ ˙ w , m i n and testing dataset for (d) thickness variation h ; (e) pressure drop Δ p ; and (f) lowest wall shear rate γ ˙ w , m i n .
Molecules 30 01879 g005
Figure 6. SHAP feature importance plot for the XGBoost model. (a) Thickness variation, h; (b) pressure drop ( Δ P ) ; and (c) lowest wall shear rate, γ ˙ w , m i n .
Figure 6. SHAP feature importance plot for the XGBoost model. (a) Thickness variation, h; (b) pressure drop ( Δ P ) ; and (c) lowest wall shear rate, γ ˙ w , m i n .
Molecules 30 01879 g006
Figure 7. SHAP summary plot for XGBoost. (a) Thickness variation, ( h ); (b) pressure drop ( Δ P ) ; and (c) lowest wall shear rate, γ ˙ w , m i n .
Figure 7. SHAP summary plot for XGBoost. (a) Thickness variation, ( h ); (b) pressure drop ( Δ P ) ; and (c) lowest wall shear rate, γ ˙ w , m i n .
Molecules 30 01879 g007
Figure 8. Comparison of Flatcad software [23] to experiments by Vlcek et al. [26] for three different polyethylene types: (a) LLDPE grade A; (b) LLDPE grade B, and (c) HDPE.
Figure 8. Comparison of Flatcad software [23] to experiments by Vlcek et al. [26] for three different polyethylene types: (a) LLDPE grade A; (b) LLDPE grade B, and (c) HDPE.
Molecules 30 01879 g008
Figure 9. Schematic of the simulated flat extrusion die with deactivated restrictor bar. (a) Notation of the die regions and (b) die dimensions.
Figure 9. Schematic of the simulated flat extrusion die with deactivated restrictor bar. (a) Notation of the die regions and (b) die dimensions.
Molecules 30 01879 g009
Figure 10. Base case flat die thickness variation obtained via Flatcad [23] with deactivated restrictor bar.
Figure 10. Base case flat die thickness variation obtained via Flatcad [23] with deactivated restrictor bar.
Molecules 30 01879 g010
Table 1. Comparison of the predictive performance for the testing dataset of the three ML algorithms used.
Table 1. Comparison of the predictive performance for the testing dataset of the three ML algorithms used.
Output (Target)Random Forest (RF)XGboostSupport Vector
Regression (SVR)
R 2 RMSEMAE R 2 RMSEMAE R 2 RMSEMAE
Thickness variation, h 0.8071.2610.9140.9540.5910.4520.9240.8210.672
Pressure drop, Δ p 0.8122.9091.8970.9611.2180.8950.9731.1190.797
Lowest wall shear rate, γ ˙ w , m i n 0.9556.2554.6310.9851.6190.9270.9772.2381.238
Table 2. Polymer viscosity (measured at 225 °C) and temperature sensitivity in the study by Vlcek et al. [26].
Table 2. Polymer viscosity (measured at 225 °C) and temperature sensitivity in the study by Vlcek et al. [26].
PolymerPower-Law Viscosity ModelTemperature Sensitivity, b (°C−1)
LLDPE-A η = 3162 γ ˙ 0.3 0.022
LLDPE-B η = 7914 γ ˙ 0.46 0.019
HDPE η = 28,840 γ ˙ 0.68 0.02
Table 3. Inputs, outputs, and notation of the features and targets and corresponding value range.
Table 3. Inputs, outputs, and notation of the features and targets and corresponding value range.
TypeNotationDescriptionMin–Max Value
Range
InputH1 (mm)-0.66–1.00
InputH2 (mm)-0.66–1.00
InputH3 (mm)-0.66–1.00
InputH4 (mm)-0.68–1.00
InputH5 (mm)Bar restrictor0.68–1.00
InputH6 (mm)locations0.71–1.00
InputH7 (mm)-0.73–1.00
InputH8 (mm)-0.76–1.00
InputH9 (mm)-0.84–1.00
InputH10 (mm)-0.87–1.00
InputH11 (mm)-0.87–1.00
Input Q (kg/h)Mass flow rate100–2000
Input m r e f (Pa·sn)Consistency index5000–35,000
Input n Power-law index0.25–0.55
Input b (°C−1)Temperature sensitivity0.015–0.05
Input ρ (kg/m3)Melt density750–1000
Input C p (J/kg·K)Specific heat capacity1600–2300
Input k (W/m·K)Thermal conductivity0.15–0.25
Input T i n (°C)Melt entering temperature190–230
Input T d i e (°C)Die walls temperature190–230
Output h v (%)Thickness variation0.635–11.20
Output Δ p (MPa)Pressure drop5–30.35
Output γ ˙ w , m i n (s−1)Lowest wall shear rate5.763–130.41
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Polychronopoulos, N.D.; Sarris, I.; Vlachopoulos, J. Implementation of Machine Learning in Flat Die Extrusion of Polymers. Molecules 2025, 30, 1879. https://doi.org/10.3390/molecules30091879

AMA Style

Polychronopoulos ND, Sarris I, Vlachopoulos J. Implementation of Machine Learning in Flat Die Extrusion of Polymers. Molecules. 2025; 30(9):1879. https://doi.org/10.3390/molecules30091879

Chicago/Turabian Style

Polychronopoulos, Nickolas D., Ioannis Sarris, and John Vlachopoulos. 2025. "Implementation of Machine Learning in Flat Die Extrusion of Polymers" Molecules 30, no. 9: 1879. https://doi.org/10.3390/molecules30091879

APA Style

Polychronopoulos, N. D., Sarris, I., & Vlachopoulos, J. (2025). Implementation of Machine Learning in Flat Die Extrusion of Polymers. Molecules, 30(9), 1879. https://doi.org/10.3390/molecules30091879

Article Metrics

Back to TopTop