Introduction

Nowadays, the transition from fossil fuels to renewable sources is a critical and ongoing process aimed at reducing our reliance on limited and environmentally detrimental resources. This transition is motivated by the need to mitigate climate change resulting from the increasing accumulation of greenhouse gases in the atmosphere. Just in 2020, a staggering 31.5Gt of CO2 were emitted worldwide, with the transportation sector accounting for a significant portion of 23% of these emissions [1]. Similarly, in Europe, CO2 emissions amounted to 2.5 Gt with the transport sector contributing at 24.6% [2]. Due to these circumstances and considering the great potential of biomass as renewable energy resources, numerous technologies have been successfully devised to convert biomass into biofuels, being both biodiesel and bioethanol the predominant biofuels widely used in the global transportation sector [3]. Particularly, while bioethanol can be derived from a range of organic sources including biomass, agricultural crops, and industrial wastes, the primary focus of its production has been centered on food crops such as starchy and sugary crops. Nevertheless, in recent years, there has been a growing emphasis on utilizing lignocellulosic biomass to produce bioethanol, offering notable economic and environmental benefits compared to relying on the above mentioned food crops [4, 5]. In this sense, agriculture and forestry wastes, as well as residues from agro-food industries, hold a significant potential as lignocellulosic source to produce biofuels since they offer several advantages, including their widespread availability, cost-effectiveness, and the need for appropriate disposal methods in many cases.

Within this framework, olive stone (OS) residues, which are the leftover materials from the processing of olives for oil production, can be valorised as raw material to produce bioethanol. These byproducts consist of the olive pits, skins, and some fragments of the pulp and have potential as a renewable feedstock due to their composition, great availability, renewability, and low-cost, which turn them into an attractive option for sustainable utilization in many applications. Only in Spain, over 600,000 tons of OS are generated annually, with more than 80% being utilized for energy applications and heat generation. However, there is still a surplus of this by-product, which can be effectively utilized as a sustainable raw material, thereby fostering the principles of circular economy and contributing to both waste reduction and environmental stewardship [6, 7].

Olive stones, like other lignocellulosic feedstocks, consist primarily of cellulose, hemicellulose and lignin as major components, which are forming a complex and resistant structure within the plant cell walls. In the process of converting lignocellulosic biomass to ethanol, on the one hand the fermentable sugars present in the material, in the form of cellulose and hemicellulose, are released through a pretreatment and enzymatic hydrolysis step [8]. On the other hand, a side-stream residue enriched in lignin, which is often utilized as a solid fuel in the facility to generate energy for the overall process, is obtained. Lignin possesses distinct characteristics than carbohydrates, including an aromatic structure, hydrophobicity, and a high concentration of reactive groups, among others, which turn it in a compelling precursor for the production of high-value chemicals and materials [9]. It is composed of three distinct 4-hydroxyphenylpropanoid units that are interconnected through various ether and C–C linkages [10]. Among them, β-aryl ether linkages (β-O-4′) constitute the most abundant bond, followed by C–C linkages such as resinol (β–β′) and phenylcoumaran (β-5′), among others. A comprehensive elucidation of the structural characteristics and properties of lignins is crucial in determining the most effective approach for their valorization. These features and properties are influenced by factors such as the type of lignocellulosic material and the isolation process employed [11]. Currently, the majority (over 90%) of global lignin production originates from the pulp and paper industry, specifically through kraft and sulphite pulping processes [12]. As we move towards 2030, the full-scale operation of second-generation biorefineries is anticipated to result in an increase in lignin production. Therefore, gaining a deeper understanding of these aspects is imperative to identify the optimal strategy for lignin utilization and valorization.

Among the functional groups in the chemical structure of lignin, hydroxyl groups are highly desirable chemical sites to promote further reactions due to their high reactivity with other multiple chemical groups like amines, epoxides, isocyanate groups, etc., [13]. Many authors have focused their research on the chemical modification of lignin through these hydroxyl groups to increase the reactivity of these residues, with the aim of valorizing and turning them into promising alternatives to be employed as sustainable raw materials for diverse applications. For instance, lignocellulosic materials and vegetable oils have been combined in industrially relevant products such as lubricants, adhesives, or coatings, among others [14,15,16,17], aiming to find new environmentally friendly alternatives to replace the commercial fossil fuel-based products available on the market today. This shift towards renewable and biodegradable resources is driven by the desire to foster sustainability and reduce the environmental impact associated with conventional consumer goods and industrial products [18, 19]. In this regard, vegetable oils and their derivatives [20], as well as natural polymers [21,22,23], are nowadays in demand to produce sustainable formulations with diverse functional properties depending on their application. However, in spite of the numerous advantages displayed by these feedstocks, they cannot be directly employed together to develop outstanding formulations due to their chemical incompatibility and different polarities [24], being essential to subject them to chemical modifications in order to improve the compatibilization among the components and ultimate properties [25, 26]. In particular, epoxidation of either vegetable oils or lignocellulosic materials has emerged as a promising chemical route for enhancing compatibility between these two bioresources. For instance, this approach allows the production of thickened oil-based formulations with outstanding rheological properties, making them well-suited for lubricating applications, among others [16, 17, 27]. Thus, epoxidized vegetable oils have been widely studied in recent years as feedstock for different industrial products [28, 29], since they show excellent lubricity properties, biodegradable characteristics, and high reactivity with several chemical groups by means of nucleophilic attack to the oxirane rings. Traditionally, grafting epoxy rings onto fatty acid chains in various vegetable oils has been achieved across their double bonds [30, 31]. However, nowadays there are commercially available options, with epoxidized linseed oil being among the available choices, which present an intriguing pathway worth of exploring for these purposes.

