Error running the model

87 views
Skip to first unread message

Arantxa Ortiz

unread,
Oct 5, 2023, 10:35:57 AM10/5/23
to SWAT+ Editor
Dear Swat users,

I am having trouble when I try to run my model. I insert every weather data but then when I run the model I get the error of the image. What can I do?

Thank you

arantxa
Captura.PNG

Maarten J. Waterloo

unread,
Oct 10, 2023, 4:43:42 PM10/10/23
to SWAT+ Editor
Hi Arantxa,

The error most likely indicates that you have a zero CN value somewhere in the HRUs. The curve number CN is used to estimate runoff and depends on the hydrologic condition of the soil (I to IV, or A to D, with D being poorly drained soil). CN2 is the number for hydrologic condition II in SWAT+. The potential maximum soil moisture retention after runoff starts is calculated from the CN value where
If CN is zero, this would give a floating divide by zero error when calculating S. Please check your HRU files (in the sqlite database) for values of zero...

Regards,
Maarten Waterloo
Acacia Water

Arantxa Ortiz

unread,
Oct 17, 2023, 4:40:35 AM10/17/23
to SWAT+ Editor
Hi Maarten,

Thank you for the advice, I had considered the water parts and urban parts in the usersoil table, but since this two do not have the propeties of the soils, I had every value as 0. So when I removed this two this error was not here anymore. Nevertheless, now my concern is, how does SWAT+ consider the urban and water parts, from the landuse map?

Thank you

Arantxa

Reply all
Reply to author
Forward
0 new messages