Process Water Recirculation During Hydrothermal Carbonization as a Promising Process Step Towards the Production of Nitrogen-Doped Carbonaceous Materials

Hydrothermal Carbonization (HTC) refers to the conversion of biogenic wastes into char-like solids with promising perspectives for application, but a process water (PW) results which is difficult to dispose untreated. Thus, a biorefinery approach including one or two recirculation steps with the additional objective of improving the physico-chemical characteristics of the solid was performed in this study. During HTC, constitutive molecules such as saccharides, proteins and lignin of Brewer’s Spent Grains decompose into hundreds of organic compounds, following complex reactions. To get deeper insights a combination of proximate, ultimate and structural analysis for solid products as well as liquid chromatography for liquid products were the choice. The main reactions could be identified by key compounds of low and high molecular weight resulting from hydrolysis, dehydration, decarboxylation, deamination as well as amide formation and condensation reactions. Their intensity was influenced by the feedwater pH and reaction temperature. Via reactions of Maillard character up to around 90% of the dissolved nitrogen of the recirculated process water at 200, 220 and 240 °C result in the formation of nitrogen containing heterocycles or rather Quartnernary nitrogen incorporated into the hydrochar (HC). Thus, already one recirculation step during HTC at 240 °C promises the fabrication of high added-value materials, i.e. nitrogen doped carbonaceous materials.


Introduction
In 1913, Bergius [1] reported a thermochemical process that imitates the natural coalification within a few hours, which is termed hydothermal carbonization (HTC) now. In 2007, at the Max Planck Institute of Colloids and Interfaces, HTC was rediscovered as an alternative process for the production of modern carbon materials for different kind of applications, firstly using saccharides as initial feedstock [2]. Nowadays, HTC is developed by several companies as a technology for processing residues in continous (tubular) and quasi-continuous (multi-batch) reactors. Due to their pumpability, biogenic wastes from agriculture, municipality and food industry with moisture contents between 70 and 90% can be processed [3]. As the pumpability is a decisive feature for the automatization, the external supply of water is frequently applied. In addition, this enhances the homogenization and the heat exchange during the HTC process. In most studies fresh water is used, but also, like here, the aqueous phase of a previous HTC run can be recycled.
In this industrial context, one of the main bottlenecks associated with HTC concerns the water consumption, which has a negative effect on ecological and social sustainability [4]. After the HTC process, an aqueous phase is obtained, which is termed process water (PW). It is necessary to develop approaches to reduce the water consumption. PW has usually a high total organic carbon content (TOC) and correspondingly a high chemical oxygen demand (COD) [5].
In addition to the reduction of the water consumption, a sustainable disposal or recycling method of the PW is necessary. This is not an easy task due to complex and diverse composition of the organic compounds in PW. It depends on the matrix complexity of biogenic feedstock considering the carbohydrates (oligo-, poly-, tri-, di-and monosaccharides), proteins, lipids and inorganics as well as HTC reaction conditions. The reactivity of biomass during hydrolyis varies. At temperatures over 220 °C and residence times longer than 120 min the structure of lignocellulosic biomass such as Brewer's Spent Grains (BSG) is mostly degraded and its intial carbon bound is dissolved as organic compounds in the PW, or consecutively forms secondary char. For such biomass, the formation of secondary char dominates compared to the reaction via intramolecular condensation and decarboxylation to primary char [6]. This is different for lignocellulosic biomass with a more stable structure, for which primary char formation is much more important [7].
According to waste water regulations, the PW needs a previous treatment, before its deposition to the sewage system. Consequently, a disposal company has to be engaged, which is expensive, considering the percentage of organics in the PW of up to 20% of the carbon input [8]. As an approach, several studies have been carried out with PW for example as a feedstock for anaerobic digestion [9][10][11][12][13], wet oxidation [14,15] and algae cultivation [16]. Furthermore, researchers investigated the PW recirculation in HTC of poplar wood [17], grape pomace [18], sawdust [19], loblolly pine [20], miscanthus [21], sweet potato waste [22] and BSG [6,23]. Although, the effect of the PW recirculation on the characteristics of hydrochars (HCs) was somehow inconsistent with each other, the previous studies conclude that PW recirculation increased the HC yield and the carbon retention efficiency. In addition, the HHV and the Dissolved Organic Carbon (DOC) of the resulting PW is reduced.
Wüst et al. found that the higher the concentrations of reactive organic compounds such as (reducing) saccharides and Furfural-like compounds in the recirculable PW, the higher the HC yield and carbon retention efficiency [6]. This is a consequence of the increased support of secondary char formation. While Wüst et al. described the formation of the carbohydrate-originated products [6], Becker et al. studied the formation of lipid-and lignin-originated products [5] and Zhuang et al. investigated the formation of proteinoriginated products of HTC with PW recirculation [24,25]. Two studies have been published so far that also adressed the reaction pathways in the reaction medium more in detail, with respect to the physicochemical characteristics of the obtained HCs [26,27].
In case PW is reused for dispersion of biomass, reaction between organic compounds in the PW with compounds formed from the biomass can occur. When these compounds originate from carbohydrates, the products of polymerisation is called secondary char [28]. The Maillard reactions occurs between carbohydrate and protein degradation products and leads to nitrogen containing heterocyclic rings [29].

3
These nitrogen containing compounds can be found in solution, or via polymerization in the solid phase [30], termed nitrogen doped carbonaceous material here. Lipids could be hydrolysed, while the resulting fatty acids may decarboxylate rather than degraded below 300 °C [31]. Finally, they condensate and form an oily phase of the solid product. Usually lignin is only hydrolyzed to a minor extent, at HTC conditions [32]. In case of PW recirculation, lignin oligomers or other compounds including phenols, may hydrolyse because of the higher over-all reactions time. Now the question occurs, whether they can take part in polymerization reactions and form char.
To understand these processes, and to be able to produce tailored-chars with a low amount of oxygen-and nitrogencontaining surface functional groups and correspondingly a lower electrical resistance in the future [33], the solid and the liquid phase are analysed. In this context a suitable tool is the PW recirculation, which results in promotion of the relevant reactions such as depolymerization, deoxygenation, dehydration, decarboxylation as well as dimerization and cyclization [34][35][36]. It has to be considered that longchain intermediates and products will be found in the solid, but their shorter chain precursors are in the liquid phase. Therefore, a detailed analysis of the liquid and the solid phase is necessary, which was not completely possible. However, the focus was on the identification and analysis of key compounds, indicating specific reactions between compounds originated from lipids and proteins together with those of carbohydrates.

