Customised Microporous Carbon 3D Structures with Good Mechanical Properties and High Nitrogen Content Obtained from Whey Powders

: Novel customised carbon monoliths with a high speciﬁc surface area were synthesised by carbonisation plus activation of dehydrated whey powders, a biomass byproduct of the dairy industry. The whey powders were casted directly by pouring them into a desired mould. After a pseudo-sintering process promoted by the self-reaction of the whey components (mostly lactose and whey proteins) at moderate temperatures (ca. 250 ◦ C), 3D porous carbons were obtained. The process did not require any binder or external overpressure to prepare the 3D porous carbons. Upon thermal activation with CO 2 or chemical activation with H 3 PO 4 and KOH, the shape of the monolithic structure was preserved after the development of a microporous network (S BET up to 2400 m 2 /g). Both thermal and chemical activation had little effect on the macroporosity of the monoliths. Activation of these 3D carbons had to be performed with care to avoid heterogeneous skin/core activation and/or overactivation. Highly porous monoliths (S BET of 980 m 2 /g; open porosity of 70%) with outstanding compressive strength (10 MPa) could be obtained by thermal activation (CO 2 ) of whey monoliths at 850 ◦ C for 1.5 h. Additionally, the use of whey as a precursor provided the carbon monolith with a relatively high nitrogen content (ca. 3 wt.%).


Introduction
The manufacture of most carbon materials that are technologically relevant has strongly relied on the fossil fuel industry.The predicted gradual phase-out of this industry is thus expected to have a massive impact on the way technological carbons are made today, with carbon materials corporations being compelled to search for low-carbon alternatives, including precursors.In this scenario, biomass is expected to play a primary role as a precursor in several carbon markets in which its presence has been so far residual or non-existent [1][2][3].
Biomass is already a significant contributor to the industrial production of porous carbon materials.Activated carbon companies nowadays consume lignocellulosic biomass (wood and coconut shell mainly) to obtain porous carbon powders or granules, which are daily used products in a wide variety of activities including environmental and energy storage applications [4][5][6].However, in a number of processes, 3D structured porous carbons (carbon monoliths) offer several advantages over powdered or granular ones [7][8][9].Monolithic structures incorporate transport pores to reduce the pressure drop in continuous operations such as industrial filters [10,11].They are also very relevant materials for heterogeneous catalytic reactors at the industrial level [12,13], and gas storage applications [14][15][16].In all these applications, not only the porosity of the carbon material is C 2023, 9, 100 2 of 17 of paramount importance but also how the 3D carbon structure endures the operating conditions in industrial plants.In other words, 3D structured porous carbons should also have good mechanical properties, which makes the current fossil fuel-derived resins and binders (i.e., pitch) imperative in the manufacture of carbon monoliths [17][18][19].
There have been significant efforts to cut off ties with this undesirable dependence.Carboxymethyl cellulose (CMC) has been used as a green binder with remarkable results in terms of the mechanical properties of the resulting activated carbon monoliths [20].However, the use of binders to agglomerate activated carbon powders has traditionally important drawbacks related to pore clogging [21,22].Strategies based on binder-free monoliths from biomass precursors are scarce.Indeed, a very interesting methodology comprises the formation of slurries from activating agents such as H 3 PO 4 or ZnCl 2 and lignocellulosic precursors [23][24][25].These slurries are prone to be either uniaxially compressed or extruded to obtain monoliths that withstand carbonisation and washing of the activation by-products.On the other hand, sustainable approaches to a greener synthesis of 3D structured porous carbons comprise studies with a number of novel biomass-derived precursors including polysaccharides [26], tannins [27], or novel biomass wastes (i.e., beyond lignocellulosic precursors) [28].Hydrothermal carbonisation (HTC) and other approaches also looked forward to obtaining 3D structured porous carbons, mainly carbon aerogels [29,30].However, results in terms of the mechanical integrity of those green carbon monoliths have been, in general, rather limited.
We have recently discovered the possibility of obtaining 3D porous carbons with outstanding mechanical properties by direct carbonisation of whey powders poured on moulds [31].Whey powders result after the spray-drying of liquid whey, a byproduct of cheese and casein production found in massive quantities in the dairy industry [32].The relatively high organic matter (mainly lactose) load of liquid whey makes whey management a serious burden.Big dairy companies have invested important resources to valorise whey and an estimated 50% of liquid whey ends nowadays in food and feed industries [33,34].Still, ca. 100 million tons of liquid whey are wasted each year worldwide [35].Since, as detailed in [31], the mechanical properties of the 3D whey derived carbons compete with those prepared from conventional resins, whey should be then considered a robust biomass precursor to manufacture green carbon monoliths that can be used, for example, as bone scaffolds [36].
The porosity of the 3D whey-derived carbons have been also characterised in previous studies.The carbonisation of whey powders renders materials that are mainly macroporous, with limited meso-and micropore development, as determined by N 2 adsorption at cryogenic temperatures [31].The aim of this work is to study the activation of whey carbon monoliths to improve their micro-and mesoporosity, which is compulsory for their use as adsorbents or catalysts/catalyst supports.Although KOH activation of whey powders has been reported before [37], as it has been that of non-fat powdered milk, a precursor similar to whey [38], the final product of these studies are activated carbon powders, which is not the purpose of this work.

