Skip to content

PARKING SPACE OCCUPATION FORECASTING MODELS FOR CONSTRUCTING A DIGITAL TWIN OF THE KAZAN CITY PARKING SPACE

2026 · Herald Of Technological University · 0 citations

Abstract

This paper examines the problem of constructing and evaluating parking occupancy forecasting models for a digital twin of the Kazan parking space. To address this problem, data reflecting parking characteristics and urban environmental factors was prepared: data on the location of parking zones, their capacity, occupancy changes over time, as well as information on urban infrastructure facilities located near the parking lots. The OpenStreetMap project served as the source for obtaining data on urban infrastructure facilities. The Overpass API, which allows queries to the OSM database in the Overpass QL language, was used to extract information. This API was used to obtain points of interest representing urban infrastructure facilities. Data was collected using Python and the httpx library for executing HTTP requests to the Overpass API. Data on Kazan parking lots and their occupancy rates was obtained using the parkingkzn service. By downloading the initial data from the parkingkzn service, information was obtained on 439 parking lots, 96 parking meters, and 210 parking zones located in Kazan. The following models were selected for data analysis: linear regression, decision tree, random forest, XGBoost, multilayer perceptron, and LSTM. Pandas and Numpy libraries were used for data processing. Machine learning models were implemented using Scikit-Learn, and the gradient boosting model was implemented with Xgboost. Tensorflow and Pytorch were used to build neural network models. The source data was randomly divided into training and test sets at a ratio of 80% and 20%. The MSE, RMSE, R², and MAPE metrics were used to evaluate the quality of the models. The linear regression model failed to predict the problem, indicating that the relationships between features and parking occupancy are nonlinear. The other models showed similar results and reproduced parking occupancy dynamics in approximately the same way. However, when compared by quality metrics, the neural network models were inferior to models based on decision trees. The best results were obtained for the decision tree and random forest. Gradient boosting demonstrated average performance, slightly inferior to the random forest due to the sensitive parameter settings. The random forest model was selected for further use. It demonstrated high forecasting quality, is an ensemble method, and is better suited to accounting for nonlinear dependencies in the data. Thus, the resulting forecasting model for the digital twin effectively solves the problem and can be used to analyze parking congestion and support decision-making in urban parking management.

View source

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.