This is RIRI5 model, an adaptation of the RIRI model in python for simple sky discretisations (diffuse sky) and multi-species canpies
See Sinoquet, H., Le Roux, X., Adam, B., Ameglio, T., & Daudet, F. A. (2001). RATP: a model for simulating the spatial distribution of radiation absorption, transpiration and photosynthesis within canopies: application to an isolated tree crown. Plant, Cell & Environment, 24(4), 395-406. Louarn, G., Escobar-Gutiérrez, A., Migault, V., Faverjon, L., & Combes, D. (2014). “Virtual grassland”: an individual-based model to deal with grassland community dynamics under fluctuating water and nitrogen availability. The future of european grasslands, 242.
To install and use RIRI5, you need first to install the dependencies.
RIRI5 has been tested on Windows.
-
Create a conda environment with miniconda3
conda create -n myenvname python=3.7 xlrd=2.0.1 numpy=1.20.3 scipy=1.7.3 pandas=1.3.4
-
Place yourself in the created environment :
conda activate myenvname
-
Install riri5
- Git console :
git clone https://github.com/glouarn/riri5.git
- installation in the conda environment (in folder
riri5
)python setup.py develop
- Git console :
To run a simulation example :
-
- place yourself in folder
riri5\riri5\test
- run from the console:
python test_riri_homogene.py python test_riri.py
- place yourself in folder
To build the user and reference guides:
The test allows to verify that the model implementation accurately represents the developer’s conceptual description of the model and its solution.
For any question, send an email to gaetan.louarn@inrae.fr.
Gaëtan LOUARN, Didier Combes - see file AUTHORS for details
This project is licensed under the CeCILL-C License - see file LICENSE for details