Forecasting Volume Penumpang Harian KRL Yogyakarta–Solo Menggunakan SARIMA, LSTM, dan SARIMA-LSTM

Authors

  • Marta Ardiyanto Universitas Duta Bangsa, Surakarta
  • Ridwan Dwi Irawan Universitas Duta Bangsa, Surakarta
  • Esti Dwi Rahmawati Universitas Duta Bangsa, Surakarta

DOI:

https://doi.org/10.30865/jurikom.v13i3.9798

Keywords:

Forecasting, KRL Yogyakarta–Solo, SARIMA, LSTM, SARIMA-LSTM, Time Series

Abstract

Passenger volume forecasting in public transportation is an important aspect of supporting data-driven operational decision-making. The Yogyakarta–Solo Commuter Rail is a strategic public transportation mode that supports interregional mobility. Fluctuations in passenger volume influenced by daily patterns, weekends, national holidays, and collective leave periods require forecasting models capable of capturing seasonal patterns and possible nonlinear changes in time series data. This study aims to compare the performance of Seasonal Autoregressive Integrated Moving Average (SARIMA), Long Short-Term Memory (LSTM), and hybrid SARIMA-LSTM models in forecasting the daily passenger volume of the Yogyakarta–Solo Commuter Rail. The dataset consists of daily passenger volume data from January to December 2025. The research stages include data preprocessing, calendar-based feature engineering, chronological training and testing data splitting, SARIMA modeling, LSTM modeling, residual modeling using LSTM, and performance evaluation using MAE, RMSE, and MAPE. The results show that the SARIMA model obtained an MAE of 2644.81, an RMSE of 3299.78, and a MAPE of 10.56%. The LSTM model obtained an MAE of 1977.50, an RMSE of 2528.75, and a MAPE of 7.28%. Meanwhile, the hybrid SARIMA-LSTM model achieved an MAE of 2634.78, an RMSE of 3294.24, and a MAPE of 10.52%. Based on these results, the LSTM model achieved the best forecasting performance compared to SARIMA and hybrid SARIMA-LSTM. The hybrid SARIMA-LSTM model provided only a slight improvement over SARIMA but did not outperform the LSTM model. These findings indicate that forecasting model selection should consider dataset characteristics, residual patterns, and the adequacy of historical data. Future research is recommended to use longer historical data and incorporate relevant external variables to improve forecasting accuracy.

References

[1] Kementerian Riset dan Teknologi/Badan Riset dan Inovasi Nasional, "Prioritas Riset Nasional (PRIN) 2020-2024: Fokus Transportasi dan Ketahanan Pangan," Jakarta, 2020.

[2] KIP PT KCI, "Laporan Data Berkala Informasi Publik," 2025. [Online]. Available: https://kip.kci.id/info-berkala. [Accessed: Mar. 5, 2026.].

[3] F. R. Di Torrepadula, E. V. Napolitano, S. Di Martino, and N. Mazzocca, "Machine learning for public transportation demand prediction: a systematic literature review," Engineering Applications of Artificial Intelligence, vol. 137, p. 109166, 2024. DOI: 10.1016/j.engappai.2024.109166.

[4] F. Ely Nastiti, S. Musa, E. Yafi, and M. Ardiyanto, "Epidemic Prognosis: Comparative Performance Of Machine Learning And Deep Learning Models For Predicting Virus Transmission Dynamics," in Proceeding Int. Conf. Sci. Health Technol., Sep. 2023, pp. 260–270. DOI: 10.47701/icohetech.v4i1.3401

[5] R. D. Irawan and A. Fatkhurohman, "Application of Deep Learning Algorithm to Detect Fraud in Online Transaction Networks," J. Teknol. dan Open Source, vol. 7, no. 2, pp. 167–177, Dec. 2024. DOI: 10.36378/jtos.v7i2.3890.

[6] S. Priyanto, E. Churniawan, D. S. Oktaria, and E. S. Darmawan, “Forecasting the Number of Jogja-Solo KRL Passengers with the Gray Method (1,1), Moving Average and Exponential Smoothing,” J. World Sci., vol. 2, no. 1, pp. 138–149, Jan. 2023, DOI: 10.58344/jws.v2i1.130.

[7] Y. Lu and J. Wang, "Short-Term Passenger Flow Forecasting for Rail Transit Integrating Multi-Scale Decomposition and Deep Attention Mechanism," Sustainability, vol. 17, no. 19, p. 8880, 2025. DOI: 10.3390/su17198880.

