Carbon Emission Prediction for Inland Container Ports Based on Improved LSTM Model
-
摘要: 针对内河集装箱港口碳排放影响机制复杂、中长期碳排放趋势不易定量研判的问题,在考虑多重影响因素的基础上,构建内河集装箱港口碳排放预测模型,以揭示各因素对港口碳排放的作用规律,实现港口碳排放量中长期预测。从微观精准层面分别构建了船舶、集卡和装卸机械的碳排放量测算方法;引入可拓展随机回归影响模型(stochastic impacts by regression on population, affluence and technology,STIRPAT)模型,选取人口规模、城镇化率、人均GDP、能源结构、能源强度和生产强度等6个指标作为内河集装箱港口碳排放的中长期影响因素,验证了它们与碳排放量之间的显著相关性,实现碳排放微观测算量与中宏观量驱动影响因素的关联耦合。建模样本为2011—2020年共30期连续时间序列数据,前26期用于模型训练与超参数筛选,后4期用于测试集预测效果评价。在此基础上,将可变惯性权重和自适应变异概率等优化手段引入长短期记忆网络以减少人工设参带来的不确定性,构建了基于改进粒子群算法-长短期记忆网络的内河集装箱港口碳排放预测模型。以长江干线某港口为案例研究对象,将建立的改进模型与未优化的长短期记忆网络、反向传播神经网络,以及传统单变量预测模型进行对比。结果显示:基于改进粒子群算法-长短期记忆网络的碳排放预测模型的预测结果在平均绝对误差、平均绝对百分比误差和均方根误差等指标上分别降低了79.1%、78.6%和80.9%,同时改进模型的拟合优度R2达到0.95。岭回归分析取岭参数K=0.126,各影响因素均通过显著性检验,因素回归模型拟合优度R2为0.984;测试集上改进模型均方根误差为826.86 t、平均绝对误差为565.58 t、平均绝对百分比误差为3.08%,而7类传统单变量模型的平均绝对百分比误差介于21.71%~27.22%之间且拟合优度多为负值。表明改进后的模型具有较好的拟合能力,可适用于多因素条件下内河集装箱港口碳排放的中长期趋势预测。受样本周期与影响因素覆盖范围限制,模型向更长时间序列及其他港群迁移时仍需补充样本验证。Abstract: For inland container ports, the carbon emission mechanism involves multiple factors, and medium- and long-term emission trends are difficult to predict quantitatively. A carbon emission prediction model considering multiple influencing factors is developed to reveal the effects of these factors on port carbon emissions. From a micro perspective, calculation methods for carbon emissions from ships, container trucks, and handling machinery are established separately. The stochastic impacts by regression on population, affluence and technology (STIRPAT) model is introduced. Six indicators, namely population size, urbanization rate, per capita GDP, energy structure, energy intensity, and production intensity, are selected as medium- and long-term influencing factors. Their significant correlations with carbon emissions are verified, and the coupling between micro calculated emission values and meso-macro driving factors is established. The dataset contains 30 consecutive time-series samples from 2011 to 2020. The first 26 samples are used for training and hyperparameter selection, and the last 4 samples are reserved for test-set evaluation. Variable inertia weight and adaptive mutation probability are incorporated into the long short-term memory (LSTM) network to reduce uncertainties caused by manual parameter setting. An improved particle swarm optimization-LSTM (IPSO-LSTM) prediction model for inland container port carbon emissions is constructed. Taking a port on the Yangtze River main stem as a case, the proposed model is compared against benchmark baselines. These include a baseline LSTM network, a back propagation (BP) neural network, and traditional univariate forecasting models. On the test set, the improved model reduces the mean absolute error, mean absolute percentage error, and root mean square error by 79.1%, 78.6%, and 80.9%, respectively. It also achieves an R2 of 0.95. In the ridge regression analysis, the ridge parameter K is set to 0.126, and all influencing factors pass the significance test. The factor regression model achieves an R2 of 0.984. For the improved model, the root mean square error, mean absolute error, and mean absolute percentage error are 826.86 t, 565.58 t, and 3.08%, respectively. The seven traditional univariate models yield mean absolute percentage errors between 21.71% and 27.22%, with mostly negative R2 values. The improved model shows favorable fitting capability and prediction accuracy for inland container port carbon emission prediction. Given the limited sample period and factor coverage, additional samples are required before the model is transferred to longer time series or other port clusters.
-
表 1 内河港口碳排放影响因素表示及其计算方法
Table 1. Representation of influencing factors of carbon emissions in inland ports and their calculation methods
影响因素 符号表示 计算方法 单位 人口规模 P1 研究地区常住人口总量 万人 城镇化率 P2 城镇人口/总人口 % 人均GDP A 研究地区GDP总量/总人口数 亿元/万人 能源强度 T1 能源消耗量/吞吐量 t/t 能源结构 T2 电力/总能源 % 生产强度 T3 吞吐量/研究地区GDP t/亿元 表 2 数据构建方法
Table 2. Data construction methods
序号 输入数据 输出数据 所有特征数据 影响因素数据 1 2011-01 2011-05 2011-05 2 2011-05 2011-09 2011-09 3 2011-09 2012-01 2012-01 ⋮ ⋮ ⋮ ⋮ 29 2020-01 2020-05 2020-05 30 2020-05 2020-09 2020-09 表 3 IPSO-LSTM模型参数设置
Table 3. IPSO-LSTM model parameter setting
参数 初始值 粒子群种群数量 5 惯性权重最大值wmax 0.8 惯性权重最小值wmin 0.6 最大迭代次数tmax 1 000 迭代次数t [10, 1 000] 个体学习因子c1 1.5 社会学习因子c2 1.5 学习率 [0.001, 0.01] 第一隐含层神经元数 [1, 100] 第二隐含层神经元数 [1, 100] 表 4 内河港口碳排放及其影响因素数据(部分数据)
Table 4. Data on carbon emissions from inland ports and their influencing factors (partial data)
时间 碳排放/t 人口规模/万人 城镇化率/% 人均GDP/(亿元/万人) 能源结构/% 能源强度/(t/t) 生产强度/(t/亿元) 2016年1月 10 996.103 1 070.339 78.825 8 978.012 46.079 1.754 0.655 2016年5月 10 065.408 1 072.619 79.168 8 958.932 47.009 1.605 0.599 2016年9月 11 624.114 1 074.903 79.511 8 939.893 47.957 1.854 0.692 2017年1月 10 902.351 1 077.670 79.792 10 122.777 48.929 1.755 0.572 2017年5月 11 125.196 1 081.881 79.882 10 083.374 49.936 1.791 0.583 2017年9月 11 689.404 1 086.108 79.972 10 044.124 50.965 1.882 0.613 2018年1月 12 871.437 1 090.845 80.061 11 404.550 51.863 1.722 0.592 2018年5月 16 162.835 1 097.088 80.144 11 339.651 52.316 2.163 0.743 2018年9月 16 010.081 1 103.367 80.227 11 275.121 52.774 2.142 0.736 2019年1月 16 919.076 1 109.186 80.307 12 188.527 53.339 2.225 0.716 2019年5月 16 572.171 1 113.540 80.373 12 140.871 54.225 2.179 0.701 2019年9月 15 690.218 1 117.911 80.44 12 093.401 55.125 2.063 0.664 2020年1月 14 029.201 1 131.011 80.802 11 505.971 55.998 1.396 0.617 2020年5月 11 940.608 1 171.122 82.06 11 111.890 56.757 1.188 0.525 2020年9月 21 749.652 1 212.656 83.338 10 731.306 57.526 2.164 0.956 表 5 内河港口碳排放影响因素共线性诊断结果
Table 5. Collinear diagnosis of influencing factors of carbon emissions in inland ports
模型 未标准化系数 标准化系数 共线性统计 B 标准误差 Beta(β) t 显著性 容差 VIF (常量) -34715.297 5 416.443 -6.409 <0.0001 人口规模 19.424 2.505 0.368 7.755 <0.0001 0.148 6.776 城镇化率 56.159 98.923 0.055 0.568 0.576 0.035 28.362 人均GDP 1.377 0.202 0.833 6.821 <0.0010 0.022 44.797 能源结构 -103.285 83.191 -0.215 -1.242 0.227 0.011 89.862 能源强度 137.989 572.418 0.010 0.241 0.812 0.19 5.272 生产强度 19 455.003 1 508.466 0.511 12.897 <0.0010 0.212 4.725 表 6 岭回归分析结果
Table 6. Ridge regression analysis results
K=0.126 非标准化系数 标准化系数 t P R2 调整R2 F B 标准误差 Beta(β) 常数 -5.948 0.893 -6.663 0.000*** 0.984 0.98 243.563(0.000***) 人口规模 1.064 0.147 0.237 7.22 0.000*** 城镇化率 0.581 0.187 0.091 3.108 0.005*** 人均GDP 0.407 0.032 0.349 12.802 0.000*** 能源结构 0.438 0.038 0.246 11.38 0.000*** 能源强度 0.323 0.052 0.168 6.225 0.000*** 生产强度 0.578 0.059 0.265 9.831 0.000*** 表 7 3类模型的碳排放预测结果误差评价
Table 7. Error evaluation of carbon emission prediction results of three types of models
模型 ERMSE/t EMAE/t EMAPE/% R2 LSTM 4 334.19 2 709.52 14.62 0.41 BP 2 027.55 1 204.03 6.02 0.69 IPSO-LSTM 826.86 565.58 3.08 0.95 表 8 传统单变量模型的碳排放预测结果误差评价
Table 8. Error evaluation of carbon emission prediction results using traditional univariate models
模型 ERMSE/t EMAE/t EMAPE/% R2 一次指数平滑SES 3 730.86 3 323.38 21.71 -0.042 GM(1,1) 3 659.15 3 216.71 22.26 -0.002 SARIMA 3 836.79 3 381.08 23.48 -0.102 ARIMA 3 828.65 3 390.69 24.00 -0.097 Holt-Winters 3 906.69 3 577.08 24.91 -0.143 阻尼趋势指数平滑 4 010.61 3 716.36 25.67 -0.204 Holt线性指数平滑 4 252.79 3 776.72 27.22 -0.354 -
[1] JIN Y, SHARIFI A, LI Z, et al. Carbon emission prediction models: a review[J]. Science of The Total Environment, 2024, 927: 172319. doi: 10.1016/j.scitotenv.2024.172319 [2] XU L, LIU Y. Global shipping emissions prediction in the era of large language models: a review[J]. Frontiers in Marine Science, 2026, 12: 1757394. doi: 10.3389/fmars.2025.1757394 [3] 胡飞, 田丽君, 许岩. 基于集成深度学习模型的交通流预测[J]. 系统科学与数学, 2026, 46(3): 911-925.HU F, TIAN L J, XU Y. Traffic flow prediction based on en- semble deep learning model[J]. Journal of Systems Science and Mathematical Sciences, 2026, 46(3): 911-925. (in Chinese) [4] SAMREEN F, SAYED S A, SYEDA S Z, et al. Forecasting carbon dioxide emission of Asian countries using ARIMA and simple exponential smoothing models[J]. International Journal of Economic and Environment Geology, 2019, 10(1): 64-69. [5] NYONI T, BONGA W G. Prediction of CO2 emissions in India using ARIMA models[J]. DRJ-Journal of Economics & Finance, 2019, 4(2): 1-10. [6] 崔建, 李镇, 赵家旺, 等. 基于ARIMA的高速公路短时交通流量预测方法研究[J]. 山东交通科技, 2024(4): 89-93.CUI J, LI Z, ZHAO J W, et al. Research on short-term expressway traffic flow prediction method based on ARIMA[J]. Shandong Transportation Science and Technology, 2024(4): 89-93. (in Chinese) [7] 张开瑞, 陆由, 吕能超. 基于EEMD-PE-LSTM的高速公路路段交通状态预测方法[J]. 交通信息与安全, 2025, 43(1): 85-96. doi: 10.3963/j.jssn.1674-4861.2025.01.008ZHANG K R, LYU Y, LU N C. Highway section traffic state prediction method based on EEMD-PE-LSTM[J]. Journal of Transport Information and Safety, 2025, 43(1): 85-96. (in Chinese) doi: 10.3963/j.jssn.1674-4861.2025.01.008 [8] WANG M, WU L, GUO X. Application of grey model in influencing factors analysis and trend prediction of carbon emission in Shanxi province[J]. Environmental Monitoring and Assessment, 2022, 194(8): 542. doi: 10.1007/s10661-022-10088-7 [9] 张迪, 王彤彤, 支金虎. 基于IPSO-BP神经网络模型的山东省碳排放预测及生态经济分析[J]. 生态科学, 2022, 41(1): 149-158.ZHANG D, WANG T T, ZHI J H. Carbon emissions prediction based on IPSO-BP neural network model and eco-economic analysis of Shandong province[J]. Ecological Science, 2022, 41(1): 149-158. (in Chinese) [10] 肇晓楠, 谢新连, 赵瑞嘉. 基于滑动窗口动态输入LSTM网络的铁路运输系统碳排放量预测方法[J]. 交通信息与安全, 2023, 41(1): 169-178. doi: 10.3963/j.jssn.1674-4861.2023.01.018ZHAO X N, XIE X L, ZHAO R J. A method for predicting carbon emission of railway transportation system based on an LSTM network with dynamic input via sliding window[J]. Journal of Transport Information and Safety, 2023, 41 (1): 169-178. (in Chinese) doi: 10.3963/j.jssn.1674-4861.2023.01.018 [11] 姚丹阳, 岳明齐, 张珣, 等. 基于MASTGCN的AIS信息船舶SO2排放预测模型[J]. 交通信息与安全, 2025, 43(2): 65-73. doi: 10.3963/j.jssn.1674-4861.2025.02.008YAO D Y, YUE M Q, ZHANG X, et al. Vessel SO2 emission prediction model based on MASTGCN-AIS[J]. Journal of Transport Information and Safety, 2025, 43(2): 65-73. (in Chinese) doi: 10.3963/j.jssn.1674-4861.2025.02.008 [12] ZHOU Z, YU L, WANG Y, et al. Innovative approach to daily carbon dioxide emission forecast based on ensemble of quantile regression and attention BILSTM[J]. Journal of Cleaner Production, 2024, 460: 142605. doi: 10.1016/j.jclepro.2024.142605 [13] 陈赟, 文爱. 湖南高速公路基础设施碳排放峰值支持向量回归预测模型[J]. 工程研究—跨学科视野中的工程, 2024, 16(1): 62-73.CHEN Y, WEN A. Support vector regression prediction model for carbon emission peak of Hunan expressway infrastructure[J]. Engineering Research: Journal of Engineering in an Interdisciplinary Perspective, 2024, 16(1): 62-73. (in Chinese). [14] 贺勇, 傅飞飞, 廖诺. 基于STIRPAT模型的工业研发投入对碳排放影响效应分析[J]. 科技管理研究, 2021, 41(17): 206-212.HE Y, FU F F, LIAO N. Analysis on the effect of R&D investment on carbon emission in industrial sector based on STIRPAT model[J]. Science and Technology Management Research, 2021, 41(17): 206-212. (in Chinese) [15] 王川. 基于STIRPAT模型的重庆市公共交通碳排放预测研究[D]. 重庆: 重庆交通大学, 2026.WANG C. Research on carbon emission prediction of public transport in Chongqing based on STIRPAT model[D]. Chongqing: Chongqing Jiaotong University, 2026. (in Chinese) [16] 彭云, 李相达, 王文渊, 等. 绿色集装箱港口节能减排策略综述[J]. 交通运输工程学报, 2022, 22(4): 28-46.PENG Y, LI X D, WANG W Y, et al. Review on energy reduction strategies of green container port[J]. Journal of Traffic and Transportation Engineering, 2022, 22(4): 28-46. (in Chinese) [17] 王日金, 孟燕萍. 考虑低碳偏好和碳交易的港口减排策略[J]. 上海海事大学学报, 2020, 41(2): 33-38.WANG R J, MENG Y P. Port emission reduction strategies considering low carbon preference and carbon trading[J]. Journal of Shanghai Maritime University, 2020, 41(2): 33-38. (in Chinese) [18] 崔兴博, 钟鸣, 李林锋, 等. 集装箱港口"非集计"碳排放评估方法与"碳中和"实现方法[J]. 交通信息与安全, 2024, 42 (5): 124-135. doi: 10.3963/j.jssn.1674-4861.2024.05.012CUI X B, ZHONG M, LI L F, et al. Disaggregate carbon emission assessment method and the pathway to Carbon Neutrality in container ports[J]. Journal of Transport Information and Safety, 2024, 42(5): 124-135. (in Chinese) doi: 10.3963/j.jssn.1674-4861.2024.05.012 [19] 陈哲沣, 王健. 基于变分模态分解的中国主要集装箱港口碳排放组合预测[J]. 中国航海, 2024, 47(4): 138-145.CHEN Z F, WANG J. Combined prediction of carbon emissions from major container ports in China based on variational mode decomposition[J]. Navigation of China, 2024, 47 (4): 138-145. (in Chinese) [20] 刘清, 聂凤铭, 王磊. 内河船舶营运碳排放强度预测方法研究[J]. 中国航海, 2025, 48(2): 127-135.LIU Q, NIE F M, WANG L. Research on prediction method of operational carbon emission intensity of inland vessels[J]. Navigation of China, 2025, 48(2): 127-135. (in Chinese) [21] 衣启航. 基于AIS和宽度学习的船舶交通流预测研究[D]. 大连: 大连海事大学, 2022.YI Q H. Research on vessel traffic flow prediction based on AIS and broad learning system[D]. Dalian: Dalian Maritime University, 2022. (in Chinese) [22] 马建文, 周玥, 刘国新, 等. 基于AIS数据和模糊逻辑的港口船舶碳排放环境影响评估[J]. 安全与环境学报, 2026, 26 (5): 1750-1759.MA J W, ZHOU Y, LIU G X, et al. Environmental impact assessment of port ship carbon emissions based on AIS data and fuzzy logic[J]. Journal of Safety and Environment, 2026, 26(5): 1750-1759. (in Chinese) [23] YU H, JIANG C, FANG Q, et al. Deep learning driven spatiotemporal prediction of global carbon emissions from container shipping[J]. Transportation Research Part D: Transport and Environment, 2026, 151: 105169. doi: 10.1016/j.trd.2025.105169 [24] REN S, CHEN M. Coordinated scheduling of carbon capture, renewables, and storage in bulk carriers: a dual-timescale LSTM-powered multi-objective energy management system strategy[J]. Energies, 2026, 19(4): 1010. doi: 10.3390/en19041010 [25] 高金贺, 黄伟玲, 蒋浩鹏. 城市交通碳排放预测的多模型对比分析[J]. 重庆交通大学学报(自然科学版), 2020, 39(7): 33-39.GAO J H, HUANG W L, JIANG H P. Comparison of multiple forecast models of urban traffic carbon emissions[J]. Journal of Chongqing Jiaotong University(Natural Science), 2020, 39(7): 33-39. (in Chinese) [26] 郭子雪, 康慧聪, 赵婉, 等. 京津冀港口物流与区域经济发展的互动关系研究—基于格兰杰因果检验和灰色关联度的分析[J]. 数学的实践与认识, 2020, 50(5): 32-39.GUO Z X, KANG H C, ZHAO W, et al. Research on the interactive relationship between port logistics and regional economic development of Beijing-Tianjin-Hebei region: analysis based on Granger causality test and grey correlation degree[J]. Mathematics in Practice and Theory, 2020, 50(5): 32-39. (in Chinese) [27] 王靖添, 马晓明. 中国交通运输碳排放影响因素研究—基于双层次计量模型分析[J]. 北京大学学报(自然科学版), 2021, 57(6): 1133-1142.WANG J T, MA X M. Influencing factors of carbon emissions from transportation in China: empirical analysis based on two-level econometrics method[J]. Acta Scientiarum Naturalium Universitatis Pekinensis, 2021, 57(6): 1133-1142. (in Chinese) [28] 常圣岱, 熊吕露, 孙永刚, 等. 中国主要沿海港口国际海运船舶低碳燃料需求及温室气体排放预测[J]. 船海工程, 2026, 55 (3): 1-7.CHANG S D, XIONG L L, SUN Y G, et al. Prediction of low-carbon fuel demand and greenhouse gas emissions of international shipping vessels at major coastal ports in China[J]. Ship & Ocean Engineering, 2026, 55(3): 1-7. (in Chinese) [29] CHEN Y, CHEN Z, LI K, et al. Research of carbon emission prediction: an oscillatory particle swarm optimization for long short-term memory[J]. Processes, 2023, 11(10): 3011. doi: 10.3390/pr11103011 [30] LAI Y W, WANG Y. Short-term passenger flow prediction for rail transit based on improved particle swarm optimization algorithm[J]. IET Intelligent Transport Systems, 2023, 17 (4): 825-834. doi: 10.1049/itr2.12306 [31] 韩秀. 基于数据驱动的高速公路交通状态预测研究[D]. 石家庄: 石家庄铁道大学, 2022.HAN X. Research on the prediction of expressway traffic state based on data-driven[D]. Shijiazhuang: Shijiazhuang Tiedao University, 2022. (in Chinese) -
下载: