| Abstract: | Parameter optimization and uncertainty issues are a great challenge for the application of large environmental models like the Soil and Water Assessment Tool (SWAT), which is a physically-based hydrological model for simulating water and nutrient cycles at the watershed scale. In this study, we present a comprehensive modeling environment for SWAT, including automated calibration, and sensitivity and uncertainty analysis capabilities through integration with the R package Flexible Modeling Environment (FME). To address challenges (e.g., calling the model in R and transferring variables between Fortran and R) in developing such a two-language coupling framework, 1) we converted the Fortran-based SWAT model to an R function (R-SWAT) using the RFortran platform, and alternatively 2) we compiled SWAT as a Dynamic Link Library (DLL). We then wrapped SWAT (via R-SWAT) with FME to perform complex applications including parameter identifiability, inverse modeling, and sensitivity and uncertainty analysis in the R environment. The final R-SWAT-FME framework has the following key functionalities: automatic initialization of R, running Fortran-based SWAT and R commands in parallel, transferring parameters and model output between SWAT and R, and inverse modeling with visualization. To examine this framework and demonstrate how it works, a case study simulating streamflow in the Cedar River Basin in Iowa in the United Sates was used, and we compared it with the built-in auto-calibration tool of SWAT in parameter optimization. Results indicate that both methods performed well and similarly in searching a set of optimal parameters. Nonetheless, the R-SWAT-FME is more attractive due to its instant visualization, and potential to take advantage of other R packages (e.g., inverse modeling and statistical graphics). The methods presented in the paper are readily adaptable to other model applications that require capability for automated calibration, and sensitivity and uncertainty analysis. |
| Genre: | Article |
| ProdID: | 70032345 |
| Citation Author: | Wu, Y.; Liu, S. |
| Citation Contributing Office: | Earth Resources Observation and Science (EROS) Center |
| Citation Datum: | |
| Citation Day: | |
| Citation Edition: | |
| Citation Editor: | |
| Citation End Page: | 109 |
| Citation Issue: | |
| Citation Keywords: | |
| Citation Language: | English |
| Citation Larger Work Title: | Environmental Modelling and Software |
| Citation LatN: | |
| Citation LatS: | |
| Citation LonE: | |
| Citation LonW: | |
| Citation Month: | |
| Citation No Pagination: | |
| Citation Number Of Pages: | |
| Citation Online Only Flag: | |
| Citation Phsyical Description: | 11 p. |
| Citation Projection: | |
| Citation Public Comments: | |
| Citation Publisher: | Elsevier |
| Citation Series: | |
| Citation Series Code: | |
| Citation Series Number: | |
| Citation Search Results Text: | Automating calibration, sensitivity and uncertainty analysis of complex models using the R package Flexible Modeling Environment (FME): SWAT as an example; 2012; Article; Journal; Environmental Modelling and Software; Wu, Y.; Liu, S. |
| Citation Start Page: | 99 |
| Citation Volume: | 31 |
| Citation Year: | 2012 |
| Type: | citation/reference |
| Text: | Automating calibration, sensitivity and uncertainty analysis of complex models using the R package Flexible Modeling Environment (FME): SWAT as an example; 2012; Article; Journal; Environmental Modelling and Software; Wu, Y.; Liu, S. |
| URL (THUMBNAIL): | http://pubs.er.usgs.gov/thumbnails/outside_thumb.jpg |
| URL (DIGITAL OBJECT IDENTIFIER): | http://dx.doi.org/10.1016/j.envsoft.2011.11.013 |
| Date Other: | Sun, 1 Jan 2012 00:00 -0600 |
| Publisher: | Elsevier |