loss: Excess rainfall computation

Description Usage Arguments Value Author(s) See Also Examples

View source: R/loss.R

Description

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

Usage

1
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

1
2
3
4
5
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))

RHMS documentation built on May 1, 2019, 9:08 p.m.