# == protected part to be changed by the module adapter ==

# == all manual changes in this section will be overwritten by the module adapter ==8

$set $runID = det4w_188
$set $runID1      = 2024
$set $runID2      = 2024

# readgrids : 1 = read storage grids (as SI, SSNOW,SLIQ...) from hard disk, 0=generate and initialize with 0
$set $readgrids     =  1

# read grids for dynamic phenology -> usually chilling grid should be read in if availabe because otherwise thermal time method will be applied and not the sequential model
$set $DPreadgrids   =  0

$set $mainpath       		= k:\Daten\1_BAFU\WTO2\Rekalibrierungen\01_Alpenrhein\Stundenmodell\
$set $inpath         		= $mainpath//Input\
$set $exchngpath     		= $mainpath//Exchng\
$set $InitialStateDirectory 	= $mainpath//StateIni_$runID//_$runID1//\
$set $DefaultOutputDirectory 	= $mainpath//Output_$runID//_$runID1//\

$set $time           = 60

$set $starthour      = 1
$set $startday       = 1
$set $startmonth     = 1
$set $startyear      = $runID1
$set $endhour        = 23
$set $endday         = 31
$set $endmonth       = 12
$set $endyear        = $runID2


# it is important to set $outpath to an empty string in order to activate $DefaultOutputDirectory
$set $outpath        =  

# == end of protected part ==

$set $subdir_ingrids = grid_2026_4way\
$set $subdir_timeseries = timeseries\1991-2025\

$set $do_RegionalSuperposition 		= 1
$set $do_precipitation_correction 	= 1
$set $do_radiation_correction 		= 1
$set $do_evapotranspiration 		= 1
$set $do_snow_model 			= 1
$set $do_interception_model 		= 1
$set $do_infiltration_model 	= 0 
$set $do_SiltingUpModel 	= 0
$set $do_SurfaceRoutingModel 	= 0
$set $do_lake_model 			= 1
$set $do_unsatzon_model 		= 1
$set $do_soil_model 		= 0
$set $do_heat_transfer 		= 0
$set $do_ExternalCoupling 	= 0
$set $do_irrigation 		= 0
$set $do_groundwater_flow 		= 1
$set $do_routing_model 			= 1
$set $do_substance_transport 	= 0
$set $do_irrigation_table 	= 0
$set $do_special_output 		= 1
$set $do_data_assimilation 	= 0
$set $do_spin_up 		= 0


$set $DPreadgrids   =  0


$set $grid           =  a500
$set $stack          =  a500
$set $suffix         =  grd
$set $code           =  s


# kd --> recession constant for single linear reservoir for direct runoff
$set $kd001 = 2
$set $kd002 = 2
$set $kd003 = 2
$set $kd004 = 2
$set $kd005 = 2
$set $kd006 = 2
$set $kd007 = 2
$set $kd008 = 2
$set $kd009 = 2
$set $kd010 = 2
$set $kd011 = 2
$set $kd012 = 2
$set $kd013 = 2
$set $kd014 = 2
$set $kd015 = 2
$set $kd016 = 2
$set $kd017 = 2
$set $kd018 = 2
$set $kd019 = 2
$set $kd020 = 2
$set $kd021 = 2
$set $kd022 = 2
$set $kd023 = 2
$set $kd031 = 2
$set $kd032 = 2
$set $kd033 = 2
$set $kd034 = 2
$set $kd131 = 2
$set $kd157 = 2
$set $kd231 = 2
$set $kd300 = 2
$set $kd302 = 2
$set $kd303 = 2
$set $kd305 = 2
$set $kd306 = 2
$set $kd307 = 2
$set $kd308 = 2
$set $kd309 = 2
$set $kd310 = 2
$set $kd311 = 2
$set $kd312 = 2
$set $kd313 = 2
$set $kd316 = 2

# ki --> recession constant for single linear reservoir for interflow
$set $ki001 = 3
$set $ki002 = 3
$set $ki003 = 3
$set $ki004 = 3
$set $ki005 = 3
$set $ki006 = 3
$set $ki007 = 3
$set $ki008 = 3
$set $ki009 = 3
$set $ki010 = 3
$set $ki011 = 3
$set $ki012 = 3
$set $ki013 = 3
$set $ki014 = 3
$set $ki015 = 3
$set $ki016 = 3
$set $ki017 = 2
$set $ki018 = 3
$set $ki019 = 3
$set $ki020 = 3
$set $ki021 = 3
$set $ki022 = 3
$set $ki023 = 3
$set $ki031 = 3
$set $ki032 = 3
$set $ki033 = 3
$set $ki034 = 3
$set $ki131 = 3
$set $ki157 = 3
$set $ki231 = 3
$set $ki300 = 3
$set $ki302 = 3
$set $ki303 = 3
$set $ki305 = 3
$set $ki306 = 3
$set $ki307 = 3
$set $ki308 = 3
$set $ki309 = 3
$set $ki310 = 3
$set $ki311 = 3
$set $ki312 = 3
$set $ki313 = 3
$set $ki316 = 3


# drainage density per sub basin as a variable
#	      187	183    182    181    144		# 	    # v116  v115		
$set $dr001 = 4.0	# 6.00 # 2.00 # 0.70 # 4.0	# 3.0	# 3.0   # 3.0   # 3.0   # 1  
$set $dr002 = 4.0	# 6.00 # 2.00 # 2.60 # 4.0	# 3.0	# 3.0   # 3.0   # 3.0   # 2 150 151                
$set $dr003 = 3.0	# 4.50 # 1.50 # 0.20 # 3.0	# 3.0	# 3.0   # 3.0   # 3.0   # 3 152 153 154               
$set $dr004 = 9.0	# 13.5 # 4.50 # 0.20 # 9.0	# 7.2	# 7.2   # 7.2   # 7.2   # 4                  
$set $dr005 = 3.3	# 4.95 # 1.65 # 2.00 # 3.3	# 3.3	# 3.3   # 3.3   # 3.3   # 5 81 86 90 91 92 93 101 219 222 223 224 225 226     
$set $dr006 = 0.7	# 1.05 # 0.35 # 0.05 # 0.7	# 0.7	# 0.7   # 0.7   # 0.7   # 6 58 66 67 68 70 71 72 73 201         
$set $dr007 = 1.7	# 2.55 # 0.85 # 0.55 # 1.7	# 2.0	# 2.0   # 1.5   # 1.2   # 7 78 79 207 208 209 210 211           
$set $dr008 = 0.9	# 1.35 # 0.45 # 1.00 # 0.9	# 0.6	# 1.2   # 1.5   # 0.2   # 8 240 242 243 244              
$set $dr009 = 2.3	# 3.45 # 1.15 # 0.15 # 2.3	# 2.3	# 1.5   # 1.5   # 1.0   # 9 99 100 235 236              
$set $dr010 = 0.5	# 0.75 # 0.25 # 0.20 # 0.5	# 0.3	# 0.5   # 1.5   # 0.3   # 10 102 103 247 248              
$set $dr011 = 0.8	# 1.20 # 0.40 # 0.30 # 0.8	# 0.5	# 0.5   # 1.5   # 0.5   # 11 249                 
$set $dr012 = 3.2	# 4.80 # 1.60 # 0.70 # 3.2	# 3.2	# 1.3   # 2.9   # 0.9   # 12 282 286 (und 308 oberhalb)
$set $dr013 = 2.5	# 3.75 # 1.25 # 0.70 # 2.5	# 2.5	# 2.5   # 3.0   # 1.0   # 13 250 251 252 253 254 257 260 262 265 266 267 269 270 273 274 275 306 
$set $dr014 = 1.4	# 2.10 # 0.70 # 2.70 # 1.4	# 1.4	# 1.4   # 1.4   # 1.4   # 14 110 116 117               
$set $dr015 = 1.8	# 2.70 # 0.90 # 1.00 # 1.8	# 1.8	# 1.3   # 1.3   # 1.3   # 15 288                 
$set $dr016 = 2.7	# 4.05 # 1.35 # 0.80 # 2.7	# 1.8	# 1.3   # 1.3   # 1.3   # 16 158                 
$set $dr017 = 8.0	# 12.0 # 4.00 # 1.00 # 8.0	# 8.0	# 8.0   # 2.0   # 7.0   # 17                  
$set $dr018 = 5.0	# 7.50 # 2.50 # 1.00 # 5.0	# 4.0	# 4.0   # 2.0   # 7.0   # 18                  
$set $dr019 = 0.3	# 0.45 # 0.15 # 1.00 # 0.3	# 0.5	# 0.9   # 1.3   # 1.3   # 19                  
$set $dr020 = 1.8	# 2.70 # 0.90 # 16.5 # 1.8	# 1.8	# 1.8   # 2.8   # 2.8   # 20 119                 
$set $dr021 = 0.5	# 0.75 # 0.25 # 5.00 # 0.5	# 0.5	# 0.8   # 1.2   # 1.2   # 21                  
$set $dr022 = 30.0	# 45.0 # 15.0 # 15.0 # 30.0	# 23.0	# 15.6  # 9.6   # 9.6   # 22 221                 
$set $dr023 = 10.0	# 15.0 # 5.00 # 0.25 # 10.0	# 7.4	# 7.4   # 6.4   # 6.4   # 23                  
$set $dr031 = 33.0	# 49.5 # 16.5 # 0.90 # 33.0	# 24.0	# 24.0  # 24.0  # 24.0  # 31                  
$set $dr032 = 2.0	# 3.00 # 1.00 # 0.15 # 2.0	# 2.0	# 2.0   # 2.0   # 2.0   # 32                  
$set $dr033 = 2.0	# 3.00 # 1.00 # 2.50 # 2.0	# 2.0	# 2.0   # 2.0   # 2.0   # 33                  
$set $dr034 = 2.0	# 3.00 # 1.00 # 4.00 # 2.0	# 2.0	# 2.0   # 2.0   # 2.0   # 34 120 122 141               
$set $dr131 = 1.6	# 2.40 # 0.80 # 1.35 # 1.6	# 0.9	# 0.9   # 0.9   # 0.9   # 129 131                 
$set $dr157 = 2.0	# 3.00 # 1.00 # 0.90 # 2.0	# 2.0	# 2.0   # 2.0   # 2.0   # 157                  
$set $dr231 = 5.4	# 8.10 # 2.70 # 0.70 # 5.4	# 3.6	# 3.6   # 3.6   # 3.6   # 231                  
$set $dr300 = 1.4	# 2.10 # 0.70 # 1.25 # 1.4	# 1.4	# 1.4   # 1.4   # 1.4   # 123 124 125 126 127 128 130 138 140 141 142 300       
$set $dr302 = 1.4	# 2.10 # 0.70 # 1.60 # 1.4	# 1.4	# 1.4   # 1.4   # 1.4   # 302                  
$set $dr303 = 0.6	# 0.90 # 0.30 # 0.40 # 0.6	# 0.6	# 0.6   # 0.6   # 0.6   # 303                  
$set $dr305 = 0.4	# 0.60 # 0.20 # 0.25 # 0.4	# 0.4	# 0.4   # 0.4   # 0.4   # 155 305                 
$set $dr306 = 0.3	# 0.45 # 0.15 # 1.15 # 0.3	# 0.3	# 0.3   # 0.4   # 0.4   # 306                  
$set $dr307 = 2.0	# 3.00 # 1.00 # 0.45 # 2.0	# 1.8	# 1.8   # 1.8   # 1.8   # 307                  
$set $dr308 = 1.1	# 1.65 # 0.55 # 0.85 # 1.1	# 1.3	# 1.3   # 2.9   # 0.2   # 277 281 282 308               
$set $dr309 = 0.1	# 0.15 # 0.05 # 0.35 # 0.1	# 0.1	# 0.15  # 0.2   # 0.2   # 80 216 217 309               
$set $dr310 = 4.0	# 6.00 # 2.00 # 1.65 # 4.0	# 2.0	# 4.0   # 4.0   # 4.0   # 64 65 310                
$set $dr311 = 0.4	# 0.60 # 0.20 # 4.50 # 0.4	# 0.4	# 0.8   # 0.8   # 0.8   # 40 41 42 43 44 50 51 52 53 54 55 56 57 59 60 61 62 63 311
$set $dr312 = 0.4	# 0.60 # 0.20 # 1.50 # 0.4	# 0.4	# 0.4   # 0.6   # 0.6   # 75 76 77 220 312              
$set $dr313 = 5.2	# 7.80 # 2.60 # 2.00 # 5.2	# 3.4	# 2.4   # 3.1   # 3.1   # 82 83 84 85 227 228 313            
$set $dr316 = 1.4	# 2.10 # 0.70 # 2.00 # 1.4	# 1.4	# 0.8   # 0.6   # 0.6   # 94 95 96 97 98 232 233 316           


# sdf --> Snow melt: Direct Runoff fraction
$set $sdf001 = 0.05
$set $sdf002 = 0.05
$set $sdf003 = 0.05
$set $sdf004 = 0.05
$set $sdf005 = 0.05
$set $sdf006 = 0.05
$set $sdf007 = 0.05
$set $sdf008 = 0.05
$set $sdf009 = 0.05
$set $sdf010 = 0.05
$set $sdf011 = 0.05
$set $sdf012 = 0.05
$set $sdf013 = 0.05
$set $sdf014 = 0.05
$set $sdf015 = 0.05
$set $sdf016 = 0.05
$set $sdf017 = 0.05
$set $sdf018 = 0.05
$set $sdf019 = 0.05
$set $sdf020 = 0.05
$set $sdf021 = 0.05
$set $sdf022 = 0.05
$set $sdf023 = 0.05
$set $sdf031 = 0.05
$set $sdf032 = 0.05
$set $sdf033 = 0.05
$set $sdf034 = 0.05
$set $sdf131 = 0.05
$set $sdf157 = 0.05
$set $sdf231 = 0.05
$set $sdf300 = 0.05
$set $sdf302 = 0.05
$set $sdf303 = 0.05
$set $sdf305 = 0.05
$set $sdf306 = 0.05
$set $sdf307 = 0.05
$set $sdf308 = 0.05
$set $sdf309 = 0.05
$set $sdf310 = 0.05
$set $sdf311 = 0.05
$set $sdf312 = 0.05
$set $sdf313 = 0.05
$set $sdf316 = 0.05


# variables for standardgrids
# first section: grids, which differ for different subdivisions of the basin
$set $zone_grid             =  $grid//.e26_4w
$set $subcatchments         =  $grid//.ezg_4w
$set $flow_time_grid        =  $grid//.fzs025_4w 
$set $river_links_grid      =  $grid//.lnk_4w
$set $regio_grid            =  $grid//.reg3c_4w

#second section: grids, which doesn't depend on subdivision (only pixel-values are of interest)
$set $elevation_model       =  $grid//.dhk_lakesConst
$set $RelCellArea_grid      =  $grid//.rca
$set $CellSizeX_grid        =  $grid//.csx
$set $CellSizeY_grid        =  $grid//.csy
$set $slope_grid            =  $grid//.slp
$set $FlowDirection_grid    =  $grid//.flk_4w
$set $aspect_grid           =  $grid//.exp
$set $land_use_grid         =  $grid//.use_corine2018 # old: use_c stands for resampling using central value instead of most frequent value, which would be use_f
$set $ice_firn_grid         =  $grid//.glc
$set $field_capacity_grid   =  $grid//.nfk
$set $ATBgrid               =  $grid//.atb
$set $hydr_cond_grid        =  $grid//.k
$set $soil_types            =  $grid//.soil_hwsd
$set $sky_view_factor_grid  =  $grid//.hor
$set $drain_depth_grid      =  $grid//.drn
$set $drain_distance_grid   =  $grid//.dis
$set $irrigationcodes       =  $grid//.irr
$set $max_pond_grid         =  $grid//.maxpond_4w
$set $clay_depth_grid       =  $grid//.cly
$set $river_depth_grid      =  $grid//.dep05_4w
$set $river_width_grid      =  $grid//.wit3
$set $tracer_1              =  $grid//.c1
$set $tracer_2              =  $grid//.c2
$set $tracer_3              =  $grid//.c3
$set $tracer_4              =  $grid//.c4
$set $tracer_5              =  $grid//.c5
$set $tracer_6              =  $grid//.c6
$set $tracer_7              =  $grid//.c7
$set $tracer_8              =  $grid//.c8
$set $tracer_9              =  $grid//.c9
$set $kolmationsgrid        =  $grid//.kol
$set $gw_kx_1_grid          =  $grid//.kx1_hwsdx2
$set $gw_kx_2_grid          =  $grid//.kx2
$set $gw_kx_3_grid          =  $grid//.kx3
$set $gw_ky_1_grid          =  $grid//.ky1_hwsdx2
$set $gw_ky_2_grid          =  $grid//.ky2
$set $gw_ky_3_grid          =  $grid//.ky3
$set $gw_bound_h_1_grid     =  $grid//.bh1
$set $gw_bound_h_2_grid     =  $grid//.bh2
$set $gw_bound_h_3_grid     =  $grid//.bh3
$set $gw_bound_q_1_grid     =  $grid//.bq1
$set $gw_bound_q_2_grid     =  $grid//.bq2
$set $gw_bound_q_3_grid     =  $grid//.bq3
$set $aquiferthick1         =  $grid//.aq1_hwsd
$set $aquiferthick2         =  $grid//.aq2
$set $aquiferthick3         =  $grid//.aq3
$set $gw_storage_coeff_1    =  $grid//.s01
$set $gw_storage_coeff_2    =  $grid//.s02
$set $gw_storage_coeff_3    =  $grid//.s03
$set $gw_kolmation_1        =  $grid//.gk1
$set $gw_kolmation_2        =  $grid//.gk2
$set $gw_kolmation_3        =  $grid//.gk3
$set $lake_grid             =  $grid//.lak_4w
$set $taucrit_grid          =  $grid//.tau
$set $ThawCoeffPermaFrost   =  $grid//.alpha
$set $debris_on_glaciers    =  $grid//.debris
$set $slidefraction1        =  $grid//.sd1
$set $slidefraction2        =  $grid//.sd2
$set $slidefraction3        =  $grid//.sd3
$set $slidefraction4        =  $grid//.sd4
$set $depositionindex       =  $grid//.normalized.svfdir_2_4w
$set $elevationordercols    =  $grid//.eoc
$set $elevationorderrows    =  $grid//.eor
$set $ClayFraction          =  $grid//.clay
$set $SandFraction          =  $grid//.sand
$set $SiltFraction          =  $grid//.silt

# output grids for surface hydrology modules
$set $nFK_grid_mm_min      =  uFCminmm//.//$suffix 
$set $nFK_grid_mm_max      =  uFCmaxmm//.//$suffix 
$set $nFK_grid_mm          =  uFCmm//.//$suffix      
$set $nFK_grid_perc        =  uFCperc//.//$suffix 
$set $forcingunitsgrid1    =  forc1//.//$suffix
$set $TStartPhenoGrid1     =  phen1//.//$suffix
$set $chillingunitsgrid1   =  chill1//.//$suffix
$set $FStargrid1           =  fstar1//.//$suffix
$set $forcingunitsgrid2    =  forc2//.//$suffix
$set $TStartPhenoGrid2     =  phen2//.//$suffix
$set $chillingunitsgrid2   =  chill2//.//$suffix
$set $FStargrid2           =  fstar2//.//$suffix
$set $forcingunitsgrid3    =  forc3//.//$suffix
$set $TStartPhenoGrid3     =  phen3//.//$suffix
$set $chillingunitsgrid3   =  chill3//.//$suffix
$set $FStargrid3           =  fstar3//.//$suffix
$set $albedo               =  albedo//.//$suffix
$set $soilstoragegrid      =  sb__//.//$suffix
$set $throughfall          =  qi__//.//$suffix
$set $snowcover_outflow    =  qsno//.//$suffix
$set $melt_from_snowcover  =  qsme//.//$suffix
$set $days_snow            =  sday//.//$suffix
$set $snow_age             =  sage//.//$suffix
$set $snow_rate            =  snow//.//$suffix
$set $rain_rate            =  rain//.//$suffix
$set $firn_melt            =  qfir//.//$suffix
$set $ice_melt             =  qice//.//$suffix
$set $preci_grid           =  prec//.//$suffix
$set $preci_grid1          =  prec1//.//$suffix
$set $preci_grid2          =  prec2//.//$suffix
$set $preci_grid3          =  prec3//.//$suffix
$set $irrig_grid           =  irri//.//$suffix
$set $etr2etpgrid          =  er2ep//.//$suffix
$set $tempegrid            =  temp//.//$suffix
$set $tempegrid1           =  temp1//.//$suffix
$set $tempegrid2           =  temp2//.//$suffix
$set $windgrid             =  wind//.//$suffix
$set $sunshinegrid         =  ssd_//.//$suffix
$set $radiationgrid        =  rad_//.//$suffix
$set $humiditygrid         =  humi//.//$suffix
$set $vaporgrid            =  vapo//.//$suffix
$set $ETPgrid              =  etp_//.//$suffix
$set $EIPgrid              =  eip_//.//$suffix
$set $ETRgrid              =  etr_//.//$suffix
$set $EVAPgrid             =  evap//.//$suffix
$set $EVARgrid             =  evar//.//$suffix
$set $ETRSgrid             =  etrs//.//$suffix
$set $SSNOgrid             =  ssno//.//$suffix
$set $SLIQgrid             =  sliq//.//$suffix
$set $SSTOgrid             =  swe_//.//$suffix
$set $SSNOOnGlacgrid       =  ssno_onGlac_//.//$suffix
$set $SLIQOnGlacgrid       =  sliq_onGlac_//.//$suffix
$set $SSTOOnGlacgrid       =  ssto_onGlac_//.//$suffix
$set $sat_def_grid         =  sd__//.//$suffix
$set $SUZgrid              =  suz_//.//$suffix
$set $SIFgrid              =  sif_//.//$suffix
$set $EIgrid               =  ei__//.//$suffix
$set $SIgrid               =  si__//.//$suffix
$set $ExpoCorrgrid         =  exco//.//$suffix
$set $Tcorrgrid            =  tcor//.//$suffix
$set $Shapegrid            =  shap//.//$suffix
$set $INFEXgrid            =  infx//.//$suffix
$set $SATTgrid             =  satt//.//$suffix
$set $Nagrid               =  na__//.//$suffix
$set $SSPgrid              =  ssp_//.//$suffix
$set $Peakgrid             =  peak//.//$suffix
$set $SBiagrid             =  sbia//.//$suffix
$set $fcia_grid            =  nfki//.//$suffix
$set $tavg_grid            =  tavg//.//$suffix

# now variables for unsaturated zone model
$set $SB_1_REL_grid  =  sb05rel//.//$suffix
$set $SB_1_grid      =  sb05//.//$suffix
$set $SB_2_grid      =  sb1_//.//$suffix
$set $ROOTgrid       =  wurz//.//$suffix
$set $QDgrid         =  qd__//.//$suffix
$set $QIgrid         =  qifl//.//$suffix
$set $GWdepthgrid    =  gwst//.//$suffix
$set $GWthetagrid    =  gwth//.//$suffix
$set $GWNgrid        =  gwn_//.//$suffix
$set $UPRISEgrid     =  uprs//.//$suffix
$set $PERCOLgrid     =  perc//.//$suffix
$set $GWLEVELgrid    =  gwlv//.//$suffix
$set $QDRAINgrid     =  qdrn//.//$suffix
$set $QBgrid         =  qb__//.//$suffix
$set $GWINgrid       =  gwin//.//$suffix
$set $GWEXgrid       =  gwex//.//$suffix
$set $act_pond_grid  =  pond//.//$suffix
$set $MACROINFgrid   =  macr//.//$suffix
$set $SUBSTEPSgrid   =  step//.//$suffix

$set $SnowFreeDaysGrid = sfre//.//$suffix
$set $SnowCoverDaysGrid = scov//.//$suffix
$set $ThawDepthGrid    = thdp//.//$suffix
$set $ThawDepthGridTMod = thaw//.//$suffix
$set $ts_avg		= ts_avg//.//$suffix


# variables for groundwater modeling
$set $flowx1grid     =  gwx1//.//$suffix
$set $flowx2grid     =  gwx2//.//$suffix
$set $flowx3grid     =  gwx3//.//$suffix
$set $flowy1grid     =  gwy1//.//$suffix
$set $flowy2grid     =  gwy2//.//$suffix
$set $flowy3grid     =  gwy3//.//$suffix
$set $head1grid      =  gwh1//.//$suffix
$set $head2grid      =  gwh2//.//$suffix
$set $head3grid      =  gwh3//.//$suffix
$set $GWbalance1grid =  gwbalance1//.//$suffix
$set $GWbalance2grid =  gwbalance2//.//$suffix
$set $GWbalance3grid =  gwbalance3//.//$suffix

# result grids for surface routing model
$set $surfspeed_grid        =  sfcv//.//$suffix
$set $surfflux_grid         =  sflx//.//$suffix

# some new stacks and grids for the dynamic glacier model
$set $firn_WE_stack           = glfirn//.//$suffix
$set $GlacierMassBalance      = glmb//.//$suffix
$set $OldGlacierMassBalance   = glmb_old//.//$suffix
$set $glacierizedCells_grid   = glc_//.//$suffix
$set $glacier_codes_grid      = glid//.//$suffix

# result-stacks for Unsatzonmodel
$set $Thetastack              = thet//.//$suffix
$set $hydraulic_heads_stack   = hhyd//.//$suffix
$set $geodetic_altitude_stack = hgeo//.//$suffix
$set $flowstack               = qu__//.//$suffix
$set $concstack               = conc//.//$suffix
$set $Temperaturestack	      = tsoil//.//$suffix

# result-grids for sow model
$set $snowtemperaturgrid       = snowtemp//.//$suffix
$set $snowsurftemperaturgrid   = ssrftemp//.//$suffix
$set $inputmassgrid            = inpmass//.//$suffix
$set $mobilemassgrid           = mobmass//.//$suffix
$set $depositiongrid           = deposit//.//$suffix
$set $snowtemperaturgridGL     = snowtempgl//.//$suffix
$set $snowsurftemperaturgridGL = ssrftempgl//.//$suffix
$set $ETRSgridGl               = etrsgl//.//$suffix
$set $QSNOWOnGlacgrid	       = qsmegl//.//$suffix

# result stackd for layered snow model
$set $SWESstack			= swes_stack//.//$suffix
$set $SWELStack			= swel_stack//.//$suffix
$set $temperSnowStack		= tempersnow_stack//.//$suffix	# stack with snow temperatures per snow layer
$set $thetaSnowStack		= thetasnow_stack//.//$suffix	# stack with theta values per snow layer
$set $hhSnowStack		= hhydsnow_stack//.//$suffix	# stack with hydraulic heads per snow layer
$set $hgeoSnowStack		= hgeosnow_stack//.//$suffix	# stack with geodetic elevation per snow layer (bottom of layer)
$set $quSnowStack		= qusnow_stack//.//$suffix	# stack with (bottom) water fluxes per snow layer
$set $thickSnowStack		= thicksnow_stack//.//$suffix	# stack with the thickness of each snow layer
$set $densSnowStack		= denssnow_stack//.//$suffix	# stack with density of each snow layer
$set $upperIndexSnow		= upperIndexSnow//.//$suffix	# grid with the index of the first (uppermost) layer that constains snow


# parameters for interpolation of meteorological input data
$set $SzenUse        =  0
$set $IDWmaxdist     =  200000
$set $IDWweight      =  2
$set $Anisoslope     =  0.0
$set $Anisotropie    =  1.0

#  Writegrid : max. 4 digits (nnnn)
#
#     only if writegrid >= 1000: 1. digit (1nnn, or 2nnn)
#     0 = no vegetation period based grid is written
#     1 = sum grid is written for vegetation period (summing up each value as long as this cells vegetation period is active)
#     2 = average value grid is written for vegetation period (summing up each value as long as this cells vegetation period is active)
#     only if writegrid >= 100: 2. digit (n1nn, or n2nn or n3nn or 1nn..3nn  -> leading digits may be omitted))
#      0 = no minimum or maximum grid is written
#      1 = minimum grid is written (minimum value for each of the grid cells over the entire model period)          
#      2 = maximum grid is written (maximum value for each of the grid cells over the entire model period)          
#      3 = both grids are written (minimum and maximum value for each of the grid cells over the entire model period)          
#     only if Writegrid >=  10: 3rd digit: sums or means (1n ... 8n or n1n..n8n or nn1n..nn8n  -> leading digits may be omitted))
#       0 = no sum grid will be written
#       1 = one sum grid will be written at the end of the model run
#       2 = one sum grid per model year
#       3 = one sum grid per model month
#       4 = one sum grid per day (only, if timestep < 1 day)
#       5 = one mean value grid at the end of the model run
#       6 = one mean value grid per model year
#       7 = one mean value grid per month
#       8 = one mean value grid per day
#     last digit (nnn1 .. nnn5 or nn1..nn5 or n1..n5 or 1..5 -> leading digits may be omitted) (for actual values, not for Sums or means)
#        1 = (over)write each timestep into the same grid (for security in case of model crashs)
#        2 = write grids each timestep to new files, the name is build from the first 4 letters
#            of the regular grid name and then from the number of month, day and hour (hoer as file extension).
#            example: tempm500.grd will become prec0114.07 for 14.January, 7:00.
#        3 = only the last grid of the model run will be stored
#        4 = the grid from the last hour of each day (24:00) will be stored (for each day the same file will be overwritten)
#        5 = like 4, but each day a new grid file is created (like for code 2)
#        6 = actual grid at the end of each month
#        7 = actual grid at the end of each year
#        8 = write immediately after reading the grid from file and filling missing values. This is used for an automated filling of missing values only. Should not be used productive

# explanation of writegrid and outputcode some lines below
$set $Writegrid_series 	= 3
$set $Writegrid      	= 3
$set $Write_no_grid  	= 0
$set $Write_annual_sum 	= 23
$set $Write_annual_mean = 63
$set $Writestack     	= 3
$set $Write_no_stack 	= 0

$set $no_output  	 = 2001
$set $once_per_interval  = 2001
$set $routing_code       = 4001


[SpinUp]
$do_spin_up


[output_list]
26	
1
2	
3	
4	
5	
6	
7	
8	
9	
10	
11	
12	
13	
14	
15	
16	
17	
18	
19	
20	
21	
22	
23	
31	
33	
34


[output_interval]
25            # increment of time steps until an output to the screen is done (24 = each day one output, if time steo = 1h)
1             # warning level for interpolation (no station within search radius)
0             # unit of routed discharge (0=mm/timestep, 1=m3/s)
$time         # minutes from the hour-entry in the input data files until the end 
# of the time step is reached 0 if the end of time step is given like "84 01 01 01", 
# but it should be $time if the begin is given like in "84 01 01 00"
WriteAsciiGrids = 1 					# 0 if grids should be written in WaSiM native format, 1 if in ESRI ASCII format
WriteDoubleGrids = 0 					# 0 if grids should be written in WaSiM native format, 1 if in ESRI ASCII format
InitialStateDirectory = $InitialStateDirectory 		# if using this parameter, all state grids  as well as the storage_richards.ftz file will be expected in that directory for reading
DefaultOutputDirectory = $DefaultOutputDirectory 	# this is the default output directory, all output is written to unless the given filename contains an absolute path 


[coordinates]
46.8           # geogr. latitude (center of the basin -> for radiation calculations)
9.5            # geogr. longitude (center of the basin)
15.0           # meridian according to the official time (middle europe: 15)(east: 0 ... +180 degree, west: 0 ... -180 (or 360 ... 180)
0              # time shift of Meteo-data-time with respect to the true local time (mean sun time)
# e.g.: if meteo-data are stored in UTC-time and the time meridian is 15 east (central europe),
# than the local time is 1 hour later than the time in the meteo-data-file, so 1 hour has to be added to the time from this file
# this is important for calculation of sunshine duration and radiation


[region_transition_distance]
5000 # in m


[soil_surface_groundwater_substeps] 
1 # number of sub time steps for the module group surface routing, unsaturated zone model and groundwater model (and accumulation of real evapotranspiration)


[elevation_model]
$inpath//$subdir_ingrids//$elevation_model


[zone_grid]
$inpath//$subdir_ingrids//$zone_grid


[standard_grids]
28
#$inpath//$subdir_ingrids//$nFK_grid_mm_min      minFieldCapacity_mm	  fillcode = 1 defaultValue = 100 readcode = 0 outname = $outpath//$nFK_grid_mm_min   	writecode = $Write_no_grid  			# maximum usable field capacity in mm (depends on soil property psi_FC, or 200cm suction as default, calculated over the actual root depth at every time step, result of max grid is available when writecode contains a max output like 2xx)
#$inpath//$subdir_ingrids//$nFK_grid_mm_max      maxFieldCapacity_mm	  fillcode = 1 defaultValue = 100 readcode = 0 outname = $outpath//$nFK_grid_mm_max   	writecode = $Write_no_grid  			# maximum usable field capacity in mm (depends on soil property psi_FC, or 200cm suction as default, calculated over the actual root depth at every time step, result of max grid is available when writecode contains a max output like 2xx)
#$inpath//$subdir_ingrids//$nFK_grid_mm          usableFieldCapacity_mm    fillcode = 1 defaultValue = 100 readcode = 0 outname = $outpath//$nFK_grid_mm      	writecode = $Writegrid	statfile = $outpath//uFCmm.dat 		statcode = $once_per_interval  	# actual usable water capacity in mm (depends on max field capacity and the actual water content)
#$inpath//$subdir_ingrids//$nFK_grid_perc        usableFieldCapacity_perc  fillcode = 1 defaultValue = 100 readcode = 0 outname = $outpath//$nFK_grid_perc     	writecode = $Writegrid	statfile = $outpath//uFCperc.dat 	statcode = $once_per_interval  	# actual usable field capacity in % (depends on max field capacity and the actual water content)
#$inpath//$subdir_ingrids//$SB_1_REL_grid        SB_1_REL_grid             fillcode = 1  defaultValue = 1.0 readcode = 0 outname = $outpath//$SB_1_REL_grid  	writecode = $Writegrid	statfile = $outpath//sb_1_rel.dat 	statcode = $once_per_interval  	# 
#$inpath//$subdir_ingrids//$etr2etpgrid          ETR2ETP                   fillcode = 1  defaultValue = 1.0 readcode = 0 outname = $outpath//$etr2etpgrid  	writecode = $Writegrid	statfile = $outpath//etr2etp.dat 	statcode = $once_per_interval  	# 
$inpath//$subdir_ingrids//$slope_grid       	slope_angle               1    		# grid with slope angle data
$inpath//$subdir_ingrids//$aspect_grid      	slope_aspect              1    		# grid with slope aspect data
$inpath//$subdir_ingrids//$regio_grid       	regression_regions        fillcode = 1 # defaultValue = 1   writecode = 8 readcode = 0 outname = $outpath//$regio_grid    # region grid if using multiple regression perameter files for meteorological data interpolation
$inpath//$subdir_ingrids//$land_use_grid    	landuse  		  fillcode = 1 # writecode = 8 readcode = 1 outname = $outpath//$land_use_grid # grid with land use data (will be written out after reading in for getting gthe filles values)
$inpath//$subdir_ingrids//$subcatchments    	zonegrid_soilmodel        1    		# zone grid for the runoff generation model (and unstaurated zone model)
$inpath//$subdir_ingrids//$flow_time_grid   	flow_times                fillcode = 1 # writecode = 8 readcode = 1 outname = $outpath//$flow_time_grid  		# grid with flow times for surface runoff to the subbasin outlet
$inpath//$subdir_ingrids//$max_pond_grid        max_ponding_storage       fillcode = 1 defaultValue = 0 # grid with height of small dams around the fields for water ponding (in m). 0 if no ponding occurs. For a call which is active in the lake grid, this value is the theoretical value when the pond overflows.
$inpath//$subdir_ingrids//$lake_grid		lake_codes                fillcode = 0 # grid with a unique code for each lake
$inpath//$subdir_ingrids//$river_depth_grid     river_depth               0    		# grid with the depth of all streams in the stream network in m
$inpath//$subdir_ingrids//$river_width_grid     river_width               0    		# grid with the witdh of all streams in m
$inpath//$subdir_ingrids//$river_links_grid     river_links               0    		# grid with codes of tributaries, from which a channel was routed (only for real routing channels!!!)
$inpath//$subdir_ingrids//$kolmationsgrid       kolmation                 fillcode = 1 # defaultValue = 1e-5   writecode = 8 readcode = 0 #outname = $outpath//$kolmationsgrid     # grid with codes of tributaries, from which a channel was routed (only for real routing channels!!!)
$inpath//$subdir_ingrids//$aquiferthick1        aquifer_thickness_1       fillcode = 1 # defaultValue = 15     writecode = 8 readcode = 0 #outname = $outpath//$aquiferthick1      # grid with thickness of first aquifer (m from soil surface to the aquifer bottom)
$inpath//$subdir_ingrids//$gw_storage_coeff_1   gw_storage_coeff_1        fillcode = 1 # defaultValue = 0.1    writecode = 8 readcode = 0 #outname = $outpath//$gw_storage_coeff_1 # storage coefficients for 1. aquifer
$inpath//$subdir_ingrids//$gw_bound_h_1_grid    gw_boundary_fix_h_1       fillcode = 0 # defaultValue = -9999  writecode = 8 readcode = 0 #outname = $outpath//$gw_bound_h_1_grid  # periodicity = 1 D 12 persistent = 0 # boundary conditions 1 constant head for layer 1
$inpath//$subdir_ingrids//$gw_bound_q_1_grid    gw_boundary_fix_q_1       fillcode = 0 # defaultValue = -9999  writecode = 8 readcode = 0 #outname = $outpath//$gw_bound_q_1_grid  # boundary conditions 2 (given flux perpendicular to the border) for layer 1
$inpath//$subdir_ingrids//$gw_kx_1_grid         gw_k_x_1                  fillcode = 1 # defaultValue = 1e-5   writecode = 8 readcode = 0 #outname = $outpath//$gw_kx_1_grid	# lateral hydraulic conductivities for the 1. aquifer in x direction
$inpath//$subdir_ingrids//$gw_ky_1_grid         gw_k_y_1                  fillcode = 1 # defaultValue = 1e-5   writecode = 8 readcode = 0 #outname = $outpath//$gw_ky_1_grid	# lateral hydraulic conductivities for the 1. aquifer in y direction
$inpath//$subdir_ingrids//$gw_kolmation_1       gw_kolmation_1            fillcode = 1 # defaultValue = 1e-5   writecode = 8 readcode = 0 # kolmation (leakage factor) between 1st and 2nd aquifer
$inpath//$subdir_ingrids//$soil_types       	soil_types                fillcode = 1 # defaultValue = 1      writecode = 8 readcode = 0 outname = $outpath//$soil_types     		# soil types as codes for the soil table
$inpath//$subdir_ingrids//$slidefraction1	slidefraction1		  fillcode = 0 # new snow model extensions: fraction of the area flowing to the North (slides)
$inpath//$subdir_ingrids//$slidefraction2	slidefraction2		  fillcode = 0 # new snow model extensions: fraction of the area flowing to the West (slides)
$inpath//$subdir_ingrids//$slidefraction3	slidefraction3		  fillcode = 0 # new snow model extensions: fraction of the area flowing to the East (slides)
$inpath//$subdir_ingrids//$slidefraction4	slidefraction4		  fillcode = 0 # new snow model extensions: fraction of the area flowing to the South (slides)
$inpath//$subdir_ingrids//$depositionindex      deposition_index          fillcode = 1 # new snow model extensions: correction factor for wind impact on snow fall
#$inpath//$subdir_ingrids//$debris_on_glaciers	debris_on_glaciers	  fillcode = 0 #
$inpath//$subdir_ingrids//$ClayFraction         clay_fraction             fillcode = 0 # writecode = 8 # new snow model extensions: correction factor for wind impact on snow fall
$inpath//$subdir_ingrids//$SandFraction         sand_fraction             fillcode = 0 # writecode = 8 # new snow model extensions: correction factor for wind impact on snow fall
$inpath//$subdir_ingrids//$SiltFraction         silt_fraction             fillcode = 0 # writecode = 8 # new snow model extensions: correction factor for wind impact on snow fall



