System Dynamics Modelling of Black Soldier Fly Larvae Composting for Organic Fertilizer Production

Introduction 

This article investigates how different combinations of organic waste influence the quantity, quality, and economic value of fertilizer produced through Black Soldier Fly Larvae (BSFL) composting. The study focuses specifically on coffee pulp, a major by-product of coffee processing that is often discarded despite its potential value. To analyse the complex interactions between waste composition, composting efficiency, fertilizer quality, and profitability, the authors developed a quantitative System Dynamics model. 

 The research addresses an important sustainability challenge: transforming agricultural and food-processing waste into valuable products while supporting circular economy principles. 

Background and Problem Statement 

Food loss and waste are major global concerns. Approximately 14% of food produced worldwide is lost between harvest and retail. One important source of agricultural waste is coffee production. During coffee processing, only the bean is used, while half of the coffee cherry becomes coffee pulp. 

Coffee pulp can cause environmental problems when disposed of improperly because it contains compounds that may acidify soil and water systems. Although coffee pulp contains nutrients that could be beneficial for agriculture, it must first be treated to reduce toxicity before being used as fertilizer. 

Traditional composting methods can transform coffee pulp into fertilizer, but they often require long processing times and generate greenhouse gas emissions. BSFL composting has emerged as an alternative because it is faster, produces lower emissions, and converts waste into valuable products. 

BSFL composting generates two main outputs: 

  • Frass (a mixture of larval excrement, undigested substrate, and exoskeletons) 
  • Pupae biomass (rich in proteins, lipids, and nutrients) 

 Most previous studies focused primarily on insect biomass production, while little attention has been given to fertilizer production and quality. 

Research Objective 

The main objective of the study was to determine how substrate composition affects the quantity and quality of fertilizer produced through BSFL composting. 

More specifically, the authors aimed to: 

  • Understand the relationship between substrate composition and composting efficiency. 
  • Evaluate the impact of different waste combinations on fertilizer production. 
  • Assess the influence of seasonal variations in waste availability. 
  • Develop a decision-support tool that can help practitioners optimize composting strategies without conducting extensive field trials. 

Methodology 

System Dynamics Modelling 

The researchers applied a System Dynamics approach. This method is particularly suitable for analysing complex systems with multiple interacting variables and feedback loops. 

 The model was developed using both experimental data and information from scientific literature. It simulates the movement of materials, nutrients, costs, and revenues throughout the composting process. 

 Waste Streams Included 

Four organic waste streams were incorporated into the model: 

  • Coffee pulp (CP) 
  • Avocado waste (AV) 
  • Pineapple waste (PI) 
  • Market waste (MW) 

 These waste streams were selected because they are widely available in coffee-producing regions and because detailed composition data were available. 

 Key Variable: Carbon-to-Nitrogen Ratio 

The primary factor analysed was the substrate Carbon-to-Nitrogen (C/N) ratio. Previous research has shown that this ratio strongly influences composting performance. 

 Other factors such as temperature, humidity, moisture content, and larval density were assumed to be optimal and therefore were not explicitly included in the model. 

 Composting Efficiency Indicators 

The model evaluated several efficiency parameters: 

  • Bioconversion efficiency
    Measures how effectively larvae convert waste into biomass. 
  • Nutrient retention efficiency
    Measures the proportion of nutrients retained in the final fertilizer. 
  • Nutrient accumulation efficiency
    Measures the proportion of nutrients incorporated into larval biomass. 

 Together, these indicators determine both fertilizer quantity and nutrient quality. 

Model Structure 

Causal Loop Diagram 

The first part of the model was a causal loop diagram that illustrates cause-and-effect relationships between variables. 

 The diagram showed how substrate composition influences: 

  • Nutrient availability 
  • Composting efficiency 
  • Fertilizer production 
  • Fertilizer quality 
  • Profitability 

 The model contains both reinforcing loops (positive feedback) and balancing loops (negative feedback). 

Stock-and-Flow Diagram 

The second part of the model quantitatively simulates: 

  • Waste inputs 
  • Larval growth 
  • Nutrient flows 
  • Frass production 
  • Biomass production 
  • Fertilizer production 
  • Economic performance 

 The simulations covered an entire year to account for seasonal effects. 