Synthesis and Activation of the Whey-Derived Carbon Monoliths
The preparation of the custom-made microporous carbon 3D structures from whey comprises two steps: (i) pre-conformation of the 3D structure; (ii) carbonisation and/or activation.
For the pre-conformation of the 3D structures, whey powder (W) (CAPSA-Food, Granda, Spain) was poured into a 12 mm inner diameter glass tube.Details of W including its chemical composition have been reported elsewhere [31].The pre-conformation step was carried out at 150 • C for 1 h in a lab stove.After this step, the W powder transformed into a solid rod of 12 mm diameter.The rod was then cut in cylinders of 30 mm height using a circular saw.
The cylinders were further carbonised at different temperatures in a tubular furnace (Carbolite, Hope Valley, UK) under N 2 (100 mL/min) with a heating rate and dwell time C 2023, 9, 100 3 of 17 of 10 • C/min and 1.5 h, respectively.The carbonised samples were labelled as CW_X, with X being the carbonisation temperature.Some of the carbonised whey cylinders were demineralised (samples CW_X_D) by acid (HCl) plus water washing in an ultrasonic bath.
Thermally activated samples (TAW) were first heat treated at up to 850 • C for 1.5 h under 100 mL/min N 2 .After carbonisation, the temperature of the oven was set to the activation temperature (800-850 • C), the N 2 flux was switched to 50 mL/min CO 2 and kept at that activation temperature for 1-3 h.Finally, the monolith was cooled down in N 2 (100 mL/min).The TAW_X_Y samples' labelling code includes the activation temperature (X) followed by the dwelling time (Y).
Chemically activated samples (CASs) were prepared using both KOH and H 3 PO 4 as activating agents (CH).KOH powder, H 3 PO 4 (85% in water) and fuming HCl were purchased from Sigma-Aldrich (Schnelldorf, Germany).Milli-Q water was used for washing and impregnation procedures.The direct chemical activation of the pre-conformed monoliths was not feasible and a thermal stabilisation step was required prior activation.In the case of H 3 PO 4 activation, the pre-conformed cylinders were heated up to 250 • C in the tubular furnace under N 2 (100 mL/min) for 1.5 h, whereas for KOH activation, the stabilisation temperature was set at 450 • C. The thermally stabilised monoliths (S) were then impregnated with different proportions of either KOH or H 3 PO 4 .This impregnation step was carried out by sonicating the monolith in 100 mL of a water solution of the CH at 80 • C for 2 h and then dried at 100 • C. It is important to mention that the integrity of the monolith remained unaltered after this stage.Afterwards, the impregnated monolith was placed in an alumina crucible and thermally treated at different temperatures for 1.5 h with a heating ramp of 10 • C/min under N 2 atmosphere (100 mL/min).After cooling down in N 2 , the CAS samples obtained using KOH were washed with 1 M HCl under US during three cycles of 15 min each followed by vacuum filtration for each batch.Then, samples were washed with distilled water in an ultrasonic bath and filtrated.This procedure was performed for three consecutive 15 min washing cycles.The samples were finally dried at 110 • C in a convection oven overnight.For phosphoric activated samples, five washing cycles were performed using only sonicated water.The resulting monoliths were labelled as CAS_X_CH_Z, X being the heat treatment temperature, CH the activating agent (K for KOH and P for H 3 PO 4 ) and Z the S:CH impregnation ratio.

Characterisation Methods
The thermogravimetric (TG) analyses of the W powders were carried out in a TGA Q5000 device from TA Instruments (New Castle, DE, USA) under N 2 and CO 2 atmospheres (20 mL/min) using a heating rate of 10 • C/min from room temperature to 1000 • C with sample masses of ca.20 mg.For ash and moisture contents of the carbonised and activated monoliths (also ca.20 mg), TGs were obtained using 20 mL/min of N 2 up to 900 • C and then switching to air (20 mL/min) for 30 min at that temperature.The moisture contents were calculated from the loss of weight at 110 • C. The ash content was estimated by the difference of the total loss of weight of the sample after combustion at 900 • C on air.The elemental analysis of the carbon monoliths was carried out in LECO (Geleen, The Netherlands) apparatuses (LECO CHNS-932, and LECO VTF-900 for oxygen content determination).The point of zero charge of the monoliths (pH PZC ) was determined by mass titration [39].
Nitrogen adsorption-desorption isotherms at −196 • C were performed in a Micromeritics Tristar II volumetric adsorption system, after outgassing the samples at 120 • C overnight.The specific surface area (S BET ) and micropore volume (V micro ) were calculated using the Brunauer-Emmett-Teller (BET) and Dubinin-Radushkevich (DR) models, respectively, while the pore size distributions (PSD) were calculated using the Density Functional Theory (DFT) model.The helium densities (ρ He ) were determined in an Accu-Pyc 1330 pycnometer (Micromeritics, Norcross, GA, USA).For the Hg intrusion technique, an AutoPore IV porosimeter (Micromeritics, GA, USA) was used.The Hg densities (ρ Hg ) and corresponding PSDs were determined from the Hg intrusion data up to a maximum operating pressure of 227 MPa.For both He and Hg densities determination, samples were outgassed at 120 • C overnight.
Compressive strengths (S u ) were evaluated in an Instron Model 8562 (Instron, Norwood, MA, USA) device with a cell load of 10 kN and a test velocity of 0.5 mm/min.The final dimensions of the tested specimens were 12.25 ± 0.2 mm diameter and 22.5 ± 0.2 mm height.The compressive strength value is the maximum stress (load/area) that the specimen stood during the test.The elastic compressive moduli (E) were obtained from the slope of the linear elastic region of the stress vs. strain curve.For a given sample, the S u and E values reported are the average of three compressive tests.

