Treatment of Palm Oil Refinery Effluent Using Tannin as a Polymeric Coagulant: Isotherm, Kinetics, and Thermodynamics Analyses

The refining of the crude palm oil (CPO) generates the palm oil refinery effluent (PORE). The presence of high contents of biochemical oxygen demand (BOD), chemical oxygen demand (COD), turbidity, and suspended solids (SS) in PORE encourages the determination of an effective treatment process to minimize the environmental pollution and preserve aquatic life. In the present study, a biodegradable natural polymer, namely tannin, was utilized as a coagulant to treat PORE. The coagulation experiment was conducted using a jar test apparatus. The tannin coagulation efficiency was evaluated based on the BOD, COD, turbidity, and SS removal from PORE by varying the tannin dose (50–300 mg/L), pH (pH 4–10), treatment time (15–90 min), and sedimentation time (15–90 min). It was found that the maximum removal of BOD, COD, turbidity, and SS was 97.62%, 88.89%, 93.01%, and 90.21%, respectively, at pH 6, a tannin dose of 200 mg/L, 60 min of coagulation time, and 60 min of sedimentation time. Analyses of isotherm models revealed that the Freundlich isotherm model was well fitted with the coagulation study. Kinetics studies show that the pseudo-second-order kinetics model was the well-fitted kinetics model for the BOD, COD, turbidity, and SS removal from PORE using tannin as a polymeric coagulant. The determination of thermodynamics parameters analyses revealed that BOD, COD, turbidity, and SS removal from PORE was spontaneous, exothermic, and chemical in nature. The finding of the present study shows that tannin as a natural polymeric coagulant would be utilized in PORE treatment to avoid toxic sludge generation.


Introduction
Palm oil is the most used vegetable oil and agricultural product worldwide. The demand to produce palm oil is increasing, owing to its multipurpose application in both food and non-food products [1]. At present, palm oil is used as a viable feedstock to produce biodiesel due to its lower price and elevated oil yield compared with other edible oils [2]. The worldwide production of palm oil is reported to be over 70 million metric tons in 2018, and it is expected that palm oil production will shape of tannin provides higher affinity to suspended and colloidal particles, which enhance the flocculation [16].
In the coagulation process, the negatively charged organic particles agglomerate with positively charged coagulant due to the ionization and adsorption of organic particles on the surface of the coagulant. However, the correlation between the adsorbate and adsorbent is homogeneous or heterogeneous with uniform or non-uniform distribution [11]. Therefore, the determination coagulation using tannin as a coagulant for the BOD, COD, SS, and turbidity removal is important to observe a reasonable correlation between the adsorbate and coagulant during coagulation. Generally, isotherm mathematical modeling explains the adsorbate-coagulant amalgamation. In addition, the study of kinetics and thermodynamics modeling describes coagulation behavior. Thus, it bears considerable interest on the determination tannin coagulation behavior using equilibrium modeling, kinetics, and thermodynamics modeling on BOD, COD, turbidity, and SS removal from PORE. The main objective of the present study is to determine the tannin coagulation efficiency as an effective and alternative coagulant for PORE treatment. Therefore, in the present study, the influence of tannin as a polymeric coagulant was determined on the removal of BOD, COD, turbidity, and SS removal from PORE with varying tannin doses, pH, treatment time, and sedimentation time. In addition, isothermal, kinetics, and thermodynamics models were employed to evaluate the tannin coagulation behavior. The finding of the present study will be useful to determine an environmentally friendly coagulant for the PORE treatment.

Sample Collection and Preparation
Raw palm oil refinery wastewater was obtained from the palm oil refinery, Sime Darby Plantation, Carey Island, Selangor, Malaysia. Polyethene containers were used to collect the PORE. Subsequently, the collected PORE was cooled at ambient temperature before being stored at 4 • C. The tannin used as a coagulant in the present study was supplied by Qwatso Chemical Sdn Bhd, Sabah, Malaysia. Based on the company information, it is a chemical modified cationic polymer of tannin extract obtained from the Black wattle (Acacia mearnsii). The cationic tannin extract was obtained in a dark brown color powder form.

Physicochemical Analyses of PORE
The physical properties of PORE, including pH and temperature in treated and untreated PORE, were determined using a pH meter equipped with a temperature sensor (Mettler Toledo F20). Dilute sulfuric acid (1M) and sodium hydroxide (1M) solutions were utilized to adjust the desired pH of the solutions. The BOD concentration in untreated and treated PORE was determined by using the HACH respirometric method (HACH method 10099). Ten mL of untreated or treated PORE were taken into the BOD track sample bottle and filled with deionized water. Subsequently, a BOD nutrient buffer pillow and lithium hydroxide powder pillow were taken into the BOD reagent bottle and stirred before incubating into a BOD track incubator at 20 • C for five days. The determination of BOD, COD, turbidity, and SS concentration in treated and untreated PORE were conducted by following the standard methods for water and wastewater analyses [17]. The COD concentration in untreated and treated PORE was conducted with the reactor digestion method (HACH method, 8000) by using a HACH DR 2800 spectrometer. Two mL of homogenized PORE and 2 mL of deionized water were taken into high range (HR) COD digestion vials (range 20 to 1500 mg/L) for a sample and blank test, respectively. Then, the COD digestion vials were taken into the COD reactor and heated at 150 • C for 2 h. Later, the COD digestion vials were cooled to 120 • C, and the COD (mg/L) was measured using a DRB 200 reactor. The SS concentration in untreated and treated PORE was evaluated by employing the photometric method (HACH method 8006). A sample cell containing 10 mL of blended untreated and treated PORE was taken in the sample cell holder, and the SS concentration in untreated and Polymers 2020, 12, 2353 4 of 20 treated PORE was determined using a spectrophotometer (HACH DR 2800). The turbidity analyses in untreated and treated PORE were determined using a Hach 2100Q Portable Turbidimeter. Five mL of PORE was placed in a clean container and filled with deionized water to 15 mL, and the sample was replaced into the cell. A thin film of silicone oil was added and then wiped with a soft cloth. Then, the sample cell was taken into the cell compartment, and the lid was closed to analyses.