Sensitivity Analysis 

A sensitivity analysis was performed to investigate how changes in substrate composition influence fertilizer production. 

 Several combinations of waste streams were assessed, including: 

  • Coffee pulp + avocado waste 
  • Coffee pulp + pineapple waste 
  • Coffee pulp + market waste 
  • Avocado waste + pineapple waste 
  • Pineapple waste + market waste 
  • Avocado waste + market waste 

 This analysis identified which combinations performed best for different objectives. 

Scenario Analysis 

Based on the sensitivity analysis, nine representative scenarios were developed. 

These scenarios aimed to optimize different objectives, including: 

  • Maximum fertilizer production 
  • Maximum profit 
  • Lowest C/N ratio 
  • Highest NPK content 
  • Complete utilization of coffee pulp 

 Seasonal availability of coffee pulp was incorporated into the simulations because coffee pulp is not available throughout the entire year. 

Results 

Fertilizer Production 

The simulations showed that substrate mixtures containing high proportions of avocado waste and market waste produced the largest quantities of fertilizer. 

These mixtures also generated the highest profits because greater fertilizer production resulted in higher sales volumes. 

 Fertilizer Quality 

The highest fertilizer quality was achieved with substrate combinations containing coffee pulp and pineapple waste. 

 Although these combinations produced lower fertilizer quantities, they resulted in more favourable nutrient profiles. 

 Trade-Off Between Quantity and Quality 

One of the most important findings of the study is the existence of a clear trade-off between fertilizer quantity and fertilizer quality. 

Substrate combinations rich in avocado waste and market waste maximized production and profit. However, these mixtures often resulted in lower nutrient quality. 

In contrast, mixtures containing larger proportions of coffee pulp and pineapple waste produced higher-quality fertilizer but lower overall yields. 

As a result, producers must balance economic objectives against fertilizer quality objectives. 

 Impact of Seasonal Availability 

Coffee pulp is only available during specific periods of the year. 

When coffee pulp becomes unavailable, producers must switch to alternative waste streams. These changes in substrate composition affect nutrient balances and composting efficiency. 

The simulations showed that the system requires time to adapt to these changes, resulting in fluctuations in fertilizer quality throughout the year. 

 Comparison Between Frass and Fertilizer 

A particularly important contribution of this study is the distinction between frass alone and the combined fertilizer product consisting of frass plus pupae biomass. 

The results showed that adding pupae biomass significantly improves fertilizer quality by increasing nutrient concentrations and reducing the Carbon-to-Nitrogen ratio. 

For a substrate consisting entirely of coffee pulp: 

  • Frass alone failed to meet all fertilizer quality requirements. 
  • The combined fertilizer met all quality requirements. 

This finding suggests that retaining pupae biomass within the final product may be a practical strategy for producing higher-value organic fertilizer. 

Economic Implications 

Profitability was primarily determined by fertilizer quantity rather than fertilizer quality. 

This occurred because none of the tested annual scenarios consistently met all quality requirements throughout the year, causing products to be sold at lower prices. 

The authors suggest that future pricing systems could incorporate intermediate quality levels, allowing higher-quality products to receive higher prices even if they do not meet every quality criterion. 

Such a pricing system could encourage producers to optimize both quantity and quality. 

Conclusion 

The study demonstrates that substrate composition plays a crucial role in determining both the quantity and quality of fertilizer produced through BSFL composting. Substrates rich in avocado waste and market waste maximize fertilizer production and profitability, whereas combinations containing coffee pulp and pineapple waste produce fertilizer with superior nutrient quality. 

 A key contribution of the research is the demonstration that combining frass with pupae biomass can significantly improve fertilizer quality and increase compliance with organic fertilizer standards. This approach strengthens nutrient recycling and supports circular economy principles. 

 Despite data limitations, the System Dynamics model successfully captures the main relationships between substrate composition, composting efficiency, fertilizer quality, and profitability. The model therefore provides a valuable decision-support tool for organizations seeking to optimize organic waste valorisation and sustainable fertilizer production. 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *