Hardwood spent mushroom substrate–based activated biochar as a sustainable bioresource for removal of emerging pollutants from wastewater

Hardwood spent mushroom substrate was employed as a carbon precursor to prepare activated biochars using phosphoric acid (H 3 PO 4 ) as chemical activator. The activation process was carried out using an impregnation ratio of 1 precursor:2 H 3 PO 4 ; pyrolysis temperatures of 700, 800, and 900 °C; heating rate of 10 °C min −1 ; and treatment time of 1 h. The specific surface area (SSA) of the biochars reached 975, 1031, and 1215 m 2 g −1 for the samples pyrolyzed at 700, 800, and 900 °C, respectively. The percentage of mesopores in their structures was 75.4%, 78.5%, and 82.3% for the samples pyrolyzed at 700, 800, and 900 °C, respectively. Chemical characterization of the biochars indicated disordered carbon structures with the presence of oxygen and phosphorous functional groups on their surfaces. The biochars were successfully tested to adsorb acetaminophen and treat two simulated pharmaceutical effluents composed of organic and inorganic compounds. The kinetic data from adsorption of acetaminophen were fitted to the Avrami fractional-order model, and the equilibrium data was well represented by the Liu isotherm model, attaining a maximum adsorption capacity of 236.8 mg g −1 for the biochar produced at 900 °C. The adsorption process suggests that the pore-filling mechanism mainly dominates the acetaminophen removal, although van der Walls forces are also involved. The biochar produced at 900 °C removed up to 84.7% of the contaminants in the simulated effluents. Regeneration tests using 0.1 M NaOH + 20% EtOH as eluent showed that the biochars could be reused; however, the adsorption capacity was reduced by approximately 50% after three adsorption–desorption cycles.


Introduction
Pharmaceuticals are a large and diverse group of human and veterinary medicinal compounds used in large quantities worldwide [1].These types of chemicals are classified as emerging pollutants, i.e., synthetic or natural substances generated by human activities that may cause ecological impacts but are not included in routine monitoring programs.However, depending on their (eco)toxicity, potential health effects, and occurrence, these compounds may be candidates for future regulation [2,3].Pharmaceuticals are chemicals designed to alter the body's metabolic processes, functions, and structures for the patient's benefit.The drugs are metabolized mainly through the liver and digestive system; however, this process does not occur in 100%.This means that metabolized and free forms of the drugs are excreted and end up in wastewater that in urban areas is commonly transported to sewage treatment plants.Apart from this, solid waste treatment plants equipped with suitable technology for recycling or destruction of harmful chemicals are uncommon in most countries, and pharmaceuticals that are past the expiration date are often disposed of together with household garbage or flushed in toilets, which leads to increased pressure on the environment.Pharmaceutical compounds, such as cancer and psychiatric drugs, antibiotics, analgesics, and anti-inflammatories, among others, have been found in rivers [4], surface waters [5], and groundwater [6].Leachates from municipal solid waste landfill sites have also been described as the cause of surface and groundwater contamination [7,8].Research studies have found that the continuous presence of pharmaceuticals in surface water, even in concentrations of µg L −1 or ng L −1 , has the potential to over time interact with organisms and cause a wide range of ecological and human health problems [9,10].
Conventional urban sewage water treatment, based on biological processing and activated sludge, is usually unable to remove residual concentrations of all kinds of pharmaceuticals [11], meaning that some drugs always make it into the fresh waters of rivers, lakes, and seas.Advanced treatments to reduce the concentration of emerging pollutants in water include the following: ozonation, which is usually incapable of removing common persistent micropollutants such as X-ray contrast media [12].Membrane technologies are available in a wide span of options adapted for different applications, but the running costs of using this technology depend on water-quality issues [13].The solar photo-Fenton method, by itself, is used to degrade organic contaminants, but it needs to be combined with other methods based on adsorption to obtain water free of degradation products [14,15].Photo-Fenton electrochemical degradation is quite an unexplored and complex technology that involves the use of chemicals and expensive equipment [16].Photolysis, photocatalysis, and photodegradation lead to degradation products and require expensive equipment [17][18][19].Electrochemical oxidation also requires the use of chemicals and expensive equipment [20].Different treatments based on biosorption using algae and fungi are not very efficient, and the possibility of regenerating the biosorbent is minimal [21].Adsorption using different materials based on clay minerals is an efficient option for the removal of contaminants from water, but the adsorbent production methods and raw materials are usually expensive [22][23][24].Therefore, most of these technologies represent an unrealistic solution in underdeveloped and developing countries.
Research has shown that filters based on activated carbon made of precursors such as different types of biomasses are a good option for the removal of emerging pollutants from water [25][26][27][28].This type of technology has several advantages, such as initial low implementation and operation costs, and the removal effectiveness can reach 100%.This urges the development of water cleaning methods based on inexpensive and widely available biomass residues.
White-rot fungi such as Pleurotus spp.and Lentinula edodes, among others, are commonly cultivated on substrates made of hardwood sawdust and have the ability to use cellulose, hemicellulose, and lignin as carbon sources.The edible mushroom industry represents a multimilliondollar industry.China is one of the largest producers and exporters of edible mushrooms with approximately 80% of the products in the global market, followed by the EU and the USA that stand for approximately 10%.The total global production of edible mushrooms is approximately 34 Mt with a 30-fold increase since 1978, which corresponds to a value of around 34 billion USD [29].After cultivation, approximately 70 wt% dry mass of the initial substrate usually remains as a waste known as spent mushroom substrate (SMS) [30,31].The latter has no commercial value and cannot always be reused within the mushroom production processes and, therefore, represents a problematic waste that needs to be disposed of without generating environmental issues.This type of waste is mainly composed of partially degraded cellulose, hemicellulose, and lignin and could be used as a precursor to produce carbon-based materials to remove emerging contaminants from water.
This paper shows how birch wood-based SMS can be utilized as a precursor for producing high surface area meso/ microporous biochars using the chemical activation method with phosphoric acid at different process temperatures.The carbons were characterized for their textural properties by N 2 adsorption-desorption isotherms, and surface functionalities were identified using Raman, Fourier transformed infrared (FT-IR), and X-ray photoelectron spectroscopy (XPS).The surface morphology of the biochars was studied using scanning electron microscopy (SEM).The efficiency of the produced biochars to remove micropollutants from water was examined in batch assays using acetaminophen and synthetic effluents composed of organic and inorganic compounds.The adsorption capacity, kinetics, and adsorption mechanisms were discussed.

