R/diminishing_returns.R
dose_of_diminishing_returns.Rd
Calculate the dose of diminishing return
dose_of_diminishing_returns(
dose,
DOC_final,
molar_mass = 297,
threshold = 0.3/10
)
dose_for_criterion(dose, DOC_final, criterion)
The coagulant metal concentration (Al3+ or Fe3+) in mmol/L.
The final DOC concentration, probably modeled using fit_edwards_optim()
or fit_edwards()
and coagulate_grid()
.
The moalr mass of the coagulant, in grams per mol Al or Fe.
The point of diminishing return threshold, in mg/L DOC per mg/L dose. Often this is taken to be 0.3 mg/L DOC per 10 mg/L dose (Brantby 2016).
A desired final DOC concentration in mg/L
The dose (in mmol/L) of diminishing returns.
Bratby, J. 2016. Coagulation and Flocculation in Water and Wastewater Treatment. IWA Publishing. https://books.google.ca/books?id=PabQDAAAQBAJ
dose_curve <- coagulate_grid(fit_edwards("Low DOC"), DOC = 4, UV254 = 0.2, pH = 5.5)
dose_of_diminishing_returns(dose_curve$dose, dose_curve$DOC_final)
#> [1] 0.08960449
dose_for_criterion(dose_curve$dose, dose_curve$DOC_final, criterion = 3)
#> [1] 0.03415216