Within this framework, this study focuses on exploring novel valorization pathways for lignin residues derived from the bioethanol production of olive stones (hereinafter OS lignin residues), aiming at (i) providing a comprehensive chemical characterization of these residues, (ii) promoting the chemical interaction of the OS lignin residues and epoxidized linseed oil to achieve a thickening effect and, as a result, (iii) producing sustainable, high value-added and versatile vegetable oil-based formulations with enhanced rheological properties for application in a variety of fields where the viscosity modulation is relevant in product performance, e.g. as bio-based lubricants, or adhesive and coatings precursors.

Materials and Methods

Raw Material

Olive stones (OS) (8% moisture content and particle size ranging 1–3 mm) were supplied by a local industry in Jaén (Andalusia, Spain). OS composition was (dry weight basis): 20.9% cellulose, 26.0% hemicelluloses, 35.6% lignin, 6.3% extractives, 0.6% ash, and 5.9% acetyl groups [32]. Epoxidized linseed oil (ELO), containing more than 8 wt% of oxirane oxygen, was supplied by Traquisa S.L. (Barcelona, Spain). More information about its composition has been included in Table S1.

Procedures for Obtaining OS Lignin Residues

Pretreatment

OS were subjected to a two-step pretreatment, including acid pretreatment in a Parr reactor (10.5 g H2SO4/100 g OS for 60 min at 128 °C), followed by steam explosion (SE) at 195 °C for 5 min, as described by Padilla-Rascón et al. [32]. Briefly, in the first pretreatment step (diluted acid sulphuric), OS biomass was pretreated in the reactor with a solid/liquid ratio of 33% (w/v). The resulting slurry after acid pretreatment, was filtered to separate the liquid (hemicellulosic sugars-containing liquor) and an insoluble solid that, without washing, was used to feed the steam explosion reactor. The moisture content of this solid used as feedstock was 40%. The slurry generated after SE, having a solid/liquid ratio of close to 1/1, was filtered to separate again the liquid (liquor) and a water insoluble solid (WIS) fraction. WIS fraction was used as substrate for ethanol production in a presaccharification and simultaneous saccharification and fermentation (PSSF) process. The main WIS components were (dry weight basis): 35.4% cellulose, 2.6% hemicellulose, and 57.5% lignin.

Presaccarification and Simultaneous Saccharification and Fermentation (PSSF) Process

PSSF was carried out in a two-step procedure. Firstly, a presaccharification step was carried out by incubating the WIS fraction samples at 20% (w/w) concentration with 1.5 kg of 0.05 M sodium citrate buffer (pH 4.8) in a bioreactor of 15 L capacity (Terrafors-IS, Infors HT, Switzerland), at 50 °C for 24 h. Enzyme doses of 15, 30 or 40 FPU of Cellic® CTec2/g of dry substrate (Novozymes A/S, Bagsværd, Denmark) were tested. After the presaccharification, 0.5 kg of the incubated materials were transferred to 1 L Erlenmeyer flasks to undergo the simultaneous saccharification and fermentation (SSF) stage and to this end, the temperature was reduced to 35 °C. Salts were added at the following concentrations (in g/L): yeast extract (2), NH4Cl (1), KH2PO4 (1), MgSO4·7H2O (0.3), and the flasks were inoculated with 1 g/L of Saccharomyces cerevisiae (“Ethanol Red”, Fermentis, France). SSF was run by triplicate in an orbital shaker at 150 rpm for 48 h. Then, the fermentation broth, having an ethanol concentration of 36 g L−1,was filtered and the insoluble solids were rinsed with abundant water to obtain the OS lignin residues. The final PSSF yield obtained was 65% of theoretical, considering the glucose that would be available for hydrolysis and fermentation in the WIS fraction used as substrate (cellulose content of WIS). These OS lignin samples have been denoted according to the hydrolytic enzyme (Cellic® CTec2) dose used during presaccharification as OSL-40 (OS lignin residue when 40 FPU/g of the dry substrate is used), OSL-30 (OS lignin residue when 30 FPU/g of the dry substrate is used), and OSL-15 (OS lignin residue when 15 FPU/g of the dry substrate is used).

Dispersion of OS Lignin Residues in Epoxidized Linseed Oil