Customised 3D Structures Made of Carbonised Whey Powders
As shown in Figure 1, 3D monolithic porous carbons with different shapes and sizes were obtained by the simple carbonisation of pre-conformed W powders, depending on the selected mould (cubes, cylinders, spheres, hexagons, etc.).Even more sophisticated geometries, such as nuts or hollow cylinders, are possible.Also, the mechanical stability of the whey-derived carbon monoliths bears machining processes to obtain customised materials for a variety of applications.As pointed out in previous works [31], whey particles stick to each other by the self-reaction between the precursor constituents (lactose and whey proteins) during the heat treatment.Whey particles do not melt with temperature and both the pre-conformation and carbonisation/activation of the 3D structures is carried out in absence of any external template, binders or pressure.It should be finally mentioned that quantities of inorganic matter (6-13% ash contents, depending on the W batch and/or brand) remain in the carbon monoliths, mainly composed of Ca, K, Na, and P [31,40].
C 2023, 9, x FOR PEER REVIEW 4 of 18 cuPyc 1330 pycnometer (Micromeritics, GA, USA).For the Hg intrusion technique, an AutoPore IV porosimeter (Micromeritics, GA, USA) was used.The Hg densities (ρHg) and corresponding PSDs were determined from the Hg intrusion data up to a maximum operating pressure of 227 MPa.For both He and Hg densities determination, samples were outgassed at 120 °C overnight.
Compressive strengths (Su) were evaluated in an Instron Model 8562 (Instron, MA, USA) device with a cell load of 10 kN and a test velocity of 0.5 mm/min.The final dimensions of the tested specimens were 12.25 ± 0.2 mm diameter and 22.5 ± 0.2 mm height.The compressive strength value is the maximum stress (load/area) that the specimen stood during the test.The elastic compressive moduli (E) were obtained from the slope of the linear elastic region of the stress vs. strain curve.For a given sample, the Su and E values reported are the average of three compressive tests.

Customised 3D Structures Made of Carbonised Whey Powders
As shown in Figure 1, 3D monolithic porous carbons with different shapes and sizes were obtained by the simple carbonisation of pre-conformed W powders, depending on the selected mould (cubes, cylinders, spheres, hexagons, etc.).Even more sophisticated geometries, such as nuts or hollow cylinders, are possible.Also, the mechanical stability of the whey-derived carbon monoliths bears machining processes to obtain customised materials for a variety of applications.As pointed out in previous works [31], whey particles stick to each other by the self-reaction between the precursor constituents (lactose and whey proteins) during the heat treatment.Whey particles do not melt with temperature and both the pre-conformation and carbonisation/activation of the 3D structures is carried out in absence of any external template, binders or pressure.It should be finally mentioned that quantities of inorganic matter (6-13% ash contents, depending on the W batch and/or brand) remain in the carbon monoliths, mainly composed of Ca, K, Na, and P [31,40].

Thermal Activation of the Whey-Derived 3D Carbons
As mentioned in the Introduction, whey carbon monoliths are essentially macroporous materials (maximum of the Hg intrusion PSD centred at 20-40 µm, see Section 3.4) and show no significant micro or mesoporosity, as measured by N2 adsorption at −196 °C (Figure 2a).However, the adsorption of CO2 at 0 °C on the same materials (Figure 2b) is significant and reveals the ultra-microporosity (pore sizes below 0.7 nm) of these materials.The ultra-microporosity is incipient in the low-temperature carbonised

