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 |
Returns the HS object with added list column
control_ts and control_type.
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.