SWAT cup calibration

24 views
Skip to first unread message

Rajesh Mudigandla

unread,
Feb 16, 2026, 6:17:40 AM (5 days ago) Feb 16
to SWAT-CUP
Kindly tell me the solution
swatcup error.jpg

bhargav J kachari

unread,
Feb 16, 2026, 10:02:48 PM (4 days ago) Feb 16
to swat...@googlegroups.com
Read the message, objective function is not set as required

On Mon, 16 Feb, 2026, 4:47 pm Rajesh Mudigandla, <rajesh...@gmail.com> wrote:
Kindly tell me the solution

--
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+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/swat-cup/11a3378a-a7e8-49ec-9418-2bc6024f3348n%40googlegroups.com.

Olaoluwa Anigboro-Napoleon

unread,
Feb 17, 2026, 11:39:59 AM (4 days ago) Feb 17
to SWAT-CUP
I had a similar issue to this and I just got to fix mine right now. I don't know how much of a difference what you are doing is compared to mine, but my issue was in observed_hru.txt and SPE_extract_hru.def. I had 3 variables in observed_hru.txt (ET_11, DRP_11, and LAI_11) but in my SPE_extract_hru.def, in the lines that have something this "HRU number(s) for the first variable" I was using number 2 and similarly for the other variables. But what I didn't know was that SWAT-cup, reads ET_11 as "get ET as the variable name", then "get 11 as the HRU number". That means what should be in  SPE_extract_hru.defshould be 11 and not 2 or any other number different from what I used in observed_hru.txt. So when I changed those numbers, I didn't get that error anymore. I have attached an image of the error I was getting if you want to confirm.
Screenshot 2026-02-14 140244.png

Olaoluwa Anigboro-Napoleon

unread,
Feb 18, 2026, 9:38:35 PM (2 days ago) Feb 18
to SWAT-CUP
Hello, I wanted to let you know that I apparently haven't fixed this yet. After making the changes I mentioned earlier, I ran 1 simulation, and it worked fine. Then I increased my simulations to 200, and after about 1 day and a couple of hours of the simulation completion, I still got the same error. So I am currently back to not knowing what to do concerning this, sadly.
Reply all
Reply to author
Forward
0 new messages