SinoGreenTech Academic Portal
Open AccessDOI: 10.13205/j.hjgc.202608006Original Research

Prediction of Available Phosphorus Formation and Analysis of Key Influencing Factors during Organic Waste Composting Using Stacking Ensemble Learning

College of Environmental Science and Engineering, Beijing Forestry University, Beijing 100083, China

Read Executive PreviewQuick FAQ
Prediction of Available Phosphorus Formation and Analysis of Key Influencing Factors during Organic Waste Composting Using Stacking Ensemble Learning
Graphical Abstract / Figure
Published In
Journal of Environmental Engineering Technology
Published:January 15, 2026Edition:Vol. 44, Issue 8 • pp. 100-112Citation:DAI Xu et al. (2026), Journal of Environmental Engineering Technology
Impact FactorPeer-Reviewed Core

Key Takeaways & Executive Findings

  • • • The stacking ensemble model (XGBoost + SVR base learners, ElasticNet meta-learner) achieved R² = 0.928, RMSE = 0.958, and MAE = 0.691 on the test set, significantly outperforming single models, indicating robust generalization for AP prediction in composting. • • SHAP global importance ranked feedstock type, bulking agent type, turning interval, pH, EC, and C/N as the top six factors; livestock manure and straw-based bulking agents showed significant positive contributions to AP, guiding feedstock selection for phosphorus-rich compost. • • PDP analysis revealed that maintaining pH and C/N at relatively low levels throughout composting favors AP accumulation; specifically, during the cooling/maturation phase, moisture <48% and C/N <14 with composting duration >43 days enhanced AP, providing operational thresholds for process optimization. • • The model's predictive accuracy (R² > 0.92) enables rapid estimation of AP without lengthy experiments, reducing time and cost in composting process design and enabling real-time adjustments to maximize phosphorus availability.

Abstract

Organic waste is a potential phosphorus reservoir, and understanding the dynamics of available phosphorus (AP) during its resource utilization is critical for efficient phosphorus recovery. Composting, a key route for organic waste valorization, involves complex transformations of phosphorus alongside organic matter degradation and humification. However, the long duration and high cost of composting experiments, coupled with multifactorial influences, hinder efficient elucidation of AP dynamics via conventional methods. This study compiled data from 33 publications, constructing a dataset of 647 samples. Data preprocessing included iterative imputation, one-hot encoding, and standardization. A stacking ensemble learning model was developed to predict AP generation during composting. The optimal ensemble comprised XGBoost and SVR as base learners and ElasticNet as the meta-learner, achieving R² values of 0.954 and 0.928 on training and test sets, respectively, with low overall error. SHAP analysis revealed that key factors influencing AP content, in descending order of importance, were feedstock type, bulking agent type, turning interval, pH, electrical conductivity (EC), and C/N ratio. Notably, livestock manure as feedstock and straw-based bulking agents contributed positively to AP predictions. Partial dependence plots indicated that lower pH and C/N ratios generally favored AP accumulation throughout composting. During the initial stage, higher moisture content and lower EC enhanced AP; in the thermophilic phase, higher temperatures corresponded to higher AP; and during cooling and maturation, maintaining moisture below 48% and C/N below 14, while extending composting beyond 43 days, promoted AP accumulation. This study demonstrates accurate AP prediction via stacking ensemble learning and identifies critical factors, offering support for optimizing phosphorus management in composting engineering.

1. Introduction

Phosphorus is a finite and non-substitutable resource, yet substantial quantities are embedded in organic waste streams, which are often underutilized. Composting offers a sustainable pathway to stabilize organic matter and recycle nutrients, but the transformation of phosphorus into plant-available forms (available phosphorus, AP) is governed by a complex interplay of feedstock characteristics, process conditions, and microbial activity. Traditional experimental approaches to map AP dynamics are constrained by long cycle times (often weeks to months) and high operational costs, limiting the number of conditions that can be practically tested. Consequently, there is a pressing need for predictive tools that can rapidly estimate AP outcomes across diverse composting scenarios, enabling process optimization and phosphorus recovery efficiency.

