Adding reservoir release data

95 views
Skip to first unread message

Veronica Koess

unread,
Mar 2, 2026, 12:27:36 PMMar 2
to SWAT+ Editor
Hi everyone,
my watershed comprises two reserviors that i want to include in my SWAT+ model. The objects are already in the model as lake polygons but know, I want to edit the related res_rel.dtl decision tables. The release should be based on observed dam outflow. Therefore I have edited e.g. the pt0040 recall file to timeseries for the reservoir outflow channel cha0009.

Now, i am still struggling to edit the res_rel.dtl in the Editor in the right way. Could you assist me with the correct parameter? Please see the table that I have edited to my best knowledge based on the parameter options explained in the documentation https://swatplus.gitbook.io/io-docs/introduction-1/decision-tables/lum.dtl. I am unsure about setting the conditions that i actually want to avoid at all (as i am using the observed outflow data) ans also with the action type. I would preferably like to put an parameter like "release" together with obj res… I have now set flow_control and left the obj blank as there is no object type listed.

name conds alts acts
res1_release 1 1 1 

var obj obj_num lim_var lim_op lim_const alt1
vol  res             0      pvol            *               1      >

act_typ obj obj_num name option const const2 fp outcome
flow_control res 0 outflow_1 meas        -         - pt0040.csv y

I would appreciate any help on this. 

Best regards

Veronica

Veronica Koess

unread,
Mar 4, 2026, 6:03:14 PMMar 4
to SWAT+ Editor
Just a quick update on this, I have updated the decision table to:


name                   conds      alts      acts

res1_release               1         1         1

var                      obj   obj_num           lim_var            lim_op     lim_const      alt

vol                      res         0              null                 -             0        >

act_typ                  obj   obj_num              name            option         const        const2     fp  outcome

release                  res         0         outflow_1              meas             -             -      1        y


I have added the recall timeseries files for the daily values of the pointsources, of the outflow rivers.

