estimateFeval: estimateFeval

Description Usage Arguments Value

View source: R/estimateFeval.R

Description

SPARROW NonLinear Least Squares (NLLS) function for optimizing the model fit to the observations for the calibration sites, based on use of conditioned predictions of load. The function accumulates loads in the reach network according to the user's model specification, making comparisons of the conditioned predictions of load to the actual loads at monitored reaches to return a vector of weighted residuals (difference between the actual and predicted loads). Monitoring load substitution is performed (ifadjust=1).

Executed By:


Executes Routines:


Usage

1
2
estimateFeval(beta0, DataMatrix.list, SelParmValues, Csites.weights.list,
  estimate.input.list, dlvdsgn)

Arguments

beta0

estimated parameters (no constants)

SelParmValues

selected parameters from parameters.csv using condition ifelse((parmMax > 0 | (parmType=="DELIVF" & parmMax>=0)) & (parmMin<parmMax) & ((parmType=="SOURCE" & parmMin>=0) | parmType!="SOURCE")

dlvdsgn

design matrix imported from design_matrix.csv

Value

e vector of weighted residuals


tbep-tech/tbepRSparrow documentation built on Oct. 9, 2020, 6:24 a.m.