riverRouting {WRSS} | R Documentation |
base function for rivers and reachs simulation
Description
Given a sort of demand(s), riverRouting
function enable us to simulate rivers and channels under givn a hydrologic time series, inflow
, and optional demand
(s).
Usage
riverRouting(demand=NA, priority = NA, discharge, seepageFraction=NA, simulation)
Arguments
demand |
(optional) A matrix: is column-wise matrix of demands, at which the rows presents demands for each time step and columns are for different individual demand sites (MCM). |
priority |
(optional) A vector: is a vector of priorities associated to |
discharge |
(optional) A vector : a vector of water flowing into the diversion (MCM) |
seepageFraction |
(optional) The seepage coeffcient of river discharge flow. The seepage is computed as the product of seepageFraction and river discharge. It is in |
simulation |
A list: |
Value
the riverRouting
returns a matrix of release(s) corresponding to each demand(s).
Author(s)
Rezgar Arabzadeh
See Also
Examples
demand <-matrix(rnorm(480,15,3),120)
priority <-sample(1:3,4,replace=TRUE)
discharge <-rlnorm(120,log(50),log(4))
simulation <-list(start='2000-01-01',end='2000-04-29',interval='day')
riverRouting(demand = demand ,
priority = priority ,
discharge = discharge,
simulation= simulation)