Brewer's Spent Grains (BSG)
BSG (Privatbrauerei Hoepfner, Karlsruhe, Germany) with a dry matter content of 28 wt. % was used untreated. It is composed of the particle size fractions 0-250 µm with 6%, 250-500 µm with 9%, 500-1000 µm with 23% and larger than 1000 µm with 61%. Table 1 shows that it distincly differs by a 13% higher hemicellulose and by 5.2% higher lignin content (see Table 1) in comparison to that one used by Wüst et al. [6]. Contrary to this previous study, the content of inorganic carbonates with 0.7% (≈ 0.146 C%) (see Eq. 10) has to be considered for the calculations of carbon retention efficiency (C eff ). The biochemical, chemical and physical characteristics differ by a maximum of ± 5% in both studies, which consequently has an influence on the atomic ratios. The reason is a variation of the basis (barley, wheat), which depends on the recipe of beer types and their brewing process [37,38].  Table 2 shows the percentage of protein-bound amino acids (except of tryptophan), with around 22% in total relative to the total N content and detected in the dried BSG. As reported by [39] glutamic acid, valine, arginine and proline were detected in major amounts (≥ 2 N%), aspartic acid, threonine, serine, glycine, alanine, isoleucine, leucine, phenylalanine, histidine, cysteine, methionine and tyrosine in medium amounts (1-2 N%) as well as cysteine, methionine and tyrosinein in minor amounts (≤ 1 N%). This profile depends on the assimilation of yeast during the brewing process. Yeast remains in BSG after solid-liquid-separation. Additionally, peptides are uptaken and can be particularly related to the remaining nitrogenous components of BSG [38]. During the malting for beer production, protein and carbohydrates may react to form other nitrogen containing compounds via the Maillard reactions [40,41].

Experimental Procedure
The experimental procedure and experimental setup of the HTC was decribed in a previous study of the research group [23] and the fresh BSG for each experiment was taken from the same trial batch (Privatbrauerei Hoepfner GmbH, Karlsruhe, Germany). Three operating temperatures (T R = 200, 220, 240 °C) and one reaction time (t R = 2 h) were considered during the two process water (PW) recirculations.

Physicochemical Analysis
Solid The particle size distribution of BSG was determined in a sieving machine type VS 1000 (Retsch GmbH, Haan, Germany) according to DIN 66165 after freeze drying (Martin Christ Gefriertrocknungsanlagen GmbH, Osterode, Germany). After grinding the BSG and its HCs to powder in a CryoMill (Retsch GmbH, Haan, Germany), their ultimate composition was determined with an Euro EA-CHNSO Elemental Analyzer (HEKAtech GmbH, Wegberg, Germany). The oxygen content was calculated by Eq.  [42]. For the calculation of the protein content, the nitrogen content was determined according to the Kjeldahl method and multiplied by the factor 6.25, given for cereal products [43]. The mineral composition of BSG and its HCs was analyzed by means of inductively coupled plasma optical emission spectrometry in an ICP-OES Spectrometer (Agilent Technologies, Santa Clara, USA) after microwave digestion (Anton Paar Germany GmbH, Ostfildern, Germany). Results are presented in Tab S1 in the Supplementary Materials but not discussed.

Liquid
The liquid phase was filtered (0.45-μm polypropylene filters) and adequately diluted with the eluent for sample preparation prior to high performance liquid chromatography (HPLC) or liquid-liquid-extraction prior to gas chromatography with mass spectroscopy (GC-MS). Subsequently, HPLC was used to determine and quantify the carbohydrate-, phenol-and protein-related reaction products and GC was applied for detection of lipidrelated reaction products, in the liquid phase after each HTC. Equipment and procedures used for the detection of saccharides, organic acids, aldehydes, and alcohols were described in detail in a recently published study [6].
To validate the results for 5-hydroxymethylfurfural (HMF), methylfurfural, and furfural, another HPLC system (Merck Hitachi, Düsseldorf, Germany) equipped with the column Lichrosper 100 RP-18 was used, which was driven with an eluent composition of water and acetonitrile (90/10) and a flow rate of 1.4 mL min −1 at 20 °C.
The amino acids were analyzed according to VO (EG) 152/2009 by using a Biochrom 30 (Biochrom LTD,

3
Cambridge, UK) equipped with a PEEK pre-column (100 × 4.6 mm) and main column (200 × 4.6 mm) [44]. After gradient separation, the concentrations of amino acids were determined at 2 wave lenghts of 570 and 440 nm after postcolumn derivatization at 135 °C by means of ninhydrin. Tryptophan, which has to be detected by separeted method, was neglected. The phenols such as resorcinol, catechol, phenol, vanillin, 2.6-methoxyphenol, 4-Methylguaiacol as well as m-, o-, p-cresol were measured by a Merck Hitachi Primade HPLC system equipped with the column Kinetex 2.6 u PFP 100A (Phenomenex LTD, Aschaffenburg, Germany) and a Diode-Array-Detector. The eluent consisted of 7.6 mL H 3 PO 4 , 12.9 g NaH 2 PO 4 dissolved in 2 L H 2 O/ MeOH (80/ 20), which was used at a flow rate of 1.0 mL min −1 .
For identification of the fatty acid pattern the pretreated liquid samples were extracted 3 times with petroleum ether (30-50 °C). In the following step, petroleum ether was carefully evaporated. Then, 0.2-0.3 g of the sample extract was dissolved in 5 mL of di-isopropyl ether. Subsequent methylation was done by adding 0.2 M methanolic solution of trimethylsulfoniumhydroxide (TMSH) to an aliquot of the sample extract, dissolved in di-isopropyl ether in a ratio of 1:2 (v/ v). For analysis, this mixture was injected into a GC with Flame Ionisation Detection (GC-FID) of type 7890A (Agilent Technologies GmbH, Waldbronn, Germany).
The total dissolved organic carbon content (DOC) of the filtrate was determined by liquid chromatography-organic carbon detection LC-OCD (DIMATEC Analysentechnik GmbH, Essen, Germany). The concentrations of ammonium in liquids were measured by means of the barcode cuvette tests LCK 303 in the spectral photometer DR6000 (HACH LANGE GmbH, Düsseldorf, Germany). The DOC values were used to create a mass-related carbon distribution (see Eq. 12 and Fig. 10).
To validate the presence of some carboxylic acids and phenols as well as other intermediate products, a GC-MS analysis was performed by a GC system of type 7890A equipped with a MS of type Agilent 5975C (Agilent Technologies, Santa Clara, USA). Here only a qualitative analysis was performed.

Structural Analysis
Two different methods were used for gaining insights about the carbon and nitrogen related structure of the HC and its surface functionalities. Whereas, Fourier Transmission Infrared Spectroscopy (FT-IR) presents the more sensitive and selective technique and also provides the possibility to gain insights about the expired (de-)polymerization of the biochemical structure of BSG (bulk), X-ray photoelectron spectroscopy (XPS) only enables a study of the evolution of functional groups on the HC's surface mostly resulting from secondary char formation [45]: 1. FT-IR spectra of the intial feedstock and produced HCs were acquired, using Bruker ALPHA II coupled with a diamond Attenuated Total Reflector (ATR) (PLATI-NUM-ATR, Germany). The pellet technique was used mixing 2 mg of dried BSG or its HCs with 200 mg of pre-dried and pulverized spectroscopic-grade potassium bromide (Merck and Co., Whitehouse Station, NJ) and pressing at compressive pressure of 1 GPa. The spectra were registered in the range from 400 to 4000 cm −1 by averaging 24 scans.
2. XPS spectra were recorded using a Kratos Axis ULTRA equipment, which provided the extent of the surface analyzed by XPS normally probes to a depth of 5 nm and the lateral size is determined by the X-ray spot used. The spectrometer is equipped with a Al Kα monochromated source (hυ = 1486.7 eV). X-ray gun power was set to 120 W (8 mA emission current). Binding energy calibration was made using C 1 s (284.8 eV). The survey scans were acquired using 30 eV pass energy, 1 eV step size and 100 ms dwell times. All high resolution spectra were acquired using 10 eV pass energy, 0.1 eV step size and 260 ms dwell times. Casa XPS was used for data interpretation. Shirley background subtractions were employed in all data. The C 1 s, O 1 s and N 1 s peaks were fitted using GL(30) line shapes: a combination of a Gaussian (70%) and Lorentzian (30%). The atomic percentages were calculated from the peak areas in the acquired high resolution spectra. Casa XPS sensitivity factors were used for atomic percentage quantification analysis (where RSF of C 1 s = 0.278, O 1 s = 0.780 and N 1 s = 0.477). The C 1 s peak was deconvoluted in C-C (⁓ 284.8 eV), C-N (⁓ 285.6 eV), C-O (⁓ 286 eV), C = O (⁓ 288 eV) and π-π* sat (⁓ 291 eV). The O 1 s peak was deconvoluted in C = O (⁓ 531.3 eV) and C-O (⁓ 532.8 eV). The N 1 s peak was deconvoluted in pyridinic (⁓ 399.4 eV), amine (⁓ 399.9 eV), pyrrolic (⁓ 400.5 eV), quaternary (⁓ 401.5 eV) and inorganic or chemisorbed (⁓ 402.4 eV).

