riverRouting | R Documentation |
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).
riverRouting(demand=NA, priority = NA, discharge, seepageFraction=NA, simulation)
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: |
the riverRouting
returns a matrix of release(s) corresponding to each demand(s).
Rezgar Arabzadeh
diversionRouting
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.