Cannot open input file

838 views
Skip to first unread message

Zeinab Bagheri

unread,
Dec 6, 2018, 7:47:34 AM12/6/18
to SWAT-CUP

Hi

I've run my SWAT  successfully but when I run SWAT-CUP  in post processing it shows me this massage :

p>SUFI2_95ppu_beh.exe
Cannot open input file /SUFI2.OUT/no_beh_sims.txt
THIS IS NOT AN ERROR!!
There were no solutions with the
objective function value >=  the behavioral threshold
I checked all input data and files which completely matched to the model example and the user-manual.
it seems the error comes from running SUFI2_95ppu_beh.exe 
would you please help me to fix it? 
reason of low number of simulation and rang of CN2 is that I wanted to setup my model correctly then start calibration process .
files of simulation are attached.

echo_95ppu.txt
par_inf.txt
var_file_rch.txt
file.cio
SUFI2_extract_rch.def
echo_95ppu_beh.txt
echo_extract_rch.txt
echo_goal_fn.txt
echo_LH_sample.txt
Echo_make_par.txt
echo_new_pars.txt
observed.txt
observed_rch.txt

Neliswa Pretty

unread,
Mar 7, 2019, 8:43:46 AM3/7/19
to SWAT-CUP
Hi Zeinab

Were you able to solve this error?

Bendik Hansen

unread,
Mar 12, 2019, 9:09:17 AM3/12/19
to SWAT-CUP
As it says in capital letters: it is not an error. It simply means there were no simulations where the error function (probably NSE) was higher than the defined threshold. The threshold is by default around 0.5 (although this can be changed), and he only used three simulations with the default parameters, so it makes perfect sense that there are no good simulations. If he increased the number of simulations to a few hundred and lowered the error function threshold in the observed.txt file he would likely resolve this warning (that is NOT an error) after a few rounds of simulations. 

This warning doesn't mean the output is not valid or acceptable.

Best regards,
Bendik

Hussen Muhammed

unread,
Mar 12, 2019, 10:04:10 AM3/12/19
to swat...@googlegroups.com
Good Bendik.......can we reduce the threshold for NS < 0.5.......? in many literatures NS>0.5  is recommended 



Mailtrack Sender notified by
Mailtrack 03/12/19, 5:04:48 PM

--
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.
For more options, visit https://groups.google.com/d/optout.

Bendik Hansen

unread,
Mar 12, 2019, 10:28:53 AM3/12/19
to swat...@googlegroups.com
I am not really qualified to comment on best practice, sorry. I just learned a lot about how the program works through the million errors I've encountered :) I'm not sure what purpose the threshold has other than to make it easier to see "good" simulations...Someone else might be able to answer that.

Best regards,
Bendik
Reply all
Reply to author
Forward
0 new messages