The optimization module searches for a combination of factor levels that simultaneously satisfies the requirements placed on each of the responses and factors in order to generate a suitable model. The main objective of optimization process was to find the optimal value of flow velocity, vegetation density, and effective length of vegetation in order to maximize the percentage reduction during TSS and turbidity removal