compute_availability: compute_availability

Description Usage Arguments Details Value

View source: R/horizon_search.R

Description

compute_availability

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
compute_availability(
  dam,
  water_week,
  horizon,
  max_fill_gap = 10,
  compute_from = "i",
  data_dir = NULL,
  cutoff_year = NULL,
  min_allowable_points = 10
)

Arguments

dam

name of dam to be analyzed

water_week

water week

horizon

look ahead horizon (1 <= h <= 52)

max_fill_gap

maximum gap (days) allowed for storage and inflow data

compute_from

variable (i, r) from which to back calculate

min_allowable_points

minimum number of points for building r-a function (default = 10)

Details

compute availability for given week of year and horizon (in weeks)

Value

tibble of release versus availability for given water week and horizon


swd-turner/horizon documentation built on Oct. 29, 2020, 11:23 a.m.