# unitHydrograph: Unit Hydrograph In maxdschneider/golmtutorial:

## Description

Calculate continuous unit hydrograph with given n and k (in the framework of the linear storage cascade)

## Usage

 `1` ```unitHydrograph(n, k, t, force = FALSE) ```

## Arguments

 `n` Numeric. Number of storages in cascade. `k` Numeric. Storage coefficient [1/s] (resistance to let water run out). High damping = slowly reacting landscape = high soil water absorbtion = high k. `t` Numeric, possibly a vector. Time [s]. `force` Logical: Force the integral of the hydrograph to be 1? DEFAULT: FALSE

## Value

Vector with the unit hydrograph along t

## Note

The sum under the UH should always be 1 (if t is long enough). This needs yet to be checked...

## Author(s)

Berry Boessenkool, [email protected], July 2013

`lsc` on how to estimate n and k for a given discharge dataset. `deconvolution.uh` in the package hydromad, http://hydromad.catchment.org
 ```1 2 3 4 5 6 7``` ```Time <- 0:100 plot(Time, unitHydrograph(n=2, k=3, t=Time), type="l", las=1, main="Unit Hydrograph - linear storage cascade") lines(Time, unitHydrograph(n=2, k=8, t=Time), col=2) lines(Time, unitHydrograph(n=5.5,k=8, t=Time), col=4) text(c(12, 20, 50), c(0.1, 0.04, 0.025), c("n=2, k=3","n=2, k=8","n=5.5, k=8"), col=c(1,2,4), adj=0) ```