Separation Process of Biodiesel-Product Mixture from Crude Glycerol and Other Contaminants Using Electrically Driven Separation Technique with AC High Voltage

: Electrically driven separation (EDS) technology with a high voltage (HV) alternating current source (AC) was used to remove glycerol and other contaminants from biodiesel in order to meet the ASTM D6751 and EN 14214 standards. Biodiesel was produced from a transesteriﬁcation of reﬁned palm oil and methanol using sodium methylate as a homogeneous catalyst. The effects of an Iron (Fe) electrode, including types of electrode conﬁgurations, vertical distance between electrodes, applied voltage, and separation time, were studied. Furthermore, the effects of the remaining catalyst and soap content in biodiesel phase were also investigated to improve the separating performance using the EDS technique. The EDS using HVAC and low amperage with a point-to-point electrode conﬁguration showed the highest separation efﬁciency of 99.8%. The optimum vertical distance between electrodes was 3 cm, while the optimum applied voltage was 3 kV. The separation time of 240 s yielded the best separating performance, completely eliminating the unreacted catalyst, and the lowest of the normalized remaining soap value content was obtained. Considering all of this, the EDS technique had higher efﬁciency to remove glycerol and other contaminants than a conventional separation of gravitation settling. The ﬁnal biodiesel product was produced with the high purity of 98.0 wt% after puriﬁcation and met all standard speciﬁcations.