OS lignin residues were subjected first to a pre-milling step in a mortar to favour their dispersion in the oil medium. Afterwards, both raw materials were mixed (30 wt% OS lignin concentration) in an open vessel, at room temperature for 24 h, by using a controlled-rotational speed (70 rpm) mixing device (RW 20, Ika), equipped with an anchor impeller. A quaternary ammonium salt (tetrabutylammonium bromide, TBAB) was also added as a catalyst (1 wt%). A final curing stage was applied by placing the mixtures in an oven at 150 °C for 2 h. Finally, samples were subjected to a homogenization treatment (10,000 rpm for 1 min), using an Ultra-Turrax T-25 (Ika) rotor–stator turbine. Formulations obtained from the dispersion of the OS lignin residues OSL-40, OSL-30, and OSL-15 in ELO were named as OSL-40-ELO, OSL-30-ELO, and OSL-15-ELO, respectively.

Analytical Methods

The chemical composition of OS lignin residues (OSL-40, OSL-30, and OSL-15) was examined according to the methods described by the National Renewable Energies Laboratory [33], using the protocol NREL/TP-510-42618.

The total phenolic groupss content of OS lignin residues was measured according to Folin–Ciocalteau method [34]. Absorbances were measured at 760 nm using a UV–Vis spectrophotometer (Lambda 365, PerkinElmer, Boston, MA, USA). A calibration curve of a standard solution of gallic acid was used to quantify the total phenolic groups content [expressed as mg gallic acid equivalent (GAE)/g of lignin (on a dry basis)].

Fourier Transform Infrared (FTIR) Spectroscopy Analysis

FTIR spectra were recorded using a JASCO FT/IR-4200 (Jasco Inc., Japan) spectrometer. OS lignin residues (OSL-40, OSL-30, and OSL-15) were dispersed in KBr to obtain disks which were placed in a holder. Dispersions of OS lignin residues in ELO were directly deposited in an appropriate sample holder. The spectra were collected in the transmission mode at 4 cm−1 resolution.

Nuclear Magnetic Resonance (NMR) Analysis

13C–1H two-dimensional nuclear magnetic resonance (2D NMR) analysis of OS lignin residues (OSL-40, OSL-30, and OSL-15), ELO and dispersions of OS lignin residues in ELO [dissolved in deuterated dimethylsulfoxide, DMSO-d6 (0.75 mL)] was adquired at 25 °C in a Bruker Avance III 500 MHz NMR spectrometer equipped with a 5 mm BBFO plus with a z-gradient double-resonance probe. HSQC (heteronuclear single quantum correlation) experiment was recorded according to previously reported operation conditions [21]: spectral widths, 8196.72 Hz for the 1H dimensions, and 163,868 Hz for 13C dimensions (20,754.50 for dispersions of OS lignin residues in ELO); number of collected complex points, 1024 for 1H-dimension with a recycle delay of 1 s; scans number 32; time increments (13C) 256; 1 JC-H (Hz): 145; J-coupling evolution delay set to 3.45 ms; squared cosine-bell apodization function applied in both dimensions. Residual DMSO (from DMSO-d6) was employed as an internal reference (δCH 39.6/2.5 ppm) [21]. In addition, 1H and 13C NMR analyses were also carried out for ELO and dispersions of OS lignin residues in ELO, using the same spectrometer. 1H NMR experiments were carried out under the following operation conditions: pulse 90° (μs) 6.238; recycle delay (s) 10; spectral width (Hz) 9615.38; acquisition time (s) 3.4; scans number 32. 13C NMR experiments were carried out under the following operation conditions: pulse 30° (μs) 3.3; recycle delay (s) 2; spectral width (Hz) 30,120; acquisition time (s) 1.09; scans number 9165.

Size Exclusion Chromatography (SEC) Analysis

Weight-average (Mw), number-average (Mn) molecular weights, and polydispersity (Mw/Mn)) of OS lignin residues (OSL-40, OSL-30, and OSL-15) were obtained from SEC analysis performed by HPLC (1260 HPLC, Agilent, Waldbronn, Germany), equipped with a G1315D diode array detector. GPC P4000 and P5000 columns, both 300 × 7.8 mm, coupled in series and a safeguard column, 35 × 7.8 mm, (Phenomenex) were employed using NaOH (0.05 M) as a mobile phase (1 mL min−1 at 25 °C for 30 min). The samples were measured at 254 nm. Polystyrene sulfonated standards (peak average molecular weights of 4210, 9740, 65,400, 470,000, PSS-Polymer Standards Service) were employed for calibration.

Thermogravimetric Analysis (TGA)

Mass loss versus temperature curves was recorded under N2 purge in a thermogravimetric analyser Q-50 (TA Instruments, Newcastle, USA). OS lignin residues (OSL-40, OSL-30, and OSL-15) and ELO were placed on platinum pans and heated from 30 to 600 °C, at 10 °C/min.

Rheological Characterization

Viscous flow curves of both ELO and OS lignin residues dispersions in ELO were obtained in a controlled-stress rheometer (Haake RheoScope, Thermo Fisher Scientific, Germany), at 25 °C, using a plate-plate geometry (35 mm diameter, 1 mm gap). Small amplitude oscillatory shear (SAOS) tests were performed on OSL-40-ELO, OSL-30-ELO, and OSL-15-ELO thickened formulations inside the linear viscoelastic region, in a frequency range of 0.03–100 rad/s, at 25 °C.

Results and Discussion

Chemical Composition of OS Lignin Rich-Residues

