The rTRIPLEXCWFlux package encodes the carbon uptake submodule and
evapotranspiration submodule of the TRIPLEX-CW-Flux model to run the
simulation of carbon-water coupling. TRIPLEX-CW-Flux model is based on
two well-established models, TRIPLEX-Flux model (Zhou et al.,
2008) and
Penman–Monteith model (Monteith,
1965).
In the R script, the user only needs to download and load the
rTRIPLEX-CW-Flux package, and then input the variables and parameters
of the model to obtain simulated results. This package accelerates the
running speed of the model and facilitates the estimation of carbon
sequestration and water consumption in different forest ecosystems using
extensive flux observed data.This could make TRIPLEX-CW-Flux model
free available and more popular in future study.
You can install the development version of rTRIPLEXCWFlux from GitHub with:
# install.packages("devtools")
devtools::install_github(repo="ShulanSun/rTRIPLEX_CW_Flux")
This is a basic example which shows you how to run the package. In this
example, we run a simulation for a Chinese fir plantation. The input
data are provided as internal data in rTRIPLEXCWFlux. The outputs of
the TRIPLEX_CW_Flux function are a long format dataframe and charts of
simulated result for net ecosystem productivity (NEP) and
evapotranspiration (ET) at 30 min scale, and monthly variation of the
input environmental factors.
library(rTRIPLEXCWFlux)
out<-TRIPLEX_CW_Flux (Input_variable=Inputvariable,
Input_parameter=Inputpara,
overyear = TRUE)
head(out)
## basic example code
Shulan Sun, Wenhua Xiang, Shuai Ouyang, Xiaolu Zhou, Changhui Peng
Evaporation and Environment. Symposia of the Society for Experimental Biology, 19, 205-234. https://www.semanticscholar.org/paper/Evaporation-and-environment.-Monteith
Zhou, X.L., Peng, C.H., Dang, Q.L., Sun, J.F., Wu, H.B., &Hua, D. (2008). Simulating carbon exchange in Canadian Boreal forests: I. Model structure, validation, and sensitivity analysis. Ecological Modelling,219(3-4), 287-299. https://doi.org/10.1016/j.ecolmodel.2008.07.011