linear_hysteresis_CF {HGDMr}R Documentation

Calculates connected/contributing fraction

Description

Calculates connected/contributing fraction

Usage

linear_hysteresis_CF(
  current_storage = 0,
  delta_storage = 0,
  max_storage = 0,
  current_contrib_frac = 0,
  threshold = -0.01
)

Arguments

current_storage

Current storage volume

delta_storage

Change in volume

max_storage

Maximum possible storage volume

current_contrib_frac

Current contributing fraction (0-1)

threshold

Threshold for change in storage to set connected fraction to zero.

Value

Returns the updated connected/contributing fraction

Author(s)

Kevin Shook

Examples

cf <- linear_hysteresis_CF(current_storage = 50,
delta_storage = 10, max_storage = 100, current_contrib_frac = 0)

[Package HGDMr version 1.0.0 Index]