RHMS (version 1.7)

transform.default: default function for class of transform

Description

This function transforms an excess rainfall event to a direct runoff hydorgraph.

Usage

# S3 method for default
transform(rainfall,transformMethod='SCS',
         transformParams=list(Tlag=NULL,
                              Cp  =NULL,
                              Ct  =NULL,
                              L   =NULL,
                              Lc  =NULL),
         Area,UH=NA,
         simulation=list(start=NULL,end=NULL,by=NULL))

Arguments

rainfall

an object inherited from loss function

transformMethod

a string: the type of transformation method. available types: "SCS", "snyder", and "user". default to "SCS"

transformParams

a list of parameters associated to the selcted type of transformMethod:

  • Tlag for "SCS" method

  • Ct, Cp, L, and Lc for "snyder" method

Area

the area of drainage basin (Km^2)

UH

a data.frame: must be provided when transformMethod is set to "user". UH is the ordinates of a user defined UH by the which its first collumn is time (Hr) and the second collumn includes flow rates (cms)

simulation

a list of simulation time and dates as below:

  • start: the date which simulation starts, must be in 'YYYY-MM-DD' format

  • start: the date which simulation ends, must be in 'YYYY-MM-DD' format

  • by: the interval of each steps in seconds

Value

Hydrogaph of direct runoff

See Also

transform