Learn R Programming

RHMS (version 1.6)

createJunction: creates a junction object

Description

instantiates an object from class of createJunction

Usage

createJunction(name, downstream,
               inflow, delayInflow)

Arguments

name

(optional) a string: the name of junction to be instantiated

downstream

(optional) an object from either of classes: createDiversion, createReservoir, createSubbasin, createJunction, createReach.

inflow

(optional): a vector of direct inflow rather than flows comming from upstream (cms)

delayInflow

(optional): an integer presenting the time steps to delay direct inflow time series

Value

a list: an object from class createJunction

See Also

addObjectToBasin