instantiates an object from class of createJunction
createJunction(name, downstream,
inflow, delayInflow)
(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 inflow/lateral flow (cms)
(optional): an integer presenting the time steps to delay direct/lateral inflow time series
a list: an object from class createJunction