Hi Tam,
I am using R-SWAT to run simulations of river flow and suspended sediment loads.
I have selected the NSE as the objective function in my case. The NSE value for what we would consider a behavioural simulation of flow and what we would consider a behavioural simulation of sediment are different.
I have noticed that the behavioural threshold specified in tab 4.3. 'Optimization/Uncertainty' of the R-SWAT interface is applied to the upper table in the image below. I calculate the objective function values in this table to be the average of the objective function value for the flow and sediment variables from each simulation. See below, the average NSE, the NSE of the flow (var_1) and suspended sediment load (var_2) for the validation period of SimNr 1 (red circle around values).
I looked at the code in the objFunction.R file, and lines 347-349 of this file seem to point to this observation.
However, I want to specify separate behavioural thresholds for flow and sediment simulations, that are applied separately to the objective function values for the different variables rather than the average objective function value for simulation of the two variables in each simulation. This would mean that the behavioural threshold is applied to the lower table in the image above (to the separate objective function values for the different variables).
Have you or anyone else in this group experienced a similar issue, and have you found a way or modified the code to resolve it?
Best wishes,
Rodhraí