This study addresses this bottleneck by leveraging a stacking ensemble learning framework, which integrates multiple machine learning algorithms to capture nonlinear relationships in a compiled dataset of 647 samples from 33 published studies. Unlike conventional single-model approaches, stacking combines the strengths of diverse base learners (XGBoost and SVR) with a meta-learner (ElasticNet) to enhance predictive accuracy and robustness. Furthermore, model interpretability is provided through SHAP and partial dependence plots, which not only rank the importance of process variables but also reveal the direction and magnitude of their effects. This dual focus on prediction and interpretation offers a practical tool for engineers to identify optimal composting conditions for maximizing AP, thereby advancing phosphorus recovery from organic waste.

SinoTechIntel Interactive Document Reader
Page 1–5 of Preview
100%
Download Full PDF

Loading authentic research manuscript (Pages 1–5)...

Cite This Research Paper
DAI Xu, YANG Xiaofan, QU Jing, ZHANG Meng, GAO Xiaozhong, CHENG Xiang, YANG Tianxue, SUN Dezhi (2026). Prediction of Available Phosphorus Formation and Analysis of Key Influencing Factors during Organic Waste Composting Using Stacking Ensemble Learning. Journal of Environmental Engineering Technology. https://doi.org/10.13205/j.hjgc.202608006
SinoGreenTech Academic & Legal Disclaimer

Research & Educational Purpose Only: The translations, structured abstracts, analytical annotations, and data reports provided by SinoGreenTechare intended exclusively for academic research, internal corporate R&D, and educational benchmarking. They do not constitute formal engineering, chemical safety, legal, or professional advice.

Copyright & Intellectual Property Notice: Original copyright of the underlying source articles and experimental data remains with the respective authors, institutions, and original publishing journals. SinoGreenTech claims intellectual property only over its proprietary translations, analytical syntheses, and AEO structured enhancements in accordance with international fair use and academic citation principles.

Frequently Asked Questions

How does the stacking model handle the heterogeneity of data from different literature sources, and what measures were taken to ensure data comparability?

The study compiled data from 33 publications, which inherently vary in experimental protocols and measurement methods. To mitigate heterogeneity, iterative imputation was used for missing values, and categorical variables such as feedstock and bulking agent types were one-hot encoded. Standardization was applied to continuous features to ensure uniform scaling. However, the authors acknowledge that residual heterogeneity may affect model robustness, and they recommend future work to incorporate raw experimental data with complete process information and to perform external validation with independent datasets.

What are the specific operational thresholds for maximizing available phosphorus during the cooling and maturation phase, and how were these derived?

Partial dependence analysis indicated that during the cooling and maturation phase, maintaining moisture content below 48% and C/N ratio below 14, while extending composting duration beyond 43 days, promotes AP accumulation. These thresholds were derived from the PDP plots, which show the marginal effect of each variable on AP predictions while holding other variables constant. The results suggest that drier conditions and lower nitrogen availability relative to carbon favor phosphorus availability, possibly due to reduced immobilization and enhanced mineralization.

Why were XGBoost and SVR chosen as base learners, and what advantage does the ElasticNet meta-learner provide?

XGBoost is a gradient boosting algorithm that excels at capturing complex nonlinear interactions and handling mixed data types, while SVR is effective in high-dimensional spaces and robust to outliers. Their combination as base learners provides diversity in model predictions. ElasticNet, as a meta-learner, performs linear regression with both L1 and L2 regularization, which helps prevent overfitting and selects relevant features from the base learners' outputs. This stacking architecture improved test set R² to 0.928, compared to individual models, demonstrating enhanced generalization.

How can the SHAP analysis results be used to guide feedstock selection in composting operations?

