createDiversion
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.
# S3 method for default
createDiversion(name = "Div1",
capacity ,
divertObject = NA,
downstream = NA,
priority = NA)
(optional) A string: the name of the diversion
The maximum capacity of diversion dam (CMS).
(optional) An object from either of classes of createAquifer
, createRiver
, createReservoir
, createJunction
, createDiversion
, or createDemandSite
; which recieves the diverted water volume.
(optional) An object from either of classes of createAquifer
, createRiver
, createReservoir
, createJunction
, createDiversion
, or createDemandSite
; which overflow volume pours to it.
(optional) An integer: the supplying priority. priority
is a value in [1, 99] interval. If missing, the priority
is set to Inf
.
An object from class of createDiversion