Scanning electron microscopy.
Scanning electron microscopy (SEM) of dried and pulverized HCs was performed with a GeminiSEM 500 from Zeiss (software: SmartSEM Version 6.01) with a thermal Schottky field emitter cathode. The variable pressure system allowed pressures up to 500 Pa that were applied in the case of nonconductive samples. For secondary electron (SE) images, the SEM was equipped with an inlens SE detector, an Everhart-Thornley detector, and a variable pressure secondary electrons (VPSE) detector.

Uncertainty analysis.
All experiments were conducted twice as it was known from prior experiments that the overall error is around ± 5% (relative) and the reproducibility is even better. Due to a good laboratory praxis the analytical methods are regularly controlled by including the calibration standards within each detection sequence. This procedure guaranteed an analytical or a systematic error below ± 5%.

Calculations
The oxygen content presented in Table 1 was calculated by difference related to 100% dry matter (DM) of BSG as well as its HCs: The fixed Carbon (C fix ) content presented in Table 1 was calculated by difference related to 100% DM of BSG as well as its HCs: For calculation of the values for hemicellulose, cellulose and lignin the following equations were applied: Whereas NDF designates the neutral detergent fiber, ADF is the acid detergent fiber and ADL is the acid detergent lignin.
Energy characteristics of BSG and its HCs were evaluated by using two parameters, namely the energy densification ratio (EDR HC ) and the energy yield (EY HC ). They were calculated according to the following equations: EDR HC (%) = HHV HC db HHV BSG db × 100% where EDR HC is the Energy Densification Ratio of HCs which is based on the calculated higher heating value of the HC ( HHV HC db ) divided by the higher heating value of the feedstock Brewer's spent grains (BSG) ( HHV BSG db ) in J g −1 . The Energy Yield ( EY HC ) considers the HC yield ( Y HC ), which is calculated by the mass of HC ( m HC ) and the mass of BSG ( m BSG ) considered on a dry basis.
The higher heating values for the BSG and its HCs were calculated using the following equation [46]: Where the elements have to be inserted as measured in weight percent (wt.%).
The fuel ratio (FR) evaluates the combustibility of the BSG and the produced HCs and considers the fixed carbon content (C fix ) as well as the content of volatile matter (VM).
The organic carbon retention efficiencies related to Brewer's Spent Grains (BSG) and to process water of the last recirculation step were calculated as: C eff is the organic carbon retention efficiency related to the BSG weighed in, C HC the total carbon content of the hydrochar, m HC is the mass of the hydrochar, C BSG is the total carbon content of the BSG and m BSG is the initial mass of BSG (all on a dry basis). C PW_initial/1st is the concentration of dissolved organic carbon, which has to be mutliplied by the mass of the recirculated PW (m PW ) for calculation of the weight of total organic carbon in the PW.
C eff-rPW describes the carbon retention efficiency regarding the additional HC formed from the carbon compounds dissolved in the recirculated PW.
To illustrate how well the carbon balance in the PW after the two recirculation steps could be closed, the following equation was used: The carbon percentage of each reaction product (C%) was calculated considering the molar percentage of carbon (M Carbon ) in the reaction product (M Reaction Product ) depending on its concentration (c Reaction product ) related to the concentration of dissolved organic carbon (c DOC ).
The nitrogen retention efficiencies related to Brewer's Spent Grains (BSG) and the load of the recirculated process water were calculated as: N eff is the nitrogen-retention efficiency related to the BSG weighed in, N HC the nitrogen content of the HC, m HC is the mass of the hydrochar, N BSG is the total nitrogen content of the BSG and m BSG is the initial mass of BSG (all on a dry basis). N PW_initial/1st is the weight of nitrogen, which was calculated on the basis of the total nitrogen bound in the recirculated PW and its mass m PW .
N eff-rPW describes the nitrogen-retention efficiency regarding the additional HC formed from the nitrogen compounds dissolved in the recirculated PW.

Results and Discussion
The challenge is that information about the reactions occuring is included in a lot of different measurements with diverse methods. Therefore, firstly the impact of the reaction parameters is reported and then, the findings are collected giving an insight on the behaviour of different compounds in biomass.
In order to understand the chemistry of HTC, Fig. 1 shows the most important reactions occuring at hydrothermal conditions. There is the hydrolysis of polar bonds like ethers or amines (see A in Fig. 1). This is important for biomass conversion, because large polysaccharides like cellulose or hemicellulose are splitted into monosaccharides, mainly glucose, accomplished by water elimination (see B in Fig. 1). Also esters and amides are hydrolysed, which means that proteins and lipids are hydrolysed to smaller molecules. In addition, decarboxylation of acids in general occurs (not shown). The saccharide rings of glucose and fructose can be splitted by reverse aldol condensation. On the other hand, the formation of HC from HMF might be an aldol condensation (see C in Fig. 1). D (see Fig. 1) is an example for Keto-Enol-Tautomerisation, which here is the formation of fructose to glucose and vice versa. The Strecker degradation (see E in Fig. 1) is a reaction in which consecutive reactions of saccharides, here to pyruvaldehyde, lead to the degradation of amino acids, thus forming a product of the hydrolysis of proteins. All these reactions are promoted by the special properties of water [47]. The presence of proteins, and consecutively amino acids, together with saccharides enable the formation of nitrogen heterocyclic compounds via the Maillard reaction (see Fig. 2) [29]. BSG already contains Maillard products because of the malting step during brewing. Thus, these heterocyclic nitrogen containing compounds may become a part of the HC structure [30].