Precursor
Spent mushroom substrate (SMS) was obtained from a previous work where Pleurotus ostreatus mushroom was cultivated on different substrates [32].The SMS used in this work was composed of birch (Betula spp.) sawdust and a minor amount of wheat bran.The raw SMS was milled and screen-sieved to obtain a material with homogeneous particle size.Particles with a diameter between 1 and 2 mm were used as carbon precursor to prepare the activated biochars.

Impregnation and activation process
The precursor used for each experiment (100 g) was mixed with phosphoric acid (50 wt%) using a weight ratio of 1 precursor:2 acid, kneaded to obtain a homogeneous blend and left overnight at room temperature in a sealed container.The activation process was carried out in one step by pyrolysis in an inert atmosphere using a tubular stainless steel reactor (diameter of 100 mm and length of 200 mm) equipped with a thermocouple to measure the temperature of the sample.The reactor was heated externally by an electric muffle furnace.The impregnated precursor was placed in the reactor and heated from room temperature to a final temperature of 700, 800, and 900 °C under N 2 gas flow (500 mL min −1 , 99.99%) at a heating rate of 10 °C min −1 .The final temperature was kept for 1 h, and after that, the sample was allowed to cool down to a temperature below 150 °C under a N 2 gas flow of 250 mL min −1 .Next, the N 2 gas was closed, and the sample was allowed to cool down to room temperature overnight.To remove by-products from the carbonaceous matrix, the produced biochars were washed several times successively with hot water until a neutral pH was attained.The samples were finally dried overnight in an oven at 105 °C to obtain the final product.

