HYPE
Functions/Subroutines
general_functions Module Reference

Functions/Subroutines

real function, public tempfactor (temp)
 
real function, public halfsatconcfactor (conc, par)
 
real function, public moisturefactor (sm, wp, pw, thickm, satsmf, exp, thetalow, thetaupp)
 
real function, public exponential_moisturefactor (sm, pw, limpar, exp)
 
real function, public simple_rating_curve (wst, k, p, w0)
 
real function, public exponential_decay (timesteps, halftime)
 
subroutine, public sedimentation (depth, conc, vel)
 

Detailed Description

General equations that are used by hydrological models.

Function/Subroutine Documentation

§ exponential_decay()

real function, public general_functions::exponential_decay ( real, intent(in)  timesteps,
real, intent(in)  halftime 
)

Calculates factor of exponential decay from halftime.

Parameters
[in]timestepsin unit of half time
[in]halftimehalf time of decay
+ Here is the caller graph for this function:

§ exponential_moisturefactor()

real function, public general_functions::exponential_moisturefactor ( real, intent(in)  sm,
real, intent(in)  pw,
real, intent(in)  limpar,
real, intent(in)  exp 
)

Calculates an exponential soil moisture dependence factor.

Parameters
[in]smsoil moisture (mm)
[in]pwtotal pore wolume (mm)
[in]limparlimitation parameter of moisturefactor (mm)
[in]expexponent of moisturefactor
+ Here is the caller graph for this function:

§ halfsatconcfactor()

real function, public general_functions::halfsatconcfactor ( real, intent(in)  conc,
real, intent(in)  par 
)

Calculates a concentration dependence factor Based on: half saturation function.

Parameters
[in]conccurrent concentration
[in]parhalf saturation concentration
+ Here is the caller graph for this function:

§ moisturefactor()

real function, public general_functions::moisturefactor ( real, intent(in)  sm,
real, intent(in)  wp,
real, intent(in)  pw,
real, intent(in)  thickm,
real, intent(in)  satsmf,
real, intent(in)  exp,
real, intent(in)  thetalow,
real, intent(in)  thetaupp 
)

Calculates a soil moisture dependence factor.

Parameters
[in]smsoil moisture (mm)
[in]wpwilting point pore wolume (mm)
[in]pwtotal pore wolume (mm)
[in]thickmthickness of soil layer (m)
[in]satsmfsaturated moisturefactor (satact)
[in]expexponent of moisturefactor (thetapow)
[in]thetalowlow(?) moisture coefficient (thetalow)
[in]thetaupphigh(?) moisture coefficient (thetaupp)
+ Here is the caller graph for this function:

§ sedimentation()

subroutine, public general_functions::sedimentation ( real, intent(in)  depth,
real, intent(inout)  conc,
real, intent(in)  vel 
)

Calculate sedimentation from sinking velocity.

Parameters
[in]depthwater depth (m)
[in,out]concconcentration of substance to sedimentate (mg/L or something)
[in]velsinking velocity (m/timestep)
+ Here is the caller graph for this function:

§ simple_rating_curve()

real function, public general_functions::simple_rating_curve ( real, intent(in)  wst,
real, intent(in)  k,
real, intent(in)  p,
real, intent(in)  w0 
)

Calculates momentanous flow from current water level with simple rating curve equation: Q = k*(w-w0)**p.

Parameters
[in]wstcurrent water level (m)
[in]krating curve coefficient
[in]prating curve exponent
[in]w0rating curve threshold (m)
+ Here is the caller graph for this function:

§ tempfactor()

real function, public general_functions::tempfactor ( real, intent(in)  temp)
Parameters
[in]tempcurrent temperature
+ Here is the caller graph for this function: