Skip to main content

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).

Metadata

Release files for flee 3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flee 3.1
File Size Uploaded Provenance Actions
flee-3.1.tar.gz 93.3 kB Without provenance Details for flee-3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flee 3.1
File Interpreter ABI Platform Actions
flee-3.1-py3-none-any.whl Python 3 none any Details for flee-3.1-py3-none-any.whl

Total release size: 184.9 kB

Release files / flee-3.1.tar.gz

Download URL flee-3.1.tar.gz
Size 93.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5a2ff1f501eb76bbe41f8d28fa5b973ff7e8a643cd1156820571fc4b3b6f2fb7
BLAKE2b-256 checksum
How to use checksums
d4064e7be8c97c855f5b9cca9b62ffa7a3fc35592a12108640039bc9a0ee4354
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / flee-3.1-py3-none-any.whl

Download URL flee-3.1-py3-none-any.whl
Size 91.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a7fd15f5b6ae028fb4b94285c8e9d2e1ae06501113446e7fdbe83331208bb25
BLAKE2b-256 checksum
How to use checksums
8aa10386702b4e394f15ef0ab614197b60240fae7267ad04b85615d7b410dd40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Security for flee 3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page