Hydrologic Model
The hydrologic component of HydroPol2D governs the partitioning of atmospheric input into interception, throughfall, infiltration, evapotranspiration, snow accumulation and melt, vadose-zone storage, groundwater recharge, and groundwater feedback to the land surface.
At the cell scale, the hydrologic model determines how much water:
- is temporarily stored by the canopy,
- reaches the ground surface,
- infiltrates into the soil,
- remains stored in the vadose zone,
- recharges groundwater,
- returns to the surface through exfiltration,
- or is removed by evaporation and transpiration.
These processes are evaluated sequentially within each time step and provide the hydrologic forcing for the hydrodynamic model.
1. Conceptual Hydrologic Balance
At the conceptual level, the hydrologic balance of a grid cell may be written as
where:
- is surface water depth
- is effective rainfall reaching the ground
- is snowmelt contribution
- is groundwater exfiltration to the surface
- is infiltration rate
- is evaporation rate from surface storage
- is transpiration rate
- and are additional imposed source and sink terms
Not all terms are active simultaneously. Their activation depends on the selected forcing configuration and model flags. Nevertheless, this balance provides the conceptual framework used to organize all vertical fluxes acting on a grid cell.
2. Canopy Interception, Throughfall, and Stemflow
HydroPol2D represents canopy interception using a storage-based interception model in which gross precipitation is partitioned into:
- canopy storage,
- throughfall,
- canopy evaporation,
- and stemflow.
The interception routine receives:
- gross precipitation ,
- potential evaporation ,
- leaf area index ,
- previous canopy storage ,
- canopy storage coefficient ,
and returns updated canopy storage , throughfall , evaporation from intercepted water , and stemflow .
This interception step controls how much of the atmospheric water input is temporarily retained by vegetation and how much is transferred to the ground surface during the current time step.
2.1 Maximum canopy storage
The maximum interception storage is computed as
where:
- is maximum canopy water storage
- is canopy storage coefficient
- is leaf area index
This relation implies that vegetation with larger leaf area can store more intercepted water.
2.2 Stemflow
The code includes a stemflow routine based on a delay function. The intermediate expressions are
and
where:
- is stemflow delay
- is the maximum delay parameter
- is the stemflow decay coefficient
- is the stemflow fraction
- is stemflow
In the current HydroPol2D implementation, stemflow is deactivated by explicitly imposing
Therefore, stemflow does not currently contribute to the surface-water balance, although the structure of the routine is retained in the code.
2.3 Evaporation from interception storage
The fraction of canopy storage exposed to evaporation is defined as
and the canopy evaporation is then computed as
subject to the constraint
where:
- is the fraction of canopy storage filled at the beginning of the time step
- is evaporation from interception storage
- is potential evaporation over the time step
This formulation assumes that canopy evaporation is proportional to the fraction of storage occupied at the beginning of the time step, while also enforcing that evaporation cannot exceed the water actually available in precipitation plus stored interception water.
2.4 Interception storage update
The canopy storage increment is computed as
and the provisional storage becomes
Throughfall is then computed as the excess above the canopy storage capacity:
Finally, the canopy storage is truncated at its maximum admissible value:
where:
- is the canopy storage increment over the time step
- is provisional canopy storage before truncation
- is throughfall
- is final canopy storage
This sequence reflects the physical assumption that precipitation first fills canopy storage. Once the canopy reaches its storage capacity, the excess water is released as throughfall.
2.5 Effective rainfall passed to the surface
The rainfall available to the land surface is defined as
where:
- is effective rainfall reaching the ground
- is direct throughfall
- is stemflow
Under the current implementation, since stemflow is deactivated, effective rainfall is equal to throughfall. In practical terms, represents the amount of liquid water transferred from the atmosphere–canopy system to the land surface during the time step, prior to hydrodynamic routing.
If the interception routine is disabled, then no canopy storage is resolved and precipitation reaches the surface directly, so that
2.6 Subgrid rainfall correction for interception
When subgrid and overbank options are active, the precipitation entering the interception module is scaled by the effective wet area:
where:
- is precipitation used by the interception module
- is aggregated rainfall depth
- is grid resolution
- is effective wetted cell area
Otherwise,
This correction ensures that interception remains consistent with the hydrologically active portion of the cell area under subgrid inundation or partial wetting conditions.
3. Potential Evapotranspiration and Evaporation
HydroPol2D computes spatially distributed reference evapotranspiration using a Penman–Monteith formulation. Meteorological station data are first interpolated over the grid using inverse distance weighting, and the interpolated fields are then used to compute both reference evapotranspiration and an evaporation-like term .
The quantity is used as the standard reference evapotranspiration, while is used in the interception routine to estimate evaporation from intercepted canopy water.
3.1 Spatial interpolation of meteorological forcing
At each time step, the following fields are interpolated from available stations:
- maximum air temperature
- minimum air temperature
- mean air temperature
- wind speed at
- relative humidity
- soil heat flux
For a generic variable , the interpolated field at location is written conceptually as
with
where:
- is the value observed at station
- is the distance from station to location
- is the inverse-distance weighting power parameter
Only stations with complete data at the current time step are retained in the interpolation. This procedure yields spatially distributed forcing fields that are then used in the evapotranspiration calculations.
3.2 Penman–Monteith equation
The reference evapotranspiration is computed as
and the evaporation-like term is
where:
- is reference evapotranspiration
- is potential evaporation without aerodynamic surface resistance in the denominator
- is the slope of the saturation vapor pressure curve
- is net radiation
- is soil heat flux
- is the psychrometric constant
- is wind speed at
- is saturation vapor pressure
- is actual vapor pressure
- is mean air temperature
These are the algebraic forms implemented in the current code. The difference between and lies in the denominator, which makes an evaporation-like term more directly suited to canopy interception losses.
3.3 Supporting radiation and atmospheric terms
HydroPol2D computes the auxiliary Penman–Monteith terms using astronomical and thermodynamic relationships.
Solar declination is computed as
Relative Earth–Sun distance is
Extraterrestrial radiation is then computed as
Incoming solar radiation is estimated as
Clear-sky radiation is
Net shortwave radiation is
Net longwave radiation is
Net radiation is then
The slope of the saturation vapor pressure curve is computed as
Atmospheric pressure is estimated as
and the psychrometric constant is
where:
- is day of year
- is solar declination
- is relative Earth–Sun distance
- is extraterrestrial radiation
- is sunrise hour angle
- is latitude
- is incoming solar radiation
- is the empirical radiation coefficient in the Hargreaves-type incoming radiation estimate
- is clear-sky solar radiation
- is the terrain elevation
- is net shortwave radiation
- is land-surface albedo
- is net longwave radiation
- is the Stefan–Boltzmann constant
- is atmospheric pressure
These expressions are explicitly implemented in the evapotranspiration routine and evaluated in matrix form over the computational domain.
3.4 Direct evaporation and transpiration forcing
HydroPol2D can also use externally supplied raster fields of evaporation and transpiration. In that configuration, the model bypasses the internal Penman–Monteith calculation and applies prescribed and fields directly in the hydrologic mass balance.
4. Infiltration
The infiltration module computes the transfer of water from the surface to the vadose zone using a Darcy-based formulation coupled with van Genuchten–Mualem constitutive relationships. The formulation is designed to approximate Richards-type unsaturated flow behavior while maintaining compatibility with the storage-based structure of HydroPol2D.
At each time step, infiltration is controlled by three simultaneous constraints:
- the availability of water at the surface,
- the hydraulic capacity of the soil,
- the remaining storage capacity of the vadose zone.
The final infiltration rate is determined as the minimum among these competing limits.
4.1 Water-table-controlled unsaturated storage
The vertical structure of the soil column is dynamically linked to the groundwater table. The saturated thickness above the base of the soil profile is computed as
and the depth to the water table below the land surface is
where:
- is groundwater head
- is land surface elevation
- is soil depth
- is water-table depth below the surface
The maximum storage available in the vadose zone is then defined as
and the remaining storage capacity is
where:
- is maximum vadose storage
- is current vadose storage
- is initial/reference water content
- is saturated water content
This formulation ensures that the available storage dynamically responds to groundwater fluctuations. As the water table rises, decreases and the vadose storage capacity shrinks accordingly.
4.2 Representative water content and effective saturation
The representative volumetric water content in the vadose zone is approximated as
subject to
The effective saturation is then defined as
where:
- is volumetric water content
- is residual water content
- is effective saturation
This effective saturation is used to evaluate both matric suction and hydraulic conductivity.
4.3 Matric pressure head
The matric pressure head is computed using the van Genuchten retention curve:
with
where:
- is matric pressure head
- is inverse air-entry parameter
- is van Genuchten shape parameter
At near-saturated conditions, the model imposes
to prevent numerical instability.
4.4 Unsaturated hydraulic conductivity
The unsaturated hydraulic conductivity is computed as
with
where:
- is unsaturated hydraulic conductivity
- is saturated hydraulic conductivity
- is pore-connectivity parameter
If is not provided, a default value of is used.
4.5 Darcy-based infiltration capacity
The infiltration capacity represents the maximum flux that can be transmitted into the soil given the current hydraulic state. It is computed as
where:
- is infiltration capacity
- is surface ponding head
- is near-surface resistance length (default )
- is maximum driving head difference (typically )
This formulation accounts for both gravity-driven and capillary-driven infiltration.
4.6 Supply-limited and storage-limited infiltration
The water available for infiltration is determined from the effective surface water depth. When interception is inactive:
The corresponding supply-limited infiltration rate is
where:
- is effective ponded water depth
- is time step in hours
The storage-limited infiltration rate is
The actual infiltration rate is then
Additional constraints are applied:
- over impervious cells
- when
Thus, infiltration is simultaneously supply-limited, capacity-limited, and storage-limited.
4.7 Vadose storage update
The infiltrated depth over the time step is
and the vadose storage is updated as
subject to
where:
- is the updated maximum vadose-zone storage capacity , recomputed at the current time step based on the updated water-table position.
5. Snow Accumulation, Melt, and Sublimation
When snow modeling is active, precipitation is partitioned into rainfall and snowfall, and snowpack evolution is explicitly tracked through snow water equivalent (SWE), density, and depth.
5.1 Rain–snow partitioning
Precipitation is partitioned based on air temperature:
where is a temperature-dependent snow fraction .
5.2 Snow water equivalent
The evolution of snow water equivalent is
where:
- is snow water equivalent
- is sublimation
5.3 Snowmelt
Snowmelt is computed as
subject to
where:
- is degree-day factor
- is snow albedo that can be either assumed as constant or entered as spatial input in the
General_Data.xlsx. - is net energy flux available for snowmelt , representing the combined radiative and turbulent energy exchanges at the snow surface.
The current snow parameters must be edited in the function HydroPol2D_Preprocessing.m.
5.4 Snow density and depth
Snow density evolves as
subject to
Snow depth is
5.5 Sublimation
where:
- is sublimation coefficient
- is wind speed , taken as the wind speed at height.
- is saturation specific humidity at the snow surface
- is ambient air specific humidity
5.6 Surface-water update under snow conditions
otherwise
where:
- is surface water depth at the current time step
- is surface water depth at the previous time step
6. Vadose Storage, Recharge, and Groundwater Feedback
6.1 Recharge
Recharge is computed dynamically using Darcy's law assuming a representative flow width to reach the aquifer free surface
with
Therefore, the current version considers half of the depth to the aquifer distance as the representative distance to compute the recharge.
6.2 Storage evolution
By simply computing a reservoir mass balance with a forward explicit Euler numerical scheme, one can obtain:
where is in seconds.
6.3 Mass-consistent recharge
6.4 Saturation excess
6.5 Groundwater exfiltration
where:
- is specific yield
7. Summary
The hydrologic model in HydroPol2D integrates:
- canopy interception,
- Penman–Monteith evapotranspiration,
- Darcy-based infiltration,
- snow accumulation and melt,
- vadose storage and groundwater coupling,
into a unified, mass-consistent framework that resolves vertical water fluxes at the grid-cell scale and provides the hydrologic forcing for the hydrodynamic model.