Skip to content

Calibration of SWAT using R

3 messages · Mauricio Zambrano Bigiarini, Twite Daniel

#
Dear SWAT and R users,

Is there any one who has some knowledge on how to use the R package
SWATmodel to calibrate SWAT hydrology model. I tried to read the procedure
in the article " SWATMODEL: A MULTI-OPERATING SYSTEM, MULTI-PLATFORM
SWAT MODEL PACKAGE IN R" but here it seems the package was specifically
designed for reading only USGS flow data sets from CFSR and to
automatically build its own model.
I want to be able to utilize the optimization tool in the R package
(SWATmodel)
to calibrate the model which I have already built using SWAT.

Another alternative is also ok apart from the package.

Regards
Twite Daniel, Msc. student
#
Dear Twite,

I do not have experience with the 'SWATmodel' R package.

However, you might try the hydroPSO R package
(https://cran.r-project.org/web/packages/hydroPSO/), which is a
multi-platform global optimisation package developed to calibrate any
environmental/hydological model, either if the model is implemented as
an R function OR if it is a specific model that needs to be executed
from the system console.

You can read the details in this article:
https://www.sciencedirect.com/science/article/pii/S1364815213000133

Finally, the vignette
http://www.rforge.net/hydroPSO/files/hydroPSO_vignette.pdf describes
hot to implement hydroPSO to optimise SWAT-2005 (and MODFLOW 2005).
However, with minor modifications I've used hydroPSO to optimise
SWAT-2012 as well.

Kind regards,

Mauricio


Mauricio Zambrano-Bigiarini, PhD

=====================================
Department of Civil Engineering
Faculty of Engineering and Sciences
Universidad de La Frontera, Temuco, Chile
http://hzambran.github.io/
=====================================
mailto : mauricio.zambrano at ufrontera.cl
work-phone : +56 45 259 2812
=====================================
"If you want to go fast, go alone. If you want
to go far, go together" (African proverb)
=====================================
Linux user #454569 -- Linux Mint user
On 5 May 2018 at 07:44, Twite Daniel <twitedaniel at gmail.com> wrote:

  
    
#
Thank you for the information.

On May 5, 2018 18:45, "Mauricio Zambrano Bigiarini" <
mauricio.zambrano at ufrontera.cl> wrote: