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) |
Module for updating and correction procedures used with the hydrological model HYPE.
subroutine, public updating::apply_cuseobs | ( | integer, intent(in) | i, |
real, dimension(numsubstances), intent(inout) | newconc | ||
) |
Update concentrations of subbasin outflow to observed value.
[in] | i | index of current subbasin |
[in,out] | newconc | simulated concentration of subbasin !!(clakeoutflow) |
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.
[in] | icorr | index for type of updating/correction |
[in] | isub | update subbasin |
[in,out] | conc1 | simulated concentration (SP,IN) of outflow of subbasin (clakeoutflow) |
[in,out] | conc2 | simulated concentration (PP,ON) of outflow of subbasin (clakeoutflow) |
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.
[in] | i | index of current subbasin |
[in] | simflow | simulated outflow of subbasin |
[in,out] | corrflow | updated outflow (lakeoutflow) |
[in,out] | arcorr | current AR-error (state-variable) |
subroutine, public updating::apply_quseobs | ( | integer, intent(in) | i, |
real, intent(inout) | corrFlow | ||
) |
Update outflow of subbasin to observed value.
[in] | i | index of current subbasin |
[in,out] | corrflow | simulated outflow of subbasin !!(lakeoutflow) |
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.
[in] | i | index of current subbasin |
[in] | ioutlet | index of outlet with main outflow which flow will be affected |
[in] | lakeareain | olake area of subbasin (m2) |
[in] | wstold | simulated lake water end of last time step (mm) |
[in,out] | corrwst | IN: simulated lake water, OUT: updated lake water (lakewst - for print out only) (mm) |
[in,out] | corrflow | updated outflow (lakeoutflow, m3/s) |
[in,out] | arcorr | current AR-error (state-variable, mm) |
[in,out] | corrwstave | updated average lake water (mm) |
Algorithm
Calculate updated waterstage last timestep
Calculate error and new arcorr-factor
Apply AR correction to waterstage and discharge
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.
[in] | i | index of subbasin |
[in,out] | wst | water in lake (mm) to be written output |
[in,out] | lakestate | Lake state |
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.
[in] | i | index of last lakebasin |
[in] | looplakes | subbasins that belong to lake |
[in,out] | wst | water in lake (mm) to be written output |
[in,out] | lakestate | Lake state |