instantiates an object from class of createJunction
# S3 method for default
createJunction(name = "Unttitled", downstream=NA,
label, inflow = NA, delayInflow = 1)
a string: the name of junction to be instantiated
an integer: the code of downstream object
an integer: a unique number, as label
a vector (optional): a time series of direct inflow rather than flows comming from upstream (cms)
an integer (optional): presenting the time steps to delay direct inflow time series
a list: an object from class of createJunction