Characterization of the biochars
The textural characterization of the biochars was performed by N 2 adsorption − desorption analysis using Tristar 3000 apparatus, Micrometrics Instrument Corp., Norcross, GA, USA.The samples were first degassed at 110 °C for 3 h under N 2 flow and then measured at liquid N 2 temperature (− 196 °C).The specific surface area (SSA) of the samples was calculated by multipoint N 2 sorptiometry using the Brunauer-Emmett-Teller (BET) principle.In addition, pore-volume, average pore size, and pore size distribution were obtained from sorption isotherms using the Barrett − Joyner − Halenda (BJH) model.
Representative samples of the biochars were analyzed using Raman, Fourier transformed infrared (FT-IR), and X-ray photoelectron spectroscopy (XPS) to identify surface functionalities.The morphology of each biochar was analyzed using scanning electron microscopy (SEM).Raman spectra were collected using a Bruker Bravo handheld spectrometer (Bruker, Ettlingen, Germany) attached to a docking measuring station.The biochar samples were manually ground using an agate mortar and pestle, placed in 5-mL glass vials, and scanned in the 300-3200-cm −1 spectral range at 4 cm −1 resolution for 256 scans.Min-max normalization over the 1000-2000-cm −1 region and smoothing (9 points) was done using the built-in functions of the OPUS software (version 7, Bruker Optik GmbH, Ettlingen, Germany); baseline correction was not needed.FT-IR spectra were collected with a Bruker IFS 66v/S instrument (Bruker Optics, Germany) in the 4000-400 cm −1 spectral range at 4 cm −1 resolution for 256 scans.Approximately 5 mg of sample was mixed with 400 mg of spectroscopy-grade potassium bromide (KBr) (Uvasol, Merck KGaA, Germany) and manually finely ground using an agate mortar and pestle.Background spectra were collected using pure ground KBr.FT-IR spectra were treated using a 64-point rubber band baseline correction and vector normalization over the 3700-500-cm −1 region using the Opus software.XPS spectra were collected using a Kratos Axis Ultra DLD electron spectrometer using a monochromated Al K α source operated at 150 W. Analyzer pass energy of 160 eV for acquiring survey spectra and a pass energy of 20 eV for individual photoelectron lines were used.The samples were gently hand-pressed using a clean Ni spatula into a special powder sample holder.Because activated carbon samples are conductive, no charge neutralization system was used.Binding energy (BE) scale was calibrated following the ASTM E2108 and ISO 15472 standards.Processing of the spectra was accomplished with the Kratos software.SEM imaging was carried out using a field-emission scanning electron microscope (FESEM; Zeiss Merlin) with an in-lens secondary electron detector.The instrument was operated at an accelerating voltage of 5 kV and probe current of 100 pA.Samples were attached to carbon tape mounted on aluminum stubs and coated with 2 nm of platinum using a Quorum Technologies Q150T ES device.

Batch adsorption and regeneration tests
The acetaminophen initial solution concentrations used for the adsorption tests varied from 10 to 1000 mg L −1 at different pH (3.0 to 9.0).Then, aliquots of 20.00 mL of acetaminophen were added to 50.0 mL Falcon flat tubes containing different biochar masses (from 20 to 80 mg).All the adsorption tests were performed at a fixed temperature of 22 °C.First, the Falcon tubes containing acetaminophen and biochars were agitated in a KS250 shaker (IKA Labortechnik) for 1 to 360 min.Afterwards, to separate the biochars from the solutions, the tubes were kept vertical, and a few seconds later, the biochar particles settled down, and with a pipette, the solution was withdrawn; no centrifugation was needed.Next, the residual acetaminophen solutions were measured using a UV-Visible spectrophotometer (Shimadzu 1800) at a maximum wavelength of 243 nm.The adsorption capacity (Eq. 1) and the percentage of acetaminophen removed (Eq.2) are given below: where q denotes the removal capacity of acetaminophen adsorbed by the biochars (mg g −1 ); C 0 the initial acetaminophen solution concentration in contact with the biochars (mg L −1 ); C f the final acetaminophen concentration after adsorption (mg L −1 ); m the mass of biochars (g); and V the aliquot of the acetaminophen solution (L) introduced in the tube.
The influence of the mass of the biochars on acetaminophen removal was performed using an initial concentration of 200 mg L −1 , a contact time of 6 h, natural pH of 6.0, and biochar mass varying from 20 to 80 mg in 20 mL of acetaminophen solution.
To study of the influence of the initial pH, adsorption tests using acetaminophen solutions with an initial concentration of 200 mg L −1 and pH ranging from 3.0 to 9.0 were carried out using an adsorbent dosage of 2.0 g L −1 and a contact time of 6 h.These experiments were carried out in triplicate.Average values with standard deviation are reported.
For regeneration tests, acetaminophen-laden biochars were washed with water to remove any unadsorbed drug and dried overnight in an oven at 50 °C.The dried-laden biochars were contacted with two eluents, i.e., 0.1 M NaOH + 20% EtOH and 0.25 M NaOH + 20% EtOH and agitated for 6 h [27].The desorbed pharmaceutical was then separated from the biochar.The latter was washed with water to remove the eluent and dried overnight in an oven at 50 °C.The adsorption capacity of the recycled adsorbent was measured again.A total of four consecutive adsorption-desorption cycles were carried out.This was done in triplicate; average values with standard deviation are reported.