Coagulations Experiments Procedure
The tannin coagulation efficiency for BOD, COD, turbidity, and SS removal from PORE was determined using a jar test apparatus with tannin as a natural coagulant. The jar test apparatus utilized for the coagulation experiments consists of six beakers with six paddle rotors to stir. The experiment was carried out by taking 500 mL of untreated PORE at ambient temperature (28 ± 1 • C) with varying pH (4, 5, 6, 7, 8, 9, and 10), tannin doses (50, 100, 150, 200, 250, and 300 mg/L), a rapid mixing time of 3 min at 250 rpm, coagulation times (slow mixing) (15,30,45,60,75, and 90 min) at 30 rpm to allow flocculation and sedimentation time (15,30,45,60,75, and 90 min). The residual COD, BOD, turbidity, and SS concentrations in the treated PORE were evaluated using the following equation: where C i is the BOD, COD, turbidity, and SS concentrations in untreated PORE and C t is the BOD, COD, turbidity, and SS concentrations in treated PORE at time t. The experiments were carried out in triplicate, and the data were represented as the mean value ± standard deviation from the triplicate experiment runs. The schematic diagram for the tannin coagulation experimental procedure is shown in Figure 1.
Polymers 2020, 12, x 4 of 22 was replaced into the cell. A thin film of silicone oil was added and then wiped with a soft cloth. Then, the sample cell was taken into the cell compartment, and the lid was closed to analyses.

Coagulations Experiments Procedure
The tannin coagulation efficiency for BOD, COD, turbidity, and SS removal from PORE was determined using a jar test apparatus with tannin as a natural coagulant. The jar test apparatus utilized for the coagulation experiments consists of six beakers with six paddle rotors to stir. The experiment was carried out by taking 500 mL of untreated PORE at ambient temperature (28 ± 1 °C) with varying pH (4, 5, 6, 7, 8, 9, and 10), tannin doses (50, 100, 150, 200, 250, and 300 mg/L), a rapid mixing time of 3 min at 250 rpm, coagulation times (slow mixing) (15,30,45,60,75, and 90 min) at 30 rpm to allow flocculation and sedimentation time (15,30,45,60,75, and 90 min). The residual COD, BOD, turbidity, and SS concentrations in the treated PORE were evaluated using the following equation: where Ci is the BOD, COD, turbidity, and SS concentrations in untreated PORE and Ct is the BOD, COD, turbidity, and SS concentrations in treated PORE at time t. The experiments were carried out in triplicate, and the data were represented as the mean value ± standard deviation from the triplicate experiment runs. The schematic diagram for the tannin coagulation experimental procedure is shown in Figure 1.

Coagulation Isotherm Modeling
The coagulation adsorbent-adsorbate amalgamation was determined using Freundlich and Langmuir isotherms model equations for BOD, COD, turbidity, and SS removal from PORE using tannin as a polymeric coagulant. The experiments were carried out with changing doses from 50 to 300 mg/L at pH 6.0, 3 min rapid mixing time, 60 min slow mixing time, and 60 min sedimentation time. The suitability of the applied isotherm model equations was determined by the use of linear regression method with relating the coefficient of determination (R 2 ) to the experimental data. The coagulation at equilibrium (qe) for the removal of BOD, COD, turbidity, and SS from PORE using tannin as a coagulant was computed using Equation (2):

Coagulation Isotherm Modeling
The coagulation adsorbent-adsorbate amalgamation was determined using Freundlich and Langmuir isotherms model equations for BOD, COD, turbidity, and SS removal from PORE using tannin as a polymeric coagulant. The experiments were carried out with changing doses from 50 to 300 mg/L at pH 6.0, 3 min rapid mixing time, 60 min slow mixing time, and 60 min sedimentation time. The suitability of the applied isotherm model equations was determined by the use of linear regression method with relating the coefficient of determination (R 2 ) to the experimental data. The coagulation at equilibrium (q e ) for the removal of BOD, COD, turbidity, and SS from PORE using tannin as a coagulant was computed using Equation (2): where q e denotes the coagulation at equilibrium (mg/mg); V refers to the volume (mL) of PORE, and D refers to the doses of tannin as (mg). The liner form of the Freundlich isotherm model equation can be expressed as presented in Equation (3): where K f refers to the Freundlich affinity coefficient (L/mg), and n is the Freundlich exponential constant. The linear form of the Langmuir isotherm model equation can be expressed as below: where a indicates the Langmuir constant and b indicates the highest coagulation value of tannin for BOD, COD, turbidity, and SS removal from PORE.

