Skip to main content

Flee is an agent-based modelling toolkit which is purpose-built for simulating the movement of individuals across geographical locations.

Project description

Flee

Build Status GitHub Issues GitHub last-commit

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flee-3.1.tar.gz (93.3 kB view details)

Uploaded Source

Built Distribution

flee-3.1-py3-none-any.whl (91.6 kB view details)

Uploaded Python 3

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

Hashes for flee-3.1.tar.gz
Algorithm Hash digest
SHA256 5a2ff1f501eb76bbe41f8d28fa5b973ff7e8a643cd1156820571fc4b3b6f2fb7
MD5 cc3ec2cf70b0ba42fa2f0d856f6b4b73
BLAKE2b-256 d4064e7be8c97c855f5b9cca9b62ffa7a3fc35592a12108640039bc9a0ee4354

See more details on using hashes here.

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

Hashes for flee-3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a7fd15f5b6ae028fb4b94285c8e9d2e1ae06501113446e7fdbe83331208bb25
MD5 a68fabaad70a046aeb21e44caf5274ca
BLAKE2b-256 8aa10386702b4e394f15ef0ab614197b60240fae7267ad04b85615d7b410dd40

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page