[Main]
forcing_start = 02/01/1990 06:00
forcing_end = 31/12/2017 06:00
timestep = 360
prerun_start = 02/01/1990 06:00
prerun_end = 31/12/2017 06:00
# Optional: when to start/end the prerun in the long term run (by Default will take the forcing start/end date)
longterm_prerun_start = 02/01/1990 06:00  
longterm_prerun_end = 31/12/2017 06:00 
prerun_timestep = 1440
fast_debug = 0
min_obs_years = 3.5
num_max_calib_years = 20
# Optional: use_aridity_index_check = 0 (Default). If set to 1, this flag will check aridity index and disable TransSub parameter in calibration for values >= 0.5

[Stations]
stations_data = STATIONS/stations_data.csv
stations_links = STATIONS/stations_links.csv
observed_discharges = OBS
return_periods = STATIONS/return_levels.nc
reservoir_events = STATIONS/reservoir_events.csv

[Path]
param_ranges = TEMPLATES/param_ranges.csv
subcatchment_path = CATCHMENTS_DIR
summary_path = SUMMARY_DIR

[Templates]
LISFLOODSettings = TEMPLATES/settings_lisflood.xml

[DEAP]
numCPUs = NCPUS
min_gen = 6
max_gen = 16
mu = 18
lambda_ = 36
pop = 72
gen_offset = 3
effmax_tol = 0.003
elite = 0  		 
split_lake_params = 1
apply_statistical_stall_check = 1
use_filtered_population = 0
stop_on_low_kgejsd = 0

# Select the list of objectives. If "objectives" option is missing, it will use just the "KGE"
# Possible values are: KGE, CORR, BIAS, Y, SAE, JSD, KGE_JSD.
# At least settings "KGE" or "KGE_JSD" or the 3 terms for the KGE evaluation [corr, bias, y] are needed, to compute the KGE score for the stopping conditions
objectives = KGE

# NOTES:
# min_gen = Run at least this number of generations.
# max_gen = Maximum number of generations to run, used as failsafe stop criterion. Takes precedence over minGen (handy for fast debugging)
# mu = # of best children chosen to feed into the next generation 
#      This must always be at least 2, otherwhise DEAP cannot crossover-mutate the children
# Lamda = # of children spawned at every generation (= # threads to run in parallel)
#         This should be twice mu
# elite = number of elites individual to carry on next generation from the pareto front (not used in single objective calibration)
# split_lake_params = option to split lake multiplier parameter: 1 = one param for each lake, 0 = one param only for all the lakes
# apply_statistical_stall_check = use statistical t-test between population individuals KGE values of current generation VS previous "gen_offset" generations and continue if the KGE is significantly higher
# use_filtered_population = filter out outliers when computing t_test in statistical stop condition
# stop_on_low_kgejsd = stop recalibration KGEJSD workflow when KGE is low (<-0.41) or HighWaterRemoval or HighTL conditions. Default value = 0