Effect of Temperature and Recirculation Steps on Hydrochar Mass Yields, Physicochemical and Energetic Characteristics
In Table 3 it is shown that the applied HTC conditions result in significant changes of the physicochemical as well as energy characteristics of the BSG described in Table 1.
The results of varying the reaction temperature (T R ) as well as the PW recirculation (see Table 1) show that T R had a higher impact on HCs than the reuse of PW. In general, the increase of T R results into the decrement of the VM, which also corresponds to an increase of the FR. Conversely, C fix values of HCs produced at 200, 220 and 240 °C showed an increase of more than 50, 70 and up to 100% relative to BSG (see Table 1). However, the HCs produced with the 1 st recirculated PW showed the highest increase with 62, 78 and up to 100%.
Correlating with the carbon content as well as under consideration of the contents of other elements (N, H, S,  Table 1) and its HCs (see Table 3), the HHV can be calculated (see Eq. 8) [46]. Whereas, the HHV had already been increased after the initial HTC-run at 200 °C, a recirculation reduced it. This could also be observed for the 2 nd recirculation after the HTC-run at 220 °C. However, relative to the HHV of BSG (see Table 1), those of HCs produced at 200, 220 and 240 °C in water, after the 1 st and 2 nd PW recirculation were more than 20, 30 and or even up to 40% higher. These increases can be expressed by the energy densification ratio (EDR HC ). In total, these HCs, even without PW recirculation, might compete with standardized solid fuels such as German Lignite [46]. In addition, the evaluation of the O/C and H/C atomic ratios, shown in the van Krevelen plot (see Fig. 3), allowed the general conclusion that T R is the reaction parameter exhibiting of the highest impact. With increasing T R the oxygen and hydrogen content, relative to the carbon, is reduced, indicating on the one side the depolymerization of the cellulosic fraction of BSG and the following deoxygenation as well as on the other side the dehydration from hydrolysed (oligo-)saccharides [34]. Thus, the reuse of the PW has a minor effect at T R below 220 °C, except for the initial pH of the next HTC-run and initialising the aforementioned reactions [48]. However, applying 240 °C resulted in an increment of H/C ratios, which points out a higher degree of carbonization or aromaticity [35].
Since BSG contains amino, carboxylic, and thiol groups [49], it also includes heteroatoms, the ratios of N/C as well as N/S were calculated and given in Table 3. The results showed that at 200 °C, the N/C decreased by 0.16 and S/C increased by 0.001 relative to BSG. The ratios slightly increased with T R . .
At 220 °C, a 2 nd recirculation even resulted in an EY HC (see Eq. 7) of more than 90% due to a Y HC (see Eq. 5) of more than 70%. Moreover, small differences in the VM, C fix and an increase in the ash content after the 1 st recirculation proved that a 2 nd recirculation is necessary for an efficient  [29] conversion. The increase in ash of HCs related to the BSG is mostly caused by a concentration of elements such as phosphorus, sulphur as well as of earth alkali metals such as calcium and magnesium but also iron and zinc to a low extent [50]. Other elements could not be detected, partly due to the fact they are below the detection limit (see Table S1 in Supplemmentary Materials).
The FR (see Eq. 9) of HCs, which leads to an evaluation of their combustibility, reached its maximum at 240 °C, after the initial HTC-run, 1 st and 2 nd recirculation. At 240 °C, it was more than 2.8 times higher than the FR of the feedstock (see Table 3). Nevertheless, it might be associated to the energy input and larger loss of carbon to the PW and PG, in comparison to the experiments at 220 °C (see Fig. 4). However, efficiencies regarding recirculation of carbon (C eff-rPW ) and nitrogen (N eff-rPW ) during HTC at 200 °C are better than at the other T R (see Table S2).
It has to be considered that all data in Table 3 and Fig. 4 are given relative to the carbon input by BSG. By PW recirculation the total carbon input increased. As the organic compounds in PW are those which have not reacted to HC, it would be misleading to consider them for calculating the Y HC . Compounds like acetic acid will not contribute directly to HC formation, how often ever they are recirculated, but influencing feedwater pH. Noting that, it is one of the most important results that carbon in PW not drastically increased by recirculation (see Fig. 4).

FT-IR study of Brewer's Spent Grains and its Hydrochars
The FT-IR spectra of the HCs produced after using water and recirculated PW are shown in Fig. 5. They were used to evaluate the effect of PW recirculation on the decomposition pathways of BSG. For this purpose, the impact on the condensation, amide formation and polymerization reactions to form HCs and as consequence, on their physicochemical characteristics will be properly addressed [6,51].
The FT-IR bands between 3700 and 3000 cm −1 (see Fig. 5) are ascribed to stretching vibration of aliphatic -OH (hydroxyl and carboxyl) as well as stretching vibration of the free -COOH, indicating the presence of polysaccharides and proteins. The decrease of wavenumbers shows the dehydration promoted by enhancing the T R . This is especially promoted, if the feedwater pH (pH = 3.5-4.0) is lowered from the beginning by using recirculated PW. This is different from the insights of Xu et al., who applied a comparable process, but they included mixing of sewage sudge and a PW with a pH higher than 6.5 [26].
The bands around the peak 2922 cm −1 correspond to methylene (-CH 2 ) stretching vibrations. Here, further broadening as well as a decreasing intensity show an ongoing dehydration by enhancing the T R with every recirculation [52]. HCs produced at 200 and 220 °C are characterized by a loss of aliphatic -CH, -CH 2 and -CH 3 groups (3000-2800 cm −1 ), while the importance of aromatic C-H and C-C groups increases (1800-750 cm −1 ), as can be seen in Fig. 5 [53]. Furthermore, the intense absorption peaks around 1000 cm −1 , representing the C-O and C-O-C stretching and illustrating a characteristic region of cellulose-typical structures, continuously disappeared [54]. This implies reduction by dehydration and decarboxylation, which is in agreement with the observations in the van Krevelen plot in Fig. 3. Both are comparable to the HCs produced at 200 and 220 °C with water and after the 2 nd recirculation. For the other HCs obtained, vibrations are more depressed. Additionally, the peaks located at 1600 and 1520 cm −1 are ascribed to N-H (amine-N) and C = N (pyridinic-N) vibration [55,56], which may be a hint to Maillard products (see Fig. 2). Concerning proteins, changes in the regions between 1440 and 1400 as well as 1020-1220 cm −1 are visible, which are attributed to amine and amide structures. In addition, the peak at 559 cm −1 , which is assigned to the bending vibrations of the O = C-N group [57,58], indicates proteins. It is distinctly realised from the FT-IR spectra that the variety of Fig. 3 Coalification degree of hydrochars obtained from hydrothermal carbonization of Brewer's Spent Grains with water and after recirculation of its process water in two further steps at 200, 220, 240 °C for 2 h (e.g. 2 nd 220) illustrated in the van Krevelen diagram by plotting H/C atomic ratios versus O/C atomic ratios. Whereas the rhombus-shaped data points stand for the initial HTC-run, the triangle-shaped and the square-shaped data points stand for the HTC-run after the 1 st and the 2 nd recirculation. BSG = Brewer's Spent Grains  [59]. A higher T R leaded to the disappearance of functional groups such as carboxyl, carbonyl and hydroxyl groups and to an increase of the aromaticity, which is confirmed by an increasing H/C ratio with the step of recirculation. This can be seen in Fig. 5 as well as Table 3 and Fig. 3 and contributes to the reduction of VM [53].