Introduction
Biodiesel is a proven alternative diesel fuel consisting of the alkyl monoesters of fatty acids from sustainable natural feedstocks, such as vegetable oils (e.g., palm oil, soybean, coconut oil, rapeseed oil), animal fats, and waste cooking oils. It is one of the renewable energy sources that has gained interest worldwide because it can replace diesel fuel in engines without modification, and in some cases, it can even be blended with diesel fuel, and still be qualified for use in diesel engines. It also shows advantages over conventional diesel in terms of its easier biodegradability, lower toxicity, and fewer pollutant emissions (such as SO x , HC, PM, CO x , and smokiness) [1]. Commercially, biodiesel is produced via a transesterification of triglycerides and short-chain alcohol (e.g., methanol or ethanol) a transesterification of triglycerides and short-chain alcohol (e.g., methanol or ethanol) in the presence of homogenous alkali-catalysts at low temperature and pressure to yield up to 98% conversion [1][2][3]. The transesterification of biodiesel production is known to follow a three-step reaction mechanism, which is shown in Figure 1. The reactions start with the conversion of triglyceride (TG) to diglyceride (DG), then to monoglyceride (MG) and finally to Alkyl Ester and glycerol (GL). In each step, the reaction requires one mole of alcohol to produce one mole of alkyl ester. In general, the overall reaction ( Figure 2) shows that, corresponding to the stoichiometric ratio, it requires 1 mol of oil to react with 3 mol of alcohol, to obtain 3 mol of alkyl esters and 1 mol of glycerol as a by-product. Since this reaction is reversible, it must be exploited to drive the reaction forward to completion. According to Le Chatelier's principle [4], there are several ways to increase the conversion by overcoming the equilibrium limitation. These include an excess of alcohol [5], removing one of the products (or by-products) or reactants [6] from the reaction mixture to shift the equilibrium to the product side, and increasing the temperature of the reaction system [7].   Electrochem 2023, 4, FOR PEER REVIEW 2 a transesterification of triglycerides and short-chain alcohol (e.g., methanol or ethanol) in the presence of homogenous alkali-catalysts at low temperature and pressure to yield up to 98% conversion [1][2][3]. The transesterification of biodiesel production is known to follow a three-step reaction mechanism, which is shown in Figure 1. The reactions start with the conversion of triglyceride (TG) to diglyceride (DG), then to monoglyceride (MG) and finally to Alkyl Ester and glycerol (GL). In each step, the reaction requires one mole of alcohol to produce one mole of alkyl ester. In general, the overall reaction ( Figure 2) shows that, corresponding to the stoichiometric ratio, it requires 1 mol of oil to react with 3 mol of alcohol, to obtain 3 mol of alkyl esters and 1 mol of glycerol as a by-product. Since this reaction is reversible, it must be exploited to drive the reaction forward to completion. According to Le Chatelier's principle [4], there are several ways to increase the conversion by overcoming the equilibrium limitation. These include an excess of alcohol [5], removing one of the products (or by-products) or reactants [6] from the reaction mixture to shift the equilibrium to the product side, and increasing the temperature of the reaction system [7].   After the completion of the reaction, the product mixture contains mainly unpurified biodiesel and various impurities such as crude glycerol or free glycerol, unreacted methanol, remaining catalyst, total glycerol (i.e., unreacted triglyceride (TG), diglyceride (DG) and monoglyceride (MG)), as well as small amounts of soap and traces of water. Therefore, it is necessary to remove these impurities, especially free glycerol, and total glycerol, as these compounds affect the quality of the final biodiesel product and cause problems during storage by forming gums and deposits. In addition, the remaining impurities can affect combustion, cause corrosion, and the quality of the fuel is so poor that it cannot be burned effectively in diesel engines and damages the fuel filter. The maximum values for free glycerol and total glycerol according to ASTM D6751 and EN 14214 are 0.02% mass and 0.25% mass, respectively. Since the difference in the density of biodiesel and glycerol is significant [8], gravitational settling is commonly used as a separation method (conventional separation process). The biodiesel mixture is allowed to cool down at room temperature and settle in the settling tank. The dispersion of polar solvents, including crude glycerol, unreacted methanol and any remaining catalyst, settles at the bottom, while the non-polar solvent of oil with ester-rich phase forms the upper layer. However, this process takes a long time to separate biodiesel from other products and impurities, and the long settling time leads to a reverse reaction, resulting in a decrease in product yield.
To meet the standard requirements, the additional purification of the biodiesel by warm-water washing is necessary. Nevertheless, water washing has drawbacks because it is a time-consuming process for settling biodiesel from water in order to achieve complete separation. Large amounts of water are consumed for the process. Consequently, this method creates the controversial topic of wastewater treatment and environmental sustainability. Moreover, water washing must eventually be followed by an evaporation process at a high temperature in order to remove the remaining water during the biodiesel phase, resulting in high capital and operation costs. In addition, the biodiesel is neutralized with acidified water to eliminate soap, free glycerol, and catalyst residue. Common acids used in this method include hydrochloric acid (HCl), phosphoric acid (H 3 PO 4 ), and citric acid (C 6 H 8 O 7 ) [9][10][11][12][13]. This neutralization method can lead to remaining acid, where it is possible to obtain a total acid number higher than the maximum limit of EN 14214 (the maximum value of 0.5 mg KOH/g) [14]. It also leads to environmental issues in terms of wastewater generation. It is challenging to investigate a separation process that is effective and less environmentally damaging.
The electrically driven separation (EDS) process has been widely used for a variety of separation multi-components, emulsion solvents, and treatment wastewater. This application is an efficient technique because it can also remove various small colloidal particles from aqueous media, which charge and neutralize the ion small particles with the aggregation of tiny, destabilized particles by applying an electric current to form the massive particles into larger groupings of enough density to be settled out under the force of gravity. The EDS operation modes include low voltage, high direct current (DC), high voltage, low alternating current (AC), and pulse mode of DC or AC. Previous studies [15][16][17][18][19] have shown that the overall separation efficiency of AC and DC was comparable. Vasudevan et al. (2011) investigated the effect of AC and DC in the electrocoagulation process on the removal of cadmium from wastewater, and showed that AC was preferred due to a shorter separation time, high removal efficiency, effective energy consumption, and low corrosion rate of electrodes. Cerqueira et al. [17] applied the electroflocculation application for oily water separation and found that AC was suitable for this system with impressive removal efficiency in terms of color and turbidity. However, the major drawback of DC voltage is that the formation of an oxide film during electrolysis can lead to metal passivation, which decreases ionic transfer and separation efficiency. Meanwhile, the AC system can prevent electrode passivation and show a more effective lowering of energy consumption than the DC system. Therefore, the AC mode is preferred for application in the EDS process.
The concept and mechanism of electrical separation, called electrocoagulation (EC) or electroflotation (EF), has been applied with high current density to enhance the dissolution of metal ions from the oxidized metal anode by increasing the cumulative charge, resulting in the accumulation of floating ions or solids such as free metals, suspended waste or dissolved particles in liquid phase. The size of the coagulated particles then grows and is continuously separated from another phase by precipitation and subsequent floating on the surface by rising electro-generated hydrogen bubbles at the cathode. This process could achieve a recovery efficiency of more than 80% [20][21][22].
Moreover, the electrocoagulation behavior could be influenced by applying the electrical field as described in five steps ( Figure 3): (1) compression of the diffuse double layer with an increase of the ionic strength, (2) drops approaching each other and neutralization by adsorption of charge ions, (3) precipitation charge neutralization, (4) linking of bridging drops, and finally (5) the formation of large settable by agglomerated small drops being prompted for precipitation as enmeshment (flocs formation) [23]. Other mechanisms that relate to the electrical separation are electrocoalescence, the chain formation of drops, the formation of intermolecular bonds, dipole-dipole interaction (DDI), dipole-induced-dipole interaction (DID), electrohydrodynamic, electrophoresis, dielectrophoresis, and random collision electrolytic refining [24,25].
Electrochem 2023, 4, FOR PEER REVIEW 4 The concept and mechanism of electrical separation, called electrocoagulation (EC) or electroflotation (EF), has been applied with high current density to enhance the dissolution of metal ions from the oxidized metal anode by increasing the cumulative charge, resulting in the accumulation of floating ions or solids such as free metals, suspended waste or dissolved particles in liquid phase. The size of the coagulated particles then grows and is continuously separated from another phase by precipitation and subsequent floating on the surface by rising electro-generated hydrogen bubbles at the cathode. This process could achieve a recovery efficiency of more than 80% [20][21][22].
Moreover, the electrocoagulation behavior could be influenced by applying the electrical field as described in five steps ( Figure 3): (1) compression of the diffuse double layer with an increase of the ionic strength, (2) drops approaching each other and neutralization by adsorption of charge ions, (3) precipitation charge neutralization, (4) linking of bridging drops, and finally (5) the formation of large settable by agglomerated small drops being prompted for precipitation as enmeshment (flocs formation) [23]. Other mechanisms that relate to the electrical separation are electrocoalescence, the chain formation of drops, the formation of intermolecular bonds, dipole-dipole interaction (DDI), dipole-induceddipole interaction (DID), electrohydrodynamic, electrophoresis, dielectrophoresis, and random collision electrolytic refining [24,25]. In addition, many studies have explained the phenomena of ions and molecules under the influence of the electrical field, especially between the gap of point and plate electrodes, by dividing the gap between the electrodes into three regions consisting of the ionization region, the plasma or attachment region and the unipolar drift region [26][27][28], as illustrated in Figure 4. At the beginning of the discharge from the point electrode in the ionization region, the electrons move close to the positive point electrode, while the positive ions move away from the point electrode due to electrostatic repulsion. Then, the electrons collide with the neutral molecule under the action of a strong electric field. The neutral molecules are ionized into positive ions and electrons, then the positive ions move towards the opposite side of the negative electrode under the action of a strong electric field. The number of electrons increases significantly in a noticeably short time as the external current density considerably increases [29]. This phenomenon is called an electronic avalanche. Later, the high electric field region is formed as an ion-sphere near the point electrode. Once the electrons in this region are accelerated and reach sufficient energy, they can collide with the neutral molecules and detach (separate) another electron as a result of generated ionization. The neutral molecules are ionized into positive ions and electrons. Then, positive ions and electrons are produced, whose movement depends on the polarity of the point electrode. In the case of the negative electrode, the positive ions move toward the negative point electrode and the electrons continue to ionize other neutral molecules. When the electrons finally leave the high electric field region, their energy is insufficient to ionize more molecules. Subsequently, the electrons enter the plasma region with insufficient energy. The electric field in the plasma region cannot provide enough energy for the electrons to complete the ionization process. As a result, the electrons combine with the neutral molecules and form negative ions in the plasma region, In addition, many studies have explained the phenomena of ions and molecules under the influence of the electrical field, especially between the gap of point and plate electrodes, by dividing the gap between the electrodes into three regions consisting of the ionization region, the plasma or attachment region and the unipolar drift region [26][27][28], as illustrated in Figure 4. At the beginning of the discharge from the point electrode in the ionization region, the electrons move close to the positive point electrode, while the positive ions move away from the point electrode due to electrostatic repulsion. Then, the electrons collide with the neutral molecule under the action of a strong electric field. The neutral molecules are ionized into positive ions and electrons, then the positive ions move towards the opposite side of the negative electrode under the action of a strong electric field. The number of electrons increases significantly in a noticeably short time as the external current density considerably increases [29]. This phenomenon is called an electronic avalanche. Later, the high electric field region is formed as an ion-sphere near the point electrode. Once the electrons in this region are accelerated and reach sufficient energy, they can collide with the neutral molecules and detach (separate) another electron as a result of generated ionization. The neutral molecules are ionized into positive ions and electrons. Then, positive ions and electrons are produced, whose movement depends on the polarity of the point electrode. In the case of the negative electrode, the positive ions move toward the negative point electrode and the electrons continue to ionize other neutral molecules. When the electrons finally leave the high electric field region, their energy is insufficient to ionize more molecules. Subsequently, the electrons enter the plasma region with insufficient energy. The electric field in the plasma region cannot provide enough energy for the electrons to complete the ionization process. As a result, the electrons combine with the neutral molecules and form negative ions in the plasma region, which are then transported into the drift region and approach the ground electrode. The electrons flow naturally from the high potential to the low potential. It can be concluded that there are two regions between the gap of the electrodes, which can be referred to as the high electric field ionization region and the low electric field drift region or unipolar drift region [30].
Electrochem 2023, 4, FOR PEER REVIEW 5 which are then transported into the drift region and approach the ground electrode. The electrons flow naturally from the high potential to the low potential. It can be concluded that there are two regions between the gap of the electrodes, which can be referred to as the high electric field ionization region and the low electric field drift region or unipolar drift region [30]. Therefore, it can be assumed that the efficiency of energy and ion transfer to the discharge gap increases when the gap distance between two electrodes is further reduced. Moreover, a large number of ions are generated due to the greater ionization with the short discharge gap [31]. Since the discharge under the action of a high electric field, possibly with a non-uniform field, depends on many parameters, such as electrode configurations, electrode geometries, material of the electrode, applied voltage, type of current flow (AC [32,33] and DC [34,35]), gap distance between electrodes and the polarity of the applied potential difference, which may be positive and negative, it would be worthwhile to deepen the understanding of this phenomena.
Although EDS finds an application in wastewater treatment, especially for removal of heavy metal from polluted water, because of its various advantages such as high efficiency, low cost, simple techniques, no chemical addition, short separation time, etc., the application of EDS in biodiesel-glycerol separation has been rarely investigated. Abbaszadeh et al. [11,23] applied EDS for the separation of crude glycerin from biodiesel. Still, the results were not fully explained. Therefore, the full investigation of the EDS application for biodiesel separation should be studied in detail.
The application of the EDS process can accelerate the destabilization and coagulation of a natural, organic or multi-component mixture through induced droplets. According to the aforementioned concept of discharge between two electrodes, the partial discharge can be generated by applying a high electrical voltage with non-uniform electric stress of a small radius of curvature or sharp electrode. This can increase the surface charge of the droplets, allowing them to coalescence and separating glycerol and other impurities from the biodiesel phase faster and more easily. Therefore, the application of EDS for biodiesel production offers a lot of benefits compared to the conventional separation process. The main objectives of the present study were to study biodiesel-glycerol separation using the EDS technique, applying high voltage alternating current (HV-AC) and low ampere by varying factors, including the type of electrode arrangements, the distance (gap) between the electrodes, and applying high voltage (kV). Moreover, the effects of the remaining catalyst and soap before purification were investigated, which were reported to have normalized concentration value. The final product after the purification of biodiesel (B100) was also studied in order to perform according to ASTM D6751 and EN 14214 standards. Therefore, it can be assumed that the efficiency of energy and ion transfer to the discharge gap increases when the gap distance between two electrodes is further reduced. Moreover, a large number of ions are generated due to the greater ionization with the short discharge gap [31]. Since the discharge under the action of a high electric field, possibly with a non-uniform field, depends on many parameters, such as electrode configurations, electrode geometries, material of the electrode, applied voltage, type of current flow (AC [32,33] and DC [34,35]), gap distance between electrodes and the polarity of the applied potential difference, which may be positive and negative, it would be worthwhile to deepen the understanding of this phenomena.
Although EDS finds an application in wastewater treatment, especially for removal of heavy metal from polluted water, because of its various advantages such as high efficiency, low cost, simple techniques, no chemical addition, short separation time, etc., the application of EDS in biodiesel-glycerol separation has been rarely investigated. Abbaszadeh et al. [11,23] applied EDS for the separation of crude glycerin from biodiesel. Still, the results were not fully explained. Therefore, the full investigation of the EDS application for biodiesel separation should be studied in detail.
The application of the EDS process can accelerate the destabilization and coagulation of a natural, organic or multi-component mixture through induced droplets. According to the aforementioned concept of discharge between two electrodes, the partial discharge can be generated by applying a high electrical voltage with non-uniform electric stress of a small radius of curvature or sharp electrode. This can increase the surface charge of the droplets, allowing them to coalescence and separating glycerol and other impurities from the biodiesel phase faster and more easily. Therefore, the application of EDS for biodiesel production offers a lot of benefits compared to the conventional separation process. The main objectives of the present study were to study biodiesel-glycerol separation using the EDS technique, applying high voltage alternating current (HV-AC) and low ampere by varying factors, including the type of electrode arrangements, the distance (gap) between the electrodes, and applying high voltage (kV). Moreover, the effects of the remaining catalyst and soap before purification were investigated, which were reported to have normalized concentration value. The final product after the purification of biodiesel (B100) was also studied in order to perform according to ASTM D6751 and EN 14214 standards.