Models of kinetics and isotherms of adsorption
Pseudo-first-order, pseudo-second-order, and Avrami fractional-order models were used to fit the kinetic data [33][34][35][36].The mathematical equations of these respective models are shown in Eqs. 3, 4, and 5.
where t denotes the contact time (min); q t and q e are the amount of adsorbate adsorbed at time t and the equilibrium, respectively (mg g −1 ); k 1 is the pseudo-first-order rate constant (min −1 ); k 2 the pseudo-second-order rate constant (g mg −1 min −1 ); k AV the Avrami fractional-order constant rate (min −1 ); and n AV the dimensionless Avrami exponent.
where q e denotes the adsorbate amount adsorbed at equilibrium (mg g −1 ); C e denotes the adsorbate concentration at equilibrium (mg L −1 ); Q max denotes the maximum adsorption capacity of the adsorbent (mg g −1 ); K L denotes the Langmuir equilibrium constant (L mg −1 ); K F denotes the Freundlich equilibrium constant [mg g −1 (mg L −1 ) −1/nF ]; K g denotes the Liu equilibrium constant (L mg −1 ); and n F and n L are the dimensionless exponents of Freundlich and Liu models, respectively.
The fitting of the kinetic and equilibrium data was evaluated using nonlinear methods, which were evaluated using the Simplex method and the Levenberg-Marquardt algorithm using the fitting facilities of the Microcal Origin 2020 software.The suitableness of the kinetic and equilibrium models were evaluated using the determination coefficient (R 2 ), the adjusted determination coefficient (R 2 adj ), and the standard deviation of residues (SD) [25,27,33,34] showed in the Eqs.9, 10, 11 below.
In the above equations, q i, model is the individual theoretical q value predicted by the model; q i, exp is the individual experimental q value; q i,exp is the average of all experimen- tal q values measured; n is the number of experiments; and p is the number of parameters in the fitting model.
The R 2 adj and SD values were used to compare different models of kinetics and equilibrium presented in this work.( 6) The best-fitted model would present the highest R 2 adj and lowest SD values [25,27,33,34].

Simulated pharmaceutical effluents
Two synthetic aqueous effluents made of different pharmaceuticals, as well as other organic and inorganic compounds (Table 1), were used to test the ability of the biochars for treating real effluents.The relative effectiveness of each biochar to remove contaminants from each effluent was calculated based on the area under the UV-Vis spectra before and after the adsorption treatment under the band of absorption from 190 to 800 nm.As was found in other studies [27], this is a quick and simple method that provides an idea of the behavior of the adsorbent during treatment of mixtures of different chemicals even if the λ max of some of the components is outside the measured spectral range.

Textural properties and morphology
All three biochars displayed the same trend of the N 2 isotherm curve of adsorption/desorption (Fig. 1 a, b, and c), which is closed to the so-called type IV isotherm, according to IUPAC [37].A type IV isotherm shows hysteresis, which belongs to the mesoporous materials.However, the curves also indicate the presence of some microporosity due to the high N 2 adsorption volume at low pressure.The pyrolysis temperature seemed to have influenced only the total N 2 amount adsorbed.
Although the temperature did not influence the type of the N 2 isotherm, it influenced to a good extent the porosity of the biochar-700, biochar-800, and biochar-900.Table 2 shows that the SSA values increased as the temperature increased.The biochar-900 exhibited the highest SSA equal to 1215 m 2 g −1 .
The presence of both mesopores and micropores is significant for their use as adsorbents for micropollutant adsorption applications because they have significant and different roles concerning the efficient pollutant diffusion in the pore networks of the adsorbent materials [25,38,39].
BJH measurements show the pore size distribution for the three biochars (Fig. 1 d, e, and f).Although the pyrolysis temperature shows no effect on the biochars' pore structure, the samples show similar curves with the prominent peak in the same region at around 3.7 nm; virtually, no pores larger than 30 nm are present in the samples.In addition, the curves show that from 20 nm smaller sizes, the volume adsorption starts to rise to highlight the presence of a large number of large micropores or mesopores from bigger than 2 and smaller than 20 nm.
To examine the influence of the pyrolysis conditions and H 3 PO 4 activation on the surface morphology of the biochars, they were subjected to SEM analysis.Figure 2 shows the surface morphology of the three biochars.The SEM images display that all samples present intact structures with roughness and irregular structure with big amounts of holes and cavities that seem to be in a bigger extent for the biochar-800 and biochar-900, which is in accordance with the SSA and pore structure results.By the SEM analysis, it is possible to infer that the pyrolysis temperature (under H 3 PO 4 activation) influenced the surface characteristics of the biochars.In addition, the images also show large presence of macropores and ultramacropores; this is very important because if the biochars are used as adsorbent to remove pollutants from waters, they serve as vectors of passage of solution through macropores until it attains smaller pores (in the interior of the biochars).

