Assign a coeficients to dispatch J2000 discharge on TOPAGE segments
Source:R/TNETshape_computeCoefQcalc.R
TNETshape_computeCoefQcalc.Rd
This function will assign a coeficients to dispatch J2000 discharge on TOPAGE segments using specific
discharge hypothesis. Theses coeficients will be used in TNET_computeQ()
and TNET_computeQlatSout()
function.
Usage
TNETshape_computeCoefQcalc(path_segments, export_file, to_calc = c('up','down','sWS'))
Arguments
- path_segments
string Path to the shapefile created by
TNETshape_computeAreaDrain()
with drained area and sub drained area of each segments.- export_file
string Path to the shapefile with results to create.
- to_calc
vector of strings Vector with
"up"
to compute upstream area drain ratio,"down"
to compute downstream area drain ratio and"sWS"
to compute sub-watershed area ratio. By default, everything is calculated.
Details
This function will compute the coeficients used in TNET_computeQ()
and TNET_computeQlatSout()
in order to dispatch
J2000 discharge data from J2000 river network to Topage river network. The computation are the following
1 - For discharge dispatch
Used by TNET_computeQ()
\(RppAr\_v = \frac{\text{Area drain downstream of Topage segment}}{\text{Area drain downstream of J2000 reference segment}}\)
2 - For underground discharge
Used by TNET_computeQlatSout()
\(RppA\_BV = \frac{\text{Area of the subwatershed of Topage segment}}{\text{Area of the subwatershed of J2000 reference segment}}\)