Materials and Methods
The experimental procedure starts with the transesterification reaction to produce biodiesel from refined palm oil via conventional heating, followed by a separation process, a purification process, and analysis of the product. After transesterification, crude glycerol is formed and must be separated from the biodiesel. Glycerol removal results were compared between electrically driven separation (EDS) and conventional separation of gravitational settling (GS). The separation efficiency of both separation processes was investigated in terms of soap and catalyst remaining in the biodiesel phase. Finally, the final biodiesel product was analyzed for the purity in terms of methyl ester content (%wt), mono-, di-and tri-glyceride content, and free and total glycerol according to the standard EN14103 and EN 14105. The interrelated research activities are summarized and illustrated in Figure 5.

Materials and Methods
The experimental procedure starts with the transesterification reaction to produce biodiesel from refined palm oil via conventional heating, followed by a separation process, a purification process, and analysis of the product. After transesterification, crude glycerol is formed and must be separated from the biodiesel. Glycerol removal results were compared between electrically driven separation (EDS) and conventional separation of gravitational settling (GS). The separation efficiency of both separation processes was investigated in terms of soap and catalyst remaining in the biodiesel phase. Finally, the final biodiesel product was analyzed for the purity in terms of methyl ester content (%wt), mono-, di-and tri-glyceride content, and free and total glycerol according to the standard EN14103 and EN 14105. The interrelated research activities are summarized and illustrated in Figure 5.

Raw Material and Catalyst for Biodiesel Production
Refined palm oil (RPO) and sodium methylate, which were used as a raw material and a catalyst, respectively, for a transesterification reaction, were obtained from a nondisclosure local biodiesel producer in Thailand. The fatty acid composition of RPO was composed of a total saturated fatty acid content of 49.87%, a monounsaturated fatty acid of 40.90%, and a polyunsaturated fatty acid content of 9.34%, as shown in Table 1. The unsaturated fatty acid as palmitic acid was observed to be the main component of RPO.