[variable_grids]
3 
$outpath//$albedo            albedo               1  0 		# albedo; for time without snow derived from land use data
$Writegrid                                             		# Writegrid for $albedo
$readgrids                                             		# 0, if albedo is derived from land use at model start time, 1, if albedo is read from file
$outpath//$glacierizedCells_grid GlacierizedCells 0  -9999 	# glacierized fraction of each cell (0...1, -9999 for all-time non-glacierized cells) when using the dynamic glacier model; wasim will check if there are only nodata. If yes, the _ice_firn_ grid will be used for initialization of the glacier cells
$Writegrid                                             		# Writegrid for glacerized cells; 7=am Jahresende in der Form glc_a500_20051231.024
1 #$readgrids           						# should always be 1 since otherwise no glacier would be created
$outpath//$glacier_codes_grid    GlacierCodes     0  -9999 	# codes for each single glacier. This grid is required when using the dynamic glacier model. It separates multiple glaciers even in the same subbasin for a applying the V-A-relation correctly
$Writegrid                                             		# Writegrid for glacier codes 7=am Jahresende in der Form glida500_20051231.024
1 #$readgrids           						# should always be 1 since otherwise no glacier zones could be created in the dynamic glacier model


[model_time]
$starthour            #  start hour
$startday             #  start day
$startmonth           #  start month
$startyear            #  start year
$endhour              #  end hour
$endday               #  end day
$endmonth             #  end month
$endyear              #  end year


[meteo_data_count]
8

[meteo_names]
temperature
precipitation_reg1
precipitation_reg2
precipitation_reg3
wind_speed
air_humidity
global_radiation
sunshine_duration

# methods: 
# 1  = idw 
# 2  = regress 
# 3  = idw+regress 
# 4  = thiessen 
# 5  = bilinear 
# 6  = bilinear gradients and residuals linarly combined, 
# 7  = bicubic spline, 
# 8  = bicubic splines of gradients and residuals linearly combined, 
# 9  = read grids according to the name in a grid list file, 
# 10 = regression from Stationdata instead from outputfile of regr.exe (similar to method 1, except that no station selection may be applied))
# 11 = regression and IDW from station data (equivalent to method 3, except that no station selection may be applied)
# 12 = Thiessen with given lapse rate (as single next line parameter or with multiple parameters lower lapse rate, upper limit, upper lapse rate, type (P-type or T-type , important for continuous or discontinuous data modelling)
 

[temperature]
10				                        # methods, see comments above
$inpath//$subdir_timeseries//temperature.dat AdditionalColumns=0   	# file name with station data (if method = 1, 3 or 4, else ignored)
820 1400 200 1 300 					# lower inversion [m asl], upper inversion [m asl], tolerance [m], overlap [0/1 for true/false], clusterlimit [m] $outpath//$tempegrid1
$outpath//$tempegrid          				# name of the output grid (is also used for deriving names of daily, monthly, yearly sums or averages)
$Writegrid_series	                    		# 0, if no grid-output is needed, else one of the codes described above
1.0                           				# correction faktor for results
$outpath//t2m_.dat $once_per_interval  			# file name for the statistic output (statially averaged values per time step and subcatchment...)
998                           				# error value: all data in the input file greater than this values or lesser the negative value are nodata
$IDWweight                    				# weighting of the reciprocal distance for IDW
0.2                          				# for interpolation method 3: relative weight of IDW-interpolation in the result
$IDWmaxdist                   				# max. distance of stations to the actual interpolation cell
-65                   	      				# slope of the mean axis of the anisotropy-ellipsis (-90 ... +90 degree, mathem. positive)
0.8                  	      				# ratio of the short to the long axis of the anisotropy-ellipsis
-40                           				# lower limit of interpolation results
-40                           				# replace value for results below the lower limit
40                            				# upper limit for interpolation results
40                            				# replace value for results with larger values than the upper limit
$SzenUse                      				# 1=use scenario data for correction, 0=dont use scenarios
1                             				# 1=add scenarios, 2=multiply scenarios, 3=percentual change
4                             				# number of scenario cells


[precipitation_reg1]
11                             				# method: 1=idw 2=regress 3=idw+regress 4=thiessen 5=bilinear 6=bilinear gradients and residuals linarly combined
$inpath//$subdir_timeseries//P_1991-2025_reg1.dat AdditionalColumns=0  	# file name with station data (if method = 1, 3 or 4, else ignored)
1000 1400 400 1 300 					# lower inversion [m asl], upper inversion [m asl], tolerance [m], overlap [0/1 for true/false], clusterlimit [m] $outpath//$tempegrid1
$outpath//$preci_grid1        	 			# name of the output grid (is also used for deriving names of daily, monthly, yearly sums or averages)
$Write_annual_sum                    			# 0, if no grid-output is needed, else one of the codes described above
1.0                           				# correction faktor for results
$outpath//prec1.dat $no_output		  		# file name for the statistic output (statially averaged values per time step and subcatchment...)
998                           				# error value: all data in the input file greater than this values or lesser the negative value are nodata
$IDWweight                    				# weighting of the reciprocal distance for IDW
0.85                         				# for interpolation method 3: relative weight of IDW-interpolation in the result
$IDWmaxdist                   				# max. distance of stations to the actual interpolation cell
-35                   	      				# slope of the mean axis of the anisotropy-ellipsis (-90 ... +90 degree, mathem. positive)
0.8                  	      				# ratio of the short to the long axis of the anisotropy-ellipsis
0.05                           				# lower limit of interpolation results
0                             				# replace value for results below the lower limit
90                           				# upper limit for interpolation results
90                           				# replace value for results with larger values than the upper limit
$SzenUse                      				# 1=use scenario data for correction, 0=dont use scenarios
2                             				# 1=add scenarios, 2=multiply scenarios, 3=percentual change
1 	                      				# number of scenario cells


[precipitation_reg2]
11                             				# method: 1=idw 2=regress 3=idw+regress 4=thiessen 5=bilinear 6=bilinear gradients and residuals linarly combined
$inpath//$subdir_timeseries//precipitation_reg2.dat AdditionalColumns=0  	# file name with station data (if method = 1, 3 or 4, else ignored)
300 400 300 1 300 					# lower inversion [m asl], upper inversion [m asl], tolerance [m], overlap [0/1 for true/false], clusterlimit [m] $outpath//$tempegrid1
$outpath//$preci_grid2        	 			# name of the output grid (is also used for deriving names of daily, monthly, yearly sums or averages)
$Write_annual_sum	                    			# 0, if no grid-output is needed, else one of the codes described above
1.0                           				# correction faktor for results
$outpath//prec2.dat $no_output		  		# file name for the statistic output (statially averaged values per time step and subcatchment...)
998                           				# error value: all data in the input file greater than this values or lesser the negative value are nodata
$IDWweight                    				# weighting of the reciprocal distance for IDW
0.4                         				# for interpolation method 3: relative weight of IDW-interpolation in the result
$IDWmaxdist                   				# max. distance of stations to the actual interpolation cell
45                   	      				# slope of the mean axis of the anisotropy-ellipsis (-90 ... +90 degree, mathem. positive)
0.8                  	      				# ratio of the short to the long axis of the anisotropy-ellipsis
0.05                           				# lower limit of interpolation results
0                             				# replace value for results below the lower limit
90                           				# upper limit for interpolation results
90                           				# replace value for results with larger values than the upper limit
$SzenUse                      				# 1=use scenario data for correction, 0=dont use scenarios
2                             				# 1=add scenarios, 2=multiply scenarios, 3=percentual change
1 	                      				# number of scenario cells

[precipitation_reg3]
11                             				# method: 1=idw 2=regress 3=idw+regress 4=thiessen 5=bilinear 6=bilinear gradients and residuals linarly combined
$inpath//$subdir_timeseries//precipitation_reg2.dat AdditionalColumns=0  	# file name with station data (if method = 1, 3 or 4, else ignored)
300 400 300 1 300 					# lower inversion [m asl], upper inversion [m asl], tolerance [m], overlap [0/1 for true/false], clusterlimit [m] $outpath//$tempegrid1
$outpath//$preci_grid3        	 			# name of the output grid (is also used for deriving names of daily, monthly, yearly sums or averages)
$Write_annual_sum	                    			# 0, if no grid-output is needed, else one of the codes described above
1.0                           				# correction faktor for results
$outpath//prec3.dat $no_output		  		# file name for the statistic output (statially averaged values per time step and subcatchment...)
998                           				# error value: all data in the input file greater than this values or lesser the negative value are nodata
$IDWweight                    				# weighting of the reciprocal distance for IDW
0.6                         				# for interpolation method 3: relative weight of IDW-interpolation in the result
$IDWmaxdist                   				# max. distance of stations to the actual interpolation cell
-75                   	      				# slope of the mean axis of the anisotropy-ellipsis (-90 ... +90 degree, mathem. positive)
0.65                  	      				# ratio of the short to the long axis of the anisotropy-ellipsis
0.05                           				# lower limit of interpolation results
0                             				# replace value for results below the lower limit
90                           				# upper limit for interpolation results
90                           				# replace value for results with larger values than the upper limit
$SzenUse                      				# 1=use scenario data for correction, 0=dont use scenarios
2                             				# 1=add scenarios, 2=multiply scenarios, 3=percentual change
1 	                      				# number of scenario cells


[wind_speed]
11                             				# method: 1=idw 2=regress 3=idw+regress 4=thiessen 5=bilinear 6=bilinear gradients and residuals linarly combined
$inpath//$subdir_timeseries//windspeed.dat AdditionalColumns=0  	# file name with station data (if method = 1, 3 or 4, else ignored)
820 1400 200 1 300 					# lower inversion [m asl], upper inversion [m asl], tolerance [m], overlap [0/1 for true/false], clusterlimit [m] $outpath//$tempegrid1
$outpath//$windgrid           				# name of the output grid (is also used for deriving names of daily, monthly, yearly sums or averages)
$Write_annual_mean                    			# 0, if no grid-output is needed, else one of the codes described above
0.71                           				# correction faktor for results
$outpath//wind.dat $once_per_interval	  		# file name for the statistic output (statially averaged values per time step and subcatchment...)
998                           				# error value: all data in the input file greater than this values or lesser the negative value are nodata
$IDWweight                    				# weighting of the reciprocal distance for IDW
0.50                           				# for interpolation method 3: relative weight of IDW-interpolation in the result
$IDWmaxdist                   				# max. distance of stations to the actual interpolation cell
$Anisoslope                   				# slope of the mean axis of the anisotropy-ellipsis (-90 ... +90 degree, mathem. positive)
$Anisotropie                  				# ratio of the short to the long axis of the anisotropy-ellipsis
0                             				# lower limit of interpolation results
0                             				# replace value for results below the lower limit
90                            				# upper limit for interpolation results
90                            				# replace value for results with larger values than the upper limit
$SzenUse                      				# 1=use scenario data for correction, 0=dont use scenarios
3                             				# 1=add scenarios, 2=multiply scenarios, 3=percentual change
4                             				# number of scenario cells


[global_radiation]
11                             				# method: 1=idw 2=regress 3=idw+regress 4=thiessen 5=bilinear 6=bilinear gradients and residuals linarly combined
$inpath//$subdir_timeseries//radiation.dat AdditionalColumns=0  	# file name with station data (if method = 1, 3 or 4, else ignored)
820 1400 200 1 300 					# lower inversion [m asl], upper inversion [m asl], tolerance [m], overlap [0/1 for true/false], clusterlimit [m] $outpath//$tempegrid1
$outpath//$radiationgrid      				# name of the output grid (is also used for deriving names of daily, monthly, yearly sums or averages)
$Write_annual_mean                    			# 0, if no grid-output is needed, else one of the codes described above
1.0                           				# correction faktor for results
$outpath//rad_.dat $once_per_interval	  		# file name for the statistic output (statially averaged values per time step and subcatchment...)
9998                         				# error value: all data in the input file greater than this values or lesser the negative value are nodata
$IDWweight                    				# weighting of the reciprocal distance for IDW
0.5                           				# for interpolation method 3: relative weight of IDW-interpolation in the result
$IDWmaxdist                   				# max. distance of stations to the actual interpolation cell
$Anisoslope                   				# slope of the mean axis of the anisotropy-ellipsis (-90 ... +90 degree, mathem. positive)
$Anisotropie                  				# ratio of the short to the long axis of the anisotropy-ellipsis
0                             				# lower limit of interpolation results
0                             				# replace value for results below the lower limit
1367                          				# upper limit for interpolation results
1367                          				# replace value for results with larger values than the upper limit
$SzenUse                      				# 1=use scenario data for correction, 0=dont use scenarios
1                             				# 1=add scenarios, 2=multiply scenarios, 3=percentual change
4                             				# number of scenario cells


[sunshine_duration]
11                            				# method: 1=idw 2=regress 3=idw+regress 4=thiessen 5=bilinear 6=bilinear gradients and residuals linarly combined
$inpath//$subdir_timeseries//sunshine.dat AdditionalColumns=0  	# file name with station data (if method = 1, 3 or 4, else ignored)
700 1400 400 1 300 					# lower inversion [m asl], upper inversion [m asl], tolerance [m], overlap [0/1 for true/false], clusterlimit [m] $outpath//$tempegrid1
$outpath//$sunshinegrid       				# name of the output grid (is also used for deriving names of daily, monthly, yearly sums or averages)
$Write_annual_mean                    			# 0, if no grid-output is needed, else one of the codes described above
1.0                           				# correction faktor for results
$outpath//ssd_.dat $once_per_interval	 		# file name for the statistic output (statially averaged values per time step and subcatchment...)
998                           				# error value: all data in the input file greater than this values or lesser the negative value are nodata
$IDWweight                    				# weighting of the reciprocal distance for IDW
0.75                           				# for interpolation method 3: relative weight of IDW-interpolation in the result
$IDWmaxdist                   				# max. distance of stations to the actual interpolation cell
$Anisoslope                   				# slope of the mean axis of the anisotropy-ellipsis (-90 ... +90 degree, mathem. positive)
$Anisotropie                  				# ratio of the short to the long axis of the anisotropy-ellipsis
0                             				# lower limit of interpolation results
0                             				# replace value for results below the lower limit
1.0                           				# upper limit for interpolation results
1.0                           				# replace value for results with larger values than the upper limit
$SzenUse                      				# 1=use scenario data for correction, 0=dont use scenarios
3                             				# 1=add scenarios, 2=multiply scenarios, 3=percentual change
1                          				# number of scenario cells


[air_humidity]
11                             				# method: 1=idw 2=regress 3=idw+regress 4=thiessen 5=bilinear 6=bilinear gradients and residuals linarly combined
$inpath//$subdir_timeseries//humidity.dat AdditionalColumns=0  	# file name with station data (if method = 1, 3 or 4, else ignored)
900 1500 300 1 150 					# lower inversion [m asl], upper inversion [m asl], tolerance [m], overlap [0/1 for true/false], clusterlimit [m] $outpath//$tempegrid1
$outpath//$humiditygrid          			# name of the output grid (is also used for deriving names of daily, monthly, yearly sums or averages)
$Write_annual_mean                    			# 0, if no grid-output is needed, else one of the codes described above
0.01                           				# correction faktor for results
$outpath//humi.dat $once_per_interval # file name for the statistic output (statially averaged values per time step and subcatchment...)
9998                          				# error value: all data in the input file greater than this values or lesser the negative value are nodata
$IDWweight                    				# weighting of the reciprocal distance for IDW
0.25                          				# for interpolation method 3: relative weight of IDW-interpolation in the result
$IDWmaxdist                   				# max. distance of stations to the actual interpolation cell
$Anisoslope                   				# slope of the mean axis of the anisotropy-ellipsis (-90 ... +90 degree, mathem. positive)
$Anisotropie                  				# ratio of the short to the long axis of the anisotropy-ellipsis
0.01                          				# lower limit of interpolation results
0.01                          				# replace value for results below the lower limit
1.0                           				# upper limit for interpolation results
1.0                           				# replace value for results with larger values than the upper limit
$SzenUse                      				# 1=use scenario data for correction, 0=dont use scenarios
3                             				# 1=add scenarios, 2=multiply scenarios, 3=percentual change
1                             				# number of scenario cells



# ----------  parameter for model components  -----------------

[RegionalSuperposition]
$do_RegionalSuperposition 
$time
NumberOfEntities = 1;
precipitation {
	entityinputgrid = precipitation_reg1 ;
		regions = 1    2    3;
		weights = 1.07 0.0  0.0;
	entityinputgrid = precipitation_reg2 ;
		regions = 1    2    3;
		weights = 0.0  1.07 0.0;
	entityinputgrid = precipitation_reg3 ;
		regions = 1    2    3;
		weights = 0.0  0.0  0.88;
	outputgrid  = $outpath//$preci_grid ; 
		writecode = $Write_annual_sum ;        
	outputtable = $outpath//prec.dat;
		statcode  = $once_per_interval;
}


[precipitation_correction]
$do_precipitation_correction
0.5                   # Snow-rain-temperature
1.07                  # liquid:   b in:  y = p(ax + b)
0.07                  # liquid:   a in:  y = p(ax + b) = 1% more per m/s + 0.5% constant
1.15 #1.17 # 1.15 # 1.20 # 1.14                  # Snow:     b in:  y = p(ax + b)
0.17 #0.20 # 0.17 # 0.24 # 0.19                  # Snow:     a in:  y = p(ax + b) = 15% more per m/s + 45% constant


[radiation_correction]
$do_radiation_correction
$time
2                    					# control parameter for radiation correction (see above)
$outpath//$Tcorrgrid 					# name of the grids with the corrected temperatures
$Write_annual_mean           				# Writegrid for corrected temperatures
5							# scaling factor for temperature correction
$outpath//$ExpoCorrgrid   				# name of the grids with the correction factors for the direct radiation
$Write_annual_mean           				# Writegrid
$outpath//$Shapegrid 					# name of the grids for codes 1 for theor. shadow, 0 for theor. no shadow (day; assumed: SSD=1.0)
$Write_annual_mean           				# Writegrid
1                    					# interval counter, after reaching this value, a new correction is calculated (3=all 3 hours a.s.o.)
1                    					# Spitting of the interval, usefull for time step=24 hours (then: split=24, -> each hour one correction calculation)


[evapotranspiration]
$do_evapotranspiration
$time
1                        				# Method: 1=Penman-Monteith, 2=Hamon (only daily), 3=Wendling (only daily) 4= Haude (only daily)
0.5  0.6  0.8  1.0  1.1 1.1 1.2 1.1 1.0 0.9 0.7 0.5  	# PEC correction factor for HAMON-evapotranspiration
0.20 0.20 0.21 0.29 0.29 0.28 0.26 0.25 0.22 0.22 0.20 0.20 # fh (only for method 4: Haude) monthly values (Jan ... Dec) (here: for Grass)
0.5                      				# fk -> factor for Wendling-evapotranspiration (only for Method = 3)
$outpath//$ETPgrid       				# result grid for pot. evapotranspiration in mm/dt
$Write_annual_sum            				# 0, if no grid-output is needed, else one of the codes described above
$outpath//etp_.dat $once_per_interval				# statisticfile for Teilgebiete of pot. evapo-Transpiration
$outpath//$ETRgrid       				# result grid for real evapotranspiration in mm/dt
$Write_annual_sum            				# 0, if no grid-output is needed, else one of the codes described above
$outpath//etr_.dat $once_per_interval				# statistic for subcatchments (zones) of the real evapotranspiration
$outpath//$EVAPgrid      				# result grid for real evapotranspiration in mm/dt
$Write_annual_sum            				# 0, if no grid-output is needed, else one of the codes described above
$outpath//evap.dat $once_per_interval				# statistic for subcatchments (zones) of the potential evaporation
$outpath//$EVARgrid      				# result grid for real evapotranspiration in mm/dt
$Write_annual_sum            				# 0, if no grid-output is needed, else one of the codes described above
$outpath//evar.dat $once_per_interval				# statistic for subcatchments (zones) of the real evaporation
$outpath//$ETRSgrid	 				# result grid for real snow evapotranspiration in mm/dt
$Write_annual_sum        	 				# 0, if no grid-output is needed, else one of the codes described above
$outpath//etrs.dat $once_per_interval				# statistic for subcatchments (zones) of the real snow evaporation
$outpath//$EIPgrid       				# result grid for pot. interception evaporation in mm/dt
$Write_annual_sum               				# 0, if no grid-output is needed, else one of the codes described above
$outpath//eip_.dat $once_per_interval				# statisticfile for zones of pot. interception evaporation
$outpath//rgex.dat $once_per_interval			# statistic for subcatchments (zones) of the corrected radiation
+0.23   +1.77    -2.28    +1.28    			# coefficients c for Polynom of order 3 RG = c1 + c2*SSD + c3*SSD^2 + c4*SSD^3
+0.072  -0.808   +2.112   -0.239   			# coefficients x for Polynom of order 3 SSD = x1 + x2*RG + x3*RG^2 + x4*RG^3
0.88 0.05                          			# Extinktion coefficient for RG-modeling (Phi and dPhi) (summer phi = phi-dphi, winter phi=phi+dphi)
1654.0                             			# recession constant (e-function for recession of the daily temperature amplitude with altitude [m]
3.3  4.4  6.1  7.9  9.4  10.0  9.9  9.0  7.8  6.0  4.2  3.2  # monthly values of the max. daily T-amplitudes (for 0 m.a.s.l)
0.62  0.1                          			# part of the temperature amplitude (dt), that is added to the mean day-temperature
$outpath//cloud.dat $no_output				# statistic for subcatchments (zones) of the corrected radiation

# snow model methods:
# conventional:
# 1 = T-index
# 2 = T-u-Index
# 3 = energy balance approach after Anderson
# 4 = extended energy balance approach after Braun (based on Anderson) with observed vapor pressure
# extended methods (introduced by Michael Warscher in 2013, implemented into WaSiMs main distribution by J. Schulla, 2014):
# 5 = Enhanced energy balance approach (enhEnbal) (with more sophisticated parameter estimations)
# 6 = enhEnbal + gravitational slides
# 7 = enhEnbal + gravitational slides + wind redistribution
# 8 = T-Index + gravitational slides
# 9 = T-Index + gravitational slides + wind redistribution
# 10 = T-Index + wind redistribution
# 11 = enhEnbal + wind redistribution
# 12 = T-u-Index + gravitational slides
# 13 = T-u-Index + wind redistribution
# 14 = T-u-Index + gravitational slides + wind redistribution

[snow_model]
$do_snow_model
$time
7                    # method 1=T-index, 2=t-u-index, 3=Anderson comb., 4=extended com.
1.0                  # transient zone for rain-snow (T0R +- this range)
0.5                  # T0R    temperature limit for rain (Grad Celsius)
0.5                  # T0     temperature limit snow melt
0.1                  # CWH    storage capacity of the snow for water (relative part)
0.5                  # CRFR   coefficient for refreezing
1.8                  # C0     degree-day-factor mm/d/C
1.2                  # C1     degree-day-factor without wind consideration  mm/(d*C)
1.0                  # C2     degree-day-factor considering wind mm/(d*C*m/s)
0.07                 # z0     roughness length cm for energy bilance methods (not used)
3.5                  # RMFMIN minimum radiation melt factor      mm/d/C comb. method
5.0                  # RMFMAX maximum radiation melt factor      mm/d/C comb. method
0.50                 # Albedo for snow (Min)
0.90                 # Albedo for snow (Max)
$outpath//$rain_rate         				# rain rate
$Write_annual_sum                    		# 0, if no grid-output is needed, else one of the codes described above
$outpath//rain.dat $once_per_interval		# rain rate
$outpath//$snow_rate         			# snow rate
$Write_annual_sum                    		# 0, if no grid-output is needed, else one of the codes described above
$outpath//snow.dat $once_per_interval		# snow rate
$outpath//$days_snow         			# days with snow (SWE > 5mm)
$Writegrid                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//sday.dat $no_output			# days with snow (SWE > 5mm)
$outpath//$snow_age          			# snow age (days without new snow)
$Writegrid                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//sage.dat $no_output			# days since last snowfall
$outpath//albe.dat $no_output			# Albedo
$outpath//$snowcover_outflow 			# discharge from snow, input (precipitation) for following modules
$Write_annual_sum                   		# 0, if no grid-output is needed, else one of the codes described above
$outpath//qsch.dat $no_output			# melt flow (or rain, if there is no snow cover) in mm/dt
$outpath//$melt_from_snowcover 			# discharge from snow, input (precipitation) for following modules
$Write_annual_sum                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//qsme.dat $once_per_interval 		# melt flow in mm/dt
$outpath//$SSNOgrid          			# name of the grids with the snow storage solid in mm
$Writegrid                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//$SLIQgrid          			# name of the grids with the snow storage liquid in mm
$Writegrid                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//swe_.dat $once_per_interval 		# total snow storage, in mm, (liquid and solid fraction)
$outpath//$SSTOgrid          			# name of the grids with the total snow storage solid AND liquid in mm
$Writegrid	                   		# 0, if no grid-output is needed, else one of the codes described above
$readgrids                   			# 1=read snow storage solid, liquid grids from disk, 0=generate new grids
# now some new parameters and file names follow for the snow model extensions implemented in 2014 (originally done by M. Warscher and adopted and a little bit extended to the publicly available release in 2014 by J. Schulla)
$outpath//$snowtemperaturgrid      		# result grid with snow pack temperature
$Writegrid                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//snowtemp.dat $no_output 		# temperature of the snow pack (used for new energy balance model)
$outpath//$snowsurftemperaturgrid  		# result grid with 
$Writegrid                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//ssrftemp.dat $no_output 		# temperature of the snow surface (used for new energy balance model)
$outpath//$inputmassgrid           		# result grid with snow surface temperature
$Writegrid                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//inpmass.dat $no_output 		# input mass for snow redistribution (gravitational snow slides)
$outpath//$mobilemassgrid          		# result grid with input mass for gravitational snow slides
$Writegrid                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//mobmass.dat $no_output 		# moving/mobile mass for snow redistribution (gravitational snow slides)
$outpath//$depositiongrid          		# result grid with deposition amount for each cell (gravitational snow slides)
$Writegrid                   			# 0, if no grid-output is needed, else one of the codes described above
$outpath//deposit.dat $no_output 		# deposition amount (mm) for gravitational slides
55						# maximum deposition slope (0...90)
10						# scaling for maximum deposition (0..inf)
30						# minimum slope for creating slides (0...90) (scale dependent! The coarser the resolution, the smaller this value must be since the average slope decreases).
0.001						# fraction of snow pack that forms the slide (0...1]
1.05	# LWINcorr: correction factor for incoming long wave radiation for fine tuning the energy balance (accouting together with LWOUTcorr for errors in cloudiness and albedo); recommended Values: 0.8...1.2
0.95	# 0.85 # LWOUTcorr: correction factor for outgoing long wave radiation for fine tuning the energy balance (accouting together with LWINcorr for errors in cloudiness and albedo): recommended Values: 0.8...1.2
1.0	# scaling factor for energy balance (taking into account that the complete snow pack is modelled as a single bulk mass instead of as several layers)


[ice_firn]
13   # method for glacier melt: 1=classical t-index, 2=t-index with correction by radiation, 11 = dynamic glacier model with classical t-index, 12 = dynamic glacier model with radiation correction
5.5        # 6.0               				# t-index factor for ice
4.5        # 5.0              				# t-index factor for firn
3.5        # 4.0             				# t-index factor for snow
1.9        # 2.0            				# melt factor
-0.00010   # -0.00010        				# radiation coefficient for ice_min  (for method 2/12)
+0.00070   # +0.00070        				# radiation coefficient for ice_max  (for method 2/12)
+0.00006   # +0.00006         				# radiation coefficient for snow_min (for method 2/12)
+0.00025   # +0.00025       				# radiation coefficient for snow_max (for method 2/12)
12   							# els-konstante for ice
240  							# els-konstante for firn
24   							# els-konstante for snow
0.01  							# initial reservoir content for ice discharge (single linear storage approach)
0.01  							# initial reservoir content for firn discharge (single linear storage approach)
0.01  							# initial reservoir content for snow discharge (single linear storage approach)
$outpath//$firn_melt        				# melt from firn
$Write_annual_sum                   				# 0, if no grid-output is needed, else one of the codes described above
$outpath//qfir.dat $once_per_interval 			# melt from firn as statistic file
$outpath//$ice_melt          				# melt from ice
$Write_annual_sum                   				# 0, if no grid-output is needed, else one of the codes described above
$outpath//qice.dat $once_per_interval 			# melt from ice as statistic file
$outpath//qglc.dat $once_per_interval 			# discharge from snow, ice and firn as statistic file
# -----------------------------------------------------------------------------
# now some new parameters for the new dynamic glacier model (methods 11 and 12)
$outpath//qsgl.dat $once_per_interval 			# melt from snow from glacier only as statistic file (but still with respect tothe subbasins areas!) --> new in version 8.07.00
$readgrids                				# 1=read grids and stacks from disk, 0=generate new grids and stacks (using the parameters in the following line for WE_Firn stack)
7 2700 1.8 						# number of layers for the firn stack, followed by two initialization parameters: average Equilibrium line elevation in m (e.g. 2500) and change rate of WE per m in mm (e.g. 2) -> every 100m the WE of firn in each layer will grow by 200mm
09 30 							# month and day (hour is set automatically to 24) for which the Volume-Area-Relation will be applied newly (and temporary (i.e. internal) Balances are reset to 0)
28.5 1.36 10 4  					# VAscaling and VAexponent for Volume-Area-Relation of glaciers and number of iterations (elevation belts) and extraWeightFactorBand0 (elevation band 0 will be processed in each iteration this given number of times more than once. Default = 0)
$outpath//$firn_WE_stack  				# water equivalent for firn (given as stack, number of layers taken from the parameter given before); layer 0 will contain the total WE for all firn layers
$Writestack           					# 0, if no grid-output is needed, else one of the codes described above
$outpath//glfirn.dat $once_per_interval 		# water equivalent for firn as statistics file (sum over all firn layers)
$outpath//$GlacierMassBalance 				# output grid with mass balance of the glacier
$Writegrid                         			# 3: write at end of simulation (important to start another model run with correct initialization values)
$outpath//$OldGlacierMassBalance 			# output grid with mass balance of the glacier
$Writegrid	                     			# 3: write at end of simulation (important to start another model run with correct initialization values)
$outpath//glmb.dat $no_output 				# mass balance for the glaciers as statistics file (mass balance for each time step with respect to the entire subbasin the glaciers are located in)
$outpath//glmb2.dat $no_output 				# mass balance for the glaciers as statistics file (mass balance for each time step with respect to the glaciers only!)
1.0							# additional parameter when using a debris grid: this value is used to globally scale the values of the debris grid. Only values > nodata are regarded, i.e. when a cells melt coefficient should  not be altered, the debris grid should contain -9999 at this location
# some new parameters for better statistic output (for balance verfication) and also separate handling of snow on glaciers and beside glaciers on the same cell
$outpath//ssto_OffGlac_.dat $once_per_interval 		# total snow storage, in mm, (liquid and solid fraction) for the unglacierized part of a cell (usefull for annual balances of all inputs/outputs/storages, since snow on glaciers is handled in the glacier mass balance already)
$outpath//$SSNOOnGlacgrid      				# name of the grids with the snow storage solid in mm valid for the glacierized part of a cell
$Writegrid                   				# 0, if no grid-output is needed, else one of the codes described above
$outpath//$SLIQOnGlacgrid      				# name of the grids with the snow storage liquid in mm valid for the glacierized part of a cell
$Writegrid                   				# 0, if no grid-output is needed, else one of the codes described above
$outpath//$SSTOOnGlacgrid    				# name of the grids with the total snow storage solid AND liquid in mm valid for the glacierized part of a cell
$Writegrid                   				# 0, if no grid-output is needed, else one of the codes described above
$outpath//$QSNOWOnGlacgrid    				# name of the grids with the total snow outflow in mm valid for the glacierized part of a cell
$Write_annual_sum                   				# 0, if no grid-output is needed, else one of the codes described above
$outpath//$snowsurftemperaturgridGL			# name of the grids with snow surface temperature, valid for the glacierized part of a cell
$Writegrid                   				# 0, if no grid-output is needed, else one of the codes described above
$outpath//$snowtemperaturgridGL    			# name of the grids with snow pack temperature, valid for the glacierized part of a cell
$Writegrid                   				# 0, if no grid-output is needed, else one of the codes described above
$outpath//$ETRSgridGl    				# name of the grids with snow evaporation in mm, valid for the glacierized part of a cell
$Writegrid                   				# 0, if no grid-output is needed, else one of the codes described above
500 0.33 						# additional parameter for versions >= 9.09.08 that describes the SWE on a cell that must be reached before the exceeding SWE is either out to an existing glacier on that cell or a new glacier cell is created (if glid is nodata for that cell). Followed by the fraction of the cell that should be turned into glacier (>0...1.0)

# Layered Snow model is a component that can be used within unsaturated zone model. It handles the snow like soil layers, so heat transfer and water movement will be computed as in a soil.
# therefor it is required to have a section [LayeredSoilProperties] in the control which defines the thermal and hydraulic prperties of snow (like a soil type)
[LayeredSnowModel]
0               # do_LayeredSnow: 0=do not integrate snow pack into the soil model; 1=integrate snow pack into soil model, using several layers of snow (supports heat transfer and Richards-approach of soil/snow water movement)
1		# LayeredSnowMethod: method of dealing with snow layers: 1 = constant thickness, 2=constant density (still under construction)
0.1		# --> not yet active: LayeredSnowMinDensity: minimum density of freshly fallen dry snow (will later be modeled in more detail, i.e. depending on temperatur and wind or so)
0.85		# --> not yet active: LayeredSnowMaxDensity: maximum density of old snow (will later be modeled dynamically depending on snow age, temperature and water content etc.)
-2.0		# recommended: -2.0 ... 0.0 temperature difference of freshly fallen snow to Tair (because snow comes from higher atmospheric layers, the actual snow temperature may be lower than the air temperature in 2m elevation -> otherwise snow fall at 2°C weren't possible). This parameter leads to a cooler snow pack and less melt when the snow pack starts to accumulate (and soils are still warm as well)
0.0		# --> not yet active: scaling parameter for snow internal runoff (like interflow, in analogy to drainage density in interflow module) --> use with care, only effective if k_recession < 1
0.5		# maximum water storage capacity of snow (this parameter exists because snow is looked at as a soil type, so the soil matrix may change into water due to warming up and become "soil moisture" itself). To make the numerical solution more stable, this parameter should be used (0.1...0.2)
1.0		# --> set always to 1.0, otherwise unpredictable behavior! SE effectiveness for snow: effectiveness of SE on reduction of hydraulic conductivity and suction for snow. When set to 0, hydraulic properties of SNOW only are like without snow model (only heat transfer uses SE then). When set to 1, the effectiveness is 100% like in older WaSiM versions. Range 0...1. Recommended: 1
0.0		# SE effectiveness for soil: effectiveness of SE on reduction of hydraulic conductivity and suction for soil. When set to 0, hydraulic properties of SOIL only are like without snow model (only heat transfer uses SE then). When set to 1, the effectiveness is 100% like in older WaSiM versions. Range 0...1. Recommended for first using layered snow model when the calibrated model didn't use heat transfer yet: 0, else 1
# some stacks grids that may be of interest 
$outpath//$SWESstack		# stack with SWE solid values per snow layer
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above
$outpath//$SWELStack		# stack with SWE liquid values per snow layer
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above
$outpath//$temperSnowStack	# stack with snow temperatures per snow layer
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above
$outpath//$thetaSnowStack	# stack with theta values per snow layer
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above
$outpath//$hhSnowStack		# stack with hydraulic heads per snow layer
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above
$outpath//$hgeoSnowStack	# stack with geodetic elevation per snow layer (bottom of layer)
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above
$outpath//$quSnowStack		# stack with (bottom) water fluxes per snow layer
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above
$outpath//$thickSnowStack	# stack with thickness of each snow layer
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above
$outpath//$densSnowStack	# stack with density of each snow layer
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above
$outpath//$upperIndexSnow	# grid that holds the index of the first (uppermost) layer that has a positive SWES value, i.e. the first layer with snow in it
$Writegrid                   # 0, if no grid-output is needed, else one of the codes described above

