disagg: Disaggregation of daily mean discharges into hourly...

Description Usage Arguments Value Author(s) References Examples

Description

In case of no peak data a third degree polynomial is fitted to the mean discharges. If the peak is known, a Lorentz- or Weibull-function is fitted. In both cases, the volume balance and the continuity have to be respected. In the case of a peak also the maximum of the diaggregated discharges has to be equal to the peak value. The procedure is based on Wagner (2012).

Usage

1
disagg(q, scheitelTag = c(), decision = "wagner", diagnose = FALSE, param = FALSE)

Arguments

q

A dataframe with the first column being the daily date (as character) in the format dd.mm.YY and the second column being the daily discharges (numeric).

scheitelTag

A dataframe with the first column being the peak date (as character) in the format dd.mm.YY and the second column being the peak discharges (numeric). Can be of any time-resolution (daily,monthly, yearly,...). If not specified, only daily discharges will be disaggregated without peak-knowledge.

decision

specifies decision for Lorentz- or Weibull-function, either "wagner" or "bestfit". Default value: "wagner". If "wagner" is chosen, the decision is made according to Wagner (2012), unless any of the fits aborted. In this case, the decision is changed to "bestfit", where the best optimisation (smaller deviation in peak and volume) is chosen, and a warning is given.

diagnose

Logical: shall the results of the optimisation steps be given. Default: FALSE

param

Logical: shall the parameters of the polynomial for every time intervall be given. Default: FALSE

Value

a dataframe with the following entries:

thour

the new time steps (in hours)

dissAgg

the disaggregated hourly discharge values

diagnose

the optimisation steps, if diagnose=TRUE

param

the polynomial parameters for every time step, if param=TRUE

Author(s)

Svenja Fischer

References

Wagner, M. (2012): Regionalisierung von Hochwasserscheiteln auf Basis einer gekoppelten Niederschlag-Abfluss-Statistik mit besonderer Beachtung von Extremereignissen. Dissertation. Technische Universität Dresden.

Examples

1
following...

SvenjaFischer/Disagg documentation built on May 14, 2019, 10:37 a.m.