Giter Site home page Giter Site logo

alirezajahani60 / flee-release Goto Github PK

View Code? Open in Web Editor NEW

This project forked from djgroen/flee-release

0.0 0.0 0.0 4.99 MB

Public releases of the FLEE agent-based modelling code.

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

Python 99.69% Shell 0.31%

flee-release's Introduction

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 refugees and internally displaces persons (IDPs).

Flee is currently closed-source, but will be released periodically under a BSD 3-clause license once the first journal paper is accepted.

Main source files

file name what it does
flee/flee.py Main ABM kernel
flee/SimulationSettings.py Data structure for global sim parameters.
analysis.py Library with statistical analysis routines.
DataTable.py Data Handling kernel for csv data.

Testing Flee

Flee consists of a range of testing scripts. These include, but are not limited to:

script name what it does
test_datatable.py Test data loading from CSV
test_removelink.py Test link removal
test_retrofit.py Test time retrofitting functionality
test_toy_escape.py Test toy escape scenario
test_close_location.py Test closing and opening of locations

All tests can be run with Python 3, no arguments need to be specified.

Active simulations

script name what it does
maliv2.py Mali simulation
burundi.py Burundi simulation
car.py CAR simulation
ssudan-csv.py South Sudan simulation
iraq-idp.py Iraq simulation (IDPs only)

Perform a simple test

rm test-output/* python3 test_csv.py > test-output/out.csv python3 plot-flee-output.py test-output

Run a CAR simulation

rm test-output/* python3 car-csv.py SimSettings/default.csv > test-output/out.csv python3 plot-flee-output.py test-output

Run a parallel test simulation

mpirun -np test_par.py

flee-release's People

Contributors

djgroen avatar alirezajahani60 avatar arabnejad 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.