Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Transfer best_value of all parameter back to SWAT model

69 views
Skip to first unread message

Minsu KIM

unread,
Dec 6, 2024, 4:12:49 PM12/6/24
to R-SWAT
Dear Dr. Tam Nguyen and all members,
After calibration, I obtained the best set of values for all my parameters. I would like to ask how we can transfer these parameters back to SWAT quickly and easily. I knew the old way of doing it by manually entering the calibrated parameters one by one through the manual calibrator tab in the SWAT editor. However, this approach can sometimes lead to errors, especially when dealing with a large number of parameters.

I would really appreciate your help!

Best Regrads,

Tam Nguyen

unread,
Dec 6, 2024, 4:17:11 PM12/6/24
to R-SWAT
Hi, you don't need to do one by one but can export/save to good parametersets to text file and then run SWAT again with parameters from user defined file (that text file). Is this the way that you are using?

So if you want to have TxtInOut with all new parametersets, you should set the number of cores/threads the same as the number of parametersets from that parameter file

hope this helps

ana corrochano

unread,
Dec 11, 2024, 1:55:42 PM12/11/24
to R-SWAT
Hello Tam,

I also need to extract the best parameters to then run SWAT + Editor. If I'm running 200 iterations using 4 parallel runs, how do I know which  TxtInOut I need to use?

I don't completely understand when you say "So if you want to have TxtInOut with all new parametersets, you should set the number of cores/threads the same as the number of parametersets from that parameter file"

Tam Nguyen

unread,
Dec 17, 2024, 2:46:26 PM12/17/24
to R-SWAT
hi, if you just want to have the best parameterset(s), you can sort by the objective function of the calibration period and export to the csv file (Step 4.1 or 4.3)
Reply all
Reply to author
Forward
0 new messages