FlowSeparation: Separate Baseflow and Surface runoff

View source: R/FlowSeparation.R

FlowSeparationR Documentation

Separate Baseflow and Surface runoff

Description

Separate Baseflow and Surface runoff

Usage

FlowSeparation(DATA, eventTable, stepsBack = 5, timeUnits = "hours",
  plotOption = FALSE, event2plot = 1, verbose = FALSE)

Arguments

DATA

data.frame containing P, Q (and E)

eventTable

table containing summary of Q events

stepsBack

timesteps to use to generate the linear model for the volume under the rising limb (default = 5)

timeUnits

time step units (default = "hours")

plotOption

boolean, if TRUE (default) it prints a plot to show the division of the events

event2plot

even number for which the plot should be generated (default = 3). This is only used if plotOption = TRUE

verbose

(optional) boolean (FALSE by default). If TRUE prints the progress in terms of event number.

Details

From Boorman 1995: The recession prior to the event is continued through the event, and this flow is subtracted from the total flow hydrograph. A straight line is then drawn from beneath the peak flow, or centroid of peaks, to the point already identified as marking the end of response runoff. The response runoff is the portion of flow above this separation.

Value

updated table containing summary of Q events with 4 more columns: volumeQ, baseflowVolume, surfaceVolume and surfacePeak

Examples

## Not run: 
  data("SevernTS")
  tableP <- FindPevents(SevernTS$P[1:1000])
  tableQ <- FindQevents(SevernTS$Q[1:1000], tableP, hours2extend=6)
  df <- FlowSeparation(SevernTS, tableQ, stepsBack=5, timeUnits = "hours",
                       plotOption = TRUE, event2plot = 3)

## End(Not run)


cvitolo/curvenumber documentation built on April 19, 2022, 3:33 a.m.