UH: Transfer function

Description Usage Arguments Value References Examples

View source: R/RcppExports.R

Description

Use a triangular transfer function to adjust the timing of the simulated streamflow discharge. This module represents the runoff routing in the streams.

Usage

1
2
3
4
5
UH(
  model,
  Qg,
  param
  )

Arguments

model

numeric integer with the transfer function model. The current HBV.IANIGLA model only allows for a single option.

  • 1: triangular function with a static base.

Qg

numeric vector with the water that gets into the stream. If you are not modeling glaciers is the output of the Routing_HBV module, otherwise, is the sum of the Routing_HBV output plus the glacier discharge coming from the Glacier_Disch module.

param

numeric vector with the following values,

Model 1

  • Bmax: base of the transfer function triangle [timestep].

Value

Numeric vector with the simulated streamflow discharge.

References

Bergström, S., Lindström, G., 2015. Interpretation of runoff processes in hydrological modelling—experience from the HBV approach. Hydrol. Process. 29, 3535–3545. https://doi.org/10.1002/hyp.10510

Parajka, J., Merz, R., & Blöschl, G. (2007). Uncertainty and multiple objective calibration in regional water balance modelling: Case study in 320 Austrian catchments. Hydrological Processes, 21(4), 435-446. https://doi.org/10.1002/hyp.6253

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# The following is a toy example. I strongly recommend to see
# the package vignettes in order to improve your skills on HBV.IANIGLA

## Routing example
inputMatrix <- cbind(runif(n = 200, max = 100, min = 0), runif(n = 200, max = 50, min = 5),
                 runif(n = 100, max = 3, min = 1))

routeMod1   <- Routing_HBV(model = 1, lake = TRUE, inputData = inputMatrix,
                         initCond = c(10, 15, 20), param = c(0.1, 0.05, 0.001, 1, 0.8))

## UH
dischOut <- UH(model = 1, Qg = routeMod1[ , 1], param = 2.2)

HBV.IANIGLA documentation built on Jan. 23, 2021, 1:07 a.m.