# snow layer properties: this is a short soil table, since the snow layers are handled like a soil in the model
# all entries have the same syntax as for the soil table, However, some values may not be used internally or even changed dynamically, see comments
# actually, ONLY ONE layer is really used, though.
[LayeredSnowProperties]
1 # number of entries --> ATTENTION: do not change until the model can use multiple layers
1 Snow { method = MultipleHorizons; 
	 ThicknessScaling	= 1.0 ; # use with care - effects on SWE may be unpredictable when changing this parameter value
	 PMacroThresh		= 0 ; # better to use no macropores for snow (not implemented anyway)
	 MacroCapacity		= 0 ; # better to use no macropores for snow (not implemented anyway)
	 CapacityRedu		= 0 ; # better to use no macropores for snow (not implemented anyway)
	 MacroDepth		= 0 ; # better to use no macropores for snow (not implemented anyway)
	 EvapMaxDepth		= 0 ; # there is no evaporation from snow that counts as soil evaporation. 
	 horizon		= 1 ; # ATTENTION: do not use more than one horizon for snow! The layers will be filled up dynamically from bottom to top and also some of the properties will be changed by the model itself. So one horizon is sufficient for now
	 Name			= Snow ; 
	 DryHeatCapacity	= 2000 ; # dry heat capacity in J/(Kg*K) (This needs to be checked, I used Cvol/density)
	 DryDensity 		= 400  ; # dry density in kg/m^3
	 DryThermalConduct	= 2.33 ; # dry thermal conductivity in W/(m*K) (or J/(m*s*K) --> 1J = 1Ws)
	 KMinFrozenSoil		= 1e-6;  # minimum hydraulic conductivity in m/s when the soil is coimpletely frozen -> should be quite high for snow
	 ksat			= 1e-4; # like a highly porous sand or small gravel
	 k_recession		= 1.0  ; # although the saturated hydraulic conductivity decreases, there will be no interflow, only increaed storage in the lower layers
	 theta_sat		= 0.7  ; # (should be 1.0) this will be dynamically adjusted (at least later, wehn the dynamic snow layers are implemented completely)
	 theta_res		= 0.1  ; # (should be 0.0) 
	 alpha			= 18   ; 12  # like ?
	 Par_n			= 4    ; 3   # like a highly porous sand or small gravel
	 Par_tau		= 0.5  ; # like a highly porous sand or small gravel (should always be 0.5 anyway)
	 thickness		= 0.3  ; # this can be changed if required (measure in meters). Do not use too thin layers, since the performance will go down dramatically then (recommended minimum 0.1m, better use 0.2 m)
	 layers			= 30   ; # this can be changed if required (1...inf)
}

[permafrost]
1			# method: 1=simple Alpha*sqrt(snow-free-days) approach to estimate thawdepth
30			# number of days with snow cover after which the soil is assumed to be froozen again
5			# maximum snow water equivalent for the interval to be counted as snow covered (then, the snow-cover-days grid will be incremented by the length of an interval


[interception_model]
$do_interception_model
$time
1						# method: 1 = use ETP for calculating EI; 2 = use EIP for calculating EI (only effective for method 1 in evapotranspiration model -> for other methods, ETP = EIP)
$outpath//$throughfall       			# result grid :  = outflow from the interception storage
$Write_annual_sum                   		# 0, if no grid-output is needed, else one of the codes described above
$outpath//qi__.dat $no_output			# statistic file interception storage outflow
$outpath//$EIgrid            			# Interzeption evaporation, grid
$Write_annual_sum                			# 0, if no grid-output is needed, else one of the codes described above
$outpath//ei__.dat $no_output			# zonal statistic
$outpath//$SIgrid            			# storage content of the interception storage
$Writegrid                			# 0, if no grid-output is needed, else one of the codes described above
$outpath//si__.dat $no_output			# zonal statistic For interception storage content
0.35                         			# layer thickness of the waters on the leaves (multiplied with LAI -> storage capacity)
$readgrids                   			# 1=read grids from disk, else generate internal


[infiltration_model]
$do_infiltration_model
$time


[SiltingUpModel]
$do_SiltingUpModel
$time


[SurfaceRoutingModel]
$do_SurfaceRoutingModel
$time


[lake_model]
$do_lake_model
2                            	# method for recalculating DHM,  
# 1 = do not change the DHM, it refects already the ground surface of the lakes, 
# 2 = use mean_pond_grid to calculate dhm corrections
# max_pond_grid will be used for mapping the cells pond content to a lake during model runs - so the lake level may well rise above the normal surface
0.1 				# Albedo_OpenWater (will be used only, when the pond is filled with water when calculating potential evaporation -> otherwise, the normal landuse for this cell is referenced for this parameter)
0.4  				# z0 for water (usage as above) 
$readgrids                   	# readgrid code 0 do not read, 1 = read grids --> 
# if 0, the initial valte for the POND-grid as Volume of Lakes and Reservoirs is set by V0 from the routing description, 
# if readgrids=1, no initialization in done (POND-Grid is read in) but the Vakt-Value is set by the various grids


[data_assimilation]
$do_data_assimilation
$time


[unsatzon_model]
$do_unsatzon_model
$time
3	# method, 1=simple method (will not work anymore from version 7.x), 2 = FDM-Method 3 = FDM-Method with dynamic time step down to 1 secound
2  	# controlling interaction with surface water: 0 = no interaction, 1 = exfiltration possible 2 = infiltration and exfiltration possible
1  	# controlling surface storage in ponds:       0 = no ponds,       1 = using ponds for surface storage (pond depth as standard grid needed -> height of dams oround fields)
0  	# controlling artificial drainage:            0 = no artificial drainage 1 = using drainage (drainage depth and horizontal pipe distances as standard grids needed!)
0  	# controlling clay layer:                     0 = no clay layer,  1 = assuming a clay layer in a depth, specified within a clay-grid (declared as a standard grid)
5e-8    # permeability of the clay layer (is used for the clay layer only)
4  	# parameter for the initialization of the gw_level (range between 1..levels (standard: 4))
$outpath//qdra.dat $no_output		# results drainage discharge in mm per zone
$outpath//gwst.dat $no_output		# results groundwater depth
$outpath//gwn_.dat $once_per_interval	# results mean groundwater recharge per zone
$outpath//sb05.dat $once_per_interval	# results rel. soil moisture within the root zone per zone
$outpath//sb1_.dat $no_output		# results rel. soil moisture within the unsat. zone (0m..GW table) per zone
$outpath//wurz.dat $no_output		# results statistic of the root depth per zone
$outpath//infx.dat $no_output		# results statistic of the infiltration excess
$outpath//pond.dat $no_output		# results statistic of the ponding water storage content
$outpath//qdir.dat $once_per_interval	# results statistic of the direct discharge
$outpath//qifl.dat $once_per_interval	# results statistic of the interflow
$outpath//qbas.dat $once_per_interval   # results statistic of the baseflow
$outpath//qges.dat $once_per_interval	# results statistic of the total discharge
$outpath//gwin.dat $no_output		# statistic of the infiltration from surface water into groundwater (from rivers and lakes)
$outpath//gwex.dat $once_per_interval	# statistic of the exfiltration from groundwater into surface water (into rivers and lakes)
$outpath//macr.dat $no_output		# statistic of infiltration into macropores
$outpath//qinf.dat $no_output		# statistic of total infiltration into the first soil layer
$outpath//$SB_1_grid         		# grid with actual soil water content for the root zone
$Writegrid                		# Writecode for this grid
$outpath//$SB_2_grid         		# grid with actual soil water content for the entire unsaturated zone
$Writegrid                		# Writecode for this grid
$outpath//$ROOTgrid          		# grid with root depth 
$Writegrid                   		# Writecode for this grid
$outpath//$Thetastack        		# stack, actual soil water content for all soil levels
$Writestack                  		# Writecode for this stack
$outpath//$hydraulic_heads_stack   	# stack, containing hydraulic heads
$Writestack                  		# Writecode for this stack
$outpath//$geodetic_altitude_stack   	# stack, containig geodaetic altitudes of the soil levels (lower boudaries)
$Writestack                  		# Writecode for this stack
$outpath//$flowstack         		# stack, containing the outflows from the soil levels
$Writestack	                  	# Writecode for this stack
$outpath//$GWdepthgrid       		# grid with groudwaterdepth
$Writegrid                   		# Writecode for this grid
$outpath//$GWthetagrid       		# grid with theta in GWLEVEL
$Writegrid                   		# Writecode for this grid
$outpath//$GWNgrid           		# grid with groundwater recharge
$Write_annual_sum                   	# Writecode for this grid
$outpath//$GWLEVELgrid       		# grid with level index of groundwater surface (Index der Schicht)
$Writegrid                   		# Writecode for this grid
$outpath//$QDRAINgrid        		# grid with the drainage flows
$Write_annual_sum                   	# Writecode for this grid
$outpath//$SATTgrid          		# grid with code 1=saturation at interval start, 0 no sat.
$Write_annual_sum              		# Writecode for this grid
$outpath//$INFEXgrid         		# grid with infiltration excess in mm (surface discharge)
$Write_annual_sum                   	# Writecode for this grid
$outpath//$QDgrid            		# grid with direct discharge
$Write_annual_sum                   		# Writecode for this grid
$outpath//$QIgrid            		# grid with Interflow
$Write_annual_sum                   		# Writecode for this grid
$outpath//$QBgrid            		# grid with baseflow
$Write_annual_sum                   		# Writecode for this grid
$outpath//$GWINgrid         		# grid with infiltration from rivers into the soil (groundwater)
$Write_annual_sum                   		# Writecode for this grid
$outpath//$GWEXgrid          		# grid with exfiltration (baseflow) from groundwater (is only generated, if groundwater module is active, else baseflow is in QBgrid)
$Write_annual_sum                   		# Writecode for this grid
$outpath//$act_pond_grid     		# grid with content of ponding storge
$Writegrid                   		# Writecode for this grid
$outpath//$UPRISEgrid        		# grid with amount of capillary uprise (mm)
$Write_annual_sum                   	# Writecode for this grid
$outpath//$PERCOLgrid        		# grid with amount of percolation (mm)
$Write_annual_sum                   	# writegrid for this grid
$outpath//$MACROINFgrid      		# grid with amount of infiltration into macropores (mm)
$Write_annual_sum                   	# Writecode for this grid
$outpath//$irrig_grid        		# grid with irrigation amount (will be written when irrigation is used, only)
$Write_annual_sum                  	# writegrid for this grid (however: will be written when irrigation is used, only)
139 166 				# coordinates of control plot, all theta and qu-values are written to files (qu.dat, theta.dat in the directory, from which the model is started)
$outpath//qbot.dat  			# name of a file containing the flows between the layers of the control point
$outpath//thet.dat  			# name of a file containing the soil moisture as theta values of the layers of the control point      #Code
$outpath//hhyd.dat  			# name of a file containing the hydraulic head of the layers of the control point      # kelskd
$outpath//otherdata.dat  		# name of a file containing some other water balance data of the control point (non layer data)      # kelski
$outpath//etrd.dat  			# name of a file containing the withdrawal of soil water for each layer for the control point (due to transpiration)      # dr
$outpath//intd.dat  			# name of a file containing the interflow for the soil layers of the control point      # k in qb = Q0 * exp(-k/z) with z = depth to groundwater    
#Gruppe        # Q0 in the above formula    
1	2	3	4	5	6	7	8	9	10	11	12	13	14	15	16	17	18	19	20	21	22	23	31	32	33	34	40	41	42	43	44	50	51	52	53	54	55	56	57	58	59	60	61	62	63	64	65	66	67	68	69	70	71	72	73	75	76	77	78	79	80	81	82	83	84	85	86	90	91	92	93	94	95	96	97	98	99	100	101	102	103	110	115	116	117	119	120	122	123	124	125	126	127	128	129	130	131	137	138	140	141	142	150	151	152	153	154	155	157	158	201	207	208	209	210	211	216	217	219	220	221	222	223	224	225	226	227	228	231	232	233	235	236	240	242	243	244	247	248	249	250	251	252	253	254	257	260	262	265	266	267	269	270	272	273	274	275	277	281	282	286	288	300	302	303	305	306	307	308	309	310	311	312	313	316      #Code
$kd001	$kd002	$kd003	$kd004	$kd005	$kd006	$kd007	$kd008	$kd009	$kd010	$kd011	$kd012	$kd013	$kd014	$kd015	$kd016	$kd017	$kd018	$kd019	$kd020	$kd021	$kd022	$kd023	$kd031	$kd032	$kd033	$kd034	$kd311	$kd311	$kd311	$kd311	$kd311	$kd311	$kd311	$kd311	$kd311	$kd311	$kd311	$kd311	$kd311	$kd006	$kd311	$kd311	$kd311	$kd311	$kd311	$kd310	$kd310	$kd006	$kd006	$kd006	$kd006	$kd006	$kd006	$kd006	$kd006	$kd312	$kd312	$kd312	$kd007	$kd007	$kd309	$kd005	$kd313	$kd313	$kd313	$kd313	$kd005	$kd005	$kd005	$kd005	$kd005	$kd316	$kd316	$kd316	$kd316	$kd316	$kd009	$kd009	$kd005	$kd010	$kd010	$kd014	$kd014	$kd014	$kd014	$kd020	$kd034	$kd034	$kd300	$kd300	$kd300	$kd300	$kd300	$kd300	$kd131	$kd300	$kd131	$kd131	$kd300	$kd300	$kd300	$kd300	$kd002	$kd002	$kd003	$kd003	$kd003	$kd305	$kd157	$kd016	$kd006	$kd007	$kd007	$kd007	$kd007	$kd007	$kd309	$kd309	$kd005	$kd312	$kd022	$kd005	$kd005	$kd005	$kd005	$kd005	$kd313	$kd313	$kd231	$kd316	$kd316	$kd009	$kd009	$kd008	$kd008	$kd008	$kd008	$kd010	$kd010	$kd011	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd013	$kd308	$kd308	$kd012	$kd012	$kd015	$kd300	$kd302	$kd303	$kd305	$kd306	$kd307	$kd308	$kd309	$kd310	$kd311	$kd312	$kd313	$kd316   # kelskd
$ki001	$ki002	$ki003	$ki004	$ki005	$ki006	$ki007	$ki008	$ki009	$ki010	$ki011	$ki012	$ki013	$ki014	$ki015	$ki016	$ki017	$ki018	$ki019	$ki020	$ki021	$ki022	$ki023	$ki031	$ki032	$ki033	$ki034	$ki311	$ki311	$ki311	$ki311	$ki311	$ki311	$ki311	$ki311	$ki311	$ki311	$ki311	$ki311	$ki311	$ki006	$ki311	$ki311	$ki311	$ki311	$ki311	$ki310	$ki310	$ki006	$ki006	$ki006	$ki006	$ki006	$ki006	$ki006	$ki006	$ki312	$ki312	$ki312	$ki007	$ki007	$ki309	$ki005	$ki313	$ki313	$ki313	$ki313	$ki005	$ki005	$ki005	$ki005	$ki005	$ki316	$ki316	$ki316	$ki316	$ki316	$ki009	$ki009	$ki005	$ki010	$ki010	$ki014	$ki014	$ki014	$ki014	$ki020	$ki034	$ki034	$ki300	$ki300	$ki300	$ki300	$ki300	$ki300	$ki131	$ki300	$ki131	$ki131	$ki300	$ki300	$ki300	$ki300	$ki002	$ki002	$ki003	$ki003	$ki003	$ki305	$ki157	$ki016	$ki006	$ki007	$ki007	$ki007	$ki007	$ki007	$ki309	$ki309	$ki005	$ki312	$ki022	$ki005	$ki005	$ki005	$ki005	$ki005	$ki313	$ki313	$ki231	$ki316	$ki316	$ki009	$ki009	$ki008	$ki008	$ki008	$ki008	$ki010	$ki010	$ki011	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki013	$ki308	$ki308	$ki012	$ki012	$ki015	$ki300	$ki302	$ki303	$ki305	$ki306	$ki307	$ki308	$ki309	$ki310	$ki311	$ki312	$ki313	$ki316   # kelski
$dr001	$dr002	$dr003	$dr004	$dr005	$dr006	$dr007	$dr008	$dr009	$dr010	$dr011	$dr012	$dr013	$dr014	$dr015	$dr016	$dr017	$dr018	$dr019	$dr020	$dr021	$dr022	$dr023	$dr031	$dr032	$dr033	$dr034	$dr311	$dr311	$dr311	$dr311	$dr311	$dr311	$dr311	$dr311	$dr311	$dr311	$dr311	$dr311	$dr311	$dr006	$dr311	$dr311	$dr311	$dr311	$dr311	$dr310	$dr310	$dr006	$dr006	$dr006	$dr006	$dr006	$dr006	$dr006	$dr006	$dr312	$dr312	$dr312	$dr007	$dr007	$dr309	$dr005	$dr313	$dr313	$dr313	$dr313	$dr005	$dr005	$dr005	$dr005	$dr005	$dr316	$dr316	$dr316	$dr316	$dr316	$dr009	$dr009	$dr005	$dr010	$dr010	$dr014	$dr014	$dr014	$dr014	$dr020	$dr034	$dr034	$dr300	$dr300	$dr300	$dr300	$dr300	$dr300	$dr131	$dr300	$dr131	$dr131	$dr300	$dr300	$dr300	$dr300	$dr002	$dr002	$dr003	$dr003	$dr003	$dr305	$dr157	$dr016	$dr006	$dr007	$dr007	$dr007	$dr007	$dr007	$dr309	$dr309	$dr005	$dr312	$dr022	$dr005	$dr005	$dr005	$dr005	$dr005	$dr313	$dr313	$dr231	$dr316	$dr316	$dr009	$dr009	$dr008	$dr008	$dr008	$dr008	$dr010	$dr010	$dr011	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr013	$dr308	$dr308	$dr012	$dr012	$dr015	$dr300	$dr302	$dr303	$dr305	$dr306	$dr307	$dr308	$dr309	$dr310	$dr311	$dr312	$dr313	$dr316   # dr
0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4	0.4      # k in qb = Q0 * exp(-k/z) with z = depth to groundwater
0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1	0.1      # Q0 in the above formula
$sdf001	$sdf002	$sdf003	$sdf004	$sdf005	$sdf006	$sdf007	$sdf008	$sdf009	$sdf010	$sdf011	$sdf012	$sdf013	$sdf014	$sdf015	$sdf016	$sdf017	$sdf018	$sdf019	$sdf020	$sdf021	$sdf022	$sdf023	$sdf031	$sdf032	$sdf033	$sdf034	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf006	$sdf311	$sdf311	$sdf311	$sdf311	$sdf311	$sdf310	$sdf310	$sdf006	$sdf006	$sdf006	$sdf006	$sdf006	$sdf006	$sdf006	$sdf006	$sdf312	$sdf312	$sdf312	$sdf007	$sdf007	$sdf309	$sdf005	$sdf313	$sdf313	$sdf313	$sdf313	$sdf005	$sdf005	$sdf005	$sdf005	$sdf005	$sdf316	$sdf316	$sdf316	$sdf316	$sdf316	$sdf009	$sdf009	$sdf005	$sdf010	$sdf010	$sdf014	$sdf014	$sdf014	$sdf014	$sdf020	$sdf034	$sdf034	$sdf300	$sdf300	$sdf300	$sdf300	$sdf300	$sdf300	$sdf131	$sdf300	$sdf131	$sdf131	$sdf300	$sdf300	$sdf300	$sdf300	$sdf002	$sdf002	$sdf003	$sdf003	$sdf003	$sdf305	$sdf157	$sdf016	$sdf006	$sdf007	$sdf007	$sdf007	$sdf007	$sdf007	$sdf309	$sdf309	$sdf005	$sdf312	$sdf022	$sdf005	$sdf005	$sdf005	$sdf005	$sdf005	$sdf313	$sdf313	$sdf231	$sdf316	$sdf316	$sdf009	$sdf009	$sdf008	$sdf008	$sdf008	$sdf008	$sdf010	$sdf010	$sdf011	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf013	$sdf308	$sdf308	$sdf012	$sdf012	$sdf015	$sdf300	$sdf302	$sdf303	$sdf305	$sdf306	$sdf307	$sdf308	$sdf309	$sdf310	$sdf311	$sdf312	$sdf313	$sdf316  # sdf
$readgrids               				# meanings are extended now! read the follwing comments
$outpath//storage_richards.ftz				# if readgrids = 1, then this file contains the contents of the flow travel time zones for interflow and surface flow and for the tracers
300 							# minimum dynamic time step in secounds. the smaller this number, the longer the model runs but the results will be more accurate due to a maintained Courant condition
$outpath//step.dat $no_output				# results statistic of the number of substeps 
$outpath//$SUBSTEPSgrid     				# grid with number of substeps --> a good idea is to use writecode 5x (e.g. 53) to get the average number of substeps per cell for the model run
$Write_no_grid               				# for substeps, the areal distribution is of interest for the annual average value. This is code 6 as first digit in 2-digit codes. Or use 5 for the entire model run


[unsatzon_tuning]
max_error = 1e-8
max_iter = 500


[heat_transfer]
$do_heat_transfer


[ExternalCoupling]
$do_ExternalCoupling


[irrigation]
$do_irrigation
$time


[groundwater_flow]
$do_groundwater_flow
$time
1                        				# solving method: 1=Gauss-Seidel-iteration (using alpha for control wether it is explicite, partly or fully implicite), 2=PCG (not yet implemented
100                     				# if iterative solving method (1): max.numberof iterations
0.001                 					# if iterative solving method (1): max. changes between two iterations
1.0                      				# Alpha for estimation of central differences 0.5 = Crank-Nicholson Method, 0 = fully explicite, 1 = fully implicite
1.0                    					# factor for relaxing the iteration if using iterativemethod (successive over[/under] relaxation) 
$readgrids               				# 1=read grids for heads from disk, 0=do not read but initialize with gw-level from unsaturated zone
1                        				# number of layers 
139 166	                				# coordinates of a control point for all fluxes and for each layer : q0..q4, leakage up and down
$outpath//glog.dat  					# name of a file containing the flows between of the control point
1                        				# use Pond Grid -> this enables the model to use the hydraulic head of a pond in addition to the groundwater itself 0=use traditional method without pond (default), 1=use ponds
$outpath//$head1grid     				# (new) grid for hydraulic heads for layer 1
$Writegrid               				# writecode for hydraulic heads for layer 1
$outpath//$flowx1grid    				# (new) grid for fluxes in x direction for layer 1
$Writegrid               				# writecode for flux-x-grid in layer 1
$outpath//$flowy1grid    				# (new) grid for fluxes in y direction for layer 1
$Writegrid               				# writecode for flux-y-grid in layer 1
$outpath//$GWbalance1grid 				# (new) grid for balance (difference of storage change vs. balance of fluxes -> should be 0 or the amount of in-/outflows by boundary conditions
$Writegrid               				# writecode for balance control grid in layer 1 (should be at least one sum grid per year --> Code = 20 or 23 (if old grids must be read in)


[groundwater_tuning]
frozenDepthScaling = 0.0 	# if frozen soils impact on groundwater flows should be reduced, this parameter can be set in the range of 0...1 (1 is fully effectiv as without section groundwater_tuning at all)


[soil_model]
$do_soil_model
$time


# the following declarations will be used in routing descriotions for easier switching on and of  of reservoirs.
# because: if one simply removes a reservoir with its depending abstractions and inflows, the numbering of abstractions and inflows is no longer 
# without gap. So this list of abstractions can be used to close this gap (by renumbering all values in a manner that 
# all n remaining abstractions and inflows are numbered without gap from 1 to n
#the symbols are used consistently for inflows and outflows.
$set $1 = 1
$set $2 = 2
$set $3 = 3
$set $4 = 4
$set $5 = 108 # 5 # --> AL
$set $6 = 109 # 6 # --> AL
$set $7 = 5 # 7
$set $8 = 6 # 8
$set $9 = 7 # 9
$set $10 = 8 # 10
$set $11 = 106 #  11 # --> AL SP 2 ok
$set $12 = 107 #  12 # --> AL SP 2 ok
$set $13 = 9 # 13
$set $14 = 10 # 14
$set $15 = 104 #  15 # --> AL SP 3 ok
$set $16 = 105 #  16 # --> AL SP 3 ok
$set $17 = 11 # 17
$set $18 = 12 # 18
$set $19 = 13 # 19
$set $20 = 14 # 20
$set $21 = 15 # 21
$set $22 = 16 # 22
$set $23 = 17 # 23
$set $24 = 18 # 24
$set $25 = 19 # 25
$set $26 = 102 #  26 # --> AL SP 4 ok
$set $27 = 103 #  27 # --> AL SP 4 ok
$set $28 = 20 # 28
$set $29 = 110 # 29 # --> AL SP 23 notok <<<--------------
$set $30 = 111 # 30 # --> AL SP 23 notok <<<--------------
$set $31 = 21 # 31
$set $32 = 22 # 32
$set $33 = 23 # 33
$set $34 = 100 #  34 # --> AL SP 5 ok
$set $35 = 101 #  35 # --> AL SP 5 ok
$set $36 = 24 # 36
$set $37 = 25 # 37
$set $38 = 26 # 38
$set $39 = 27 # 39
$set $40 = 98 # 40 # --> AL SP 6 ok
$set $41 = 99 # 41 # --> AL SP 6 ok
$set $42 = 96 # 42 # --> AL SP 7 ok
$set $43 = 97 # 43 # --> AL SP 7 ok
$set $44 = 28 # 44
$set $45 = 29 # 45
$set $46 = 30 # 46
$set $47 = 31 # 47
$set $48 = 32 # 48
$set $49 = 94 # 49 # --> AL SP 8 ok
$set $50 = 95 # 50 # --> AL SP 8 ok
$set $51 = 33 # 51
$set $52 = 34 # 52
$set $53 = 35 # 53
$set $54 = 92 #  54 # --> AL SP 9 ok
$set $55 = 93 #  55 # --> AL SP 9 ok
$set $56 = 36 # 56
$set $57 = 37 # 57
$set $58 = 38 # 58
$set $59 = 39 # 59
$set $60 = 90 # 60 # --> AL SP 10 ok
$set $61 = 91 # 61 # --> AL SP 10 ok
$set $62 = 40 # 62
$set $63 = 41 # 63
$set $64 = 88 # 64 # --> AL SP 11 ok
$set $65 = 89 # 65 # --> AL SP 11 ok
$set $66 = 86 # 66 # --> AL SP 11 ok
$set $67 = 87 # 67 # --> AL SP 11 ok
$set $68 = 42 # 68
$set $69 = 84 # 69 # --> AL SP 12 ok
$set $70 = 85 # 70 # --> AL SP 12 ok
$set $71 = 43 # 71
$set $72 = 44 # 72
$set $73 = 45 # 73
$set $74 = 46 # 74
$set $75 = 47 # 75
$set $76 = 82 # 76 # --> AL SP 13 ok
$set $77 = 83 # 77 # --> AL SP 13 ok
$set $78 = 80 # 78 # --> AL SP 14 ok
$set $79 = 81 # 79 # --> AL SP 14 ok
$set $80 = 48 # 80
$set $81 = 78 # 81 # --> AL SP 15 ok
$set $82 = 79 # 82 # --> AL SP 15 ok
$set $83 = 49 # 83
$set $84 = 76 # 84 # --> AL SP 17 ok
$set $85 = 77 # 85 # --> AL SP 17 ok
$set $86 = 50 # 86
$set $87 = 51 # 87
$set $88 = 52 # 88
$set $89 = 53 # 89
$set $90 = 74 # 90 # --> AL SP 16 ok
$set $91 = 75 # 91 # --> AL SP 16 ok
$set $92 = 54 # 92
$set $93 = 55 # 93
$set $94 = 56 # 94
$set $95 = 57 # 95
$set $96 = 58 # 96
$set $97 = 59 # 97
$set $98 = 60 # 98
$set $99 = 61 # 99
$set $100 = 72 # 100 # --> AL SP 18 ok
$set $101 = 73 # 101 # --> AL SP 18 ok
$set $102 = 62 # 102
$set $103 = 63 # 103
$set $104 = 70 # 104 # --> AL SP 19 ok
$set $105 = 71 # 105 # --> AL SP 19 ok
$set $106 = 68 # 106 # --> AL SP 20 ok
$set $107 = 69 # 107 # --> AL SP 20 ok
$set $108 = 64 # 108
$set $109 = 65 # 109
$set $110 = 66 # 110 # --> AL SP21
$set $111 = 67 # 111 # --> AL SP21
$set $112 = 112 # 112 Mapragg in Tamaina vom 15.4. bis 30.09. 1.7m^3/s bis max.2 m3/s im Zielgewaesser
$set $113 = 113 # 113 Gaenglisee (Malbun/Valuena) --> AL SP24
$set $114 = 114 # 114 Gaenglisee (Malbun/Valuena) --> AL SP24
$set $115 = 115 # ABleitung aus Werdenberger Binnenkanal in den Rhein
$set $116 = 116 # Ableitungen aus Speicher 25 in TG 308 (Arosa bzw. Litzirüti)
$set $117 = 117 # Ableitungen aus Speicher 25 in TG 308 (Arosa bzw. Litzirüti)
$set $118 = 118 
$set $119 = 119

$set $dtmin1 = 10 # Sekundenzeitschritt, in dem Stauseen aktualisiert werden (insbesindere kleine ABs m ssen hier kleiner 60 haben um numerisch stabil zu bleiben
$set $dtmin2 = 10 # Sekundenzeitschritt, in dem Stauseen aktualisiert werden (insbesindere kleine ABs m ssen hier kleiner 60 haben um numerisch stabil zu bleiben

$set $Mh = 40.0
$set $Mv = 15.0

