Description Usage Arguments Details Value Note Author(s) References Examples
hbv
simulates discharge from a given rainfall time series using a simple 0-D version of the hydrological model HBV (Bergström, 1976) as implemented in Heistermann & Kneis (2011) with simple routing using custom, triangular hydrograph or linear storage cascade. hbv_prerun
applies hbv
while repeating a pre-run phase ("warm up") as long as any of the storages change by more than storage_tolerance
1 2 |
pars |
named vector holding the HBV parameters
|
init |
named vector holding the HBV state variables for initialisation
|
prec |
vector holding rainfall in equidistant timesteps of |
temp |
vector holding temperature in equidistant timesteps of |
delta_t |
length of timesteps in |
unithg |
vector of dimensionless unit hydrograph (should sum up to 1). Overrides |
max_pre_runs |
maximum number of pre-run iterations |
storage_tolerance |
While any of the storages has changed by more than this values, the pre-run phase is repeated |
prerun_length |
number of timesteps from |
verbose |
additional text output during pre-run iterations |
... |
additional parameters passed to |
If unithg
is specified, pars[c("maxbas","n","k")]
are ignored. If pars[c("n","k")]
are specified, routing using linear storagte cascade is performed. If only pars["maxbas"]
is set, a triangular unit hydrograph with its peak in at pars["maxbas"]
/2 timesteps is used.
The function returns a list list(q, snow, sm, suz, slz)
with
(vector) modelled discharge [mm]
(scalar) snow storage at end of run [mm]
(scalar)soil moisture storage at end of run [mm]
(scalar)soil upper zone storage at end of run [mm]
(scalar)soil lower zone storage at end of run [mm]
These functions are still in development, use with care, all comments welcome!
Maik Heistermann, David Kneis, Till Francke
Bergström, S. (1976) Development and application of a conceptual runoff model for Scandinavian catchments. SMHI Reports RHO, No. 7, Norrkög.
Heistermann, M. & Kneis, D. (2011) Benchmarking quantitative precipitation estimation by conceptual rainfall-runoff modeling, Water Resour. Res., 47, W06514, doi:10.1029/2010WR009153.
1 2 3 4 5 6 7 | data(huagrahuma)
prec.day <- aggregate(huagrahuma$inputs$P,
by=strftime(index(huagrahuma$inputs$P), "%d.%m.%Y"))
#use standard parameters and initialization
hbv(pars=0, init=0, prec = prec.day , delta_t=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.