RHMS (version 1.1)

createReach: creates a reach object

Description

instantiates an object from class of createReach

Usage

createReach(name,routingMethod,inflow,routingParams,delayInflow,label,downstream)

Arguments

name

a string: the name of reach to be instantiated

routingMethod

a string: the method of channel routing. available types: 'muskingum', and 'muskingumcunge'

inflow

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

routingParams

a list : parameters associated to the routingMethod: 'k' and 'x' for 'muskingum', 'bedWith' (m), 'sideSlope' (m/m), 'channelSlope' (m/m), 'manningRoughness', 'riverLength' (Km) for 'muskingumcunge'

delayInflow

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

label

an integer: a unique number, as label

downstream

an integer: the code of downstream object

Value

a list: an object from class of createReach

See Also

addObjectToBasin