Kinetics Modeling
The prime importance of the coagulation kinetics is to elucidate the physical and chemical behavior of adsorbent (physisorption or chemisorption) as well as to determine the adsorbate uptake rate by adsorbent [18]. In the present study, pseudo-first-order and pseudo-second-order kinetic model equations were employed to evaluate the kinetics behavior for BOD, COD, turbidity, and SS removal from PORE using tannin as a polymeric coagulant. Wherein, the coagulation experiments were carried out with varying coagulation temperature from 30 to 80 • C as a function of slow mixing time from 5 to 90 min with a constant pH of 6.0, a constant rapid mixing time of 3 min, and a sedimentation time of 60 min. The pseudo-first-order kinetic model equation can be written as below [13]: where q e represents the BOD, COD, turbidity, and SS (mg/mg) removal from PORE at equilibrium; and q t signifies the BOD, COD, turbidity, and SS (mg/mg) removal from PORE at time t (min). k 1 signifies the pseudo-first-order coagulation rate constant (min −1 ). The pseudo-second-order equation can be expressed as presented in Equation (6): where k 2 refers to the pseudo-second-order coagulation rate constant (mg/mg/min).

Thermodynamics Analysis
The thermodynamics parameters, for instance, Gibbs free energy (∆G 0 ), enthalpy changes (∆H 0 ), and entropy change (∆S 0 ), were analyzed to determine the thermodynamics behavior of the tannin coagulation for BOD, COD, turbidity, and SS removal from PORE. The coagulation experiments were carried out with varying coagulation temperatures (30,40,50, and 80 • C) at pH 6.0, a rapid mixing time of 3 min, a slow mixing time from 5 to 90 min, and a 60 min sedimentation time. The thermodynamics properties were analyzed by using the following equations: Polymers 2020, 12, 2353 6 of 20 where R indicates the universal gas constant (8.314 × 10 −3 kJ mol −1 K −1 ), T is the Kelvin temperature, and K o is the Gibbs constant. The K o values were calculated from the ratio of q e to C e . ∆H 0 and ∆S 0 were calculated from the slope and intercept from the linear plot of lnK o versus 1/T, respectively.

Physicochemical Characterization of PORE
The physicochemical properties of untreated PORE were determined, as shown in Table 1. It was observed that pH (5.86 ± 0.22) and temperature (28 ± 2 • C) in untreated PORE were within the industrial effluents discharge limits set by DoE, Malaysia (Table 1). However, the BOD (518 ± 5 mg/L), COD (1350 ± 25 mg/L), turbidity (465 ± 8 mg/L), and SS (1430 mg/L) concentrations were higher than the industrial effluents discharge limits set by DoE, Malaysia, under the 5th regulations for industrial effluent disposal [7]. The higher BOD, COD, turbidity, and SS concentrations in untreated PORE reveal that the PORE must be treated to minimize the residual pollutant below discharge limits. This is because the untreated or partially treated PORE discharge in a watercourse may pose detrimental effects to the environment and aquatic life. In addition, the treatment methods chosen for PORE treatment must be effective and ecofriendly without generating secondary waste such as hazardous sludge. Similarly, Hassan et al. [19] determined that the BOD and COD concentration in untreated PORE were 2600 and 3000 mg/L, respectively. The variation of the pollutant concentration in PORE might due to the utilization of the refining process applied. The PORE collected in the present study was from the Sime Darby palm oil refinery, wherein it is utilized as a chemical refining process to produce fresh palm oil from CPO. In addition, the efficient monitoring on utilizing chemicals in the palm oil production and refining process by the Research and Development (R&D), Sime Darby Research Sdn Bhd toward the palm oil sustainability would affect the lower pollutant concentration in the PORE.