Thermal Activation of the Whey-Derived 3D Carbons
As mentioned in the Introduction, whey carbon monoliths are essentially macroporous materials (maximum of the Hg intrusion PSD centred at 20-40 µm, see Section 3.4) and show no significant micro or mesoporosity, as measured by N 2 adsorption at −196 • C (Figure 2a).However, the adsorption of CO 2 at 0 • C on the same materials (Figure 2b) is significant and reveals the ultra-microporosity (pore sizes below 0.7 nm) of these materials.The ultra-microporosity is incipient in the low-temperature carbonised monoliths CW_450 and increases substantially as the carbonisation temperature rises up to 750 and 850 • C. Finally, higher carbonisation temperatures (CW_1000) result in a decrease in the volume of CO 2 adsorbed, thus suggesting the collapse of the narrow micropores.The relevant CO 2 adsorption on these materials, especially CW_750 and CW_850, opens the possibility of This was further confirmed by the TG analysis of the precursor W. Figure 3 shows the TG and DTG profiles of W heated in both N2 and CO2 atmospheres.Discussing first the TG profile of whey carbonisation, the TG curve is characterised by five stages.The first stage with the DTG peak at ca. 80 °C is attributed to the evaporation of the moisture remaining in the W sample.The second stage (130-160 °C) corresponds to the loss of crystalline water present in the α-lactose monohydrate (spray dried whey particles are a matrix of amorphous lactose in which lactose monohydrate crystals, proteins, fats and minerals are embedded).The reactions occurring in this temperature range are critical for the formation of 3D structures from W that withstand carbonisation.The release of crystalline water in this second stage is expected to boost the formation of melanoidins through the Maillard reactions between the lactose and the proteins in W. The successive thermal events (from 160 °C onwards) are thus complex and comprise the thermal evolution of unreacted lactose and whey proteins, on one side [31], and melanoidins, on the other [41,42].This was further confirmed by the TG analysis of the precursor W. Figure 3 shows the TG and DTG profiles of W heated in both N 2 and CO 2 atmospheres.Discussing first the TG profile of whey carbonisation, the TG curve is characterised by five stages.The first stage with the DTG peak at ca. 80 • C is attributed to the evaporation of the moisture remaining in the W sample.The second stage (130-160 • C) corresponds to the loss of crystalline water present in the α-lactose monohydrate (spray dried whey particles are a matrix of amorphous lactose in which lactose monohydrate crystals, proteins, fats and minerals are embedded).The reactions occurring in this temperature range are critical for the formation of 3D structures from W that withstand carbonisation.The release of crystalline water in this second stage is expected to boost the formation of melanoidins through the Maillard reactions between the lactose and the proteins in W. The successive thermal events (from 160 • C onwards) are thus complex and comprise the thermal evolution of unreacted lactose and whey proteins, on one side [31], and melanoidins, on the other [41,42].The TG of W in CO2 is, as expected, virtually identical to that in N2 during most of the temperature scan.Gasification starts at 720 °C, and the quick mass drop, also reflected in the sharpness of the corresponding CO2 DTG band with maximum at 935 °C, indicates the relatively high reactivity of the W char when compared, for example, to conventional biomass chars such as coconut char [43].This high reactivity of the whey char is a con- The TG of W in CO 2 is, as expected, virtually identical to that in N 2 during most of the temperature scan.Gasification starts at 720 • C, and the quick mass drop, also reflected in the sharpness of the corresponding CO 2 DTG band with maximum at 935 • C, indicates the relatively high reactivity of the W char when compared, for example, to conventional biomass chars such as coconut char [43].This high reactivity of the whey char is a consequence of two contributions: (i) the high ultra-micropore volume of the CWs obtained at carbonisation temperatures above 700 • C (Figure 2b); and (ii) the existence of mineral matter catalysing the gasification.Analysis of the TG/DTG CO 2 profile of W suggests that the best temperature range for thermal activation of W chars is 800-850 • C, temperatures at which the gasification would be kept under (relative) control.
The activation of the W chars (CW_850) was thus carried out at 800 • C and 850 • C. Before showing and discussing the results obtained, a fundamental comment regarding the thermal activation of these monoliths should be pointed out.The thermal activation of the stocky 3D structures of carbonised whey in the tubular oven was quite tricky.Considering that, even when working with powders, the standard procedures of CO 2 activation recommend the deposit of thin layers over the crucible in order to facilitate the contact between the gas and the carbon material, the activation of a monolith represents a challenge.The CO 2 needs to diffuse into the whole cylinder in order to obtain a homogeneous activation, i.e., to minimise the differences of activation between the skin and the core of the monolith [44].N 2 isotherms (−196 • C) of the monolith skin and core were thus measured by removing the outermost (approx. 1 mm) crust of the cylinders after activation.Although we were confident that the open macroporosity of the whey-derived chars would ease the diffusion of the CO 2 inside the cylinders, the initial experiments failed to provide homogeneous activation of the pieces.Regardless of the changes in the composition (relative proportion of CO 2 and N 2 ) and flux of the inlet gas, those initial experiments brought about either non-activated monoliths or only skin-activated monoliths.It was necessary to plug a substantial amount of quartz wool at the tube inlet (approx.10 cm length), that helped to spread the laminar flow of CO 2 , to succeed with differences between the skin and core being less than 10%.The results shown in Figure 4 and Table 1 correspond to the measurements of the whole (skin + core) monolith.Thermal activation is effective at both temperatures, rendering materials that combine micro and mesoporosity (isotherm Type IV, Figure 4a).The monoliths activated at 800 • C show a limited development of the microporosity, with S BET maximum values of 840 m 2 /g after 3 h of dwell time.This very same value is obtained after only 1 h of CO 2 activation at 850 • C, whereas 2 h activation at this higher temperature brings about materials with S BET values well above 1100 m 2 /g.Due to the high reactivity of the whey-derived carbon, this relatively high surface area is attained at the expense of a high burn-off (68.3%, Table 1) of the whey char, which strongly limits the mechanical integrity of the resulting 3D structure (Figure 5).Profusion of cracks in the whey monoliths makes the activation conditions (2 h at 850 • C) unfeasible for their practical use, thus establishing the temperature and dwell time boundaries for thermal activation of these 3D structures with CO 2 .On the other hand, looking at the textural parameters of the activated monoliths at 850 • C (Table 1), there is a considerable gap between the specific surface area of the TAW_850_1 and TAW_850_2.We decided then to perform an additional activation experiment with a 1.5 h dwell time (sample TAW_850_1.5);the results are also included in Figure 4 and Table 1.The TAW_850_1.5 monoliths were free of external crevices.The gasification of the whey monoliths under the tested conditions encompasses not only the formation of micropores but also an enhancement of the mesoporosity.The pore size distribution in the mesopore range of these materials is very similar for all materials except TAW_850_1.5 (Figure 4b).They are wide distributions in which several maxima can be spotted at ca. 20, 35, and 50 nm.In the case of the TAW_850_1.5mesopore size distribution, the maximum at 20 nm seems to further split into two bands at 10-12 nm and 25 nm.The evolution of the micropore and mesopore volumes (Table 1) as the activation conditions become harsher confirms that a 850 °C and 2 h dwell is a point of inflection with Vmeso > Vmicro, thus suggesting that gasification of the char is widening the micropore network.
Figure 6 shows the relation between the burn-off and the specific surface area and The gasification of the whey monoliths under the tested conditions encompasses not only the formation of micropores but also an enhancement of the mesoporosity.The pore size distribution in the mesopore range of these materials is very similar for all materials except TAW_850_1.5 (Figure 4b).They are wide distributions in which several maxima can be spotted at ca. 20, 35, and 50 nm.In the case of the TAW_850_1.5mesopore size distribution, the maximum at 20 nm seems to further split into two bands at 10-12 nm C 2023, 9, 100 8 of 17 and 25 nm.The evolution of the micropore and mesopore volumes (Table 1) as the activation conditions become harsher confirms that a 850 • C and 2 h dwell is a point of inflection with V meso > V micro , thus suggesting that gasification of the char is widening the micropore network.
Figure 6 shows the relation between the burn-off and the specific surface area and micropore volume of the thermally activated samples.A good linear correlation exists in both cases.
The gasification of the whey monoliths under the tested conditions encompasses not only the formation of micropores but also an enhancement of the mesoporosity.The pore size distribution in the mesopore range of these materials is very similar for all materials except TAW_850_1.5 (Figure 4b).They are wide distributions in which several maxima can be spotted at ca. 20, 35, and 50 nm.In the case of the TAW_850_1.5mesopore size distribution, the maximum at 20 nm seems to further split into two bands at 10-12 nm and 25 nm.The evolution of the micropore and mesopore volumes (Table 1) as the activation conditions become harsher confirms that a 850 °C and 2 h dwell is a point of inflection with Vmeso > Vmicro, thus suggesting that gasification of the char is widening the micropore network.
Figure 6 shows the relation between the burn-off and the specific surface area and micropore volume of the thermally activated samples.A good linear correlation exists in both cases.Figure 6.Specific surface area (SBET) and micropore volume (Vmicro) as a function of the thermal activation burn-off of the whey-derived activated carbon monoliths.Void and solid symbols correspond to the TAW_800 and TAW_850 monoliths, respectively. .Specific surface area (S BET ) and micropore volume (V micro ) as a function of the thermal activation burn-off of the whey-derived activated carbon monoliths.Void and solid symbols correspond to the TAW_800 and TAW_850 monoliths, respectively.

