Description Usage Arguments Value Examples
View source: R/sequent_peak_analysis.R
Computes the Rippl no-failure storage for given time series of inflows and releases using the sequent peak algorithm.
1 |
Q |
vector or time series object. Net inflow totals to the reservoir. |
target |
a target release constant in same volumteric units as Q. Can be omitted if R is given. |
R |
a time series or vector of target releases (volumetric). Must be the same length as Q. |
double_cycle |
logical. If TRUE the Q and R time series will be replicated and placed end-to-end to double the simulation. Recommended if the critical period occurs at the end of the sequence. |
plot |
logical. If TRUE (the default) the storage behavior diagram is plotted. |
Returns the no-fail storage capacity and corresponding storage behaviour time series.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.