Table 1 displays the chemical composition of OS lignin residues after a fractionation process of OS based on acid pretreatment and a steam explosion followed by a PSSF process. As expected, the OS lignin residues showed a rather high lignin content (63.3–66.1% of acid-insoluble lignin and 3.0–3.4% of acid-soluble lignin), compared to raw olive stones (35.6% lignin). This lignin concentration is mainly due to the carbohydrates hydrolysis, solubilisation and fermentation during the sequential fractionation process and subsequent PSSF process. Acid pretreatment promotes extensive hydrolysis and solubilization of hemicelluloses [35]. Steam explosion produces an increase of the surface area and porosity and modification of the fiber structure, thus promoting a strong increase of cellulose enzymatic digestibility [35]. Finally, after pretreatments, the carbohydrates enclosed in the pretreated material are depolymerized into soluble fermentable sugars by enzymatic hydrolysis [36]. Nonetheless, in spite of the fractionation processes and subsequent saccharification and fermentation processes, certain carbohydrate content could be still observed in the OS lignin residues, mainly glucan (17.4–19.3%) and to a lesser extent xylan (2.8–2.9%).

Table 1 Chemical composition (% dry weight) of olive stone lignin residues

Similar results have been described in OS lignin residues obtained during bioethanol production from olive tree pruning (lignins recovered from steam explosion pretreatment with phosphoric acid or water as catalysts, followed by simultaneous saccharification and fermentation process) [37, 38]. The presence of carbohydrate impurities in lignin could interfere with its subsequent valorization approaches. Thus, it is essential to evaluate possible lignin valorization pathways in which the presence of these impurities does not require any additional purification processes that can rise the costs of the resulting new lignin-based products. Previous investigations have reported appropriate valorisation routes for lignins with relatively high carbohydrate contamination. For example, Borrero-López et al. [21, 22] described the viability of using OS lignin residues from steam explosion or autohydrolysis of wood and non-woody materials followed by saccharification and fermentation, as castor oil structuring agents in biolubricant formulations. In the same way, OS lignin residues derived from acid pretreatment and enzymatic hydrolysis were valorized into active carbon to be employed as electrode material in supercapacitors [39].

Structural Characterization of Both OS Lignin Residues and Formulations Resulting from Their Dispersion in Epoxidized Linseed Oil

FTIR Spectra Analysis

Figure 1a shows the FTIR spectra of OS lignin residues (OSL-40, OSL-30, and OSL-15), being the visible bands attributed according to previous studies [37, 38, 40].

Fig. 1
figure 1

FTIR spectra of OS lignin residues. a OSL-40 (green line), OSL-30 (blue line), and OSL-15 (brown line); and OS lignin residues dispersed in epoxidized linseed oil; b OSL-40-ELO (green line), OSL-30-ELO (blue line), OSL-15-ELO (brown line) and ELO (black line) (Color figure online)

Based on the chemical composition of OS lignin residues (see Table 1), FTIR spectra were dominated by characteristic lignin bands at 1600 cm−1, 1511 cm−1, and 1422 cm−1, associated with aromatic skeleton lignin vibrations. Other lignin bands were ascribed to syringyl (S), guaiacyl (G), and p-hydroxyphenyl (H) units, including bands at 1330 cm−1 (S and G), 1268 cm−1 (G), 1216 cm−1 (G), 1116 cm−1 (S), 1030 cm−1 (G) and 833 cm−1 (S and H). Moreover, all spectra showed a broad band at 3335 cm−1 corresponding to the O–H stretching vibration in lignin structures, either aromatic or aliphatic, as well as in carbohydrates. Similar lignin FTIR patterns were described in OS lignin residues generated during bioethanol production from olive tree pruning [37, 38].

Several bands attributed to lignin oxidation could also be detected. A slight absorption at 1700 cm−1 was associated with the carbonyl groups in the unconjugated ketones and ester groups stretching. Carbonyls in hemicelluloses contained in OS lignin residues could also be contributing to this absorption [41]. Conjugated C=O groups at 1647 cm−1 could also be found in all spectra, although this band could also be related to enzymes employed during enzymatic hydrolysis due to the presence of amide bonds [37, 38]. Finally, other bands in OS lignin residues spectra can also reveal the presence of carbohydrates contamination determined by chemical composition study (Sect. “Chemical Composition of OS Lignin Rich-Residues”). Thus, cellulose and hemicelluloses bands at 1156 cm−1, 1116 cm−1, and 1030 cm−1 are apparent, some of them overlapping lignin bands.

