Description Usage Arguments Value
View source: R/optimize_water_balance.R
Calculates RMSE of measured lake concentrations with those calculated with the dynamic lake model (daily timestep) for use in optimization procedure. Assumes use of two time periods for groundwater inflow calculcations (two periods may have different residence times).
1 | optimize_water_balance(par, t_switch, df, lake, parameter)
|
par |
vector with t1 (first residence time) and t2 (second residence time) |
t_switch |
date at which second time period begins |
df |
daily inputs for water balance calculations incl. preciptation (vol & concentration), evaporation (vol & concentration), ice formation (vol & concentration), and lake volume. |
lake |
current lake to evaluate |
parameter |
parameter used for calculating water balance, usually "d18O" |
RMSE, root mean square error of match with lake measurements of parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.