Treatment of PORE Using Tannin as a Coagulant
pH potentially influenced the coagulation efficiency from the industrial effluents [10]. The influences of pH on BOD, COD, turbidity, and SS removal from PORE using tannin as a polymeric coagulant were evaluated, as present in Figure 2. It was observed that BOD, COD, and SS removal increased with increasing pH from pH 4.0 to 6.0; then, it decreased gradually until pH 7.0, and thereafter, the decrease of BOD, COD, turbidity, and SS removal from PORE was negligible with the further increase of pH from pH 7.0 to 10.0. In the case of turbidity, the BOD, COD, turbidity, and SS removal percentage from PORE was increased with increasing pH up to pH 6.0 and gradually decreased with further increasing the pH. The maximum BOD, COD, turbidity, and SS removal from PORE obtained were 97.62%, 94.67%, 93.01%, and 90.22% respectively, at pH 6.0. The possible Polymers 2020, 12, 2353 7 of 20 mechanisms of tannin coagulation of PORE could be attributed to the interaction between the coagulant and adsorbate particles. At lower pH, some of the suspended organic particles, particularly the organic acids present in the PORE, might not interact with the coagulant particles and therefore lower the BOD, COD, turbidity, and SS removal. However, the increase of pH in the aqueous solution increases the cationic charge on the surface of the tannin, which substantially increased the affinity of tannin to bind suspended organic particles and hence increased coagulation efficiency [20]. At over pH 6.0, the decrease of the tannin coagulation efficiency with enhanced pH might be due to the competition between OH − and organic particles to attach with tannin. At higher alkaline regions, more OH − attached with tannin, which turns to the catatonic tannin less positive charge and diminishes the attraction to the anionic organic particles present in the PORE, and therefore, it decreased the removal efficiency of BOD, COD, turbidity, and SS from PORE [17]. Dela Justina et al. [21] observed that the tannin coagulation efficiency for the removal of color, turbidity, and total solids from dairy wastewater was influenced by pH and reached a maximum pH over 5.0. Graham et al. [22] reported on the decrease of the tannin coagulation efficiency due to the losses of cationic charge and aqueous solubility with pH. Tannin has a strong aqueous solubility below pH. Over the pH, the solubility of tannin decreases with increasing pH, which may diminish the binding of the suspended and organic particles and therefore decrease the removal of BOD, COD, turbidity, and SS removal from PORE [22,23].
Polymers 2020, 12, x 7 of 22 removal percentage from PORE was increased with increasing pH up to pH 6.0 and gradually decreased with further increasing the pH. The maximum BOD, COD, turbidity, and SS removal from PORE obtained were 97.62%, 94.67%, 93.01%, and 90.22% respectively, at pH 6.0. The possible mechanisms of tannin coagulation of PORE could be attributed to the interaction between the coagulant and adsorbate particles. At lower pH, some of the suspended organic particles, particularly the organic acids present in the PORE, might not interact with the coagulant particles and therefore lower the BOD, COD, turbidity, and SS removal. However, the increase of pH in the aqueous solution increases the cationic charge on the surface of the tannin, which substantially increased the affinity of tannin to bind suspended organic particles and hence increased coagulation efficiency [20]. At over pH 6.0, the decrease of the tannin coagulation efficiency with enhanced pH might be due to the competition between OH − and organic particles to attach with tannin. At higher alkaline regions, more OH − attached with tannin, which turns to the catatonic tannin less positive charge and diminishes the attraction to the anionic organic particles present in the PORE, and therefore, it decreased the removal efficiency of BOD, COD, turbidity, and SS from PORE [17]. Dela Justina et al. [21] observed that the tannin coagulation efficiency for the removal of color, turbidity, and total solids from dairy wastewater was influenced by pH and reached a maximum pH over 5.0. Graham et al. [22] reported on the decrease of the tannin coagulation efficiency due to the losses of cationic charge and aqueous solubility with pH. Tannin has a strong aqueous solubility below pH. Over the pH, the solubility of tannin decreases with increasing pH, which may diminish the binding of the suspended and organic particles and therefore decrease the removal of BOD, COD, turbidity, and SS removal from PORE [22,23]. pH influences the prominence of the most chemical reactions in the aquatic environment [17]. When the pH values are higher and lower than neutral pH in treated effluent, it will affect the receiving water quality and its aquatic life. In the present study, the highest BOD, COD, turbidity, and SS removal was gained at pH 6.0, which is closed to the neutral pH value and within the permissible pH value range set by DoE, Malaysia. Thus, the treated PORE could be discharged into surface water without interfering with the surface water quality and aquatic life. In addition, the pH value of the raw PORE is 5.86 ± 0.22, which is close to the optimal pH, 6.0, for the maximum removal of BOD, COD, TSS, and turbidity from PORE. Thus, the treatment PORE using tannin as a natural coagulant would not require any pH adjustment, which substantially minimizes the PORE treatment cost. pH influences the prominence of the most chemical reactions in the aquatic environment [17]. When the pH values are higher and lower than neutral pH in treated effluent, it will affect the receiving water quality and its aquatic life. In the present study, the highest BOD, COD, turbidity, and SS removal was gained at pH 6.0, which is closed to the neutral pH value and within the permissible pH value range set by DoE, Malaysia. Thus, the treated PORE could be discharged into surface water without interfering with the surface water quality and aquatic life. In addition, the pH value of the raw PORE is 5.86 ± 0.22, which is close to the optimal pH, 6.0, for the maximum removal of BOD, COD, TSS, and turbidity from PORE. Thus, the treatment PORE using tannin as a natural coagulant would not require any pH adjustment, which substantially minimizes the PORE treatment cost.
The influence of tannin doses on BOD, COD, turbidity, and SS removal from PORE was determined with varying tannin doses from 50 to 300 mg/L, as presented in Figure 3. It was observed that the tannin doses potentially influence the coagulation efficiency of PORE. The minimal BOD, COD, turbidity, BOD, COD, turbidity, and SS removal increased with increasing tannin doses due to the increase of cationic charged in the PORE to attract negative charge organic particles for floc formation [12]. Ahead of the optimal coagulant doses (over 200 mg/L), BOD, COD, turbidity, and SS removal decreased due to the reversal charge that took place on the surface of the tannin with the surplus amount of tannin doses [11,19]. Due to the reversible charge on tannin with the excessive amount of tannin doses, it has minimized the affinity of hydrogen bonding with the suspended organic particles, and hence, it decreases the removal of BOD, COD, turbidity, and SS [11,22]. Similarly, Hossain et al. [11] observed that the coagulation efficiency on the removal of BOD, COD, and SS increased with increasing coagulant doses up to 1g/L and decreased with further increasing coagulation doses. Lopes et al. [16] utilized a tannin-based bio-coagulant for the decolorization of synthetic effluent and found the complete decolorization with 180 mg/L tannin doses. Beltrán-Heredia and Sánchez-Martín [20] studied the removal of turbidity from municipal wastewater using tannin as a bio-coagulant. The study reported that the tannin doses potentially influenced the turbidity removal efficiency and obtained complete turbidity removal at 100 mg/L tannin doses. In the present study, the removal of BOD, COD, turbidity, and SS were obtained about 98%, 89%, 93%, and 90%, respectively with 200 mg/L tannin doses. The variation of results obtained in the present study might occur due to the different types of wastewater and a higher concentration of suspended organic particles.
BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant was determined with varying treatment time from 15 to 90 min, as shown in Figure 4. It was found that the treatment time expressively influences tannin coagulation efficiency for BOD, COD, turbidity, and SS removal from PORE. The BOD, COD, turbidity, and SS removal from PORE increased with increasing treatment time from 15 to 60 min; thereafter, the BOD, COD, turbidity, and SS removal was negligible. At 15 min treatment time, the BOD, COD, turbidity, and SS removal were 59.60%, 57.78%, 30.93%, and 33.57%, respectively. However, BOD, COD, turbidity, and SS removal enhanced to 97.66%, BOD, COD, turbidity, and SS removal increased with increasing tannin doses due to the increase of cationic charged in the PORE to attract negative charge organic particles for floc formation [12]. Ahead of the optimal coagulant doses (over 200 mg/L), BOD, COD, turbidity, and SS removal decreased due to the reversal charge that took place on the surface of the tannin with the surplus amount of tannin doses [11,19]. Due to the reversible charge on tannin with the excessive amount of tannin doses, it has minimized the affinity of hydrogen bonding with the suspended organic particles, and hence, it decreases the removal of BOD, COD, turbidity, and SS [11,22]. Similarly, Hossain et al. [11] observed that the coagulation efficiency on the removal of BOD, COD, and SS increased with increasing coagulant doses up to 1 g/L and decreased with further increasing coagulation doses. Lopes et al. [16] utilized a tannin-based bio-coagulant for the decolorization of synthetic effluent and found the complete decolorization with 180 mg/L tannin doses. Beltrán-Heredia and Sánchez-Martín [20] studied the removal of turbidity from municipal wastewater using tannin as a bio-coagulant. The study reported that the tannin doses potentially influenced the turbidity removal efficiency and obtained complete turbidity removal at 100 mg/L tannin doses. In the present study, the removal of BOD, COD, turbidity, and SS were obtained about 98%, 89%, 93%, and 90%, respectively with 200 mg/L tannin doses. The variation of results obtained in the present study might occur due to the different types of wastewater and a higher concentration of suspended organic particles.
BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant was determined with varying treatment time from 15 to 90 min, as shown in Figure 4. It was found that the treatment time expressively influences tannin coagulation efficiency for BOD, COD, turbidity, and SS removal from PORE. The BOD, COD, turbidity, and SS removal from PORE increased with increasing treatment time from 15 to 60 min; thereafter, the BOD, COD, turbidity, and SS removal was negligible. At 15 min treatment time, the BOD, COD, turbidity, and SS removal were 59.60%, 57.78%, 30.93%, and 33.57%, respectively. However, BOD, COD, turbidity, and SS removal enhanced to 97.66%, 88.89%, 90.21%, and 93.01%, respectively, at 60 min treatment time. The treatment time is important for a coagulation Polymers 2020, 12, 2353 9 of 20 process to form between the coagulant and organic particles present in the wastewater. Inefficient floc formation during PORE treatment may cause collisions between the tannin particles and suspended organic particles present in PORE. After rapid mixing, the organic particles present in the PORE require time and slow mixing to induce with tannin particles for increasingly forming larger agglomerates to settle down [16,24]. The minimal BOD, COD, turbidity, and SS removal obtained at 15 min treatment time might be due to the low collisions between suspended organic particles and tannin particles. With increasing slow mixing time, the collisions between suspended organic particles and tannin particles were also increased, and therefore, they increased the BOD, COD, turbidity, and SS removal from PORE. However, the increase of BOD, COD, turbidity, and SS removal from PORE was gained over 60 min treatment time due to the saturation of the surface of tannin organic particles. The weak collision between saturated tannin particles and suspended organic particles diminish the BOD, COD, turbidity, and SS removal efficiency from PORE. A similar observation has reported by several studies for the removal of suspended organic particles from various wastewater using natural coagulants [16,24,25].
Polymers 2020, 12, x 9 of 22 88.89%, 90.21%, and 93.01%, respectively, at 60 min treatment time. The treatment time is important for a coagulation process to form between the coagulant and organic particles present in the wastewater. Inefficient floc formation during PORE treatment may cause collisions between the tannin particles and suspended organic particles present in PORE. After rapid mixing, the organic particles present in the PORE require time and slow mixing to induce with tannin particles for increasingly forming larger agglomerates to settle down [16,24]. The minimal BOD, COD, turbidity, and SS removal obtained at 15 min treatment time might be due to the low collisions between suspended organic particles and tannin particles. With increasing slow mixing time, the collisions between suspended organic particles and tannin particles were also increased, and therefore, they increased the BOD, COD, turbidity, and SS removal from PORE. However, the increase of BOD, COD, turbidity, and SS removal from PORE was gained over 60 min treatment time due to the saturation of the surface of tannin organic particles. The weak collision between saturated tannin particles and suspended organic particles diminish the BOD, COD, turbidity, and SS removal efficiency from PORE. A similar observation has reported by several studies for the removal of suspended organic particles from various wastewater using natural coagulants [16,24,25]. Sedimentation time potentially influences the coagulation efficiency for the removal of suspended and colloidal organic particles from industrial effluents [11,24]. Sedimentation time is crucial in the coagulation and flocculation process for the agglomeration and floc formation of the suspended organic particles with the coagulant particles to settle down. The effect of the sedimentation time for BOD, COD, turbidity, and SS removal from PORE using tannin as a polymeric coagulant was determined, as presented in Figure 5. It was found that BOD, COD, turbidity, and SS removal enhanced with sedimentation time and reached the stationary phase over 60 min sedimentation time. Zahrim et al. [26] reported that the coagulation is a necessary process, which aggregates colloidal and suspended organic particles to larger flocs with the surface neutralization of coagulant particles. However, the degree of agglomeration depends on the sedimentation time. To effectively agglomerate the suspended organic particles present in PORE, it requires a certain duration of sedimentation time to form floc by entrapping the suspended organic particles with tannin and settling down the floc into the bottom of the aqueous phase [27]. Based on the findings of the present study, it can be postulated that the sufficient sedimentation time is over 60 min for BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant. Sedimentation time potentially influences the coagulation efficiency for the removal of suspended and colloidal organic particles from industrial effluents [11,24]. Sedimentation time is crucial in the coagulation and flocculation process for the agglomeration and floc formation of the suspended organic particles with the coagulant particles to settle down. The effect of the sedimentation time for BOD, COD, turbidity, and SS removal from PORE using tannin as a polymeric coagulant was determined, as presented in Figure 5. It was found that BOD, COD, turbidity, and SS removal enhanced with sedimentation time and reached the stationary phase over 60 min sedimentation time. Zahrim et al. [26] reported that the coagulation is a necessary process, which aggregates colloidal and suspended organic particles to larger flocs with the surface neutralization of coagulant particles. However, the degree of agglomeration depends on the sedimentation time. To effectively agglomerate the suspended organic particles present in PORE, it requires a certain duration of sedimentation time to form floc by entrapping the suspended organic particles with tannin and settling down the floc into the bottom of the aqueous phase [27]. Based on the findings of the present study, it can be postulated that the sufficient sedimentation time is over 60 min for BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant.  Table 2 shows the residual BOD, COD, SS, and turbidity concentration in treated PORE using tannin as a coagulant at the optimal experimental condition of pH.6.0, tannin doses of 200 mg/L, coagulation time of 60 min, and sedimentation time of 60 min. It was found that the BOD (12 ± 5 mg/L) and COD (150 ± 5 mg/L) concentrations are below the recommended standard B discharge limits set by DoE, Malaysia (Table 1). However, the SS concentration (140 ± 5 mg/L) is still higher than the industrial effluents discharge limits (50-100 mg/L). There are no discharge limits for the turbidity in industrial effluents that have been set by DoE, Malaysia. Dela Justina et al. [21] observed that tannin has the comparative coagulation efficiency of polyaluminum chloride for the removal of color, turbidity, and total solids from dairy wastewater. The findings of the present study reveal that tannin has the potential to be an alternative to commercial inorganic coagulant for treating PORE. However, it requires further study to minimize the residual SS concentration below the recommended discharge limits to discharge treated PORE to a watercourse safely.

