Save results of model run i in existing sql data base

save_run(save_path, model_output, parameter, run_index, i_run, i_thread)

Arguments

save_path

Path of the sql data base

model_output

output of the i_run'th simulation as a tibble

parameter

Vector or tibble with parameter sets

run_index

Vector of the indices of runs that are performed

i_run

The i'th run of the SWAT simulation