|
HYPE
|
Functions/Subroutines | |
| subroutine, public | soil_traveltime_processes (i, j, iluse, subst, thickness, soilstate, infilt, release) |
| subroutine | decay_of_simplesubstance (j, iluse, soillayer, subst, vol, conc) |
| subroutine | decay_of_simplesubstance_sorbedphase (j, iluse, subst, pool) |
| subroutine | left_after_decay (timesteps, soillayer, decaypar, totluse, totslc, fractionleft) |
| subroutine | release_from_pool (subst, pool, qmm, release) |
| subroutine, public | distribute_soil_load (i, j, n, load, load3, soilstate, model9) |
HYPE substance simplified soil model based on travel time through soil and half life of pollutants to simulate losses in soil.
|
private |
Decay processes of simple substance in dissolved phase.
Reference ModelDescription Nitrogen and phosphorus in land routines (Nutrient soil leakage from outer source)
| [in] | j | index of class |
| [in] | iluse | index of landuse |
| [in] | soillayer | soil layer (1-3) |
| [in] | subst | index of substance |
| [in] | vol | volume of water |
| [in,out] | conc | concentration of water (-) |
|
private |
Decay of simple substance in sorbed or particulate phase.
Reference ModelDescription Nitrogen and phosphorus in land routines (Nutrient soil leakage from outer source)
| [in] | j | index of class |
| [in] | iluse | index of landuse |
| [in] | subst | index of substance |
| [in,out] | pool | amount of substance |
| subroutine, public traveltime_soil_processes::distribute_soil_load | ( | integer, intent(in) | i, |
| integer, intent(in) | j, | ||
| integer, intent(in) | n, | ||
| real, dimension(n), intent(in) | load, | ||
| real, dimension(n), intent(out) | load3, | ||
| type(soilstatetype), intent(inout) | soilstate, | ||
| integer, dimension(0:n), intent(in), optional | model9 ) |
Distribute soil load between surface pool and soil layers.
Reference ModelDescription Nitrogen and phosphorus in land routines (Nutrient soil leakage from outer source)
| [in] | i | index of subbasin |
| [in] | j | index of class |
| [in] | n | number of substances |
| [in] | load | load to soil |
| [out] | load3 | load to soil layer 3 |
| [in,out] | soilstate | Soil states |
| [in] | model9 | code for model used for different substances |
Algoritm Initiate
For every substance simulated with traveltime model
Add the distributed loads to the pools
Output
|
private |
Fraction left of substance after decay processes.
Reference ModelDescription Nitrogen and phosphorus in land routines (Nutrient soil leakage from outer source)
| [in] | timesteps | time in number of timesteps |
| [in] | soillayer | soil layer (1-3) |
| [in] | decaypar | decay parameter [half life in days] |
| [in] | totluse | time of travel landuse scaling parameter [days] |
| [in] | totslc | time of travel scaling parameter of class (used if no totpar set) [days] |
| [out] | fractionleft | fraction remaining after decay |
|
private |
Release from surface pool on ground due to rain/snowmelt or surface runoff.
Reference ModelDescription Nitrogen and phosphorus in land routines (Nutrient soil leakage from outer source)
| [in] | subst | index of substance |
| [in,out] | pool | surface pool of substance |
| [in] | qmm | water in mm/ts in precipitation or surface runoff or infiltration |
| [out] | release | release of substance from surface pool |
| subroutine, public traveltime_soil_processes::soil_traveltime_processes | ( | integer, intent(in) | i, |
| integer, intent(in) | j, | ||
| integer, intent(in) | iluse, | ||
| integer, intent(in) | subst, | ||
| real, dimension(maxsoillayers), intent(in) | thickness, | ||
| type(soilstatetype), intent(inout) | soilstate, | ||
| real, intent(in) | infilt, | ||
| real, intent(out) | release ) |
Calculate substance processes in soil by traveltime soil model.
Reference ModelDescription Nitrogen and phosphorus in land routines (Nutrient soil leakage from outer source)
| [in] | i | index of subbasin |
| [in] | j | index of class |
| [in] | iluse | index of landuse |
| [in] | subst | index of substance |
| [in] | thickness | thickness of soil layers |
| [in,out] | soilstate | Soil states |
| [in] | infilt | gross infiltration (snowmelt and precipitation) |
| [out] | release | release from surface pool |