RHMS (version 1.2)

createReach.base: base function for class of createReach

Description

instantiates an object from class of createReach

Usage

# S3 method for base
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 list instantiated by createReach

See Also

addObjectToBasin