HYPE
All Classes Namespaces Files Functions Variables Pages
Functions/Subroutines
updating Module Reference

Functions/Subroutines

subroutine, public apply_quseobs (i, corrFlow)
 
subroutine, public apply_qarupd (i, simflow, corrFlow, arcorr)
 
subroutine, public apply_warupd (i, ioutlet, lakeareain, wstold, corrWst, corrFlow, arcorr, corrWstAve)
 
subroutine, public apply_wendupd (i, wst, lakestate)
 
subroutine, public apply_wendupd_lakebasin_lake (i, looplakes, wst, lakestate)
 
subroutine, public apply_cuseobs (i, newconc)
 
subroutine, public apply_nutrientcorr (icorr, isub, conc1, conc2)
 

Detailed Description

Module for updating and correction procedures used with the hydrological model HYPE.

Function/Subroutine Documentation

◆ apply_cuseobs()

subroutine, public updating::apply_cuseobs ( integer, intent(in)  i,
real, dimension(numsubstances), intent(inout)  newconc 
)

Update concentrations of subbasin outflow to observed value.

Parameters
[in]iindex of current subbasin
[in,out]newconcsimulated concentration of subbasin !!(clakeoutflow)
+ Here is the caller graph for this function:

◆ apply_nutrientcorr()

subroutine, public updating::apply_nutrientcorr ( integer, intent(in)  icorr,
integer, intent(in)  isub,
real, intent(inout)  conc1,
real, intent(inout)  conc2 
)

Update nutrient concentration to fraction of modelled value.

Parameters
[in]icorrindex for type of updating/correction
[in]isubupdate subbasin
[in,out]conc1simulated concentration (SP,IN) of outflow of subbasin (clakeoutflow)
[in,out]conc2simulated concentration (PP,ON) of outflow of subbasin (clakeoutflow)
+ Here is the caller graph for this function:

◆ apply_qarupd()

subroutine, public updating::apply_qarupd ( integer, intent(in)  i,
real, intent(in)  simflow,
real, intent(inout)  corrFlow,
real, intent(inout)  arcorr 
)

Update outflow of subbasin from observed value with AR method.

Parameters
[in]iindex of current subbasin
[in]simflowsimulated outflow of subbasin
[in,out]corrflowupdated outflow (lakeoutflow)
[in,out]arcorrcurrent AR-error (state-variable)
+ Here is the caller graph for this function:

◆ apply_quseobs()

subroutine, public updating::apply_quseobs ( integer, intent(in)  i,
real, intent(inout)  corrFlow 
)

Update outflow of subbasin to observed value.

Parameters
[in]iindex of current subbasin
[in,out]corrflowsimulated outflow of subbasin !!(lakeoutflow)
+ Here is the caller graph for this function:

◆ apply_warupd()

subroutine, public updating::apply_warupd ( integer, intent(in)  i,
integer, intent(in)  ioutlet,
real, intent(in)  lakeareain,
real, intent(in)  wstold,
real, intent(inout)  corrWst,
real, intent(inout)  corrFlow,
real, intent(inout)  arcorr,
real, intent(inout)  corrWstAve 
)

Update outflow of subbasin from observed waterstage value with AR method This method only applies for lakes with rating curve.

Parameters
[in]iindex of current subbasin
[in]ioutletindex of outlet with main outflow which flow will be affected
[in]lakeareainolake area of subbasin (m2)
[in]wstoldsimulated lake water end of last time step (mm)
[in,out]corrwstIN: simulated lake water, OUT: updated lake water (lakewst - for print out only) (mm)
[in,out]corrflowupdated outflow (lakeoutflow, m3/s)
[in,out]arcorrcurrent AR-error (state-variable, mm)
[in,out]corrwstaveupdated average lake water (mm)

Algorithm

Calculate updated waterstage last timestep

Calculate error and new arcorr-factor

Apply AR correction to waterstage and discharge

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ apply_wendupd()

subroutine, public updating::apply_wendupd ( integer, intent(in)  i,
real, intent(inout)  wst,
type(lakestatetype), intent(inout)  lakestate 
)

Update outlet lake water stage to observed value.

Parameters
[in]iindex of subbasin
[in,out]wstwater in lake (mm) to be written output
[in,out]lakestateLake state
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ apply_wendupd_lakebasin_lake()

subroutine, public updating::apply_wendupd_lakebasin_lake ( integer, intent(in)  i,
logical, dimension(nsub), intent(in)  looplakes,
real, dimension(nsub), intent(inout)  wst,
type(lakestatetype), intent(inout)  lakestate 
)

Update all lake basin water stage to observed value of outlet.

Parameters
[in]iindex of last lakebasin
[in]looplakessubbasins that belong to lake
[in,out]wstwater in lake (mm) to be written output
[in,out]lakestateLake state
+ Here is the call graph for this function:
+ Here is the caller graph for this function: