Soil_HBV: Empirical soil moisture routine

Description Usage Arguments Value References Examples

View source: R/RcppExports.R

Description

This module allows you to account for actual evapotranspiration, abstractions, antecedent conditions and effective runoff. The formulation enables non linear relationships between soil box water input (rainfall plus snowmelt) and the effective runoff. This effective value is the input series to the routine function (Routing_HBV).

Usage

1
2
3
4
5
6
Soil_HBV(
       model,
       inputData,
       initCond,
       param
       )

Arguments

model

numeric integer suggesting one of the following options:

  • 1: Classical HBV soil moisture routine.

  • 2: HBV soil moisture routine with varying area. This option should be used with SnowGlacier_HBV's model 3.

inputData

numeric matrix with the following series

Model 1

  • column_1: Total = Prain + Msnow [mm/Δ t]. This series comes from the output of the SnowGlacier_HBV module.

  • column_2: potential evapotranspiration [mm/Δ t]. Since the package has a simple model (PET) to obtain this series I strongly recommend using the Evapotranspiration package.

Model 2

  • column_1: as in model 1.

  • column_2: as in model 1.

  • column_3 : relative soil area (ratio of soil surface over basin area). When the glacier area changes the soil does the same, so coherence between this two series should be seek.This value is used to scale the effective runoff accordingly (Rech column in the matrix output).

initCond

numeric vector with the following values:

  1. initial soil water content [mm]. This is a model state variable and is internally used as first soil moisture value.

  2. relative area [-]. Only needed when using model 1. This is the soil surface proportion relative to the catchment as a whole, so the values should never supersede one (1). This value is used to scale the effective runoff accordingly (Rech column in the matrix output).

param

numeric vector with the following values:

  1. FC: fictitious soil field capacity [mm].

  2. LP: parameter to get actual ET [-].

  3. β: exponential value that allows for non-linear relations between soil box water input (rainfall plus snowmelt) and the effective runoff [-].

Value

Numeric matrix with the following columns:

  1. Rech: recharge series [mm/Δ t]. This is the input to the Routing_HBV module.

  2. Eact: actual evapotranspiration series [mm/Δ t].

  3. SM: soil moisture series [mm/Δ t].

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# The following is a toy example. I strongly recommend to see
# the package vignettes in order to improve your skills on HBV.IANIGLA

# HBV soil routine with variable area
## Calder's model
potEvap <- PET(model = 1, hemis = 1, inputData = as.matrix(1:315), elev = c(1000, 1500),
              param = c(4, 0.5))

## Debris-covered ice
 ObsTemp   <- sin(x = seq(0, 10*pi, 0.1))
 ObsPrecip <- runif(n = 315, max = 50, min = 0)
 ObsGCA    <- seq(1, 0.8, -0.2/314)

## Fine debris covered layer assumed. Note that the ice-melt factor is cumpulsory but harmless.
DebrisCovGlac <- SnowGlacier_HBV(model = 3, inputData = cbind(ObsTemp, ObsPrecip, ObsGCA),
                                 initCond = c(10, 3, 1), param = c(1, 1, 0, 3, 1, 6))

## Soil routine
ObsSoCA     <- 1 - ObsGCA
inputMatrix <- cbind(DebrisCovGlac[ , 9], potEvap, ObsSoCA)

soil <- Soil_HBV(model = 2, inputData = inputMatrix, initCond = c(50), param = c(200, 0.5, 2))

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