HydroModel: Simple one parameter linear storage model for testing...

Description Usage Arguments Details Value Author(s) References

View source: R/test_HydroModel.R

Description

Simple one parameter linear storage model for testing purposes

Usage

1
HydroModel(forcing, param)

Arguments

forcing

numeric vector of forcing (precipitation) values.

param

numeric. Parameter of the model.

Details

output_i = param * storage_i with
storage_i = (forcing_i * Dt + storage_i-1) / (1 + param * Dt) and
Dt = 1 and storage = 1 as initial condition.

Value

numeric vector of responses (discharge).

Author(s)

Tobias Pilz tpilz@uni-potsdam.de

References

Code transferred from Matlab code obtained during the Hydrocourse held in Luxembourg, Spring 2016.


tpilz/HydroBayes documentation built on May 6, 2019, 3:44 p.m.