Raw Material and Catalyst for Biodiesel Production
Refined palm oil (RPO) and sodium methylate, which were used as a raw material and a catalyst, respectively, for a transesterification reaction, were obtained from a non-disclosure local biodiesel producer in Thailand. The fatty acid composition of RPO was composed of a total saturated fatty acid content of 49.87%, a monounsaturated fatty acid of 40.90%, and a polyunsaturated fatty acid content of 9.34%, as shown in Table 1. The unsaturated fatty acid as palmitic acid was observed to be the main component of RPO. The initial compositions of Triacylglycerol (TAG) or Triglyceride (TG), Diacylglycerols or Diglyceride (DG) and monoacylglycerols or monoglyceride (MG) in RPO were 93.70 ± 0.54, 6.22 ± 0.65 and 0.08 ± 0.05 wt%, respectively. A commercial-grade methanol and sodium methylate were purchased from a local chemical supplier (RCI Labscan Co., Ltd., Bangkok, Thailand).

Transesterification Reaction
The transesterification reaction was carried out to produce biodiesel and by-products, including glycerol and remaining reactants. Sodium methylate was used as a homogeneous catalyst. The reaction temperature was controlled by thermal bath (±2 • C). Initially, 500 g of refined palm oil was preheated in a thermal bath until the temperature reached 60 • C, before adding the methanol and catalyst solution. The reaction operated at the optimum condition, which obtained an excess methanol/oil molar ratio of 6:1, sodium hydroxide derivative as the catalyst (2.16 wt%), constant stirring speed of 500 rpm, and 60 • C temperature for reaction time per hour. Figure 6 shows a schematic diagram of the lab-scale biodiesel production setup. At the end of the reaction, the product mixture containing biodiesel, glycerol, methanol, remaining catalyst, and unreacted reactants was then separated using gravitational settling (GS) and the EDS. The GS was conducted by pouring it into a separating cylinder to allow a clear interfacial separation between the biodiesel and glycerol layers. The same separating cylinder was also used for the EDS technique. The settling times were measured for a comparison with those obtained from the EDS. Electrochem 2023, 4, FOR PEER REVIEW 8 Figure 6. Experimental set up for transesterification of biodiesel production from refined palm oil in a batch reactor. Figure 7 shows the schematic diagram of the EDS setup. The EDS setup consists of a testing chamber, a transformer unit, and a control unit. An AC source of 50 Hz and 220 V from the electrical system line in a house was transmitted to an autotransformer. Variation of input voltage (0-220 V) was initially required for a variac transformer to adjust the AC power to the desired level of the AC voltage. Then, a step-up transformer was used to increase the voltage primary side (0-220 V) to the secondary side (0-100 kV). Finally, the desired high voltage in the range of kilo voltage (kVac) was applied to the test chamber. The test chamber consisted of a pair of electrodes that were filled with the product mixture for the separation test. The first electrode (No. 1) was connected to a 220 V/100 kV highvoltage transformer through a 9.6 kΩ resistor in order to control the current. The second electrode (No. 2) was grounded, and then the voltage across the electrode system was measured. The desired voltage was adjusted by a control box. The experiments were conducted at room temperature in a Faraday cage for safety consideration and operation.   Figure 7 shows the schematic diagram of the EDS setup. The EDS setup consists of a testing chamber, a transformer unit, and a control unit. An AC source of 50 Hz and 220 V from the electrical system line in a house was transmitted to an autotransformer. Variation of input voltage (0-220 V) was initially required for a variac transformer to adjust the AC power to the desired level of the AC voltage. Then, a step-up transformer was used to increase the voltage primary side (0-220 V) to the secondary side (0-100 kV). Finally, the desired high voltage in the range of kilo voltage (kVac) was applied to the test chamber. The test chamber consisted of a pair of electrodes that were filled with the product mixture for the separation test. The first electrode (No. 1) was connected to a 220 V/100 kV high-voltage transformer through a 9.6 kΩ resistor in order to control the current. The second electrode (No. 2) was grounded, and then the voltage across the electrode system was measured. The desired voltage was adjusted by a control box. The experiments were conducted at room temperature in a Faraday cage for safety consideration and operation.

Electrically Driven Separation Process
Electrochem 2023, 4, FOR PEER REVIEW 8 Figure 6. Experimental set up for transesterification of biodiesel production from refined palm oil in a batch reactor. Figure 7 shows the schematic diagram of the EDS setup. The EDS setup consists of a testing chamber, a transformer unit, and a control unit. An AC source of 50 Hz and 220 V from the electrical system line in a house was transmitted to an autotransformer. Variation of input voltage (0-220 V) was initially required for a variac transformer to adjust the AC power to the desired level of the AC voltage. Then, a step-up transformer was used to increase the voltage primary side (0-220 V) to the secondary side (0-100 kV). Finally, the desired high voltage in the range of kilo voltage (kVac) was applied to the test chamber. The test chamber consisted of a pair of electrodes that were filled with the product mixture for the separation test. The first electrode (No. 1) was connected to a 220 V/100 kV highvoltage transformer through a 9.6 kΩ resistor in order to control the current. The second electrode (No. 2) was grounded, and then the voltage across the electrode system was measured. The desired voltage was adjusted by a control box. The experiments were conducted at room temperature in a Faraday cage for safety consideration and operation.

Comparison on Separation Performance between EDS and GS
After the completion of the transesterification process, the product mixture of biodieselglycerol was poured into two test cylinder chambers for the EDS and GS separation experiments. The capacity of each cylinder was 1700 mL, with a diameter of 8.5 cm and a height of 30 cm, as shown in Figure 8. The separation time was measured when the clear interface could be observed. Then, the inferior phase, which comprises glycerol, catalyst, soap, and contaminants, was removed from the bottom and the superior phase of biodiesel was collected for further analysis.   Figure 8. The horizontal distance between electrodes A and B was fixed at 3.5 cm, while the vertical distances between the ends of the electrodes (d) varied in a range of 0-9 cm.

Applying High Voltage
The applied high AC electrical voltage varied from 1 kV to 9 kV in order to observe the separation efficiency of the EDS process. At a fixed applied voltage of 3 kV, the electrical fields were simulated using Finite Element Method Magnetics (FEMM) for different configurations of the electrode arrangements in order to observe the highest electric stress distribution between the two electrodes.

Separation Time
The effect of the separation time of the EDS process varied from 30 s to 600 s. For this test, the vertical distance of 3 cm (d), applied voltage of 3 kV, and point-to-point type of electrode configuration were chosen.

Separation Efficiency
After transesterification, the finished product from the reaction was transferred to a measuring cylinder for separation using EDS and GS. Separation efficiency was calculated based on the separated volume of glycerol at the end of each experiment. The percentage of separation efficiency is expressed in Equation (1). where V i is the initial volume of glycerol (mL) and V f is the final volume of glycerol (mL).

Soap and Catalyst Remaining Content
The presence of residual soap and catalyst concentration was determined using the AOCS Cc 17-95 titration methods. The details of each method can be found elsewhere [38]. Phenolphthalein and bromophenol blue were used as indicators in order to determine the catalyst concentration and the soap concentration, respectively. Since the soap and catalyst concentrations change with each batch due to the reversible transesterification reaction, the final soap and catalyst concentrations were normalized to the initial values. The normalized concentration value of the residual soap (N v, soap ) was reported based on the initial soap of crude biodiesel, and could also be performed on the residual of the catalyst (N v, catalyst ) as shown in Equation (2).
where C t is the normalized concentration value of the catalyst or soap content at time (t) and C o is the normalized concentration value of the initial catalyst or soap content in the crude biodiesel.

Methyl Ester Content
The percentage of fatty acid methyl ester (FAME) content was analyzed using gas chromatography (Shimadzu CG-2010) with a flame ionization detector (FID), a DB-WAX capillary column with a length of 30 m, an internal diameter of 0.250 mm and a coating of 0.25 µm thickness. Nitrogen was used as a carrier gas, as well as a make-up gas with a constant flow rate of 1 mL/min and 30 mL/min, respectively. For the FID detector, UHPgrade hydrogen and air were fed at flow rates of 45 mL/min and 450 mL/min, respectively. The injector and detector were set at 250 • C. The initial oven temperature was held at 210 • C for 13 min and then increased to 230 • C at a heating rate of 5 • C/min and held at a final temperature for 15 min, hence resulting in a total analytical time of about 27 min. A sample volume of 0.5 µL was injected using the split mode with a split ratio of 1:50.

Free and Total Glycerol and Mono-, Di-, and Tri-Glycerides in Fatty Acid Methyl Esters
According to the EN 14105 method, the total glycerol, the free glycerol, and the mono-, di-, and tri-glyceride contents were determined before and after purification using gas chromatography (GC). The total glycerol content was obtained by the summation of the free glycerol, mono-, di-, and tri-glycerides. The calculation details can be obtained elsewhere [39]. A capillary column (MXT-Biodiesel TG, Agilent, Santa Clara, CA, USA) with a length of 15 m, including a 2 m guard column with a 0.53 mm internal diameter (total length 17 m), an internal diameter of 0.32 mm, and coated with a film thickness of 0.10 µm, was used to analyze the free glycerol and mono-, di-, and tri-glycerides. Helium was used as carrier gas, with a constant of a 5 mL/min flow rate. The GC program was stabilized at an oven temperature of 50 • C for 1 min. Then, it was heated at a heating rate of 15 • C/min to 180 • C. From 180 • C to 230 • C the heating rate was used at 7 • C /min, and finally the heating rate of 30 • C/min was used for a final temperature of 380 • C and held for 5 min. The detector was set at a temperature of 380 • C, hence yielding a total analytical time of about 26.81 min. The sample volume of 1.0 µL was injected into the GC column.

Electrode Arrangements and Electrode Configurations
Since an electrode arrangement shows an effect on a corona discharge resulting in different separation efficiency, the characteristics of corona discharges from different types of electrodes (sharp, bar, and point-to-point electrodes) of high voltage supply were investigated. In the present study, only the iron electrode (Fe) was used. As mentioned above, five types of electrode arrangements were investigated. Figure 9 shows the effect of electrode types and vertical distance between electrodes on the separation efficiency of the EDS process, with applied AC at 3 kV for a separation time of 240 s; the distance between electrodes varied in the range of 0 to 9 cm. It is noteworthy that the horizontal distance of a position at the same height between two electrodes (d = 0 cm) was only applied for the bar and point electrodes. In order to avoid electrical sparking and a short circuit, the minimum distance for the point-to-point configuration had to be kept at d = 3 cm. As the vertical distance (d) between two electrodes increases, separation efficiency decreases. This is due to the fact that, for a smaller gap distance, ions or electrons take a shorter time to reach another electrode, resulting in the enhanced negative and positive charges of the electrical potential of the glycerol molecules. This results in a reduction of the repulsive force of glycerol and unreacted reactant molecules, leading to increased polarity. Molecular adsorption then causes neutralization of the superficial charges, leading to agglomeration of the neutralized molecules followed with the precipitation of these molecules. Moreover, they further produce individual bridging by linking with surrounding molecules. Finally, a large enough agglomerate is generated and precipitated to the bottom of the cylinder [40]. As shown in the figure, the highest separation efficiency was 99.8% at d = 3 cm for the point-to-point electrode. For a distance (d) between 3 and 9 cm, the point-to-point configuration shows higher separation efficiency compared to the point and bar configurations. This is because of the fact that the corona discharge was likely to occur in the case of the point-to-point configuration.

Electrode Arrangements and Electrode Configurations
Since an electrode arrangement shows an effect on a corona discharge resulting in different separation efficiency, the characteristics of corona discharges from different types of electrodes (sharp, bar, and point-to-point electrodes) of high voltage supply were investigated. In the present study, only the iron electrode (Fe) was used. As mentioned above, five types of electrode arrangements were investigated. Figure 9 shows the effect of electrode types and vertical distance between electrodes on the separation efficiency of the EDS process, with applied AC at 3 kV for a separation time of 240 s; the distance between electrodes varied in the range of 0 to 9 cm. It is noteworthy that the horizontal distance of a position at the same height between two electrodes (d = 0 cm) was only applied for the bar and point electrodes. In order to avoid electrical sparking and a short circuit, the minimum distance for the point-to-point configuration had to be kept at d = 3 cm. As the vertical distance (d) between two electrodes increases, separation efficiency decreases. This is due to the fact that, for a smaller gap distance, ions or electrons take a shorter time to reach another electrode, resulting in the enhanced negative and positive charges of the electrical potential of the glycerol molecules. This results in a reduction of the repulsive force of glycerol and unreacted reactant molecules, leading to increased polarity. Molecular adsorption then causes neutralization of the superficial charges, leading to agglomeration of the neutralized molecules followed with the precipitation of these molecules. Moreover, they further produce individual bridging by linking with surrounding molecules. Finally, a large enough agglomerate is generated and precipitated to the bottom of the cylinder [40]. As shown in the figure, the highest separation efficiency was 99.8% at d = 3 cm for the point-to-point electrode. For a distance (d) between 3 and 9 cm, the point-to-point configuration shows higher separation efficiency compared to the point and bar configurations. This is because of the fact that the corona discharge was likely to occur in the case of the point-to-point configuration.

Effect of Applied AC at High Voltage on Separation Efficiency
The effect of applied high voltage on the separation efficiency of the EDS process is shown in Figure 10. As seen from the figure, the separation efficiency is directly proportional to the high voltage applied. The point-to-point configuration shows higher

Effect of Applied AC at High Voltage on Separation Efficiency
The effect of applied high voltage on the separation efficiency of the EDS process is shown in Figure 10. As seen from the figure, the separation efficiency is directly proportional to the high voltage applied. The point-to-point configuration shows higher separation efficiency compared to the bar and point electrodes. The highest separation of 99.8% was obtained from the point-to-point electrode at an applied voltage higher than 3 kV. From 1 kV to 3 kV, the separation efficiency increased significantly for all types of electrode configurations. On the other hand, from 3 kV to 9 kV the separation efficiency did not show significant improvement. This was because the application of high voltage generates higher electric field strength around the point of the electrode, leading to more ionization and, consequently, greater agglomeration of glycerol particles [32,41]. As a result, the attractive force becomes more dispersed and increases the rate of aggregation and coalescence due to the raised ionization level of ions affecting the distribution of the ion charges of the glycerol particles in the biodiesel-glycerol mixture [42]. electrode configurations. On the other hand, from 3 kV to 9 kV the separation efficiency did not show significant improvement. This was because the application of high voltage generates higher electric field strength around the point of the electrode, leading to more ionization and, consequently, greater agglomeration of glycerol particles [32,41]. As a result, the attractive force becomes more dispersed and increases the rate of aggregation and coalescence due to the raised ionization level of ions affecting the distribution of the ion charges of the glycerol particles in the biodiesel-glycerol mixture [42].

Effect of Vertical Distance between Point-to-Point Electrodes
Since the vertical distance (d) between electrodes shows an effect on the separation efficiency of the EDS process, especially with the point-to-point electrode type, the experiment was performed with the iron (Fe) point-to-point electrode type in order to investigate the effect of vertical distance and separation time on separation efficiency. As seen in Figure 11, the separation efficiency decreases while the distance electrode increases. A higher operation time results in higher separation efficiency compared to a shorter operation time. The difference is more pronounced at a higher distance between electrodes. The vertical distance between electrodes of 2 cm and 3 cm shows the highest separation efficiency of 99.8% at the operation time of 240 s. Since electrical stress is inversely proportional to the distance between electrodes along the same axis, higher distance shows less electric stress, resulting in the decreased induction of free particles and released charges between electrodes [43]. Hence, the conductive zone between electrodes was reduced and the EDS process did not show a significant effect on the sedimentation of the glycerol particles. It is worth noting that at the distance of 1 cm between electrodes, the experiment could not be performed. It could pose a risk of electrical discharge, sparking (lighting) and breakdown. The optimal position of the barrier is approximately 20% of the gap distance between sharp or point electrodes to avoid sparking and breakdown voltage, as previous studies have shown [44,45]. Therefore, for this study, a distance of 3 cm between the electrodes was chosen as the optimal condition to avoid the propagation of free charges across the gap between the electrodes as a result of spark over voltage when the distance between the point electrodes was small.

Effect of Vertical Distance between Point-to-Point Electrodes
Since the vertical distance (d) between electrodes shows an effect on the separation efficiency of the EDS process, especially with the point-to-point electrode type, the experiment was performed with the iron (Fe) point-to-point electrode type in order to investigate the effect of vertical distance and separation time on separation efficiency. As seen in Figure 11, the separation efficiency decreases while the distance electrode increases. A higher operation time results in higher separation efficiency compared to a shorter operation time. The difference is more pronounced at a higher distance between electrodes. The vertical distance between electrodes of 2 cm and 3 cm shows the highest separation efficiency of 99.8% at the operation time of 240 s. Since electrical stress is inversely proportional to the distance between electrodes along the same axis, higher distance shows less electric stress, resulting in the decreased induction of free particles and released charges between electrodes [43]. Hence, the conductive zone between electrodes was reduced and the EDS process did not show a significant effect on the sedimentation of the glycerol particles. It is worth noting that at the distance of 1 cm between electrodes, the experiment could not be performed. It could pose a risk of electrical discharge, sparking (lighting) and breakdown. The optimal position of the barrier is approximately 20% of the gap distance between sharp or point electrodes to avoid sparking and breakdown voltage, as previous studies have shown [44,45]. Therefore, for this study, a distance of 3 cm between the electrodes was chosen as the optimal condition to avoid the propagation of free charges across the gap between the electrodes as a result of spark over voltage when the distance between the point electrodes was small.

Electric Field Distribution Using Finite Element Method Magnetics Simulation
The electric field strength and corona discharge of five different electrode configurations in the EDS process with applied AC at 3 kV and the distance between electrodes of 3 cm were investigated using the Finite Element Method Magnetics (FEMM 4.2) simulation. The simulation results are shown in Figure 12, in which the lines represent the equipotential lines and shades of color represent the electric field distribution and electric field strength (V/m). The dark pink color corresponds to the highest electric field strength, whereas the blue color corresponds to the lower one. As shown in Figure 12a-d, the electric field distribution is uniform for bar and point electrode configurations, while the non-uniform electric field distribution is observed with the point-to-point electrode configuration (Figure 12e). In a uniform electric field, the equipotential lines are parallel and evenly spaced, so that the electric field vector has the same magnitude and direction at every point. However, in a non-uniform electric field, the equipotential lines tend to be curved and are more concentrated near the tip of electrodes where the charges are generated, resulting in a stronger electric field stress. As shown in all figures, the high intensity of the electric field is located near the tips of electrodes, especially with the sharp point electrodes. However, the highest electric field stress is observed in the point-to-point configuration. Under a high electric field strength, electron pairs are generated because of the ionization. With sufficient energy in a kV range, chemical bonds can be broken, promoting electrons from the valence band into the conduction band. Then, electrons are freely moved from one region to another region as free electrons. Hence, the number of free electrons generated between two metal electrodes is directly proportional to the electric field strength. Finally, the separation efficiency is increased with the electric field strength. Therefore, the point-to-point configuration was suitable for the EDS process and selected for further investigations.
Electrochem 2023, 4, FOR PEER REVIEW 13 Figure 11. Effect of vertical distance between electrodes (d) with different separation time on the separation efficiency of the EDS process using iron (Fe) electrodes with point-to-point electrode configuration and applied AC voltage of 3 kV.

Electric Field Distribution Using Finite Element Method Magnetics Simulation
The electric field strength and corona discharge of five different electrode configurations in the EDS process with applied AC at 3 kV and the distance between electrodes of 3 cm were investigated using the Finite Element Method Magnetics (FEMM 4.2) simulation. The simulation results are shown in Figure 12, in which the lines represent the equipotential lines and shades of color represent the electric field distribution and electric field strength (V/m). The dark pink color corresponds to the highest electric field strength, whereas the blue color corresponds to the lower one. As shown in Figure 12a-d, the electric field distribution is uniform for bar and point electrode configurations, while the nonuniform electric field distribution is observed with the point-to-point electrode configuration (Figure 12e). In a uniform electric field, the equipotential lines are parallel and evenly spaced, so that the electric field vector has the same magnitude and direction at every point. However, in a non-uniform electric field, the equipotential lines tend to be curved and are more concentrated near the tip of electrodes where the charges are generated, resulting in a stronger electric field stress. As shown in all figures, the high intensity of the electric field is located near the tips of electrodes, especially with the sharp point electrodes. However, the highest electric field stress is observed in the point-to-point configuration. Under a high electric field strength, electron pairs are generated because of the ionization. With sufficient energy in a kV range, chemical bonds can be broken, promoting electrons from the valence band into the conduction band. Then, electrons are freely moved from one region to another region as free electrons. Hence, the number of free electrons generated between two metal electrodes is directly proportional to the electric field strength. Finally, the separation efficiency is increased with the electric field strength. Therefore, the point-to-point configuration was suitable for the EDS process and selected for further investigations.