FTIR, Raman, and XPS analyses
FTIR analysis was carried out to observe how the pyrolysis temperature influenced the presence of chemical functional groups on the biochars' surfaces; it provides valuable information about the chemical surface activity of the biochars.The functional groups present in the biochars are shown in Fig. 3a.The spectra identified the presence of -OH stretching vibration at 3438 cm −1 .At 2930 cm −1 , it can be assigned to the C-H group stretching vibrate in long-chain aliphatic components [40,41], while the peak at 1628 cm −1 is related to C = O from carboxylic compounds [41].At 1141 and 1004 cm −1 , the amino phosphonic acid functional group and P-OH bonds can be assigned, demonstrating that a reaction occurred between H 3 PO 4 and the precursor matrix to form biochar-700, biochar-800, and biochar-900 [40].The addition of P-containing functional groups on biochars surfaces might positively affect the acetaminophen adsorption.In addition, the peaks at 611 and 479 cm −1 could be assigned to the C-H of alkenes and alkanes.
Raman spectroscopy analysis was performed to evaluate the degree of graphitization of the prepared biochars.From the spectra was determined the I D /I G band ratio (Fig. 3b) calculated using the area under each peak.The lower I D /I G value indicates that biochar exhibits a more perfect and orderly graphite structures with a high graphitization degree [42], while a higher I D /I G reveals more structural defects in carbon materials.Moreover, I D /I G values also serve to identify the size of the sp 2 domain related to graphite structure in the biochar structure [39,42].Figure 3 b shows that the pyrolysis temperature did influence the graphitization degree of the biochars.The I D /I G band ratios were 1.04 (700 °C), 1.26 (800 °C), and 1.29 (900 °C), respectively.These values suggest a lower degree of graphitization of biochars resulting from the abundant presence of structural defects such as bonding disorders, vacancies, and heteroatoms in the graphene layers [42] as the pyrolysis temperature is increased.These defects may help provide more adsorption sites, which reflect better adsorption properties.The elemental composition and chemical state of the biochars were evaluated through XPS analysis.XPS spectra provide more details on different surface modifications caused by oxidative-acidic treatments.Figure 4 shows C 1 s, O 1 s, and P 2p 3 / 2 spectra, carbon, oxygen, and phosphorus bonds, respectively.
For all the investigated biochar samples, at least six forms of carbon occurring on the surface can be found (Fig. 4).The deconvolution of the C 1 s spectra shows bands at 284.2 eV which is assigned to graphitic carbon.The bands at 285.4-286.6 eV can be attributed to phenols ethers or alcohols (C-O-) and C-P bonds.At 287.5-287.8eV, the bands can be attributed to carbonyl, quinone, or carbon bonded to nitrogen structures (C = O, C-N).At 288.5-288.7 eV, the bands are usually assigned to carboxylic groups or esters (COO).Moreover, the band at 290.1 eV is assigned to carbonates, occluded CO, or π-electrons in aromatic rings (C = O/C = C) [43][44][45].
These structures are confirmed by O 1 s spectra (Fig. 4) which shows bands at 530.3 eV, which might correspond to oxygen singly bonded to carbon and phosphorus groups (C-O-P groups), or metal oxides [43][44][45]; C = O bonds can be assigned at around 532 eV [43][44][45], and the band at around 533.9 eV is usually assigned to oxygen singly bounded to carbon in phenols and ethers [45].The band at around 537 eV seen in the biochar-900 °C is occluded CO or CO 2 [45].
For the P 2p spectra, a band at 132.4 or 132.5 eV is observed in all three biochars that is commonly assigned to phosphate species in which P atom is bonded to O atoms (P-OH and or C-O-PO 3 ) [43,44,46], which is in agreement with the FT-IR results.The presence of P chemical bonds was also evidenced in the O 1 s spectrum (Fig. 4).Another band at 133.2-133.4eV is also observed in the three biochars, which is attributed to C-PO 3 and or C 3 -PO [44,46].The presence of P is related to the H 3 PO 4 activation process, which acted also as P-doping process and can result in better adsorption properties.
The quantitative information for the main elements, from XPS, is shown in Table 3.The amount of C presented on the three biochars was high and had no significant variance.The O content also showed no big variance and presented high values for all samples.About the P-functional groups, as the temperature increased, the presence of P decreased; a large number of functionalities on the biochars' surfaces (especially for functional groups related to C = O, C-OH, and P = O (see Table 3) can result in better adsorption performances.