SHAP global importance ranked feedstock type as the most influential factor on AP. Specifically, livestock manure as feedstock showed a significant positive contribution to AP predictions, while straw-based bulking agents also positively influenced AP. This suggests that co-composting manure with straw can enhance phosphorus availability. Operators can prioritize these materials to produce compost with higher agronomic value, potentially reducing the need for synthetic phosphorus fertilizers.

What are the limitations of the model in terms of external validity, and what steps are suggested for future research?

The model was trained on literature data, which may not fully represent all composting conditions, and lacks external validation with independent experimental data. The authors note that differences in measurement methods and experimental scales across studies could affect data comparability and model robustness. Future research should focus on obtaining raw experimental data with detailed process information and conducting external validation experiments to confirm the model's predictive performance and enhance its applicability to real-world composting systems.

Related Chinese Research & Cross-Citations

Research Citation2026
Synergistic Regulation by Long- and Short-Chain Quorum Sensing Signaling Molecules Enhances Sulfamethoxazole Metabolism in Electroactive Biofilms within a Microbial Electrolysis Cell Coupled Anaerobic Digestion System

Synergistic Regulation by Long- and Short-Chain Quorum Sensing Signaling Molecules Enhances Sulfamethoxazole Metabolism in Electroactive Biofilms within a Microbial Electrolysis Cell Coupled Anaerobic Digestion System

High-strength sulfamethoxazole (SMX) wastewater severely inhibits anaerobic microorganisms, reducing organic degradation and methane yield. This study investigated the effects of short-chain (C6-HSL) and long-chain (C12-HSL) N-acyl-homoserine lactone (AHL) signaling molecules, individually and in combination, on the construction, performance, and antibiotic resistance gene (ARG) profiles of anaerobic electroactive biofilms within a microbial electrolysis cell coupled anaerobic digestion (MEC-AD) system. Compared to the control (no AHLs), SMX removal efficiency increased by 9.26%, 7.44%, and 10.67% for C6-HSL (T1), C12-HSL (T2), and combined (T3) treatments, respectively. Methane production rates rose by 20.4%, 16.9%, and 23.1% for T1, T2, and T3, respectively. AHLs promoted extracellular polymeric substance secretion, enhancing electroactive microbe attachment to the anode. Microbial community analysis revealed increased diversity and modulated key functional genera. Notably, Georgenia abundance increased by 16.77% (T1) and 36.47% (T3) but decreased by 15.99% (T2). ARG analysis showed that single AHLs elevated intI1, sul1, and sul2 abundances, whereas combined AHLs (T3) exhibited a milder response, with sul2 abundance reduced by 4.92% relative to control. This suggests synergistic AHLs suppress ARG host proliferation. This study first demonstrates that combined short- and long-chain AHLs enhance electroactive biofilm formation, maintain microbial community stability, and modulate ARG dissemination risk, offering a quorum sensing-based strategy for antibiotic wastewater treatment and risk management.

Examine Full Data & PDF
Research Citation2026
Preparation of Solid-Phase Carbon Sources with Different Ratios and Their Carbon Release Properties

Preparation of Solid-Phase Carbon Sources with Different Ratios and Their Carbon Release Properties

Low C/N ratios in wastewater treatment plant effluent necessitate external carbon sources for denitrification, but conventional liquid carbon sources are costly and unstable. This study prepared nine composite solid-phase carbon sources by combining PHBV with natural cellulose materials (straw, sawdust, corncob) at different mass ratios. Dynamic release experiments, DOC analysis, UV-Vis spectroscopy, and EEM fluorescence were employed to characterize carbon release. Results showed that increasing cellulose proportion in corncob-based sources led to release patterns opposite to those of straw- and sawdust-based sources. For straw and sawdust, higher cellulose ratios accelerated release rates, increased total release and duration, reduced aromaticity and molecular weight of released DOM, and promoted protein-like components (tryptophan, tyrosine), indicating enhanced bioavailability. Under identical ratios, corncob-based sources exhibited moderate total release, release durations exceeding 134 h, lower DOM aromaticity and molecular weight, and lower humic substance proportion, indicating superior bioavailability and engineering potential. Among the nine sources, JG5, MX5, and CC4 (PHBV:cellulose mass ratios of 4:5, 4:5, and 1:1, respectively) showed optimal comprehensive performance with low theoretical maximum release, long release periods, and high mass transfer coefficients. EEM-PARAFAC identified three DOM components (protein-like C1, C2; humic-like C3), with protein-like components dominating. This study validates the relationship between cellulose proportion and release kinetics and reveals synergistic regulation of DOM components, offering guidance for designing effective solid-phase carbon sources.