Formulations produced by dispersing OS lignin residues in ELO (OSL-40-ELO, OSL-30-ELO, and OSL-15-ELO) were also characterized by FTIR in order to verify intended reactions between the hydroxyl groups present in OS lignin residues, either in lignin or in carbohydrates, and the oxirane rings in ELO (Fig. 1b). A decrease, or attenuation, of the bands in the wavenumber range of 795–950 cm−1 of ELO, corresponding to the C–H wagging of the oxirane ring [42, 43], was observed when OS lignin residues were dispersed in it. This could indicate an opening of the epoxy rings through a possible covalent interaction with hydroxyl groups present in OS lignin residues. This epoxy rings opening was also supported by a reduction of the intensity of the bands in the wavenumber range of 1100–1245 cm−1, attributed to C–O–C stretching of the oxirane ring [42]. Similar interactions between hydroxyl groups from different compounds and oxirane rings from epoxidized oils have been described in the literature. For example, Pin et al. [42] proposed the copolymerization of ELO and furfuryl alcohol through covalent bonds (ether) between the alcohol functions of furfuryl alcohol and the epoxy functions of ELO, resulting in the epoxy rings opening of ELO. Luo et al. [44] also described the inclusion of allylic double bonds into epoxidized soybean oil through an epoxy ring-opening nucleophilic incorporation of allyl alcohol, resulting in ether bonds. Finally, Lingome et al. [45] also reported the oxirane rings opening of epoxidized fatty esters (methyl or ethyl oleate) by hydroxyl groups from alkyl glycosides leading to the formation of hydroxyalkyl ethers.

NMR Spectra Analysis

Fig. S1 shows the 2D NMR HSQC whole spectra of OS lignin residues (OSL-40, OSL-30, and OSL-15, respectively), whereas Fig. 2 displays the spectra assigned to the oxygenated aliphatic and the aromatic regions. The 13C–1H lignin correlation signals found in HSQC spectra are displayed in Table 2, attributed according to those identified by different authors [37, 38, 40, 46, 47]. The lignin substructures and carbohydrates found are illustrated in Fig. 3.

Fig. 2.
figure 2

2D NMR HSQC spectra of OS lignin residues. Aliphatic oxygenated region (δCH 45.0–95.0/2.5–6.0 ppm) and aromatic region (δCH 90.0–150.0/5.0–9.0 ppm). OSL-40 (a and b), OSL-30 (c and d), and OSL-15 (e and f)

Table 2 Assignment of main lignin and carbohydrates 13C–1H correlation peaks in the 2D NMR HSQC spectra of OS lignin residues
Fig. 3
figure 3

Main lignin and carbohydrate substructures identified in aliphatic oxygenated and aromatic regions of OS lignin residues: A, β-O-4′ alkyl-aryl ether; B, β–β′ resinols; C, β-5′ phenylcoumarans; E, spirodienones; G, guaiacyl unit; G′, vanillin; G″, acetovanillone; H, p-hydroxyphenyl unit; I, cinnamylalcohol end-groups; J, cinnamyl aldehyde end-groups; S, syringyl unit; S′, syringaldehyde or acetosyringone; X, xylopyranose (R, OH)

The oxygenated aliphatic region of OS lignin residues spectra gives evidence of the different inter-unit linkages existing in OS lignin (Fig. 2a, c and e). In general, β-O-4′ alkyl aryl ethers signals [Cα–Hα for β-O-4′ G and S lignin units (Aα), Cβ–Hβ for β-O-4′ G and S units (Aβ), and Cγ–Hγ (Aγ)] could be identified indistinctly in all spectra. Signals from C–C linkages, such as β–β′ resinol (B) and β-5′ phenylcoumaran (C) substructures, were also readily observed. They comprised correlation signals of Cα–Hα (Bα), Cβ–Hβ (Bβ) and the double Cγ–Hγ (Bγ) in the case of β–β′ resinol; and Cα–Hα for G and S lignin units (Cα), Cβ–Hβ for S units (Cβ), and Cγ–Hγ (Cγ) for β-5′ phenylcoumaran. Cα–Hα (Eα) and Cα′–Hα′ (Eα′) signals for spirodienones and Cγ–Hγ signal for cinnamyl alcohol end-groups (Iγ) were also visible in all lignin spectra. These groups of substructures and end groups found in OS lignin have already been reported in native lignin from olive tree pruning [47], as well as in lignin residues produced in an olive tree pruning-based biorefinery (i.e., alkaline pulping and bioethanol production) [37, 38, 40].

The aliphatic-oxygenated region of OS lignin residues also revealed carbohydrates signals (Fig. S1a, b and c; and Fig. 2a, c and e), either from hexose or pentose units, according to the chemical composition previously determined (Table 1). These signals included mainly correlations (X2, X3, X4, and X5) of the xylan chain. Moreover, the C-1 cross signal for (1–4) β-D-Xylp of xylan and β-D-Gluc of glucan and α- and β-xylose reducing ends were also found (Fig. S1a, b and c).

In the aromatic region of OS lignin residues spectra, the characteristic correlation signals of S, G, and H lignin units were seen (Fig. 2b, d and f). The S lignin units displayed correlations of C2,6–H2,6 (S2,6). The G lignin units showed correlations for C2–H2 (G2), C5–H5 (G5), and C6–H6 (G6); whereas the H lignin units presented correlations of C2,6–H2,6 (H2,6) and C3,5–H3,5 (H3,5). Moreover, several correlation signals attributed to lignin oxidation could also be observed. They included syringaldehyde or acetosyringone (S´2,6), vanillin (G′2 and G′6), and acetovanillone (G″2 and G″6). Lastly, other native lignin units attributed to C2,6–H2,6 (J2,6) of cinnamaldehyde end-groups in S units (sinapaldehyde end-groups) and C6–H6 (J6) in G units (coniferaldehyde end-groups), previously described in lignin from olive tree pruning [40, 47], could also be identified in lignin from OS.

