HYPE
Loading...
Searching...
No Matches
soilmodel_default Module Reference

Functions/Subroutines

subroutine, public soilmodel_0 (i, j, isoil, iluse, subid, pdayno, classarea, prec, cprec0, temp, daylength, mintemp, maxtemp, rh, swrad, radext, netrad, actvap, satvap, wind, rrcscorr, inflow, cinflow, dischargelayer, frozenstate, soilstate, miscstate, epot, gwat, frostdepth, smdef, pwneed, layer3load, ruralarech, horizontalflows2, snowtemp, snowsurftemp, stressthreshold, soilsubstancemodel)
subroutine update_rootzone_concentration (i, j, xconc, soilstate)
subroutine update_rootzone_model_concentration (xconc, conc)
subroutine set_model_for_substances (xconc, model)
subroutine zero_rootzone_model_values (xconc, load)

Detailed Description

HYPE default soil model.

Function/Subroutine Documentation

◆ set_model_for_substances()

subroutine soilmodel_default::set_model_for_substances ( real, dimension(numsubstances), intent(in) xconc,
integer, dimension(0:numsubstances), intent(out) model )
private

Set model variable for which substances uses original soil model and which uses the present one.

Parameters
[in]xconcconcentration of root zone leakage
[out]modelFlag for using original soil model (1) or special (or no) soil model (0)
Here is the caller graph for this function:

◆ soilmodel_0()

subroutine, public soilmodel_default::soilmodel_0 ( integer, intent(in) i,
integer, intent(in) j,
integer, intent(in) isoil,
integer, intent(in) iluse,
integer, intent(in) subid,
integer, intent(in) pdayno,
real, intent(in) classarea,
real, intent(in) prec,
real, dimension(numsubstances), intent(in) cprec0,
real, intent(in) temp,
real, intent(in) daylength,
real, intent(in) mintemp,
real, intent(in) maxtemp,
real, intent(in) rh,
real, intent(in) swrad,
real, intent(in) radext,
real, intent(in) netrad,
real, intent(in) actvap,
real, intent(in) satvap,
real, intent(in) wind,
real, intent(in) rrcscorr,
real, intent(in) inflow,
real, dimension(numsubstances), intent(in) cinflow,
integer, intent(out) dischargelayer,
type(snowicestatetype), intent(inout) frozenstate,
type(soilstatetype), intent(inout) soilstate,
type(miscstatetype), intent(inout) miscstate,
real, intent(out) epot,
real, intent(out) gwat,
real, intent(out) frostdepth,
real, intent(out) smdef,
real, intent(out) pwneed,
real, dimension(numsubstances,3), intent(inout) layer3load,
real, dimension(numsubstances), intent(inout) ruralarech,
real, dimension(maxsoillayers,nsub), intent(inout) horizontalflows2,
real, intent(out) snowtemp,
real, intent(out) snowsurftemp,
real, intent(out) stressthreshold,
integer, dimension(numsubstances), intent(out), optional soilsubstancemodel )

Default soilmodel for land classes Calculate snow and soil processes for a land class.

Parameters
[in]iindex for current subbasin
[in]jindex for current class
[in]isoilindex of soil type
[in]iluseindex of landuse
[in]subidsubbasin id
[in]pdaynopseudo dayno for use in soil model subroutines
[in]classareaclass area [km2]
[in]precprecipitation (mm/timestep)
[in]cprec0concentration of precipitation
[in]temptemperature
[in]daylengthday length (hours)
[in]mintempcurrent daily min temperature (C)
[in]maxtempcurrent daily max temperature (C)
[in]rhrelative humuidity (-)
[in]swraddownward shortwave radiation [MJ/m2/ts]
[in]radextextraterrestrial solar radiation [MJ/m2/day]
[in]netradnet downward radiation [MJ/m2/ts]
[in]actvapactual vapor pressure [kPa]
[in]satvapsaturated vapour pressure [kPa]
[in]windwind speed [m/s]
[in]rrcscorrcorrection of recession coefficients
[in]inflowinflow from recharge classes [mm/ts]
[in]cinflowconcentration of inflow from recharge classes
[out]dischargelayersoil layer of added inflow from recharge classes
[in,out]frozenstateSnow and ice states
[in,out]soilstateSoil states
[in,out]miscstateMisc states
[out]epotpotential evaporation (mm/timestep)
[out]gwatgroundwater table (m)
[out]frostdepthsoil frost depth
[out]smdefsoil moisture deficit (mm)
[out]pwneedirrigation water demand for this classe (m3)
[in,out]layer3loadLoad from root zone (layer 1 and 2) and from layer 3 (kg/timestep)
[in,out]ruralarechLoad from rural households accumulated for recharge classes to discharge classes (kg/timestep)
[in,out]horizontalflows2horizontal flows:1-3=division of regional groundwater flows to grwdown
[out]snowtempsnowpack temperature
[out]snowsurftempsnow surface temperature
[out]stressthresholdstress threshold for irrigation
[out]soilsubstancemodelflag for different substance soil process models
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_rootzone_concentration()

subroutine soilmodel_default::update_rootzone_concentration ( integer, intent(in) i,
integer, intent(in) j,
real, dimension(numsubstances), intent(in) xconc,
type(soilstatetype), intent(inout) soilstate )
private

Set upper two soil layers' concentration to root zone leakage concentration for substances with leakage concentration input data for classmodel 6.

Parameters
[in]iindex for current subbasin
[in]jindex for current class
[in]xconcconcentration of root zone leakage
[in,out]soilstateSoil states
Here is the caller graph for this function:

◆ update_rootzone_model_concentration()

subroutine soilmodel_default::update_rootzone_model_concentration ( real, dimension(numsubstances), intent(in) xconc,
real, dimension(numsubstances), intent(inout) conc )
private

Set upper two soil layers' concentration to root zone leakage concentration for substances with leakage concentration input data.

Parameters
[in]xconcconcentration of root zone leakage
[in,out]concconcentration to be updated
Here is the caller graph for this function:

◆ zero_rootzone_model_values()

subroutine soilmodel_default::zero_rootzone_model_values ( real, dimension(numsubstances), intent(in) xconc,
real, dimension(numsubstances), intent(inout) load )
private

Zero load for substances with root zone leakage concentration.

Parameters
[in]xconcconcentration of root zone leakage
[in,out]loadLoads or other value
Here is the caller graph for this function: