{'fraction_non_alphanumeric': 0.024425924284067736, 'fraction_numerical': 0.01152584448975973, 'mean_word_length': 5.0061235356762515, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Technoeconomic Analysis of the Recovery of Phenols from Olive Mill Wastewater through Membrane Filtration and Resin Adsorption/Desorption

: Olive mill wastewater is an important agro-industrial waste with no established treatment method. The authors have developed a phenol separation method that could potentially cover the treatment cost of the waste. The purpose of this study was to identify any economic hotspots in the process, the operational cost and examine the margin of proﬁt for such a process. The equipment cost was scaled for different treatment capacities and then used to estimate the ﬁxed capital investment and the yearly operational cost. The highest purchased equipment cost was identiﬁed for the membrane ﬁltration system, while the cost for resin replacement was identiﬁed as the highest operational cost. The lifespan of the resin used in the adsorption step was identiﬁed as an economic hot spot for the process, with the phenols separation cost ranging from 0.84 to 13.6 € /g of phenols for a resin lifespan of 5–100 adsorption/desorption cycles. The lifespan of the resin proved to be the single most important aspect that determines the phenols separation cost. The price range that was calculated for the product of the process is very promising because of the typical value of antioxidants and the low concentration of phenols that are needed for food supplements and cosmetics.


Introduction
Agro-industrial activity is a major source of waste production. These wastes can be in liquid or solid form and contain important phytochemical substances with high added value. An example of such phytochemicals are phenolic compounds characterized by their high antioxidant activity [1]. These compounds are present in most plant materials, with different functions, such as a defense against herbivores or as a response to environmental stress [2], and as a result, in many agro-industrial wastes. An important agro-industrial waste rich in phenols is olive mill wastewater (OMW).
OMW is prominently produced around the Mediterranean Sea, where most of the major olive oil producing countries are located [3]. It is produced through the threephase olive oil extraction method with the addition of large quantities of water prior to centrifugation. During the last decade, an effort has been made to convert most of the three-phase olive mills that produce olive oil, olive kernels and OMW, to a two-phase process that only produces olive oil and alperujo, a paste-like material that contains both the olive kernels and the minced olives after oil extraction. The two-phase extraction process is considered more environmentally friendly because of the smaller volume of the waste produced, but still, there are problems to be faced [4], such as the air pollution during the removal of moisture before the extraction of kernel oil with hexane. In Greece, after the conversion of the three-phase olive mills to two-phase, the kernel oil producing factories had to treat enormous amounts of alperujo. Because of the small span of time in which olive oil is produced, these quantities were concentrated in a three to four month period. As a result, most kernel oil factories stored the alperujo prior to its treatment, typically for several weeks, leading to the production of odors [5]. These odors were then spread, alongside other particles and water vapor when the alperujo was dried in the kernel oil production process, deteriorating the air quality several kilometers around the facilities [6].
OMW phenols have high antioxidant potential and are investigated as additives for several different consumable products [7,8] and cosmetic applications [9,10]. The great interest in OMW phenols presents an opportunity for high-added-value products that can cover the treatment cost of the waste and present a significant margin for profit.
Throughout the years, several treatment methods have been proposed for the treatment of OMW. Because of the high concentrations of phenol present in olive mill effluents, the biological treatment of OMW can be severely impeded [11]. This is usually tackled by dilution of the waste through the addition of water or its co-digestion with another waste. Examples of such processes are the co-digestion of OMW with liquid poultry manure [12], abattoir wastewater [13], cattle manure and slurry [14], and different food wastes [15,16].
Advanced oxidation processes have also been tested for the treatment of OMW. This type of methods is typically targeted at reducing the phenolic content of the waste and enabling post-treatment with other methods (usually biological). These methods can be Fenton oxidation [17,18], photocatalytic methods [19,20], and electrocoagulation [21,22].
Physicochemical methods are amongst the most used treatment methods because they are not inhibited by the presence of phenols and are typically cheaper than advanced oxidation processes. Membrane filtration has been widely tested, but certain limitations regarding rapid membrane fouling have been reported when raw OMW is used as feed [23]. Apart from the reduction of the organic load, membrane processes have been used for the recovery of the phenolic content of the OMW [24,25]. Adsorption has also been used for the selective separation of OMW phenols typical with resins as adsorbents [26,27], but other materials have been used as well, like activated carbon [28].
The number of publications related to OMW has increased rapidly during the last thirty years, with most of the published papers originating from the main olive oil producing countries ( Figure 1). The most rapid increase in published papers was recorded from 2000 to 2010, while during 2020 alone, more than 100 papers were published, indicating the ongoing nature of the OMW treatment problem. The country of origin of most of these publications was Spain, closely followed by Italy and then Greece. The order of countries of origin of OMW-related publications appears like their ranking as olive oil production countries, indicating that the serious environmental problems that are caused by OMW act as motivation for the scientific communities of these regions for scientific research.  The large number of publications and the different treatment methods examined for OMW indicate that no definitive solution has been found for this problem. This can be attributed to the technical difficulties presented during the treatment of OMW (high organic and solid content, phenols, etc.), and the cost of its treatment. In this scope, the authors have developed a separation method for the recovery of phenolic compounds from agro-industrial wastes using membrane technology and resin adsorption/desorption that can potentially cover the treatment cost. The same method can be applied to both solid and liquid waste by adding an extraction step for solid matrixes. The results of the implementation of the process to olive mill wastewater [30], grape marc [31], and olive leaves [32] have been published by the authors, followed by a preliminary design of a treatment plant implementing the method [33]. A preliminary technoeconomic analysis of the membrane filtration part of the process has also been reported by the authors [34], for an initial concept of the separation technique. The scope of this work is the technoeconomic analysis of the process, including the resin step, and identification of economic hotspots. The sustainable management of olive oil industry effluents is a matter of utmost importance for the producing countries, but a treatment method that is not economically viable is unlikely to be implemented by the stakeholders. The authors believe that this work can motivate the implementation of OMW treatment methods that allow the extraction of value from a waste stream and alleviate the environmental burden of olive oil production processes.

Materials and Methods
The proposed technical solution for the recovery of phenolic compounds has been extensively discussed by the authors in previously published work [33,35]. Briefly, it can be described as a series of steps, first with the pretreatment of the OMW for the removal of the suspended solids, followed by membrane filtration (in line ultrafiltration, nanofiltration, and reverse osmosis), for the separation of the dissolved compounds according to their molecular weight, followed by the selective adsorption and desorption of resins for the separation of low molecular weight phenols from the low molecular weight carbohydrates ( Figure 2). Finally, after the desorption of phenols with the use of ethanol, the ethanolic solution undergoes vacuum evaporation for the recovery of ethanol and the production of the final product of the process, a concentrated solution of low molecular weight phenols. Experimental results have shown that the final product can reach 380 g/L of phenols in gallic acid equivalents, with 85 g/L being hydroxytyrosol [35]. The basis of the technoeconomic analysis in this study was the scaling of the equipment cost, followed by the calculation of the total operational cost on a yearly basis. The equipment cost for the scale of 36 m 3 /d was collected from market data with average values being used. The number of offers collected per item was: One offer for the storage tanks, agitation system, vertical separator, membrane system, resin housing, and evaporator, three offers for the decanter, five offers for the flotator. For reasons discussed in Section 3.2, the cost of the purchased equipment was proven to have a small influence on the overall cost of phenols separation. This was validated through a sensitivity analysis at the scale of 36 m 3 /d feed, with a 30% variation of the purchased equipment cost leading to only a 1% change in the phenols separation cost. Regarding the consumables, three offers were collected for the UF and NF membrane modules, two offers for the RO modules, and one offer for ethanol. As discussed in Section 3.2, resin cost was the most important cost identified through the analysis presented herein. Four offers were collected for the resin that had a standard deviation of 17%. Through a sensitivity analysis at the scale of 36 m 3 /d feed, this resin cost deviation results in a 14% standard deviation of the final phenols separation cost.
The size of needed equipment was based on data published by the authors in previous works [33,35]. Ten percent equipment downtime for maintenance or repairs was taken into account for the calculations. Even though OMW is a seasonally produced waste, the proposed treatment method has been proven capable of the separation of phenols from all the liquid and solid (after solvent extraction of the phenolic content) agro-industrial wastes tested by the authors. This would allow the treatment plant to adjust to the locally produced agro-industrial wastes and operate throughout the year.
The purchased equipment cost was then scaled using the six-tenths-factor rule [34,36]. This rule is based on the premise that higher capacity equipment costs less per unit of capacity, a fact also known as the economy of scale. After the calculation of the purchased equipment costs at different scales, the calculation of the fixed capital investment and the total operational cost was possible, according to the equations presented in Table 1 [36]. The fixed capital investment included the cost of the purchased equipment, supplementary materials needed for the installation of the equipment (piping, electrical connections, etc.), and the building that would house the treatment plant with all its facilities. It also included indirect costs for the building of the facilities. The total operational cost can be divided again to direct production costs that include the consumables, labor, and other charges directly connected with the production process, and other costs like the depreciation of the equipment and building (included in fixed charges), expenses for the marketing of the product, the loan rate for the initial investment, etc.
Apart from the main product of the process, several other byproducts are produced with a potential for profit. These byproducts include the solids separated from the initial waste during pretreatment, the high molecular weight fraction of phenols separated in the nanofiltration concentrate, and the lower molecular weight carbohydrates separated during the resin process. All these products can be implemented for the enrichment of animal feed with antioxidants (separated solids), the production of natural herbicides (high-molecular-weight phenols), and possibly as food additives (low molecular weight carbohydrates with low concentrations of phenols). Because of the complexity of the exploitation of this type of byproducts, the process will be examined under the premise that the separated phenol will be the only source of income for the treatment plant.

Purchased Equipment Cost and Fixed Capital Investment
As mentioned in Section 2, the collected data for the equipment refer to a process with a capacity of 36 m 3 /d. This capacity may seem a bit arbitrary, but it was chosen to size the equipment to capacities that would be easier to find in the market. Moreover, this capacity is a good estimate for the production capacity of a typical olive mill. Three independent production lines were chosen for the design to offer some flexibility to the treating capacity of the plant.
The equipment necessary, alongside the data collected from suppliers, is presented in Table 2. The equipment includes all the necessary storage tanks for holding the wastewater between the treatment steps, three pretreatment steps prior to membrane filtration (flotator, decanter, and vertical separator) to prevent membrane fouling as much as possible, the three-step membrane system (ultrafiltration, nanofiltration, and reverse osmosis), the resin process and the evaporator. As it was to be expected, the membrane filtration system is the most expensive part of the total equipment cost. This can be attributed to the high level of automation and monitoring required for the operation and maintenance of all the membrane steps needed in the process (UF, NF, RO). The pretreatment equipment also has a significant contribution (19%), followed by the large number of tanks required between the different steps of the process (13%). Through the rule of six-tenths for the economy of scale and the rest of the equations presented in Table 1, the purchased equipment cost and the fixed capital investment as a function of process scale are presented in Figure 3.

Total Operational Cost
Through the mass balance of the process [33], the most important consumables were identified and are presented in Table 3, with their expected yearly cost. For the membrane modules, a three-year lifespan was estimated, and for ethanol, 10% of its volume is considered not recoverable during the evaporation step and replenished with fresh solvent.  As it can be clearly observed from the yearly cost of resin replacement for the adsorption process, the cost is astronomical compared to the rest of the process. It is even larger than the total equipment cost. The cost presented in Table 3 corresponds to a resin lifespan of 50 adsorption/desorption cycles. From the mass balance of the process, with 50 cycles resin lifespan, approximately 0.6 kg of resin replacement per m 3 of OMW treated was calculated, with 11,826 m 3 of OMW being treated per year, leading to the resin cost presented in Table 3.
The effect of resin cost on the total operational cost is also illustrated in Figure 4, where consumables and solvents represent 54% of the total operational cost as it was calculated with the equations presented in Table 1.
The fact that the total operational cost depends so strongly on one consumable, like the resin needed for phenols adsorption that scales linearly with the amount of waste treated, indicates that the production cost per gram of phenols is not expected to drop at higher treatment plant capacities. This can be observed in Figure 5. It makes more sense to examine the effect of resin lifespan on the production cost of the separated phenols. Higher resin lifespans lead to less resin needed to be purchased per year and directly reduces the production cost, as can be observed in Figure 6.

Discussion
From the analysis presented in this work, it is obvious that the resin lifespan is the single most important factor that will dictate the production cost for the separated phenols through the proposed process. During lab-scale experiments [30], the authors identified that after five resin cycles, no signs of separation efficiency drop were observed for the resin adsorption/desorption process. Unfortunately, in most of the scientific publications examined, the aspect of resin lifespan has not been explored. Moreover, the very specific nature of the solution used in the adsorption/desorption step of this process (only soluble lower molecular weight compounds contained in OMW) made finding relevant data for the expected resin lifespan proved rather difficult. Nevertheless, some information for processes as similar as possible to the one examined in this work will be mentioned. Sid Kalal et al. [37] used an amberlite XAD-4 resin functionalized with alizarin red-s for the adsorption of Rh(III), which exhibited less than 5% adsorption capacity change after 10 adsorption/desorption cycles. Pan et al. [38] examined the adsorption of 4-nitrophenol on a hyper-cross-linked polymeric resin from the same material as amberlite XAD-4. The authors of this work compared XAD-4 with the novel one they produced, with the novel resin having higher adsorption capacity than XAD-4 due to its cross-linked nature but similar desorption kinetics. The authors tested the cross-linked resin for 25 adsorption/desorption cycles with no significant changes. An estimate of 20-50 cycles resin lifespan would lead to a production cost of 3.7 to 1.6 €/g of phenols separated with the process. In order to put this number into perspective, the price of five extra virgin olive oils marketed as high phenolic content products that were found in the market ranged from 42 to 100 €/L. By subtracting a typical price of extra virgin olive oil (13.6 €/L) and using available data from the producers for the phenolic content of their products, a mean value of 76 €/g of phenols reported were added to the price of the olive oil. This may not be directly comparable to the price of the phenols separated from OMW but is indicative of the great interest in this type of antioxidants. Another possible application of the phenolic extract produced through the proposed process would be as a food supplement. Currently, there are products in the market with phenolic extracts, mostly from olive leaves, with very little information available regarding the extraction processes used for their production. The authors examined four supplements marketed as olive leaf extracts that reported their oleuropein content, with their price per g of oleuropein ranging from 1 to 17 €/g. One supplement marketed as olive polyphenols reported its content in hydroxytyrosol, with a price of 52 €/g.
In the work of Frascari et al. [39], for OMW phenol separation through resin adsorption after microfiltration, a separation cost of 1.7-13.5 per kg of phenols was calculated, but with an assumed resin lifespan of 500 cycles, with the authors stating that this number should be confirmed through further research. Even with 500 cycles resin lifespan, resin cost constituted 48% of the operational cost calculated. The authors of this work believe that 500 cycles lifespan is overoptimistic for a process that involves complex mixtures of phenols with other compounds contained in OMW. By assuming 500 cycles resin lifespan in the present study, the contribution of resin cost to the total operational cost drops from 54% to 22%, while the cost of phenols separation drops from 1.6 to 0.4 €/g. This price is still one to two orders of magnitude greater than the one calculated by Frascari et al., a difference that may be attributed to the more complex separation method presented herein that targets lower molecular weight and higher added-value phenols.

Conclusions
The process of phenols separation from olive oil production derived byproducts (and other agro-industrial byproducts rich in phenolic compounds) developed by the authors was examined from a technoeconomic point of view. The final product of this process is a phenolic extract with concentrations of phenols reaching 380 g/L. The main production costs were identified as direct costs that are not reduced at higher treatment plant capacities but are directly proportional to the amount of waste treated. Through the methodology presented herein, a production cost of 3.7 to 1.6 €/g of phenols separated was estimated, strongly depending on the lifespan of the adsorption resin, highlighting the importance of resin lifespan identification and optimization for the viability of the process. Economic viability is one of the most important aspects examined by stakeholders before adopting a novel process.
This kind of product can be of interest to several rapidly growing industry sectors, like cosmetics, pharmaceuticals, and nutraceuticals production industries. Typically, phenols are present at low concentrations in this type of products (10 mg/L OMW phenols in sunscreens [40] and up to 3% grape extracts in cosmetics [41]), a fact that puts into perspective the actual cost for the amount of phenols needed for this type of products. In this perspective, the production cost identified in this study seems to allow the exploitation of the products of the proposed process by this type of industry. This can be a strong incentive for the treatment of OMW, diverting such a difficulty to treat waste from environmental receptors. The extraction of value and the alleviation of the environmental problems caused by OMW can lead to more sustainable olive oil production, an important agro-industrial product of Mediterranean countries. Funding: This work was supported by the project "INVALOR: Research Infrastructure for Waste Valorization and Sustainable Management" (MIS 5002495) which is implemented under the Action "Reinforcement of the Research and Innovation Infrastructure", funded by the Operational Programme "Competitiveness, Entrepreneurship and Innovation" (NSRF 2014-2020) and co-financed by Greece and the European Union (European Regional Development Fund).