createJunction
instantiates an object from class of createJunction
# S3 method for default
createJunction(name = "Unttitled", downstream=NA,
inflow = NA, delayInflow = 1)
(optional) a string: the name of junction to be instantiated
(optional) an object from either of classes: createDiversion
, createReservoir
, createSubbasin
, createJunction
, createReach
.
(optional): a vector of direct/lateral inflow (cms)
(optional): an integer presenting the time steps to delay direct/lateral inflow time series
a list: an object from class of createJunction