Run GR model
Arguments
- inputs
list; of inputs generated by
make_GR_inputs()
.- param
vector; of parameters. Usually generated from
calib_GR()
.- warmup
vector; index of
inputs$data
to be used as a warmup period for the model.- run_index
vector; index of
inputs$data
to be used for running the GR model.- IniStates
(optional) [numeric] object of class
IniStates
[mm and °C], seeCreateIniStates
for details- IniResLevels
(optional) [numeric] vector of initial fillings for the GR stores (4 values; use NA when not relevant for a given model) [- and/or mm]. See details