FlexModel#

class FlexModel(interception=True, snow=False, gw_uptake=False)[source]#

Recharge to the groundwater calculated according to Collenteur et al. [2021].

Parameters
  • interception (bool, optional) – Use an interception reservoir in the model or not.

  • snow (bool, optional) – Account for snowfall and snowmelt in the model. If True, a temperature series should be provided to the RechargeModel.

  • gw_uptake (bool, optional) – If True, the potential evaporation that is left after evaporation from the interception reservoir and the root zone reservoir is subtracted from the recharge flux. An additional parameter can be used to scale the excess evaporation. Note that this is an EXPERIMENTAL FEATURE that may be removed in the future!

Notes

For a detailed description of the recharge model and parameters we refer to Collenteur et al. [2021]. The water balance for the unsaturated zone reservoir is written as:

\[\frac{dS}{dt} = P_e - E_a - R\]

where the recharge is calculated as:

\[R = K_s \left( \frac{S}{S_u}\right) ^\gamma\]

If snow=True, a snow reservoir is added on top. For a detailed description of the degree-day snow model and parameters we refer to Kavetski and Kuczera [2007]. The water balance for the snow reservoir is written as:

\[\frac{dSs}{dt} = Ps - M\]

Note that the preferred unit of the precipitation and evaporation is mm/d and the temperature is degree celsius.

Methods#

__init__

check_interception_balance

check_root_zone_balance

check_snow_balance

get_init_parameters

Method to obtain the initial parameters.

get_interception_balance

Method to compute the water balance of the interception reservoir.

get_root_zone_balance

Method to compute the water balance of the root zone reservoir.

get_snow_balance

Method to compute the water balance of the snow reservoir.

get_water_balance

simulate

Simulate the soil water balance model.

to_dict

Method to export the recharge model object.