Giter Site home page Giter Site logo

alirezajahani60 / dflee Goto Github PK

View Code? Open in Web Editor NEW

This project forked from djgroen/flee

0.0 0.0 0.0 157.22 MB

flee agent-based modelling code

License: BSD 3-Clause "New" or "Revised" License

Shell 1.77% Python 97.61% Makefile 0.55% Dockerfile 0.07%

dflee's Introduction

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

dflee's People

Contributors

djgroen avatar cspgdds avatar arabnejad avatar alirezajahani60 avatar tdolor avatar s-moncalvillo avatar cvanhille avatar botanihilator avatar imahmood786 avatar arindamsaha1507 avatar marshhawk4 avatar lgtm-migrator avatar mattprintz avatar mzrghorbani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.