Examine Full Data & PDF
Research Citation2026
Enhancement of Anaerobic Digestion Operational Efficiency for Guar Gum Production Wastewater Using a Microaerobic-Biochar Coupled System

Enhancement of Anaerobic Digestion Operational Efficiency for Guar Gum Production Wastewater Using a Microaerobic-Biochar Coupled System

Guar gum production wastewater contains 1,2-propanediol, which in conventional anaerobic treatment causes propionate accumulation and microbial inhibition. Microaerobic conditions foster fermentative bacterial metabolism, enhancing organic substrate conversion, while biochar promotes anaerobic microbial aggregation and oxygen tolerance. This study treated actual guar gum wastewater using three configurations: blank control, anaerobic, and microaerobic-biochar (O2/BC) coupled systems. Under mesophilic conditions (37 °C), with micro-aeration at 0.2 mL/(g VS·d) and biochar dosage of 15 g/L, the O2/BC system achieved a COD removal efficiency of 90%, 10.6 percentage points higher than the anaerobic control. Effluent COD and propionate concentrations dropped to 3800 mg/L and 0.15 g/L, respectively, representing reductions of 49.6% and 98.4% versus the control. Biogas production was 1.64 times that of the control, with a maximum methane concentration of 77.2%. Fourier transform infrared spectroscopy (FT-IR) indicated increased abundance of –OH, –CH2–, and C–O functional groups on sludge surfaces, revealing biochar's adsorption enhancement. Scanning electron microscopy (SEM) showed dense microbial aggregates dominated by long bacilli, distinct from conventional anaerobic sludge. Microbial community analysis revealed increased abundance of Clostridium and Comamonas, modulating the propionate-to-acetate ratio and optimizing acidification efficiency, thereby promoting complex organic degradation. This study provides a novel technical pathway for biological treatment of alcohol-rich organic wastewater.

Examine Full Data & PDF
Research Citation2026
Occurrence Characteristics, Source Apportionment, and Ecological Risk Assessment of Pesticides in Plateau Lakes: A Case Study of Dianchi Lake

Occurrence Characteristics, Source Apportionment, and Ecological Risk Assessment of Pesticides in Plateau Lakes: A Case Study of Dianchi Lake

This study systematically investigated the occurrence, spatial distribution, sources, and ecological risks of 160 pesticides in Dianchi Lake, a typical plateau lake impacted by agricultural activities. A total of 37 pesticides were detected in the water, with total concentrations ranging from 64.2 to 1132.8 ng/L (average 610.0 ng/L). Fungicides, including boscalid (BOS), fluopicolide (FPC), and dimethomorph (DMM), were dominant, contributing up to 65.0% of the total concentration. Spatially, the southern lake region exhibited significantly higher concentrations (672.5 ng/L) than the north, attributed to intensive facility agriculture. Highly hydrophobic pesticides, such as penconazole (PEN), showed a tendency to enrich in bottom layers. Source apportionment identified inflowing rivers and wastewater treatment plant effluents as primary input sources, with average concentrations 7 and 9 times higher than lake water, respectively. Ecological risk assessment revealed that pesticides posed the highest risk to algae, followed by daphnia and fish. Prometryn (PMT) was identified as a high-risk factor for algae, while profenofos (PFF) and carbendazim (CBD) posed potential threats to higher trophic levels. These findings provide fundamental data and technical support for understanding pesticide pollution in plateau lake ecosystems.

