Skip to content

Commit 093d1e4

Browse files
committed
Apply yearly irrigation decision table to Ames
1 parent 4978f46 commit 093d1e4

8 files changed

Lines changed: 25 additions & 5 deletions

File tree

data/Ames_sub1/file.cio

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ lum landuse.lum management.sch cntable.lum cons_pra
2222
chg null null null null null null null null null
2323
init plant.ini soil_plant.ini null null null null null null null null null null
2424
soils soils.sol nutrients.sol null
25-
decision_table null null null null
25+
decision_table lum.dtl null null null
2626
regions ls_unit.ele null null null null null null null aqu_catunit.ele null null null null null null null null
2727
pcp_path null
2828
tmp_path null

data/Ames_sub1/hru-data.hru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
hru-data.hru:
22
id name topo hydro soil lu_mgt soil_plant_init surf_stor snow field
3-
1 hru0001 topohru0001 hyd0001 soil_01 cosy_lum soilplant1 null snow001 null
3+
1 hru0001 topohru0001 hyd0001 soil_01 cosy_lum_dt soilplant1 null snow001 null
44
2 hru0002 topohru0002 hyd0002 soil_02 cosy_lum soilplant1 null snow001 null
55
3 hru0003 topohru0003 hyd0003 soil_03 cosy_lum soilplant1 null snow001 null
66
4 hru0004 topohru0004 hyd0004 soil_04 cosy_lum soilplant1 null snow001 null

data/Ames_sub1/irr.ops

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
irr.ops: written by SWAT+ editor v2.3.3 on 2023-10-25 08:58 for SWAT+ rev.60.5.7
22
name amt_mm eff_frac sumq_frac dep_sub salt_ppm no3_ppm po4_ppm description
3-
sprinkler_med 25.00000 0.85000 0.00000 0.00000 100.00000 20.00000 1.00000
4-
sprinkler_high 40.00000 0.80000 0.00000 0.00000 100.00000 20.00000 1.00000
3+
sprinkler_med 25.00000 0.85000 0.00000 0.00000 100.00000 20.00000 1.00000
4+
sprinkler_ilm 25.00000 0.85000 0.00000 0.00000 100.00000 20.00000 1.00000
5+
sprinkler_high 40.00000 0.80000 0.00000 0.00000 100.00000 20.00000 1.00000
56
drip 25.00000 0.90000 0.00000 100.00000 100.00000 20.00000 1.00000
67
furrow 50.00000 0.70000 0.20000 0.00000 100.00000 20.00000 1.00000

data/Ames_sub1/landuse.lum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
landuse.lum: written by SWAT+ editor v2.3.3 on 2023-10-25 08:58 for SWAT+ rev.60.5.7
22
name cal_group plnt_com mgt cn2 cons_prac urban urb_ro ov_mann tile sep vfs grww bmp
33
cosy_lum null cosy_comm mgt_01 rc_strow_g up_down_slope null null convtill_nores null null null null null
4+
cosy_lum_dt null cosy_comm mgt_01 rc_strow_g up_down_slope null null convtill_nores null null null null null
45
corn_lum null corn_comm CORN_rot rc_strow_g cross_slope null null convtill_res null null null null null
56
agrr_lum null agrr_comm AGRR_rot rc_strow_g cross_slope null null convtill_res null null null null null
67
wetw_lum null wetw_comm null wood_p up_down_slope null null forest_med null null null null null

data/Ames_sub1/lum.dtl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
lum.dtl: example decision table for Ames dataset
2+
3+
name conds alts acts !limit yearly irrigation to 500 mm using sprinkler and stop after 70% heat units
4+
irr_year_limit 2 1 1
5+
var obj obj_num lim_var lim_op lim_const alt1
6+
irr_year hru 0 null - 500.00000 <
7+
phu_plant hru 0 phu_mat - 0.70000 <
8+
act_typ obj obj_num name option const const2 fp outcome
9+
irr_demand hru 0 sprinkler sprinkler_ilm 25.00000 20.00000 unlim y

data/Ames_sub1/management.sch

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
management.sch file AMES
22
NAME NUMB_OPS NUMB_AUTO OP_TYP MON DAY HU_SCH OP_DATA1 OP_DATA2 OP_DATA3
3-
mgt_01 304 0
3+
mgt_01 304 1
4+
irr_year_limit
45
till 4 1 0.0 chisplow null 0.000
56
plnt 4 28 0.0 corn null 0
67
fert 6 1 0.0 null elem_n 181.400

data/Osu_1hru/irr.ops

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
irr.ops: written by SWAT+ editor v2.2.0 on 2023-03-22 04:25 for SWAT+ rev.60.5.4
22
name amt_mm eff_frac sumq_frac dep_sub salt_ppm no3_ppm po4_ppm description
33
sprinkler_med 25.00000 0.85000 0.00000 0.00000 100.00000 20.00000 1.00000
4+
sprinkler_ilm 25.00000 0.85000 0.00000 0.00000 100.00000 20.00000 1.00000
45
sprinkler_high 40.00000 0.80000 0.00000 0.00000 100.00000 20.00000 1.00000
56
drip 25.00000 0.90000 0.00000 100.00000 100.00000 20.00000 1.00000
67
furrow 50.00000 0.70000 0.20000 0.00000 100.00000 20.00000 1.00000

data/Osu_1hru/lum.dtl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,3 +546,10 @@ act_typ obj obj_num name option
546546
irrigate aqu 1 sprinkler sprinkler_ilm 25.00000 20.00000 null y n
547547
irrigate res 1 sprinkler sprinkler_ilm 25.00000 20.00000 null n y
548548

549+
name conds alts acts !limit yearly irrigation to 500 mm using sprinkler and stop after 70% heat units
550+
irr_year_limit 2 1 1
551+
var obj obj_num lim_var lim_op lim_const alt1
552+
irr_year hru 0 null - 500.00000 <
553+
phu_plant hru 0 phu_mat - 0.70000 <
554+
act_typ obj obj_num name option const const2 fp outcome
555+
irr_demand hru 0 sprinkler sprinkler_ilm 25.00000 20.00000 unlim y

0 commit comments

Comments
 (0)