Influence of the biochar mass on acetaminophen removal
The adsorbent mass or dosage effect on the adsorption process is crucial for making the adsorption process applicable on an industrial scale because it avoids waste generation and minimizes costs associated with the process [47,48].The biochar's mass effect on acetaminophen removal was carried out varying amounts of biochar from 20 to 80 mg in 20 mL of acetaminophen solution, at an initial concentration of 200 mg L −1 , 6 h of agitation, pH 6.0, and temperature of 23 °C.The results obtained are presented in Fig. 5.
The percentage of removal increases as the biochar mass increases and its maximum (100%) was obtained for masses of 50.0, 60.0, and 70.0 mg for biochar-900, biochar-800, and biochar-700, respectively.Figure 5 shows that the acetaminophen percentage of removal increases, from 52 to 100%, as the biochar-700 mass is increased from 20 to 70 mg, respectively.For the biochar-800, the percentage of removal increased from 56.0 to 100.0% when the mass was increased from 20.0 to 60.0 mg, while for biochar-900, the percentage of removal increased from 68.0 to 100.0% when the mass increased from 20.0 to 50.0 mg.The highest efficiencies followed the highest SSA values, biochar-700, biochar-800, and biochar-900, respectively (see Fig. 5).
Increased biochar mass led to an increase in the available area and adsorption sites responsible for the adsorption process, and, therefore, the adsorption increased [47,48].On the other hand, for the adsorption capacity, an increase in the biochar's mass led to a continuous decrease in the q value as the adsorbent mass increases.This phenomenon could be mathematically explained by Eq. 12.
Considering that when the percentage of removal attains a plateau (its value becomes practically constant) and that the value of volume and initial concentration of the pharmaceutical are fixed values, the sorption capacity is inversely proportional to the mass of the adsorbent.
Based on biochar mass studies, the optimal mass amount of the biochars was set up to be 40.0mg (2.0 g L −1 ).At this dosage, the removal capacities were 83, 87, and 98% for biochar-700, biochar-800, and biochar-900, respectively, practically attaining a plateau.This choice is justified because using a mass amount higher than 40 mg would not considerably improve the removal capacity [46,47].
Therefore, for further adsorption experimental studies (effect of the pH, kinetic and isotherm studies and effluent treatment), the mass of biochar was fixed at 40.0 mg in 20.0 mL of adsorbate solution (2.0 g L −1 ).

Influence of pH of acetaminophen solution on its adsorption process
The role of pH in acetaminophen ionization is significant due to the presence of different functional groups on the biochars' surfaces [25].Figure 6 shows the adsorption capacity vs. the pH of the acetaminophen solution.It can be seen that for pH values 3-9, the q values were practically constant.These outcomes suggest that the adsorption mechanism for acetaminophen on the prepared biochars should not be electrostatic since it is not pH-dependent [25,27].Instead, porefilling should be the most dominant mechanism of adsorption, which will be discussed later.These results are supported by literature.Saucier et al. [25] prepared magnetic biochar and applied them for adsorption of acetaminophen.They varied the pH from 3 to 10 and found that the removal was practically constant within this pH interval.No pH influence was detected.
Based on the pH studies, further adsorption experiments were carried out with acetaminophen solutions with pH 6.0 (pH of the used deionized water); therefore, it was unnecessary to make any pH adjustments if the solution remains within pH 3.0-9.0.The same is true for the synthetic effluents.

