rippl: Rippl's method

View source: R/rippl.R

ripplR Documentation

Rippl's method

Description

Computes the Rippl-no-failure storage for given set of discharges and target.

Usage

rippl(discharge,target,plot=TRUE)

Arguments

discharge

a vector of natural discharge at the reservoir site.

target

a vector of demand time series with length equal that of discharge. If the time scale doesn't match, the target will be cycled or truncated.

plot

logical: whether plot the Rippl's method process or merely report the result.

Value

no-failure storage value for the given time series, discharge and target.

References

Rippl, Wengel. The capacity of storage reservoirs for water supply. Van Nostrand's Engineering Magazine (1879-1886) 29.175 (1883): 67.

See Also

sim

Examples

## Not run: 
rippl(Nile,mean(Nile)*0.95)

## End(Not run)

WRSS documentation built on May 30, 2022, 1:07 a.m.