Chemical Activation of the Whey-Derived 3D Structures
KOH and H 3 PO 4 were selected as activating agents (CH) due to their well-known capacity to generate a microporous network into the carbon matrix.As detailed in the Section 2, the chemical activation was carried out over thermally stabilised monoliths.The direct activation of the whey brought about melted structures that did not keep the shape of the mould containing them, obtaining either powders (KOH activation) or foamy structures (H 3 PO 4 activation).On the other hand, the issue that was pointed out when discussing the results of the thermal activation, regarding the homogeneity of the activated materials, was much less critical in the case of the chemical activation of the thermally stabilised monoliths.The macroporosity already present in these stabilised monoliths was well interconnected and the CH impregnation step was effective in reaching the inner parts of the stabilised monoliths.In addition, in the case of KOH it is also expected that the melting of the salt at temperatures above 360 • C will help the infiltration of CH into the monoliths and thus lead to a more homogeneous activation.

KOH Activation
Figure 7 shows the N 2 adsorption isotherms (−196 • C) of the KOH-activated samples and Table 2 summarises the principal textural parameters calculated from those isotherms.All N 2 isotherms are Type I with well-defined plateaus corresponding to highly microporous materials with slit-shaped pores in the micropore range, with the exception of CAS_750_K_1:1, which is a mixed Type I and IV isotherm with a hysteresis loop denoting the presence of mesopores (V meso = 0.137 cm 3 /g, Table 2).   2 summarises the principal textural parameters calculated from those isotherms.All N2 isotherms are Type I with well-defined plateaus corresponding to highly microporous materials with slit-shaped pores in the micropore range, with the exception of CAS_750_K_1:1, which is a mixed Type I and IV isotherm with a hysteresis loop denoting the presence of mesopores (Vmeso = 0.137 cm 3 /g, Table 2).a Calculated at p/p 0 = 0.99; b calculated with the DR method; c V meso = V total − V micro ; d expressed as (mass monolith /mass whey ) × 100.
The effect of the monolith/CH ratio on the KOH activation was as expected.For a given temperature (750 • C), increasing the KOH content increases the total pore volume of the monoliths from 0.655 to 1.224 cm 3 /g.The microporosity is enhanced as one moves from CAS_750_K_1:1 to CAS_750_K_1:3, whereas the mesopore volume diminishes quickly (Table 2).A close look to the PSD of these materials (Figure 7b) shows how the initially wide mesopores (>5 nm) present in CAS_750_K_1:1 disappear as the relative CH ratio increases (i.e., samples CAS_X_K_1:2 and CAS_X_K_1:3, with X being 750 or 800), with narrow mesopores with an average diameter of around 2.8 nm evolving in those samples.The origin of the wide mesopores in sample CAS_750_K_1:1 should be related to the precursor porosity [45].Since the carbonised whey CW_750 shows no significant N 2 adsorption at cryogenic temperatures, the origin of the wide mesoporosity of CAS_750_K_1:1 should be related to the washing carried out after the KOH activation to remove byproducts (mainly carbonates).To check this possibility, a CW_750 monolith was thoroughly washed with HCl and water following the same methodology used for the KOH-activated monoliths.The N 2 adsorption isotherm and textural parameters of the CW_750 _D monolith are also included in Figure 7 and Table 2.It is clear that (i) a simple demineralisation process increases significantly the porosity (as determined by the N 2 adsorption) of the whey carbon monoliths, with mineral species in the CWs blocking the entrance to pores; and (ii) mesopores are a significant part of CW_750 _D porosity, with a PSD resembling that of CAS_750_K_1:1 (see inset in Figure 7b).As for the effect of the activation temperature [45], for a given monolith/CH ratio (1:2), results fulfilled the expectances only partially.Increasing the heat treatment temperature from 700 • C to 750 • C leads to an important increment in the porosity of the monoliths (Figure 7 and Table 2).However, a further rise to 800 • C has little effect in either the specific surface area or pore volumes.
The effectiveness of the KOH activation when compared to thermal activation is clearly demonstrated with materials reaching S BET values up to 2815 m 2 /g and a V total = 1.224 cm 3 /g for the maximum chemical agent ratio tested (1:3).Moreover, the yields of the activated monoliths per specific surface area are much higher in the case of the KOH-activated samples (Tables 1 and 2).In spite of this latter observation, the harshness of the alkali activation caused at least the presence of cracks that where evident after ocular inspection of the monoliths (Figure 5).In some cases, CAS_750_K_1:3 and CAS_800_K_1:2, the breakdown of the monoliths in several pieces occurred, thus limiting strongly the feasibility of this type of activation to obtain customised 3D microporous carbons.

