Flee is an agent-based modelling toolkit which is purpose-built for simulating the movement of individuals across geographical locations.
Project description
Flee
Flee is an agent-based modelling toolkit which is purpose-built for simulating the movement of individuals across geographical locations. Flee is currently used primarily for modelling the movements of forcibly displaced persons (FDPs).
Full documentation of Flee is available at https://flee.readthedocs.io.
Official releases will be done on https://www.github.com/djgroen/flee. (flee-release is deprecated and will be removed in due course.)
Parallel performance testing
Parallel tests can be performed using test_par.py. The interface is as follows:
mpirun -np python3 tests/test_par.py [options]
Options can be as follows:
- "-p", "--parallelmode" - Parallelization mode ([advanced], classic, cl-hilat OR adv-lowlat).
- "-N", "--initialagents" - Number of agents at the start of the simulation [100000].
- "-d", "--newagentsperstep", Number of agents added per time step [1000].
- "-t", "--simulationperiod", Duration of the simulation in days [10].
Here are a few settings good for benchmarking:
mpirun -np <cores> python3 test_par.py -N 500000 -p advanced -d 10000 -t 10
mpirun -np <cores> python3 test_par.py -N 500000 -p classic -d 10000 -t 10
mpirun -np <cores> python3 test_par.py -N 500000 -p cl-hilat -d 10000 -t 10
mpirun -np <cores> python3 test_par.py -N 500000 -p adv-lowlat -d 10000 -t 10
Acknowledgements
The development on Flee has been made possible through funding from the Horizon 2020 funded HiDALGO project (grant no. 824115, https://hidalgo-project.eu) and VECMA (grant no. 800925, https://www.vecma.eu).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flee-3.1.tar.gz
.
File metadata
- Download URL: flee-3.1.tar.gz
- Upload date:
- Size: 93.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a2ff1f501eb76bbe41f8d28fa5b973ff7e8a643cd1156820571fc4b3b6f2fb7 |
|
MD5 | cc3ec2cf70b0ba42fa2f0d856f6b4b73 |
|
BLAKE2b-256 | d4064e7be8c97c855f5b9cca9b62ffa7a3fc35592a12108640039bc9a0ee4354 |
File details
Details for the file flee-3.1-py3-none-any.whl
.
File metadata
- Download URL: flee-3.1-py3-none-any.whl
- Upload date:
- Size: 91.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7fd15f5b6ae028fb4b94285c8e9d2e1ae06501113446e7fdbe83331208bb25 |
|
MD5 | a68fabaad70a046aeb21e44caf5274ca |
|
BLAKE2b-256 | 8aa10386702b4e394f15ef0ab614197b60240fae7267ad04b85615d7b410dd40 |