[8] J. Sun, X. Ye, X. Yan, T. Wang, and J. Chen, "Multi-Step Peak Passenger Flow Prediction of Urban Rail Transit Based on Multi-Station Spatio-Temporal Feature Fusion Model," Systems, vol. 13, no. 2, p. 96, 2025. DOI: 10.3390/systems13020096.

[9] M. D. Purnama, "Enhancing Tourism Demand Forecasting Accuracy Through Clustering Time Series: A Comparison MAPE Analysis of Indonesian Provincial Domestic Tourist Flows," Eng. Math. Comput. Sci. J. EMACS, vol. 7, no. 3, pp. 353–362, Sep. 2025. DOI: 10.21512/emacsjournal.v7i3.14112

[10] D. D. Chuwang and W. Chen, "Forecasting Daily and Weekly Passenger Demand for Urban Rail Transit Stations Based on a Time Series Model Approach," Forecasting, vol. 4, no. 4, pp. 904–924, Nov. 2022. DOI: 10.1016/j.asoc.2023.110740

[11] Y. Xi and X. Deng, "Machine Learning-Based Short-Term Traffic Flow Prediction Model for Metro Systems," in 2025 8th Int. Conf. Adv. Electron. Mater. Comput. Softw. Eng. (AEMCSE), Nanjing, China, 2025, pp. 168–171. DOI: AEMCSE65292.2025.11042735

[12] E. D. Rahmawati, R. Setiyani, A. A. Janah, R. Subagyo, and Nurkhasanah, “Kualitas Layanan dan Kepuasan Wisatawan sebagai Penentu Niat Kunjungan Ulang: Studi pada Wisata Geopark Kebumen,” Simetris: Jurnal Ilmu Keuangan, Perbankan dan Ekonomi Terapan, vol. 4, no. 2, pp. 185–198, 2024. [Online]. Available: https://www.ejurnal.teraskampus.id/index.php/simetris/article/view/358

[13] G. Shi and L. Luo, "Prediction and Impact Analysis of Passenger Flow in Urban Rail Transit in the Postpandemic Era," J. Adv. Transp., vol. 2023, pp. 1–12, Aug. 2023. DOI: 10.1155/2023/3448864

[14] M. A. Shafique, "Improving ridership by predicting train occupancy levels," J. Public Transp., vol. 26, p. 100092, 2024. DOI: 10.1016/j.jpubtr.2024.100092

[15] G. W. Fajarianto, J. F. Ramadhani, S. C. Kusuma, and M. Zarkasi, "Predicting the Number of Passengers on Electric Rail Trains (KRL) in Jabodetabek Using the ARIMA Method," Brill. Res. Artif. Intell., vol. 5, no. 1, pp. 425–433, Jul. 2025. DOI: 10.47709/brilliance.v5i1.6347

[16] N. Passalis, A. Tefas, J. Kanniainen, M. Gabbouj, and A. Iosifidis, “Deep Adaptive Input Normalization for Time Series Forecasting,” IEEE Transactions on Neural Networks and Learning Systems, vol. 31, no. 9, pp. 3760–3765, Sep. 2020, DOI: 10.1109/TNNLS.2019.2944933.

[17] U. M. Sirisha, M. C. Belavagi, and G. Attigeri, “Profit Prediction Using ARIMA, SARIMA and LSTM Models in Time Series Forecasting: A Comparison,” IEEE Access, vol. 10, pp. 124715–124727, 2022, DOI: 10.1109/ACCESS.2022.3224938.

[18] R. Thiagarajan and S. P. Kumar, "Performance of public transport appraisal using machine learning," Sci. Temper, vol. 15, no. spl-1, pp. 373–378, Feb. 2025. DOI: 10.17762/ijritcc.v11i11.9900

[19] J. E. Barrera Hernandez, L. E. Tarazona Torres, A. Tabares, and D. Álvarez-Martínez, "Optimization of Bus Dispatching in Public Transportation Through a Heuristic Approach Based on Passenger Demand Forecasting," Smart Cities, vol. 8, no. 3, p. 87, May 2025. DOI: 10.3390/smartcities8030087.

Additional Files

Published

2026-06-30

How to Cite

Ardiyanto, M., Irawan, R. D., & Rahmawati, E. D. (2026). Forecasting Volume Penumpang Harian KRL Yogyakarta–Solo Menggunakan SARIMA, LSTM, dan SARIMA-LSTM. JURIKOM (Jurnal Riset Komputer), 13(3), 919–933. https://doi.org/10.30865/jurikom.v13i3.9798

Issue

Section

Articles