H 3 PO 4 Activation
As in the case of the KOH activation, we explored the effect of the CH relative proportion and the activation temperature variables on the outcome.Figure 8 shows the N 2 adsorption isotherms (−196 • C) of the H 3 PO 4 activated samples, with Table 3 collecting the principal textural parameters calculated.All phosphoric activated monoliths isotherms are a combination of Type I and Type IV for microporous materials with a certain amount of mesopores and hysteresis loop type H4 for slit-shaped pores.The isotherms have open "knees" in the micropore relative pressure range, which indicates a lower contribution of microporosity to the total pore volume.This contrasts with the KOH-activated samples showing isotherms with very close "knees".Thus, comparing the samples with similar V total values (i.e., CAS_750_K_1:1 and CAS_800_P_1:2, Tables 2 and 3, respectively), the KOH-activated samples exhibit significantly higher S BET and V micro than the H 3 PO 4activated samples.As a consequence, the contribution of mesoporosity to the V total is the highest for this type of activation.The N 2 PSDs of all the phosphoric-activated samples (Figure 8b) point out that a relatively sharp, unimodal distribution in the mesoporosity range is common to all monoliths, with maxima located at ca. 3 nm (i.e., narrow mesopores).to the Vtotal is the highest for this type of activation.The N2 PSDs of all the phosphoric-activated samples (Figure 8b) point out that a relatively sharp, unimodal distribution in the mesoporosity range is common to all monoliths, with maxima located at ca. 3 nm (i.e., narrow mesopores).
(a) (b)    a Calculated at p/p 0 = 0.99; b calculated with the DR method; c V meso = V total − V micro ; d expressed as (mass monolith /mass whey ) × 100.
The possibility of using different thermally stabilised whey:H 3 PO 4 ratios was very limited and restricted in practice to a 1:2 ratio.The thermally stabilised whey: H 3 PO 4 ratios of 1:1 produced little to no pore development, whereas the use of higher ratios (1:3) led to the overactivation of the monoliths.This latter observation is exemplified with the samples CAS_800_P_1:2 and CAS_800_P_1:3 in Figure 8 and Table 3. Increasing the relative proportion of the CH brings about a monolith with lower textural parameters.It has been reported that, when using high phosphoric acid impregnation ratios at relatively high (800 • C) activation temperatures, the progressive formation of polyphosphates and C-O-P bonds could block the pore entrances and lead to some loss of porosity, since these phosphate-like species are not easily removed in the washing process [46].This would also justify the higher yield of CAS_800_P_1:3 when compared to that of CAS_800_P_1:2 (Table 3).
Regarding the effect of the activation temperature, although the activation with H 3 PO 4 works better at lower temperatures for lignocellulosic precursors [47,48], in this case, results show that higher temperatures (800 • C) are necessary to obtain an optimal porous development (Figure 8), with a maximum S BET for sample CAS_800_P_1:2 of 1354 m 2 /g (Table 3).This could be attributed to the different mechanisms involved in the activation with phosphoric acid.In the activation at low temperatures (500 • C) of the thermally stabilised (250 • C, in this case) whey monoliths, the porosity is mainly produced by the elimination of volatile matter (Figure 3) catalysed by the dehydration of the phosphoric acid, which promotes bond cleavage reactions and crosslinking formation via processes such as cyclisation and condensation [47,48].Activation at higher temperatures (>500 • C) provokes, in some cases, the collapse of the porous network.However, when the activation temperature rises to 700 • C, the structure of the whey carbon is strong enough to maintain the microporosity developed at earlier stages (hence the similar pore development of samples CAS_500_P_1:2 and CAS_700_P_1:2), with a slight densification taking place as shown by the significant increase in the real density (ρ He ) of the CAS_700_P_1:2 sample.
As just mentioned, the most important pore development occurs at 800 • C, sample CAS_800_P_1:2.The activation mechanism of phosphoric acid at such relatively high temperatures is different to that already discussed.At this temperature, H 3 PO 4 dehydrates and transforms into P 4 O 10 [40].This latter moiety behaves in the absence of water as an oxidant reacting with the carbon matrix as follows [48]: The formation of volatile phosphorous-containing compounds as a result of the present phosphate reduction and the introduction of phosphorus species into the carbon structure through C-O-P bonds led to the formation of new pores and the widening of the existent pores.At the same time, the reaction between the evolved CO 2 and the carbon skeleton results in an additional increase in porosity.Depending on the precursors, some authors report the presence of PH 4 and elemental P 4 as products of the high-temperature phosphoric activation of carbons [48][49][50].These phosphorous species are easily removed in the washing process thus leaving pores available.Finally, further rising the activation temperature up to 850 • C (sample CAS_850_P_1:2) backtracks in terms of the pore development, thus suggesting that some of the micro-and narrow mesoporosity start to collapse.
Although the porous development of the H 3 PO 4 -activated samples is poorer compared with the KOH-activated samples, the yields are considerably higher, higher even than the thermally activated ones.This would make this activation very interesting, although we could not obtain samples free of cracks (Figure 5) under the activation conditions tested.

Further Characterisation of Selected Samples
Five monolithic samples combining high specific surface area and (in principle) good mechanical integrity, namely CW_850, CW_750_D, TAW_850_1.5,CAS_750_K_1:2, and CAS_800_P_1:2 were further characterised using different techniques.
To complete the characterisation of the porosity of the monoliths, the selected samples were analysed by Hg intrusion.Figure 9 shows the PSD obtained by Hg intrusion with the corresponding main textural parameters collected in Table 4.All monoliths show an important macroporous development with the maxima of the Hg PSD centred at ca. 27 µm, except in the case of TAW_850_1.5, for which the Hg PSD is slightly shifted to smaller pore sizes values (Table 4).The percentage of porosity of the activated samples is >70%, with sample CAS_750_K_1:2 showing an outstanding 82% porosity value.The widening of the PSD of CAS_750_K_1:2 in the lower pore sizes region is also evident.This might suggest that the intrusion of Hg is damaging the sample.The same observation also stands when analysing the PSD of the monoliths in the mesoporous region.The relatively high V meso (as determined with Hg intrusion) of CAS_750_K_1:2 was totally unexpected in the light of its N 2 adsorption isotherm (Figure 7).Actually, the only monoliths that show significant V meso values in the Hg intrusion characterisation are the activated ones (Table 4), thus pointing out that the monoliths might not be bearing such massive pressures.