XPS study of Brewer's Spent Grains and its Hydrochars.
After the HTC process, the operating temperature (200, 220 and 240 °C) and the recirculation of PW affected the chemical structure of the HCs differently. As shown in Fig. 6, the four main C1s peaks (284.8, 285.6, 286.5, as well as 288.3 eV) are associated to C-C (graphitic-C), C-N (amine-N), C-O (ether-C) as well as C = O (ester-C) and O = C-O (aromatic-C). The fifth peak with small intensity is associated to -COOH (carboxyl groups). "Graphitic" does not mean that a graphite-like structure was formed. To obtain this structure the T R was too low [60]. On the other hand, the electrons in HC are also delocalized, as it is consisting of pseudo-aromatic furfural-rings. Therefore, "graphitic" is interpreted here as "part of a delocalized π-electron system".
Whereas, the presence of C = O bonds seemed to increase after the 1 st recirculation at 200 °C, it decreased after the 2 nd . Contrary to this, the 2 nd recirculation at 240 °C initiated a slight increase again, which may be due to impurities of carboxylic acids and aldehydes from the PW, adsorbed on the HCs surface and which interfere with the measurement.
The decrease of the peak intensity of C-N at 200 °C, particularly after the 1 st recirculation, and a pH decrease imply the hydrolysis of proteins and the release of amino acids. However, after the 2 nd recirculation an increase was observed at this temperature, which can be also seen after the 1 st recirculation at 220 and 240 °C (see Fig. 6). These are the indications for Maillard reactions including the condensation of protein-based with saccharide-based compounds. The so-called Amadori rearrangement as well as ongoing condensation reactions to nitrogen containing heterocycles (see Fig. 2) could also be proven by GC-MS (see Table 4) [41,51,61,62].
The XPS studies confirmed that the main structure of HC is aromatic, in the sense of delocalized π-electron systems. This is accounted for the intramolecular condensation of polysaccharide fragments and that lignin hydrolyse to primary char as well as the integration of secondary (saccharide-related), protein-related and lipid-related char via the condensation/ polymerization of their dehydration products. The best investigated reaction is the polycondensation of furfuraldehydes from initial lignocellulosic material [6,63]. Figure 7 shows that the recirculation of PW has an effect at 200 and 220 °C by increasing the C-C and C-O bonds characteristic for cellulose-type structures, while severe conditions at 240 °C and the PW recirculation caused an intensified degradation, as confirmed by the van Krevelen plot in Fig. 3 and FT-IR spectra in Fig. 5.
The N 1 s spectrum in Fig. 8 mainly shows five signal peaks, namely due to the species of pyridinic-N (399.4 eV) with the structure C = N-C, amine-N (399.9 eV) with the structure C-N-R2 (R = C, H), pyrrolic-N (400.5 eV) with the structure C-N-H, quaternary-N or graphitic-N (401.5 eV) and inorganic-N or chemisorbed-N (402.4 eV). Compared with the HC produced at 200 °C, quaternary-N increasing from 14 to 22% replaced inorganic-N, which then decreased from around 9 completely on the surface of HC obtained at 240 °C in water. Quaternary-N means here, nitogen heterocycles with a delocalized π-electron system. Whereas, amine-N also showed a decreasing trend from around 34 to 30%, indicating the hydrolysis of proteins by enhancing the T R as well as the next step of recirculation. Particularly, the percentage of pyridinic-N increased from around 18 to 22% in addition to pyrrolic-N with a slight increase by enhancing the T R (see Fig. 8). However, during PW recirculation pyridinic-N showed a decreasing trend by around 2% independent from the T R . For pyrrolic-N an increasing trend by around 5% could be seen, though not for the recirculation at 240 °C. The 2 nd recirculation seems to have a general negative effect on the evolution of quartenary-N, justifying either the degradadtion of not stable nitrogen heterocycles resulted from malting of BSG or not completed Maillard reactions even at 240 °C.

Effect of Temperature and Recirculation Steps on the Composition of the Process Water
The T R and the pH played a crucial role due to changing the balance of the various reaction pathways including Maillard reactions. The T R was varied from 200, 220 to 240 °C. As carboxylic acids were formed during HTC, the pH value decreased by recirculation of the PW from the last HTCrun [6,64]. The main components of the biomass were hydrolysed and the solved consecutive intermediates showed further reactions. Therefore, the dissolved compounds were important key compounds for the further chemical reactions occuring. These intermediates were also precursors for char formation. A selection of this key compounds is shown in Fig. 9. Here the origin of key compounds may be identified by remaining structure elements.
Lignin includes phenol rings, which could not be degraded under the conditions applied here [65]. Therefore, phenols are consecutive products of lignin hydrolysis. As phenols are weak acids, they can react with ammonia or amines, e.g. to form aminophenols (see Table 4).
Polysaccharides were hydrolysed and the glucose/ fructose rings are splitted by reverse aldol addition (see Fig. 1). It is the starting point for the formation of several oxygenrich compounds, some of which can be found in Fig. 9. The products are not specific, because similar or the same compounds from the 3 rd generation onwards can be formed via the decomposition of glycerol, originated from lipids and via Strecker degradation from amino acids/ proteins (see Fig. 1). Via Diels-Alder reaction aromatic compounds can be formed from polysaccharide-based compounds [66]. There are interactions with key compounds mainly from protein degradation: Amino acids form amides and subsequently Maillard reactions result in nitrogen heterocyclic compounds (see Fig. 2, 9), whereas dicarbonyl-compounds can be oxidizing agents in a Strecker degradation (see Fig. 1). Consecutive products of protein degradation often bind N-atoms, these are amides, nitrogen heterocyclic compounds via Maillard reactions and ammonia or amines via hydrolysis, Strecker degradation or decarboxylation. In addition after elimination of ammonia or an amine, oxygen-rich compounds may be produced (see Fig. 6, 7). The consequence was on the one hand a decreasing N eff (see Eq. 13) independent on the T R as well as the recirculation step and on the other hand an increasing N eff-rPW (see Eq. 14). The latter follows the priniciple: The higher the T R as well as proceeded the recirculation step, the higher the N eff-rPW. More in detail, 88 and 91% of the dissolved nitrogen of rPW could be recovered at 240 °C (see Table S2).
Lipids are hydrolysed and glycerol and fatty acids are the consecutive products. Glycerol can further react to propenal and other compounds. The fatty acids may decarboxylate to aliphatic compounds. Unsaturated fatty acids can be easier splitted at the double bond than saturated ones. Key compounds of lipid degradation can be identified by aliphatic chains.
The decarboxylation of acids of any kind leads to CO 2 , the hydrolysis of hydrogen-sulphur-groups of proteins results in H 2 S. The total gas formation was considerably small and therefore neglected in this study.

