How to transfer calibrated parameters from SWAT-CUP to another TxtInOut directory?

865 views
Skip to first unread message

Hydro Water

unread,
Dec 16, 2017, 8:45:10 AM12/16/17
to SWAT-CUP
Hello all,

I have my calibrated model (using SWAT-CUP) and multiple TxtInOut directories, which has my landuse and climate change scenarios. Couple of questions
  1. How do i transfer my most optimal parameter ranges from calibrated model to other TxtInOut directories that has my scenarios files?
  2. Do i need to use the pcp, tmp data of the calibrated model appended to future data (making the model condition same as the calibrated model before running the model to predict future changes)?

Any thoughts are highly appreciated

Ameer

José Monteiro

unread,
Dec 17, 2017, 4:44:52 PM12/17/17
to SWAT-CUP
Dear Ameer,

If you simply want your SWAT-CUP project to have txt files with parameter values of the best simulation, you can simply run the post bat for the best simulation, only. If you want parameters to be substituted in the dat base of your SWAT model, and if you can work well with R, maybe this helps:

https://www.researchgate.net/publication/318110074_Overcoming_challenges_of_large-scale_SWAT_applications_with_R_Modelling_of_the_Amazon_basin

Good luck,
José

Hydro Water

unread,
Dec 18, 2017, 11:58:05 AM12/18/17
to SWAT-CUP
Hello Jose,

Many thanks for the link. my problem is slightly different, i dont want to go back to ArcSWAT that would require updating data base being populated with the so called best parameter set. Suppose i have two ArcSWAT project with same enforcing except one with a different land use. Let i use the TxtInOut of one ArcSWAT project and did the calibration using SWAT CUP. Now i would like to use the calibrated parameters for my second project that has everything same except different land use.  The confusion is whether simply copying the par_inf.txt file into the TxtInOut directory of the new project (using SWAT-CUP) is the right way?

Would appreciate any insight.

Ameer

Karim Abbaspour

unread,
Dec 20, 2017, 4:43:37 AM12/20/17
to swat...@googlegroups.com
yes, the parameter ranges in par_inf are your calibrated parameters. Just copy them and propagate the uncertainty in them (by running an iteration), and extract the variables you want, run post processing, etc. to see the results.
Karim

--
You received this message because you are subscribed to the Google Groups "SWAT-CUP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swat-cup+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hydro Water

unread,
Dec 20, 2017, 2:21:10 PM12/20/17
to SWAT-CUP
Many thanks Dr. Karim,

If i am not intrested in uncertainty but rather the deterministic output. I would then need to copy the par_inf.txt as well as par_val.txt, i guess. Here are the steps that i believe should be followed with regards to climate change. please correct me if something is wrong

  • I will re-run ArcSWAT with updated future weather files, skip the first 30 years (making model condition same as that of the baseline model)
  • Copy the Calibrated parameter ranges but edit SwEdit to reflect best simulation number (start and end simulation number should be set to best simulation number)
  •  Edit extrat_rch_no_obs.def as per the future data set
  •  Edit 95ppu_no_obs.def as per future data set
  • In the SUFI2_Extract.bat uncheck the observed extract files and check the no_observed one
  • In SUFI2_post.bat uncheck all observation (put REM in front of the first 4 files) except 95ppu_No_Obs.exe
  • Make a run (Just one run)
To unsubscribe from this group and stop receiving emails from it, send an email to swat-cup+u...@googlegroups.com.

Tirtha Kshetri

unread,
May 4, 2024, 3:11:30 PM5/4/24
to SWAT-CUP
i want my  SWAT-CUP project to have txt files with parameter values of the best simulation, and i  run the post bat for the best simulation,  and the values in my swat project are not changing , why???

Ashwin Ghimire

unread,
Jun 15, 2026, 9:49:25 AM (2 days ago) Jun 15
to SWAT-CUP
Hi,

Did you find a solution to this one?

Thanks
Reply all
Reply to author
Forward
0 new messages