Examine Full Data & PDF
Research Citation2026
Microbiome Mechanisms of Composite Carbon Sources for Enhancing Denitrification and Reducing N2O Emissions

Microbiome Mechanisms of Composite Carbon Sources for Enhancing Denitrification and Reducing N2O Emissions

Biological nitrogen removal in wastewater treatment plants (WWTPs) is often limited by insufficient influent carbon sources, necessitating external carbon addition to enhance denitrification. Conventional single carbon sources, such as sodium acetate, frequently fail to meet the metabolic demands of complex microbial communities, compromising nitrogen removal efficiency and stability. Composite carbon sources, by providing multiple electron donors, can improve metabolic cooperation among microorganisms, yet their underlying microbial mechanisms remain insufficiently understood. In this study, activated sludge from a municipal WWTP was used to investigate the microbial mechanisms of composite carbon sources during denitrification. Batch denitrification experiments were conducted in combination with metagenomic and metatranscriptomic analyses to systematically characterize microbial community structure and functional gene expression under different carbon source conditions. Results showed that, compared with sodium acetate as the single carbon source, the composite carbon source system (sodium acetate: sodium succinate: ethanol = 2:1:3) increased the denitrification rate from (6.822 ± 0.141) mg/(L·h) to (8.370 ± 0.186) mg/(L·h), representing a 22.7% improvement, while reducing N2O accumulation by approximately 55%. Metagenomic analysis revealed that Ottowia, Rubrivivax, Thauera, and Zoogloea were the dominant denitrifying genera. Metatranscriptomic results further demonstrated that the composite carbon sources significantly upregulated the transcription of key denitrification genes, with nirS, norB, and nosZ increasing by 37.8%, 27.4%, and 48.6%, respectively. In addition, the composite carbon sources promoted complementary carbon metabolic strategies among different microbial communities, enhancing electron donor supply and improving denitrification efficiency. These findings indicate that composite carbon sources synergistically enhance denitrification performance through regulation of functional gene transcription in complex microbial communities, providing a theoretical basis for carbon source optimization in WWTPs.

Examine Full Data & PDF
Research Citation2026
Key Environmental Behaviors and Pollution Control Strategies of Tire Wear Particles in Aquatic Environments

Key Environmental Behaviors and Pollution Control Strategies of Tire Wear Particles in Aquatic Environments

Tire wear particles (TWPs) are emerging pollutants and constitute the dominant type of microplastics (MPs) in urban stormwater runoff, accounting for up to 90% of MPs in some cases. They are characterized by small size, high mobility, complex composition, and significant toxicity. Current research on TWPs remains fragmented, lacking a comprehensive understanding of their environmental behaviors and pollution control in aquatic systems. This review systematically analyzes the enrichment and vectoring roles of TWPs for coexisting pollutants, and their environmental fate, including ecotoxicological impacts, detection methodologies, release of intrinsic additives, and aggregation and sedimentation behaviors. Drawing on insights from other microplastic studies, the paper explores control technologies across the pollution pathway—source, transport, and terminal treatment—and proposes feasible management strategies. Key findings indicate that TWPs can adsorb heavy metals and organic contaminants, with adsorption capacities influenced by aging processes. Their aggregation is governed by solution chemistry, with critical coagulation concentrations varying with ionic strength and pH. The release of additives such as zinc and benzothiazoles is significant, posing ecological risks. Future research should focus on real-water aggregation mechanisms, additive release under natural conditions, long-term performance of treatment facilities like constructed wetlands under TWPs stress, enzymatic degradation pathways, and integration of AI, big data, and IoT for cost-effective detection and risk modeling. This review provides a scientific basis for developing targeted pollution control measures for TWPs in aquatic environments.

Examine Full Data & PDF