1. Introduction
Plastics are primarily produced by the petrochemical industry [
1], and they have a wide range of useful applications in both domestic and industrial contexts. Typical examples of these applications include food packaging, biomedical devices, automotive and aerospace components, decorative household and office items, computers, educational materials, and electrical and electronic appliances. Additionally, the emerging trends in three-dimensional (3D) printing have facilitated the extensive applications of plastics and fiber-reinforced polymer composites within the domain of additive manufacturing [
2]. However, the heightened production of these materials and their subsequent end-of-life disposal in terrestrial and marine environments have led to widespread environmental pollution and climate change, exacerbated by issues of food contamination. In alignment with the Saudi Green Initiative and Sustainable Development Goals 13–15, there is an urgent need to develop more sustainable and cost-effective strategies for managing this persistent waste in the environment. Over the years, thermal degradation has been employed as a dependable method for converting plastics into ash [
3,
4]; however, this approach incurs significant energy costs associated with the successful execution of such operations. Consequently, there is a pressing need to explore alternative strategies that enhance the thermal degradation of polymers, particularly through the utilization of agro-waste as a substitutive material to help diminish the energy requirements necessary for the thermal degradation of plastics.
Analogous research studies documented in the literature concerning polymer degradation have predominantly concentrated on thermal stability, which frequently leads to the estimation of the corresponding reaction mechanisms, as well as kinetic and thermodynamic properties. For instance, Xu et al. [
5] examined the thermal decomposition of polyvinyl chloride (PVC), polypropylene (PP), and low-density polyethylene (LDPE) by using a thermogravimetric analyzer (TGA) at the elevated heating rates of 100, 300, and 500 °C·min
−1. Both the Criado master plots and Coats–Redfern model-fitting methods were employed to establish the resultant reaction mechanisms for the pyrolysis processes, while the activation energies were estimated by utilizing the Kissinger–Akahira–Sunose (KAS), Flynn–Wall–Ozawa (FWO), and Friedmann isoconversional model-free methods. In a related study conducted by Aboulkas et al. [
6], the pyrolysis of high-density polyethylene (HDPE), polypropylene (PP), and low-density polyethylene (LDPE) was performed in a TGA at the four distinct heating rates of 2, 10, 20, and 50 °C·min
−1 under inert nitrogen gas flow conditions. The study [
6] identified the contracting cylinder model as the appropriate solid-state reaction mechanism for the pyrolysis of PP, while the contracting sphere model was determined to be suitable for the pyrolysis of HDPE and LDPE. Furthermore, activation energy values ranging from 179 to 188 kJ·mol⁻
1, from 215 to 221 kJ·mol
−1, and from 238 to 247 kJ·mol
−1 were obtained for the thermal decomposition of PP, LDPE, and HDPE, respectively.
Recent studies in the literature have demonstrated that co-pyrolysis, which involves the incorporation of agricultural waste into plastic waste, is more advantageous than the conventional thermal decomposition of plastic waste alone. This approach has been shown to provide an energy reduction strategy, thereby facilitating effective waste management. For instance, Chen et al. [
7] investigated the role of Paulownia wood (PW) in the thermal degradation of polyvinyl chloride (PVC), polyethylene (PE), and polypropylene (PP) by using a thermogravimetric analyzer (TGA). The study revealed a synergistic interaction during the co-pyrolysis of these plastics and biomass, as evidenced by a reduction in thermal stability, a decrease in activation energy, and an increase in residual ash content with higher biomass content in the composites. Albin Zaid and Otaru [
8] identified the first-order reaction kinetics as suitable for describing the solid-state reaction mechanism during the co-pyrolysis of date seeds and polypropylene, conducted over a degradation temperature range between 25 °C and 600 °C and at the heating rates of 10, 20, and 40 °C·min
−1. The study [
8] estimated activation energies of 51.471 and 51.221 kJ·mol
−1 by using the Coats–Redfern and general Arrhenius model-fitting methods, respectively, while values of 156.080 and 153.767 kJ·mol
−1 were obtained through the application of the Flynn–Wall–Ozawa (FWO) and Kissinger–Akahira–Sunose (KAS) model-free methods. Dobrzyńska-Mizera et al. [
9] indicated that increasing the composition of walnut shells (i.e., 10, 20, and 40 wt%) reduces the enthalpy changes for pure polypropylene from 110.2 J·g
−1 to 100.2, 84.0, and 72.2 J·g
−1, respectively. Părpăriţă et al. [
10] concluded that the thermal behavior observed from the co-pyrolysis of various lignocellulosic materials (
Eucalyptus globulus, Norway spruce, energy grass,
Brassica rapa, pinecones, and grape seeds) with polypropylene plastic is contingent upon the cellulose, hemicellulose, lignin, and ash composition of the biomass. The resulting thermograms of the propylene blends in their study indicated a two-step degradation process, with shifts in the thermograms toward lower temperature minima as the biomass content increased.
Other studies related to the co-pyrolysis of biomass and waste plastics have been documented [
11,
12,
13,
14], with most of this work being dedicated to the synergistic interactions that occur between these materials, as well as the estimation of reaction mechanisms, kinetics, and thermodynamic parameters. Recently, investigations into the thermal decomposition of plastics have incorporated machine learning techniques to predict either weight loss during thermal degradation or the process parameters associated with thermogravimetric analysis (TGA) experimental measurements. For instance, Alhulaybi and Otaru [
15] employed backpropagation deep neural networks, a machine learning technique, to train a series of pre-processed experimental datasets regarding sample weight loss obtained from the co-pyrolysis of
Phoenix dactylifera L. and high-density polyethylene (HDPE) blends conducted at the heating rates of 10, 20, and 40 °C·min
−1, with degradation temperatures ranging between 25 and 600 °C. The study revealed a coefficient of determination approaching unity between experimental measurements and predictions; the established model was subsequently used to project degradation temperatures between 600 and 1000 °C. In 2023, Potnuri et al. [
16] demonstrated the applicability of machine learning support vector machines (SVMs) in predicting yields obtained from the microwave-assisted co-pyrolysis of biomass and plastics, estimating the coefficients of determination for biogas, biochar, and bio-oil yields as 0.91, 0.93, and 0.96, respectively. Zhang et al. [
17] indicated that the gradient boosting decision tree algorithm provided the best predictions (R
2~0.9) for monoaromatic-rich oil yield from the co-pyrolysis of biomass and waste plastic in the presence of a zeolite catalyst, compared with other machine learning models such as extreme gradient boosting, light gradient boosting, and random forest.
Dates are primarily cultivated in Saudi Arabia and other regions of the Middle East, resulting in a significant accumulation of date waste in the environment. Additionally, Saudi Arabia is home to numerous petrochemical and plastic manufacturing industries, whose operations have led to an ongoing increase in plastic production (low- and high-density polyethylene, polyethylene terephthalate, polystyrene, polyvinyl chloride, polyvinyl alcohol, polycarbonate, etc.) and associated environmental waste. Relevant research documented in the literature has demonstrated that various agro-derived wastes, including walnut shells, groundnut shells, coconut shells, and rice husks, have been employed to enhance the thermal stability of polymers. However, there exist a limited number of studies specifically focusing on low-heating-rate thermogravimetric analysis (TGA) operations and the application of machine learning tools in this context. Previous reports published by this research group have documented the utilization of DSP as a feedstock in the pyrolysis of polypropylene (PP) [
8] and high-density polyethylene (HDPE) [
15]. Both studies were conducted at the heating rates of 10, 20, and 40 °C.min⁻
1. It is important to note that the PP grade employed in [
8] is PP520L homopolymer, characterized by a density of 905 kg.m
−3 and a melt flow rate (MFR) of 10 g/10 min at 230 °C and a load of 2.16 kg. The HDPE grade utilized in [
15] is HDPE F00952 copolymer, characterized by a density of 952 kg.m
−3, an MFR value of 0.05 dg/min at 190 °C, and a load of 2.16 kg. The differences in the physical and chemical properties of these two polymeric materials are reflected in their characteristic thermograms, which indicate that the onset of the propagation stage of thermal degradation for the HDPE materials begins at 365, 385, and 485 °C for the three heating rates, respectively [
15]. In contrast, the propagation stage for the PP materials occurs within a lower temperature range of 325 to 495 °C, with minimal deviations observed in the thermograms obtained for these heating rates [
8]. This study, therefore, presents a comprehensive analysis of the thermal degradation of date seed powder (DSP) and high-density polyethylene (HDPE) conducted in a TGA system at the low heating rates of 2, 5, and 10 °C·min
−1, with degradation temperatures ranging from 25 to 600 °C. The analyses encompass TGA-FTIR experimental measurements, convolutional deep neural networks (CDNNs), multiple linear regression modeling, and the kinetics and thermodynamics of the process. The experimental component of this study is anticipated to elucidate the influence of low-heating dominant temperature effects on the pyrolysis and co-pyrolysis processes, in comparison with established literature data. Furthermore, the machine learning modeling and simulation aspect of this research study is expected to yield valuable insights into the accurate predictions of the thermogravimetric analysis (TGA) thermograms generated from the study, as well as to establish a hierarchical ordering of the significance of the operational parameters employed in the thermal degradation of the materials at these low heating rates.
2. Experimental Approach and Data
The experimental approach of this study entails the collection of dried date seed samples from Al Hofuf, Al Ahsa, located in the eastern region of Saudi Arabia, along with SABIC
® HDPE F00952 plastic produced by Saudi Basic Industries Corporation (SABIC). This specific HDPE plastic from SABIC is characterized by a density of 952 kg/m
3 and melt flow rates (MFRs) of 0.05 g/10 min at 190 °C under a load of 2.16 kg and 9.0 g/10 min at 190 °C under a load of 21.6 kg and has been specifically designed for blown film extrusion [
18]. Clean samples of the date seeds were oven-dried at a temperature of about 50 °C for 12 h, followed by crushing to obtain a powdered form characterized by particle sizes ranging from 100 to 200 µm. A similar crushing procedure was applied to the HDPE plastic prior to conducting thermogravimetric analysis and Fourier transform infrared (FTIR) measurements.
The Fourier transform infrared (FTIR) measurements were conducted by utilizing a Cary 630 FTIR system, which is equipped with MicroLab 5.8 software (Agilent Technologies, Santa Clara, CA, USA). The objective of this experimental measurement is to identify the molecular compounds present in both date seeds and high-density polyethylene (HDPE) plastic [
19]. Acetone was employed to clean the crystal section of the FTIR system prior to placing the individual powder samples onto it. A pressing mechanism was used to secure the sample on the crystal before measuring the transmittance of infrared radiation across varying wavelengths for each sample. The pyrolysis and co-pyrolysis processes were executed by using a Mettler Toledo thermogravimetric analysis (TGA) system, following methodologies consistent with those described in [
6,
20,
21]. Before initiating TGA operation, a nitrogen gas flow at a rate of 40 mL·min
−1 was introduced into the system to maintain an oxidation-free environment, thereby preventing mass loss due to combustion. Pyrolysis processes were performed on individual samples, while co-pyrolysis studies involved synthetically created composite mixtures of these samples, incorporating 25 and 50 wt% date seed powder (DSP) compositions. TGA was conducted across degradation temperatures ranging from 25 to 600 °C, employing varying low heating rates of 2, 5, and 10 °C·min
−1. During TGA operation, the mass loss profile (thermogram) of individual samples and their blends was recorded in relation to degradation temperatures of up to 600 °C. This maximum temperature was selected as complete decomposition to ash is anticipated for the HDPE plastic material, which is the primary focus of degradation, as well as for most plastic materials. Upon reaching this maximum temperature, the TGA system was deactivated and allowed to cool before we recorded the final weight of the sample. A total of twelve TGA experiments were conducted on both pure and blended samples across the three selected low heating rates: 2, 5, and 10 °C·min
−1.
Figure 1a presents the thermogravimetric (TGA) and derivative thermogravimetric (DTG) for the HDPE material, generated at the heating rates of 2, 5, and 10 °C·min
−1 against degradation temperatures ranging from 25 to 600 °C. The thermograms in
Figure 1a indicate slight shifts in the temperature maxima with the increase in the heating rate. Each resulting thermogram can be categorized into initiation, propagation, and termination stages. Specifically,
Figure 1a illustrates that both the initiation and termination stages of degradation occur at 25–280 °C and 495–600 °C, respectively. Furthermore, Scott [
22] describes the initiation of polymer degradation as the phase characterized by either the formation of free radicals through the direct reaction of oxygen with the polymer or the homolysis of C–C or C–H bonds within the molecules. According to a report in [
23], the initiation stage in polymer degradation is largely characterized by the loss of water molecules, which accounts for less than 1.0 wt% weight loss in the sample during this stage of HDPE thermal degradation, as shown in
Figure 1a. Lamar et al. [
23] reported that the moisture content of HDPE is 0.045 wt%, with values ranging between 0.01 and 0.30 wt%, noted in [
24] as the water absorption capacity for this material. In contrast, the termination stage of HDPE degradation can be referred to as its complete degradation to ash, resulting in over 95 wt% loss from the original sample, as evidenced in
Figure 1a.
Figure 1a illustrates that a significant amount of weight loss (exceeding 90 wt%) was observed for all the HDPE thermograms, which occurred within degradation temperatures ranging from 280 to 495 °C. Both the TGA and DTG curves indicate a two-step degradation process during this propagation stage of pyrolysis and co-pyrolysis processes. For example, at a heating rate of 2 °C.min
−1, the DTG curves reveal two distinct peaks at 335 °C and 365 °C, while the thermogram conducted at a heating rate of 10 °C.min
−1 yielded peak values of 360 °C and 485 °C. The DTG peaks associated with HDPE degradation not only signify the degradation steps but also indicate the temperatures at which the most significant chemical reactions and conversions occur.
Figure 1d presents the FTIR data, showcasing percentage transmittance as a function of wavenumber (cm
−1) for both HDPE and DSP samples. In the case of the HDPE sample, five distinct peaks were recorded at 3428.5, 2913.2, 2846.5, 1099, and 717.1 cm
−1. According to the FTIR database referenced in [
25], the broad peak at 3428.5 cm
−1 falls within the range of 3200–3550 cm
−1 and can be attributed to the O–H stretching of alcohol, while the sharp peaks at 2913 cm
−1 and 2846 cm⁻
1 correspond to the C-H stretching of alkanes. The peaks at 1099 cm
−1 and 717 cm⁻
1 can be identified as the C–O stretching of secondary alcohol and the C=C bending of alkenes, respectively; however, both fall within the fingerprint region (<1500 cm
−1 [
26]), which has been widely reported as a less reliable area for molecular identification [
27]. Consequently, the propagation stage of HDPE plastic degradation, as illustrated in
Figure 1a, can be characterized as the region of complete degradation of these compositions, resulting from the scission of chemical bonds and the release of free radicals [
28]; the rapid depolymerization of larger molecules into smaller ones [
29,
30]; the formation of amorphous, semi-crystalline, and crystalline phases [
23]; and a reduction in the apparent density of the sample with the increase in degradation temperature.
Figure 1b presents TGA-DTG data for the pyrolysis and co-pyrolysis of the DSP biomass material conducted at the heating rates of 2, 5, and 10 °C.min
−1. Analogous to the degradation of HDPE, the characteristic trends of the DSP biomass shifted towards higher temperature maxima with the increase in the heating rate. Nonetheless, the variation in degradation trends can be attributed to the composition of the DSP biomass. The FTIR analysis of the DSP biomass, as depicted in
Figure 1d, reveals four significant peaks in the functional group region. The broad peak observed at 3332.5 cm⁻
1 falls within the 3200–3550 cm
−1 range and can be ascribed to O–H stretching associated with alcohol. The sharp peaks at 2921.6 cm
−1, 1742.6 cm
−1, and 1603.2 cm
−1 are classified as the O–H stretching of cellulose and hemicellulose, the C=O stretching of ∂-lactone (indicative of pectin and hemicellulose), and the C=C stretching of lignin, respectively. The TGA data presented in
Figure 1b indicate that the initiation stage of pyrolysis for DSP biomass occurs within a degradation temperature range of 25 to 225 °C, resulting in an approximate material loss of 9 wt%. In contrast to the thermal degradation of HDPE, this considerable weight loss can be ascribed to the elevated moisture content characteristic of DSP biomass. An experimental study on the physicochemical properties of date seed powder [
31] reported moisture content values ranging from 4.76 to 8.02 wt% for date seeds from Saudi Arabia. In a related investigation, Himanshu et al. [
32] identified a moisture content of 4.34 wt%, while another study documented values of 4.60 and 8.30 wt% for date seeds sourced from various regions in Morocco [
33]. Consequently, the data illustrated in
Figure 1b demonstrate that the decomposition of cellulose and hemicellulose within the DSP biomass occurs between 225 and 400 °C. Approximately 55 to 60 wt% of the sample is lost during this primary reaction stage, as evidenced by the DTG peaks observed at temperatures ranging from 285 to 290 °C, as depicted in
Figure 1b. Beyond this stage,
Figure 1b indicates that gradual degradation (slow) of the lignin component occurs during the thermogram performed at a heating rate of 10 °C.min
−1, while those conducted at 2 and 5 °C.min
−1 ultimately degrade to ash at a maximum temperature of 600 °C.
Figure 1c presents TGA thermograms and DTG curves for the DSP, 50%DSP, 25%DSP, and HDPE samples, all obtained at a constant heating rate of 5 °C·min
−1. This figure indicates a shift in temperature maxima with the increase in the proportion of DSP in the blend. For instance, at a sample weight of 60 wt%, degradation temperature values of 292, 395, 435, and 460 °C were observed for the DSP, 50%DSP, 25%DSP, and HDPE samples, respectively. This trend is consistent with previous reports involving the co-pyrolysis of walnut shell and polypropylene (PP) [
9], lignocellulosic biomass and plastics [
12], and lychee seed and plastic waste [
34]. The observed decrease in thermogram temperature with the increase in the DSP proportion in the blends may be attributed to the low thermal conductivity [
35] and high moisture content [
33] of DSP biomass. Consequently, this results in reduced thermal stability of the composite when compared with the pyrolysis of pure HDPE plastic material. Furthermore, the DTG curves in
Figure 1c indicate multi-step degradation during the propagation stage of the degradation process, which can be attributed first to the decomposition of hemicellulose and cellulose components in the DSP biomass, followed by the decomposition of the HDPE plastic and lignin contents of the DSP material. In summary, both the TGA and DTG curves presented in
Figure 1c indicate that the presence of hemicellulose and cellulose in the DSP biomass contributes to the reduced thermal stability of HDPE plastic blends under the specified operational conditions of heating rates (2, 5, and 10 °C·min
−1) and degradation temperatures (25–600 °C). Both cellulose and hemicellulose are hydrolyzed by extracellular enzymes, resulting in higher affinity for water compared with lignin, rendering them more susceptible to early thermal degradation [
36]. Conversely, lignin decomposition, as discussed in [
5], is regarded as a rate-limiting step in biomass degradation due to the complexity of its bonds, cross-linkages, and low nitrogen content [
37]. Furthermore, Lv et al. [
38] reported a significant reduction in mass during cellulose volatilization in the pyrolysis process, as well as gradual mass degradation that plateaued, which was attributed to the degradation of the lignin component. Moreover, the resulting thermograms for the DSP materials align with findings in [
39], which suggest that the rate of pyrolysis of biomass is directly proportional to the cellulose fractions and inversely proportional to the lignin fractions present in the biomass.
3. Machine Learning CDNN Approach and Analysis of Data
Figure 1 illustrates that the TGA experimental data for individual samples and their blends exhibit significant variability, which can be attributed to differences in heating rates, degradation temperatures, degradation times, and sample compositions. Consequently, identifying a model that accurately describes all experimental data points may be challenging. Instead, obtaining a precise function that captures the general trends of the experimental data points would be a more suitable strategy. In this study, machine learning convolutional deep neural network (CDNN) modeling techniques were employed to formulate the algorithms necessary for predicting the mass profile loss (thermogram) associated with pyrolysis and co-pyrolysis processes. This process involved identifying operating parameters, classifying them into features (inputs) and labels (outputs), and establishing the relationship between them prior to data pre-processing. The label for this modeling approach is the mass profile loss obtained from the process, which can be considered the dependent variable, while the independent variables (features) include the heating rate (
Q), degradation temperatures (
T), degradation time (
t), and the fractional composition of date seed powder in the composite (
C).
The data pre-processing of the raw experimental data was conducted to identify the most significant data points for modeling and simulation. A total of 110,408 data points per variable were measured experimentally. The number of experimental data points and the timing of the TGA experiment depend on the heating rate employed during the operation, with each data point recorded every second. For instance, a total of 17,250 data points per variable were acquired for TGA experiments conducted at a heating rate of 2 °C.min
−1, across degradation temperatures ranging from 25 to 600 °C. A total of 6900 and 3450 data points were obtained for samples tested at the heating rates of 5 °C.min
−1 and 10 °C.min
−1, respectively. Considering this, data point selection was performed by selecting features and labels obtained at every 10 °C interval for degradation temperatures between 25 and 255 °C (primarily data from the initiation stage) and 500 to 600 °C (primarily data from the termination stage). Additionally, an interval of 5 °C was utilized for data point selection within the degradation temperatures of 255 to 500 °C, as this range represents the most critical phase of the degradation process (primarily data from the propagation stage), where the dominant reaction processes are expected to occur, as evidenced by the DTG curves in
Figure 1. By using this approach, a total of 966 data points per variable were selected for log normalization before being used as input for the model. The log normalization of the selected experimental data points was achieved by scaling the selected features and label values to a range between 0 and 1. This was accomplished by dividing individual data points by a chosen maximum value that is realistically possible [
8,
40]. For instance, the heating rates (
Q) were divided by 100 °C·min⁻
1, while the degradation temperature (
T), degradation time (
t), and DSP composition (
C) were divided by 1000 °C (
), 20,000 s (
), and (
), respectively. This approach is essential to converting the data into dimensionless values and is integral to the selection of the Sigmoid activation function for the deep learning training of the experimental datasets, which will be discussed later.
Figure 2a presents a convolutional deep neural network (CDNN) framework that illustrates the connection between input data and the convolutional neural network (CNN) segment of the framework, the output from the CNN to the deep neural network (DNN) component, the hidden neurons within the DNN framework, and the output neuron. The CNN segment depicted in
Figure 2a demonstrates the transmission of selected features and labels through a series of kernels (filters), which function as data extractors to produce a convolutional output referred to as a vector [
41]. The filter is commonly employed in convolutional operations to detect silence at any position within the data, and its operations can be conceptualized as a small multilayer perceptron (MLP) that traverses the input signal [
42], thereby inducing a temporal shift in the output signal. In
Figure 2a, the selected input data are processed through three 3 × 3 separated filters containing values of −1 and +1, resulting in the generation of three distinct vectors. These multiple vectors are subsequently subjected to another combined 3 × 3 filter, yielding a single vector. To preserve the classification of dimensionality, a one-dimensional padding was applied to both boundaries, followed by the passage of the vector through a 1 × 3 filter. A two-step convolutional stride and an average pooling operation were performed on the vector to produce the final reduced classification. The output data obtained from the convolution operator are represented as a single-column vector with values ranging between 0 and 1.0. A total of 420 data points per variable were extracted from the 996 selected data points following the convolutional operation.
Figure 2b,c illustrate plots of selected experimental data (EXPT) and the CNN-processed data against the degradation temperature. These figures display complete overlaps between the CNN-modeled and selected experimental data (R
2~0.999), indicating that the convolutional kernels have been effectively learned. Therefore, it is essential to recognize that this convolutional approach may be characterized as a data selection technique—extracting significant features and labels for modeling while reserving the unselected data for cross-validation (to be discussed further).
Following convolutional neural network (CNN) modeling, the deep neural network (DNN) segment of the framework illustrated in
Figure 2a was implemented by constructing an architecture comprising ten hidden neurons, distributed equally across two hidden layers, as depicted in
Figure S1 of the
Supplementary Materials. The general artificial neural network (ANN) models utilized for the formulation of learning algorithms are presented in Equations (1)–(3). Equation (1) conveys a linear representation of the sum weight (
) as a function of the synaptic weight (
), bias (
), and input function (
). Equation (2) represents the Sigmoid activation function, while Equation (3) delineates the loss or cost function, which indicates the square of the difference between the actual output (
) and the predicted output or activation (
). It is essential to emphasize that the variable included in the linear expression in Equation (1) facilitated the integration of the input parameters (heating rate, degradation temperature, degradation time, and sample composition) into the model developed according to the architecture presented in
Figure 2a. Furthermore, Equation (3) is utilized to integrate the output experimental data of the fractional weight (
) obtained from the TGA measurements, which is necessary to compute the loss function for each activation value computed during the training of the formulated gradient descent algorithm (loss optimization function) derived for the framework illustrated in
Figure 2a.
A comprehensive formulation of the learning algorithms, along with the cost (loss) optimization functions developed through the backpropagation method, was achieved by utilizing a procedure analogous to that reported in [
43], as illustrated in the
Supplementary Materials. Furthermore, the machine learning training was conducted by utilizing Microsoft Excel, complemented by a written looping script in Visual Basic for Applications, as detailed in the
Supplementary Materials. At the commencement of training, an initial value of 0.1 was assigned to each of the synaptic weights and biases, and a computational time of one second was selected to complete each iteration of the loop. Subsequently, the loop time was accelerated to zero seconds to enhance modeling speed while ensuring that convergence was achieved. The objective of this approach was to identify the optimized synaptic weights and biases that significantly minimize the loss function to a value approaching zero, as this condition indicates a potential point of overlap between modeling and experimental data [
44]. With an initial learning rate set to 5.0,
Figure 3a demonstrates that the output from the DNN [
5,
5] framework, utilizing the chosen experimental datasets as input, produced a loss function of 108.844. Following the training processes, which encompassed approximately 97,044 epochs (iterations) over a span of 4.19 h, this loss function decreased to 5.866. When employing CNN-processed data as input features within the CDNN [
5,
5] framework, a substantial reduction in the loss function (38.428) was observed at the onset of training, as depicted in
Figure 3a. Ultimately, this loss function of 38.428 was further reduced to 2.235 by the conclusion of the training process, utilizing a smaller number of epochs (45,655) and a training duration of 1.427 h.
During the training phase, hyperparameter modeling modifications were implemented by adjusting the learning rate from 5 to 2. This approach facilitated the convergence of the gradient descent algorithm (the formulated cost optimization algorithms), thus mitigating the issues associated with gradient explosion [
45]. Additionally, this strategy contributed to a reduction in the training time and the number of epochs required for a significant decrease in the loss function to nearly zero.
Figure 3a illustrates that further hyperparameter modeling was conducted through the systematic reduction in hidden neurons, followed by the training process. This method yielded some modeling gains, decreasing the loss function to 2.190 for a computational setup involving only three hidden neurons (i.e., the CDNN [
2,
1] framework), which utilized approximately 27,456 epochs and was computed over the course of one hour. Furthermore, model regularization was achieved by extending the training duration for the learning process to 72 h, resulting in a slight reduction in the loss function of the CDNN [
2,
1] framework to 2.153. This outcome corresponds to an approximate precision error of 1.697% when compared with the earlier loss function computed over one hour. It is essential to note that modeling regularization is crucial to addressing modeling complexity, as it facilitates a balance between underfitting and overfitting, thereby enhancing the model’s capability to learn more generalized patterns [
41].
The validation and cross-validation of the models were accomplished by comparing the modeling results with experimental data and conducting interpolated predictions.
Figure 3b illustrates the five progressive outputs of the Computational Deep Neural Network (CDNN) that were selected at various loss functions throughout the training process. CDNN 1 signifies the initiation of the training process, during which a constant value of 0.1 was assigned to all synaptic weights and biases, accompanied by a learning rate of 5.0 for the computational algorithms formulated within the CDNN [
2,
1] framework. The selection of these constants yielded a loss function value of 44.089, which subsequently decreased during the training phase, characterized by a series of modeling modifications.
Figure 3b demonstrates a nearly complete overlap between the final predictive output of CDNN 5, represented as sample weight (%), and the experimental data for the 50%DSP sample assessed at a heating rate of 5 °C.min
−1.
Table 1 presents estimated uncertainties of 1.418 and 1.365 for the experimental and CDNN-predicted data, respectively. Furthermore, values of 4.906 and 0.165 were calculated as the mean absolute error (MAE), or L1 loss, and the mean bias error (MBE), respectively, while a coefficient of determination (R
2) of 0.939 was obtained when comparing experimental data with the modeling response.
Figure 3c illustrates a substantial correlation between the modeling and experimental data regarding sample weight loss as a function of degradation temperature, specifically for samples of varied compositions subjected to a constant heating rate of 5 °C min
−1.
Figure 3d presents interpolated predictions for compositions of 20% and 75% DSP within a composite, indicating that these estimated predictions fall within the range of experimental variability. This observation suggests that the developed learning algorithms have successfully identified a more generalized pattern for predicting thermograms relevant to this process.
Table 1 also presents the estimated final trained data of synaptic weights and biases, which were obtained following a series of modeling modifications that involved the elimination of certain hidden neurons, along with their associated synaptic weights and biases. The data in
Table 1 indicate that the highest estimated value is for the connecting synaptic weight that links temperature (see
Figure S1 in the
Supplementary Materials) to the hidden neurons (
and
). Thus, these estimated synaptic weight values in
Table 1 show that the decreasing order of sensitivity of the operating parameters for this process is degradation temperature, sample composition, degradation time, and heating rate. It is essential to note that adjustments to the bias during the training process are beneficial to aligning the modeling outcomes with experimental data [
44].
5. Thermokinetics
The thermokinetics of the pyrolysis and co-pyrolysis processes were investigated through the estimation of the kinetic and thermodynamic parameters associated with the process. The primary kinetic parameters of interest include the activation energy (
) and the pre-exponential factor (
). These parameters were estimated by utilizing both the Borchardt and Daniels (DB) model-fitting method for single heating rates (as expressed in Equation (8)) and the non-isothermal Kissinger–Akahira–Sunose (KAS) model-free method for variable heating rates (as indicated in Equation (9)). The selection of the BD and KAS kinetic models is intended to facilitate a comparative analysis of the estimated kinetic and thermodynamic data derived from both the single-heating-rate (BD) and multiple-heating-rate (KAS) models, respectively. A study referenced in [
47] indicated that the application of multiple heating rates—specifically, a minimum of three—within model-free kinetic methods significantly enhances the reliability of representing non-isothermal data related to the pyrolysis and co-pyrolysis of materials. Nonetheless, the utilization of the BD model-fitting kinetic approach will support the estimation of potential reaction mechanisms, in addition to kinetic and thermodynamic data, based on a single heating rate [
15]. While several alternative model-free methods exist—including the Flynn–Wall–Ozawa (FWO), Starink (STK), and Friedmann (FR) methods—there is documented evidence [
4,
5,
6,
8] indicating that these methods yield minimal significant variation in the estimated activation energy, which is a crucial kinetic parameter. Therefore, the employment of the BD and KAS models for the estimation of the kinetic and thermodynamic parameters in this study is justified.
Table 2 presents the selected solid-state reaction mechanisms [
6,
48] that were employed alongside the BD model to infer the potential reaction mechanisms. Equations (10)–(12) provide mathematical expressions for estimating the thermodynamic parameters, specifically the changes in enthalpy (
), entropy (
), and Gibbs free energy (
) associated with the process [
8,
49]. In these equations, the term
denotes the fractional conversion based on the sample weight percent, where
represents the initial weight,
is the weight at time t, and
signifies the final weight of the sample. Additionally, the activation energy is measured in kJ·mol
−1, R denotes the gas constant in J·mol
−1·K
−1, and
represents the heating rate (°C·min
−1). Furthermore,
symbolizes Planck’s constant,
= 1.3806 × 10
−23 J.K
−1 is the Boltzmann constant, and T signifies the final or maximum temperature of constant conversion.
Borchardt and Daniels (BD) Model-Fitting Method for Single Heating Rates
Kissinger–Akahira–Sunose (KAS) Model-Free Method for Variable Heating Rates
Before the application of the BD and KAS kinetic models, it is essential to emphasize that the complete degradation of the HDPE plastic materials to ash was achieved at temperatures below 500 °C for the selected low heating rates (2, 5, and 10 °C·min
−1). While the primary objective of this study is the complete degradation of plastic materials, the necessity to minimize energy requirements for this process facilitated the selection of the DSP biomass. Therefore, it is imperative to consider temperature and conversions within the confines of complete HDPE degradation for the kinetic and thermodynamic studies. The DTG peaks illustrated in
Figure 1 were recorded below 500 °C, indicating that the synergistic interactions involving the degradation of the hemicellulose and cellulose contents in the biomass, as well as the degradation of the plastics, occurred prior to reaching this temperature. In other words, the principal reactions took place below this threshold. Furthermore,
Figure 1b indicates that the presence of lignin in the DSP biomass retards degradation at elevated temperatures for the thermograms recorded at a heating rate of 10 °C·min
−1. Notably, such a thermogram plateaued when compared with those obtained at the heating rates of 2 and 5 °C·min
−1. Considering this, selecting data on mass loss for conversions below 20 wt% may overlook significant information from the thermogram at a heating rate of 10 °C·min
−1. According to Vyazovkin et al. [
50], the minimum number of thermograms required for the application of model-free isoconversional methods in estimating kinetic parameters is established. Thus, the selected BD and KAS kinetic models in this study were employed to estimate kinetic and thermodynamic parameters by using conversions ranging from 5 to 70 wt%.
Figure 5a presents plots of Borchardt and Daniels’ ln(g(
)/t) versus the inverse of conversion temperature (T
−1, [K
−1]) for the 50%DSP-5 sample, corresponding to the selected solid-state reaction mechanisms. The estimated values of kinetic and thermodynamic data by using the BD method are provided in
Table 3. Both
Table 3 and
Figure 4a indicate that higher values of the coefficient of determination (R
2) were achieved by using the D2 and D3 diffusion models, while poorer fits were obtained by using the A2 and A3 Avarami–Erofeev models.
Figure 5b displays the plots of BD’s ln(g(
)/t) against the inverse of conversion temperature (T
−1, [K
−1]) for the pure HDPE and DSP samples at various heating rates. This figure demonstrates that the trends associated with pure HDPE shifted towards the temperature maxima when compared with the linear inverse trends associated with pure DSP biomass, indicating a higher thermal stability of the HDPE plastic material. This finding is consistent with the study conducted in [
9] on the thermal degradation of polyethylene plastic and walnut biomass. Additionally,
Figure 5b illustrates that increasing the heating rate consistently results in a shift in the inverse linear trends towards the temperature maxima. However, these trends do not vary significantly due to the proximity of the selected heating-rate values when compared to the thermal degradation processes recorded for high heating rates in [
6,
11,
15].
Figure 5c presents the characteristic plots of BD’s ln(g(
)/t) against the inverse of conversion temperature (T
−1, K
−1) for samples with varying compositions and a constant heating rate of 5 °C·min
−1. The data indicate that an increase in the composition of DSP in the blend consistently shifts the trends to lower temperatures, thereby reducing the thermal stability of the blended sample.
Figure 5d illustrates the activation energies (
) obtained for the twelve samples created at different sample compositions and heating rates. The results demonstrate that the activation energy consistently increases with a higher HDPE composition in the composite. For instance, at a heating rate of 5 °C·min
−1, the estimated values of
for the pure DSP-5, 50%DSP, 25%DSP-5, and pure HDPE samples range from 40.419 to 91.080 kJ·mol
−1, as determined by using the BD kinetic model in conjunction with the D2 diffusion model.
Table 3 further indicates that the pre-exponential factor (
) increases significantly with the rise in activation energy (
), suggesting a rapid reaction achieved at elevated temperatures for samples with a higher HDPE proportion. Additionally, the estimated values for the changes in enthalpy (
) and Gibbs free energy (
) were consistently positive, while negative values were estimated for the change in entropy (
) throughout the analysis using the Borchardt and Daniels kinetic model.
Figure 6a presents plots of KAS’ ln(Q/T
2) against the inverse of conversion temperature (T
−1, [K
−1]) for samples of varied compositions at both the lowest (5 wt%) and highest (70 wt%) conversions selected. This exhibits an increasing linear inverse trend towards temperature minima with an increase in DSP proportion within the blend, as well as a reduction in sample mass conversion.
Figure 6b provides a more comprehensive view of the observations in
Figure 6a, revealing the consistent shift to higher temperatures with the increase in mass profile conversion during the thermal decomposition of the 50%DSP sample. Notably, the slope of the trend at 5% conversion differs from those observed for 10%, 20%, and 30% conversions, suggesting that at lower conversion levels, the material exhibits more amorphous characteristics at this low temperature, which subsequently transitions to a semi-crystalline and eventually fully crystalline state at higher temperatures [
23]. According to reported studies in [
49,
51], the dehydration stage of material decomposition is characterized by reversibility and may also be referred to as a second-order transition, while the combustion stage is distinguished by a significant loss in material content, categorizing it as a first-order and irreversible transition.
Figure 6c and
Table 4 present the estimated average values of activation energy (
) obtained for this process by using the isothermal KAS model-free kinetic method. These values are 96.316, 118.804, 197.336, and 232.034 kJ.mol
−1 for the pure DSP, 50%DSP, 25%DSP and pure HDPE samples, respectively, which are higher than those estimated via the BD model-fitting method. These variations in the estimated kinetic data may be attributed to the non-linear deviations observed in the linear–inverse trends associated with the application of the BD model-fitting methods at lower conversion levels [
52]. This methodology resulted in reduced coefficients of determination when a linear model was employed, in contrast to the significantly better fits achieved through the application of the KAS model-fitting methods.
Table 4 indicates that the pre-exponential factor (
) and the estimated values of thermodynamic parameters increase with the increase in the percentage conversion and the HDPE plastic proportion in the sample.
Figure 6d illustrates the kinetic compensation effect, establishing the relationship between the natural logarithm of the pre-exponential factor (
) and the natural logarithm of the activation energy (
). This approach is derived from a study reported by Janković et al. [
53], which demonstrated a linear relationship between the pre-exponential factor and activation energy (
). The data presented in
Figure 6d suggest that the application of the proposed model in [
53] to the estimated data in this study indicates a linear relation between the pre-exponential factor and activation energy, as estimated by using both the BD model-fitting and KAS model-free kinetic models. With reasonable values of the coefficient of determination estimated for the two models, the plots in
Figure 6d suggest that both pyrolysis and co-pyrolysis processes facilitate the direct rapid conversion and disintegration of the samples from lower to higher degradation temperatures [
23,
48], despite the study being conducted at the low heating rates of 2, 5, and 10 °C.min
−1. Finally, the use of both the BD model-fitting and KAS model-free kinetic methods resulted in the estimation of positive values for changes in enthalpy (
) and Gibbs free energy (
) throughout the analysis, suggesting that the pyrolysis and co-pyrolysis processes are endothermic and non-spontaneous, respectively. In contrast, the estimated values of changes in entropy (
) derived from the two selected kinetic models remained negative and approached zero, suggesting that the process is stable or exhibits a lower degree of disorder.
While the current study provided kinetic and thermodynamic data on the pyrolysis and co-pyrolysis of DSP, HDPE, and their blends at the low heating rates of 2, 5, and 10 °C·min
−1, a previously published report referenced as [
15] presented thermograms, kinetics, and thermodynamic data for the thermal degradation of similar materials at higher heating rates, 10, 20, and 40 °C·min
−1. The study [
15] revealed that a total degradation time of 2925 s was recorded for these materials at a maximum degradation temperature of 600 °C, specifically at a heating rate of 20 °C·min
−1. Furthermore, it noted a 17 wt% loss for the thermal degradation of the pure DSP biomass, occurring within a temperature range of 35 to 285 °C, while a 1.0 wt% loss was observed for HDPE degradation at 355 °C, and a 5 wt% loss was recorded for the 50%DSP composite sample at 285 °C. Additionally, the overall activation energy estimated for the process ranged between 22.903 and 101.515 kJ·mol⁻
1, determined by using the Coats–Redfern model-fitting kinetic method. The current study indicated a degradation time of 6900 s for the thermal decomposition of these materials at a heating rate of 5 °C·min
−1, resulting in a 15 wt% loss for the thermal degradation of the DSP biomass material with a degradation temperature between 25 and 235 °C. In this slow pyrolysis process, the propagation stage of HDPE degradation commenced at a higher temperature of 280 °C (resulting in a 1.0 wt% loss), whereas 50%DSP composite degradation began at 245 °C (resulting in a 5 wt% loss). Thus, the data obtained for these two pyrolysis processes at varying heating rates suggest that the slow pyrolysis conducted in this study resulted in a significantly longer degradation time due to the dominant effects of pyrolysis temperature on the materials [
54,
55]. Cetin et al. [
56] noted that fast pyrolysis often leads to considerable loss of the material’s structural complexity due to the local melting of structures and rapid phase transformation, while slow pyrolysis favors the retention of structural rigidity. In terms of thermal stability, slight variations in the thermograms exhibited a shift to lower temperatures for the slow pyrolysis processes (low heating rates), accompanied by slight differences in the estimated values of kinetic and thermodynamic parameters. A research study by Crombie et al. [
54] indicated that there was no notable impact on the concentration of stable carbon in biochar obtained from the pyrolysis of rice, pine, and wheat straw when conducted at heating rates ranging from 1 to 100 °C·min
−1. Therefore, it is recommended to conduct pyrolysis and co-pyrolysis processes for these materials (DSP, HDPE, and their blends) at significantly higher heating rates, such as 50, 100, and 150 °C·min⁻
1, as this may result in wider deviations in kinetic and thermodynamic parameters compared with the slow pyrolysis processes conducted in this study.
6. Conclusions
This study presents an analysis of the thermal decomposition of date seed powder (DSP), high-density polyethylene (HDPE), and their composites utilizing thermogravimetric analysis (TGA) data collected at degradation temperatures ranging from 25 to 600 °C and at low heating rates of 2, 5, and 10 °C·min−1. Fourier transform infrared (FTIR) spectroscopy conducted on the samples revealed that the DSP biomass is predominantly characterized by hemicellulose, cellulose, and lignin contents, while the HDPE plastic exhibited C-H stretching vibrations indicative of alkanes and various other hydrocarbons. The findings of the study indicate that the presence of hemicellulose and cellulose in the DSP biomass facilitates a synergistic interaction between the materials during co-pyrolysis, thereby diminishing the thermal stability of the HDPE plastic. Furthermore, the presence of lignin in the DSP biomass was observed to impede the degradation of the composite samples at elevated temperatures.
The application of machine learning through convolutional deep neural networks (CDNN) reliably provided learning algorithms and predictions that closely aligned with experimental measurements (), utilizing 27,456 epochs and varying learning rates between 5 and 2. This resulted in an optimized CDNN framework characterized by two hidden layers, consisting of three neurons. The modeling technique yielded a mean absolute error (MAE) of 4.96 and a mean bias error (MBE) of 0.165. Following a sensitivity analysis, degradation temperature was identified as the most significant parameter influencing the process, succeeded by sample composition, degradation, and heating rate in descending order of importance. A comparative analysis between the trained machine learning convolutional deep neural network (CDNN) model and a formulated model utilizing the multiple linear regression model (MLRM) indicates that the CDNN model provides more favorable predictions. The results suggest a significantly improved representation of the non-linear trends observed at both the initiation and termination stages of the degradation processes. A kinetic analysis of the process identified D2 and D3 diffusion models as possible solid-state reaction mechanisms. The estimated values for activation energy ranged from 40.419 to 91.080 kJ.mol−1 using the BD model-fitting method and from 96.316 to 226.286 kJ.mol−1 using the KAS model-free kinetic methods. Additionally, kinetic compensation effects indicated a rapid increase in the pre-exponential factor with the increase in activation energy, while the thermodynamic parameters estimated throughout the study indicated that the process is endothermic, non-spontaneous, and stable. This clearly suggests that the incorporation of DSP into HDPE enhances its degradation, potentially facilitating more sustainable and cost-effective pyrolysis.
The trained CDNN model in this study has the potential to provide valuable information to environmental engineers and plastic manufacturers in facilitating the optimal design of bio-based plastics (DSP/HDPE) with enhanced thermal properties. Nevertheless, it is essential to assess additional physical and chemical characteristics of the composites, such as tensile strength, durability, reactivity, chemical stability, melting point, and conductivity. This comprehensive evaluation will assist in selecting suitable material compositions that can enhance the efficacy of DSP as a biocatalyst accelerator for HDPE polymer degradation.