Calibration Error in SWAT CUP

66 views
Skip to first unread message

tanvir ahamed

unread,
Jan 27, 2026, 9:02:29 PMJan 27
to SWAT-CUP
Dear SWAT-CUP Community,

I have been encountering the following error for the past couple of weeks while calibrating my SWAT-CUP model using streamflow data. Some details of the model are

Number of years simulated: 6
Beginning year of simulation: 2015
number of years to skip output printing/summarization: 2
beginning year of simulation (NOT INCLUDING WARM UP PERIOD): 2017
end year of simulation: 2020

Error Message:

C:\SWAT\Crypto.Spe.SwatCup>SPE_Single_Obj_goal_fn.exe
!ERROR simulation number 2 in variable file 1 is missing or has a problem

C:\SWAT\Crypto.Spe.SwatCup>SPE_Single_Obj_new_pars.exe
simulation no  3  is missing from the single_obj_goal.txt file

C:\SWAT\Crypto.Spe.SwatCup>SPE_Single_Obj_95ppu.exe
Error! simulation 1 has problems


I also attached all the SWAT-CUP tabs for your review. Could anyone please let me know how I can resolve this issue?

Thank you

Tanvir
SPE_swEdit.png
Observed_reach.png
Extract_no_obs_rch.png
File_Cio1.png
Observed_txt.png
Var_file_name.png
Var_file_rch.png
Par_inf.png
SPE_extract_rch.png
File_Cio.png

Ashwin Ghimire

unread,
Mar 30, 2026, 12:23:00 PM (10 days ago) Mar 30
to SWAT-CUP
Did you fix it? What did you do?

tanvir ahamed

unread,
Mar 30, 2026, 12:35:43 PM (10 days ago) Mar 30
to swat...@googlegroups.com
Dear Ashwin,

Thanks for your message. Yes, I figured out my problem and fixed it. I just made some corrections on the 'Extract_No_Obs_rch' file and that worked. I can help you if you show the error message and share a screenshot of your model files.

Thank you

Tanvir


NJIT logo
Tanvir Ahamed
Ph.D. Candidate
Department of Chemical and Materials Engineering
ta...@njit.edu • 
901-691-3915
Google ScholarResearchGateORCID| LinkedIn


--
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/8a29f039-f3f2-46eb-ab99-79b172779211n%40googlegroups.com.

tanvir ahamed

unread,
Mar 30, 2026, 12:36:02 PM (10 days ago) Mar 30
to SWAT-CUP
Dear Ashwin,

Thanks for your message. Yes, I figured out my problem and fixed it. I just made some corrections on the 'Extract_No_Obs_rch' file and that worked. I can help you if you show the error message and share a screenshot of your model files.

Thank you

Tanvir

Ashwin Ghimire

unread,
Mar 30, 2026, 12:51:45 PM (10 days ago) Mar 30
to SWAT-CUP
Hi Tanvir,

I'm doing multi variable calibration. And, I have attached the screenshots. Another peculiar thing is that when I run a single simulation, there is no such error like yours (and it gives me the NSE successfully):

C:\SWAT\Crypto.Spe.SwatCup>SPE_Single_Obj_goal_fn.exe
!ERROR simulation number 2 in variable file 1 is missing or has a problem

C:\SWAT\Crypto.Spe.SwatCup>SPE_Single_Obj_new_pars.exe
simulation no  3  is missing from the single_obj_goal.txt file

C:\SWAT\Crypto.Spe.SwatCup>SPE_Single_Obj_95ppu.exe
Error! simulation 1 has problems

But, when i run like 3 simulations, it starts giving me this error.

Thank you for your help.

Ashwin
Observed_rch.txt.png
Observed.txt.png
Var_file_name.txt.png
Par_info.png
Var_file_rch.png
Extract_No_Obs_rch.def.png
File.cio.png
SPE_extract_rch.png
spe_swedit..def.png
Reply all
Reply to author
Forward
0 new messages