4. Discussion
The integrated approach proposed in this study (
Figure 4) provides valuable insights into the feasibility of converting agri-food wastes into value-added products, including renewable energy, sustainable fertilisers such as digestate and frass, and larval biomass [
21,
22,
23,
24,
25]. This approach contributes to the advancement of circular economy strategies in the agri-food sector.
Larval performance is strongly influenced by the nutritional composition, physical structure, and microbial characteristics of the feeding substrate [
26]. The relatively high R
2 value observed for FCR suggests that a large proportion of the variability in conversion efficiency is explained by the tested substrate parameters, confirming the strong dependence of larval performance on substrate characteristics. Overall, the combination of olive pomace with goat manure leads to performance levels statistically comparable to those observed with the standard diet.
The elemental composition of frass reflects both the characteristics of the initial substrate and the metabolic activity of the larvae. In general, frass obtained from
H. illucens contains around 2% nitrogen, depending on the feeding substrate [
7,
27], while variations in carbon and hydrogen content are closely linked to substrate composition and bioconversion dynamics [
28]. Notably, there is a significant lack of data in the literature regarding the sulfur content of BSFL frass. To the best of our knowledge, one of the few studies addressing this, is by Romano et al., 2022 [
29], who reported sulfur concentrations of 0.74% and 0.77% for fish-feed and cardboard-supplemented diets, respectively. In contrast, the sulfur content in the present study was found to be zero, further highlighting how drastically the mineral profile can vary or result in total depletion depending on the specific rearing substrate used. Another factor that may significantly influence the chemical composition of frass is the heat treatment process. According to European Regulation 1925/2021, frass must be treated at 70 °C for one hour to ensure biological safety and reduce the presence of pathogens such as
Salmonella spp.,
Escherichia coli, and
Enterococcaceae [
30]. However, this thermal treatment can negatively affect the nitrogen profile, particularly the ammonia fraction. In a previous study [
31], a comparison between treated and untreated frass revealed a reduction in ammoniacal nitrogen content following the 70 °C treatment. While this represents a limitation in terms of nutrient retention, it is a mandatory requirement to comply with legal standards for commercialisation and environmental safety. At the same time, although the treatment reduces ammonia content, it may also be beneficial in lowering potential phytotoxic effects on seed germination associated with excessive ammonia levels.
In addition to its nutrient content, frass may act as a carrier of beneficial microorganisms with plant growth–promoting properties, thereby enhancing soil biological activity [
32].
The effect of thermal pretreatment of olive pomace (90, 120, and 150 °C) on anaerobic digestion performance was evaluated in terms of biogas production [
32]. Contrary to expectations, thermal pretreatment did not significantly improve the process. Pretreatment technologies are commonly applied to lignocellulosic substrates to enhance hydrolysis and increase methane yields by disrupting plant biomass structure and promoting the solubilisation of organic compounds [
18]; however, their effectiveness strongly depends on substrate properties and process conditions [
31,
33]. In the present study, untreated olive pomace mixed with inoculum showed comparable, and in some cases higher, cumulative biogas production than thermally pretreated substrates. Co-digestion of olive-mill waste with goat manure has been shown to enhance biogas production and organic matter removal. This suggests that mixing with manure can improve microbial accessibility and reduce the need for thermal pretreatment [
34]. These findings indicate that olive pomace may already provide sufficient microbial accessibility under mesophilic conditions, thereby reducing the benefits of additional thermal processing. From a practical perspective, this suggests that energy-intensive pretreatment steps may not be necessary for the efficient anaerobic digestion of this substrate [
35]. This aspect is also relevant from an economic standpoint, as avoiding energy-intensive pretreatments can significantly reduce operational costs without compromising overall system performance. Importantly, these observations have direct implications for downstream processing within the integrated system. Any modification in digestate composition resulting from pretreatment is likely to influence its subsequent use as a substrate for insect-based bioconversion.
Thermal pretreatment also influenced the chemical composition of the resulting digestates. A progressive reduction in nitrogen content was observed with increasing pretreatment temperature, reaching the lowest values in digestate derived from pomace treated at 150 °C.
This trend likely reflects nitrogen losses due to volatilisation or the thermal transformation of organic nitrogen compounds during heating, in agreement with previous studies on thermally treated organic residues [
36,
37]. Conversely, higher carbon contents were observed in digestates derived from thermally treated pomace, suggesting the accumulation of more recalcitrant carbon fractions formed during thermal processing. This may influence both agronomic value and suitability for subsequent biological processes. In particular, these compositional shifts are expected to play a key role in determining the efficiency of the subsequent larval rearing phase, linking anaerobic digestion performance with insect-based bioconversion outcomes.
Within the integrated anaerobic digestion–insect bioconversion system, the suitability of digestates as feed substrates represents a critical link between upstream processing and downstream biomass production. The results showed that digestate-based rearing conditions resulted in lower larval performance under the tested experimental setup, suggesting that performance could be further improved through optimisation of substrate properties and rearing conditions. Larvae reared on these substrates exhibited lower individual weight, reduced survival rates, and decreased substrate conversion efficiency compared with larvae fed digestate derived from untreated pomace. These findings suggest a cascade effect, whereby pretreatment-induced changes in substrate properties negatively propagate through the system, ultimately reducing the efficiency of larval bioconversion [
38]. Moreover, these findings highlight the strong dependence of larval performance on substrate quality. Thermal treatment may alter nutrient availability, modify physical structure, or generate compounds that negatively affect larval feeding behaviour and metabolism [
26].
It should be noted that larvae reared on digestates were maintained directly within the AD reactors, whereas larvae fed raw substrates were reared in trays. Therefore, the observed differences in performance may not be solely attributable to substrate characteristics but could also be influenced by differences in rearing conditions, such as aeration, physical structure, and microenvironment. This represents a limitation of the present study and should be addressed in future work through experiments conducted under comparable rearing conditions. Comparing these results with previous studies remains challenging due to different experimental setups. However, despite these variations, it is evident that BSF larvae can successfully develop on both substrates, confirming digestate as a viable option for larvae rearing.
However, this limitation should be interpreted in light of the broader BSF literature. Recent studies and reviews show that larval performance is strongly shaped by rearing conditions, including substrate type, substrate depth, aeration, moisture, larval density and overall protocol design, and that results are often difficult to compare across laboratories because study protocols differ [
39,
40,
41]. This is directly relevant here, as recent work on digestate and other low-value residues shows that BSF outcomes depend not only on substrate composition, but also on whether the material is pretreated or processed under controlled conditions; for example, larvae fed hydrolyzed digestate grew better than those fed crude digestate, although still less efficiently than larvae on a standard diet, and larvae reared on biogas digestate achieved only a modest increase in weight [
9,
26]. Similar results have been reported for other organic residues, where the rearing system itself changed growth and conversion efficiency, and insufficient aeration on pasty substrates reduced performance [
42]. Therefore, the differences observed in the present study cannot be attributed solely to the intrinsic suitability of digestate as a substrate, but may also reflect the rearing microenvironment, especially aeration, physical structure and handling conditions. This is why no definitive conclusion can be drawn about digestate under standard rearing conditions, and why standardised experimental designs are needed before cross-study comparisons can be treated as conclusive [
39,
41].
The elemental composition of frass produced from digestates further reflected the influence of the initial substrate. Frass derived from larvae fed digestate obtained from untreated pomace generally showed higher nitrogen concentrations compared with frass obtained from thermally pretreated substrates. This confirms that upstream processing steps can influence the chemical characteristics of downstream products, including frass. Variations in carbon and hydrogen content further support the link between substrate composition and bioconversion outcomes [
43]. These findings further confirm that upstream processing decisions directly shape the quality of downstream products, reinforcing the interconnected nature of the system.
The choice of substrate is a primary driver of both larval performance and frass quality. Our results align with recent findings suggesting that
H. illucens larvae can thrive on a wide range of alternative organic streams, though the specific substrate significantly dictates their nutritional profile [
44]. In the context of integrated systems, substrate selection therefore represents a central factor influencing not only larval growth but also the overall efficiency and sustainability of the entire valorisation chain.
Phytotoxicity assays provided additional insights into the potential agricultural application of digestates and frass. Frass extracts exhibited high germination index values, indicating good maturity and the absence of significant phytotoxic effects [
22,
45]. In contrast, a clear and statistically significant difference was observed between frass and digestates, with the latter showing substantially lower germination indices, suggesting the presence of inhibitory compounds affecting seed germination and root development. Digestates, indeed, showed lower germination indices, suggesting the presence of compounds that may inhibit seed germination or root elongation [
44,
45]. These effects are commonly associated with elevated concentrations of ammonium, volatile fatty acids, or intermediate compounds formed during anaerobic digestion [
46,
47]. These findings indicate that the treatment and processing of the substrate significantly influence its residual phytotoxicity. The positive performance of frass is consistent with previous studies highlighting its potential as a sustainable organic fertiliser capable of improving plant growth and soil quality [
30,
48]. Recent reviews also emphasise the role of
H. illucens frass as a valuable amendment within circular bioeconomy strategies [
43,
49].
Phytotoxicity assays provided additional insights into the potential agricultural use of digestates and frass. Recent digestate studies indicate a clear dose-dependent effect: digestates from food waste showed a germination index above 120% at a 5% dose, whereas higher concentrations were less suitable for plant establishment, and digestates from faecal sludge produced germination indices of 137% in tomato and 82% in cabbage [
50,
51]. A more recent full-scale study further showed that total ammonia nitrogen, potassium, and boron were the main predictors of phytotoxicity, with germination indices dropping below 50% when all thresholds were exceeded [
52]. Frass showed similarly feedstock-dependent behaviour: frass from nine edible insects reached a germination index of 267%, but frass from the other species showed medium to high phytotoxicity [
53,
54]. In a separate study, frass derived from food waste had the lowest phytotoxicity, whereas frass from biosolids and wheat bran was more phytotoxic, and mealworm frass performed best at low doses of 0.5–1% in seedling production [
55,
56].
This highlights how the effects of upstream treatments extend beyond bioconversion efficiency to influence the final agronomic performance of the derived products.
Overall, the results highlight the importance of evaluating waste valorisation strategies from a system-level perspective. Process modifications applied at early stages, such as thermal pretreatment, can generate cascading effects that influence not only anaerobic digestion performance but also overall production costs, larval development and the quality of the resulting frass. These interdependencies underscore the need to optimise the entire process chain rather than individual steps in isolation.
Taken together, the findings of this study indicate that the direct use of untreated olive pomace represents the most efficient option within the investigated integrated system. From an economic perspective, these findings are particularly relevant. Although certain processing strategies, such as thermal pretreatment, are commonly applied to enhance process performance, they involve additional energy requirements and operational costs. In contrast, the direct use of untreated olive pomace reduces process complexity and avoids extra energy inputs. Therefore, even in scenarios where process yields are comparable or only marginally improved, the overall system may be more economically advantageous when low-cost, untreated substrates are used. This highlights the importance of considering not only technical efficiency but also economic sustainability when evaluating integrated waste valorisation systems.
This approach avoids additional energy inputs associated with thermal pretreatment while maintaining adequate performance in both anaerobic digestion and insect bioconversion. Thermal pretreatment did not provide clear benefits for anaerobic digestion and appeared to negatively affect the subsequent larval bioconversion process. These results underline the importance of carefully evaluating the interactions between pretreatment technologies, microbial processes, and insect-based bioconversion when designing integrated waste management strategies.
The combination of anaerobic digestion and bioconversion by
H. illucens larvae represents a promising approach for transforming agro-industrial residues into renewable energy and value-added bio-products such as insect biomass and frass-based fertilisers (
Figure 4). Such integrated systems have the potential to contribute significantly to sustainable resource management and circular bioeconomy models [
5]. These results also suggest that economic optimisation may favour simpler process configurations, particularly when low-cost agro-industrial residues are available in large quantities.