Isotherm Modeling for PORE Treatment Using Tannin as a Polymeric Coagulant
The isotherm modeling studies express the dependency of the colloidal and suspended organic particles with coagulant during the coagulation process. In addition, the coagulation isotherm modeling equations are effective in explaining coagulation behavior. Among these isothermal models, the Freundlich and Langmuir isothermal models are the most utilized isotherm model models to determine the nature of the coagulation process [13,24,26]. In the present study, Langmuir and Freundlich isotherm models were utilized to express the coagulation behavior of tannins on BOD, COD turbidity, and SS removal from PORE, as shown in Figure 6.  Table 2 shows the residual BOD, COD, SS, and turbidity concentration in treated PORE using tannin as a coagulant at the optimal experimental condition of pH.6.0, tannin doses of 200 mg/L, coagulation time of 60 min, and sedimentation time of 60 min. It was found that the BOD (12 ± 5 mg/L) and COD (150 ± 5 mg/L) concentrations are below the recommended standard B discharge limits set by DoE, Malaysia (Table 1). However, the SS concentration (140 ± 5 mg/L) is still higher than the industrial effluents discharge limits (50-100 mg/L). There are no discharge limits for the turbidity in industrial effluents that have been set by DoE, Malaysia. Dela Justina et al. [21] observed that tannin has the comparative coagulation efficiency of polyaluminum chloride for the removal of color, turbidity, and total solids from dairy wastewater. The findings of the present study reveal that tannin has the potential to be an alternative to commercial inorganic coagulant for treating PORE. However, it requires further study to minimize the residual SS concentration below the recommended discharge limits to discharge treated PORE to a watercourse safely.

