hydrolsim: Simulates discharge values from a set of input P,T files and...

Description Usage Arguments Value Examples

Description

Uses the PQRUT model hydrological model and a degree day snowmodel to simulate discharge values By default it uses parallel processing using 4 cores

Usage

1
2
3
hydrolsim(pathmain = NULL, ncl = 4, seasn, param.station, Nsim, int1, Pt, E,
  durt, Area1, kd, slconst = 1, snpSpt = 0.3, ttsnow = -1, Tmax = 0.5,
  Tmin = 0.5, writeResults = FALSE, PDFplots = FALSE)

Arguments

pathmain

path to files, not needed if writeResults=FALSE

ncl

number of cluster, used for parallel processing

seasn

season

param.station

station number

Nsim

number of simulations

int1

dataframe of initial conditions (SWE,soil moisture deficit and initial discharge ) for events (otput from the function initconditions)

Pt

a matrix with each column giving the input P sequence for a flood event (otput from the function rainsimulate1) not needed if writeResults=TRUE

E

a matrix with each column giving the input T sequence for a flood event (otput from the function rainsimulate1) not needed if writeResults=TRUE

durt

critical duration

Area1

watershed Area

kd

coefficient for melting (usually 2-5)

slconst

loss due to infiltration (2 constant loss, 1 all of the precipitation infiltrates until a reservoir is filled up) )

snpSpt

percent snow above which the snowmodel is activated

ttsnow

temperature threshold for snow, below this temperature the snowmodel is activated

Tmax

max T for snow melt

Tmin

min T for snowmelt

modelsnow

type of snow model (Snow.sim or snow)

Value

csv file with columns Q and snowmelt

Examples

1
2
3
4
## Not run: 
g= hydrolsim(seasn="Ft",param.station=c(0.2,0.1,10),Nsim=1000,int1=g$SWEFt,Pt=as.matrix(h[[1]]),E=h[[5]],durt=24,Area1=500,kd=2,modelsnow="Snow.sim",slconst=1,snpSpt=0.3,ttsnow=-1,Tmax=0.5,Tmin=0.5,writeResults=FALSE,PDFplots=FALSE)

## End(Not run)

valeriyafilipova/StochasticPQRUT documentation built on May 26, 2019, 5:34 a.m.