Kinetic studies
Kinetics of adsorption is an essential factor in determining the adsorption mechanism, associated with other data of characterization of the adsorbent and adsorbate and the equilibrium studies.The adsorption kinetics of acetaminophen on the biochars was explored using nonlinear pseudo-firstorder, pseudo-second-order, and Avrami fractional-order kinetic models.
The kinetic curves and fitting parameters of the models are shown in Fig. 7 and Table 4, respectively.The suitability of the models was evaluated through the adjusted determination coefficient (R 2 Adj ) and standard deviation (SD) [27,38,39,[47][48][49].Lower SD and higher R 2 Adj values show a reduced disparity between experimental and theoretical q values and, therefore, higher suitability of the model [38,39,[49][50][51].Based on that, the Avrami fractional-order model was the most suitable because it presented the highest R 2 adj and lowest SD values for the three biochars (Table 4).
These results indicate that the Avrami fractional-order explained better the adsorption process of acetaminophen by all three biochars.The Avrami model indicates that the adsorption is complex, and the adsorption mechanisms follow different pathways [50,51].To further understand the adsorption process, intraparticle diffusion graphs are also shown (see Fig. 7 d, e, and f).The adsorption dynamics included three stages.The first stage can be related to boundary diffusion, where the adsorbate diffused on the adsorbent exterior surface [36,52].Intraparticle diffusion Fig. 7 Kinetic (a, b, and c) and intraparticle (d, e, and f) curves for acetaminophen adsorption on the biochars.a, d Biochar-700, b, e biochar-800, and c, f biochar-900.Adsorption experimental conditions: the initial adsorbate concentration was 200 mg L −1 , temperature of 22 °C, adsorbent dosage of 2.0 g L −1 , initial pH adsorbate solution 6.0 into the pores of the adsorbent represents the second stage [36,52].In the third stage, the acetaminophen was adsorbed and diffused into the interior site of the biochars (through smaller pores), which is followed by the attainment of equilibrium [36,52].
Due to the biochar-900 textural properties and chemical surface features, it had a faster kinetic of adsorption when the values of t 0.5 and t 0.95 are considered.Biochar-900 displayed the highest SSA and higher amount of micro and mesopores (see Table 2), and this can explain the better efficiency in the adsorption process.
The adsorption work was further continued by establishing the contact times such as 3.5 h.The established contact time was slightly higher than the t 0.95 to ensure that the adsorption process had enough time to reach the equilibrium between acetaminophen and biochars because t 0.95 will attain 95% saturation; the equilibrium should be established when the complete saturation of the adsorbent is attained.

Equilibrium studies
Equilibrium of adsorption is one of the most critical pieces of information for the correct understanding of an adsorption process.Therefore, it is crucial to understand the adsorption mechanism pathways and effective design of the adsorption system [27,38,39,[47][48][49].Therefore, the equilibrium system between acetaminophen and the biochars was evaluated using the nonlinear fitting of Langmuir, Freundlich, and Liu models and the obtained data are displayed in Fig. 8 and Table 5, respectively.
The suitability of the equilibrium models was evaluated in the same way as for the kinetic studies (through R 2 Adj and SD values).Based on that, the Liu isotherm model was the most suitable model for all three biochars because it presented the highest R 2 Adj and lowest SD values.It was, therefore, used to describe the relationship between acetaminophen and the biochars adsorption system.
This isotherm model can be applied to both homogenous and heterogeneous systems, and it has a hybrid adsorption mechanism, which does not follow ideal monolayer adsorption.This is highlighted because Freundlich did not provide a good fit for the experimental adsorption data (see Fig. 8 and Table 5).This suggests that the adsorption process of acetaminophen on the three biochars was more homogenous than heterogeneous.

Acetaminophen mechanism of adsorption
Based on the porosity, chemical characterization and adsorption data such as SSA, pore size distribution, surface functionalities, initial pH solution, the kinetics of adsorption, and equilibrium studies, the possible acting mechanisms of adsorption of acetaminophen on the biochars are suggested in Fig. 9.
It can be stated that electrostatic attraction was not the primary mechanism acting between acetaminophen and the biochars since it depends on pH, and it was shown that the pH did not influence the acetaminophen removal.However, some interactions such as van der Walls (hydrophobic interactions, π-π stacking), hydrogen bonds, and polar interactions of the oxygen and nitrogen groups of the acetaminophen with the polar groups of the biochars took place [35,49].In addition, Nguyen et al. [53] also reported a minor contribution of weak van der Waals force in the adsorption mechanism of acetaminophen on biochars.
The major mechanism that took place on the acetaminophen removal was the pore-filling due to the well-developed pore structure and elevated SSA values.Therefore, the pore-filling largely contributed to the high efficiency of acetaminophen adsorption (Fig. 9).
Due to the dimensions of the acetaminophen molecule (1.19 nm (length), 0.75 nm (width), and 0.46 nm (thickness)), it is expectable that it can easily access the wider and also some of the narrower micropores.Galhetas et al. [54] reported that the affinity of acetaminophen molecules is maximized by pores centered at pore widths near 0.7 nm.Table 2 shows that our biochars presented large portions of mesopores that facilitate the acetaminophen adsorption.

Synthetic wastewater treatment tests
Considering the excellent properties of the biochars for acetaminophen removal, it is expected that all three biochars could be effectively employed in the treatment of wastewaters composed of compounds commonly found in effluents from hospitals or pharmaceutical industries.Therefore, two synthetic wastewaters with seven drugs and other organic and inorganic compounds, usually found in wastewaters (Table 1), were employed to test the ability of the biochars to clean them up (Fig. 10).

Regeneration studies
The biochar with the better acetaminophen removal performance (biochar-900) was used to evaluate the regeneration   Figure 11 shows that the eluent 0.1 M NaOH + 20% EtOH resulted in a better recyclability efficiency.The worse efficiency for the 0.25 M NaOH + 20% EtOH eluent could be explained by the fact that the higher concentration of NaOH could compete with the acetaminophen molecules, cover the biochar surface, and get trapped into the small pores of the biochar [27] (17.7% of the SSA is composed of micropores, see Table 2).
With the eluent 0.1 M NaOH + 20% EtOH, the 2nd cycle adsorbed roughly 70% of the acetaminophen, while in the 4th cycle, the removal was approximately 44%.This decrease could be caused by acetaminophen molecules seized in the small pores of the biochar, which is difficult to be removed by the eluent [27].
To sum up, the biochars exhibited good reusability for a second cycle.However, further experiments on testing different eluents could help the biochar to reach even higher adsorption performances after two or more cycles.

Conclusions
In this work, birch wood-based spent mushroom substrate (SMS) was employed as a precursor to prepare highly porous biochars using a single step activation procedure with phosphoric acid (H 3 PO 4 ) as a chemical activator.The main results from this research can be summarized as follows: 1.The pyrolysis temperature influenced, positively, the porosity of the biochars.The specific surface areas (SSA) were 975 m 2 g −1 (700 °C), 1031 m 2 g −1 (800 °C), and 1215 m 2 g −1 (900 °C). 2. The biochars presented a very high percentage of mesopores in their structures, 75.4% (700 °C), 78.5% (800 °C), and 82.3% (900 °C). 3. Chemical characterization of the biochars indicated disordered carbon structures with the presence of oxygen and phosphorous functional groups on their surfaces.4. The kinetic data were fitted to the Avrami fractionalorder model and equilibrium of adsorption data was well represented by the Liu isotherm model, attaining a very high adsorption capacity of 236.8 mg g −1 for the sample pyrolyzed at 900 °C. 5.The adsorption mechanism suggests that the pore-filling mechanism mainly dominates the acetaminophen removal, although van der Walls forces are also involved in the process.6.The employment of the biochars in the treatment of simulated pharmaceutical effluents showed a high percentage of removal (up to 84.7%).7. The biochars can be regenerated using 0.1 M NaOH + 20% EtOH solution as an eluent; however, the percentage of removal was reduced by approximately 50% after three adsorption-desorption cycles.
The above results strongly suggest that birch wood-based SMS was a highly efficient precursor for biochar preparation, which could be effectively used to treat real effluents containing micropollutants.

Fig. 1 N
Fig. 1 N 2 isotherms (a, b, and c) and pore size distribution (d, e, and f) for the biochars

Fig. 4
Fig. 4 XPS spectra of the C 1 s, O 1 s, and P 2p for the produced biochars

Fig. 8
Fig. 8 Isotherm curves for acetaminophen adsorption on the biochar-700 (a), biochar-800 (b), and biochar-900 (c).Adsorption experimental conditions: the initial adsorbate concentration from 10 to 1000 mg L −1 , contact time of 3.5 h, temperature of 22 °C, absorbent dosage of 2.0 g L −1 , initial pH adsorbate solution 6.0 studies.The sample was tested in four adsorption-desorption cycles.The tests were performed at an acetaminophen initial concentration of 300 mg L −1 , an adsorbent dosage of 2.0 g L −1 , and two eluents were employed (solutions of 0.1 M NaOH + 20% EtOH and 0.25 M NaOH + 20% EtOH).

Fig. 9
Fig. 9 Mechanism of adsorption for acetaminophen on the biochar matrix

Table 1
Composition of the two synthetic effluents

Table 2
Textural properties of the biochars

Table 4
Kinetic parameters of acetaminophen onto the biochar samples

Table 5
Equilibrium parameters of acetaminophen onto the biochar samples