RHMS (version 1.1)

createDiversion: creates a diversion object

Description

instantiates an object from class of createDiversion

Usage

createDiversion(name,label,downstream,divertTo,capacity)

Arguments

name

a string: the name of diversion to be instantiated

downstream

an integer: the code of downstream object

label

an integer: a unique number, as label

divertTo

an integer: the code of an object at the diversion outlet

capacity

diversion capacity (cms)

Value

a list: an object from class of list instantiated by createDiversion

See Also

addObjectToBasin