RHMS (version 1.1)

createSubbasin.default: default function for class of createSubbasin

Description

instantiates an object from class of createSubbasin

Usage

# S3 method for default
createSubbasin(name="Unttitled",
precipitation,inflow=NA,Area,delayInflow=1,
label,downstream=NA,
transformMethod="SCS",lossMethod="SCS",UH=NA,
transformParams=list(Tlag=NULL,Cp=NULL,
                     Ct=NULL,L=NULL,Lc=NULL),
lossParams=list(CN=NULL,f0=NULL,
                f1=NULL,k=NULL))

Arguments

name

a string: the name of sub-basin to be instantiated

precipitation

a vector : a time series of precipitation hytograph (mm)

inflow

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

Area

the area of drainage basin (Km^2)

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

transformMethod

a string: the type of transformation method. Available types: 'SCS', snyder', and 'user' for user defined unit hydrograph

lossMethod

a string: the type of loss method. Available types: 'SCS' and 'horton'

UH

a data.frame: including the ordinates of user UH. the HU first collumn indicates time (Hr) and second collumn include flow rates (cms)

transformParams

a list: list of parameters associated to the selcted type of 'transformMethod': 'Tlag' for 'SCS' and 'Ct', 'Cp', 'L', and 'Lc' other for 'snyder'

lossParams

a list: list of parameters associated to the selcted type of 'lossMethod': 'CN' for 'SCS' and 'f0', 'f1', 'k' other for 'horton'

Value

a list: an object from class of createSubbasin

See Also

addObjectToBasin