get_wsgif: get_wsgif

Description Usage Arguments Details Value

View source: R/wsgif.R

Description

get_wsgif

Usage

1
2
3
4
get_wsgif(flow_fn_1, flow_fn_2, flow_file_dir, output_fn_tag = "",
  output_file_dir, historical_period = c("1955-01-01", "2004-12-31"),
  future_period = c("2005-01-01", "2095-12-31"), by = "all",
  dam_cutoff_percentile = 1)

Arguments

flow_fn_1

file naming format for the hydro_flow_file, excluding the region (e.g., 10_HIST_MOSART.csv, would be "HIST_MOSART.csv")

flow_fn_2

optional second flow file naming format in case hist and future parts are split.

flow_file_dir

directory where hydro flow files are stored

output_fn_tag

naming convention for output files

output_file_dir

directory for output. If blank, new directory is made inside hydro_flow_file_dir.

historical_period

start and end dates of historical period in format yyyy-mm-dd

future_period

start and end dates of future period in format yyyy-mm-dd

by

spatial unit ("all", "bal_auth", "region", "HUCWM", "WECC")

dam_cutoff_percentile

cutoff for which dams to include in the wsgif computation. The percentile is based on nameplate capacity (i.e., percentile of 0.5 will include the largest dams that contribute 50 percent total nameplate).

Details

computes WSGIF for hydropower by balancing authority, region, HUC2, or entire WECC

Value

time series of WSGIF


IMMM-SFA/wmpp documentation built on March 21, 2020, 4:26 p.m.