The purpose of the model is to generate disaggregated traffic flow distribution of cyclists at the regional scale level. The model is based on derived assumptions from mobility survey. It results in emergent traffic flow patterns at a high spatial and temporal level of detail.
Download GAMA-platform (GAMA1.7RC2 version) from https://gama-platform.github.io/. This platform requires to install Java 1.8 and minimum of 4 GB of RAM.
After installation set up the maximum memory allocated to GAMA to at least 8 GB. It is possible through GAMA menu in Help -> Preferences -> Interface. Make sure GAMA uses the same coordinate reference system as the input shapefiles (EPSG:32633) in Help -> Preferences -> Data and Operators.
The download zip has a folder named “code” which holds gama project files. Import these files into GAMA by right-clicking on User-models in Models tab of GAMA interface. Select GAMA project. In new window browse to “code” folder as a root directory. Make sure to check the box “Copy project into workspace”. Click Finish.
As an alternative to zip you can use direct link to GitHub repository https://github.com/ZGIS/Bicycle-model.
This version of code has a logical error in the assignment of forbidden activities. To correct it, replace code on lines 638-643 inside of the loop on line 632.
Project consists of input data in “includes” and model code in “models”.
Before running model code there is an option to parameterize routing algorithm by selecting either “shortest path” or “safest path” (default). Another parameter is responsible for visualization of facilities on display by type.
After model run output data is saved in “includes/output_data”.
Model initialization takes approximately 1 h and simulation runs approximately 3 h. For better performance it is better to close display windows with output graphs and diagrams after initialization.