Effect of Separation Time
By applying the EDS with the AC electrical current at high voltage to the biodieselglycerol mixture, a clear interface between the biodiesel and glycerol layers was first observed at a short separation time within 40-60 s. However, the purity of the final biodiesel product did not meet the standards, and the remaining catalyst and soap contents were still high. In order to meet the standards and to reduce the remaining catalyst, the separation time was, therefore, extended to 600 s. Figure 13 shows the effect of the separation time (30 s to 600 s) on the separation efficiency in the variation of applied AC voltages using the point-to-point electrode configuration and a distance between the two electrodes of 3 cm. As seen in the figure, the removal of glycerol was faster for the applied AC voltages higher than 3 kV. In order to achieve more than 99% separation efficiency, the separation time had to be longer than 120 s for an applied AC voltage greater than 3 kV. The optimal condition for the EDS separation process with the maximum separation efficiency of 99.8% was determined at the shortest separation time and low energy consumption (low applied AC voltage). It was found that the optimum condition for point-to-point electrode configuration was 3 kV, and a separation time of 240 s. After 240 s, the separation efficiency was not significantly different for a 3 to 9 kV applied voltage because of the destabilizing effect at low particle concentration of glycerol in the biodiesel-rich phase, as is visually clear in the upper phase. For the 1 kV applied voltage, it took more than 420 s to reach the separation efficiency of 99.8%. At an optimum voltage of 3 kV, the operation is safe and the risk of sparking and breakdown voltage is lower. Note that, in other applications in oil [46][47][48][49], the applied high voltage in the range of 20 kV to 200 kV at high frequency (kHz) with a small distance between electrodes in millimeters (mm) posed a substantial risk of sparkling and dielectric breakdown.

Effect of Separation Time
By applying the EDS with the AC electrical current at high voltage to the biodieselglycerol mixture, a clear interface between the biodiesel and glycerol layers was first observed at a short separation time within 40-60 s. However, the purity of the final biodiesel product did not meet the standards, and the remaining catalyst and soap contents were still high. In order to meet the standards and to reduce the remaining catalyst, the separation time was, therefore, extended to 600 s. Figure 13 shows the effect of the separation time (30 s to 600 s) on the separation efficiency in the variation of applied AC voltages using the point-to-point electrode configuration and a distance between the two electrodes of 3 cm. As seen in the figure, the removal of glycerol was faster for the applied AC voltages higher than 3 kV. In order to achieve more than 99% separation efficiency, the separation time had to be longer than 120 s for an applied AC voltage greater than 3 kV. The optimal condition for the EDS separation process with the maximum separation efficiency of 99.8% was determined at the shortest separation time and low energy consumption (low applied AC voltage). It was found that the optimum condition for point-to-point electrode configuration was 3 kV, and a separation time of 240 s. After 240 s, the separation efficiency was not significantly different for a 3 to 9 kV applied voltage because of the destabilizing effect at low particle concentration of glycerol in the biodiesel-rich phase, as is visually clear in the upper phase. For the 1 kV applied voltage, it took more than 420 s to reach the separation efficiency of 99.8%. At an optimum voltage of 3 kV, the operation is safe and the risk of sparking and breakdown voltage is lower. Note that, in other applications in oil [46][47][48][49], the applied high voltage in the range of 20 kV to 200 kV at high frequency (kHz) with a small distance between electrodes in millimeters (mm) posed a substantial risk of sparkling and dielectric breakdown. As shown in Figure 14, the clear interface between biodiesel and glycerol layers of EDS was observed faster than GS. In GS, only the intensity of the color change can be observed, but in EDS the different sizes of the crude glycerol droplets were produced un- As shown in Figure 14, the clear interface between biodiesel and glycerol layers of EDS was observed faster than GS. In GS, only the intensity of the color change can be observed, but in EDS the different sizes of the crude glycerol droplets were produced under the influence of high electric field and then settled down. However, it would not be certain that glycerol was completely separated from the biodiesel phase until the detailed chemical composition was analyzed. Therefore, the remaining soap and catalyst values, including the methyl ester content, were determined and correlated with the separation time. Figure 13. Effect of separation time at various applied AC voltages on the separation efficiency of the EDS process using iron (Fe) point-to-point electrodes with a vertical distance between electrodes of 3 cm.
As shown in Figure 14, the clear interface between biodiesel and glycerol layers of EDS was observed faster than GS. In GS, only the intensity of the color change can be observed, but in EDS the different sizes of the crude glycerol droplets were produced under the influence of high electric field and then settled down. However, it would not be certain that glycerol was completely separated from the biodiesel phase until the detailed chemical composition was analyzed. Therefore, the remaining soap and catalyst values, including the methyl ester content, were determined and correlated with the separation time.

Effect of Remaining Catalyst Content
For a conventional biodiesel production process, biodiesel can be contaminated with glycerol, the homogenous catalyst, and the remaining excess methanol. It is essential to remove these chemicals in order to meet the acceptable standards. Generally, the catalyst is simultaneously removed from biodiesel via the precipitation of glycerol using the gravitational method, because of the polarity of both species. However, the trace amount of catalyst still remains in the biodiesel phase. Figure 15a,b show the normalized remaining catalyst value versus separation time for gravitational settling (GS) and electrically driven separation (EDS), respectively. As shown in Figure 15a, for GS a longer separation time results in a decrease in the normalized remaining catalyst value. It takes more than 24 h to totally eliminate the remaining catalyst from the biodiesel. As show in Figure 15b, in contrast to the GS method, EDS shows much shorter separation time compared to the GS method. Hence, the EDS significantly improved the catalyst removal process. The remaining catalyst was totally removed from biodiesel within 240 s due to the fast separation of the glycerol from the biodiesel using EDS, as previously discussed.

Effect of Remaining Soap Content
In the biodiesel production process, soap can be formed from the reaction of the remaining catalyst and glycerol in the presence of water. The soap must be removed from the biodiesel by washing with water, because the soap can lead to an emulsion formation in the biodiesel, requiring longer washing time, and resulting in a loss of biodiesel yield during purification during the washing process. Therefore, the removal of glycerol and catalyst from the biodiesel is a crucial step in preventing a saponification reaction. This study investigated the soap value content using the titration method, as depicted in Figure 16a,b, which show the normalized remaining soap value versus the separation time for GS and EDS, respectively. As shown in Figure 16a, GS required a separation time of more than 24 h in order to obtain the lowest normalized concentration of remaining soap value of 0.037. For the EDS separation process, the normalized concentration of remaining soap value in the biodiesel layer gradually decreased from 0.083 at a separation time of 30 s to 0.050 at a separation time of 180 s. After that, it obviously decreased to 0.035 at the separation time of 240 s. However, the separation time showed no significant decrease in the normalized concentration of the remaining soap value after 240 s. This is due to the fact that the catalyst and glycerol were efficiently eliminated from the biodiesel during the EDS process, resulting in less soap formation, as discussed in the previous section.
is simultaneously removed from biodiesel via the precipitation of glycerol using the gravitational method, because of the polarity of both species. However, the trace amount of catalyst still remains in the biodiesel phase. Figure 15a,b show the normalized remaining catalyst value versus separation time for gravitational settling (GS) and electrically driven separation (EDS), respectively. As shown in Figure 15a, for GS a longer separation time results in a decrease in the normalized remaining catalyst value. It takes more than 24 h to totally eliminate the remaining catalyst from the biodiesel. As show in Figure 15b, in contrast to the GS method, EDS shows much shorter separation time compared to the GS method. Hence, the EDS significantly improved the catalyst removal process. The remaining catalyst was totally removed from biodiesel within 240 s due to the fast separation of the glycerol from the biodiesel using EDS, as previously discussed. Figure 15. Normalized concentrations of remaining catalyst in the biodiesel final product from the EDS process using iron (Fe) point-to-point electrodes, with a vertical distance between electrodes of 3 cm and applied AC voltage of 3 kV: (a) gravitational settling (GS) and (b) electrically driven separation (EDS) process.

Effect of Remaining Soap Content
In the biodiesel production process, soap can be formed from the reaction of the remaining catalyst and glycerol in the presence of water. The soap must be removed from the biodiesel by washing with water, because the soap can lead to an emulsion formation  Figure 17 shows the methyl ester content at various times of EDS (a) and GS (b), respectively. For EDS, the percentage of methyl ester content increased with the separation time. It is good to remember that, for the biodiesel production process, the methyl ester content of 90% before purification is considerably high. For the EDS process it takes only 60 s to meet the ester content of 90.9 ± 0.5%, as shown in Figure 17a, whereas for GS it takes more than 12 h to meet the ester content of 93.3 ± 0.2%, as shown in Figure 17b. This is because most of the contaminants were removed for the EDS process, resulting in a more purified product. According to Thai commercial standards [50] and international standards [14,51], the required methyl ester content should be at least 96.5 wt%. Though the ester content from the EDS process did not meet the requirements, a further purification process is necessary for a higher percentage of methyl ester content, such as water washing, etc.

Effect of Methyl Ester Content
value in the biodiesel layer gradually decreased from 0.083 at a separation time of 30 s to 0.050 at a separation time of 180 s. After that, it obviously decreased to 0.035 at the separation time of 240 s. However, the separation time showed no significant decrease in the normalized concentration of the remaining soap value after 240 s. This is due to the fact that the catalyst and glycerol were efficiently eliminated from the biodiesel during the EDS process, resulting in less soap formation, as discussed in the previous section.  Figure 17 shows the methyl ester content at various times of EDS (a) and GS (b), respectively. For EDS, the percentage of methyl ester content increased with the separation time. It is good to remember that, for the biodiesel production process, the methyl ester content of 90% before purification is considerably high. For the EDS process it takes only 60 s to meet the ester content of 90.9 ± 0.5%, as shown in Figure 17a, whereas for GS it takes more than 12 h to meet the ester content of 93.3 ± 0.2%, as shown in Figure 17b. This is because most of the contaminants were removed for the EDS process, resulting in a more purified product. According to Thai commercial standards [50] and international standards [14,51], the required methyl ester content should be at least 96.5 wt%. Though the ester content from the EDS process did not meet the requirements, a further purification process is necessary for a higher percentage of methyl ester content, such as water washing, etc. Figure 17. Effect of methyl ester (%ME) and normalized remaining soap content (NV, soap) by comparing the separation performance between the GS and EDS process using iron (Fe) point-to-point electrodes, with a vertical distance between electrodes of 3 cm and applied AC voltage of 3 kV.

Characterization of Biodiesel from RPO
The specifications of biodiesel obtained from the EDS separation process are shown in Table 2. The results show that all of the main properties meet the standards using either the ASTM or EN methods. Interestingly, after washing only three times with warm water, the ester content of the biodiesel from the EDS separation process was 98.5 ± 0.25 wt%, Figure 17. Effect of methyl ester (%ME) and normalized remaining soap content (N V, soap ) by comparing the separation performance between the GS and EDS process using iron (Fe) point-to-point electrodes, with a vertical distance between electrodes of 3 cm and applied AC voltage of 3 kV.

Characterization of Biodiesel from RPO
The specifications of biodiesel obtained from the EDS separation process are shown in Table 2. The results show that all of the main properties meet the standards using either the ASTM or EN methods. Interestingly, after washing only three times with warm water, the ester content of the biodiesel from the EDS separation process was 98.5 ± 0.25 wt%, which is notably high compared to the conventional process after washing five times with warm water. The acid value of such a product was also low. Generally, all parameters met the requirements. Moreover, the contents of the mono-, di-, and tri-glycerides, the total glycerol and free glycerol met the standard requirements. The present research has demonstrated that the EDS process shows high separation efficiency, and is a time-saving process. This method can also be applied to other multi-component mixtures such as oil-in-water, biodiesel mixture, phase separation during solvent extraction, metals recycle with hydrometallurgical methods of reactive extraction, in-situ product removal from fermentation, and many others.

Conclusions
In summary, the separation of biodiesel from glycerol and other components was conducted using the EDS separation process by applying AC high voltage and low current. The iron (Fe) point-to-point electrodes, with the vertical distance (d) between electrodes of 3 cm, yielded the highest separation efficiency of 99.8% within the separation time of 240 s. The EDS process can eliminate the catalyst and reduce soap content in the biodiesel product, which is much better than using the GS method. Based on the standard methods of ASTM and EN, the final properties of the biodiesel product met the requirements, with two times of water washing being sufficient. Table 3 provides a summary of the performance between the gravitational setting and the electrically driven separation process, and it is confirmed that the EDS process has proven to be a novel method for separating biodiesel from glycerol and other components. Table 3. Summary of the performance and optimum conditions of the separation process of biodiesel product mixture from crude glycerol by GS and EDS techniques. Note: Clear interface * indicates that the clear interface between biodiesel and glycerol layers without cloudy solution in an upper biodiesel-rich phase was firstly observed with time. STD indicates that the biodiesel standard EN14214 meets a minimum acceptable content of methyl ester at 96.5% (m/m).

Separation Process
For commercialization, the electrically driven separation technology must be further explored and the optimized condition must be determined for the scale-up. Our research laboratory has intensively investigated the correlation between electrical, chemical, and material parameters that affect separation efficiency, as well as the coalescence-sedimentation model for the liquid-liquid separation. These results will be presented in future articles.