loss {RHMS}R Documentation

Excess rainfall computation

Description

this function provides methods (e.g. "horton" and "SCS") to compute loss and direct runoff depths

Usage

loss(precipitation,lossMethod,lossParams)

Arguments

precipitation

a vector of precipitation time series(mm)

lossMethod

a string including the type of lossMethod: "SCS" and "horton". default to "SCS" method

lossParams

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

  • the curve number, CN, and imperviousness in precentage for "SCS" method

  • f0, f1, k for "horton" method

  • timeInterval: the interval of each steps in seconds needed for "horton" method

Value

a dataframe: including precipitation, loss, and exess rainfall depth

Author(s)

Rezgar Arabzadeh

See Also

transform

Examples

precipitation<-sin(seq(0.1,pi-0.1,length.out=20))*30
lossParams<-list(f0=20,f1=5,k=2,timeInterval=3600,CN=65)
lossMethod<-c("horton","SCS")
(Horton_loss<-loss(precipitation,lossMethod[1],lossParams))
(SCS_loss<-loss(precipitation,lossMethod[2],lossParams))

[Package RHMS version 1.7 Index]