基于SCSSA-CNN-BiLSTM神经网络的厌氧发酵产气预测

Anaerobic fermentation gas production prediction based on SCSSA-CNN-BiLSTM neural network

  • 摘要: 厌氧发酵作为一种高效的有机废物处理技术,能够将农业废物转化为沼气,实现资源的循环利用和能源的可持续供应。厌氧发酵过程受到反应底物碳氮比、pH、挥发性脂肪酸、氨氮浓度以及化学需氧量等因素的影响。为探究厌氧发酵的规律,进行混合原料厌氧发酵产气实验,反应底物中牛粪与玉米秸秆的配比分别为1∶1、2∶1、3∶1,设置3组平行实验,以确保实验结果的可靠性和可重复性。创建了正余弦与柯西变异策略优化的麻雀搜索算法(SCSSA),并将其对卷积双向记忆神经网络(CNN-BiLSTM)的超参数进行优化,选择反应时间、牛粪与玉米秸秆配比、pH、挥发性脂肪酸、氨氮浓度以及化学需氧量作为模型的输入参数,日产气量和日甲烷产量作为输出参数。结果表明,牛粪与玉米秸秆配比为3∶1时,甲烷产量最多,配比1∶1实验组次之,配比2∶1实验组最小。基于SCSSA-CNN-BiLSTM混合原料厌氧发酵产气预测模型的日产气量准确率达95.29%,日甲烷产量准确率达95.87%,拟合优度(R2)达到了0.972。本研究解决了传统麻雀搜索算法模型易过早收敛导致陷入局部最优的问题,并提高了全局搜索能力,为实际实验提供了依据。

     

    Abstract: Anaerobic fermentation, as a highly efficient organic waste treatment technology, can convert agricultural waste into biogas for resource recycling and sustainable energy supply. The anaerobic fermentation process is affected by factors such as the carbon-to-nitrogen ratio of the reaction substrate, pH, volatile fatty acids, ammonia nitrogen concentration, and chemical oxygen demand. To explore the patterns of anaerobic fermentation, gas production experiments of anaerobic fermentation with mixed raw materials were carried out, using mixed raw materials with cow dung-to-corn stover ratios of 1∶1, 2∶1, and 3∶1. Three parallel experiments for each group were conducted to ensure the reliability and reproducibility of the experimental results. Subsequently, a Sine Cosine and Cauchy mutation strategy-enhanced Sparrow Search Algorithm (SCSSA) was proposed to optimise the hyperparameters of a Convolutional Neural Network integrated with Bidirectional Long Short-Term Memory (CNN-BiLSTM). The reaction time, cow dung to corn stover ratios, pH, volatile fatty acids, ammonia nitrogen concentration, and COD were selected as input parameters to the model, and daily gas production and daily methane yield were selected as output parameters. The results showed that the highest methane production was achieved with a 3∶1 ratio of cow dung to corn stover, followed by a 1∶1 ratio, and the smallest yield was achieved with a 2∶1 ratio in the experimental group. The SCSSA-CNN-BiLSTM hybrid feedstock anaerobic fermentation gas production prediction model achieved high prediction accuracy, with 95.29% for daily gas production and 95.87% for daily methane yield, and a goodness-of-fit (R2) of 0.972. The approach solves the problem of premature convergence into the local optimum in the traditional sparrow searching algorithm and enhances the global searching capability, which provides the basis for the practical experiments.

     

/

返回文章
返回