Relative percentages of the total inter-unit linkages, end groups referred to the total side-chains, aromatic units and S/G ratios are displayed in Table 3. In general, OS lignin residues showed a predominance of β–β′ resinol substructures (59.0% for OSL-40, 53.9% OSL-30, and 51.0% for OSL-15), followed by β-O-4′ alkyl aryl ethers (27.0% for OSL-40, 34.2% OSL-30, and 35.2% for OSL-15), and β-5′ phenylcoumaran substructures (13.2% for OSL-40, 9.2% OSL-30, and 11.4% for OSL-15). Lower proportions of spirodienones and cinnamyl alcohol end-groups were also determined. With regard to the aromatic region of OS lignins, the S/G ratios calculated by 2D-NMR were 1.5 for OSL-40, 1.3 for OSL-30, and 1.2 for OSL-15.

Table 3 Relative percentages of the total inter-unit linkages, end groups referred to the total side-chains, aromatic units and S/G ratios of OS lignin residues

It is well known that native lignin suffers different transformations under the pretreatment processes used herein, i.e., acid hydrolysis and steam explosion [48, 49]. The external acid catalyst (i.e., sulphuric acid) added during acid pretreatment as well as the organic acids (i.e., acetic and uronic acids) generated under both pretreatment steps lead to acid-based cleavage of β-O-4′ alkyl aryl ethers. It can explain the lower β-O-4′ alkyl aryl ethers linkages content quantified for olive stone lignins compared to other substructures such as β–β′ resinol, the majority substructure found in these lignins. Santos et al. [37] have already described a β-O-4′ alkyl aryl ethers breakdown in lignin from olive tree pruning residue during steam explosion pretreatment, an effect which was increased when the steam explosion was carried out under acidic conditions [38]. Even, the following enzymatic hydrolysis of pretreated materials continues generating acetates due to certain activities, such as xylanase present in the enzymatic cocktails such as Cellic®CTec. Then, these acetates can act on lignin, modifying its structure via β-O-4 linkage acidic breakdown [50, 51]. This could describe the lower β-O-4′ content in OSL-40 lignin (27.0%), a residual sample generated from pretreated material hydrolyze with 40 FPU of Cellic® CTec2/g of dry substrate, compared to OSL-30 (34.2%) or OSL-15 (35.2%) lignins produced from pretreated materials hydrolysed with 30 or 15 FPU of Cellic® CTec2/g of dry substrate, respectively. Moreover, the higher β-O-4′ depolymerization observed at higher hydrolytic enzyme dosages let to a slightly higher phenolic groups content (55.0 ± 2.3 mg GAE/g lignin for OSL-40; 49.0 ± 4.8 mg GAE/g lignin for OSL-30; and 48.0 ± 4.9 mg GAE/g lignin for OSL-15) (Table S2).

Degradation of β–β′ resinol, β-5′ phenylcoumaran, and spirodienones substructures has been also described in lignins of different materials pretreated with acid hydrolysis and steam explosion processes [49, 51], including lignin from olive tree pruning residue [37, 38]. By contrast, other authors have described an increase in the amount of some of these substructures. In this sense, Rahikainen et al. [52] and Heikkinen et al. [50] reported an increment in the abundance of β-5′ phenylcoumaran as a consequence of a rearrangement between interunit linkages, with an initial homolytic breakdown of the β-O-4′ and a subsequent generation of the new β-5′ linkages [53].

Regarding S/G ratios, the values observed for OS lignin residues are lower compared to lignins from side-streams recovered from black liquors from alkaline cellulosic pulp production of olive tree pruning (S/G ratios around 5) [38, 40], due to the preferential solubilization of S units during alkaline pulping. Regarding acid pretreatment, an increase of S units of solubilized lignin is also produced due to a favored release of S units into the aqueous phase [54]. Similarly, steam explosion is also associated to an initial preferential removal of S units at short autohydrolysis or steam explosion times. In this sense, Rahikainen et al. [52] and Heikkinen et al. [50] reported a considerable reduction in the S/G ratio of the lignin (insoluble residue) after the steam explosion treatment of wheat straw. Then, taking into account the preferential solubilization of S units during acid and steam explosion pretreatment of OS, lignin residues showed S/G ratios with low values.

