wateres: Characteristics and Simulations for Water Reservoirs

wateresR Documentation

Characteristics and Simulations for Water Reservoirs

Description

Tools to calculate characteristics of water reservoirs and to perform simulations for them.

Details

A reservoir has to be created by as.wateres by using time series of dates and corresponding flows. After that, characteristics for the reservoir can be calculated.

Examples

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)
reser = set_evaporation(reser, altitude = 529)
summary(reser)
sry(reser, reliab = 0.9, yield = 0.14)
prob_field = prob_field(reser, c(0.1, 0.9, 0.99), 0.14)
plot(prob_field, "storage")
plot(alpha_beta(reser))

tgmwri/wateres documentation built on Feb. 13, 2024, 10:25 p.m.