optimize_solutes: Optimize dynamic lake model

Description Usage Arguments Value

View source: R/optimize_solutes.R

Description

Calculates RMSE of measured lake concentrations with those calculated with the dynamic lake model (daily timestep) for use in optimization procedure.

Usage

1
optimize_solutes(par, df, parameter)

Arguments

par

vector with tuning parameters. k0 for Calcium. P_sed, ks, ks_tmp, kr, and kr_tmp for TP.

df

data frame with lake inputs for lake of interest.

parameter

description of parameter to use dynamic lake model on. Can be either "CALCIUM TOTAL RECOVERABLE" or "PHOSPHORUS TOTAL".

Value

RMSE, root mean square error of match with lake measurements of parameter.


WDNR-Water-Use/CSLSchem documentation built on July 3, 2020, 10:51 a.m.