Isotherm Modeling for PORE Treatment Using Tannin as a Polymeric Coagulant
The isotherm modeling studies express the dependency of the colloidal and suspended organic particles with coagulant during the coagulation process. In addition, the coagulation isotherm modeling equations are effective in explaining coagulation behavior. Among these isothermal models, the Freundlich and Langmuir isothermal models are the most utilized isotherm model models to determine the nature of the coagulation process [13,24,26]. In the present study, Langmuir and Freundlich isotherm models were utilized to express the coagulation behavior of tannins on BOD, COD turbidity, and SS removal from PORE, as shown in Figure 6. The Langmuir isotherm model expresses that the coagulation adsorption process occurs in a homogeneous distribution and monolayer formation [17,27]. The Langmuir isotherms for BOD, COD, turbidity, and SS removal from PORE using tannin as a natural polymeric coagulant are presented in Figure 6a. The Langmuir constant values (a, L/mg) and the maximum coagulation (b, mg/mg) values were calculated from Equation (4) using the slop and intercept data obtained from The Langmuir isotherm model expresses that the coagulation adsorption process occurs in a homogeneous distribution and monolayer formation [17,27]. The Langmuir isotherms for BOD, COD, turbidity, and SS removal from PORE using tannin as a natural polymeric coagulant are presented in Figure 6a. The Langmuir constant values (a, L/mg) and the maximum coagulation (b, mg/mg) values were calculated from Equation (4) using the slop and intercept data obtained from Figure 5. It was found that the calculated Langmuir constant (a) values were 0.0624, 0.0016, 0.0295, and 0.0035 L/mg for BOD, COD, turbidity, and SS removal from PORE, respectively. Wherein, the maximum adsorption (b) values were calculated to be 4.7778, 18.1160, 3.9825, and 18.7612 mg/mg for BOD, COD, turbidity, and SS removal from POR, respectively. However, the calculated a (L/mg) and b (mg/mg) values were positive, suggesting that the BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant is possible.
The Freundlich isotherm model expresses that the coagulation adsorption ensues on the surface of coagulant particles in a heterogeneous distribution with non-uniform distribution and multilayer formation [16,28]. However, the Freundlich isotherm model describes that the adsorption process is reversible, and therefore, it does not restrict to the monolayer formation [11,28]. Figure 6b shows the Freundlich isotherms for BOD, COD, turbidity, and SS removal from PORE using tannin as a polymeric coagulant. The Freundlich affinity constant (K f ) values were determined to be 0.7705, 0.0027, 0.5937, and 0.4181 L/mg for the BOD, COD, turbidity, and SS removal from PORE, respectively. In addition, the Freundlich exponential constant (n) values were determined to be 2.6882, 0.6515, 2.9762, and 1.8352 for BOD, COD, turbidity, and SS removal from PORE; those are within the range of 1 to 10. Thus, it can be postulated that the BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant is doable [28]. Table 3 shows the coefficient of determination (R 2 ) values for Langmuir and Freundlich isotherms on BOD, COD, turbidity, and SS removal from PORE, subjected to tannin as a coagulant. The R 2 values of the Langmuir isotherm model were 0.9371, 0.8584, 0.8768, and 0.8458 for BOD, COD, turbidity, and SS removal, respectively. Wherein, the R 2 values of the Freundlich isotherm model were found to be 0.9486, 0.9375, 0.9212, and 0.9193 for BOD, COD, turbidity, and SS removal from PORE, respectively. It was observed that R 2 values for Langmuir and Freundlich isotherm models were higher than 0.80, suggesting that both Freundlich and Langmuir isotherm models were fit with the experimental data to designate the coagulation behavior for BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant. However, the greater R 2 values (>0.91) of the Freundlich isotherm model imply the better fit with experimental data for BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant. This indicates that the BOD, COD, turbidity, and SS removal from PORE were conducted on the heterogeneous surface of tannin particles with multilayer formation and non-uniform distribution. In addition, the tannin coagulation process for the removal of BOD, COD, turbidity, and SS from PORE is reversible, and therefore, the tannin coagulation process does restrict to the monolayer formation. Similarly, Badawi et al. [29] reported that the Freundlich isotherm model was well fitted with experimental data for the removal of aluminum and lead from wastewater using modified chitosan-tannin acid as an adsorbent. Alijerf [30] reported that the Freundlich isotherm model was the best-fitted model equation to describe the adsorption behavior for the elimination of heavy metals from tannery industrial effluent using modified zeolite as an adsorbent.