The dispersion of the OS lignin residues in ELO was also evaluated by 1H and 13C NMR analysis (Figs. 4 and 5, respectively), as well as by 2D NMR HSQC (Fig. S2). The aim was to corroborate the possible chemical reaction observed by FTIR analysis (Sect. “Structural Characterization of Both OS Lignin Residues and Formulations Resulting from Their Dispersion in Epoxidized Linseed Oil”) between hydroxyl groups present in OS lignin residues and oxirane rings of ELO. Considering the ELO structure (Fig. 4a), major modifications arise in 1H NMR spectrum when OS lignin residues were dispersed in it (Fig. 4b). As can be seen, the peaks attributed to protons of the oxirane ring at δH 3.1 and 2.8 ppm, of the methylene bridge between two epoxy rings, δH 1.8 ppm, and of the methylene next to the oxirane ring, δH 1.5 ppm [42, 43], became broader or disappeared. In addition, a new broad peak between δH 3.2–3.9 ppm was observed in the resulting dispersion of the OSL-40-ELO sample (Fig. 4b). This new peak, apart from the methoxy groups in lignin, could also correspond to protons attached to carbon and oxygen of –CHOH groups [55]. These observations were also described during cross-linking of epoxidized linseed oil and aliphatic/aromatic diacids [43], copolymerization of epoxidized linseed oil with furfuryl alcohol [42] and epoxidized soybean oil and allyl alcohol [56]. They highlight the opening of epoxides groups of ELO, corroborating the possible covalent interaction of them with hydroxyl groups from OS lignin residues, previously described by FTIR. 13C NMR also supported the opening of epoxides groups (Fig. 5), showing a decrease of the –CH– resonance at δC 53–58 ppm from the oxirane ring when OS lignin residues were dispersed in ELO [42]. Finally, 2D NMR HSQC experiments of formulations produced from OS lignin residues dispersed in ELO supported the observations found by 1H and 13C NMR analysis. Compared to the ELO spectrum (Fig. S2a), new peaks appeared in the range of δCH 70.0–85.0/3.00–4.5 ppm corresponding to secondary alcohol and methylene ether (Fig. S2b), confirming the oxirane rings opening of ELO by hydroxyls groups of OS lignin residues. Licsandru et al. [57] also described these signals in 2D NMR HSQC spectra when hydroxyl functions of humins reacted with oxirane rings of ELO.

Fig. 4.
figure 4

1H NMR spectra of a epoxidized linseed oil (ELO) and b formulation obtained from OS lignin residues dispersed in ELO

Fig. 5.
figure 5

13C NMR spectra of a epoxidized linseed oil (ELO) and b formulation obtained from OS lignin residues dispersed in ELO

SEC Analysis

Fig. S3 displays the molecular weight distribution of OS lignin residues (OSL-40, OSL-30, and OSL-15), displaying several fractions well-distinguished; one showing a higher molecular weight broad peak, and others showing lower molecular weight narrow peaks. High weight-average molecular values Mw were obtained from molecular weight distribution (22,000–25900 Da) (Table 4). In general, lignins remaining in the residues from enzymatic hydrolysis of pretreated materials usually show higher molecular weight values compared to lignins solubilized during the pretreatment step [21, 58]. As previously mentioned, acid-based cleavage of β-O-4′ alkyl aryl ethers is produced during both acid and steam explosion pretreatments, leading to lignin depolymerization and, consequently a decrease in molecular weight. Nevertheless, polymerization reactions can also take place under acidic conditions [48], mainly via C–C bonds, giving increments in Mw values [59]. The high polydispersity values observed for OS lignin residues (between 13.2 and 11.8), could confirm that polymerization reactions have taken place during both acid and steam explosion pretreatments [60]. Nevertheless, the high Mw of the OS lignins could be also attributed to the presence of carbohydrates in the OS lignin residues (Sect. “Chemical Composition of OS Lignin Rich-Residues”), as during the preparation of these residues for SEC analysis, an alkaline solubilisation of carbohydrates could take place, remaining them covalently link to the lignins [61]. High molecular weights were also reported by Dávila et al. [62] in lignin residues obtained from vine shoots during autohydrolysis pretreatment and subsequent simultaneous saccharification and ethanol fermentation.

Table 4 Weight average (Mw) and number-average (Mn) molecular weights and polidispersity (Mw/Mn) of OS lignin residues

Thermal Analysis

The thermal degradation curves in the form of both weight loss and rate of weight loss (first derivative) of the different OS lignin residues (OSL-40, OSL-30, and OSL-15) are shown in Fig. 6. Regarding the chemical composition (Sect. “Chemical Composition of OS Lignin Rich-Residues”), besides the small initial weight loss due to the residual moisture content of the samples, the dehydration of the different hydroxyl groups present in the chemical structure of lignocellulosic components (hydrogen bonds and C–OH linkages) takes place at around 150 °C [63]. This peak seems to be more relevant for OSL-40 and OSL-30, which could be explained by attending the total lignin content of both samples as well as their higher degradation, comprising a higher number of hydroxyls [26], as described in NMR section. Moreover, at 250 °C, another thermal event appeared as a slight shoulder, which can be assigned to the ether linkages cleavage, being more noticeable for OSL-15 and OSL-30 lignin residues involving higher quantities of glucan [64, 65]. This also verifies the lower β-O-4′ content in the OSL-40 sample as a consequence of the enzymatic hydrolysis treatment of pretreated materials, as shown in Table 3. The thermal degradation of ether units generates different volatile gases like CO, CO2, and CH4, among others, promoting pyrolytic processes that include the rupture of carbon–carbon linkages of both the lignin aromatic structures and cellulose skeleton at high temperatures (at around 340 °C). As can be noticed, this thermal stage begins earlier for the OSL-40 sample as a consequence of the higher quantity of the total lignin content, which is verified by means of the β–β′ resinol, β-5′ phenylcoumaran, and spirodienones substructures comprising the cited lignin residue. At this temperature, free radicals are usually formed, starting the depolymerization of these lignin-based residues and giving rise to further polymerization reactions (at around 400 °C) with the subsequent char formation [63].

