|
HYPE
|
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) |
HYPE default soil model.
|
private |
Set model variable for which substances uses original soil model and which uses the present one.
| [in] | xconc | concentration of root zone leakage |
| [out] | model | Flag for using original soil model (1) or special (or no) soil model (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.
| [in] | i | index for current subbasin |
| [in] | j | index for current class |
| [in] | isoil | index of soil type |
| [in] | iluse | index of landuse |
| [in] | subid | subbasin id |
| [in] | pdayno | pseudo dayno for use in soil model subroutines |
| [in] | classarea | class area [km2] |
| [in] | prec | precipitation (mm/timestep) |
| [in] | cprec0 | concentration of precipitation |
| [in] | temp | temperature |
| [in] | daylength | day length (hours) |
| [in] | mintemp | current daily min temperature (C) |
| [in] | maxtemp | current daily max temperature (C) |
| [in] | rh | relative humuidity (-) |
| [in] | swrad | downward shortwave radiation [MJ/m2/ts] |
| [in] | radext | extraterrestrial solar radiation [MJ/m2/day] |
| [in] | netrad | net downward radiation [MJ/m2/ts] |
| [in] | actvap | actual vapor pressure [kPa] |
| [in] | satvap | saturated vapour pressure [kPa] |
| [in] | wind | wind speed [m/s] |
| [in] | rrcscorr | correction of recession coefficients |
| [in] | inflow | inflow from recharge classes [mm/ts] |
| [in] | cinflow | concentration of inflow from recharge classes |
| [out] | dischargelayer | soil layer of added inflow from recharge classes |
| [in,out] | frozenstate | Snow and ice states |
| [in,out] | soilstate | Soil states |
| [in,out] | miscstate | Misc states |
| [out] | epot | potential evaporation (mm/timestep) |
| [out] | gwat | groundwater table (m) |
| [out] | frostdepth | soil frost depth |
| [out] | smdef | soil moisture deficit (mm) |
| [out] | pwneed | irrigation water demand for this classe (m3) |
| [in,out] | layer3load | Load from root zone (layer 1 and 2) and from layer 3 (kg/timestep) |
| [in,out] | ruralarech | Load from rural households accumulated for recharge classes to discharge classes (kg/timestep) |
| [in,out] | horizontalflows2 | horizontal flows:1-3=division of regional groundwater flows to grwdown |
| [out] | snowtemp | snowpack temperature |
| [out] | snowsurftemp | snow surface temperature |
| [out] | stressthreshold | stress threshold for irrigation |
| [out] | soilsubstancemodel | flag for different substance soil process models |
|
private |
Set upper two soil layers' concentration to root zone leakage concentration for substances with leakage concentration input data for classmodel 6.
| [in] | i | index for current subbasin |
| [in] | j | index for current class |
| [in] | xconc | concentration of root zone leakage |
| [in,out] | soilstate | Soil states |
|
private |
Set upper two soil layers' concentration to root zone leakage concentration for substances with leakage concentration input data.
| [in] | xconc | concentration of root zone leakage |
| [in,out] | conc | concentration to be updated |
|
private |
Zero load for substances with root zone leakage concentration.
| [in] | xconc | concentration of root zone leakage |
| [in,out] | load | Loads or other value |