isislab-unisa / ABM_Comparison

Code used for the performance comparison for the article "Experimenting with Agent-based Model Simulation Tools"
Apache License 2.0
0 stars 0 forks source link

Experimenting with Agent-based Model Simulation Tools: ABM Comparison

This repository contains the code developed for the performance comparison included in the article "Experimenting with Agent-based Model Simulation Tools" submitted to Applied Science.

Included ABM tools

The repository contains a dedicated directory for each of the tool tested. The directory contains the implementation of the different examples and the scripts used to run the benchmark.

Hardware configuration

Models

The efficiency and scale of each tool has been tested in terms of execution time and workload capacity using the following four models:

Implementation provided by the ABM tools' authors have been used if available and are not reported here. Otherwise, the model is been developed from scratch following the platforms guidelines, documentation, and examples. Each model is been implemented to be as similar as possible among the different tools included; however, the differences between the tools introduce some inevitably variance.

The following table summarize which models is provided by the ABM tools' authors (:white_check_mark:) and which has been developed from scratch (:x:).

:arrow_down:Tool/Model:arrow_right: Flockers WSG Schelling ForestFire
ActressMAS :x: :white_check_mark: :x: :x:
AgentPy :white_check_mark: :x: :white_check_mark: :white_check_mark:
Agents.jl :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
CppyABM :x: :white_check_mark: :x: :x:
GAMA :white_check_mark: :x: :white_check_mark: :x:
krABMaga :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
MASON :white_check_mark: :white_check_mark: :x: :x:
Mesa :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
Netlogo :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark:
Repast :white_check_mark: :white_check_mark: :white_check_mark: :x:

Configurations

Frameworks' performance has been tested with different models configurations, starting with a field 100x100 , 1000 agents, and 200 steps, keeping an agent density of 10%. The subsequent configurations are obtained by doubling the number of agents and changing the field dimensions to preserve the initial agent:

The ForestFire model maintains a density of 70%.

Important note

To correctly use the script provided it is required that the tools is correctly installed with the corresponding prerequisites.

Reference

Antelmi, A.; Cordasco, G.; D’Ambrosio, G.; De Vinco, D.; Spagnuolo, C. Experimenting with Agent-based Model Simulation Tools. Applied Sciences 2022.

Bibtex


AUTHOR = {Antelmi, Alessia and Cordasco, Gennaro and D’Ambrosio, Giuseppe and De Vinco, Daniele and Spagnuolo, Carmine},
TITLE = {Experimenting with Agent-based Model Simulation Tools},
JOURNAL = {Applied Sciences},
VOLUME = {},
YEAR = {2022},
NUMBER = {},
ARTICLE-NUMBER = {},
DOI = {}
}```