Fig. 6
figure 6

Thermal degradation curves of OS lignin residues. OSL-40 (green line), OSL-30 (blue line), and OSL-15 (brown line) (Color figure online)

Rheological Characterization of OS Lignin Residues in Epoxidized Linseed Oil

The OS lignin residues were dispersed in ELO to obtain thickened formulations. As previously reported for similar systems [17], physical stabilization and thickening were attained by means of chemical crosslinking between the epoxy groups that form the chemical structure of ELO and the hydroxyl groups contained in the OS lignin residues. Conversely, blends of unmodified vegetable oils and lignin gave rise to unstable suspensions [26]. This fact corroborates the intended chemical reaction promoted by covalent interactions between ELO and OS lignin residues, as previously observed in NMR and FTIR analyses. Figure 7 shows the viscous flow curves of both ELO and the resulting thickened formulations, prepared by adding 30 wt% of the three OS lignin residues. A noticeable increase in viscosity (over tenfold increments) in relation to ELO’s viscosity can be observed in the three samples thickened with the OS lignin residues. Moreover, ELO exhibited a Newtonian behavior, as similarly found in other epoxidized oils [66, 67] while a shear-thinning response was evinced in the lignin-thickened dispersions. These flow curves were satisfactorily fitted to the power-law model (see inset in Fig. 7), which describes the shear-thinning flow behavior observed within the shear range analyzed, being K and n the consistency and flow indexes, respectively. As can be seen, flow index values lower than 1 were obtained for all OSL-containing samples, thus modifying the Newtonian characteristics of pure oils, which is indicative of a certain structuration level. On the other hand, an almost identical viscous flow response can be observed for the three lignin dispersions, regardless of the hydrolytic enzyme dose used during presaccharification. This result is somewhat expected considering that the composition and chemical structure of the three OS lignin residues are not very different, as previously discussed.

Fig. 7
figure 7

Viscous flow curves of both raw material (ELO) and lignin-thickened formulations (30 wt%) as a function of OS lignin residues

Figure 8 displays the mechanical spectra acquired from SAOS measurements inside the linear viscoelastic range (see the stress sweep experiments in Fig. S4) for the thickened formulations based on OS lignin residues and ELO at 30 wt% concentration. Again, as can be observed, the linear viscoelastic response is qualitatively comparable for all the formulations analyzed in the whole frequency range studied. The mechanical spectra reveal a rheological behavior that corresponds to viscoelastic liquids, where the loss modulus (G″) is around one decade higher than the storage modulus (G′). However, the evolution of both moduli with frequency deviates from the typical response of pure liquids in the terminal flow region, i.e., G′ ~ ω2 and G″(ω) ~ ω. In this case, both moduli evolve with the frequency almost in parallel and proportional to ω0.9–1, again indicating oil structuration to some extent. A very similar frequency dependence was obtained for dispersions of a lignin fraction from sugarcane bagasse residue in a highly epoxidized castor oil [17]. Despite the very similar viscoelastic responses found for the three OS lignin residues, slightly higher values of both SAOS functions, especially G′, can be appreciated for sample OSL-40-ELO, i.e. higher relative elasticity, probably due to the higher total lignin content found in OSL-40 sample. Moreover, the lignin contained in this sample showed a lower amount of β-O-4′ substructures and, consequently more phenolic groups available (Table S2) to react with the epoxy groups.

Fig. 8
figure 8

Frequency dependence of the storage, G′, and loss, G″, moduli for thickened formulations based on OS lignin residues and ELO

Conclusions

OS were subjected to a sequential acid/steam explosion pretreatment followed by pre-saccharification, with different enzyme dosages, and simultaneous saccharification and ethanol fermentation (PSSF). The resulting OS lignin residues presented high lignin content, together with some carbohydrate impurities, values that depended on the hydrolytic enzyme dosages used (lower carbohydrate contents at higher hydrolytic enzyme dosages used). Moreover, the lignins contained in OS lignin residues displayed a well-maintained structure, despite the different depolymerization reactions produced during pretreatment and subsequent PSSF stages. Then, the main inter-unit linkages such as β–β′ resinol, β-O-4′ alkyl aryl ethers, and β-5′ phenylcoumaran substructures could be detected, together with high molecular weight, and low S/G ratio and phenolic groups content. Nevertheless, at higher hydrolytic enzyme dosages used, lower C–O bonds content, lower molecular weight and higher phenolic groups content were observed in OS lignin residues. Subsequently, the thickening ability of the OS lignin residues in epoxidized linseed oil (ELO) was verified, achieving viscosity increments (over tenfold increments) in relation to ELO’s viscosity. Moreover, lignin-thickened formulations showed viscoelastic properties, with a frequency dependence of the storage and loss moduli that suggests oil structuration to some extent. Slightly higher relative elasticity was noticed when using OS lignin resulting from higher hydrolytic enzyme dosage. The revalorization of these OS lignin residues as oil thickeners may help to improve the profitability and sustainability of the bioethanol production process, contributing to the implementation of lignocellulosic biorefineries and, therefore to the bioeconomy development.