R code for the model of the Age of Water and Carbon (Duffy et al. 2018)
Duffy, C. J., Dugan, H. A., & Hanson, P. C. (2018). The age of water and carbon in lake-catchments: A simple dynamical model. Limnology and Oceanography Letters, 3(3), 236–245.
Authors of the R code are Paul C. Hanson and Hilary A. Dugan.
The entry point is running the script, AgeScenarios.R. The main model code is in AgeOfCarbon.R. Note that this is a difference version (i.e., not solved numerically) of the dynamics as the system changes toward the new equilibrium. However, equilibrium values are calculated analytically.
FAIR WARNING: The variable names used in the code do not necessarily match those in the paper. They should be similarly named, but there may be differences.