However, opening the Toolbox afterwards is breaking, so I assume there is an error in the model because of changing these reservoir parameters. Is anyone having an idea, what might happen, why the problems occur or how i could find the error?`

Best,

Veronica


pt0353.csv
pt0040.csv

Julia Glenday

unread,
Mar 26, 2026, 8:30:04 PMMar 26
to SWAT+ Editor
Hi! 
I am struggling with a similar issue. I have set up the recall timeseries for the point at the outlet of my reservoir in the Point Sources section and I've tried a decision table in the same format as the one in the previous email, but it doesn't seem to be working: when I plot the SWAT+ output for my reservoir it doesn't release anything, just keeps filling forever (flo m3 storage in the reservoir_day.txt just goes up and up and flo_out is 0)   

If anyone has working decision table for a measured outflow, please share! Thanks :)

I have tried the following options:

name                   conds      alts      acts

res1_release               1         1         1

var                      obj   obj_num           lim_var            lim_op     lim_const      alt

vol                      res         0              null                 -             0        >

act_typ                  obj   obj_num              name            option         const        const2     fp  outcome

release                  res         0         outflow_1              meas             -             -      1        y



name                   conds      alts      acts

res1_release               1         1         1

var                      obj   obj_num           lim_var            lim_op     lim_const      alt

vol                      res         0              null                 -             0        >

act_typ                  obj   obj_num              name            option         const        const2     fp  outcome

release                  res         0         outflow_1              meas             -             -        pt279        y



name                   conds      alts      acts

res1_release               1         1         1

var                      obj   obj_num           lim_var            lim_op     lim_const      alt

vol                      res         0              pvol                 *             0.1        >

act_typ                  obj   obj_num              name            option         const        const2     fp  outcome

release                  res         0         outflow_1              meas             -             -        pt279        y



name                   conds      alts      acts

res1_release               1         1         1

var                      obj   obj_num           lim_var            lim_op     lim_const      alt

vol                      res         0              null                 -             0        >

act_typ                  obj   obj_num              name            option         const        const2     fp  outcome

release                  res         0         outflow_1              meas             1             1        pt279        y



name                   conds      alts      acts

res1_release               1         1         1

var                      obj   obj_num           lim_var            lim_op     lim_const      alt

vol                      res         0              null                 -             0        >

act_typ                  obj   obj_num              name            option         const        const2     fp  outcome

release                  res         0         outflow_1              meas             0             0        pt279        y

Mok Even

unread,
Apr 30, 2026, 5:19:04 AMApr 30
to SWAT+ Editor
Hi Julia, 

I have a similar issue. Are you are to solve this? 

It could be helpful if you can share right setup. Thank you

Awel Seid

unread,
Apr 30, 2026, 3:39:09 PMApr 30
to SWAT+ Editor
Hi. For a reservoir of measured monthly outflow, and principal volume vol_ps= 339250000 m^3, the following decision table worked for me. 
Goodluck!
       

name                   conds      alts      acts
ChelWetl_rels_DT          13        12        12
var                      obj   obj_num           lim_var            lim_op     lim_const      alt1      alt2      alt3      alt4      alt5      alt6      alt7      alt8      alt9     alt10     alt11     alt12
mon                      res         0              null                 =             1         y         n         n         n         n         n         n         n         n         n         n         n
mon                      res         0              null                 =             2         n         y         n         n         n         n         n         n         n         n         n         n
mon                      res         0              null                 =             3         n         n         y         n         n         n         n         n         n         n         n         n
mon                      res         0              null                 =             4         n         n         n         y         n         n         n         n         n         n         n         n
mon                      res         0              null                 =             5         n         n         n         n         y         n         n         n         n         n         n         n
mon                      res         0              null                 =             6         n         n         n         n         n         y         n         n         n         n         n         n
mon                      res         0              null                 =             7         n         n         n         n         n         n         y         n         n         n         n         n
mon                      res         0              null                 =             8         n         n         n         n         n         n         n         y         n         n         n         n
mon                      res         0              null                 =             9         n         n         n         n         n         n         n         n         y         n         n         n
mon                      res         0              null                 =            10         n         n         n         n         n         n         n         n         n         y         n         n
mon                      res         0              null                 =            11         n         n         n         n         n         n         n         n         n         n         y         n
mon                      res         0              null                 =            12         n         n         n         n         n         n         n         n         n         n         n         y
vol                      res         0              null                 >     339250000         y         y         y         y         y         y         y         y         y         y         y         y

act_typ                  obj   obj_num              name            option         const        const2                fp  outcome
release                  res         0          efc_cont              rate             1             0              null  y
release                  res         0          efc_cont              rate           1.5             0              null  y
release                  res         0          efc_cont              rate           1.8             0              null  y
release                  res         0          efc_cont              rate             2             0              null  y
release                  res         0          efc_cont              rate           2.3             0              null  y
release                  res         0          efc_cont              rate           2.6             0              null  y
release                  res         0          efc_cont              rate             3             0              null  y
release                  res         0          efc_cont              rate             4             0              null  y
release                  res         0          efc_cont              rate             5             0              null  y
release                  res         0          efc_cont              rate           3.5             0              null  y
release                  res         0          efc_cont              rate           2.5             0              null  y
release                  res         0          efc_cont              rate           1.5             0              null  y

Julia Glenday

unread,
Apr 30, 2026, 3:39:14 PMApr 30
to Mok Even, SWAT+ Editor
Hi! 

I still haven't solved it unfortunately - have asked others and waiting for help. If I do resolve it, I will post here though.

The flow in the stream channel downstream of the reservoir is correct - i.e. the amount specified in the point source file. However I need the reservoir storage to be correct and my goal was for the water quality in the flow downstream of the reservoir to match what was in the reservoir at the time... this was possible in SWAT2012, but I haven't gotten SWAT+ to do the same yet. 

All the best,
Julia 
 
----

Julia Glenday

C: +27 (0) 79 507 1449



--
You received this message because you are subscribed to a topic in the Google Groups "SWAT+ Editor" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swatplus-editor/HDFFK-pA6dk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swatplus-edit...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/swatplus-editor/36173d18-8bdb-4336-8425-04f69982a9d9n%40googlegroups.com.

ken

unread,
May 18, 2026, 11:11:02 AM (yesterday) May 18
to SWAT+ Editor
Hi everyone!

I have the same issue too.
I tried a few decision tables to input measured reservior outflow,
and the one posted below worked.  Hope this helps.

name                     conds      alts      acts       
release                         1         1         1  
var                        obj   obj_num           lim_var            lim_op     lim_const      alt1  
month                     null         0              null                 -       0.00000         >  

act_typ                    obj   obj_num              name            option         const        const2                fp  outcome          
release                    res         0  measured_ outflow         meas       1.00000       0.00000             pt047  y

Best regards,
ken

2026年5月1日金曜日 4:39:14 UTC+9 Julia Glenday:
Reply all
Reply to author
Forward
0 new messages