Mechanical Properties of Selected Monoliths
Mechanical properties of the selected samples were evaluated by compressive tests.Figure 10a shows typical strain/stress curves of the tested materials.Two of the monoliths, the chemically activated CAS_750_K_1:2 and CAS_800_P_1:2, could not bear any load during the compressive test, i.e., the structures shattered as soon as the load started to build up.The crevices on the surface of the chemically activated monoliths acted as fracture initiators that propagated quickly and destroyed the structures.Conversely, the compressive test curves of the CW_850 and CW_850_D monoliths increased monotonically within the elastic linear zone of the curve until the experiment reached the point of failure.This behaviour is characteristic of ceramic materials presenting brittle failure.Finally, a clear difference is observed in the stress/strain curve of the thermally activated monolith TA_850_1.2.In this case, the curve progresses with some breaks or jumps, The elemental analyses, moisture and ash contents of the selected monoliths are collected in Table 5.Both CW_850 and TAW_850_1.5 samples have the highest ash contents.The demineralisation of the carbonised samples and the cleaning of the by-products after the chemically activated monoliths remove most of the ashes leaves only <4% leftover.Those two samples also contain the highest moisture values and oxygen contents, and the lowest carbon contents, all of which being related to their high ash content.It is also remarkable the high nitrogen content that remains in the carbon structure of the activated monoliths (≥3%), regardless of the activation procedure.Specifically, chemical activation had little effect on the final nitrogen content of the monoliths.This is especially relevant for a broad spectrum of electrochemical applications with special interest in natural and induced nitrogen carbon materials [51][52][53].This is very interesting since all this nitrogen content is naturally present in the whey powders, i.e., there is no need for an extra nitrogen source for N-doping.Furthermore, the N content of these materials surpasses even those reported for N-doped mesoporous carbons derived from tannins, as well as the microporous carbons derived from various natural biowaste fibres that have been modified with different nitrogen source species, such as urea or melamine [54,55].Finally, monolithic materials with very different surface chemistry in terms of acidity/basicity, as determined by the pH PZC , were obtained.

