Giter Site home page Giter Site logo

diegomvd / alumss Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.43 MB

Modelling of agricultural land-use management strategies in a spatially explicit landscape. The landscape is actively modified by a human population that uses it to produce the resources it needs for subsistence.

License: GNU General Public License v3.0

C++ 58.28% C 7.39% Shell 1.83% Python 32.50%
social-ecological-systems land-use-model decision-making landscape-ecology habitat-fragmentation percolation-theory

alumss's Introduction

Agricultural land-use management spatial simulation (ALUMSS)

This repository contains the code used to simulate the coupled evolution of a human population densitiy and the spatially explicit landscape the population manages and modifies in order to obtain agricultural resources.

The model is described in depth in the article

The code to run the simulations is written in C++ and is called mainALUMSS.cpp. The functions required to run the code are declared in functionsALUMSS.h and implemented in functionsALUMSS.cpp. Compilation can be done by executing the compileALUMSS.sh bash script to create the executable alumss-exec. An easy way to perform simulations is to execute runsimALUMSS.sh bash script where a list of simulations can be specified. A guide to specify the paramter values is found in the script.

For more elaborated numerical experients and model explorations we used the OpenMOLE tool (https://openmole.org/). In the file explorationALUMSS.oms the simulation model is embedded in OpenMOLE and several numerical experiments are defined. To a guide on how to create new experiments refer to the OpenMOLE documentation (https://openmole.org/Documentation.html). The file sensitivityALUMSS.oms contains the implementation of a Morris Sensitivity Analysis made with OpenMOLE.

The programs to analyze and plot the outputs from the simulations are written in python. Here we provide all the programs used to plot the figures appearing in the main text and the supplementary materials of article. We also provide the figures from the main text in PDF format. The figure were produced with plotFig1-intensification.py, plotFig2-fragmentation.py, plotFig3-clustering.py and plotFig4-sharing-sparing.py.

If you have any questions regarding the code from the simulations or the analysis or have trouble performing the simulations please feel free to email me at:

[email protected] or [email protected]

alumss's People

Contributors

diegomvd avatar

Watchers

 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.