Javascript must be enabled to continue!
Forecasting freight railway traffic in Morocco: a data-driven machine learning approach for efficient logistics planning
View through CrossRef
Purpose
This study develops and evaluates a data-driven forecasting framework for freight railway traffic along Morocco's Tanger–Casablanca corridor, with the objective of assessing whether advanced machine learning models can enhance the accuracy and robustness of medium-term demand forecasting compared to conventional statistical time-series methods, thereby improving both operational railway planning and strategic logistics decision-making.
Design/methodology/approach
A quantitative research design is employed using sixteen weeks of aggregated data derived from 2,159 operational records collected along the Tanger–Casablanca railway corridor. The dataset integrates multiple sources, including railway operational indicators, port throughput measures, industrial production indices, and macroeconomic variables. The study implements classical statistical models (ARIMA and SARIMA) alongside machine learning approaches, namely Random Forest, Gradient Boosting, Long Short-Term Memory (LSTM), and Prophet. Rigorous preprocessing, feature engineering, rolling-window validation, and multi-metric evaluation (MAE, RMSE, MAPE, and R2) are applied to ensure robust and unbiased model comparison.
Findings
The results indicate that machine learning approaches consistently outperform traditional statistical models in forecasting freight railway demand. Among all models, LSTM delivers the highest predictive accuracy, followed by Gradient Boosting and Random Forest, while ARIMA and SARIMA serve as baseline benchmarks but show reduced performance during periods of peak demand. The analysis further reveals that port throughput and wagon allocation are the most significant predictors of freight volume, confirming the presence of nonlinear and temporally dependent demand structures that are more effectively captured by advanced learning models.
Originality/value
This study contributes to the limited empirical literature on railway freight forecasting in developing countries by applying and systematically comparing advanced machine learning techniques within the Moroccan railway context. It introduces an integrated forecasting framework that combines heterogeneous data sources with rigorous validation procedures, thereby bridging the gap between predictive analytics and operational railway decision-making. The proposed approach offers both methodological innovation and practical insights to support the modernization of rail freight systems in emerging logistics environments.
Title: Forecasting freight railway traffic in Morocco: a data-driven machine learning approach for efficient logistics planning
Description:
Purpose
This study develops and evaluates a data-driven forecasting framework for freight railway traffic along Morocco's Tanger–Casablanca corridor, with the objective of assessing whether advanced machine learning models can enhance the accuracy and robustness of medium-term demand forecasting compared to conventional statistical time-series methods, thereby improving both operational railway planning and strategic logistics decision-making.
Design/methodology/approach
A quantitative research design is employed using sixteen weeks of aggregated data derived from 2,159 operational records collected along the Tanger–Casablanca railway corridor.
The dataset integrates multiple sources, including railway operational indicators, port throughput measures, industrial production indices, and macroeconomic variables.
The study implements classical statistical models (ARIMA and SARIMA) alongside machine learning approaches, namely Random Forest, Gradient Boosting, Long Short-Term Memory (LSTM), and Prophet.
Rigorous preprocessing, feature engineering, rolling-window validation, and multi-metric evaluation (MAE, RMSE, MAPE, and R2) are applied to ensure robust and unbiased model comparison.
Findings
The results indicate that machine learning approaches consistently outperform traditional statistical models in forecasting freight railway demand.
Among all models, LSTM delivers the highest predictive accuracy, followed by Gradient Boosting and Random Forest, while ARIMA and SARIMA serve as baseline benchmarks but show reduced performance during periods of peak demand.
The analysis further reveals that port throughput and wagon allocation are the most significant predictors of freight volume, confirming the presence of nonlinear and temporally dependent demand structures that are more effectively captured by advanced learning models.
Originality/value
This study contributes to the limited empirical literature on railway freight forecasting in developing countries by applying and systematically comparing advanced machine learning techniques within the Moroccan railway context.
It introduces an integrated forecasting framework that combines heterogeneous data sources with rigorous validation procedures, thereby bridging the gap between predictive analytics and operational railway decision-making.
The proposed approach offers both methodological innovation and practical insights to support the modernization of rail freight systems in emerging logistics environments.
Related Results
The Burden of Road Traffic Injuries: A Global Perspective
The Burden of Road Traffic Injuries: A Global Perspective
Introduction Road Traffic Injury (RTI) pose a significant health challenge. It represents the eighth leading cause of death globally, prompting the UN to designate 2011-2020 as...
Model of effective market and technology of freight railway transportation
Model of effective market and technology of freight railway transportation
Background: Liberalization processes, an attempt of the railway industry to transition to a new market model (free competition market) without corresponding changes in the componen...
Forecasting material flows of modern logistics centres of railway freight stations exemplifi ed by Xi’an (the People’s Republic of China)
Forecasting material flows of modern logistics centres of railway freight stations exemplifi ed by Xi’an (the People’s Republic of China)
The purpose of the study is to create a more accurate material fl ow forecasting model of Xi’an freight railway station in China. The combined forecasting model is more valida...
RAILWAY STRUCTURES PERFORMANCE DUE TO FREIGHT INTERMODAL SERVICE AT BOJONEGORO – KALITIDU ROUTE
RAILWAY STRUCTURES PERFORMANCE DUE TO FREIGHT INTERMODAL SERVICE AT BOJONEGORO – KALITIDU ROUTE
Goods movement using container are quite efficiently assessed because it can carry a great amount of goods fit to container capacity. Freight transporta...
Structural and Dynamic Aspects of Freight Transportation Logistics in Ukraine.
Structural and Dynamic Aspects of Freight Transportation Logistics in Ukraine.
Freight transportation logistics in Ukraine over the long-term period of 1940-2024 is examined through the prism of structural and dynamic changes by modes of transport, transforma...
The influence of logistics management on food security in Ghana
The influence of logistics management on food security in Ghana
Research problem warehouse
Food insecurity has been reported to be increasing in Ghana despite recent government logistics infrastructure (warehouses) efforts. It is important to u...
Traffic Prediction in 5G Networks Using Machine Learning
Traffic Prediction in 5G Networks Using Machine Learning
The advent of 5G technology promises a paradigm shift in the realm of
telecommunications, offering unprecedented speeds and connectivity. However, the
...
Quality of logistics service assessment for multinational railway transportation: results from an empirical study
Quality of logistics service assessment for multinational railway transportation: results from an empirical study
PurposeThe study focused on logistics service quality (LSQ) for multinational railway transportation. It mainly explores factors affecting LSQ and proposes strategies for multinati...