Kinetic Study
The determination of the coagulation kinetics is important to predict the coagulation behavior of the colloidal and suspended organic particles present in the industrial effluent. Generally, the coagulation mechanisms for the elimination of the colloidal and suspended organic particles depend on the chemical characteristics of coagulant and mass transfer phenomena [13,31]. The coagulation kinetics describes the removal efficiency of the colloidal and suspended organic particles on the surface of the coagulant at each equilibrium contact time. To determine the tannin coagulation mechanisms for BOD, COD, turbidity, and SS removal PORE, the pseudo-first-order (a) and pseudo-second-order (b) kinetic models were utilized in the present study, as shown in Figures 7-10, respectively. The uptake rate for BOD, COD, turbidity, and SS removal was evaluated by fitting the experimental data with the pseudo-first-order kinetic model and pseudo-second-order kinetic model equations. Wherein, the values of the first-order rate constant (k 1 ) and q e (mg/mg) were calculated using data obtained from the slope and intercept of the plot ln (q e -q t ) against t (min). The pseudo-second-order rate constant (k 2 ) and q e (mg/mg) were calculated using the data obtained from the intercept 1/k 2 q e 2 and the slope 1/q e of the plot t/qt against t (min).    The kinetics parameters such as q e (experimental and calculated), R 2 , k 1 , and k 2 values were determined from Figures 8-11 for BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant, and they are presented in Table 4. It was found that q e (experimental) values slightly reduced with the elevated temperature from 30 to 60 • C. The decrease of q e values with the elevated temperature might be attributed to the swelling effect of the chemically modified tannin particles and increase in the kinetics movement of adsorbate with increasing temperature, which allows the adsorbate to escape from the surface of tannin particles; hence, the adsorption efficiency slightly decreased. In addition, the pseudo-first-order rate constant (k 1 ) was found to decrease with increasing temperature from 30 to 60 • C, and it increases with further increasing temperature from 40 to 60 • C for the removal of BOD from PORE using tannin as a coagulant. The decrease of the coagulation rate with increasing temperature attributes to the exothermic nature of the natural polymer. With the further increase of the temperature, the viscosity of the PORE decreases, which enhances the collision between the adsorbate and modified tannin particles and therefore increases the kinetics rate for the BOD removal. However, the influence of temperature on the pseudo-first-order rate constant (k 1 ) was found to be inconsistent for the removal of COD, turbidity, and SS. In the case of the pseudo-second-order rate constant (k 2 ), the k 2 values decreased with increasing temperature from 30 to 50 • C and increased with further increasing temperature for BOD, COD, and turbidity removal from PORE. Wherein, the k 2 values decreased with increasing temperature from 30 to 60 • C for the removal of SS from PORE using tannin as a coagulant.    The kinetics parameters such as qe (experimental and calculated), R 2 , k1, and k2 values were determined from Figures 8-11 for BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant, and they are presented in Table 4. It was found that qe (experimental) values slightly reduced with the elevated temperature from 30 to 60 °C. The decrease of qe values with the elevated temperature might be attributed to the swelling effect of the chemically modified tannin particles and increase in the kinetics movement of adsorbate with increasing temperature, which allows the adsorbate to escape from the surface of tannin particles; hence, the adsorption efficiency slightly decreased. In addition, the pseudo-first-order rate constant (k1) was found to decrease with increasing temperature from 30 to 60 °C, and it increases with further increasing temperature from 40 to 60 °C for the removal of BOD from PORE using tannin as a coagulant. The decrease of the coagulation rate with increasing temperature attributes to the exothermic nature of the natural polymer. With the further increase of the temperature, the viscosity of the PORE decreases, which enhances the collision between the adsorbate and modified tannin particles and therefore increases the kinetics rate for the BOD removal. However, the influence of temperature on the pseudo-first-order rate constant (k1) was found to be inconsistent for the removal of COD, turbidity, and SS. In the case of the pseudo-secondorder rate constant (k2), the k2 values decreased with increasing temperature from 30 to 50 °C and increased with further increasing temperature for BOD, COD, and turbidity removal from PORE.  Table 5 shows the ∆G 0 , ∆H 0 , and ∆S 0 values for BOD, COD, turbidity, and SS removal from PORE by using tannin as a coagulant. It was found that the ∆G 0 values were negative for BOD, COD, turbidity, and SS removal from PORE. This reveals that the coagulation process was spontaneous and favorable. The spontaneity of the tannin coagulation process for BOD, COD, turbidity, and SS removal from PORE can be further illuminated with the decrease of the Gibbs free energy values with In the present study, the best-fitted kinetics model was determined based on the R 2 values and the difference between actual q e values and theoretical q e values. As can be seen in Table 3, the R 2 values for the pseudo-second-order kinetic model were closer to unity than the pseudo-first-order kinetic model. Moreover, it was found that the actual q e values are more closely matched with the calculated q e values from the pseudo-second-order kinetic model than those from the pseudo-first-order kinetic model. Thus, it can be concluded that the pseudo-second-order kinetic model is the best-fitted kinetics model to elucidate the coagulation mechanisms for BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant. Similarly, Badawi et al. [29] reported that the pseudo-second-order kinetics model was best fitted with experimental data for the removal of aluminum and lead from wastewater using modified chitosan-tannin acid as a coagulant.

