createDiversion {WRSS} | R Documentation |
Constructor for class of createDiversion
Description
this function constructs an object from class of createDiversion
, acting as a diversion dam which is able to divert water up to a specified capacity.
Usage
createDiversion(name, capacity,
divertObject, downstream, priority)
Arguments
name |
(optional) A string: the name of the diversion |
capacity |
The maximum capacity of diversion dam (CMS). |
divertObject |
(optional) An object from either of classes of |
downstream |
(optional) An object from either of classes of |
priority |
(optional) An integer: the supplying priority. |
Value
An object from class of createDiversion
Author(s)
Rezgar Arabzadeh