Code Monkey home page Code Monkey logo

grassim's Introduction

GrassBlue

Modelling leaf elongation rate in response to variations in blue light and VPD

Authors: Tom De Swaef, Romain Barillot

Requirements

Developed on Windows 10
RStudio
R version 3.6 or newer
RxODE package
rtools40
add the rtools40 folder to the PATH environmental variable

Model simulation

Model simulation is done as follows:

  • make sure that all files are in de same folder
  • in the 01_ModelSimulation.R file:
    • modify the working directory to that folder
    • adapt the PLANTNo parameter under Settings if desired
  • Run the entire 01_ModelSimulation.R script

You will have created an RDS file starting with "Simulation_Exp2_" which can be read in R by the readRDS() function

Available files

RDS files

  • Input files Transpiration:
    • Time - h (0-1 is stabilisation, 1-6 is actual data)
    • Transp - g m-2 h-1
  • Input file Soil water potential (constant in this case)
    • Time - h
    • PsiSoil - MPa
  • Calib files Leaf elongation:
    • Time - h (0-1 is stabilisation, 1-6 is actual data)
    • LER - m h-1
    • LERnorm (normalised versus the mean of the datafile)

txt file

GrassMod_Exp2.txt: txt file of the model used in Exp2

R files

  • Thetas_Exp2.R: generation of the 'thetas_Exp2' named vector based on parameter settings
  • Inits_Exp2.R: generation of the 'inits_Exp2' named vector based on initial values of state variables
  • 01_ModelSimulation.R: script for model simulation with reference parameters including:
    • Loading input data
    • Loading Calibration data
    • Simulation settings
    • Parameter values + automatic calculation of derived parameters and initial conditions
    • Model compilation (if necessary)
    • Simulation runs for 4 different Transpiration inputs (similar treatment) + mean Transpiration

grassim's People

Contributors

tdeswaef avatar rbarillot 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.