Mechanical Properties of Selected Monoliths
Mechanical properties of the selected samples were evaluated by compressive tests.Figure 10a shows typical strain/stress curves of the tested materials.Two of the monoliths, the chemically activated CAS_750_K_1:2 and CAS_800_P_1:2, could not bear any load during the compressive test, i.e., the structures shattered as soon as the load started to build up.The crevices on the surface of the chemically activated monoliths acted as fracture initiators that propagated quickly and destroyed the structures.Conversely, the compressive test curves of the CW_850 and CW_850_D monoliths increased monotonically within the elastic linear zone of the curve until the experiment reached the point of failure.This behaviour is characteristic of ceramic materials presenting brittle failure.Finally, a clear difference is observed in the stress/strain curve of the thermally activated monolith TA_850_1.2.In this case, the curve progresses with some breaks or jumps, which could indicate small fractures or imperfections in the monolith.After these discontinuities in the curve, the stress recovers almost immediately and the monoliths is capable of bearing loads up to higher strain values, when compared to CW_850 and CW_850_D.The imperfections/fractures change the monolith failure mode to non-brittle, and if they exacerbate, as in the case of the chemically activated monoliths and the thermally activated monoliths under more severe conditions, thus leading to surface crevices (Figure 5), the monolith cannot bear a substantial load.which could indicate small fractures or imperfections in the monolith.After these dis-continuities in the curve, the stress recovers almost immediately and the monoliths is capable of bearing loads up to higher strain values, when compared to CW_850 and CW_850_D.The imperfections/fractures change the monolith failure mode to non-brittle, and if they exacerbate, as in the case of the chemically activated monoliths and the thermally activated monoliths under more severe conditions, thus leading to surface crevices (Figure 5), the monolith cannot bear a substantial load.Figure 10b shows the average values (and standard deviations) of the compressive strength (S u ) and modulus (E) of CW_850, CW_750_D, and TAW_850_1.5.The monolith elastic modulus goes down with porosity, from 1.5 GPa to 350 MPa for CW_850_D and TAW_850_1.5,respectively.This latter value is, however, much higher than the elastic modulus reported for hierarchical carbon monoliths made from glucose (1 MPa) [56].In the case of CW_850, the S u value is over 40 MPa, which is superior to other porous carbons and even ceramic materials with similar porosities.As the porosity of the monoliths increases, the compressive strength decreases (Figure 11).In this way, CW_850_D presents values around 20 MPa, while for TAW_850_1.5 the value of S u drops to ca. 10 MPa.However, all these values are still very remarkable and considerably higher than those of other activated carbons found in the literature (Figure 11, red symbols) [19,20,[57][58][59][60][61][62], specifically those made from coal (red triangles) [19], or those that are resin-based [57].The red star of Figure 11 corresponds to a ceramic (cordierite)/carbon monolith [62].Figure 10b shows the average values (and standard deviations) of the compressive strength (Su) and modulus (E) of CW_850, CW_750_D, and TAW_850_1.5.The monolith elastic modulus goes down with porosity, from 1.5 GPa to 350 MPa for CW_850_D and TAW_850_1.5,respectively.This latter value is, however, much higher than the elastic modulus reported for hierarchical carbon monoliths made from glucose (1 MPa) [56].In the case of CW_850, the Su value is over 40 MPa, which is superior to other porous carbons and even ceramic materials with similar porosities.As the porosity of the monoliths increases, the compressive strength decreases (Figure 11).In this way, CW_850_D presents values around 20 MPa, while for TAW_850_1.5 the value of Su drops to ca. 10 MPa.However, all these values are still very remarkable and considerably higher than those of other activated carbons found in the literature (Figure 11, red symbols) [19,20,[57][58][59][60][61][62], specifically those made from coal (red triangles) [19], or those that are resin-based [57].The red star of Figure 11 corresponds to a ceramic (cordierite)/carbon monolith [62].Correlation between Su and SBET of the selected carbon monoliths made from whey (black squares).The red symbols are results of other activated carbon monoliths found in the literature: (Liu, 2006) [19]; (Rangel-Sequeda, 2022) [20]; (Du, 2020) [57]; (Li, 2024) [58]; (Ibeh, 2019) [59]; (Guo, 2019) [60]; (Tang, 2020) [61]; (Gadkaree, 1998) [62].

Conclusions
A simple and novel method is presented for synthesising highly porous 3D carbon structures.These carbon monoliths can be easily moulded to specific shapes and machined for specific applications.They are easily produced by pseudo-sintering dehydrated whey powders at high temperatures, which promote self-reaction between the precursor components (specifically lactose and whey proteins) with no need for external binders, overpressure, or templates.A mechanically strong porous carbon 3D structure with a hierarchical macro/meso/microporosity can be obtained simply by demineralising the whey carbon monoliths.The monolithic shape is preserved upon thermal activation with CO 2 and chemical activation with KOH or H 3 PO 4 , resulting in high porosities and S BET up to 2400 m 2 /g, although chemical activation affects critically the mechanical properties of the 3D structures.The final carbonised, demineralised, and thermally activated monoliths have exceptional mechanical properties and an interconnected porous structure.In addition, they have a notable natural nitrogen content of up to 3 wt.%.
The possibility of using whey as a precursor of activated carbon monoliths constitutes a modest alternative for whey valorisation, in addition to lessening their dependence on fossil-fuel derived precursors.These two outcomes are significant in a circular economy model of materials/goods production and consumption.

Figure 1 .
Figure 1.Examples of customised whey-derived carbon 3D structures made by simple moulding, or by moulding + machining.

Figure 1 .
Figure 1.Examples of customised whey-derived carbon 3D structures made by simple moulding, or by moulding + machining.

C 18 Figure 3 .
Figure 3. TG and DTG of the whey powders under N2 and CO2 atmospheres.

2 Figure 3 .
Figure 3. TG and DTG of the whey powders under N 2 and CO 2 atmospheres.

C 18 Figure 5 .
Figure 5.An example of a monolith with crevices due to overactivation.This picture corresponds to TAW_850_2, but it is also representative of the chemically activated monoliths.

Figure 5 .
Figure 5.An example of a monolith with crevices due to overactivation.This picture corresponds to TAW_850_2, but it is also representative of the chemically activated monoliths.

Figure 6
Figure6.Specific surface area (S BET ) and micropore volume (V micro ) as a function of the thermal activation burn-off of the whey-derived activated carbon monoliths.Void and solid symbols correspond to the TAW_800 and TAW_850 monoliths, respectively.

Figure 7
Figure7shows the N2 adsorption isotherms (−196 °C) of the KOH-activated samples and Table2summarises the principal textural parameters calculated from those isotherms.All N2 isotherms are Type I with well-defined plateaus corresponding to highly microporous materials with slit-shaped pores in the micropore range, with the exception of CAS_750_K_1:1, which is a mixed Type I and IV isotherm with a hysteresis loop denoting the presence of mesopores (Vmeso = 0.137 cm 3 /g, Table2).

C
2023, 9, x FOR PEER REVIEW 11 of 18

C
2023, 9, x FOR PEER REVIEW 14 of 18

Figure 9 .
Figure 9. Pore size distributions (PSD) of selected monoliths as measured by Hg intrusion.

Figure 9 .
Figure 9. Pore size distributions (PSD) of selected monoliths as measured by Hg intrusion.

Figure 10 .
Figure 10.(a) Examples of stress/strain curves; and (b) strength (S u ) and modulus (E) of selected carbon monoliths.

Table 1 .
Selected textural parameters and yields of the thermally activated carbon monoliths.

Table 1 .
Selected textural parameters and yields of the thermally activated carbon monoliths.Calculated at p/p 0 = 0.99; b calculated with the DR method; c V meso = V total − V micro ; d expressed as (mass monolith /mass whey ) × 100; e expressed as 100 − [(yield CW_850 /yield monolith ) × 100]. a

Table 2 .
Selected textural parameters and yields of the chemically (KOH) activated carbon monoliths.

Table 2 .
Selected textural parameters and yields of the chemically (KOH) activated carbon monoliths.

Table 3 .
Selected textural parameters and yields of the chemically (H3PO4) activated carbon monoliths.

Table 3 .
Selected textural parameters and yields of the chemically (H 3 PO 4 ) activated carbon monoliths.

Table 4 .
Textural parameters of selected monoliths obtained from Hg intrusion data.Volume of intruded Hg; b volume of Hg intruded in pores with sizes > 50 nm; c V meso = V Hg − V macro ; d pore size of the PSD maximum; e open porosity, s = [1 − (ρ Hg /ρ He )] × 100. a

Table 5 .
Elemental analysis, moisture and ash contents, and pH PZC of selected monoliths.
a Elemental analysis, dry basis; b proximate analysis, wet basis.