Carbohydrate-based Reaction Products
The results from liquid chromatography such as HPLC were validated by Gaschromatography (GC) with flame-ionization (FI) and mass spectrometry (MS) particularly for ethanol toward propionic acid, because ethanol may co-elute with the C 3 -acids propionic acid or propenoic acid (RT = 18.3 -19.3 min) depending on their concentration on the applied HPLC column (see Fig. S5). Since propionic acid could be verified by GC-MS (see Table 4), the assumed designation of Wüst et al. [6] and the evaluation of Arauzo et al. [23] for this peak was correct. Figure 8 shows the amount of (poly) saccharide consecutive products by HPLC. From this, the reaction pathways could be identified. Firstly, the hydrolysis of polymers and oligomers such as (hemi-) cellulose (see Fig. 9), starch and sucrose to the monomers glucose and fructose increased with T R . This way, glucose is formed and then compounds like the detected 2-methyl, 2-cyclopenten-1-one, a consecutive product of glucose [68] or Carboxymethyl-Cellulose [69]. Although, this compound was standardly formed under alkaline conditions [70] or extremely high pressures [71], it could be detected after the 1 st recirculation at 240 °C. The more reactive furfural and HMF could only be found in very low amount, because of its polycondensation to form HC [72]. However, it cannot be excluded that the furfurals and other compounds were also oxidized to acetic acid. Acetic acid is a very inert compound, which needed high temperature to be degraded [73]. The carbon percentage of the 3 rd generation product mostly resulted from the reverse-aldol condensation (see Fig. 1, 7) of fructose and glucose. This reaction pathway of glucose could be verified by the presence of glycolaldehyde. The latter is the direct product of the reverse-aldol splitting [74]. Whereas, fructose was dehydrated to HMF and decarbonylated to furfurylalcohol, it reacted in parallel via retro-aldol condensation. The products 1,3-di-hydroxy-2-propanone or hydroxyacetone (see Table 4 and Fig. 9) in addition to glyceraldehyde were tranformed into each other via the Keto-Enol Tautomerism (see Fig. 1). The Keto-Enol Tautomerism is also the way to form fructose from glucose, therefore the same compounds could be formed from glucose. However, another source of hydroxyacetone might also be lipids such as triglycerides, which were hydrolysed to glycerol and fatty acids [31]. The oxidation of glycerol resulted in hydroxyacetone. Pyruvaldehyde was formed via dehydration from HA or glyceraldehyde [74]. It reacted further on via its rearrangement and the H 2 O-addition to lactic acid [75]. Lactic acid was finally dehydrated and hydrogenated to propionic acid [76], which was definitely found during the 1 st and 2 nd recirculation at 240 °C.
Whereas, glycolic acid could constantly be detected with the same carbon percentage, pyruvic acid was not detected after the 2 nd recirculation at 220 and 240 °C. Perhaps it reacted to acetone or propionic acid. Formaldehyde reacted further via cross-disproportionation to formic acid and methanol [77], the authors showed an excess of formic acid related to the molar ratio with levulinic acid [6,78]. Both levulinic acid and formic acid are consecutive products of HMF, and are formed in 1:1 ratio by this reaction pathways. Values different from this ratio indicate additional reaction pathways. Levulinic acid was most probably completely decarboxylated or oxidized rather than embedded in HC [79,80]. HMF reacts via Diels-Alder-addition to 1,2,4-benzenetriol [76,81,82]. Acetone is assumed to be formed via the reverse aldol condensation of pyrualdehyde [76].
Finally, the DOC balance could be closed up to 58 C% (1 st -200 °C) by means of the optimized HPLC method developed in Wüst et al. [6] and the combination with the methods for GC-MS and/ or -FID. The DOC balance (see Fig. 10) additionally showed that as from 220 °C the 1 st recirculation step entailed an increased lack of the DOC balance, which could be seen by an increased incidence of protein-, ligninand lipid-related compounds (see Figs. 10,11,12). Furthermore, these authors observed that the larger the particle size the better the DOC balance could be closed, namely up to 40 C% resulted from the HTC with the 500-850 µm particle size fraction in water. In this study, the particle size fractions larger than 500 µm were the most present [6]. In summary, a recirculation mainly had the effect of a longer t R and higher acidic catalysis. As more reactive compounds reacted, their concentration decreased. A shift to 3 rd generation products was observed in the liquid phase (see Fig. 9, 10).
This had also a consequence for the solid phase. As shown in XPS spectra, the presence of C = O bonds seemed to increase after the 1 st recirculation at 200 °C, but they decreased after the 2 nd . In contrary, the 2 nd recirculation at 240 °C produced an increase again, which can be explained by the adsorption of carboxylic acids and aldehydes from the PW on the HCs surface and consequently the interference of the measurement. The same was observed in FT-IR spectra.

Effect on Lignin-based Reaction Products
It can be assumed that phenolic compounds from lignin (see Fig. 9) contribute to the total 'not detected' species, but only to a low extent up to 1.7% due to a moderate hydrolysis of the lignin [47]. Additionally, it can be noted that the C-percentage of the detected phenols ranged from 0.6 to 0.8% for the HTC with water and the 1 st recirculation at 200 and 220 °C, but increased up to 1.2% (initial), 1.7% (1 st rec) and 1.6% (2 nd rec) after a HTC at 240 °C. Consequently, the recirculation might have increased the total t R , and also the higher acid concentration might have supported the hydrolysis of lignin. However, the effect is very low, which shows the low reactivity of lignin. Hu et al., Dinjus et al. and Barbier et al. described the lignin decomposition through ether bond cleavage at temperatures between 200 and 280 °C, followed by the formation of monomers that, in turn, reacted with hydrogen from carbohydrates to produce monomeric phenolic compounds. Then, the applied T R are not enough to cleave stronger bonds like C-C bonds; therefore, the process water contains less degradation products [83][84][85]. The compound distribution measured for the process waters was in agreement with the findings of Poerschmann et al. [86]. As these researchers detected vinylguaiacol (decarboxylation product of ferulic acid), phenylethyl alcohol, 4-OH-benzylalcohol, vanillin, salicylaldehyde, 2-methoxy-phenol or guaiacol as well as phenol [87] as hydrolysis products, it might be the case in this study. For this reason, these compounds i.e. guaiacol-type monomers have to be considered as leached from the new BSG taken for the 1 st and 2 nd recirculation [88] as well as released from degradation of lignin or similar polyphenolic polymers. Further degradation products of the lignin fraction (see Table 1) are catechol, 2-methyl-phenol or o-cresol, 2,6-dimethylphenol or syringol, whose carbon percentages increased due to further recirculation, but mainly by enhancing the T R (see Fig. 11).
As the lignin fraction was low, and was only partly hydrolysed, the phenol content was accordingly low. Unfortunately, the concentration of phenols is important in view of an aerobic or an anaerobic treatment of PW [89]. It is very important that a recirculation only slightly increases or decreases the amount of phenols in the PW. The carbon percentage related to 100% DOC remained nearly constant (see Fig. 11), despite the input of new hydrolysable lignin every HTC-run. Ryu et al. as well as Koch and Pein reported that these phenolic compounds together with furfural-like compounds are involved in aldol condensation/ addition reactions towards the formation of the so-termed secondary char [90,91].
The work of Jung et al. shows that during HTC a first liquid phase is formed [92]. A hypothesis might be that the second liquid phase absorb the phenols. As HC incorporated pseudo-aromatic furfural rings, this could not be verified or falsified by XPS or FT-IR (see Fig. 5, 6, 7, 8). It was not possible to clearly distinguish between aromatic and pseudoaromatic structures by these methods for structural analysis.

