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

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)
 

Detailed Description

HYPE substance simplified soil model based on travel time through soil and half life of pollutants to simulate losses in soil.

Function/Subroutine Documentation

◆ decay_of_simplesubstance()

subroutine soilmodel_traveltime::decay_of_simplesubstance ( integer, intent(in)  j,
integer, intent(in)  iluse,
integer, intent(in)  soillayer,
integer, intent(in)  subst,
real, intent(in)  vol,
real, dimension(numsubstances), intent(inout)  conc 
)

Decay processes of simple substance in dissolved phase.

Reference ModelDescription Nitrogen and phosphorus in land routines (Nutrient soil leakage from outer source)

Parameters
[in]jindex of class
[in]iluseindex of landuse
[in]soillayersoil layer (1-3)
[in]substindex of substance
[in]volvolume of water
[in,out]concconcentration of water (-)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ decay_of_simplesubstance_sorbedphase()

subroutine soilmodel_traveltime::decay_of_simplesubstance_sorbedphase ( integer, intent(in)  j,
integer, intent(in)  iluse,
integer, intent(in)  subst,
real, intent(inout)  pool 
)

Decay of simple substance in sorbed or particulate phase.

Reference ModelDescription Nitrogen and phosphorus in land routines (Nutrient soil leakage from outer source)

Parameters
[in]jindex of class
[in]iluseindex of landuse
[in]substindex of substance
[in,out]poolamount of substance
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ distribute_soil_load()

subroutine, public soilmodel_traveltime::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)

Parameters
[in]iindex of subbasin
[in]jindex of class
[in]nnumber of substances
[in]loadload to soil
[out]load3load to soil layer 3
[in,out]soilstateSoil states

Algoritm Initiate

For every substance simulated with traveltime model

  • Get parameter values for current substance
  • Calculate the loads distribution (fractions)
  • Calculate the distributed load

Add the distributed loads to the pools

Output

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

◆ left_after_decay()

subroutine soilmodel_traveltime::left_after_decay ( integer, intent(in)  timesteps,
integer, intent(in)  soillayer,
real, intent(in)  decaypar,
real, intent(in)  totluse,
real, intent(in)  totslc,
real, intent(out)  fractionleft 
)

Fraction left of substance after decay processes.

Reference ModelDescription Nitrogen and phosphorus in land routines (Nutrient soil leakage from outer source)

Parameters
[in]timestepstime in number of timesteps
[in]soillayersoil layer (1-3)
[in]decaypardecay parameter [half life in days]
[in]totlusetime of travel landuse scaling parameter [days]
[in]totslctime of travel scaling parameter of class (used if no totpar set) [days]
[out]fractionleftfraction remaining after decay
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ release_from_pool()

subroutine soilmodel_traveltime::release_from_pool ( integer, intent(in)  subst,
real, intent(inout)  pool,
real, intent(in)  qmm,
real, intent(out)  release 
)

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)

Parameters
[in]substindex of substance
[in,out]poolsurface pool of substance
[in]qmmwater in mm/ts in precipitation or surface runoff or infiltration
[out]releaserelease of substance from surface pool
+ Here is the caller graph for this function:

◆ soil_traveltime_processes()

subroutine, public soilmodel_traveltime::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)

Parameters
[in]iindex of subbasin
[in]jindex of class
[in]iluseindex of landuse
[in]substindex of substance
[in]thicknessthickness of soil layers
[in,out]soilstateSoil states
[in]infiltgross infiltration (snowmelt and precipitation)
[out]releaserelease from surface pool
+ Here is the call graph for this function:
+ Here is the caller graph for this function: