Model documentation/example, change GitHub link of R-SWAT

134 views
Skip to first unread message

Tam Nguyen

unread,
Mar 22, 2022, 4:36:32 AM3/22/22
to R-SWAT
Dear all,

Due to changing name (from SWATshiny to R-SWAT), the link to R-SWAT is available at:

and the model documentation/illustrative examples is available at (this documentation will be updated whenever R-SWAT is updated)

https://github.com/tamnva/R-SWAT/wiki/R-SWAT-User-Manual

Thanks for using R-SWAT

Tam

ritesh karki

unread,
Apr 7, 2022, 12:10:13 AM4/7/22
to R-SWAT
Hello Tam,

I am currently using R-SWAT and trying to calibrate for multiple observed variables simultaneously. I just wanted to know how the best parameter range is provided when using multiple observed variables. Does it consider all observed variables when providing the best parameter sets? It just seems the suggested parameters do not seem to improve the model as expected when I import the parameters to SWAT itself.

I would also like to mention that I modified the R-SWAT slightly to enable parameter calibration located in the plant database file (.dat) although it might not be the best way of doing this. I can share this with you and also hope to contribute in making further improvements to R-SWAT.

Thanks.

Ritesh

Tam Nguyen

unread,
Apr 16, 2022, 3:23:21 PM4/16/22
to R-SWAT
Hi Ritesh,
1) The best parameter ranges consider the model performance for all variables.
2) I am happy that you are willing to contribute to the development of R-SWAT, please contact me for further detail.
Cheers,
Tam

Seth

unread,
May 3, 2022, 2:48:58 PM5/3/22
to R-SWAT
Hi Ritesh,

Can you share the code you used to allow for calibration of the parameters in the plant.dat database? I would very much like to follow your method.

Thanks,

Seth

Tam Nguyen

unread,
May 4, 2022, 9:48:20 PM5/4/22
to R-SWAT
Hi Seth,
You can modify parameters in the plant.dat with the existing code
What you need to do is add these parameters in the swatParam.txt file

In the example below (as shown in the attached figure). I modified the first 3 parameters in the 2nd row of the plant.dat file and the first 2 parameters in the 3rd row (Note: I am not sure what the name of these parameter are, so I just call it AGRL_2_1, AGRL_2_2, you can use other names instead of the ones that I used, but you MUST have ".plant.dat" at the end, e.g., AGRL_2_1.plant.dat)

Later on when selecting parameter for modification (Step 2. Parameter Sampling, just leave the subbasin, hru, land use, and slope field empty) as shown in the attached figureplant.png
Reply all
Reply to author
Forward
0 new messages