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 [email protected]

References

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


tpilz/HydroBayes documentation built on Dec. 21, 2017, 11:43 p.m.