Modify the model parameters of the thread that runs the simulation run_i

modify_parameter(parameter, thread_parameter, file_meta, run_index, i_run)

Arguments

parameter

List providing the parameter table and the parameter constraints

thread_parameter

The swat_parameter set that will be modified according to the parpameter set used in the respective thread

file_meta

Table with the meta informations on the SWAT model parameter files

run_index

Vector of the indices of runs that are performed

i_run

Index that gives the number of the current run simulated in the respective thread