Adsorption Thermodynamics
The thermodynamic behavior for BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant was determined with varying temperature from 30 to 60 • C. The thermodynamics parameters such as Gibbs free energy changes (∆G 0 ), enthalpy changes (∆H 0 ), and entropy changes (∆S 0 ) were determined from the Van't Hoff plot, as given in Figure 11. Table 5 shows the ∆G 0 , ∆H 0 , and ∆S 0 values for BOD, COD, turbidity, and SS removal from PORE by using tannin as a coagulant. It was found that the ∆G 0 values were negative for BOD, COD, turbidity, and SS removal from PORE. This reveals that the coagulation process was spontaneous and favorable. The spontaneity of the tannin coagulation process for BOD, COD, turbidity, and SS removal from PORE can be further illuminated with the decrease of the Gibbs free energy values with increasing temperature. It found that the ∆G 0 decreased with increasing temperature from 30 to 80 • C, which indicates that the external energy source influences the tannin coagulation efficiency. The obtained ∆H 0 values were determined to be −39.267, −18.690, −15.838, and −38.003 kJ/mol for BOD, COD, turbidity, and SS removal from PORE, respectively. These negative ∆H 0 values reveal that the tannin coagulation process for BOD, COD, turbidity, and SS removal from PORE was exothermic. The positive values of ∆S 0 indicate an increase of the entropy of the solid and liquid interface with the increase of the temperature. However, the negative ∆H 0 value (∆H 0 < 1) and the positive ∆S 0 value (∆S 0 > 1) reveal that the BOD, COD, turbidity, and SS removal from PORE using tannin as a coagulant was spontaneous at all studied temperatures. Table 5. Thermodynamics parameters for the removal of COD, BOD, turbidity, and SS from PORE using tannin as a polymeric coagulant.

T (K)
∆G 0 (kJ/mol) ∆H 0 (kJ/mol) ∆S 0 (kJ/mol) Generally, coagulation adsorption is a physical process, and the adsorption process is the exothermic reaction when used natural fiber as an adsorbent. However, the presence of various reactive functional groups (i.e., -COOH, -OH, NH 2 + ) on the surface of the adsorbent might involve