alpha_beta.wateres: Calculation of alpha and beta characteristics

Description Usage Arguments Details Value See Also Examples

View source: R/plots.R

Description

Calculates pairs of alpha (level of development) and beta (ratio of storage and volume of annual flow) characteristics of the reservoir for given reliabilities.

Usage

1
2
3
4
5
alpha_beta(reser, alphas, max_beta, reliability, ...)

## S3 method for class 'wateres'
alpha_beta(reser, alphas = seq(0, 1, 0.02), max_beta = 2,
  reliability = "max", ...)

Arguments

reser

A wateres object.

alphas

A vector of alpha values, i.e. coefficients by which mean annual flow will be multiplied. Usually the interval between 0 and 1 is used.

max_beta

A maximum value of calculated beta to be considered, greater values will be ignored.

reliability

A vector of reliability values passed to the sry.wateres function.

...

Further arguments passed to the sry.wateres function (as prob_type or upper_limit).

Details

An error occurs if the range given by upper_limit does not contain the given value of reliability. In that case, try to increase the upper_limit argument.

Value

A wateres_alpha_beta object which is a data.table consisting of:

alpha

level of development, given as the alphas argument

beta

ratio of storage representing the given reliability and volume of mean annual flow

reliability

given reliability values (may differ from reliabilities calculated by sry.wateres)

See Also

plot.wateres_alpha_beta for plotting the results, sry.wateres for calculation of a reservoir storage for the given yield and reliability

Examples

1
2
3
4
5
6
reser = data.frame(
    Q = c(0.078, 0.065, 0.168, 0.711, 0.154, 0.107, 0.068, 0.057, 0.07, 0.485, 0.252, 0.236,
          0.498, 0.248, 0.547, 0.197, 0.283, 0.191, 0.104, 0.067, 0.046, 0.161, 0.16, 0.094),
    DTM = seq(as.Date("2000-01-01"), by = "months", length.out = 24))
reser = as.wateres(reser, storage = 14.4e6, area = 754e3)
alpha_beta = alpha_beta(reser)

tgmwri/wateres documentation built on Jan. 2, 2018, 2:20 p.m.