Protein-based Reaction Products
As already mentioned Maillard reactions play a crucial role towards the formation of HC. Figure 2 is a very simplified version of a complex reaction network [62]. The products are nitrogen containing heterocycles and polymers known as melanoidins [67]. Melanoidins were identified after hydrothermal conversion of a binary mixture of glucose and glycine in several studies, and were responsible for the formation of a brown stable emulsion [93].
By comparison with the results from Maillard reactions of initial model matrices as well as biogenic wastes from food processing with a pH equal or smaller than 7, as well as under ambient [62,94] and hydrothermal conditions [61,62,93,[95][96][97][98][99][100], three reaction stages could be identified for this study [41]. The simplified three stages are: (1) In the initial phase more complex amino acids are decomposed to simpler ones and the condensation of amino acids via the carbonyl group of reduced saccharides takes place (see Fig. 2) [61,101]. In addition amino acids further react by elimination of ammonia or carbon dioxide. (2) The subsequent rearrangement and breakdown of the Amadori compound (see Fig. 2) lead to a reaction cascade involving saccharide dehydration and fragmentation, deamination and Strecker degradation [102]. (3) The interaction of breakdown products of low molecular weight with amino groups via aldol condensation as well as aldehyde-amine condensation result in N-containing polymers, known as melanoidins [41,62].
To identify the role of the Maillard reaction, a closer look at the reaction of proteins and amino acids is necessary: If one considers the DOC balance illustrated in Fig. 12, it is obvious that enhancing the T R has a small effect on the reactivity of amino acids in this range, particular for the main representers such as alanine, glycine, leucine, etc. However, the recirculation latestly after the 2 nd step more than halfed their C-percentage. This means that the reaction rate increases by recirculation. The reason is likely that with the PW consecutive products of carbohydrates were transferred into the reactor and reacted with amino acids.
Generally, amino acids differ only in their nature of side chains (R), which determines their reactivity. In solution, it is the nature of their amino acid R group that dictates the structure-function relationships of peptides and proteins. Accordingly, they were classified into amino acids with hydrophobic non-polar aliphatic, hydrophobic aromatic, hydrophilic aromatic, hydrophilic aliphatic, or carrying negatively or positively charged R groups [96]. As consequence of their different reactivity, the ratio to one another changed with temperature and recirculation step (see Fig. 12).
In the initial phase, the reaction of free amino acids with carbonyl compounds derived from carbohydrate degradation took place [103,104]. As an example, the reverse aldol splitting of fructose or glucose provides pyruvaldehyde, which is able to react with the most inert amino acid proline [93]. During the reaction, proline underwent decarboxylation and was transformed into a structurally related aldehyde (Strecker aldehyde) containing one less carbon atom than its amino acid precursor. In parallel, aspartic acid and serine were completely consumed via decarboxylation or retro-aldol condensation and resulted in simpler amino acids such as alanine and glycine [97,105]. The amino acid alanine reacted further to lactic acid and ammonia. The latter reacted for example with acetic acid to acetamide (see Table 4) [106,107]. Glycine was converted to glycolic acid [97]. An alternative pathway of amino acids is decarboxylation to the corresponding amine and subsequently the hydrolysis with the release of NH 4 + and formation of alcohols [108]. In addition, oxidation may occur via the Stecker degradation [103,104,109,110]. As products 1-pyrroline generated from decarboxylation of proline, which in addition may react via Strecker degradation as reported in Hoffmann et al. [109]. The heterocyclic compounds were verified via GC-MSD (see Fig. 9 and Table 4).
In the 2 nd stage, dihydroxyaceton and 3-hydroxy-1.2-butanone (see Fig. 3) resulted on the one hand from the decomposition of carbohydrates or the Strecker degradation [104,111]. Their amount decreased by incrementing the T R and repeating the recirculation. On the other hand, nitrogen heterocycles like 3-pyridinol are found. This proves Maillard type reactions and amide formation. Not the presence of these key compounds, but the decreasing amount of amino acids (see Fig. 12) showed an increasing rate of reactions, with temperature and steps of recirculations. The consumption of NH 4 + is visible within the HTC at 200 °C and the following recirculation steps (see Table S3), supporting this.
In the 3 rd stage several synthesis reactions occured. The carbonyl compounds from (poly)saccharides and amino acids (Strecker aldehydes) showed consecutive products with higher molecular weight. A good example is the degradation of glutamic acid, which may readily form heterocyclic amines with HMF (a melanoid intermediate), acrylamide with glucose or fructose [112] or 2-pyrrolidinone [113]. In the end, this leads to N-containing HC.
As concluded by Heilmann et al., Maillard reactions effectively take place when saccharides, protein and lipid derivatives are involved [114].

Lipid-based Reaction Products
In general, fatty acids (see Fig. 10, S6) in addition to glycerol are produced by the hydrolysis of triglyceride molecules without any catalyst [5,115]. As an example, Tavakoli et al. oberved that the hydrothermal hydrolysis on squid wastes hydrolyzed the triglyceride molecules [116]. Nine fatty acids such as myristic acid, palmitoleic acid, palmitic acid, oleic acid, stearic acid, eicosapenaneoic acid (EPA), eicosenoic acid, docosahexaenoic acid (DsHA) and docosenoic acid (erucic acid) were found with a maximum yield at 240 °C for 40 min, which Ravber et al. could also prove by treating sunflower seeds at the same T R but for 120 min [100]. The amount of fatty acids in the oil phase was found to be DsHA > palmitic acid > oleic acid > EPA [117]. The yields of DsHA, EPA, and oleic acid after maximum values at 200-270 °C sharply decreased due to decomposition and degradation of double bonds.
Fatty acids like other carboxylic acids may react via decarboxylation. Despite this, the reactivity is low. There is in addition no possibility to be included in the bulk of HC. Consequently, fatty acids in addition to carboxylic acids accumulate in the PWs and contribute to the increasing DOC and COD by further recirculation steps according to what reported elsewhere [17,22,119,120]. However, it could be proven that 2-pentylfuran (see Table 4) resulted from the reaction probably of furfural with linoleic and arachidonic acid, via 2,4-decadienal [121]. This is an example of the interaction of lipid-based with carbohydrate-based compounds. In addition, fatty acids may form amides by reaction with amines or ammonia.

Formation of N-containing Hydrochar
In general, the increase of the T R results into the decomposition of the easily degradable fractions of BSG such as hemicellulose, the amorphous fraction of the cellulose and the non-recalcitrant fraction of the starch as well as proteins 1 3 and lipids. The resulting fragments were solubilized into the PW. In 2 h of t R the solubilized organic matter was decomposed further on. Therefore, reduced saccharides and amino acids even themselves as well as their reactive consecutive products, such as aldehydes and carboxylic acids, were prone to poly-condensate to a secondary char fraction [6,26]. Nevertheless, a stable structure consisting of carbon spheres (secondary char) formed by aldol condensation/ addition and N-containing heterocycles (tertiary char) resulting from Maillard reactions embedded in an aromatic network (primary char) could not be visualized by SEM as assumed by Wüst et al. [6] and presented by Kannan et al. [25] (see Fig. S1).
Changes in the inorganic matter are due to the release of embedded salts during the degradation of the surrounding organic structures on the one side or removal of e.g. alkaline salts from the ash through a pH between 3.5 and 4 occur on the other side [122]. Whereas, a decreasing sulphur content accomplished by a decreasing content of hydrogen and oxygen (see Table 3) confirmed the hydrolysis of organic matter such as proteins [26].
This observation regarding the liquid phase helps to understand the observations in the solid phase. As mentioned in the beginning, in the case of BSG the HC formation is mainly a consequence of polymerisation/ polycondensation from solved intermediates. Since BSG contains amino, carboxylic, and thiol groups [49], it includes heteroatoms, which are incorporated in the intermediates and then in the HC. The ratios of N/C as well as N/S were calculated and given in Table 3. The results showed that at 200 °C, the N/C decreased by 0.16 and S/C increased by 0.001 relative to BSG. However, the amino acids in the PW partly hydrolysed forming ammonia and partly formed nitrogen compounds, being incorporated in the HC. These are mainly Maillard products, forming quaternary-N, pyridinic-N and pyrrolic-N in the HC (see Fig. 8). The ratios stay constant with changes due to temperature and steps of recirculation. Salts including nitrogen are solved [26]. The S/C-ratios of HCs were increased by 0.001 for all processing parameters in comparison to that one of BSG. Which means that the sulphur-compounds are more stable/ inert against hydrolysis than the nitrogen compounds. This also means that the formation of nitrogen doped HC is supported by recirculation.
For the following discussion the application of HC is decisive; either as energy carrier or precursor for e.g. electrode materials in supercapacitors. Under consideration of the Y HC , which is the basis for the calcluation of the EY HC as well as the carbon contribution and the efficiency of PW recirculation (C eff-rPW ) in Fig. 4, the HTC at 220 °C appeared as a good basis for the production of an energy carrier. Here the Y HC decrease and the increase of the heating value (HHV) compensate each other in the way that a high EY HC is reached ( Table 3). The effect of recirculation is small. Also negative effects like the increased ash content are small and acceptable in view of the advantages of recirculation. In addition, Wang et al. [123] supportively reported that a HC produced at 220 °C from food waste emitted less NO emissions during combustion than a HC produced at 200 and 240 °C due to the presence of lower contents of pyridine-N and/ or quaternary-N (see Fig. 6). Additionally, this research group also found out that aromatic-and sulfate-S increased, in contrast to sulfoxide-S, which influences the emission of SO 2 as well as the slagging index [28]. Slagging is not only positively influenced by the decrease and conversion of the sulphur compounds but also by the decrease of Ca and Mg salts in the HC, produced at 220 °C after the 2 nd recirculation (see Table S1).
The FR of HCs, which leads to an evaluation of their combustability, reaches its maximum at 240 °C. Here, it is more than 2.8 times higher than the FR of the feedstock (see Table 3). Nevertheless, it might be associated to the energy input and larger loss of carbon into the PW, in comparison to 220 °C.
For the evaluation, whether the process management results in outstanding characteristics of HCs for the production of a precursor for e.g. electrode materials in supercapacitors a new view to the results is necessary. Structural analysis concerning the nature of chemical bonds present in the carbonaceous bulk and surface by means of FT-IR and XPS had to be performed. Special consideration was paid to carbon and particularly nitrogen species, since they were of significance for improving the eletrochemical performance. In addition, the CO 2 adsorption capacity of carbonaceous materials was improved by heteroatom inclusion [59].
The fact that the degradation of proteins took place by enhancing the T R and nitrogen containing heterocycles (e.g., pyrridine and pyrrole) are formed is also visible in the FT-IR spectra. The reactions of amino acids, like amide formation or its condensation with reduced sugars and aldehydes could particularly be proven by using PW as reaction medium [51].
Here, the addition of protein degradation products should enhance their reactions. It is distinctly realized from the FT-IR spectra that the variety of surface functional groups of HCs raised with recirculation, especially the O-H, C-H, N-H, C-N, C = C, C = O, and C = N, and was beneficial for later electrochemical and adsorption applications [59]. A simplified C-and N-related structure (bulk) and its surface functionalities might look like in Fig. 13.
These insights could be supported by the results of XPS (see Figs. [6][7][8]. Hereby, it can be concluded that particularly at 240 °C Maillard reactions resulting in the condensation of protein-based decomposition compounds and carbohydratebased compounds are forced [51]. This is supported by the compositions of the solved organic compounds, dicussed above. Whereas, a 1 st recirculation at 200 and 220 °C resulted in a decrement of pyridinic-N and pyrrolic-N in XPS (see Fig. 8), the 2 nd recirculation caused an increase compared with the initial HTC-run. At 240 °C the 1 st and 2 nd recirculation decreased the pyridinic-N but the pyrrolic-N firstly decreased and increased then again. The quaternary-N showed the reverse course, which confirmed the intensification of deamination and a release of NH 4 + (see Table S3) as well as the formation of "graphitic-N" at 240 °C. While, as before mentioned, the percentage of inorganic-N decreased also due to the solubilization of salts as well as the hydrolysis of NH 4 + with the increment of T R , latestly the 2 nd recirculation causes chemisorption of NH 4 + on oxygen containing functional groups again [124].
To sum it up, the FT-IR represents a more sensitive technique for the identification of nitrogen structures, particular of quaternary/ graphitic and amide character as well as carbon structures of quinone character in both, bulk and surface of HCs.

Conclusion
This research strategy in combination with the applied and further developed analytical methods help to identify the main decomposition pathways of the main constitutents of BSG including hydrolysis of polymers and oligomers as 1 st generation reactions, as well as dehydration and reversealdol condensation as 2 nd generation reactions, and rehydration, oxidation and subordinated reverse-aldol condensation and addition as 3 rd generation reactions, followed by condensation, acylation and polymerization toward humin or HC formation as 4 th generation reactions. By means of three different HPLC methods, the detection and quantification of oligo-, di-and monomers as well as ketones, aldehydes, carboxylic acids and alcohols in addition to amino acids and mainly methoxy-phenols, resulted from reactions of 1 st , 2 nd and 3 rd generation, delivered the basis for closing the DOC balance up to 60%, which is a progress not reported elsewhere. However, the detection of 4 th generation products still dissolved have only been possible qualitatively and probably not complete as yet, which requires further development of GC methods. Nevertheless, the additional analyses of HCs by proximate and ultimate analyses as well as particular FT-IR as bulk-sensitive analysis allowed drawing the conlusion that HCs produced at 220 °C despite recirculation of PW are suitable for the use as energy carrier. However, HCs produced at 240 °C, particularly due to higher fraction of more stable carbon and nitrogen containing hetercocycles or rather aromaticitiy resulted from more progressed depolymerization followed by de-oxygenation and condensation reactions (Maillard reactions), are more suitable for the use as nitrogen doped carbonaceous materials or precursors for the production of electrode materials. Enhancing the t R as well as further recirculation steps could be an option to force further condensation reactions, because reactants were still be detectable after 120 min. Finally, the positive effect will be a further reduction of the DOC or rather the COD and less problems regarding PW treatment or disposal. Furthermore, structural analysis for a better elucidation of the carbon and nitrogen related network will be pursued with a Thermogravimetric Analysis (NETZSCH-Gruppe, Selb, Germany) coupled with a Gaschromatography with Masspectrometric Detection (GC-MS -Agilent Technologies, Santa Clara, USA).

Fig. 13
Symplified carbon and nitrogen related structure/ network (bulk) and its surface functionalities of hydrochar (HC) after process water recirculation at a HTC reaction temperature of 240 °C Funding Open Access funding enabled and organized by Projekt DEAL.

Conflict of interest
The authors declare that they have no conflicts of interest.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http:// creat iveco mmons. org/ licen ses/ by/4. 0/.