[routing_model]
$do_routing_model 					# 0=ignore this module, 1 = run the module, 2=run the module with observed inflows into the routing channels (from discharge files)
$time                
1 4800 150 48         					# minimum/maximum specific discharge (l/s/km^2), number of log. fractions of the range, splitting of the timeintervall (24= 1 hour-intervalls are splitted into 24 Intervalls each of 2.5 min. duration)
$outpath//qgko.dat $routing_code  
$inpath//$subdir_timeseries//spende.dat                         
38  							# number of following column descripotr (which column in the spec. disch. file corresponds to which subbasin
1	1   	# Rhein - Lustenau		# first number: subbasin, second: column index
2	2   	# Rhein - Diepoldsau
3	3   	# Rhein - Bangs
4	4   	# Rhein - Domat/Ems
5	5   	# Hinterrhein - Fuerstenau
6	6   	# Vorderrhein - Ilanz
7	7   	# Glenner - Castrisch
8	8   	# Albula - Tiefencastel
9	9   	# Julia - Tiefencastel
10	10    	# Landwasser - Frauenkirch
11	11    	# Dischmabach - Kriegsmatte
12	12    	# Plessur - Chur
13	13    	# Landquart - Felsenbach
14	14   	# Tamina - Bad Ragaz
15	15    	# Werdenberger BK - Salez
16	16    	# Ill - Gisingen
17	17    	# Frutz - Sulz
18	18    	# Lutz - Garsella
19	19    	# Litz - Schruns
20	20    	# RBK - St. Margrethen
21	21    	# LBK - Ruggall
22	22    	# Hinterrhein - Hinterrhein
23	23    	# Rein da Sumvitg - Sumvitg
31	24    	# Dornbirnerach - Lauterach
33	25    	# Alfenz - Kloesterle
34	26  	# Alvier - Buers
231	27  	# GRJUBI/Julia_/Bivio
300	28	# IllBe/Ill/Beschling	
305	29	# GRRHMA/Rhein_/Maienfeld	
306	30	# GRLAPA/Landquart_/Klosters_Par	
307	31	# GRRHHA/Rhein_/Chur_Haldens	
308	32	# GRPLLA/Plessur_/Arosa_Langwi	
309	33	# GRHRBO/Vorderrhein_/Bonaduz_Fa	
310	34	# GRVRDS/Vorderrhein_/Disentis	
311	35	# GRVRDC/Vorderrhein_/Disentis_C	
312	36	# GRGLVA/Glenner_/Vals
313	37	# GR4482/Averserrhein/Avers_Camp
316	38	# GRJURO/Julia_/Rona
0    #  timeoffset 
# internal abstractions with target TG 40 (SP 1 Curnera)
TG 41 (AE=4.5, AErel=1.0)
 from AL $1 (modus = intern 0.015 0.95 1.2 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 1 (41)! 
TG 42 (AE=5.5, AErel=1.0)
 from AL $2 (modus = intern 0.015 0.95 1.2 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 2 (42)! 
TG 43 (AE=5.75, AErel=1.0)
 from AL $3 (modus = intern 0.007 0.95 1.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 3 (43)! 
TG 44 (AE=1.25, AErel=1.0)
 from AL $4 (modus = intern 0.015 0.95 1.2 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 4 (44)! 
# internal abstractions with target TG 50 (SP 2 Nalps)
TG 51 (AE=3.5, AErel=1.0)
 from AL $7 (modus = intern 0.010 0.95 1.1 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 7 (51)! 
TG 52 (AE=2.25, AErel=1.0)
 from AL $8 (modus = intern 0.006 0.95 2.7 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 8 (52)! 
TG 53 (AE=2.25, AErel=1.0)
 from AL $9 (modus = intern 0.006 0.95 0.8 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 9 (53)! 
TG 54 (AE=4.5, AErel=1.0)
 from AL $10 (modus = intern 0.010 0.95 1.4 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 10 (54)! 
# internal abstractions with target TG 55 (SP 3 St.Maria)
TG 56 (AE=9.75, AErel=1.0)
 from AL $13 (modus = intern 0.030 0.95 4.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 13 (56)! 
TG 57 (AE=5.25, AErel=1.0)
 from AL $14 (modus = intern 0.020 0.95 2.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 14 (57)! 
# internal abstractions with target TG 58 (SP 4 Sumwixertal)
TG 59 (AE=16.0, AErel=1.0)
 from AL $17 (modus = intern 0.050 0.95 3.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 17 (59)! 
TG 63 (AE=2.75, AErel=1.0)
 from AL $21 (modus = intern 0.008 0.95 0.4 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 21 (63)! 
TG 65 (AE=23.5, AErel=1.0)
 from AL $23 (modus = intern 0.080 0.95 4.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 23 (65)! 
TG 66 (AE=11.25, AErel=1.0)
 from AL $24 (modus = intern 0.040 0.95 2.6 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 24 (66)! 
TG 67 (AE=3.5, AErel=1.0)
 from AL $25 (modus = intern 0.012 0.95 0.8 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 25 (67)! 
# internal abstractions with target TG 69 (SP 23 Tavanasa)
TG 71 (AE=5.25, AErel=1.0)
 from AL $31 (modus = intern 0.012 0.95 1.2 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 31 (71)! 
TG 72 (AE=1.0, AErel=1.0)
 from AL $32 (modus = intern 0.005 0.95 0.3 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 32 (72)! 
TG 73 (AE=22.25, AErel=1.0)
 from AL $33 (modus = intern 0.075 0.95 4.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 33 (73)! 
# internal abstractions with target TG 55 (SP 6 Zervreila)
TG 76 (AE=6.0, AErel=1.0)
 from AL $36 (modus = intern 0.010 0.95 3.25 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 36 (76)! 
TG 77 (AE=2.25, AErel=1.0)
 from AL $37 (modus = intern 0.010 0.95 2.8 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 37 (77)! 
TG 78 (AE=17.5, AErel=1.0)
 from AL $38 (modus = intern 0.010 0.95 8.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 38 (78)! 
TG 79 (AE=4.5, AErel=1.0)
 from AL $39 (modus = intern 0.008 0.95 2.2 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 39 (79)! 
# internal abstractions with target TG 80 (SP 8 Lago di Lei)
TG 82 (AE=5.5, AErel=1.0)
 from AL $44 (modus = intern 0.011 0.95 3.9 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 44 (82)! 
TG 83 (AE=1.75, AErel=1.0)
 from AL $45 (modus = intern 0.005 0.95 3.3 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 45 (83)! 
TG 86 (AE=14.5, AErel=1.0)
 from AL $48 (modus = intern 0.045 0.95 10.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 48 (86)! 
# internal abstractions with target TG 90 (SP 9 Sufers)
TG 91 (AE=15.25, AErel=1.0)
 from AL $51 (modus = intern 0.055 0.95 3.3 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 51 (91)! 
TG 92 (AE=12, AErel=1.0)
 from AL $52 (modus = intern 0.037 0.95 0.9 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 52 (92)! 
TG 93 (AE=21.75, AErel=1.0)
 from AL $53 (modus = intern 0.070 0.95 4.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 53 (93)! 
# internal abstractions with target TG 94 (SP 10 Marmorera)
TG 95 (AE=7, AErel=1.0)
 from AL $56 (modus = intern 0.027 0.95 1.3 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 56 (95)! 
TG 96 (AE=5.75, AErel=1.0)
 from AL $57 (modus = intern 0.014 0.95 1.1 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 57 (96)! 
TG 97 (AE=5.75, AErel=1.0)
 from AL $58 (modus = intern 0.012 0.95 0.8 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 58 (97)! 
# internal abstractions with target TG 94 (SP 10 Marmorera)
TG 111 (AE=9.0, AErel=1.0)
 from AL $71 (modus = intern 0.030 0.95 2.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 71 (111)! 
TG 112 (AE=13.75, AErel=1.0)
 from AL $72 (modus = intern 0.050 0.95 4.2 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 72 (112)! 
TG 113 (AE=6.75, AErel=1.0)
 from AL $73 (modus = intern 0.020 0.95 6.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 73 (113)! 
TG 114 (AE=12.5, AErel=1.0)
 from AL $74 (modus = intern 0.043 0.95 3.3 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 74 (114)! 
TG 115 (AE=7, AErel=1.0)
 from AL $75 (modus = intern 0.018 0.95 1.6 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 75 (115)! 
# inflows into subbasins without other routings
TG 40 (AE=26, AErel=1.0) # TG 40 (SP 1 Curnera)
 from ZL $1 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=4.5 )# TG 41
  and ZL $2 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=4.5 )# TG 42
  and ZL $3 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=2.5 )# TG 43
  and ZL $4 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=4.5 )# TG 44
  and SP 1 ( file = $outpath//spv__01_40.dat , V0 = 30E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # Curnera C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $5  (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays 
  and AL $6  (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 50 (AE=22.75, AErel=1.0) # TG 50 (SP 2 Napls)
 from ZL $7 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=3.25 )# TG 51
  and ZL $8 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=1.5 ) # TG 52
  and ZL $9 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=2.25 )# TG 53
  and ZL $10 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=3.75 )# TG 54
  and SP 2 ( file = $outpath//spv__02_50.dat , V0 = 33.75E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Nalps C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $11  (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $12  (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 55 (AE=28.00, AErel=1.0) # TG 55 (SP 3 St.Maria)
 from ZL $13 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=8.75 ) # TG 56
  and ZL $14 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=5.75 ) # TG 57
  and SP 3 ( file = $outpath//spv__03_55.dat , V0 = 50E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # StMaria C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $15  (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $16  (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 110 (AE=45.000 , AErel=1.0) # external inflows from TGs 111 to 115 from outside the basin
 from ZL $71 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=2.5, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=5000, AE=9.000 ) # TG 111
  and ZL $72 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=2.5, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=5000, AE=15.50 ) # TG 112
  and ZL $73 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=2.5, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=5000, AE=6.000 ) # TG 113
  and ZL $74 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=2.5, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=5000, AE=12.75 ) # TG 114
  and ZL $75 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=2.5, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=5000, AE=5.250 ) # TG 115
  and SP 13 ( file = $outpath//spv__13_110.dat , V0 = 25E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Gigerwald C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $76 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $77 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
# routings
TG 116 (AE=122, AErel=1.0)
 from OL 110 (kh=0.1, kv=0.4, Bh= 3.6, Bv= 14.3, Th= 0.74, Mh=//$Mh//, Mv=28.0, I=0.0427, L=9949.7, AE=44.000)
  and ZL $76 (modus = intern , kh=0.4, kv=0.4, Bh=3.0, Bv=2.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.1, L=750, AE=44.00 )# weekdays power generation water from Gigerwald
  and ZL $77 (modus = intern , kh=0.4, kv=0.4, Bh=3.0, Bv=2.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.1, L=750, AE=44.00 )# weekend power generation water from Gigerwald
  and SP 14 ( file = $outpath//spv__14_116.dat , V0 = 2.025E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # Mapragg C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $78 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays into the Rhine 
  and AL $79 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends into the Rhine 
  and AL $112 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation into Tamina
TG 117 (AE=155.75, AErel=1.0)
 from OL 116 (kh=0.1, kv=0.4, Bh= 5.8, Bv= 23.1, Th= 1.07, Mh=//$Mh//, Mv=//$Mv//, I=0.0343, L=5828.4, AE=121.7500000)
TG 14 (AE=157.75, AErel=1.0)
 from OL 117 (kh=0.1, kv=0.4, Bh=17.5, Bv= 70.1, Th= 1.75, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=500.0, AE=156.5000000)	
  and ZL $112 (modus = intern , kh=0.1, kv=0.4, Bh= 5.0, Bv= 20.2, Th= 1.08, Mh=//$Mh//, Mv=//$Mv//, I=0.0462, L=500, AE=121.750) # TG 116 Speicher Mapragg HW Überlauf
#TG 117 (AE=157.000, AErel=1.0)
# from OL 116 (kh=0.1, kv=0.4, Bh= 5.0, Bv= 20.2, Th= 1.08, Mh=//$Mh//, Mv=28.0, I=0.0462, L=6328.4, AE=121.750)
#TG 14 (AE=157.250, AErel=1.0)
# from OL 117 (kh=0.1, kv=0.4, Bh= 5.0, Bv= 20.2, Th= 1.08, Mh=//$Mh//, Mv=28.0, I=0.0462, L=500, AE=157.750)
#  and ZL $112 (modus = intern , kh=0.1, kv=0.4, Bh= 5.0, Bv= 20.2, Th= 1.08, Mh=//$Mh//, Mv=28.0, I=0.0462, L=500, AE=121.750) # TG 116 Speicher Mapragg HW Überlauf
TG 60 (AE=81.5, AErel=1.0)
 from OL 41 (kh=0.1, kv=0.4, Bh= 1.2, Bv=  4.6, Th= 0.32, Mh=//$Mh//, Mv=//$Mv//, I=0.0770, L=7449.7, AE=4.500)
  and OL 42 (kh=0.1, kv=0.4, Bh= 1.4, Bv=  5.5, Th= 0.32, Mh=//$Mh//, Mv=//$Mv//, I=0.0531, L=7449.7, AE=4.500)
  and OL 43 (kh=0.1, kv=0.4, Bh= 1.1, Bv=  4.4, Th= 0.25, Mh=//$Mh//, Mv=//$Mv//, I=0.0531, L=7449.7, AE=2.500)
  and OL 44 (kh=0.1, kv=0.4, Bh= 1.3, Bv=  5.4, Th= 0.31, Mh=//$Mh//, Mv=//$Mv//, I=0.0531, L=7449.7, AE=4.250)
  and OL 40 (kh=0.1, kv=0.4, Bh= 2.3, Bv=  9.2, Th= 0.61, Mh=//$Mh//, Mv=//$Mv//, I=0.0705, L=7449.7, AE=25.250)
  and AL $18 (modus = intern 0.250 0.95 8.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 18 (60)! 
TG 61 (AE=30.75, AErel=1.0)
 from OL 50 (kh=0.1, kv=0.4, Bh= 2.0, Bv=  8.1, Th= 0.58, Mh=//$Mh//, Mv=//$Mv//, I=0.0834, L=4121.3, AE=21.750)
  and AL $19 (modus = intern 0.100 0.95 2.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 19 (61)! 
TG 62 (AE=9, AErel=1.0)
 from OL 54 (kh=0.1, kv=0.4, Bh= 0.8, Bv=  3.1, Th= 0.31, Mh=//$Mh//, Mv=//$Mv//, I=0.1601, L=2500.0, AE=3.750)
  and AL $20 (modus = intern 0.028 0.95 0.7 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 20 (62)! 
TG 64 (AE=94.75, AErel=1.0)
 from OL 53 (kh=0.1, kv=0.4, Bh= 1.1, Bv=  4.6, Th= 0.24, Mh=//$Mh//, Mv=//$Mv//, I=0.0449, L=6328.4, AE=2.250)
  and OL 52 (kh=0.1, kv=0.4, Bh= 1.0, Bv=  3.8, Th= 0.21, Mh=//$Mh//, Mv=//$Mv//, I=0.0471, L=7535.5, AE=1.500)
  and OL 51 (kh=0.1, kv=0.4, Bh= 1.3, Bv=  5.2, Th= 0.28, Mh=//$Mh//, Mv=//$Mv//, I=0.0463, L=9242.6, AE=3.250)
  and OL 56 (kh=0.1, kv=0.4, Bh= 1.7, Bv=  7.0, Th= 0.41, Mh=//$Mh//, Mv=//$Mv//, I=0.0541, L=9742.6, AE=8.750)
  and OL 55 (kh=0.1, kv=0.4, Bh= 2.9, Bv= 11.6, Th= 0.61, Mh=//$Mh//, Mv=//$Mv//, I=0.0449, L=9742.6, AE=27.000)
  and OL 57 (kh=0.1, kv=0.4, Bh= 1.6, Bv=  6.2, Th= 0.35, Mh=//$Mh//, Mv=//$Mv//, I=0.0494, L=9535.5, AE=5.750)
  and AL $22 (modus = intern 0.300 0.95 8.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 22 (64)! 
TG 58 (AE=56.75, AErel=1.0) # TG 58 (SP 4 Sumvixertal)
 from OL 23 (kh=0.1, kv=0.4, Bh= 2.9, Bv= 11.6, Th= 0.56, Mh=//$Mh//, Mv=28.0, I=0.0374, L=4328.4, AE=21.750)
  and ZL $17 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=20000, AE=15.25 ) # TG 59
  and ZL $18 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=20000, AE=79.00 ) # TG 60
  and ZL $19 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=4.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=500, AE=31.75 ) # TG 61
  and ZL $20 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=15000, AE=8.25 ) # TG 62
  and ZL $21 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=13000, AE=2.75 ) # TG 63
  and ZL $22 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=12000, AE=94.5 ) # TG 64
  and ZL $23 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=23.0 ) # TG 65
  and ZL $24 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=5.5 ) # TG 66
  and ZL $25 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=3000, AE=4.0 ) # TG 67
  and SP 4 ( file = $outpath//spv__04_58.dat , V0 = 0.33E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # Somvix C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $26  (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays (to Tavanasa)
  and AL $27  (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends (to Tavanasa)
# new subbasin 311 that collects a number of tributaries that were formerly directly routed to TG 68
TG 311 (AE=162.5, AErel=1.0)
 from OL 59 (kh=0.1, kv=0.4, Bh= 3.0, Bv= 12.0, Th= 0.49, Mh=//$Mh//, Mv=//$Mv//, I=0.0263, L=8242.6, AE=15.2500000)
  and OL 60 (kh=0.1, kv=0.4, Bh= 5.6, Bv= 22.3, Th= 0.90, Mh=//$Mh//, Mv=//$Mv//, I=0.0263, L=8242.6, AE=79.0000000)
  and OL 63 (kh=0.1, kv=0.4, Bh= 1.4, Bv=  5.6, Th= 0.26, Mh=//$Mh//, Mv=//$Mv//, I=0.0345, L=2621.3, AE=2.7500000)
  and OL 61 (kh=0.1, kv=0.4, Bh= 4.0, Bv= 16.2, Th= 0.64, Mh=//$Mh//, Mv=//$Mv//, I=0.0250, L=6742.6, AE=31.7500000)
  and OL 62 (kh=0.1, kv=0.4, Bh= 2.2, Bv=  8.7, Th= 0.39, Mh=//$Mh//, Mv=//$Mv//, I=0.0322, L=5242.6, AE=8.2500000)
# another new subbasin that collects some othe rtribs that were formerly routed directly to TG 68
TG 310 (AE=303.5, AErel=1.0)
 from OL 311 (kh=0.1, kv=0.4, Bh= 6.7, Bv= 26.9, Th= 1.19, Mh=//$Mh//, Mv=//$Mv//, I=0.0311, L=1207.1, AE=161.0000000)
  and OL 65  (kh=0.1, kv=0.4, Bh= 2.2, Bv=  8.9, Th= 0.59, Mh=//$Mh//, Mv=//$Mv//, I=0.0703, L=4328.4, AE=23.0000000)
  and OL 64  (kh=0.1, kv=0.4, Bh= 3.8, Bv= 15.1, Th= 1.00, Mh=//$Mh//, Mv=//$Mv//, I=0.0703, L=4328.4, AE=94.5000000)
TG 68 (AE=558.75, AErel=1.0)
 from OL 201 (kh=0.1, kv=0.4, Bh= 3.8, Bv= 15.0, Th= 0.76, Mh=//$Mh//, Mv=//$Mv//, I=0.0410, L=16571.0, AE=48.2500000)
  and OL 310 (kh=0.1, kv=0.4, Bh=12.9, Bv= 51.8, Th= 1.46, Mh=//$Mh//, Mv=//$Mv//, I=0.0127, L=16192.3, AE=298.2500000)
  and OL 67  (kh=0.1, kv=0.4, Bh= 1.7, Bv=  6.7, Th= 0.30, Mh=//$Mh//, Mv=//$Mv//, I=0.0315, L=13071.0, AE=4.0000000)
  and OL 66  (kh=0.1, kv=0.4, Bh= 1.6, Bv=  6.4, Th= 0.34, Mh=//$Mh//, Mv=//$Mv//, I=0.0453, L=13863.9, AE=5.5000000)
  and OL 58  (kh=0.1, kv=0.4, Bh= 4.5, Bv= 18.2, Th= 0.80, Mh=//$Mh//, Mv=//$Mv//, I=0.0315, L=13071.0, AE=57.2500000)
  and AL $28 (modus = intern 3.0 0.95 12.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 28 (68)! -> this is the amount of water flowing into Tavanasa reservoir for power generation in Illanz
  and ZL $5 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=25.25 )# weekdays power generation water from Curnera
  and ZL $6 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=25.25 )# weekend power generation water from Curnera
  and ZL $11 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=21.75 )# weekdays power generation water from Nalps
  and ZL $12 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=21.75 )# weekend power generation water from Nalps
  and ZL $15 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=27.00 )# weekdays power generation water from StMaria
  and ZL $16 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=27.00 )# weekend power generation water from StMaria
#TG 68 (AE=556.2500000, AErel=1.0)
# from OL 201 (kh=0.1, kv=0.4, Bh= 3.8, Bv= 15.0, Th= 0.76, Mh=//$Mh//, Mv=//$Mv//, I=0.0410, L=16571.0, AE=48.2500000)
#  and OL 59 (kh=0.1, kv=0.4, Bh= 3.4, Bv= 13.8, Th= 0.48, Mh=//$Mh//, Mv=//$Mv//, I=0.0197, L=25642.0, AE=15.2500000)
#  and OL 60 (kh=0.1, kv=0.4, Bh= 6.4, Bv= 25.5, Th= 0.90, Mh=//$Mh//, Mv=//$Mv//, I=0.0197, L=25642.0, AE=79.0000000)
#  and OL 67 (kh=0.1, kv=0.4, Bh= 1.7, Bv=  6.7, Th= 0.30, Mh=//$Mh//, Mv=//$Mv//, I=0.0315, L=13071.0, AE=4.0000000)
#  and OL 66 (kh=0.1, kv=0.4, Bh= 1.6, Bv=  6.4, Th= 0.34, Mh=//$Mh//, Mv=//$Mv//, I=0.0453, L=13863.9, AE=5.5000000)
#  and OL 65 (kh=0.1, kv=0.4, Bh= 3.6, Bv= 14.3, Th= 0.57, Mh=//$Mh//, Mv=//$Mv//, I=0.0252, L=20520.7, AE=23.0000000)
#  and OL 58 (kh=0.1, kv=0.4, Bh= 4.5, Bv= 18.2, Th= 0.80, Mh=//$Mh//, Mv=//$Mv//, I=0.0315, L=13071.0, AE=57.2500000)
#  and OL 63 (kh=0.1, kv=0.4, Bh= 1.8, Bv=  7.4, Th= 0.25, Mh=//$Mh//, Mv=//$Mv//, I=0.0189, L=20020.7, AE=2.7500000)
#  and OL 61 (kh=0.1, kv=0.4, Bh= 4.6, Bv= 18.5, Th= 0.64, Mh=//$Mh//, Mv=//$Mv//, I=0.0189, L=24142.0, AE=31.7500000)
#  and OL 62 (kh=0.1, kv=0.4, Bh= 2.7, Bv= 10.8, Th= 0.38, Mh=//$Mh//, Mv=//$Mv//, I=0.0202, L=22642.0, AE=8.2500000)
#  and OL 64 (kh=0.1, kv=0.4, Bh= 6.1, Bv= 24.3, Th= 0.96, Mh=//$Mh//, Mv=//$Mv//, I=0.0252, L=20520.7, AE=94.5000000)
#  and AL $28 (modus = intern 7.0 0.95 12.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 28 (68)! -> this is the amount of water flowing into Tavanasa reservoir for power generation in Illanz
TG 69 (AE=0.25, AErel=1.0)
 from ZL $28 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=556 )# weekdays power generation water from Sumvix
  and ZL $26 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=556 )# weekdays power generation water from Sumvix
  and ZL $27 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=556 )# weekend power generation water from Sumvix
  and SP 23 ( file = $outpath//spv__23_68.dat , V0 = 1.0E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # AB Tavanasa C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $29 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $30 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 70 (AE=20.000, AErel=1.0)
 from ZL $31 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=10000, AE=4.25 ) # TG 71
  and ZL $32 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=10000, AE=1.75 ) # TG 72
  and ZL $33 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=10000, AE=22.25 ) # TG 73
  and SP 5  ( file = $outpath//spv__05_70.dat , V0 = 5.3E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Panix C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $34 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $35 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 6 (AE=773.25, AErel=1.0)
 from OL 73 (kh=0.1, kv=0.4, Bh= 1.7, Bv=  6.7, Th= 0.60, Mh=//$Mh//, Mv=//$Mv//, I=0.1278, L=5914.2, AE=22.250)
  and OL 70 (kh=0.1, kv=0.4, Bh= 2.3, Bv=  9.1, Th= 0.57, Mh=//$Mh//, Mv=//$Mv//, I=0.0621, L=12035.5, AE=21.000)
  and OL 71 (kh=0.1, kv=0.4, Bh= 1.2, Bv=  5.0, Th= 0.31, Mh=//$Mh//, Mv=//$Mv//, I=0.0621, L=12035.5, AE=4.250)
  and OL 72 (kh=0.1, kv=0.4, Bh= 0.9, Bv=  3.8, Th= 0.22, Mh=//$Mh//, Mv=//$Mv//, I=0.0554, L=11535.5, AE=1.750)
  and OL 68 (kh=0.1, kv=0.4, Bh=18.5, Bv= 74.0, Th= 1.85, Mh=//$Mh//, Mv=//$Mv//, I=0.0095, L=13949.7, AE=556.0)
  and OL 69 (kh=0.1, kv=0.4, Bh=18.5, Bv= 74.0, Th= 1.85, Mh=//$Mh//, Mv=//$Mv//, I=0.0095, L=13949.7, AE=0.25)
#  and SUMTRIB 68&69 (kh=0.1, kv=0.4, Bh=18.5, Bv= 74.0, Th= 1.85, Mh=//$Mh//, Mv=28.0, I=0.0095, L=13949.7, AE=556.0) --> this is erronoeous -> todo: check and debug!!
  and ZL $29 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=13000, AE=556.25 )# weekdays power generation water from Tavanasa
  and ZL $30 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=13000, AE=556.25 )# weekend power generation water from Tavanasa
  and ZL $34 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=11500, AE=47.25 )# weekdays power generation water from Panix
  and ZL $35 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=11500, AE=47.25 )# weekend power generation water from Panix
TG 80 (AE=105, AErel=1.0)
 from ZL $40 (modus = intern , kh=0.4, kv=0.4, Bh=3.0, Bv=2.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=500, AE=56.0 )# weekdays power generation water from Zervreila
  and ZL $41 (modus = intern , kh=0.4, kv=0.4, Bh=3.0, Bv=2.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=500, AE=56.0 )# weekend power generation water from Zervreila
  and SP 7  ( file = $outpath//spv__07_80.dat , V0 = 0.75E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # AB Egschi C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $42 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $43 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 210 (AE=54.75, AErel=1.0)
 from OL 211 (kh=0.1, kv=0.4, Bh= 3.1, Bv= 12.3, Th= 0.61, Mh=//$Mh//, Mv=//$Mv//, I=0.0396, L=4414.2, AE=26.7500000)
TG 209 (AE=82.25, AErel=1.0)
 from OL 210 (kh=0.1, kv=0.4, Bh= 3.7, Bv= 15.0, Th= 0.80, Mh=//$Mh//, Mv=//$Mv//, I=0.0456, L=3121.3, AE=54.2500000)
TG 207 (AE=105.75, AErel=1.0)
 from OL 209 (kh=0.1, kv=0.4, Bh= 4.5, Bv= 17.8, Th= 0.94, Mh=//$Mh//, Mv=//$Mv//, I=0.0442, L=5035.5, AE=83.2500000)
TG 75 (AE=55, AErel=1.0)
 from OL 220 (kh=0.1, kv=0.4, Bh= 3.8, Bv= 15.2, Th= 0.61, Mh=//$Mh//, Mv=//$Mv//, I=0.0258, L=1707.1, AE=27.7500000)
  and ZL $36 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=4.000 ) # TG 76
  and ZL $37 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=3000, AE=3.000 ) # TG 77
  and ZL $38 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=18.25 ) # TG 78
  and ZL $39 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=9000, AE=2.500 ) # TG 79
  and SP 6  ( file = $outpath//spv__06_75.dat , V0 = 75E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Zervreila C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $40 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $41 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
# new subbasin 312 downstream Zervreila at Vals
TG 312 (AE=92.5000000, AErel=1.0)
 from OL 77  (kh=0.1, kv=0.4, Bh= 0.9, Bv=  3.6, Th= 0.28, Mh=//$Mh//, Mv=//$Mv//, I=0.0949, L=3535.5, AE=3.0000000)
  and OL 75  (kh=0.1, kv=0.4, Bh= 3.1, Bv= 12.6, Th= 0.83, Mh=//$Mh//, Mv=//$Mv//, I=0.0692, L=7571.0, AE=56.5000000)
  and OL 76  (kh=0.1, kv=0.4, Bh= 1.1, Bv=  4.3, Th= 0.31, Mh=//$Mh//, Mv=//$Mv//, I=0.0829, L=4949.7, AE=4.0000000)
TG 208 (AE=186.25, AErel=1.0)
 from OL 312 (kh=0.1, kv=0.4, Bh= 4.8, Bv= 19.3, Th= 0.97, Mh=//$Mh//, Mv=//$Mv//, I=0.0406, L=10414.2, AE=92.5000000)
  and OL 79  (kh=0.1, kv=0.4, Bh= 1.1, Bv=  4.2, Th= 0.25, Mh=//$Mh//, Mv=//$Mv//, I=0.0580, L=14742.6, AE=2.5000000)
  and OL 78  (kh=0.1, kv=0.4, Bh= 2.2, Bv=  8.9, Th= 0.54, Mh=//$Mh//, Mv=//$Mv//, I=0.0580, L=14742.6, AE=18.2500000)
#TG 208 (AE=183.0000000, AErel=1.0)
# from OL 77 (kh=0.1, kv=0.4, Bh= 1.2, Bv=  4.7, Th= 0.27, Mh=//$Mh//, Mv=//$Mv//, I=0.0543, L=13949.7, AE=3.0000000)
#  and OL 79 (kh=0.1, kv=0.4, Bh= 1.1, Bv=  4.2, Th= 0.25, Mh=//$Mh//, Mv=//$Mv//, I=0.0580, L=14742.6, AE=2.5000000)
#  and OL 75 (kh=0.1, kv=0.4, Bh= 3.6, Bv= 14.2, Th= 0.82, Mh=//$Mh//, Mv=//$Mv//, I=0.0526, L=17985.2, AE=56.5000000)
#  and OL 76 (kh=0.1, kv=0.4, Bh= 1.3, Bv=  5.2, Th= 0.30, Mh=//$Mh//, Mv=//$Mv//, I=0.0542, L=15363.9, AE=4.0000000)
#  and OL 78 (kh=0.1, kv=0.4, Bh= 2.2, Bv=  8.9, Th= 0.54, Mh=//$Mh//, Mv=//$Mv//, I=0.0580, L=14742.6, AE=18.2500000)
TG 7 (AE=380.5, AErel=1.0)
 from OL 207 (kh=0.1, kv=0.4, Bh= 7.2, Bv= 28.9, Th= 1.00, Mh=//$Mh//, Mv=//$Mv//, I=0.0193, L=8742.6, AE=106.5000000)
  and OL 208 (kh=0.1, kv=0.4, Bh= 8.8, Bv= 35.4, Th= 1.23, Mh=//$Mh//, Mv=//$Mv//, I=0.0193, L=8742.6, AE=183.0000000)
TG 103 (AE=35.5, AErel=1.0)
 from AL $68 (modus = intern 0.110 0.95 4.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 68 (103)! 
TG 102 (AE=13.25, AErel=1.0)
 from ZL $68 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=60.0, Th=1.4, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=4000, AE=35.25 )# TG 103
  and SP 12 ( file = $outpath//spv__12_102.dat , V0 = 12E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # Davosersee C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $69 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $70 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 269 (AE=70.25, AErel=1.0)
 from OL 270 (kh=0.1, kv=0.4, Bh= 3.1, Bv= 12.4, Th= 0.62, Mh=//$Mh//, Mv=//$Mv//, I=0.0401, L=4328.4, AE=28.2500000)
TG 273 (AE=66.25, AErel=1.0)
 from OL 274 (kh=0.1, kv=0.4, Bh= 2.2, Bv=  9.0, Th= 0.61, Mh=//$Mh//, Mv=//$Mv//, I=0.0742, L=5414.2, AE=25.0000000)
  and OL 275 (kh=0.1, kv=0.4, Bh= 2.2, Bv=  8.7, Th= 0.59, Mh=//$Mh//, Mv=//$Mv//, I=0.0738, L=4914.2, AE=23.0000000)
TG 251 (AE=45.25, AErel=1.0)
 from OL 253 (kh=0.1, kv=0.4, Bh= 2.5, Bv=  9.9, Th= 0.59, Mh=//$Mh//, Mv=//$Mv//, I=0.0555, L=3707.1, AE=23.2500000)
TG 250 (AE=53.5, AErel=1.0)
 from OL 254 (kh=0.1, kv=0.4, Bh= 1.8, Bv=  7.0, Th= 0.57, Mh=//$Mh//, Mv=//$Mv//, I=0.1060, L=5328.4, AE=20.2500000)
#neues TG 306 Klosters Pardenn
TG 306 (AE=102.75, AErel=1.0)
 from OL 251 (kh=0.1, kv=0.4, Bh=10.9, Bv= 43.7, Th= 1.09, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=1707.1, AE=44.2500000)
  and OL 250 (kh=0.1, kv=0.4, Bh=11.6, Bv= 46.5, Th= 1.16, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=1707.1, AE=52.2500000)
TG 257 (AE=120.2500000, AErel=1.0)
 from OL 306 (kh=0.1, kv=0.4, Bh= 5.2, Bv= 20.8, Th= 1.00, Mh=//$Mh//, Mv=//$Mv//, I=0.0371, L=3707.1, AE=101.2500000)
#TG 257 (AE=120.2500000, AErel=1.0)
# from OL 251 (kh=0.1, kv=0.4, Bh= 4.4, Bv= 17.4, Th= 0.73, Mh=//$Mh//, Mv=//$Mv//, I=0.0279, L=5414.2, AE=44.2500000)
#  and OL 250 (kh=0.1, kv=0.4, Bh= 4.6, Bv= 18.6, Th= 0.77, Mh=//$Mh//, Mv=//$Mv//, I=0.0279, L=5414.2, AE=52.2500000)
TG 252 (AE=156.25, AErel=1.0)
 from OL 257 (kh=0.1, kv=0.4, Bh= 5.6, Bv= 22.3, Th= 1.07, Mh=//$Mh//, Mv=//$Mv//, I=0.0369, L=3328.4, AE=120.2500000)
  and ZL $69 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=38000, AE=6.5 )# weekdays power generation water from Davosersee
  and ZL $70 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=38000, AE=6.5 )# weekend power generation water from Davosersee
TG 265 (AE=256, AErel=1.0)
 from OL 260 (kh=0.1, kv=0.4, Bh= 2.5, Bv= 10.1, Th= 0.65, Mh=//$Mh//, Mv=//$Mv//, I=0.0665, L=12949.7, AE=30.2500000)
  and OL 252 (kh=0.1, kv=0.4, Bh= 8.0, Bv= 31.9, Th= 1.17, Mh=//$Mh//, Mv=//$Mv//, I=0.0215, L=8828.4, AE=159.5000000)
TG 13 (AE=615.5, AErel=1.0)
 from OL 269 (kh=0.1, kv=0.4, Bh= 8.4, Bv= 33.8, Th= 0.84, Mh=//$Mh//, Mv=//$Mv//, I=0.0086, L=7500.0, AE=65.2500000)
  and OL 262 (kh=0.1, kv=0.4, Bh= 4.1, Bv= 16.4, Th= 0.71, Mh=//$Mh//, Mv=//$Mv//, I=0.0303, L=23485.2, AE=41.5000000)
  and OL 273 (kh=0.1, kv=0.4, Bh= 6.3, Bv= 25.0, Th= 0.85, Mh=//$Mh//, Mv=//$Mv//, I=0.0184, L=3500.0, AE=68.5000000)
  and OL 272 (kh=0.1, kv=0.4, Bh= 3.1, Bv= 12.6, Th= 0.65, Mh=//$Mh//, Mv=//$Mv//, I=0.0428, L=1500.0, AE=31.5000000)
  and OL 267 (kh=0.1, kv=0.4, Bh= 7.5, Bv= 29.9, Th= 0.75, Mh=//$Mh//, Mv=//$Mv//, I=0.0068, L=10914.2, AE=41.7500000)
  and OL 265 (kh=0.1, kv=0.4, Bh=12.8, Bv= 51.3, Th= 1.38, Mh=//$Mh//, Mv=//$Mv//, I=0.0116, L=17449.7, AE=259.2500000)
  and OL 266 (kh=0.1, kv=0.4, Bh= 4.9, Bv= 19.5, Th= 0.53, Mh=//$Mh//, Mv=//$Mv//, I=0.0119, L=15742.6, AE=20.2500000)
TG 11 (AE=45.5, AErel=1.0)
 from OL 249 (kh=0.1, kv=0.4, Bh= 3.1, Bv= 12.5, Th= 0.63, Mh=//$Mh//, Mv=//$Mv//, I=0.0406, L=4535.5, AE=28.7500000)
TG 247 (AE=48.5, AErel=1.0)
 from OL 248 (kh=0.1, kv=0.4, Bh= 2.7, Bv= 10.8, Th= 0.62, Mh=//$Mh//, Mv=//$Mv//, I=0.0525, L=5742.6, AE=27.0000000)
TG 10 (AE=191.75, AErel=1.0)
 from OL 102 (kh=0.1, kv=0.4, Bh= 3.9, Bv= 15.7, Th= 0.39, Mh=//$Mh//, Mv=//$Mv//, I=0.0050, L=8363.9, AE=6.5000000)
  and OL 103 (kh=0.1, kv=0.4, Bh= 7.3, Bv= 29.0, Th= 0.73, Mh=//$Mh//, Mv=//$Mv//, I=0.0056, L=8863.9, AE=35.2500000)
  and OL 11 (kh=0.1, kv=0.4, Bh= 5.7, Bv= 22.7, Th= 0.73, Mh=//$Mh//, Mv=//$Mv//, I=0.0165, L=10778.1, AE=46.0000000)
  and OL 247 (kh=0.1, kv=0.4, Bh=11.3, Bv= 45.1, Th= 1.13, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=2121.3, AE=48.2500000)
TG 244 (AE=293.75, AErel=1.0)
 from OL 10 (kh=0.1, kv=0.4, Bh= 6.6, Bv= 26.3, Th= 1.25, Mh=//$Mh//, Mv=//$Mv//, I=0.0362, L=14692.3, AE=184.0000000)
TG 242 (AE=175.75, AErel=1.0)
 from OL 240 (kh=0.1, kv=0.4, Bh= 3.4, Bv= 13.5, Th= 0.79, Mh=//$Mh//, Mv=//$Mv//, I=0.0552, L=10863.9, AE=51.7500000)
  and OL 243 (kh=0.1, kv=0.4, Bh= 3.1, Bv= 12.2, Th= 0.71, Mh=//$Mh//, Mv=//$Mv//, I=0.0541, L=11571.0, AE=39.0000000)
TG 8 (AE=470.25, AErel=1.0)
 from OL 244 (kh=0.1, kv=0.4, Bh=18.6, Bv= 74.5, Th= 1.86, Mh=//$Mh//, Mv=//$Mv//, I=0.0025, L=7121.3, AE=292.2500000)
  and OL 242 (kh=0.1, kv=0.4, Bh=15.4, Bv= 61.4, Th= 1.54, Mh=//$Mh//, Mv=//$Mv//, I=0.0025, L=7121.3, AE=174.5000000)
TG 98 (AE=32.25, AErel=1.0)
 from OL 233 (kh=0.1, kv=0.4, Bh= 1.9, Bv=  7.4, Th= 0.61, Mh=//$Mh//, Mv=//$Mv//, I=0.1082, L=1914.2, AE=23.7500000)
  and AL $59 (modus = intern 0.095 0.95 3.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 59 (98)! 
TG 232 (AE=72.5, AErel=1.0)
 from OL 231 (kh=0.1, kv=0.4, Bh= 4.1, Bv= 16.3, Th= 0.83, Mh=//$Mh//, Mv=//$Mv//, I=0.0408, L=2207.1, AE=59.7500000)
TG 94 (AE=89, AErel=1.0)
 from OL 232 (kh=0.1, kv=0.4, Bh= 8.1, Bv= 32.4, Th= 0.86, Mh=//$Mh//, Mv=//$Mv//, I=0.0113, L=2914.2, AE=73.7500000)
  and ZL $56 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=3000, AE=8.250 ) # TG 95
  and ZL $57 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=4.250 ) # TG 96
  and ZL $58 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=3.750 ) # TG 97
  and ZL $59 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=3000, AE=29.75 ) # TG 98
  and SP 10 ( file = $outpath//spv__10_94.dat , V0 = 46.5E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Marmorera C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $60 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $61 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
# new sub basin 316 Julia/Rona downstream Marmorera reservoir
TG 316 (AE=165.5, AErel=1.0)
 from OL 95  (kh=0.1, kv=0.4, Bh= 1.7, Bv=  7.0, Th= 0.40, Mh=//$Mh//, Mv=//$Mv//, I=0.0514, L=5414.2, AE=8.2500000)
  and OL 98  (kh=0.1, kv=0.4, Bh= 4.0, Bv= 16.2, Th= 0.62, Mh=//$Mh//, Mv=//$Mv//, I=0.0238, L=4207.1, AE=29.7500000)
  and OL 96  (kh=0.1, kv=0.4, Bh= 1.1, Bv=  4.4, Th= 0.31, Mh=//$Mh//, Mv=//$Mv//, I=0.0815, L=6207.1, AE=4.2500000)
  and OL 97  (kh=0.1, kv=0.4, Bh= 1.1, Bv=  4.2, Th= 0.30, Mh=//$Mh//, Mv=//$Mv//, I=0.0815, L=6207.1, AE=3.7500000)
  and OL 94  (kh=0.1, kv=0.4, Bh= 5.1, Bv= 20.5, Th= 0.95, Mh=//$Mh//, Mv=//$Mv//, I=0.0345, L=5707.1, AE=88.2500000)
TG 100 (AE=307.5, AErel=1.0)
 from OL 236 (kh=0.1, kv=0.4, Bh= 8.7, Bv= 35.0, Th= 0.87, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=1707.1, AE=24.5000000)
  and OL 235 (kh=0.1, kv=0.4, Bh= 6.2, Bv= 24.7, Th= 0.68, Mh=//$Mh//, Mv=//$Mv//, I=0.0121, L=6742.6, AE=39.0000000)
  and OL 99  (kh=0.1, kv=0.4, Bh= 2.6, Bv= 10.3, Th= 0.67, Mh=//$Mh//, Mv=//$Mv//, I=0.0683, L=9156.8, AE=33.0000000)
  and OL 316 (kh=0.1, kv=0.4, Bh= 6.4, Bv= 25.7, Th= 1.19, Mh=//$Mh//, Mv=//$Mv//, I=0.0342, L=8949.7, AE=159.7500000)
  and AL $62 ( modus = intern_with_rule ) # used to bypass water from Tinizong to reservoir Solis on weekdays
  and AL $63 ( modus = intern_with_rule ) # used to bypass water from Tinizong to reservoir Solis on weekends
#old TG 100 without OL 316
#TG 100 (AE=304.7500000, AErel=1.0)
# from OL 236 (kh=0.1, kv=0.4, Bh= 8.7, Bv= 35.0, Th= 0.87, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=1707.1, AE=24.5000000)
#  and OL 235 (kh=0.1, kv=0.4, Bh= 6.2, Bv= 24.7, Th= 0.68, Mh=//$Mh//, Mv=//$Mv//, I=0.0121, L=6742.6, AE=39.0000000)
#  and OL 99 (kh=0.1, kv=0.4, Bh= 2.6, Bv= 10.3, Th= 0.67, Mh=//$Mh//, Mv=//$Mv//, I=0.0683, L=9156.8, AE=33.0000000)
#  and OL 95 (kh=0.1, kv=0.4, Bh= 1.9, Bv=  7.8, Th= 0.39, Mh=//$Mh//, Mv=//$Mv//, I=0.0407, L=14363.9, AE=8.2500000)
#  and OL 98 (kh=0.1, kv=0.4, Bh= 3.6, Bv= 14.3, Th= 0.63, Mh=//$Mh//, Mv=//$Mv//, I=0.0309, L=13156.8, AE=29.7500000)
#  and OL 96 (kh=0.1, kv=0.4, Bh= 1.3, Bv=  5.4, Th= 0.31, Mh=//$Mh//, Mv=//$Mv//, I=0.0535, L=15156.8, AE=4.2500000)
#  and OL 97 (kh=0.1, kv=0.4, Bh= 1.3, Bv=  5.1, Th= 0.30, Mh=//$Mh//, Mv=//$Mv//, I=0.0535, L=15156.8, AE=3.7500000)
#  and OL 94 (kh=0.1, kv=0.4, Bh= 5.1, Bv= 20.5, Th= 0.95, Mh=//$Mh//, Mv=//$Mv//, I=0.0343, L=14656.8, AE=88.2500000)
#  and AL $62 ( modus = intern_with_rule ) # used to bypass water from Tinizong to reservoir Solis on weekdays
#  and AL $63 ( modus = intern_with_rule ) # used to bypass water from Tinizong to reservoir Solis on weekends
TG 9 (AE=392.0000000, AErel=1.0)
 from OL 100 (kh=0.1, kv=0.4, Bh= 6.8, Bv= 27.0, Th= 1.53, Mh=//$Mh//, Mv=//$Mv//, I=0.0516, L=3707.1, AE=304.7500000)
TG 101 (AE=881.75, AErel=1.0)
 from OL  8 (kh=0.1, kv=0.4, Bh=19.5, Bv= 77.8, Th= 1.95, Mh=//$Mh//, Mv=//$Mv//, I=0.0065, L=4914.2, AE=525.0000000)
  and OL  9 (kh=0.1, kv=0.4, Bh=16.3, Bv= 65.1, Th= 1.63, Mh=//$Mh//, Mv=//$Mv//, I=0.0065, L=4914.2, AE=326.0000000)
  and ZL $60 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=18000, AE=84.0 )# weekdays power generation water from Marmorera (skips over TGs 100 and 9)
  and ZL $61 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=18000, AE=84.0 )# weekend power generation water from Marmorera (skips over TGs 100 and 9)
  and ZL $62 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=84.0 )# weekdays power generation water from Tinizong (skips over TGs 100 and 9)
  and ZL $63 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=84.0 )# weekend power generation water from Tinizong (skips over TGs 100 and 9)
  and SP 11 ( file = $outpath//spv__11_101.dat , V0 = 3.0E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # Solis C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $64 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays in Sils (before mouhting of Albula into Hinterrhein --> target is TG 5)
  and AL $65 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends in Sils (before mouhting of Albula into Hinterrhein --> target is TG 5)
  and AL $66 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays in Rothenbrunnen (after mouhting of Albula into Hinterrhein --> target is TG 4)
  and AL $67 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends in Rothenbrunnen (after mouhting of Albula into Hinterrhein --> target is TG 4)
TG 22 (AE=45.75, AErel=1.0)
 from OL 221 (kh=0.1, kv=0.4, Bh= 3.2, Bv= 12.7, Th= 0.56, Mh=//$Mh//, Mv=//$Mv//, I=0.0309, L=5035.5, AE=21.5000000)
TG 223 (AE=76, AErel=1.0)
 from OL 22 (kh=0.1, kv=0.4, Bh= 6.0, Bv= 24.0, Th= 0.72, Mh=//$Mh//, Mv=//$Mv//, I=0.0143, L=5621.3, AE=44.7500000)
TG 224 (AE=106.25, AErel=1.0)
 from OL 223 (kh=0.1, kv=0.4, Bh=12.9, Bv= 51.7, Th= 1.29, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=500.0, AE=69.2500000)
  and OL 222 (kh=0.1, kv=0.4, Bh= 9.6, Bv= 38.2, Th= 0.96, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=500.0, AE=31.0000000)
TG 225 (AE=160.5, AErel=1.0)
 from OL 224 (kh=0.1, kv=0.4, Bh=10.1, Bv= 40.4, Th= 1.01, Mh=//$Mh//, Mv=//$Mv//, I=0.0089, L=5621.3, AE=107.5000000)
TG 226 (AE=167.5, AErel=1.0)
 from OL 225 (kh=0.1, kv=0.4, Bh= 8.8, Bv= 35.3, Th= 1.16, Mh=//$Mh//, Mv=//$Mv//, I=0.0172, L=2414.2, AE=157.7500000)
TG 90 (AE=190.25, AErel=1.0)
 from OL 226 (kh=0.1, kv=0.4, Bh=18.0, Bv= 72.1, Th= 1.80, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=3328.4, AE=168.2500000)
  and ZL $51 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=15.500 ) # TG 91
  and ZL $52 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=11.75 ) # TG 92
  and ZL $53 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=21.00 ) # TG 93
  and SP 9  ( file = $outpath//spv__09_90.dat , V0 = 13.72E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # Sufers C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $54 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $55 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 81 (AE=46.5, AErel=1.0)
 from ZL $44 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=3.250 ) # TG 82
  and ZL $45 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=1.500 ) # TG 83
  and ZL $46 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=41.25 ) # TG 84
  and ZL $47 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=33.00 ) # TG 85
  and ZL $48 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=14.50 ) # TG 86
  and ZL $54 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=106.5 )# weekdays power generation water from Sufers
  and ZL $55 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=106.5 )# weekend power generation water from Sufers
  and SP 8  ( file = $outpath//spv__08_81.dat , V0 = 148E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Lago di Lei C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $49 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $50 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 84 (AE=43.75, AErel=1.0)
 from OL 228 (kh=0.1, kv=0.4, Bh= 8.4, Bv= 33.8, Th= 0.84, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=707.1, AE=22.2500000)
  and AL $46 (modus = intern 0.1 0.95 15.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 46 (84)! 
TG 85 (AE=33.25, AErel=1.0)
 from OL 227 (kh=0.1, kv=0.4, Bh= 4.5, Bv= 18.1, Th= 0.57, Mh=//$Mh//, Mv=//$Mv//, I=0.0158, L=1914.2, AE=24.0000000)
  and AL $47 (modus = intern 0.1 0.95 12.1 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 47 (85)! 
# new sub basin 313 Avers Campsut (Hinterrheingebiet)
TG 313 (AE=120.25, AErel=1.0)
 from OL 82 (kh=0.1, kv=0.4, Bh= 1.4, Bv=  5.6, Th= 0.28, Mh=//$Mh//, Mv=//$Mv//, I=0.0393, L=6035.5, AE=3.2500000)
  and OL 83 (kh=0.1, kv=0.4, Bh= 1.1, Bv=  4.5, Th= 0.21, Mh=//$Mh//, Mv=//$Mv//, I=0.0332, L=7449.7, AE=1.5000000)
  and OL 84 (kh=0.1, kv=0.4, Bh= 3.9, Bv= 15.7, Th= 0.71, Mh=//$Mh//, Mv=//$Mv//, I=0.0332, L=7449.7, AE=41.2500000)
  and OL 85 (kh=0.1, kv=0.4, Bh= 4.1, Bv= 16.5, Th= 0.65, Mh=//$Mh//, Mv=//$Mv//, I=0.0248, L=7328.4, AE=33.0000000)
TG 5 (AE=1591.25, AErel=1.0)
 from OL 219 (kh=0.1, kv=0.4, Bh= 4.5, Bv= 18.2, Th= 0.62, Mh=//$Mh//, Mv=//$Mv//, I=0.0188, L=2707.1, AE=30.2500000)
  and OL 101 (kh=0.1, kv=0.4, Bh=13.1, Bv= 52.4, Th= 2.23, Mh=//$Mh//, Mv=//$Mv//, I=0.0291, L=8742.6, AE=877.5000000)
  and OL 92  (kh=0.1, kv=0.4, Bh= 1.9, Bv=  7.6, Th= 0.45, Mh=//$Mh//, Mv=//$Mv//, I=0.0578, L=12656.8, AE=11.7500000)
  and OL 93  (kh=0.1, kv=0.4, Bh= 2.4, Bv=  9.6, Th= 0.56, Mh=//$Mh//, Mv=//$Mv//, I=0.0551, L=14863.9, AE=21.0000000)
  and OL 90  (kh=0.1, kv=0.4, Bh= 6.5, Bv= 26.0, Th= 1.27, Mh=//$Mh//, Mv=//$Mv//, I=0.0384, L=20778.1, AE=191.2500000)
  and OL 91  (kh=0.1, kv=0.4, Bh= 2.5, Bv= 10.0, Th= 0.50, Mh=//$Mh//, Mv=//$Mv//, I=0.0393, L=20278.1, AE=15.5000000)
  and OL 86  (kh=0.1, kv=0.4, Bh= 2.2, Bv=  8.9, Th= 0.49, Mh=//$Mh//, Mv=//$Mv//, I=0.0477, L=27106.5, AE=14.5000000)
  and OL 313 (kh=0.1, kv=0.4, Bh= 5.6, Bv= 22.2, Th= 1.07, Mh=//$Mh//, Mv=//$Mv//, I=0.0373, L=28813.6, AE=121.0000000)
  and OL 81  (kh=0.1, kv=0.4, Bh= 3.7, Bv= 14.7, Th= 0.75, Mh=//$Mh//, Mv=//$Mv//, I=0.0411, L=30020.7, AE=45.7500000)
  and ZL $49 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=800, AE=106.5 )# weekdays power generation water from Lago di Lei
  and ZL $50 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=800, AE=106.5 )# weekend power generation water from Lago di Lei
# ZL 64 and 65 were formerly routed t sub basin 4
  and ZL $64 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=600, AE=307.0 ) # weekdays power generation water from Solis
  and ZL $65 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=600, AE=307.0 ) # weekend power generation water from Solis
#  and ZL $54 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=106.5 )# weekdays power generation water from Sufers
#  and ZL $55 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=106.5 )# weekend power generation water from Sufers
#TG 5 (AE=1588.2500000, AErel=1.0)
# from OL 219 (kh=0.1, kv=0.4, Bh= 4.5, Bv= 18.2, Th= 0.62, Mh=//$Mh//, Mv=//$Mv//, I=0.0188, L=2707.1, AE=30.2500000)
#  and OL 101 (kh=0.1, kv=0.4, Bh=13.1, Bv= 52.4, Th= 2.23, Mh=//$Mh//, Mv=//$Mv//, I=0.0291, L=8742.6, AE=877.5000000)
#  and OL 92 (kh=0.1, kv=0.4, Bh= 1.9, Bv=  7.6, Th= 0.45, Mh=//$Mh//, Mv=//$Mv//, I=0.0578, L=12656.8, AE=11.7500000)
#  and OL 93 (kh=0.1, kv=0.4, Bh= 2.4, Bv=  9.6, Th= 0.56, Mh=//$Mh//, Mv=//$Mv//, I=0.0551, L=14863.9, AE=21.0000000)
#  and OL 90 (kh=0.1, kv=0.4, Bh= 6.5, Bv= 26.0, Th= 1.27, Mh=//$Mh//, Mv=//$Mv//, I=0.0384, L=20778.1, AE=191.2500000)
#  and OL 91 (kh=0.1, kv=0.4, Bh= 2.5, Bv= 10.0, Th= 0.50, Mh=//$Mh//, Mv=//$Mv//, I=0.0393, L=20278.1, AE=15.5000000)
#  and OL 86 (kh=0.1, kv=0.4, Bh= 2.2, Bv=  8.9, Th= 0.49, Mh=//$Mh//, Mv=//$Mv//, I=0.0477, L=27106.5, AE=14.5000000)
#  and OL 82 (kh=0.1, kv=0.4, Bh= 1.4, Bv=  5.7, Th= 0.28, Mh=//$Mh//, Mv=//$Mv//, I=0.0376, L=34849.1, AE=3.2500000)
#  and OL 81 (kh=0.1, kv=0.4, Bh= 3.7, Bv= 14.7, Th= 0.75, Mh=//$Mh//, Mv=//$Mv//, I=0.0411, L=30020.7, AE=45.7500000)
#  and OL 83 (kh=0.1, kv=0.4, Bh= 1.1, Bv=  4.3, Th= 0.21, Mh=//$Mh//, Mv=//$Mv//, I=0.0364, L=36263.3, AE=1.5000000)
#  and OL 84 (kh=0.1, kv=0.4, Bh= 3.7, Bv= 15.0, Th= 0.72, Mh=//$Mh//, Mv=//$Mv//, I=0.0364, L=36263.3, AE=41.2500000)
#  and OL 85 (kh=0.1, kv=0.4, Bh= 3.5, Bv= 14.1, Th= 0.66, Mh=//$Mh//, Mv=//$Mv//, I=0.0348, L=36142.0, AE=33.0000000)
#  and ZL $49 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=106.5 )# weekdays power generation water from Lago di Lei
#  and ZL $50 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=106.5 )# weekend power generation water from Lago di Lei
## ZL 64 and 65 were formerly routed t sub basin 4
#  and ZL $64 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=307.0 ) # weekdays power generation water from Solis
#  and ZL $65 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=307.0 ) # weekend power generation water from Solis
##  and ZL $54 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=106.5 )# weekdays power generation water from Sufers
##  and ZL $55 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=106.5 )# weekend power generation water from Sufers
#neues TG 309 Vorderrhein Bonaduz Farsch
TG 309 (AE=1498.25, AErel=1.0)
 from OL 216 (kh=0.1, kv=0.4, Bh= 4.5, Bv= 18.0, Th= 0.69, Mh=//$Mh//, Mv=//$Mv//, I=0.0234, L=8328.4, AE=38.7500000)
  and OL 217 (kh=0.1, kv=0.4, Bh= 4.3, Bv= 17.4, Th= 0.66, Mh=//$Mh//, Mv=//$Mv//, I=0.0234, L=8328.4, AE=35.2500000)
  and OL  6  (kh=0.1, kv=0.4, Bh=22.9, Bv= 91.8, Th= 2.29, Mh=//$Mh//, Mv=//$Mv//, I=0.0058, L=19520.7, AE=771.0000000)
  and OL  7  (kh=0.1, kv=0.4, Bh=17.6, Bv= 70.6, Th= 1.76, Mh=//$Mh//, Mv=//$Mv//, I=0.0058, L=19520.7, AE=382.5000000)
  and OL 80  (kh=0.1, kv=0.4, Bh= 5.3, Bv= 21.2, Th= 1.02, Mh=//$Mh//, Mv=//$Mv//, I=0.0371, L=15278.1, AE=106.5000000)
TG 4 (AE=3229.75, AErel=1.0)
 from OL 309 (kh=0.1, kv=0.4, Bh=29.6, Bv=118.5, Th= 2.96, Mh=//$Mh//, Mv=//$Mv//, I=0.0056, L=4621.3, AE=1501.0000000)
  and OL  5  (kh=0.1, kv=0.4, Bh=32.4, Bv=129.5, Th= 3.24, Mh=//$Mh//, Mv=//$Mv//, I=0.0039, L=19656.8, AE=1588.2500000)
  and ZL $42 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=800, AE=106.5 )# weekdays power generation water from Zervreila via AB Egschi
  and ZL $43 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=800, AE=106.5 )# weekend power generation water from Zervreila via AB Egschi
#  and ZL $64 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=307.0 ) # weekdays power generation water from Solis
#  and ZL $65 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=307.0 ) # weekend power generation water from Solis
  and ZL $66 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1200, AE=307.0 ) # weekdays power generation water from Solis
  and ZL $67 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1200, AE=307.0 ) # weekend power generation water from Solis
#TG 4 (AE=3215.7500000, AErel=1.0)
# from OL 216 (kh=0.1, kv=0.4, Bh= 5.1, Bv= 20.5, Th= 0.68, Mh=//$Mh//, Mv=//$Mv//, I=0.0177, L=12949.7, AE=38.7500000)
#  and OL 217 (kh=0.1, kv=0.4, Bh= 5.0, Bv= 19.8, Th= 0.66, Mh=//$Mh//, Mv=//$Mv//, I=0.0177, L=12949.7, AE=35.2500000)
#  and OL  6 (kh=0.1, kv=0.4, Bh=22.7, Bv= 90.8, Th= 2.27, Mh=//$Mh//, Mv=//$Mv//, I=0.0061, L=24142.0, AE=771.0000000)
#  and OL  7 (kh=0.1, kv=0.4, Bh=17.5, Bv= 69.8, Th= 1.75, Mh=//$Mh//, Mv=//$Mv//, I=0.0061, L=24142.0, AE=382.5000000)
#  and OL  5 (kh=0.1, kv=0.4, Bh=32.4, Bv=129.5, Th= 3.24, Mh=//$Mh//, Mv=//$Mv//, I=0.0039, L=19656.8, AE=1588.2500000)
#  and OL 80 (kh=0.1, kv=0.4, Bh= 5.8, Bv= 23.3, Th= 1.01, Mh=//$Mh//, Mv=//$Mv//, I=0.0302, L=19899.4, AE=106.5000000)
#  and ZL $42 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=106.5 )# weekdays power generation water from Zervreila/Egschi
#  and ZL $43 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=106.5 )# weekend power generation water from Zervreila/Egschi
#  and ZL $64 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=307.0 ) # weekdays power generation water from Solis
#  and ZL $65 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=307.0 ) # weekend power generation water from Solis
#  and ZL $66 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=12000, AE=307.0 ) # weekdays power generation water from Solis
#  and ZL $67 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=12000, AE=307.0 ) # weekend power generation water from Solis
#neues TG 308 Arosa Langwies
TG 308 (AE=113.0, AErel=1.0)
 from OL 277 (kh=0.1, kv=0.4, Bh= 4.0, Bv= 15.8, Th= 0.71, Mh=//$Mh//, Mv=//$Mv//, I=0.0318, L=1207.1, AE=40.2500000)
  and OL 281 (kh=0.1, kv=0.4, Bh= 3.0, Bv= 12.0, Th= 0.74, Mh=//$Mh//, Mv=//$Mv//, I=0.0606, L=5828.4, AE=42.7500000)
  and SP 25 ( file = $outpath//spv__25_308.dat , V0 = 2.0E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Litzirüti
  and AL $116 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays Litzirüti
  and AL $117 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends Litzirüti
TG 282 (AE=140, AErel=1.0)
 from OL 308 (kh=0.1, kv=0.4, Bh= 4.6, Bv= 18.4, Th= 1.06, Mh=//$Mh//, Mv=//$Mv//, I=0.0532, L=3500.0, AE=113.0000000)
  and ZL $116 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1200, AE=113.25 ) # weekdays power generation water from Litzirüti
  and ZL $117 (modus = intern , kh=0.4, kv=0.4, Bh=4.0, Bv=0.0, Th=3.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1200, AE=113.25 ) # weekend power generation water from Litzirüti
##TG 282 (AE=141.7500000, AErel=1.0)
# from OL 277 (kh=0.1, kv=0.4, Bh= 3.2, Bv= 12.7, Th= 0.72, Mh=//$Mh//, Mv=//$Mv//, I=0.0507, L=4707.1, AE=40.2500000)
#  and OL 281 (kh=0.1, kv=0.4, Bh= 3.0, Bv= 12.1, Th= 0.74, Mh=//$Mh//, Mv=//$Mv//, I=0.0593, L=9328.4, AE=42.7500000)
TG 12 (AE=269.00000, AErel=1.0)
 from OL 282 (kh=0.1, kv=0.4, Bh= 5.8, Bv= 23.3, Th= 1.14, Mh=//$Mh//, Mv=//$Mv//, I=0.0383, L=13363.9, AE=141.7500000)
  and OL 286 (kh=0.1, kv=0.4, Bh= 3.3, Bv= 13.3, Th= 0.75, Mh=//$Mh//, Mv=//$Mv//, I=0.0518, L=6328.4, AE=46.0000000)
TG 307 (AE=3536.5, AErel=1.0)
 from OL  4  (kh=0.1, kv=0.4, Bh=54.5, Bv=217.9, Th= 5.45, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=7863.9, AE=3215.7500000)
  and OL 12  (kh=0.1, kv=0.4, Bh=21.5, Bv= 85.9, Th= 2.15, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=1707.1, AE=268.2500000)
TG 155 (AE=4265.5, AErel=1.0)
 from OL 13  (kh=0.1, kv=0.4, Bh=16.7, Bv= 66.6, Th= 1.92, Mh=//$Mh//, Mv=//$Mv//, I=0.0133, L=4414.2, AE=618.2500000)
  and OL 307 (kh=0.1, kv=0.4, Bh=43.5, Bv=174.1, Th= 4.35, Mh=//$Mh//, Mv=//$Mv//, I=0.0040, L=11742.6, AE=3542.7500000)
#TG 156 (AE=3541.750, AErel=1.0)
# from OL  4 (kh=0.1, kv=0.4, Bh=30.0, Bv=100, Th= 2, Mh=45.0, Mv=28.0, I=0.0020, L=7156.8, AE=3215.750)
#  and OL 12 (kh=0.1, kv=0.4, Bh=21.5, Bv= 85.9, Th= 2.15, Mh=//$Mh//, Mv=28.0, I=0.0010, L=1000.0, AE=268.250)
#TG 155 (AE=4262.250, AErel=1.0)
# from OL 13 (kh=0.1, kv=0.4, Bh=16.7, Bv= 66.6, Th= 1.92, Mh=//$Mh//, Mv=28.0, I=0.0133, L=4414.2, AE=618.250)
#  and OL 156 (kh=0.1, kv=0.4, Bh=40.0, Bv=100.0, Th= 2, Mh=45.0, Mv=28.0, I=0.0068, L=12449.7, AE=3541.750)
# neuer Pegel Rhein/Maienfeld, der auch die Zuflüsse von Mapragg erfasst
TG 305 (AE=4291.0000000, AErel=1.0)
 from OL 155 (kh=0.1, kv=0.4, Bh=51.5, Bv=206.0, Th= 5.15, Mh=45.0, Mv=//$Mv//, I=0.0024, L=4621.3, AE=4262.2500000)
  and ZL $78 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=600, AE=121.00 )# weekdays power generation water from Mapragg
  and ZL $79 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=600, AE=121.00 )# weekend power generation water from Mapragg
TG 154 (AE=4460.0000000, AErel=1.0)
 from OL 305 (kh=0.1, kv=0.4, Bh=58.2, Bv=232.7, Th= 5.82, Mh=//$Mh//, Mv=//$Mv//, I=0.0013, L=1414.2, AE=4286.0000000)
  and OL 14 (kh=0.1, kv=0.4, Bh= 8.9, Bv= 35.4, Th= 1.15, Mh=//$Mh//, Mv=//$Mv//, I=0.0170, L=2207.1, AE=156.7500000)
#TG 154 (AE=4456.250, AErel=1.0)
# from OL 14 (kh=0.1, kv=0.4, Bh= 8.9, Bv= 35.5, Th= 1.15, Mh=//$Mh//, Mv=28.0, I=0.0170, L=2207.1, AE=157.250)
#  and OL 155 (kh=0.1, kv=0.4, Bh=50, Bv=100, Th= 2, Mh=45.0, Mv=28.0, I=0.0048, L=6035.5, AE=4262.250)
#  and ZL $78 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=121.00 )# weekdays power generation water from Mapragg
#  and ZL $79 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=121.00 )# weekend power generation water from Mapragg
TG 153 (AE=4526.5, AErel=1.0)
 from OL 303 (kh=0.1, kv=0.4, Bh=10.5, Bv= 41.9, Th= 1.05, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2914.2, AE=54.0000000)
  and OL 154 (kh=0.1, kv=0.4, Bh=53.3, Bv=100, Th= 2, Mh=//$Mh//, Mv=//$Mv//, I=0.0042, L=14192.3, AE=4456.0000000)
#alt ohne Zufluss 303 (neues Gebiet)
#TG 153 (AE=4547.500, AErel=1.0)
# from OL 154 (kh=0.1, kv=0.4, Bh=50.0, Bv=100, Th= 2, Mh=45.0, Mv=28.0, I=0.0042, L=13778.1, AE=4456.250)
TG 152 (AE=4536.000, AErel=1.0)
 from OL 153 (kh=0.1, kv=0.4, Bh=40, Bv=100.3, Th= 6.43, Mh=//$Mh//, Mv=//$Mv//, I=0.0040, L=11121.3, AE=4517.500)
TG 122 (AE=5, AErel=1.0)
 from AL $80 (modus = intern 0.0 0.95 2.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 80 (122)! 
TG 120 (AE=10.75, AErel=1.0)
 from ZL $80 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=4.7500 ) # TG 122
  and SP 15 ( file = $outpath//spv__15_120.dat , V0 = 58.7E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Lünersee C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $81 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $82 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 34 (AE=79.5, AErel=1.0)
 from OL 120 (kh=0.1, kv=0.4, Bh= 1.7, Bv=  6.7, Th= 0.44, Mh=//$Mh//, Mv=//$Mv//, I=0.0706, L=10156.8, AE=11.00)
  and OL 122 (kh=0.1, kv=0.4, Bh= 1.3, Bv=  5.2, Th= 0.32, Mh=//$Mh//, Mv=//$Mv//, I=0.0636, L=10156.8, AE=5.25)
# Überleitungsgebiete aus Tirol - dort gibt es ein Gebiet, aus dem zwei Ableitungen stattfinden, eine weiter oben und eine weiter unten, weshalb es in zwei Teilgebiete mit Routing zerlegt wurde.
TG 129 (AE=1, AErel=1.0)
 from AL $83 (modus = intern 0.032 0.95 5.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 83 (129)! 
TG 131 (AE=30.750, AErel=1.0)
 from OL 129 (kh=0.1, kv=0.4, Bh= 2.3, Bv=  9.1, Th= 0.42, Mh=//$Mh//, Mv=//$Mv//, I=0.0336, L=6949.7, AE=9.750)
  and AL $92 (modus = intern 0.100 0.95 2.6 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 86 (124)! 
TG 128 (AE=33.750, AErel=1.0) # Sivretta reservoir Basin
 from ZL $83 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=2000, AE=9.7500 ) # TG 129
  and SP 17 ( file = $outpath//spv__17_128.dat , V0 = 29.25E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Sivretta C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $84 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $85 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 124 (AE=12.5, AErel=1.0)
 from AL $86 (modus = intern 0.036 0.95 6.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 86 (124)! 
TG 125 (AE=12.5, AErel=1.0)
 from AL $87 (modus = intern 0.038 0.95 2.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 87 (125)! 
TG 126 (AE=13.75, AErel=1.0)
 from AL $88 (modus = intern 0.044 0.95 1.4 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 88 (126)! 
TG 127 (AE=3.5, AErel=1.0)
 from AL $89 (modus = intern 0.018 0.95 2.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 89 (127)! 
TG 123 (AE=54, AErel=1.0)
 from OL 128 (kh=0.1, kv=0.4, Bh= 2.6, Bv= 5.0, Th= 0.68, Mh=//$Mh//, Mv=//$Mv//, I=0.0670, L=3207.1, AE=33.750)
  and ZL $84 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=34.00 )# weekdays power generation water from Sivretta
  and ZL $85 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=6000, AE=34.00 )# weekend power generation water from Sivretta
  and ZL $86 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=5000, AE=11.00 ) # TG 124
  and ZL $87 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=7000, AE=11.75 ) # TG 125
  and ZL $88 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=11000, AE=13.25 ) # TG 126
  and ZL $89 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=3000, AE=5.75  ) # TG 127
  and SP 16 ( file = $outpath//spv__16_123.dat , V0 = 3.975E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # Vermunt C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $90 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $91 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 132 (AE=35.75, AErel=1.0)
 from AL $93 (modus = intern 0.110 0.95 5.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 93 (132)! 
TG 133 (AE=18.25, AErel=1.0)
 from AL $94 (modus = intern 0.062 0.95 2.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 94 (133)! 
TG 134 (AE=41.75, AErel=1.0)
 from AL $95 (modus = intern 0.013 0.95 6.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 95 (134)! 
TG 135 (AE=7, AErel=1.0)
 from AL $96 (modus = intern 0.025 0.95 2.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 96 (135)! 
TG 136 (AE=16, AErel=1.0)
 from AL $97 (modus = intern 0.052 0.95 3.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 97 (136)! 
TG 137 (AE=17.25, AErel=1.0)
 from AL $98 (modus = intern 0.048 0.95 3.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 98 (137)! 
TG 138 (AE=10, AErel=1.0)
 from AL $99 (modus = intern 0.030 0.95 2.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 99 (138)! 
TG 158 (AE=24.75, AErel=1.0)
  from SP 24 ( file = $outpath//spv__24_158.dat , V0 = 1.3E5, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Stausee Malbun
  and AL $113 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
  and AL $114 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 130 (AE=7 AErel=1.0)
 from ZL $92 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=400,  AE=31.00 ) # TG 131
  and ZL $93 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=800,  AE=34.50 ) # TG 132
  and ZL $94 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=800,  AE=18.75 ) # TG 133
  and ZL $95 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=41.25 ) # TG 134
  and ZL $96 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1200, AE=7.500 ) # TG 135
  and ZL $97 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=450,  AE=15.75 ) # TG 136
  and ZL $98 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=700,  AE=14.75 ) # TG 137
  and ZL $99 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=200,  AE=9.000 ) # TG 138
  and SP 18 ( file = $outpath//spv__18_130.dat , V0 = 33.45E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Kops C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $100 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $101 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 140 (AE=472.75, AErel=1.0)
 from OL 19  (kh=0.1, kv=0.4, Bh= 9.9, Bv= 39.5, Th= 0.99, Mh=//$Mh//, Mv=//$Mv//, I=0.0085, L=4914.2, AE=98.750)
  and OL 138 (kh=0.1, kv=0.4, Bh= 2.0, Bv=  7.9, Th= 0.41, Mh=//$Mh//, Mv=//$Mv//, I=0.0427, L=28763.3, AE=9.000)
  and OL 130 (kh=0.1, kv=0.4, Bh= 1.8, Bv=  7.4, Th= 0.35, Mh=//$Mh//, Mv=//$Mv//, I=0.0368, L=27849.1, AE=6.250)
  and OL 127 (kh=0.1, kv=0.4, Bh= 1.7, Bv=  6.7, Th= 0.34, Mh=//$Mh//, Mv=//$Mv//, I=0.0418, L=26642.0, AE=5.750)
  and OL 126 (kh=0.1, kv=0.4, Bh= 2.3, Bv=  9.0, Th= 0.47, Mh=//$Mh//, Mv=//$Mv//, I=0.0437, L=22899.4, AE=13.250)
  and OL 125 (kh=0.1, kv=0.4, Bh= 2.1, Bv=  8.2, Th= 0.45, Mh=//$Mh//, Mv=//$Mv//, I=0.0479, L=24313.6, AE=11.750)
  and OL 124 (kh=0.1, kv=0.4, Bh= 2.1, Bv=  8.6, Th= 0.44, Mh=//$Mh//, Mv=//$Mv//, I=0.0418, L=26142.0, AE=11.000)
  and OL 123 (kh=0.1, kv=0.4, Bh= 4.0, Bv= 16.1, Th= 0.79, Mh=//$Mh//, Mv=//$Mv//, I=0.0385, L=29056.2, AE=53.750)
  and AL $102 (modus = intern_with_rule ) # ableitung aus der Ill in das AB Rodund (max 48 m3/s?)
  and AL $103 (modus = intern_with_rule ) # ableitung aus der Ill in das AB Rodund (max 48 m3/s?) weekend
TG 145 (AE=0.5, AErel=1.0) #AB Rodund liefert Wasser bis zum Walgauwerk recht weit unten in der Ill (Gebiet 16)
 from ZL $102 (modus = intern , kh=0.4, kv=0.4, Bh=10.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=200,  AE=473.250 ) # TG 140 Ableitung aus Ill weekdays
  and ZL $103 (modus = intern , kh=0.4, kv=0.4, Bh=10.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=200,  AE=473.250 ) # TG 140 Ableitung aus Ill weekend
  and ZL $90 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=16000, AE=54.00 )# weekdays power generation water from Vermunt
  and ZL $91 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=16000, AE=54.00 )# weekend power generation water from Vermunt
  and ZL $100 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=16000, AE=150.00 )# weekdays power generation water from Kops
  and ZL $101 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=16000, AE=150.00 )# weekend power generation water from Kops
  and SP 19 ( file = $outpath//spv__19_145.dat , V0 = 1.125E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # Rodund C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $104 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $105 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 141 (AE=158, AErel=1.0)
 from OL 18 (kh=0.1, kv=0.4, Bh=14.2, Bv= 56.9, Th= 1.42, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=4121.3, AE=89.750)
  and SP 20 ( file = $outpath//spv__20_141.dat , V0 = 0.975E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin1 )  # Raggal C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $106 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $107 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 143 (AE=3.5, AErel=1.0)
 from AL $108 (modus = intern 0.008 0.95 1.5 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 108 (143)! 
TG 144 (AE=4, AErel=1.0)
 from AL $109 (modus = intern 0.014 0.95 4.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 109 (144)! 
TG 142 (AE=6.75, AErel=1.0)
 from ZL $108 (modus = intern , kh=0.4, kv=0.4, Bh=10.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=200,  AE=4.250 ) # TG 143
  and ZL $109 (modus = intern , kh=0.4, kv=0.4, Bh=10.0, Bv=0.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=200,  AE=8.50 ) # TG 144
  and SP 21 ( file = $outpath//spv__21_142.dat , V0 = 11.775E6, C0 = 0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0, dTmin = $dtmin2 )  # Spullersee C0: initial concentration for all of max. 9 tracers in the reservoir water; optional parameter dTmin is in seconds (60s is default even without this parameter given)
  and AL $110 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekdays
  and AL $111 (modus = intern_with_rule_from_reservoir ) # used for hydro power generation weekends
TG 300 (AE=1138.25, AErel=1.0)
 from OL 141 (kh=0.1, kv=0.4, Bh= 9.2, Bv= 36.8, Th= 1.15, Mh=//$Mh//, Mv=//$Mv//, I=0.0156, L=16278.1, AE=156.5000000)
  and OL 142 (kh=0.1, kv=0.4, Bh= 2.1, Bv=  8.4, Th= 0.40, Mh=//$Mh//, Mv=//$Mv//, I=0.0351, L=37642.0, AE=8.5000000)
  and OL 33  (kh=0.1, kv=0.4, Bh= 6.5, Bv= 26.1, Th= 0.83, Mh=//$Mh//, Mv=//$Mv//, I=0.0161, L=34313.6, AE=65.0000000)
  and OL 34  (kh=0.1, kv=0.4, Bh= 7.6, Bv= 30.3, Th= 0.85, Mh=//$Mh//, Mv=//$Mv//, I=0.0126, L=14449.7, AE=70.2500000)
  and OL 140 (kh=0.1, kv=0.4, Bh=18.7, Bv= 75.0, Th= 1.87, Mh=//$Mh//, Mv=//$Mv//, I=0.0064, L=21692.3, AE=473.7500000)
  and ZL $106 (modus = intern , kh=0.2, kv=0.2, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=5000, AE=156.00 )# weekdays power generation water from Ruggal
  and ZL $107 (modus = intern , kh=0.2, kv=0.2, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=5000, AE=156.00 )# weekend power generation water from Ruggal
TG 16 (AE=1279.25, AErel=1.0)
 from OL 300 (kh=0.1, kv=0.4, Bh=27.5, Bv=110.0, Th= 2.75, Mh=//$Mh//, Mv=//$Mv//, I=0.0047, L=14621.3, AE=1130.2500000)
  and OL 158 (kh=0.1, kv=0.4, Bh= 3.0, Bv= 11.9, Th= 0.59, Mh=//$Mh//, Mv=//$Mv//, I=0.0393, L=22985.2, AE=24.7500000)
  and ZL $104 (modus = intern , kh=0.2, kv=0.2, Bh=4.0, Bv=2.0, Th=4.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=13400, AE=470.00 )# weekdays power generation water from Rodund (Druckleitung bis Walgau)
  and ZL $105 (modus = intern , kh=0.2, kv=0.2, Bh=4.0, Bv=2.0, Th=4.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=13400, AE=470.00 )# weekend power generation water from Rodund (Druckleitung bis Walgau)
  and ZL $110 (modus = intern , kh=0.2, kv=0.2, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=11600, AE=15.250 )# weekdays power generation water from Spullersee
  and ZL $111 (modus = intern , kh=0.2, kv=0.2, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=11600, AE=15.250 )# weekend power generation water from Spullersee
  and ZL $81 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=11800, AE=15.750 )# weekdays power generation water from Lünersee
  and ZL $82 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=11800, AE=15.750 )# weekend power generation water from Lünersee
#TG 16 alt: alle Zuflüsse der Speicher gehen hier rein. Neu ist TG 300 (Ill/Beschling) dazwischengeschaltet, alle Zuflüsse aus den Speichern gehen erst ins Gebiet 16, Beschling misst den "unbeeinflussten" Zufluss
#TG 16 (AE=1273.000, AErel=1.0)
# from OL 141 (kh=0.1, kv=0.4, Bh=11.1, Bv= 44.6, Th= 1.14, Mh=//$Mh//, Mv=28.0, I=0.0105, L=30899.4, AE=156.500)
#  and OL 142 (kh=0.1, kv=0.4, Bh= 2.4, Bv=  9.6, Th= 0.39, Mh=//$Mh//, Mv=28.0, I=0.0266, L=52263.3, AE=8.500)
#  and OL 33 (kh=0.1, kv=0.4, Bh= 7.3, Bv= 29.3, Th= 0.82, Mh=//$Mh//, Mv=28.0, I=0.0127, L=48934.9, AE=65.000)
#  and OL 34 (kh=0.1, kv=0.4, Bh= 8.7, Bv= 34.7, Th= 0.87, Mh=//$Mh//, Mv=28.0, I=0.0086, L=29071.0, AE=70.250)
#  and OL 158 (kh=0.1, kv=0.4, Bh= 3.0, Bv= 11.9, Th= 0.59, Mh=//$Mh//, Mv=//$Mv//, I=0.0393, L=22985.2, AE=24.7500000)
#  and OL 140 (kh=0.1, kv=0.4, Bh=19.1, Bv= 76.6, Th= 1.91, Mh=//$Mh//, Mv=28.0, I=0.0057, L=36313.6, AE=473.750)
#  and ZL $104 (modus = intern , kh=0.1, kv=0.1, Bh=4.0, Bv=2.0, Th=4.0, Mh=//$Mh//, Mv=35.0, I=0.01, L=34500, AE=470.00 )# weekdays power generation water from Rodund (Druckleitung bis Walgau)
#  and ZL $105 (modus = intern , kh=0.1, kv=0.1, Bh=4.0, Bv=2.0, Th=4.0, Mh=//$Mh//, Mv=35.0, I=0.01, L=34500, AE=470.00 )# weekend power generation water from Rodund (Druckleitung bis Walgau)
#  and ZL $106 (modus = intern , kh=0.1, kv=0.1, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=16000, AE=156.00 )# weekdays power generation water from Ruggal
#  and ZL $107 (modus = intern , kh=0.1, kv=0.1, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=16000, AE=156.00 )# weekend power generation water from Ruggal
#  and ZL $110 (modus = intern , kh=0.1, kv=0.1, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=16000, AE=15.250 )# weekdays power generation water from Spullersee
#  and ZL $111 (modus = intern , kh=0.1, kv=0.1, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=16000, AE=15.250 )# weekend power generation water from Spullersee
#  and ZL $81 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=18000, AE=15.750 )# weekdays power generation water from Lünersee
#  and ZL $82 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=18000, AE=15.750 )# weekend power generation water from Lünersee
TG 21 (AE=121.25, AErel=1.0)
 from ZL $113 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=24.750 )# weekdays power generation water from Gaenglisee (Malbun/Valuena) 
  and ZL $114 (modus = intern , kh=0.4, kv=0.4, Bh=2.0, Bv=2.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=8000, AE=24.750 )# weekend power generation water from Gaenglisee (Malbun/Valuena)
# Rheintaler Binnenkanal als Serie aus drei Teilgebieten
TG 15 (AE=176.5, AErel=1.0)
 from OL 288 (kh=0.1, kv=0.4, Bh= 8.4, Bv= 33.6, Th= 0.84, Mh=//$Mh//, Mv=//$Mv//, I=0.0020, L=8914.2, AE=30.7500000)
  and OL 302 (kh=0.1, kv=0.4, Bh= 7.5, Bv= 30.1, Th= 0.75, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=14035.5, AE=16.7500000)
TG 119 (AE=177, AErel=1.0)
 from OL 15 (kh=0.1, kv=0.4, Bh=18.2, Bv= 72.8, Th= 1.82, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=707.1, AE=173.0000000)
  and AL $115 (modus = intern 10 0.95 250.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL $115! 
TG 20 (AE=349.5, AErel=1.0)
 from OL 119 (kh=0.1, kv=0.4, Bh=17.5, Bv= 69.8, Th= 1.75, Mh=//$Mh//, Mv=//$Mv//, I=0.0013, L=28142.0, AE=173.5000000)
TG 32 (AE=370, AErel=1.0)
 from OL 20 (kh=0.1, kv=0.4, Bh=23.6, Bv= 94.3, Th= 2.36, Mh=//$Mh//, Mv=//$Mv//, I=0.0010, L=8707.1, AE=344.5000000)
#TG 15 (AE=183.5000000, AErel=1.0)
# from OL 288 (kh=0.1, kv=0.4, Bh= 8.4, Bv= 33.6, Th= 0.84, Mh=//$Mh//, Mv=//$Mv//, I=0.0020, L=8914.2, AE=30.7500000)
#TG 119 (AE=184.000, AErel=1.0)
# from OL 15 (kh=0.1, kv=0.4, Bh=17.7, Bv= 70.6, Th= 1.77, Mh=//$Mh//, Mv=28.0, I=0.0013, L=1000, AE=183.750)
#  and AL $115 (modus = intern 10 0.95 250.0 m^3/s ) # parameters are: threshold, fraction, capacity -> there must be an corresponding internal inflow ZL 83 (129)! 
#TG 20 (AE=355.500, AErel=1.0)
# from OL 119 (kh=0.1, kv=0.4, Bh=17.7, Bv= 70.6, Th= 1.77, Mh=//$Mh//, Mv=28.0, I=0.0013, L=28556.2, AE=184.000)
#TG 32 (AE=375.750, AErel=1.0)
# from OL 20 (kh=0.1, kv=0.4, Bh=23.9, Bv= 95.4, Th= 2.39, Mh=//$Mh//, Mv=28.0, I=0.0010, L=8707.1, AE=355.500)
#Weiter mit Alpenrhein itself
TG 3 (AE=4674.75, AErel=1.0)
 from OL 21 (kh=0.1, kv=0.4, Bh=14.2, Bv= 56.7, Th= 1.42, Mh=//$Mh//, Mv=//$Mv//, I=0.0011, L=7242.6, AE=125.250)
  and OL 152 (kh=0.1, kv=0.4, Bh=70, Bv=150, Th= 7.21, Mh=//$Mh//, Mv=//$Mv//, I=0.010, L=12656.8, AE=4525.5000000)
  and ZL $115 (modus = intern , kh=0.4, kv=0.4, Bh=8.0, Bv=30.0, Th=2.0, Mh=//$Mh//, Mv=//$Mv//, I=0.01, L=1000, AE=184.00 )# Zufluss von Werdenberger Binnenkanal, wenn das Wehr zum Rheintaler Binnenkanal nicht mehr genug Wasser abführen kann
TG 150 (AE=5954.25, AErel=1.0)
 from SUMTRIB  3&16 (kh=0.2, kv=0.4, Bh=80, Bv=250, Th= 7, Mh=//$Mh//, Mv=//$Mv//, I=0.010, L=2207.1, AE=5939.000)
#  and OL 16 (kh=0.1, kv=0.4, Bh=80, Bv=250, Th= 7, Mh=//$Mh//, Mv=28.0, I=0.0010, L=2207.1, AE=1273.000)
TG 151 (AE=6107.75, AErel=1.0)
 from OL 17 (kh=0.2, kv=0.4, Bh=11.4, Bv= 45.6, Th= 1.14, Mh=//$Mh//, Mv=//$Mv//, I=0.0033, L=5707.1, AE=90.000)
  and OL 150 (kh=0.2, kv=0.4, Bh=80, Bv=270, Th= 8, Mh=//$Mh//, Mv=//$Mv//, I=0.010, L=6121.3, AE=5951.750)
TG 2 (AE=6115.5, AErel=1.0)
 from OL 151 (kh=0.2, kv=0.4, Bh=80, Bv=270, Th= 8, Mh=//$Mh//, Mv=//$Mv//, I=0.014, L=7242.6, AE=6100.750)
TG 1 (AE=6136, AErel=1.0)
 from OL  2 (kh=0.2, kv=0.4, Bh=80, Bv=270, Th= 8, Mh=//$Mh//, Mv=//$Mv//, I=0.010, L=7621.3, AE=6108.000)
# Mündung in den Bodensee - ohne Pegel
TG 157 (AE=6141.75, AErel=1.0)
 from OL  1 (kh=0.2, kv=0.4, Bh=59.4, Bv=277.5, Th= 7.94, Mh=//$Mh//, Mv=//$Mv//, I=0.010, L=7000.0, AE=6130.250)


# abstration rules are defined this way:
# first row: number of following columns, followed by the julian days for which rules will be established
# the Julian day describes the LAST day, the rule is valid for, so the year doesn't have to begin with 1
# but may begin with 31 instead to indicate, that rule one is valid for the entire January.
# Also, the last JD doesn't have to be 366 - when no other rule follows the actual rule, the last rule
# is valid until the end of the year
# other rows: discharge (m^3/s), followed by the abstraction valid for this discharge (m^3/s)
# or reservoir volume in m^3, followed by the abstraction in m^3/s --> to differentiate between discharge 
# in m^3/s and reservoir content in m^3, the keyword "modus = intern_with_rule" must be extended by the 
# keyword "_from_reservoir", i.e. intern_with_rule_from_reservoir


[abstraction_rule_abstraction_//$5//] # power generation water from Curnera, SP 1, TG 40 (25.25 km^2) Turbmax: ? weekdays
5		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
4.10e06		5	5	5	5	2.0	2.0	2.0	2.0	2.0	3.0	5	5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
20.5e06		8	8	8	8	2.5	2.5	2.5	2.5	2.5	3.5	8	8	# 80% full, maximum abstraction should be reached right now
35.0e06		8	8	8	8	4	4	4	4	4	4	8	8	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
41.0e06		8	8	8	8	8	8	8	8	8	8	8	8	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap   =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays    =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$6//] # power generation water from Curnera, SP 1, TG 40 (25.25 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
4.10e06		2.5	2.5	2.5	2.5	0.75	0.75	0.75	0.75	0.75	0.75	2.5	2.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
20.5e06		3.0	3.0	3.0	3.0	1	1	1	1	1	1	3.0	3.0	# 80% full, maximum abstraction should be reached right now
35.0e06		4	4	4	4	1.25	1.25	1.25	1.25	1.25	1.25	4	4	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
41.0e06		4	4	4	4	4	4	4	4	4	4	4	4	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap   =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays    =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$11//] # power generation water from Nalps, SP 2, TG 50 (21.75 km^2) Turbmax: ? weekdays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
4.50e06		6.5	6.5	6.5	6.5	1.7	1.7	1.7	1.7	1.7	2.5	6.5	6.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
22.5e06		7.3	7.3	7.3	7.3	2.5	2.5	2.5	2.5	2.5	2.5	7.3	7.3	# 80% full, maximum abstraction should be reached right now
45.0e06		8.2	8.2	8.2	8.2	3	3	3	3	3	3	8.2	8.2	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$12//] # power generation water from Nalps, SP 2, TG 50 (21.75 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
4.50e06		1.7	1.7	1.7	1.7	0.7	0.7	0.7	0.7	0.7	0.7	1.7	1.7	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
22.5e06		1.7	1.7	1.7	1.7	1	1	1	1	1	1	1.7	1.7	# 80% full, maximum abstraction should be reached right now
45.0e06		1.7	1.7	1.7	1.7	1.3	1.3	1.3	1.3	1.3	1.3	1.7	1.7	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$15//] # power generation water from StMaria, SP 3, TG 55 (27 km^2) Turbmax: ? weekdays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
6.70e06		6.5	6.5	6.5	6.5	2.5	2.5	2.5	2.5	2.5	2.5	6.5	6.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
33.5e06		8.2	8.2	8.2	8.2	3.3	3.3	3.3	3.3	3.3	3.3	8.2	8.2	# 80% full, maximum abstraction should be reached right now
67.0e06		9.8	9.8	9.8	9.8	3.9	3.9	3.9	3.9	3.9	3.9	9.8	9.8	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$16//] # power generation water from StMaria, SP 3, TG 55 (27 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
6.70e06		3.3	3.3	3.3	3.3	0.8	0.8	0.8	0.8	0.8	0.8	3.3	3.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
33.5e06		4.1	4.1	4.1	4.1	1.2	1.2	1.2	1.2	1.2	1.2	4.1	4.1	# 80% full, maximum abstraction should be reached right now
67.0e06		4.9	4.9	4.9	4.9	1.7	1.7	1.7	1.7	1.7	1.7	4.9	4.9	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$26//] # power generation water from Sumvixertal, SP 4, TG 58 (57.25 km^2) Turbmax: ? weekdays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.04e06		17.5	17.5	17.5	17.5	43.8	43.8	43.8	43.8	17.5	17.5	17.5	17.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.22e06		17.5	17.5	17.5	17.5	43.8	43.8	43.8	43.8	17.5	17.5	17.5	17.5	# 80% full, maximum abstraction should be reached right now
0.44e06		17.5	17.5	17.5	17.5	43.8	43.8	43.8	43.8	17.5	17.5	17.5	17.5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$27//] # power generation water from Sumvixertal, SP 4, TG 58 (57.25 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.04e06		6.3	6.3	6.3	6.3	7.5	7.5	7.5	7.5	7.5	7.5	6.3	6.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.22e06		6.3	6.3	6.3	6.3	7.5	7.5	7.5	7.5	7.5	7.5	6.3	6.3	# 80% full, maximum abstraction should be reached right now
0.44e06		6.3	6.3	6.3	6.3	7.5	7.5	7.5	7.5	7.5	7.5	6.3	6.3	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$29//] # power generation water from Tavanasa, SP 23, TG 69 (0.25 km^2) Turbmax: ? weekdays (filled by abstraction from Vorderrhein 12 m3/s)
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.10e06		16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.15e06		16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	# 80% full, maximum abstraction should be reached right now
1.00e06		16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	16.3	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$30//] # power generation water from Tavanasa, SP 23, TG 69 (0.25 km^2) Turbmax: ? weekends (filled by abstraction from Vorderrhein 12 m3/s)
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.10e06		3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.15e06		3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	# 80% full, maximum abstraction should be reached right now
1.00e06		3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$34//] # power generation water from Panix, SP 5, TG 70 (21/49.25 km^2) Turbmax: ? weekdays 
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.705e06	3.1	3.1	3.1	3.1	7.1	7.1	7.1	7.1	7.1	3.1	3.1	3.1	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
3.520e06	3.1	3.1	3.1	3.1	7.1	7.1	7.1	7.1	7.1	3.1	3.1	3.1	# 80% full, maximum abstraction should be reached right now
7.050e06	3.1	3.1	3.1	3.1	7.1	7.1	7.1	7.1	7.1	3.1	3.1	3.1	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$35//] # power generation water from Panix, SP 5, TG 70 (21/49.25 km^2) Turbmax: ? weekends 
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.705e06	1.5	1.5	1.5	1.5	3.5	3.5	3.5	3.5	3.5	1.5	1.5	1.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
3.520e06	1.5	1.5	1.5	1.5	3.5	3.5	3.5	3.5	3.5	1.5	1.5	1.5	# 80% full, maximum abstraction should be reached right now
7.050e06	1.5	1.5	1.5	1.5	3.5	3.5	3.5	3.5	3.5	1.5	1.5	1.5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$40//] # power generation water from Zervreila, SP 6, TG 75 (56/84 km^2) Turbmax: ? weekdays 
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
5.000e06	3.3	3.3	3.3	3.3	3.3	3.3	3.3	3.3	3.3	3.3	3.3	3.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
50.00e06	13	13	13	13	13	13	13	13	13	13	13	13	# 80% full, maximum abstraction should be reached right now
100.0e06	14.7	14.7	14.7	14.7	14.7	14.7	14.7	14.7	14.7	14.7	14.7	14.7	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$41//] # power generation water from Zervreila, SP 6, TG 75 (56/84 km^2) Turbmax: ? weekends 
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
5.000e06	1.7	1.7	1.7	1.7	1.7	1.7	1.7	1.7	1.7	1.7	1.7	1.7	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
50.00e06	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	# 80% full, maximum abstraction should be reached right now
100.0e06	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$42//] # power generation water from Egschi, SP 7, TG 80 (106.5 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.05e06		15	15	15	15	20	20	20	20	15	15	15	15	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.51e06		15	15	15	15	20	20	20	20	15	15	15	15	# 80% full, maximum abstraction should be reached right now
1.02e06		15	15	15	15	20	20	20	20	15	15	15	15	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	1234567	1234567	1234567	1234567	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$43//] # power generation water from Egschi, SP 7, TG 80 (106.5 km^2) Turbmax: ? weekends 
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.05e06		7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.51e06		7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	# 80% full, maximum abstraction should be reached right now
1.02e06		7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	7.5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$49//] # power generation water from Lago di Lei, SP 8, TG 81 (47/140 km^2) Turbmax: ? weekdeays 
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
19.70e06	10	10	10	8	5	5	5	5	5	5	5	5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
31.50e06	50	60	60	45	30	30	30	30	40	40	40	50	# 80% full, maximum abstraction should be reached right now
197.0e06	50	60	60	50	40	40	40	40	40	40	40	50	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	20	20	20	20	20	20	20	20	20	20	20	20	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$50//] # power generation water from Lago di Lei, SP 8, TG 81 (47/140 km^2) Turbmax: ? weekends 
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
19.70e06	0	0	0	0	0	0	0	0	0	0	0	0	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
31.50e06	2	2	2	2	2	2	2	2	2	2	2	2	# 80% full, maximum abstraction should be reached right now
197.0e06	2	2	2	2	2	2	2	2	2	2	2	2	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	7	7	7	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	20	20	20	20	20	20	20	20	20	20	20	20	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$54//] # power generation water from Sufers, SP 9, TG 90 (191/239 km^2) Turbmax: ? weekdeays --> pumped to Lago di Lei in this model version
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
1.83e06	3.0	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	6.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
15.5e06	3.0	19.5	19.5	19.5	26	32.5	32.5	32.5	26	19.5	19.5	19.5	19.5	# 80% full, maximum abstraction should be reached right now
18.3e06	4.8	39	39	39	39	39	39	39	39	39	39	39	39	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$55//] # power generation water from Sufers, SP 9, TG 90 (191/239 km^2) Turbmax: ? weekends pumped to Lago di Lei in this model version
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
1.83e06		0	0	0	0	0	0	0	0	0	0	0	0	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
15.5e06		1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	# 80% full, maximum abstraction should be reached right now
18.3e06		3.9	3.9	3.9	3.9	3.9	3.9	3.9	3.9	3.9	3.9	3.9	3.9	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$60//] #power generation water from Marmorera, SP 10, TG 94 (88/134 km^2) Turbmax: ? weekdeays
6		10	70	91	121	152	168	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
6.20e06		6.3	6.3	6.3	3.8	0	0	0	0	0	6.3	6.3	6.3	# 10% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
31.0e06		20	20	20	20	0	0	0	0	0	20	20	20	# 
50.0e06		25	25	25	25	0	0	0	0	0	25	25	25	# 
50.0e06		25	25	25	25	29.6	29.6	29.6	29.6	29.6	25	25	25	# 
62.0e06		33.8	33.8	33.8	33.8	33.8	33.8	33.8	33.8	33.8	33.8	33.8	33.8	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	20	20	20	20	20	20	20	20	20	20	20	20	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$61//] # power generation water from Marmorera, SP 10, TG 94 (88/134 km^2) Turbmax: ? weekends 
6		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
6.20e06		2.5	2.5	2.5	1.3	0	0	0	0	0	2.5	2.5	2.5	# 10% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
31.0e06		2.5	2.5	2.5	2.5	0	0	0	0	0	2.5	2.5	2.5	# 
50.0e06		5	5	5	5	1.3	0	0	0	0	5	5	5	# 
50.0e06		5	5	5	5	1.3	2.5	2.5	2.5	2.5	5	5	5	# 
62.0e06		5	5	5	5	2.5	2.5	2.5	2.5	2.5	5	5	5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

# this is the weekdays abstraction from the Albula river without regarding the reservoir Burvagn
[abstraction_rule_abstraction_//$62//] # bypassing water from Tinizong for power generation in Tiefencastel/Solis, no reservoir (SP) but  abstraction from the river (AB Burvagn), TG 100 (307 km^2) Turbmax: ? weekdays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
1.8		0	0	0	0	0	0	0	0	0	0	0	0	# 2.4 m3/s sind Restwassermenge, die in Julia bleibt
12.4		10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	#
2000		15	15	15	15	15	15	15	15	15	15	15	15	# always limit the abstracted water to 10m3/s
TargetCap =	300	300	300	300	300	300	300	300	300	300	300	300	#
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	#
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	20	20	20	20	20	20	20	20	20	20	20	20	# at which time should the abstraction stop (time format as for start time)

# this is the weekend abstraction from the Albula river without regarding the reservoir Burvagn
[abstraction_rule_abstraction_//$63//] # bypassing water from Tinizong for power generation in Tiefencastel/Solis, no reservoir (SP) but  abstraction from the river (AB Burvagn), TG 100 (307 km^2) Turbmax: ? weekdays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
1.8		0	0	0	0	0	0	0	0	0	0	0	0	# 2.4 m3/s sind Restwassermenge, die in Julia bleibt
12.4		10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	10.6	#
1000		15	15	15	15	15	15	15	15	15	15	15	15	# always limit the abstracted water to 10m3/s
TargetCap =	300	300	300	300	300	300	300	300	300	300	300	300	#
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	#
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	20	20	20	20	20	20	20	20	20	20	20	20	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$64//] #power generation water from Solis to Central Sils, SP 11, TG 101 (307 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.4e06		27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	# 10% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
2.0e06		27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	# 
4.0e06		27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	27.5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	400	400	400	400	400	400	400	400	400	400	400	400	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	20	20	20	20	20	20	20	20	20	20	20	20	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$65//] #power generation water from Solis to Central Sils, SP 11, TG 101 (307 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.4e06		3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	# 10% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
2.0e06		3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	# 
4.0e06		3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	3.8	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	400	400	400	400	400	400	400	400	400	400	400	400	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	20	20	20	20	20	20	20	20	20	20	20	20	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$66//] #power generation water from Solis to Central Rothenbrunnen, SP 11, TG 101 (307 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.4e06		31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
2.0e06		31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	# 80% full, maximum abstraction should be reached right now
4.0e06		31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	31.3	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	400	400	400	400	400	400	400	400	400	400	400	400	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	20	20	20	20	20	20	20	20	20	20	20	20	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$67//] #power generation water from Solis to Central Rothenbrunnen, SP 11, TG 101 (307 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.4e06		5	5	5	5	5	5	5	5	5	5	5	5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
2.0e06		5	5	5	5	5	5	5	5	5	5	5	5	# 80% full, maximum abstraction should be reached right now
4.0e06		5	5	5	5	5	5	5	5	5	5	5	5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	400	400	400	400	400	400	400	400	400	400	400	400	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	20	20	20	20	20	20	20	20	20	20	20	20	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$69//] #power generation water from Davosersee to Landquart basin, SP 12, TG 102 (6.5/42 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
4.07e06		2.5	2.5	2.5	1.3	1.3	1.3	1.3	1.3	1.3	2.5	2.5	2.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
15.7e06		3.8	3.8	3.8	3.8	1.3	1.3	1.3	1.3	1.3	3.8	3.8	3.8	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
16.0e06		5	5	5	5	2.5	2.5	2.5	2.5	2.5	5	5	5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$70//] #power generation water from Davosersee to Landquart basin, SP 12, TG 102 (6.5/42 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
4.07e06		0	0	0	0	0.6	0.6	0.6	0.6	0.6	0	0	0	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
15.7e06		1.3	1.3	1.3	1.3	0.6	0.6	0.6	0.6	0.6	1.3	1.3	1.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
16.0e06		1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	1.3	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$76//] #power generation water from Gigerwald basin, SP 13, TG 110 (44/87 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
3.34e06		7.5	7.5	7.5	7.5	13.2	13.2	13.2	13.2	13.2	7.5	7.5	7.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
16.7e06		7.5	7.5	7.5	7.5	13.2	13.2	13.2	13.2	13.2	7.5	7.5	7.5	# 80% full, maximum abstraction should be reached right now
33.4e06		9.5	9.5	9.5	9.5	15	15	15	15	15	9.5	9.5	9.5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$77//] #power generation water from Gigerwald basin, SP 13, TG 110 (44/87 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
3.34e06		3.8	3.8	3.8	3.8	6.6	6.6	6.6	6.6	6.6	3.8	3.8	3.8	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
16.7e06		3.8	3.8	3.8	3.8	6.6	6.6	6.6	6.6	6.6	3.8	3.8	3.8	# 80% full, maximum abstraction should be reached right now
33.4e06		3.8	3.8	3.8	3.8	6.6	6.6	6.6	6.6	6.6	3.8	3.8	3.8	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$78//] #power generation water from Mapragg basin, SP 14, TG 116 (121/164 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.27e06		8.8	8.8	8.8	8.8	16.3	16.3	16.3	16.3	16.3	8.8	8.8	8.8	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
1.35e06		8.8	8.8	8.8	8.8	16.3	16.3	16.3	16.3	16.3	8.8	8.8	8.8	# 80% full, maximum abstraction should be reached right now
2.70e06		8.8	8.8	8.8	8.8	16.3	16.3	16.3	16.3	16.3	8.8	8.8	8.8	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1500	1500	1500	1500	1500	1500	1500	1500	1500	1500	1500	1500	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$79//] #power generation water from Mapragg basin, SP 14, TG 116 (121/164 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.27e06		4.4	4.4	4.4	4.4	8.1	8.1	8.1	8.1	8.1	4.4	4.4	4.4	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
1.35e06		4.4	4.4	4.4	4.4	8.1	8.1	8.1	8.1	8.1	4.4	4.4	4.4	# 80% full, maximum abstraction should be reached right now
2.70e06		4.4	4.4	4.4	4.4	8.1	8.1	8.1	8.1	8.1	4.4	4.4	4.4	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1500	1500	1500	1500	1500	1500	1500	1500	1500	1500	1500	1500	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	6	6	6	6	6	6	6	6	6	6	6	6	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	9	9	9	9	9	9	9	9	9	9	9	9	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	17	17	17	17	17	17	17	17	17	17	17	17	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	21	21	21	21	21	21	21	21	21	21	21	21	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$81//] #power generation water from Luenersee basin, SP 15, TG 120 (11/15.75 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
7.83e06		2.3	2.3	2.3	2.3	1.4	1.4	1.4	1.4	1.4	2.3	2.3	2.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
39.1e06		2.3	2.3	2.3	2.3	1.4	1.4	1.4	1.4	1.4	2.3	2.3	2.3	# 80% full, maximum abstraction should be reached right now
78.3e06		2.3	2.3	2.3	2.3	1.4	1.4	1.4	1.4	1.4	2.3	2.3	2.3	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$82//] #power generation water from Luenersee basin, SP 15, TG 120 (11/15.75 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
7.83e06		2.3	2.3	2.3	2.3	1.4	1.4	1.4	1.4	1.4	2.3	2.3	2.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
39.1e06		2.3	2.3	2.3	2.3	1.4	1.4	1.4	1.4	1.4	2.3	2.3	2.3	# 80% full, maximum abstraction should be reached right now
78.3e06		2.3	2.3	2.3	2.3	1.4	1.4	1.4	1.4	1.4	2.3	2.3	2.3	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$84//] #power generation water from Sivretta reservoir, SP 17, TG 128 (54/64 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
3.90e06		5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
19.5e06		5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	5.6	# 80% full, maximum abstraction should be reached right now
39.0e06		5.6	5.6	5.6	5.6	6.9	6.9	6.9	6.9	6.9	6.9	5.6	5.6	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$85//] #power generation water from Sivretta reservoir, SP 17, TG 128 (54/64 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
3.90e06		3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
19.5e06		3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	# 80% full, maximum abstraction should be reached right now
39.0e06		3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	3.1	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$90//] #power generation water from Vermunt reservoir, SP 16, TG 123 (54/130 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.53e06		8.1	8.1	8.1	8.1	15	15	15	15	15	8.1	8.1	8.1	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
2.65e06		8.1	8.1	8.1	8.1	17.5	17.5	17.5	17.5	17.5	8.1	8.1	8.1	# 80% full, maximum abstraction should be reached right now
5.30e06		9.4	9.4	9.4	9.4	20	20	20	20	20	9.4	9.4	9.4	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$91//] #power generation water from Vermunt reservoir, SP 16, TG 123 (54/130 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.53e06		4	4	4	4	7.5	7.5	7.5	7.5	5	4	4	4	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
2.65e06		4	4	4	4	7.5	7.5	7.5	7.5	5	4	4	4	# 80% full, maximum abstraction should be reached right now
5.30e06		4	4	4	4	7.5	7.5	7.5	7.5	5	4	4	4	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$100//] #power generation water from Kops reservoir, SP 18, TG 130 (6.25/150 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
4.46e06		8.2	8.2	8.2	8.2	13	13	13	13	13	8.2	8.2	8.2	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
22.3e06		14.7	14.7	14.7	14.7	26	26	26	26	26	14.7	14.7	14.7	# 80% full, maximum abstraction should be reached right now
44.6e06		17.9	17.9	17.9	17.9	29.3	29.3	29.3	29.3	29.3	17.9	17.9	17.9	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$101//] #power generation water from Kops reservoir, SP 18, TG 130 (6.25/150 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
4.46e06		5.7	5.7	5.7	5.7	6.5	6.5	6.5	6.5	6.5	9	9	5.7	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
22.3e06		6.5	6.5	6.5	6.5	13	13	13	13	13	6.5	6.5	6.5	# 80% full, maximum abstraction should be reached right now
44.6e06		7.3	7.3	7.3	7.3	14.7	14.7	14.7	14.7	14.7	7.3	7.3	7.3	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$102//] # this is the weekdays abstraction from the Ill river into reservoir Rodund (TG 145)
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
10		0	0	0	0	0	0	0	0	0	0	0	0	#
58		60	60	60	60	60	60	60	60	60	60	60	60	#
1000		60	60	60	60	60	60	60	60	60	60	60	60	# always limit the abstracted water to 48m3/s
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	#
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	#
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$103//] # this is the weekdays abstraction from the Ill river into reservoir Rodund (TG 145)
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
4		0	0	0	0	0	0	0	0	0	0	0	0	#
58		60	60	60	60	60	60	60	60	60	60	60	60	#
1000		60	60	60	60	60	60	60	60	60	60	60	60	# always limit the abstracted water to 48m3/s
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	#
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	#
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$104//] #power generation water from Rodund reservoir, SP 19, TG 145 (0.5/470 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.15e06		81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.75e06		81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	# 80% full, maximum abstraction should be reached right now
1.50e06		81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	81.3	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$105//] #power generation water from Rodund reservoir, SP 19, TG 145 (0.5/470 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.15e06		40	40	40	40	40	40	40	40	40	40	40	40	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.75e06		40	40	40	40	40	40	40	40	40	40	40	40	# 80% full, maximum abstraction should be reached right now
1.50e06		40	40	40	40	40	40	40	40	40	40	40	40	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	1000	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$106//] #power generation water from Ruggal reservoir, SP 20, TG 141 (156 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.13e06		12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.65e06		12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	# 80% full, maximum abstraction should be reached right now
1.30e06		12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	12.5	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	350	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$107//] #power generation water from Ruggal reservoir, SP 20, TG 141 (156 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.13e06		6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
0.65e06		6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	# 80% full, maximum abstraction should be reached right now
1.30e06		6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	6.3	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$110//] #power generation water from Spullersee reservoir, SP 21, TG 142 (15.25 km^2) Turbmax: ? weekdeays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
1.57e06		2	2	2	2	1.3	1.3	1.3	1.3	1.3	2	2	2	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
7.85e06		2	2	2	2	1.3	1.3	1.3	1.3	1.3	2	2	2	# 80% full, maximum abstraction should be reached right now
15.7e06		2	2	2	2	1.3	1.3	1.3	1.3	1.3	2	2	2	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$111//] #power generation water from Spullersee reservoir, SP 21, TG 142 (15.25 km^2) Turbmax: ? weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
1.57e06		0.9	0.9	0.9	0.9	0.5	0.5	0.5	0.5	0.5	0.9	0.9	0.9	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
7.85e06		0.9	0.9	0.9	0.9	0.5	0.5	0.5	0.5	0.5	0.9	0.9	0.9	# 80% full, maximum abstraction should be reached right now
15.7e06		0.9	0.9	0.9	0.9	0.5	0.5	0.5	0.5	0.5	0.9	0.9	0.9	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	360	360	360	360	360	360	360	360	360	360	360	360	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$112//] #power generation water from Mapragg into Tamina
4		104	135	181	227	273	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	1.7	1.7	1.1	1.7	0	# empty -> no abstraction possible
0.27e06		0	1.4	2.1	1.4	2.1	0	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
1.35e06		0	1.4	2.1	1.4	2.1	0	# 80% full, maximum abstraction should be reached right now
2.70e06		0	1.4	2.1	1.4	2.1	0	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	2.26	2.26	2.83	2.26	2.83	2.26	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	1234567	1234567	1234567	1234567	1234567	1234567	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$113//] #power generation water from Gaenglisee Malbun/Valuena reservoir, SP 24, TG 158 (24.75 km^2) weekdays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.5e05		1.5	1.5	1.5	1.5	1.9	1.9	1.9	1.9	1.9	1.5	1.5	1.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
1.3e05		1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	# 80% full, maximum abstraction should be reached right now
1.4e05		1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	36	36	36	36	36	36	36	36	36	36	36	36	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$114//] #power generation water from Gaenglisee Malbun/Valuena reservoir, SP 24, TG 158 (24.75 km^2) weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.5e05		0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
1.3e05		1	1	1	1	1	1	1	1	1	1	1	1	# 80% full, maximum abstraction should be reached right now
1.4e05		1	1	1	1	1	1	1	1	1	1	1	1	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	36	36	36	36	36	36	36	36	36	36	36	36	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$116//] #power generation water from Litzelrüti reservoir, SP 25, TG 308 (113 km^2) weekdays
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.2e06		1.5	1.5	1.5	1.5	1.9	1.9	1.9	1.9	1.9	1.5	1.5	1.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
1.1e06		1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	# 80% full, maximum abstraction should be reached right now
1.2e06		1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	1.9	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	36	36	36	36	36	36	36	36	36	36	36	36	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	12345	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

[abstraction_rule_abstraction_//$117//] #power generation water from Litzelrüti reservoir, SP 25, TG 308 (113 km^2) weekends
4		10	70	91	121	152	182	213	244	274	320	356	366	# Julian Days; here: end of the months (rules are valid for the period BEFORE the given JD)
0		0	0	0	0	0	0	0	0	0	0	0	0	# empty -> no abstraction possible
0.2e06		0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	0.5	# 20% full (and more): start power generation, increasing linearly until 80% of the reservoir is filled
1.1e06		1	1	1	1	1	1	1	1	1	1	1	1	# 80% full, maximum abstraction should be reached right now
1.2e06		1	1	1	1	1	1	1	1	1	1	1	1	# full, spillway (flood relief) comes into action if more discharge than given by TargetCap is flowing into the reservoir
TargetCap =	36	36	36	36	36	36	36	36	36	36	36	36	# maximum capacity of the target river: abstraction is reduced automatically if the resulting total runoff would be higher (works best with single infliws into a river)
WeekDays  =	67	67	67	67	67	67	67	67	67	67	67	67	# defines the days of week (ranging from 1 for Monday to 7 for Sunday) the rule is active. On other days, no abstraction is abstracted
start_hour  = 	7	7	7	7	7	7	7	7	7	7	7	7	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop_hour   = 	10	10	10	10	10	10	10	10	10	10	10	10	# at which time should the abstraction stop (time format as for start time)
start2_hour = 	18	18	18	18	18	18	18	18	18	18	18	18	# at which time should the abstraction start (0=at midnight, 12=at noon, 21=in the evening at 21:00 etc.)
stop2_hour  = 	22	22	22	22	22	22	22	22	22	22	22	22	# at which time should the abstraction stop (time format as for start time)

# the reservoirs must have an abstraction rule as well, even if they have no abstraction at all or a constant abtraction (Restwassermenge) only
#if a capacity for the flood 

[abstraction_rule_reservoir_1] # Curnera, HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
7		366
0		0   	# = leer
41.00e06	0  	# = voll -> kein Abfluss bis zu diesem Inhalt/Wasserstand
41.15e06	20  	# HW-Entlastung springt an 
41.45e06	50  	#
41.60e06	80  	# HQ 100
41.81e06	120 	# HQ 1000, darueber hinaus Inflos = outflow bzw. linearer Anstieg
42.00e06	2000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_2] #  Nalps, HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
7		366
0		0	
45.00e06	0   	# leer
45.36e06	20  	# HW-Entlastung springt an 
45.64e06	50  	# 
45.91e06	80  	# ca. HQ 100
46.09e06	105 	# ca. HQ 1000
50.10e06	105 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_3] # St. Maria, HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
8		366
0		0   	# leer
67.00e06	0   	# HW-Entlastung springt an
67.53e06	20  	# 
67.80e06	40 	#
68.33e06	80  	#
68.77e06	130 	# ca. HQ 100
69.12e06	180 	# ca. HQ 1000
73.20e06	180 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_4] # AB Sumvix
8		366
0		0   	# leer
4.40e05		0   	# HW-Entlastung springt an
4.50e05		3  	# 
4.60e05		10  	#
4.70e05		15 	#
4.80e05		20 	# ca. HQ 100
4.90e05		30 	# ca. HQ 1000
5.00e06		250 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_5] # Panix, HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
9		366
0		0   	# leer
7.05e06		0   	# HW-Entlastung springt an
7.26e06		1   	# 
7.47e06		10  	# 
7.67e06		17  	#
8.09e06		38  	#
8.92e06		80  	# ca. HQ 100
9.12e06		100 	# ca. HQ 1000
9.20e06		100 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_6] # Zervreila HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
7		366
0		0   	# 0..Vollstau (Stauziel - ohne Ueberlauf)
100.00e06	0   	# HW-Entlastung springt an
100.40e06	20 	# 
100.64e06	50  	# 
100.97e06	100 	# ca. HQ ???
101.61e06	250 	# ca. HQ ???
110.10e06	250 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_7] # AB Egschhi
7		366
0		0   	# 0..Vollstau (Stauziel - ohne  berlauf)
1.02e06		0   	# HW-Entlastung springt an
1.07e06		5  	# 
1.12e06		30  	# 
1.17e06		60  	# ca. HQ ???
1.22e06		120 	# ca. HQ ???
1.50e06		120 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_8] # Lago di Lei HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
12		366
0		0   	# 0..Vollstau (Stauziel - ohne  berlauf)
20.00e06	0.5   	# Restwasser
196.00e06	0.5   	# Restwasser
197.00e06	10  	# HW-Entlastung springt an
198.01e06	20  	# 
199.03e06	50  	# 
202.27e06	200 	# 
203.90e06	300 	# 
209.17e06	325 	# Sprung wegen AUfstau bei Schussrinne, siehe Vorstudie Alpenrhein
209.99e06	400 	# 
210.00e06	500 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
230.00e06	1000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_9] # Sufers HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
7		366
0		0   	# 0..Vollstau (Stauziel - ohne Ueberlauf)
2.00e06		0.5 	# Restwasser
18.30e06	0.5	# HW-Entlastung springt an
18.48e06	5 	# HQ 100 (?)
20.00e06	150 	# in = out, ziemlich linearer Anstieg
22.00e06	250 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
24.00e06	500 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_10] # Marmorera HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
13		366
0		0   	# leer
5.000e06	0.5   	# Restwasser
32.000e06	0.5 	# Restwasser
60.000e06	0.5 	# HW-Entlastung springt an
62.000e06	1   	# HW-Entlastung springt an
62.014e06	20  	# 
62.140e06	70  	# 
62.280e06	85  	#
62.420e06	115 	#
62.980e06	300 	# 
63.400e06	320 	# 
63.50e06	400 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
70.50e06	1000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_11] # Solis (nutzbar: 1.46 Mio m^3, aber max. 4 Mio Inhalt -> also zwischen 2.54 und 4 Mio)
9		366
0		0   	# leer
1.000e06	10   	# Restwasser
3.000e06	10  	# Restwasser
4.000e06	10  	# HW-Entlastung springt an
4.060e06	150 	# 
4.310e06	250 	# 
4.810e06	500 	#
5.000e06	1000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
6.000e06	2000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_12] # Davosersee (keine Angaben zur HW-Entlastung)
5		366
0		0   	# leer
16.000e06	0   	# HW-Entlastung springt an
16.100e06	10  	# 
17.000e06	20 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
20.000e06	30 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_13] # Gigerwald HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
9		366
0		0   	# leer
33.400e06	0   	# HW-Entlastung springt an
33.470e06	5   	# 
33.540e06	10  	# 
33.690e06	40  	# 
33.900e06	100 	# 
34.100e06	200 	# 
34.200e06	300 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
40.200e06	400 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_14] # Mapragg HW-Entlastung (bzw. Abgaberegel in Unterwasser = nur bei HW-Entlastung)
7		104	273	366
0		0	0.1	0	# leer
2.700e06	0	0.4	0	# HW-Entlastung springt an
2.890e06	5	5	5	# 
3.210e06	25	25	25	# 
3.600e06	65	65	65	# 
4.240e06	160	160	160	# 
4.300e06	160	160	160	#zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_15] # Luenersee keine Angaben zur HW-Entlastung, also Annahme von 200m3/s bei 1m  berstau
5		366
0		0   	# leer
78.300e06	0   	# HW-Entlastung springt an
79.850e06	200 	# 
80.000e06	200 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
85.000e06	2000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_16] # Vermunt
5		366
0		0   	# leer
5.300e06	0   	# HW-Entlastung springt an
5.400e06	100 	# ist nur eine Annahme
5.410e06	200 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
6.410e06	1000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_17] # Silvretta
5		366
0		0   	# leer
39.000e06	0   	# HW-Entlastung springt an
39.655e06	100 	# ist nur eine Annahme, entspricht 0.5m  Ueberstau ueber max. statischem Inhalt
39.700e06	200 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
42.700e06	1000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_18] # Kops
5		366
0		0   	# leer
44.600e06	0   	# HW-Entlastung springt an
55.100e06	150 	# ist nur eine Annahme, entspricht 0.5m  Ueberstau ueber max. statischem Inhalt
55.200e06	250 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
57.200e06	1000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_19] # AB Rodund
6		366
0		0   	# leer
1.500e06	0   	# HW-Entlastung springt an
1.550e06	20 	# ist nur eine Annahme, keine genauen Zahlen...
1.600e06	30 	#
1.800e06	100 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
2.000e06	400 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_20] # Raggal, Daten aus aus HW-Entlastungs-Kurve
9		366
0		0   	# leer
1.300e06	0   	# HW-Entlastung springt an
1.318e06	40  	# 
1.330e06	120 	#
1.345e06	320 	#
1.360e06	450 	#
1.405e06	500 	# aus HW-Entlastungs-Kurve
1.800e06	1000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
2.440e06	2000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_21] # Spullersee, keine Angaben zur HW-Entlastung vorhanden
9		366
0		0   	# leer
15.700e06	0   	# HW-Entlastung springt an
15.750e06	40  	# 
15.800e06	120 	#
15.850e06	320 	#
15.900e06	450 	#
15.950e06	500 	# 
17.000e06	1000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen
20.000e06	2000 	# zur Sicherheit, damit keine internen Bilanzfehler entstehen

[abstraction_rule_reservoir_22] # nicht implementiert (Kiesgruben - wirken nicht als Speicher, weil sie nicht im Weg eines Fliessgewaessers liegen)
3	366
0	0 	# leer
3.0e06	0 	# voll
6.0e06	0 	# immer voller - aber es gibt keine Routingregel mit diesem Speicher, und es fliesst auch ein FLuss rein, also gibt es keinen  berlauf.

[abstraction_rule_reservoir_23] # AB Tavanasa -- nur Sch tzwerte
6	366
0	0
1.0e06	0
1.1e06	10
1.2e06	20
1.4e06	50
1.6e06	200 	# immer voller - aber es gibt keine Routingregel mit diesem Speicher, und es fliesst auch ein FLuss rein, also gibt es keinen  berlauf.
2.0e06	1000 	# immer voller - aber es gibt keine Routingregel mit diesem Speicher, und es fliesst auch ein FLuss rein, also gibt es keinen  berlauf.

[abstraction_rule_reservoir_24] # Gaenglisee Malbun/Valuena
4	366
0	0
1.30e05	0
1.31e05	10
1.50e05	20

[abstraction_rule_reservoir_25] # Gaenglisee Malbun/Valuena
4	366
0	0
0.10e06	0.05
1.10e06	0.05
1.11e06	10
1.20e06	20


# declaring some common variables for vegetation period dependent grid-writing
# default (if not used in land use table at all) is JDVegReset = 1 and JDVegWrite = 365
$set $JDVegReset = 1
$set $JDVegWrite = 365

[multilayer_landuse]
17 # count of multilayer landuses
1  Wasserflaechen	{ Landuse_Layers = 16, -9999;	k_extinct = 0.3; LAI_scale = 20;}
2  Bebauung		{ Landuse_Layers = 2,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
3  Teilbebauung		{ Landuse_Layers = 1,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
4  Wald			{ Landuse_Layers = 13,  4;	k_extinct = 0.3; LAI_scale = 20;}
5  offener_Wald		{ Landuse_Layers = 14,  6;	k_extinct = 0.3; LAI_scale = 20;}
6  Gebueschwald		{ Landuse_Layers = 10,  4;	k_extinct = 0.3; LAI_scale = 20;}
7  Ackerland		{ Landuse_Layers = 7,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
8  Gruenland		{ Landuse_Layers = 5,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
9  Obstbauflaechen	{ Landuse_Layers = 17,  4;	k_extinct = 0.3; LAI_scale = 20;}
10 Gebuesch		{ Landuse_Layers = 10,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
11 verbuschtes_Weidel	{ Landuse_Layers = 9,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
12 uebrige_Gruenfl	{ Landuse_Layers = 6,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
13 Moore_Suempfe	{ Landuse_Layers = 15,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
14 versteinte_wiesen	{ Landuse_Layers = 4,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
15 Felsflaechen_Oedland	{ Landuse_Layers = 3,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
16 Gletscher		{ Landuse_Layers = 22,  -9999;	k_extinct = 0.3; LAI_scale = 20;}
21 Deponien		{ Landuse_Layers = 3,  -9999;	k_extinct = 0.3; LAI_scale = 20;}


[landuse_table]
19
1  teilversiegelte_Flaechen {method = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.3;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        rsc              = 100   100   100   80    75    75     75     75     80     90     100    100  ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 150   150   150   150   150   150    150    150    150    150    150    150  ;
	        LAI              = 1     1     1     1     1     1      1      1      1      1      1      1    ;
	        Z0               = 1     1     1     1     1     1      1      1      1      1      1      1    ;
	        VCF              = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        RootDepth        = 0.4   0.4   0.4   0.4   0.4   0.4    0.4    0.4    0.4    0.4    0.4    0.4  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
2  versiegelte_Flaechen {method = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.2;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        rsc              = 100   100   100   100   100   100    100    100    100    100    100    100  ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200  ;
	        LAI              = 1     1     1     1     1     1      1      1      1      1      1      1    ;
	        Z0               = 1     1     1     1     1     1      1      1      1      1      1      1    ;
	        VCF              = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        RootDepth        = 0.4   0.4   0.4   0.4   0.4   0.4    0.4    0.4    0.4    0.4    0.4    0.4  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
3  vegetationslose_Flaechen {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.2;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        rsc              = 100   100   100   100   100   100    100    100    100    100    100    100  ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 150   150   150   150   150   150    150    150    150    150   150   150   ;
	        LAI              = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        Z0               = 0.1   0.1   0.1   0.1   0.1   0.1    0.1    0.1    0.1    0.1    0.1    0.1 ;
	        VCF              = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        RootDepth        = 0.1   0.1   0.1   0.1   0.1   0.1    0.1    0.1    0.1    0.1    0.1    0.1  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
4  spaerliche_Vegetation {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.2;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        rsc              = 90    90    80    65    65    60     60     60     65     70     90     90   ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 150   150   150   150   150   150    150    150    150    150    150    150  ;
	        LAI              = 1     1     1     1.5   1.5   2      2      2      1.5    1.5    1      1    ;
	        Z0               = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        VCF              = 0.2   0.2   0.2   0.2   0.4   0.4    0.4    0.4    0.3    0.2    0.2    0.2  ;
	        RootDepth        = 0.4   0.4   0.4   0.4   0.4   0.4    0.4    0.4    0.4    0.4    0.4    0.4  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
5  Intensiv-Gruenland {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.6;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.25  0.25  0.25  0.25  0.25  0.25   0.25   0.25   0.25   0.25   0.25   0.25 ;
	        rsc              = 90    90    80    70    65    60     55     60     65     70     90     90   ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200  	200	   200  ;
	        LAI              = 2     2     2     3     4     4      4      4      3      2      2      2    ;
	        Z0               = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        VCF              = 0.95  0.95  0.95  0.95  1.0   1.0    1.0    1.0    0.95   0.95   0.95   0.95 ;
	        RootDepth        = 0.3   0.3   0.4   0.5   0.5   0.6    0.6    0.5    0.5    0.4    0.3    0.3  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
6  Extensiv-Gruenland {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.4;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.25  0.25  0.25  0.25  0.25  0.25   0.25   0.25   0.25   0.25   0.25   0.25 ;
	        rsc              = 90    90    80    60    50    50     45     50     55     60     90     90   ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200  ;
	        LAI              = 2     2     2     2     3     3      3      3      3      2      2      2    ;
	        Z0               = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2 ;
	        VCF              = 0.9   0.9   0.9   0.95  1.0   1.0    1.0    1.0    0.95   0.9    0.9    0.9  ;
	        RootDepth        = 0.4   0.4   0.4   0.4   0.4   0.4    0.4    0.4    0.4    0.4    0.4    0.4  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
7  Intensiv-Ackerland_unbewaessert {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.4;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.25  0.25  0.25  0.25  0.25  0.25   0.25   0.25   0.25   0.25   0.25   0.25 ;
	        rsc              = 80    80    75    65    60    50     50     50     65     75     90     90   ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200  ;
	        LAI              = 1     1     2     3     4     5      5      4      3      2      1      1    ;
	        Z0               = 0.1   0.1   0.1   0.15  0.2   0.2    0.2    0.2    0.2    0.1	0.1    0.1  ;
	        VCF              = 0.3   0.3   0.3   0.7   0.8   0.95   0.95   0.8    0.7    0.3    0.3    0.3  ;
	        RootDepth        = 0.15  0.15  0.2   0.4   0.5   0.5    0.5    0.5    0.4    0.2    0.15   0.15 ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
8  Extensiv-Ackerland {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.4;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.25  0.25  0.25  0.25  0.25  0.25   0.25   0.25   0.25   0.25   0.25   0.25 ;
	        rsc              = 80    80    75    65    60    50     50     50     65     75     90     90   ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200  ;
	        LAI              = 1     1     2     3     4     4      4      4      3      2      1      1    ;
	        Z0               = 0.1   0.1   0.1   0.15  0.2   0.2    0.2    0.2    0.2    0.1	0.1    0.1  ;
	        VCF              = 0.3   0.3   0.3   0.5   0.8   0.8    0.8    0.7    0.6    0.3    0.3    0.3  ;
	        RootDepth        = 0.15  0.15  0.2   0.4   0.5   0.5    0.5    0.5    0.4    0.2    0.15   0.15 ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
9  Heidevegetation {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.6;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        rsc              = 80    80    70    60    55    50     50     55     60     65     70     80   ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200 ;
	        LAI              = 3     3     3     4     4     4      4      4      3      3      3      3    ;
	        Z0               = 0.1   0.1   0.1   0.15  0.2   0.2    0.2    0.2    0.2    0.1	0.1    0.1  ;
	        VCF              = 1     1     1     1     1     1      1      1      1      1      1      1    ;
	        RootDepth        = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
10  Busch-Kraut-Vegetation_mitteldicht {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.6;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        rsc              = 80    80    70    60    55    50     50     55     60     65     70     80   ;
#	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200 ;
	        LAI              = 3     3     3     4     5     5      4      4      3      3      3      3    ;
	        Z0               = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        VCF              = 0.9   0.9   0.9   0.9   0.95  0.95   0.95   0.95   0.95   0.9    0.9    0.9  ;
	        RootDepth        = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
11  Laubwald {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.6;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.15  0.15  0.15  0.15  0.15  0.15   0.15   0.15   0.15   0.15   0.15   0.15 ;
	        rsc              = 100   100   95    65    50    50     50     50     55     75     100    100  ;
	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200 ;
	        LAI              = 1     1     4     4     6     8      8      7      6      4      1      1    ;
	        Z0               = 2     2     2     3     5     5      5      5      4      3      2      2    ;
	        VCF              = 0.7   0.7   0.7   0.8   0.95  0.95   0.95   0.95   0.9    0.8    0.7    0.7  ;
	        RootDepth        = 1.4   1.4   1.4   1.4   1.4   1.4    1.4    1.4    1.4    1.4    1.4    1.4  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
12  Nadelwald {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.6;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.12  0.12  0.12  0.12  0.12  0.12   0.12   0.12   0.12   0.12   0.12   0.12 ;
	        rsc              = 80    80    75    55    45    45     45     50     55     65     80     80   ;
	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200 ;
	        LAI              = 6     6     8     8     10    10     10     10     8      8      6      6    ;
	        Z0               = 3     3     3     3     3     3      3      3      3      3      3      3    ;
	        VCF              = 0.9   0.9   0.9   0.9   0.95  0.95   0.95   0.95   0.95   0.9    0.9    0.9  ;
	        RootDepth        = 1.2   1.2   1.2   1.2   1.2   1.2    1.2    1.2    1.2    1.2    1.2    1.2  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
13  Mischwald {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.6;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.15  0.15  0.15  0.15  0.15  0.15   0.15   0.15   0.15   0.15   0.15   0.15 ;
	        rsc              = 90    90    85    70    65    65     65     65     70     75     90     90   ;
	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200 ;
	        LAI              = 3     3     3     6     8     8      8      8      8      6      3      3    ;
	        Z0               = 2.5   2.5   2.5   3.0   3.5   4.5    4.5    4.5    4.0    3.0    2.5    2.5  ;
	        VCF              = 0.8   0.8   0.8   0.9   0.92  0.92   0.92   0.92   0.9    0.8    0.8    0.8  ;
	        RootDepth        = 1.3   1.3   1.3   1.3   1.3   1.3    1.3    1.3    1.3    1.3    1.3    1.3  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
14  locker_baumbestanden {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.5;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.15  0.15  0.15  0.15  0.15  0.15   0.15   0.15   0.15   0.15   0.15   0.15 ;
	        rsc              = 90    90    85    60    55    55     55     55     60     75     90     90   ;
	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 200   200   200   200   200   200    200    200    200    200    200    200 ;
	        LAI              = 2.5   2.5   2.5   3.5   4.0   4.0    4.0    4.0    3.5    2.5    2.5    2.5  ;
	        Z0               = 2.5   2.5   2.5   2.5   2.5   2.5    2.5    2.5    2.5    2.5    2.5    2.5  ;
	        VCF              = 0.4   0.4   0.4   0.4   0.8   0.9    0.9    0.9    0.7    0.4    0.4    0.4  ;
	        RootDepth        = 1.3   1.3   1.3   1.3   1.3   1.3    1.3    1.3    1.3    1.3    1.3    1.3  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
15  Moore_Suempfe {method  = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.5;
	        IntercepCap      = 0.0;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349  ;
	        Albedo           = 0.15  0.15  0.15  0.15  0.15  0.15   0.15   0.15   0.15   0.15   0.15   0.15 ;
	        rsc              = 50    50    40    40    30    30     30     40     40     40     50     50   ;
	        rs_interception  = 0.5   0.5   0.5   0.5   0.5   0.5    0.5    0.5    0.5    0.5    0.5    0.5  ;
	        rs_evaporation   = 100   100   100   100   100   100    100    100    100    100    100    100  ;
	        LAI              = 3     3     3     3     4     4      4      4      3      3      3      3    ;
	        Z0               = 0.1   0.1   0.1   0.1   0.1   0.1    0.1    0.1    0.1    0.1    0.1    0.1  ;
	        VCF              = 0.8   0.8   0.8   0.9   0.9   0.9    0.9    0.9    0.8    0.8    0.8    0.8  ;
	        RootDepth        = 0.2   0.2   0.2   0.2   0.2   0.2    0.2    0.2    0.2    0.2    0.2    0.2  ;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
16  Wasserflaechen  {method  = VariableDayCount;
		RootDistr 	= 1;
		TReduWet 	= 1;
		LimitReduWet 	= 1;
		HReduDry 	= 150;
		IntercepCap 	= 0;
		JulDays  	= 365;
		Albedo 		= 0.15;
 		rsc 		= 1;
		rs_interception = 0;
		rs_evaporation 	= 0;
		LAI 		= 1;
		Z0 		= 0.1;
		VCF  		= 1;
		RootDepth  	= 1;
		AltDep  	= 0;
	        }
17 horticulture    {method   = VariableDayCount;
	        RootDistr        = 1.0;
	        TReduWet         = 0.95;
	        LimitReduWet     = 0.5;
	        HReduDry         = 3.45;
	        IntercepCap      = 0.35;
	        JulDays          = 15    46    74    105   135   166    196    227    258    288    319    349 ;
	        Albedo           = 0.25  0.25  0.25  0.25  0.25  0.25   0.25   0.25   0.25   0.25   0.25   0.25;
	        rsc              = 100   100   90    80    55    55     55     55     65     75     100    100;
	        rs_interception	 = 100   100   90    60    50    50     50     50     50     70     100    100;
	        rs_evaporation	 = 280	 280   280   280   280	 280	280    280    280    280    280	   280;
	        LAI              = 0.5   0.5   0.5   2     4     5      5      5      4      3      0.5    0.5;
	        Z0               = 1.0   1.0   1.0   1.0   1.0   1.0    1.0    1.0    1.0    1.0    1.0    1.0;
	        VCF              = 0.75  0.75  0.75  0.75  0.75  0.75   0.75   0.75   0.75   0.75   0.75   0.75;
	        RootDepth        = 0.8   0.8   0.8   0.8   0.8   0.8    0.8    0.8    0.8    0.8    0.8    0.8;
	        AltDep           = 0.025 0.025 0.025 0.025 0.025 0.025 -0.025 -0.025 -0.025 -0.025 -0.025 -0.025;
	        }
22  Eisflaechen  {method  = VariableDayCount;
		RootDistr 	= 1;	
		TReduWet 	= 1;	
		LimitReduWet 	= 1;	
		HReduDry 	= 150;	
		IntercepCap 	= 0; 	
		JulDays  	= 365;  
		Albedo 		= 0.38;
 		rsc 		= 100;    
		rs_interception = 0;
		rs_evaporation 	= 400;
		LAI 		= 1.0;
		Z0 		= 0.05;
		VCF  		= 1.0;
		RootDepth  	= 0.1;
		AltDep  	= 0;
	        }
23  Firnflaechen  {method  = VariableDayCount;
		RootDistr 	= 1;	
		TReduWet 	= 1;	
		LimitReduWet 	= 1;	
		HReduDry 	= 150;	
		IntercepCap 	= 0; 	
		JulDays  	= 365;  
		Albedo 		= 0.60;
 		rsc 		= 100;    
		rs_interception = 0;
		rs_evaporation 	= 400;
		LAI 		= 1.0;
		Z0 		= 0.05;
		VCF  		= 1.0;
		RootDepth  	= 0.1;
		AltDep  	= 0;
	        }
	
#----------------------------------		
# 0.3x
#
#$set   $1e3 = 0.33e-3
#
#$set   $9e4 = 3.00e-4
#$set   $8e4 = 2.67e-4
#$set   $7e4 = 2.33e-4
#$set   $6e4 = 2.00e-4
#$set   $5e4 = 1.67e-4
#$set $4.5e4 = 1.50e-4
#$set   $4e4 = 1.33e-4
#$set $3.5e4 = 1.17e-4
#$set $3.2e4 = 1.07e-4
#$set   $3e4 = 1.00e-4
#$set $2.5e4 = 0.83e-4
#$set $2.2e4 = 0.73e-4
#$set   $2e4 = 0.67e-4
#$set $1.7e4 = 0.57e-4
#$set $1.5e4 = 0.50e-4
#$set $1.4e4 = 0.47e-4
#$set $1.3e4 = 0.43e-4
#$set $1.2e4 = 0.40e-4
#$set   $1e4 = 0.33e-4
#
#$set   $9e5 = 3.00e-5
#$set   $8e5 = 2.67e-5
#$set   $7e5 = 2.33e-5
#$set   $6e5 = 2.00e-5
#$set   $5e5 = 1.67e-5
#$set $4.5e5 = 1.50e-5
#$set   $4e5 = 1.33e-5
#$set $3.5e5 = 1.17e-5
#$set $3.2e5 = 1.07e-5
#$set   $3e5 = 1.00e-5
#$set $2.5e5 = 0.83e-5
#$set $2.2e5 = 0.73e-5
#$set   $2e5 = 0.67e-5
#$set $1.7e5 = 0.57e-5
#$set $1.5e5 = 0.50e-5
#$set $1.4e5 = 0.47e-5
#$set $1.3e5 = 0.43e-5
#$set $1.2e5 = 0.40e-5
#$set   $1e5 = 0.33e-5
#
#$set   $9e6 = 3.00e-6
#$set   $8e6 = 2.67e-6
#$set   $7e6 = 2.33e-6
#$set   $6e6 = 2.00e-6
#$set   $5e6 = 1.67e-6
#$set $4.5e6 = 1.50e-6
#$set   $4e6 = 1.33e-6
#$set $3.5e6 = 1.17e-6
#$set $3.2e6 = 1.07e-6
#$set   $3e6 = 1.00e-6
#$set $2.5e6 = 0.83e-6
#$set $2.2e6 = 0.73e-6
#$set   $2e6 = 0.67e-6
#$set $1.7e6 = 0.57e-6
#$set $1.5e6 = 0.50e-6
#$set $1.4e6 = 0.47e-6
#$set $1.3e6 = 0.43e-6
#$set $1.2e6 = 0.40e-6
#$set   $1e6 = 0.33e-6
#
#$set   $9e7 = 3.00e-7
#$set   $8e7 = 2.67e-7
#$set   $7e7 = 2.33e-7
#$set   $6e7 = 2.00e-7
#$set   $5e7 = 1.67e-7
#$set $4.5e7 = 1.50e-7
#$set   $4e7 = 1.33e-7
#$set $3.5e7 = 1.17e-7
#$set $3.2e7 = 1.07e-7
#$set   $3e7 = 1.00e-7
#$set $2.5e7 = 0.83e-7
#$set $2.2e7 = 0.73e-7
#$set   $2e7 = 0.67e-7
#$set $1.7e7 = 0.57e-7
#$set $1.5e7 = 0.50e-7
#$set $1.4e7 = 0.47e-7
#$set $1.3e7 = 0.43e-7
#$set $1.2e7 = 0.40e-7
#$set   $1e7 = 0.33e-7
#
#$set   $9e8 = 3.00e-8
#$set   $8e8 = 2.67e-8
#$set   $7e8 = 2.33e-8
#$set   $6e8 = 2.00e-8
#$set   $5e8 = 1.67e-8
#$set $4.5e8 = 1.50e-8
#$set   $4e8 = 1.33e-8
#$set $3.5e8 = 1.17e-8
#$set $3.2e8 = 1.07e-8
#$set   $3e8 = 1.00e-8
#$set $2.5e8 = 0.83e-8
#$set $2.2e8 = 0.73e-8
#$set   $2e8 = 0.67e-8
#$set $1.7e8 = 0.57e-8
#$set $1.5e8 = 0.50e-8
#$set $1.4e8 = 0.47e-8
#$set $1.3e8 = 0.43e-8
#$set $1.2e8 = 0.40e-8
#$set   $1e8 = 0.33e-8
#
#$set   $9e9 = 3.00e-9
#$set   $8e9 = 2.67e-9
#$set   $7e9 = 2.33e-9
#$set   $6e9 = 2.00e-9
#$set   $5e9 = 1.67e-9
#$set $4.5e9 = 1.50e-9
#$set   $4e9 = 1.33e-9
#$set $3.5e9 = 1.17e-9
#$set $3.2e9 = 1.07e-9
#$set   $3e9 = 1.00e-9
#$set $2.5e9 = 0.83e-9
#$set $2.2e9 = 0.73e-9
#$set   $2e9 = 0.67e-9
#$set $1.7e9 = 0.57e-9
#$set $1.5e9 = 0.50e-9
#$set $1.4e9 = 0.47e-9
#$set $1.3e9 = 0.43e-9
#$set $1.2e9 = 0.40e-9
#$set   $1e9 = 0.33e-9
#
#----------------------------------		
# 0.5x
#
#$set   $1e3 = 0.50e-3
#
#$set   $9e4 = 4.50e-4
#$set   $8e4 = 4.00e-4
#$set   $7e4 = 3.50e-4
#$set   $6e4 = 3.00e-4
#$set   $5e4 = 2.50e-4
#$set $4.5e4 = 2.25e-4
#$set   $4e4 = 2.00e-4
#$set $3.5e4 = 1.75e-4
#$set $3.2e4 = 1.60e-4
#$set   $3e4 = 1.50e-4
#$set $2.5e4 = 1.25e-4
#$set $2.2e4 = 1.10e-4
#$set   $2e4 = 1.00e-4
#$set $1.7e4 = 0.85e-4
#$set $1.5e4 = 0.75e-4
#$set $1.4e4 = 0.70e-4
#$set $1.3e4 = 0.65e-4
#$set $1.2e4 = 0.60e-4
#$set   $1e4 = 0.50e-4
#
#$set   $9e5 = 4.50e-5
#$set   $8e5 = 4.00e-5
#$set   $7e5 = 3.50e-5
#$set   $6e5 = 3.00e-5
#$set   $5e5 = 2.50e-5
#$set $4.5e5 = 2.25e-5
#$set   $4e5 = 2.00e-5
#$set $3.5e5 = 1.75e-5
#$set $3.2e5 = 1.60e-5
#$set   $3e5 = 1.50e-5
#$set $2.5e5 = 1.25e-5
#$set $2.2e5 = 1.10e-5
#$set   $2e5 = 1.00e-5
#$set $1.7e5 = 0.85e-5
#$set $1.5e5 = 0.75e-5
#$set $1.4e5 = 0.70e-5
#$set $1.3e5 = 0.65e-5
#$set $1.2e5 = 0.60e-5
#$set   $1e5 = 0.50e-5
#
#$set   $9e6 = 4.50e-6
#$set   $8e6 = 4.00e-6
#$set   $7e6 = 3.50e-6
#$set   $6e6 = 3.00e-6
#$set   $5e6 = 2.50e-6
#$set $4.5e6 = 2.25e-6
#$set   $4e6 = 2.00e-6
#$set $3.5e6 = 1.75e-6
#$set $3.2e6 = 1.60e-6
#$set   $3e6 = 1.50e-6
#$set $2.5e6 = 1.25e-6
#$set $2.2e6 = 1.10e-6
#$set   $2e6 = 1.00e-6
#$set $1.7e6 = 0.85e-6
#$set $1.5e6 = 0.75e-6
#$set $1.4e6 = 0.70e-6
#$set $1.3e6 = 0.65e-6
#$set $1.2e6 = 0.60e-6
#$set   $1e6 = 0.50e-6
#
#$set   $9e7 = 4.50e-7
#$set   $8e7 = 4.00e-7
#$set   $7e7 = 3.50e-7
#$set   $6e7 = 3.00e-7
#$set   $5e7 = 2.50e-7
#$set $4.5e7 = 2.25e-7
#$set   $4e7 = 2.00e-7
#$set $3.5e7 = 1.75e-7
#$set $3.2e7 = 1.60e-7
#$set   $3e7 = 1.50e-7
#$set $2.5e7 = 1.25e-7
#$set $2.2e7 = 1.10e-7
#$set   $2e7 = 1.00e-7
#$set $1.7e7 = 0.85e-7
#$set $1.5e7 = 0.75e-7
#$set $1.4e7 = 0.70e-7
#$set $1.3e7 = 0.65e-7
#$set $1.2e7 = 0.60e-7
#$set   $1e7 = 0.50e-7
#
#$set   $9e8 = 4.50e-8
#$set   $8e8 = 4.00e-8
#$set   $7e8 = 3.50e-8
#$set   $6e8 = 3.00e-8
#$set   $5e8 = 2.50e-8
#$set $4.5e8 = 2.25e-8
#$set   $4e8 = 2.00e-8
#$set $3.5e8 = 1.75e-8
#$set $3.2e8 = 1.60e-8
#$set   $3e8 = 1.50e-8
#$set $2.5e8 = 1.25e-8
#$set $2.2e8 = 1.10e-8
#$set   $2e8 = 1.00e-8
#$set $1.7e8 = 0.85e-8
#$set $1.5e8 = 0.75e-8
#$set $1.4e8 = 0.70e-8
#$set $1.3e8 = 0.65e-8
#$set $1.2e8 = 0.60e-8
#$set   $1e8 = 0.50e-8
#
#$set   $9e9 = 4.50e-9
#$set   $8e9 = 4.00e-9
#$set   $7e9 = 3.50e-9
#$set   $6e9 = 3.00e-9
#$set   $5e9 = 2.50e-9
#$set $4.5e9 = 2.25e-9
#$set   $4e9 = 2.00e-9
#$set $3.5e9 = 1.75e-9
#$set $3.2e9 = 1.60e-9
#$set   $3e9 = 1.50e-9
#$set $2.5e9 = 1.25e-9
#$set $2.2e9 = 1.10e-9
#$set   $2e9 = 1.00e-9
#$set $1.7e9 = 0.85e-9
#$set $1.5e9 = 0.75e-9
#$set $1.4e9 = 0.70e-9
#$set $1.3e9 = 0.65e-9
#$set $1.2e9 = 0.60e-9
#$set   $1e9 = 0.50e-9
#
#----------------------------------		
# 1x
#
#$set   $1e3 = 1.00e-3
#
#$set   $9e4 = 9.00e-4
#$set   $8e4 = 8.00e-4
#$set   $7e4 = 7.00e-4
#$set   $6e4 = 6.00e-4
#$set   $5e4 = 5.00e-4
#$set $4.5e4 = 4.50e-4
#$set   $4e4 = 4.00e-4
#$set $3.5e4 = 3.50e-4
#$set $3.2e4 = 3.20e-4
#$set   $3e4 = 3.00e-4
#$set $2.5e4 = 2.50e-4
#$set $2.2e4 = 2.20e-4
#$set   $2e4 = 2.00e-4
#$set $1.7e4 = 1.70e-4
#$set $1.5e4 = 1.50e-4
#$set $1.4e4 = 1.40e-4
#$set $1.3e4 = 1.30e-4
#$set $1.2e4 = 1.20e-4
#$set   $1e4 = 1.00e-4
#
#$set   $9e5 = 9.00e-5
#$set   $8e5 = 8.00e-5
#$set   $7e5 = 7.00e-5
#$set   $6e5 = 6.00e-5
#$set   $5e5 = 5.00e-5
#$set $4.5e5 = 4.50e-5
#$set   $4e5 = 4.00e-5
#$set $3.5e5 = 3.50e-5
#$set $3.2e5 = 3.20e-5
#$set   $3e5 = 3.00e-5
#$set $2.5e5 = 2.50e-5
#$set $2.2e5 = 2.20e-5
#$set   $2e5 = 2.00e-5
#$set $1.7e5 = 1.70e-5
#$set $1.5e5 = 1.50e-5
#$set $1.4e5 = 1.40e-5
#$set $1.3e5 = 1.30e-5
#$set $1.2e5 = 1.20e-5
#$set   $1e5 = 1.00e-5
#
#$set   $9e6 = 9.00e-6
#$set   $8e6 = 8.00e-6
#$set   $7e6 = 7.00e-6
#$set   $6e6 = 6.00e-6
#$set   $5e6 = 5.00e-6
#$set $4.5e6 = 4.50e-6
#$set   $4e6 = 4.00e-6
#$set $3.5e6 = 3.50e-6
#$set $3.2e6 = 3.20e-6
#$set   $3e6 = 3.00e-6
#$set $2.5e6 = 2.50e-6
#$set $2.2e6 = 2.20e-6
#$set   $2e6 = 2.00e-6
#$set $1.7e6 = 1.70e-6
#$set $1.5e6 = 1.50e-6
#$set $1.4e6 = 1.40e-6
#$set $1.3e6 = 1.30e-6
#$set $1.2e6 = 1.20e-6
#$set   $1e6 = 1.00e-6
#
#$set   $9e7 = 9.00e-7
#$set   $8e7 = 8.00e-7
#$set   $7e7 = 7.00e-7
#$set   $6e7 = 6.00e-7
#$set   $5e7 = 5.00e-7
#$set $4.5e7 = 4.50e-7
#$set   $4e7 = 4.00e-7
#$set $3.5e7 = 3.50e-7
#$set $3.2e7 = 3.20e-7
#$set   $3e7 = 3.00e-7
#$set $2.5e7 = 2.50e-7
#$set $2.2e7 = 2.20e-7
#$set   $2e7 = 2.00e-7
#$set $1.7e7 = 1.70e-7
#$set $1.5e7 = 1.50e-7
#$set $1.4e7 = 1.40e-7
#$set $1.3e7 = 1.30e-7
#$set $1.2e7 = 1.20e-7
#$set   $1e7 = 1.00e-7
#
#$set   $9e8 = 9.00e-8
#$set   $8e8 = 8.00e-8
#$set   $7e8 = 7.00e-8
#$set   $6e8 = 6.00e-8
#$set   $5e8 = 5.00e-8
#$set $4.5e8 = 4.50e-8
#$set   $4e8 = 4.00e-8
#$set $3.5e8 = 3.50e-8
#$set $3.2e8 = 3.20e-8
#$set   $3e8 = 3.00e-8
#$set $2.5e8 = 2.50e-8
#$set $2.2e8 = 2.20e-8
#$set   $2e8 = 2.00e-8
#$set $1.7e8 = 1.70e-8
#$set $1.5e8 = 1.50e-8
#$set $1.4e8 = 1.40e-8
#$set $1.3e8 = 1.30e-8
#$set $1.2e8 = 1.20e-8
#$set   $1e8 = 1.00e-8
#
#$set   $9e9 = 9.00e-9
#$set   $8e9 = 8.00e-9
#$set   $7e9 = 7.00e-9
#$set   $6e9 = 6.00e-9
#$set   $5e9 = 5.00e-9
#$set $4.5e9 = 4.50e-9
#$set   $4e9 = 4.00e-9
#$set $3.5e9 = 3.50e-9
#$set $3.2e9 = 3.20e-9
#$set   $3e9 = 3.00e-9
#$set $2.5e9 = 2.50e-9
#$set $2.2e9 = 2.20e-9
#$set   $2e9 = 2.00e-9
#$set $1.7e9 = 1.70e-9
#$set $1.5e9 = 1.50e-9
#$set $1.4e9 = 1.40e-9
#$set $1.3e9 = 1.30e-9
#$set $1.2e9 = 1.20e-9
#$set   $1e9 = 1.00e-9
#
#----------------------------------		
# 2x

$set   $1e3 = 6.00e-3

$set   $9e4 = 1.80e-3
$set   $8e4 = 1.60e-3
$set   $7e4 = 1.40e-3
$set   $6e4 = 1.20e-3
$set   $5e4 = 1.00e-3
$set $4.5e4 = 0.90e-3
$set   $4e4 = 0.80e-3
$set $3.5e4 = 0.70e-3
$set $3.2e4 = 0.64e-3
$set   $3e4 = 0.60e-3
$set $2.5e4 = 0.50e-3
$set $2.2e4 = 0.44e-3
$set   $2e4 = 0.40e-3
$set $1.7e4 = 0.34e-3
$set $1.5e4 = 0.30e-3
$set $1.4e4 = 0.28e-3
$set $1.3e4 = 0.26e-3
$set $1.2e4 = 0.24e-3
$set   $1e4 = 0.20e-3

$set   $9e5 = 1.80e-4
$set   $8e5 = 1.60e-4
$set   $7e5 = 1.40e-4
$set   $6e5 = 1.20e-4
$set   $5e5 = 1.00e-4
$set $4.5e5 = 0.90e-4
$set   $4e5 = 0.80e-4
$set $3.5e5 = 0.70e-4
$set $3.2e5 = 0.64e-4
$set   $3e5 = 0.60e-4
$set $2.5e5 = 0.50e-4
$set $2.2e5 = 0.44e-4
$set   $2e5 = 0.40e-4
$set $1.7e5 = 0.34e-4
$set $1.5e5 = 0.30e-4
$set $1.4e5 = 0.28e-4
$set $1.3e5 = 0.26e-4
$set $1.2e5 = 0.24e-4
$set   $1e5 = 0.20e-4

$set   $9e6 = 1.80e-5
$set   $8e6 = 1.60e-5
$set   $7e6 = 1.40e-5
$set   $6e6 = 1.20e-5
$set   $5e6 = 1.00e-5
$set $4.5e6 = 0.90e-5
$set   $4e6 = 0.80e-5
$set $3.5e6 = 0.70e-5
$set $3.2e6 = 0.64e-5
$set   $3e6 = 0.60e-5
$set $2.5e6 = 0.50e-5
$set $2.2e6 = 0.44e-5
$set   $2e6 = 0.40e-5
$set $1.7e6 = 0.34e-5
$set $1.5e6 = 0.30e-5
$set $1.4e6 = 0.28e-5
$set $1.3e6 = 0.26e-5
$set $1.2e6 = 0.24e-5
$set   $1e6 = 0.20e-5

$set   $9e7 = 1.80e-6
$set   $8e7 = 1.60e-6
$set   $7e7 = 1.40e-6
$set   $6e7 = 1.20e-6
$set   $5e7 = 1.00e-6
$set $4.5e7 = 0.90e-6
$set   $4e7 = 0.80e-6
$set $3.5e7 = 0.70e-6
$set $3.2e7 = 0.64e-6
$set   $3e7 = 0.60e-6
$set $2.5e7 = 0.50e-6
$set $2.2e7 = 0.44e-6
$set   $2e7 = 0.40e-6
$set $1.7e7 = 0.34e-6
$set $1.5e7 = 0.30e-6
$set $1.4e7 = 0.28e-6
$set $1.3e7 = 0.26e-6
$set $1.2e7 = 0.24e-6
$set   $1e7 = 0.20e-6

$set   $9e8 = 1.80e-7
$set   $8e8 = 1.60e-7
$set   $7e8 = 1.40e-7
$set   $6e8 = 1.20e-7
$set   $5e8 = 1.00e-7
$set $4.5e8 = 0.90e-7
$set   $4e8 = 0.80e-7
$set $3.5e8 = 0.70e-7
$set $3.2e8 = 0.64e-7
$set   $3e8 = 0.60e-7
$set $2.5e8 = 0.50e-7
$set $2.2e8 = 0.44e-7
$set   $2e8 = 0.40e-7
$set $1.7e8 = 0.34e-7
$set $1.5e8 = 0.30e-7
$set $1.4e8 = 0.28e-7
$set $1.3e8 = 0.26e-7
$set $1.2e8 = 0.24e-7
$set   $1e8 = 0.20e-7

$set   $9e9 = 1.80e-8
$set   $8e9 = 1.60e-8
$set   $7e9 = 1.40e-8
$set   $6e9 = 1.20e-8
$set   $5e9 = 1.00e-8
$set $4.5e9 = 0.90e-8
$set   $4e9 = 0.80e-8
$set $3.5e9 = 0.70e-8
$set $3.2e9 = 0.64e-8
$set   $3e9 = 0.60e-8
$set $2.5e9 = 0.50e-8
$set $2.2e9 = 0.44e-8
$set   $2e9 = 0.40e-8
$set $1.7e9 = 0.34e-8
$set $1.5e9 = 0.30e-8
$set $1.4e9 = 0.28e-8
$set $1.3e9 = 0.26e-8
$set $1.2e9 = 0.24e-8
$set   $1e9 = 0.20e-8

#----------------------------------		
# 5x
#
#$set   $1e3 = 5.00e-3
#
#$set   $9e4 = 4.50e-3
#$set   $8e4 = 4.00e-3
#$set   $7e4 = 3.50e-3
#$set   $6e4 = 3.00e-3
#$set   $5e4 = 2.50e-3
#$set $4.5e4 = 2.25e-3
#$set   $4e4 = 2.00e-3
#$set $3.5e4 = 1.75e-3
#$set $3.2e4 = 1.60e-3
#$set   $3e4 = 1.50e-3
#$set $2.5e4 = 1.25e-3
#$set $2.2e4 = 1.10e-3
#$set   $2e4 = 1.00e-3
#$set $1.7e4 = 0.85e-3
#$set $1.5e4 = 0.75e-3
#$set $1.4e4 = 0.70e-3
#$set $1.3e4 = 0.65e-3
#$set $1.2e4 = 0.60e-3
#$set   $1e4 = 0.50e-3
#
#$set   $9e5 = 4.50e-4
#$set   $8e5 = 4.00e-4
#$set   $7e5 = 3.50e-4
#$set   $6e5 = 3.00e-4
#$set   $5e5 = 2.50e-4
#$set $4.5e5 = 2.25e-4
#$set   $4e5 = 2.00e-4
#$set $3.5e5 = 1.75e-4
#$set $3.2e5 = 1.60e-4
#$set   $3e5 = 1.50e-4
#$set $2.5e5 = 1.25e-4
#$set $2.2e5 = 1.10e-4
#$set   $2e5 = 1.00e-4
#$set $1.7e5 = 0.85e-4
#$set $1.5e5 = 0.75e-4
#$set $1.4e5 = 0.70e-4
#$set $1.3e5 = 0.65e-4
#$set $1.2e5 = 0.60e-4
#$set   $1e5 = 0.50e-4
#
#$set   $9e6 = 4.50e-5
#$set   $8e6 = 4.00e-5
#$set   $7e6 = 3.50e-5
#$set   $6e6 = 3.00e-5
#$set   $5e6 = 2.50e-5
#$set $4.5e6 = 2.25e-5
#$set   $4e6 = 2.00e-5
#$set $3.5e6 = 1.75e-5
#$set $3.2e6 = 1.60e-5
#$set   $3e6 = 1.50e-5
#$set $2.5e6 = 1.25e-5
#$set $2.2e6 = 1.10e-5
#$set   $2e6 = 1.00e-5
#$set $1.7e6 = 0.85e-5
#$set $1.5e6 = 0.75e-5
#$set $1.4e6 = 0.70e-5
#$set $1.3e6 = 0.65e-5
#$set $1.2e6 = 0.60e-5
#$set   $1e6 = 0.50e-5
#
#$set   $9e7 = 4.50e-6
#$set   $8e7 = 4.00e-6
#$set   $7e7 = 3.50e-6
#$set   $6e7 = 3.00e-6
#$set   $5e7 = 2.50e-6
#$set $4.5e7 = 2.25e-6
#$set   $4e7 = 2.00e-6
#$set $3.5e7 = 1.75e-6
#$set $3.2e7 = 1.60e-6
#$set   $3e7 = 1.50e-6
#$set $2.5e7 = 1.25e-6
#$set $2.2e7 = 1.10e-6
#$set   $2e7 = 1.00e-6
#$set $1.7e7 = 0.85e-6
#$set $1.5e7 = 0.75e-6
#$set $1.4e7 = 0.70e-6
#$set $1.3e7 = 0.65e-6
#$set $1.2e7 = 0.60e-6
#$set   $1e7 = 0.50e-6
#
#$set   $9e8 = 4.50e-7
#$set   $8e8 = 4.00e-7
#$set   $7e8 = 3.50e-7
#$set   $6e8 = 3.00e-7
#$set   $5e8 = 2.50e-7
#$set $4.5e8 = 2.25e-7
#$set   $4e8 = 2.00e-7
#$set $3.5e8 = 1.75e-7
#$set $3.2e8 = 1.60e-7
#$set   $3e8 = 1.50e-7
#$set $2.5e8 = 1.25e-7
#$set $2.2e8 = 1.10e-7
#$set   $2e8 = 1.00e-7
#$set $1.7e8 = 0.85e-7
#$set $1.5e8 = 0.75e-7
#$set $1.4e8 = 0.70e-7
#$set $1.3e8 = 0.65e-7
#$set $1.2e8 = 0.60e-7
#$set   $1e8 = 0.50e-7
#
#$set   $9e9 = 4.50e-8
#$set   $8e9 = 4.00e-8
#$set   $7e9 = 3.50e-8
#$set   $6e9 = 3.00e-8
#$set   $5e9 = 2.50e-8
#$set $4.5e9 = 2.25e-8
#$set   $4e9 = 2.00e-8
#$set $3.5e9 = 1.75e-8
#$set $3.2e9 = 1.60e-8
#$set   $3e9 = 1.50e-8
#$set $2.5e9 = 1.25e-8
#$set $2.2e9 = 1.10e-8
#$set   $2e9 = 1.00e-8
#$set $1.7e9 = 0.85e-8
#$set $1.5e9 = 0.75e-8
#$set $1.4e9 = 0.70e-8
#$set $1.3e9 = 0.65e-8
#$set $1.2e9 = 0.60e-8
#$set   $1e9 = 0.50e-8
#
#----------------------------------		
# 10x
#
#$set   $1e3 = 10.00e-3
#
#$set   $9e4 = 9.00e-3
#$set   $8e4 = 8.00e-3
#$set   $7e4 = 7.00e-3
#$set   $6e4 = 6.00e-3
#$set   $5e4 = 5.00e-3
#$set $4.5e4 = 4.50e-3
#$set   $4e4 = 4.00e-3
#$set $3.5e4 = 3.50e-3
#$set $3.2e4 = 3.20e-3
#$set   $3e4 = 3.00e-3
#$set $2.5e4 = 2.50e-3
#$set $2.2e4 = 2.20e-3
#$set   $2e4 = 2.00e-3
#$set $1.7e4 = 1.70e-3
#$set $1.5e4 = 1.50e-3
#$set $1.4e4 = 1.40e-3
#$set $1.3e4 = 1.30e-3
#$set $1.2e4 = 1.20e-3
#$set   $1e4 = 1.00e-3
#
#$set   $9e5 = 9.00e-4
#$set   $8e5 = 8.00e-4
#$set   $7e5 = 7.00e-4
#$set   $6e5 = 6.00e-4
#$set   $5e5 = 5.00e-4
#$set $4.5e5 = 4.50e-4
#$set   $4e5 = 4.00e-4
#$set $3.5e5 = 3.50e-4
#$set $3.2e5 = 3.20e-4
#$set   $3e5 = 3.00e-4
#$set $2.5e5 = 2.50e-4
#$set $2.2e5 = 2.20e-4
#$set   $2e5 = 2.00e-4
#$set $1.7e5 = 1.70e-4
#$set $1.5e5 = 1.50e-4
#$set $1.4e5 = 1.40e-4
#$set $1.3e5 = 1.30e-4
#$set $1.2e5 = 1.20e-4
#$set   $1e5 = 1.00e-4
#
#$set   $9e6 = 9.00e-5
#$set   $8e6 = 8.00e-5
#$set   $7e6 = 7.00e-5
#$set   $6e6 = 6.00e-5
#$set   $5e6 = 5.00e-5
#$set $4.5e6 = 4.50e-5
#$set   $4e6 = 4.00e-5
#$set $3.5e6 = 3.50e-5
#$set $3.2e6 = 3.20e-5
#$set   $3e6 = 3.00e-5
#$set $2.5e6 = 2.50e-5
#$set $2.2e6 = 2.20e-5
#$set   $2e6 = 2.00e-5
#$set $1.7e6 = 1.70e-5
#$set $1.5e6 = 1.50e-5
#$set $1.4e6 = 1.40e-5
#$set $1.3e6 = 1.30e-5
#$set $1.2e6 = 1.20e-5
#$set   $1e6 = 1.00e-5
#
#$set   $9e7 = 9.00e-6
#$set   $8e7 = 8.00e-6
#$set   $7e7 = 7.00e-6
#$set   $6e7 = 6.00e-6
#$set   $5e7 = 5.00e-6
#$set $4.5e7 = 4.50e-6
#$set   $4e7 = 4.00e-6
#$set $3.5e7 = 3.50e-6
#$set $3.2e7 = 3.20e-6
#$set   $3e7 = 3.00e-6
#$set $2.5e7 = 2.50e-6
#$set $2.2e7 = 2.20e-6
#$set   $2e7 = 2.00e-6
#$set $1.7e7 = 1.70e-6
#$set $1.5e7 = 1.50e-6
#$set $1.4e7 = 1.40e-6
#$set $1.3e7 = 1.30e-6
#$set $1.2e7 = 1.20e-6
#$set   $1e7 = 1.00e-6
#
#$set   $9e8 = 9.00e-7
#$set   $8e8 = 8.00e-7
#$set   $7e8 = 7.00e-7
#$set   $6e8 = 6.00e-7
#$set   $5e8 = 5.00e-7
#$set $4.5e8 = 4.50e-7
#$set   $4e8 = 4.00e-7
#$set $3.5e8 = 3.50e-7
#$set $3.2e8 = 3.20e-7
#$set   $3e8 = 3.00e-7
#$set $2.5e8 = 2.50e-7
#$set $2.2e8 = 2.20e-7
#$set   $2e8 = 2.00e-7
#$set $1.7e8 = 1.70e-7
#$set $1.5e8 = 1.50e-7
#$set $1.4e8 = 1.40e-7
#$set $1.3e8 = 1.30e-7
#$set $1.2e8 = 1.20e-7
#$set   $1e8 = 1.00e-7
#
#$set   $9e9 = 9.00e-8
#$set   $8e9 = 8.00e-8
#$set   $7e9 = 7.00e-8
#$set   $6e9 = 6.00e-8
#$set   $5e9 = 5.00e-8
#$set $4.5e9 = 4.50e-8
#$set   $4e9 = 4.00e-8
#$set $3.5e9 = 3.50e-8
#$set $3.2e9 = 3.20e-8
#$set   $3e9 = 3.00e-8
#$set $2.5e9 = 2.50e-8
#$set $2.2e9 = 2.20e-8
#$set   $2e9 = 2.00e-8
#$set $1.7e9 = 1.70e-8
#$set $1.5e9 = 1.50e-8
#$set $1.4e9 = 1.40e-8
#$set $1.3e9 = 1.30e-8
#$set $1.2e9 = 1.20e-8
#$set   $1e9 = 1.00e-8
#
#----------------------------------		
 
#$set $ThicknessScaling1 = 1.0 # original:  2.5 m with factor=1
##$set $ThicknessScaling1 = 1.5 # original:  2.5 m with factor=1
##$set $ThicknessScaling1 = 0.5 # original:  2.5 m with factor=1
#$set $ThicknessScaling2 = 1.0 # original:  5 m with factor=1
#$set $ThicknessScaling3 = 1.0 # original: 17 m with factor=1

$set $ThicknessScaling1 = 4.0 # original:  2.5 m = 10.0
$set $ThicknessScaling2 = 3.0 # original:  5.0 m = 15
$set $ThicknessScaling3 = 1.5 # original: 16.2 m = 24.3 

$set $MaxInterflowdepth1 = 1.5
$set $MaxInterflowdepth2 = 1.8
$set $MaxInterflowdepth3 = 2.4

$set $PMacroThresh1	= 8.0
$set $MacroCapacity1 	= 0.5
$set $CapacityRedu1	= 0.7
$set $MacroDepth1 	= 1.0

$set $PMacroThresh2	= 8.0
$set $MacroCapacity2 	= 1.0
$set $CapacityRedu2	= 0.7
$set $MacroDepth2 	= 1.5

$set $PMacroThresh3	= 8.0
$set $MacroCapacity3 	= 1.0
$set $CapacityRedu3	= 0.7
$set $MacroDepth3 	= 2.0

[soil_table]
40
#co- name of the 	# van Genuchten Parameter nach Carsel & Parrish (1988)
#de  soil profile
#-- ---------------
2	Silty_Clay_shallow {
			method 			= MultipleHorizons;
			ThicknessScaling	= $ThicknessScaling1;
 			MaxInterflowDepth 	= $MaxInterflowdepth1;
			PMacroThresh   		= $PMacroThresh1;
			MacroCapacity  		= $MacroCapacity1;
			CapacityRedu   		= $CapacityRedu1;
			MacroDepth     		= $MacroDepth1;
		    horizon   			= 1	2	3	4	;
			Name			= T_Cu	M_Cu	Sub_Cu	Dp_Cu	;
			ksat      		= $2e7	$1.7e7	$1.5e7	$1.3e7	;
			k_recession 		= 0.95	0.95	0.95	0.95	;
			theta_sat 		= 0.43	0.40	0.40	0.37	;
			theta_res 		= 0.11	0.12	0.12	0.12	;
			alpha     		= 1.7 	1.7	1.7	1.7	;
			Par_n     		= 1.5	1.5	1.5	1.5	;
			Par_tau			= 0.5	0.5	0.5	0.5	;
			thickness 		= 0.10	0.10	0.15	0.13	; #2.5m 
			layers    		= 3	3	4	10	; # 20 layers for all soil types
		}
22	Silty_Clay_medium {
			method 			= MultipleHorizons;
			ThicknessScaling	= $ThicknessScaling2;
 			MaxInterflowDepth 	= $MaxInterflowdepth2;
			PMacroThresh   		= $PMacroThresh2;
			MacroCapacity  		= $MacroCapacity2;
			CapacityRedu   		= $CapacityRedu2;
			MacroDepth     		= $MacroDepth2;
			horizon   		= 1	2	3	4	;
			Name			= T_Cu	M_Cu	Sub_Cu	Dp_Cu	;
			ksat      		= $2e7	$1.7e7	$1.5e7	$1.3e7	;
			k_recession 		= 0.95	0.95	0.95	0.95	;
			theta_sat 		= 0.43	0.40	0.40	0.37	;
			theta_res 		= 0.11	0.12	0.12	0.12	;
			alpha     		= 1.7 	1.7	1.7	1.7	;
			Par_n     		= 1.5	1.5	1.5	1.5	;
			Par_tau			= 0.5	0.5	0.5	0.5	;
			thickness 		= 0.10	0.10	0.15	0.38	; # 5.0 m 
			layers    		= 3	3	4	10	; # 20 layers for all soil types
		}
42	Silty_Clay_deep {
			method 			= MultipleHorizons;
			ThicknessScaling	= $ThicknessScaling3;
 			MaxInterflowDepth 	= $MaxInterflowdepth3;
			PMacroThresh   		= $PMacroThresh3;
			MacroCapacity  		= $MacroCapacity3;
			CapacityRedu   		= $CapacityRedu3;
			MacroDepth     		= $MacroDepth3;
			horizon   		= 1	2	3	4	;
			Name			= T_Cu	M_Cu	Sub_Cu	Dp_Cu	;
			ksat      		= $2e7	$1.7e7	$1.5e7	$1.3e7	;
			k_recession 		= 0.95	0.95	0.95	0.95	;
			theta_sat 		= 0.43	0.40	0.40	0.37	;
			theta_res 		= 0.11	0.12	0.12	0.12	;
			alpha     		= 1.7 	1.7	1.7	1.7	;
			Par_n     		= 1.5	1.5	1.5	1.5	;
			Par_tau			= 0.5	0.5	0.5	0.5	;
			thickness 		= 0.10	0.10	0.15	1.5	; # 16.2 m 
			layers    		= 3	3	4	10	; # 20 layers for all soil types
		}
3	Clay_shallow {
			method 			= MultipleHorizons;
			ThicknessScaling	= $ThicknessScaling1 ;
 			MaxInterflowDepth 	= $MaxInterflowdepth1 ;
			PMacroThresh   		= $PMacroThresh1;
			MacroCapacity  		= $MacroCapacity1;
			CapacityRedu   		= $CapacityRedu1;
			MacroDepth     		= $MacroDepth1;
			horizon			= 1	2	3	4	;
			Name			= T_C	M_C	Sub_C	Dp_C	;
			ksat			= $4e7	$3.5e7	$3.2e7	$3e7	;
			k_recession		= 0.97	0.97	0.97	0.97	;
			theta_sat		= 0.43	0.45	0.42	0.40	;
			theta_res		= 0.078	0.067	0.087	0.087	;
			alpha			= 1.47	1.47	1.47	1.47	;
			Par_n			= 1.25	1.25	1.25	1.25	;
			Par_tau			= 0.5	0.5	0.5	0.5	;
			thickness 		= 0.10	0.10	0.15	0.13	; #2.5m 
			layers    		= 3	3	4	10	; # 20 layers for all soil types
		}
23	Clay_medium {
			method 			= MultipleHorizons;
			ThicknessScaling	= $ThicknessScaling2 ; 		
 			MaxInterflowDepth 	= $MaxInterflowdepth2 ;
			PMacroThresh   		= $PMacroThresh2;  
			MacroCapacity  		= $MacroCapacity2; 
			CapacityRedu   		= $CapacityRedu2;   
			MacroDepth     		= $MacroDepth2;  
			horizon			= 1	2	3	4	;
			Name			= T_C	M_C	Sub_C	Dp_C	;
			ksat			= $4e7	$3.5e7	$3.2e7	$3e7	;
			k_recession		= 0.97	0.97	0.97	0.97	;
			theta_sat		= 0.43	0.45	0.42	0.40	;
			theta_res		= 0.078	0.067	0.087	0.087	;
			alpha			= 1.47	1.47	1.47	1.47	;
			Par_n			= 1.25	1.25	1.25	1.25	;
			Par_tau			= 0.5	0.5	0.5	0.5	;
			thickness 		= 0.10	0.10	0.15	0.38	; # 5.0m 
			layers    		= 3	3	4	10	; # 20 layers for all soil types
		}
43	Clay_deep {
			method 			= MultipleHorizons;
			ThicknessScaling	= $ThicknessScaling3 ; 		
 			MaxInterflowDepth 	= $MaxInterflowdepth3 ;
			PMacroThresh   		= $PMacroThresh3;  
			MacroCapacity  		= $MacroCapacity3; 
			CapacityRedu   		= $CapacityRedu3;   
			MacroDepth     		= $MacroDepth3;  
			horizon			= 1	2	3	4	;
			Name			= T_C	M_C	Sub_C	Dp_C	;
			ksat			= $4e7	$3.5e7	$3.2e7	$3e7	;
			k_recession		= 0.97	0.97	0.97	0.97	;
			theta_sat		= 0.43	0.45	0.42	0.40	;
			theta_res		= 0.078	0.067	0.087	0.087	;
			alpha			= 1.47	1.47	1.47	1.47	;
			Par_n			= 1.25	1.25	1.25	1.25	;
			Par_tau			= 0.5	0.5	0.5	0.5	;
			thickness 		= 0.10	0.10	0.15	1.5	; # 16.2m 
			layers    		= 3	3	4	10	; # 20 layers for all soil types
		}
4	silty_clay_loam_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lcu	M_Lcu	Sub_Lcu	Dp_Lcu	;  	
			ksat		      = $1.4e6	$1.3e6	$1.2e6	$1e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.4	1.4	1.4	1.4	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness 	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers    	      = 3	3	4	10	; # 20 layers for all soil types
		}
24	silty_clay_loam_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling2;
 			MaxInterflowDepth     = $MaxInterflowdepth2;
			PMacroThresh	      = $PMacroThresh2;
			MacroCapacity	      = $MacroCapacity2;
			CapacityRedu	      = $CapacityRedu2;
			MacroDepth	      = $MacroDepth2;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lcu	M_Lcu	Sub_Lcu	Dp_Lcu	;  	
			ksat		      = $1.4e6	$1.3e6	$1.2e6	$1e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.4	1.4	1.4	1.4	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness 	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers    	      = 3	3	4	10	; # 20 layers for all soil types
		}
44	silty_clay_loam_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lcu	M_Lcu	Sub_Lcu	Dp_Lcu	;  	
			ksat		      = $1.4e6	$1.3e6	$1.2e6	$1e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.4	1.4	1.4	1.4	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness 	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers    	      = 3	3	4	10	; # 20 layers for all soil types
		}
5	clay_loam_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lc	M_Lc	Sub_Lc	Dp_Lc	;
			ksat		      = $4e6	$3.5e6	$3.2e6	$3e6	;
			k_recession 	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.4	1.4	1.4	1.4	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness 	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers    	      = 3	3	4	10	; # 20 layers for all soil types
		}
25	clay_loam_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling2;
 			MaxInterflowDepth     = $MaxInterflowdepth2;
			PMacroThresh	      = $PMacroThresh2;
			MacroCapacity	      = $MacroCapacity2;
			CapacityRedu	      = $CapacityRedu2;
			MacroDepth	      = $MacroDepth2;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lc	M_Lc	Sub_Lc	Dp_Lc	;
			ksat		      = $4e6	$3.5e6	$3.2e6	$3e6	;
			k_recession 	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.4	1.4	1.4	1.4	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness 	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers    	      = 3	3	4	10	; # 20 layers for all soil types
		}
45	clay_loam_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lc	M_Lc	Sub_Lc	Dp_Lc	;
			ksat		      = $4e6	$3.5e6	$3.2e6	$3e6	;
			k_recession 	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.4	1.4	1.4	1.4	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness 	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers    	      = 3	3	4	10	; # 20 layers for all soil types
		}
6	silt_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_U	M_U	Sub_U	Dp_U	;
			ksat		      = $4e6	$3.5e6	$3.2e6	$3e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 2.0	2.0	2.0	2.0	;
			Par_n		      = 2.0	2.0	2.0	2.0	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
26	silt_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling2;
 			MaxInterflowDepth     = $MaxInterflowdepth2;
			PMacroThresh	      = $PMacroThresh2;
			MacroCapacity	      = $MacroCapacity2;
			CapacityRedu	      = $CapacityRedu2;
			MacroDepth	      = $MacroDepth2;
			horizon		      = 1	2	3	4	;
			Name		      = T_U	M_U	Sub_U	Dp_U	;
			ksat		      = $4e6	$3.5e6	$3.2e6	$3e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 2.0	2.0	2.0	2.0	;
			Par_n		      = 2.0	2.0	2.0	2.0	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
46	silt_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_U	M_U	Sub_U	Dp_U	;
			ksat		      = $4e6	$3.5e6	$3.2e6	$3e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 2.0	2.0	2.0	2.0	;
			Par_n		      = 2.0	2.0	2.0	2.0	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
7	silty_loam_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lu	M_Lu	Sub_Lu	Dp_Lu	;
			ksat		      = $5e6	$5e6	$4.5e6	$4e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.8	1.8	1.8	1.8	;
			Par_n		      = 1.6	1.6	1.6	1.6	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
27	silty_loam_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling2;
 			MaxInterflowDepth     = $MaxInterflowdepth2;
			PMacroThresh	      = $PMacroThresh2;
			MacroCapacity	      = $MacroCapacity2;
			CapacityRedu	      = $CapacityRedu2;
			MacroDepth	      = $MacroDepth2;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lu	M_Lu	Sub_Lu	Dp_Lu	;
			ksat		      = $5e6	$5e6	$4.5e6	$4e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.8	1.8	1.8	1.8	;
			Par_n		      = 1.6	1.6	1.6	1.6	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
47	silty_loam_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lu	M_Lu	Sub_Lu	Dp_Lu	;
			ksat		      = $5e6	$5e6	$4.5e6	$4e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.8	1.8	1.8	1.8	;
			Par_n		      = 1.6	1.6	1.6	1.6	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
8	sandy_clay_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_Cs	M_Cs	Sub_Cs	Dp_Cs	;
			ksat		      = $1.4e6	$1e6	$1e6	$1e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 2.8	2.8	2.8	2.8	;
			Par_n		      = 1.6	1.6	1.6	1.6	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
28	sandy_clay_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling2;
 			MaxInterflowDepth     = $MaxInterflowdepth2;
			PMacroThresh	      = $PMacroThresh2;
			MacroCapacity	      = $MacroCapacity2;
			CapacityRedu	      = $CapacityRedu2;
			MacroDepth	      = $MacroDepth2;
			horizon		      = 1	2	3	4	;
			Name		      = T_Cs	M_Cs	Sub_Cs	Dp_Cs	;
			ksat		      = $1.4e6	$1e6	$1e6	$1e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 2.8	2.8	2.8	2.8	;
			Par_n		      = 1.6	1.6	1.6	1.6	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
48	sandy_clay_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_Cs	M_Cs	Sub_Cs	Dp_Cs	;
			ksat		      = $1.4e6	$1e6	$1e6	$1e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 2.8	2.8	2.8	2.8	;
			Par_n		      = 1.6	1.6	1.6	1.6	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
9	loam_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_L	M_L	Sub_L	Dp_L	;
			ksat		      = $1e5	$8e6	$8e6	$8e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.42	1.42	1.42	1.42	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
29	loam_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling2;
 			MaxInterflowDepth     = $MaxInterflowdepth2;
			PMacroThresh	      = $PMacroThresh2;
			MacroCapacity	      = $MacroCapacity2;
			CapacityRedu	      = $CapacityRedu2;
			MacroDepth	      = $MacroDepth2;
			horizon		      = 1	2	3	4	;
			Name		      = T_L	M_L	Sub_L	Dp_L	;
			ksat		      = $1e5	$8e6	$8e6	$8e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.42	1.42	1.42	1.42	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
49	loam_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_L	M_L	Sub_L	Dp_L	;
			ksat		      = $1e5	$8e6	$8e6	$8e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.42	1.42	1.42	1.42	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
10	sandy_clay_loam_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lsc	M_Lsc	Sub_Lsc	Dp_Lsc	;
			ksat		      = $2e6	$1.7e6	$1.5e6	$1.4e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.42	1.42	1.42	1.42	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
30	sandy_clay_loam_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lsc	M_Lsc	Sub_Lsc	Dp_Lsc	;
			ksat		      = $2e6	$1.7e6	$1.5e6	$1.4e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.42	1.42	1.42	1.42	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
50	sandy_clay_loam_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_Lsc	M_Lsc	Sub_Lsc	Dp_Lsc	;
			ksat		      = $2e6	$1.7e6	$1.5e6	$1.4e6	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 1.6	1.6	1.6	1.6	;
			Par_n		      = 1.42	1.42	1.42	1.42	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
11	sandy_loam_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_Ls	M_Ls	Sub_Ls	Dp_Ls	;
			ksat		      = $2e5	$1.7e5	$1.5e5	$1.4e5	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09 	0.10 	0.11 	;
			alpha		      = 3.6	3.6	3.6	3.6	;
			Par_n		      = 2.1	2.1	2.1	2.1	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
31	sandy_loam_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling2;
 			MaxInterflowDepth     = $MaxInterflowdepth2;
			PMacroThresh	      = $PMacroThresh2;
			MacroCapacity	      = $MacroCapacity2;
			CapacityRedu	      = $CapacityRedu2;
			MacroDepth	      = $MacroDepth2;
			horizon		      = 1	2	3	4	;
			Name		      = T_Ls	M_Ls	Sub_Ls	Dp_Ls	;
			ksat		      = $2e5	$1.7e5	$1.5e5	$1.4e5	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09 	0.10 	0.11 	;
			alpha		      = 3.6	3.6	3.6	3.6	;
			Par_n		      = 2.1	2.1	2.1	2.1	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
51	sandy_loam_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_Ls	M_Ls	Sub_Ls	Dp_Ls	;
			ksat		      = $2e5	$1.7e5	$1.5e5	$1.4e5	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.40	0.39	0.38	0.35	;
			theta_res	      = 0.080	0.09 	0.10 	0.11 	;
			alpha		      = 3.6	3.6	3.6	3.6	;
			Par_n		      = 2.1	2.1	2.1	2.1	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
12	loamy_sand_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_Sl	M_Sl	Sub_Sl	Dp_Sl	;
			ksat		      = $1e4	$8e5	$7e5	$5e5	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.37	0.35	0.34	0.30	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 4.0	4.0	4.0	4.0	;
			Par_n		      = 3.0	3.0	3.0	3.0	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
32	loamy_sand_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling2;
 			MaxInterflowDepth     = $MaxInterflowdepth2;
			PMacroThresh	      = $PMacroThresh2;
			MacroCapacity	      = $MacroCapacity2;
			CapacityRedu	      = $CapacityRedu2;
			MacroDepth	      = $MacroDepth2;
			horizon		      = 1	2	3	4	;
			Name		      = T_Sl	M_Sl	Sub_Sl	Dp_Sl	;
			ksat		      = $1e4	$8e5	$7e5	$5e5	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.37	0.35	0.34	0.30	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 4.0	4.0	4.0	4.0	;
			Par_n		      = 3.0	3.0	3.0	3.0	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
52	loamy_sand_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_Sl	M_Sl	Sub_Sl	Dp_Sl	;
			ksat		      = $1e4	$8e5	$7e5	$5e5	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.37	0.35	0.34	0.30	;
			theta_res	      = 0.080	0.09	0.10	0.11	;
			alpha		      = 4.0	4.0	4.0	4.0	;
			Par_n		      = 3.0	3.0	3.0	3.0	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
13	sand_shallow {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = $PMacroThresh1;
			MacroCapacity	      = $MacroCapacity1;
			CapacityRedu	      = $CapacityRedu1;
			MacroDepth	      = $MacroDepth1;
			horizon		      = 1	2	3	4	;
			Name		      = T_S	M_S	Sub_S	Dp_S	;
			ksat		      = $1e3	$9e4	$8e4	$7e4	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.34	0.33	0.32	0.30	;
			theta_res	      = 0.07	0.07	0.08	0.09	;
			alpha		      = 7.5	7.5	7.5	7.5	;
			Par_n		      = 4.2	4.2	4.2	4.2	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.13	; # 2.5m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
33	sand_medium {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling2;
 			MaxInterflowDepth     = $MaxInterflowdepth2;
			PMacroThresh	      = $PMacroThresh2;
			MacroCapacity	      = $MacroCapacity2;
			CapacityRedu	      = $CapacityRedu2;
			MacroDepth	      = $MacroDepth2;
			horizon		      = 1	2	3	4	;
			Name		      = T_S	M_S	Sub_S	Dp_S	;
			ksat		      = $1e3	$9e4	$8e4	$7e4	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.34	0.33	0.32	0.30	;
			theta_res	      = 0.07	0.07	0.08	0.09	;
			alpha		      = 7.5	7.5	7.5	7.5	;
			Par_n		      = 4.2	4.2	4.2	4.2	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	0.38	; # 5.0m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
53	sand_deep {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = $PMacroThresh3;
			MacroCapacity	      = $MacroCapacity3;
			CapacityRedu	      = $CapacityRedu3;
			MacroDepth	      = $MacroDepth3;
			horizon		      = 1	2	3	4	;
			Name		      = T_S	M_S	Sub_S	Dp_S	;
			ksat		      = $1e3	$9e4	$8e4	$7e4	;
			k_recession	      = 0.97	0.97	0.97	0.97	;
			theta_sat	      = 0.34	0.33	0.32	0.30	;
			theta_res	      = 0.07	0.07	0.08	0.09	;
			alpha		      = 7.5	7.5	7.5	7.5	;
			Par_n		      = 4.2	4.2	4.2	4.2	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.15	1.5	; # 16.2m 
			layers		      = 3	3	4	10	; # 20 layers for all soil types
		}
14	23_Seen_subhydrische_Boeden {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = 0;
			MacroCapacity	      = 0;
			CapacityRedu	      = 0;
			MacroDepth	      = 0;
			horizon		      = 1	2	3	;
			Name		      = SIL	SIL	CL	;
			ksat		      = $3e7	$1e7	$1e7	;
			k_recession	      = 0.9	0.9	0.9	;
			theta_sat	      = 0.45	0.45	0.40	;
			theta_res	      = 0.067	0.067	0.095	;
			alpha		      = 2.00	2.0	1.90	;
			Par_n		      = 1.41	1.41	1.31	;
			Par_tau		      = 0.5	0.5	0.5	;
			thickness	      = 0.10	0.30	1.00	; # 10.0 m
			layers		      = 9	2	9	;
		}
15	13_Siedlungsflaechen {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = 8.0;
			MacroCapacity	      = 0.5;
			CapacityRedu	      = 0.7;
			MacroDepth	      = 1.0;
			horizon		      = 1	2	3	;
			Name		      = SIL	SIL	R	;
			ksat		      = $1e6	$3e7	$5e8	;
			k_recession	      = 0.9	0.9	0.9	;
			theta_sat	      = 0.45	0.45	0.20	;
			theta_res	      = 0.067	0.067	0.04	;
			alpha		      = 2.0	2.0	8.0	;
			Par_n		      = 1.41	1.41	1.80	;
			Par_tau		      = 0.5	0.5	0.5	;
			thickness	      = 0.10	0.20	0.375	; # 4.5 m
			layers		      = 9	3	8	;
        }
16	91_Felsflaechen {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling1;
 			MaxInterflowDepth     = $MaxInterflowdepth1;
			PMacroThresh	      = 8.0;
			MacroCapacity	      = 0.5;
			CapacityRedu	      = 0.7;
			MacroDepth	      = 1.0;
			horizon		      = 1	2	3	4	;
			Name		      = SIL	SIL	R	R	;
			ksat		      = $1e5	$3e6	$1e6	$1e6	;
			k_recession	      = 0.9	0.9	0.9	0.9	;
			theta_sat	      = 0.45	0.41	0.20	0.20	;
			theta_res	      = 0.067	0.095	0.04	0.04	;
			alpha		      = 2.00	1.90	8.00	8.00	;
			Par_n		      = 1.41	1.31	1.80	1.80	;
			Par_tau		      = 0.5	0.5	0.5	0.5	;
			thickness	      = 0.10	0.10	0.10	0.2	; # 2.5 m
			layers		      = 7	3	5	5 	;
        }
17	26_Moorboeden {
			method 		      = MultipleHorizons;
			ThicknessScaling      = $ThicknessScaling3;
 			MaxInterflowDepth     = $MaxInterflowdepth3;
			PMacroThresh	      = 1.0;
			MacroCapacity	      = 10.0;
			CapacityRedu	      = 0.8;
			MacroDepth	      = 1.0;
			horizon		      = 1	2	3	;
			Name		      = HMT 	NMT	hHr_SL3	;
			ksat		      = $1e5	$3e6	$1e6	;
			k_recession	      = 0.9	0.9	0.9	;
			theta_sat	      = 0.65	0.55	0.40	;
			theta_res	      = 0.30	0.30	0.065	;
			alpha		      = 4.0	4.0	7.50	;
			Par_n		      = 1.2	1.2	1.89	;
			Par_tau		      = 0.5	0.5	0.5	;
			thickness	      = 0.10	0.20	0.375	; # 4.0 m
			layers	  	      = 9	3	8	;
		}


[substance_transport]
$do_substance_transport

[irrigation_table]
$do_irrigation_table

[special_output]
$do_special_output # 0=do not run this module, 1=run this module
$time # duration of a time step in minutes --> only for compatibility here.
numfiles = 3;
outputfile { header = firn_WE_stack;
	filename = $outpath//special_output_firn.dat;
	entity {
		ID 	= firn_WE_stack;
		Symbol 	= firn;
		Xcoords	= 724163, 724163, 724163, 724163, 724163, 724163, 724163, 724163;
		Ycoords	= 150271, 150271, 150271, 150271, 150271, 150271, 150271, 150271; 
		Level	= 0	 ,1	 ,2	 ,3	 ,4	 ,5	 ,6	 ,7;
	}
}
outputfile { header = SolidSnow_onGlac;
	filename = $outpath//special_output_ssnogl.dat;
	entity {
		ID 	= SolidSnowStorage_onGlacier;
		Symbol 	= ssgl;
		Xcoords	= 724163;
		Ycoords	= 150271; 
		Level	= 0;
	}
}
outputfile { header = LiquidSnow_onGlac;
	filename = $outpath//special_output_sliqgl.dat;
	entity {
		ID 	= LiquidSnowStorage_onGlacier;
		Symbol 	= slgl;
		Xcoords	= 724163;
		Ycoords	= 150271; 
		Level	= 0;
	}
}
