add_control | R Documentation |
Adds flow control timeseries to a HS
object. Control
conditions should cover the entire timeseries in HS
.
add_control(HS, timeseries, unit, riverIDs, control, type)
HS |
An |
timeseries |
a data frame with observations. |
unit |
The unit of values in |
riverIDs |
A vector of riverID of the river segments of the columns in obs. |
control |
Type of control, see details. |
type |
Whether the control should apply to |
Available control schemes are
set: set input flow at a river segment (override routing). Useful e.g. for boundary conditions or dams.
add: increase runoff at a river segment.
subtract: lower runoff at a river segment.
multiply: modify runoff.
Returns the HS
object with added list column
control_ts
and control_type
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.