A Universal Model-R Coupler to Facilitate the Use of R Functions for Model Calibration and Analysis

Yiping Wu,Shuguang Liu,Wende Yan
DOI: https://doi.org/10.1016/j.envsoft.2014.08.012
IF: 5.471
2014-01-01
Environmental Modelling & Software
Abstract:Mathematical models are useful in various fields of science and engineering. However, it is a challenge to make a model utilize the open and growing functions (e.g., model inversion) on the R platform due to the requirement of accessing and revising the model's source code. To overcome this barrier, we developed a universal tool that aims to convert a model developed in any computer language to an R function using the template and instruction concept of the Parameter ESTimation program (PEST) and the operational structure of the R-Soil and Water Assessment Tool (R-SWAT). The developed tool (Model-R Coupler) is promising because users of any model can connect an external algorithm (written in R) with their model to implement various model behavior analyses (e.g., parameter optimization, sensitivity and uncertainty analysis, performance evaluation, and visualization) without accessing or modifying the model's source code. Model-R Coupler was developed to make any model accessible like an R function.Model-R Coupler can have any model easily access R packages (e.g., calibration).Model-R Coupler does not require accessing or revising the source code of a model.
What problem does this paper attempt to address?