Forward Structure#
In smash, a forward/direct spatially distributed model is obtained by chaining differentiable hydrological-hydraulic operators via simulated fluxes:
(optional) a descriptors-to-parameters mapping \(\phi\), either for parameters imposing spatial constraints and/or regional mapping between physical descriptors and model conceptual parameters, see mapping section.
(optional) a
snowoperator \(\mathcal{M}_{snw}\) generating a melt flux \(m_{lt}\), which is then summed with the precipitation flux to feed thehydrologicaloperator \(\mathcal{M}_{rr}\).A
hydrologicalproduction operator \(\mathcal{M}_{rr}\) generating an elementary discharge \(q_t\), which feeds the routing operator.A
routingoperator \(\mathcal{M}_{hy}\) simulating the propagation of discharge \(Q\).
The operators’ chaining principle is presented in section forward and inverse problems statement (cf. Eq. (2)), and the chaining fluxes are explicated in the diagram below. The forward model obtained reads \(\mathcal{M}=\mathcal{M}_{hy}\left(\,.\,,\mathcal{M}_{rr}\left(\,.\,,\mathcal{M}_{snw}\left(.\right)\right)\right)\).
This section describes the various operators available in smash with mathematical/numerical expressions, input data \(\left[\boldsymbol{I},\boldsymbol{D}\right](x,t)\), tunable conceptual parameters \(\boldsymbol{\theta}(x,t)\), and simulated state and fluxes \(\boldsymbol{U}(x,t)=\left[Q,\boldsymbol{h},\boldsymbol{q}\right](x,t)\).
These operators are written below for a given pixel \(x\) of the 2D spatial domain \(\Omega\) and for a time \(t\) in the simulation window \(\left]0,T\right]\).
Diagram of input data, hydrological-hydraulic operators, simulated quantities of a forward model \(\mathcal{M}=\mathcal{M}_{hy}\left(\,.\,,\mathcal{M}_{rr}\left(\,.\,,\mathcal{M}_{snw}\left(.\right)\right)\right)\) (cf. Eq. (2)); recall the composition principle is explained in section forward and inverse problems statement.#
Snow operator \(\mathcal{M}_{snw}\)#
zero (Zero Snow)
This snow operator simply means that there is no snow operator.
with \(m_{lt}\) the melt flux.
ssn (Simple Snow)
This snow operator is a simple degree-day snow operator. It can be expressed as follows:
with \(m_{lt}\) the melt flux, \(S\) the snow, \(T_e\) the temperature, \(k_{mlt}\) the melt coefficient and \(h_s\) the state of the snow reservoir.
Note
Linking with the forward problem equation (1)
Internal fluxes: \(\{m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings: \(\{S, T_e\}\in\boldsymbol{\mathcal{I}}\)
Parameters: \(\{k_{mlt}\}\in\boldsymbol{\theta}\)
States: \(\{h_s\}\in\boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Update the snow reservoir state \(h_s\) for \(t^* \in \left] t-1 , t\right[\)
Compute the melt flux \(m_{lt}\)
Update the snow reservoir state \(h_s\)
Hydrological operator \(\mathcal{M}_{rr}\)#
Hydrological processes can be described at pixel scale in smash with one of the available hydrological operators adapted from state-of-the-art lumped or distributed models.
Génie Rural with 4 parameters (gr4)
This hydrological operator is derived from the GR4 model [Perrin et al., 2003].
Diagram of the gr4 like hydrological operator#
It can be expressed as follows:
with \(q_{t}\) the elemental discharge, \(P\) the precipitation, \(E\) the potential evapotranspiration, \(m_{lt}\) the melt flux from the snow operator, \(c_i\) the maximum capacity of the interception reservoir, \(c_p\) the maximum capacity of the production reservoir, \(c_t\) the maximum capacity of the transfer reservoir, \(k_{exc}\) the exchange coefficient, \(h_i\) the state of the interception reservoir, \(h_p\) the state of the production reservoir and \(h_t\) the state of the transfer reservoir.
Note
Linking with the forward problem equation (1)
Internal fluxes: \(\{q_{t}, m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings: \(\{P, E\}\in\boldsymbol{\mathcal{I}}\)
Parameters: \(\{c_i, c_p, c_t, k_{exc}\}\in\boldsymbol{\theta}\)
Normalized states: \(\{\tilde{h_i}, \tilde{h_p}, \tilde{h_t}\}\), where \(\tilde{h_i} = \frac{h_i}{c_i}\), \(\tilde{h_p} = \frac{h_p}{c_p}\), and \(\tilde{h_t} = \frac{h_t}{c_t}\), with states \(\{h_i, h_p, h_t\} \in \boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Interception
Compute interception evapotranspiration \(e_i\)
Compute the neutralized precipitation \(p_n\) and evapotranspiration \(e_n\)
Update the interception reservoir state \(\tilde{h_i}\)
Production
Compute the production infiltrating precipitation \(p_s\) and evapotranspiration \(e_s\)
Update the normalized production reservoir state \(\tilde{h_p}\)
Compute the production runoff \(p_r\)
Compute the production percolation \(p_{erc}\)
Update the normalized production reservoir state \(\tilde{h_p}\)
Exchange
Compute the exchange flux \(l_{exc}\)
Transfer
Split the production runoff and percolation \(p_r+p_{erc}\) into two branches (transfer and direct), \(p_{rr}\) and \(p_{rd}\)
Update the normalized transfer reservoir state \(\tilde{h_t}\)
Compute the transfer branch elemental discharge \(q_r\)
Update the normalized transfer reservoir state \(\tilde{h_t}\)
Compute the direct branch elemental discharge \(q_d\)
Compute the elemental discharge \(q_t\)
Génie Rural with 5 parameters (gr5)
This hydrological operator is derived from the GR5 model [Le Moine, 2008]. It consists in a gr4 like model structure (see diagram above) with a modified exchange flux with two parameters to account for seasonal variations.
Diagram of the gr5 like hydrological operator#
It can be expressed as follows:
with \(q_{t}\) the elemental discharge, \(P\) the precipitation, \(E\) the potential evapotranspiration, \(m_{lt}\) the melt flux from the snow operator, \(c_i\) the maximum capacity of the interception reservoir, \(c_p\) the maximum capacity of the production reservoir, \(c_t\) the maximum capacity of the transfer reservoir, \(k_{exc}\) the exchange coefficient, \(a_{exc}\) the exchange threshold, \(h_i\) the state of the interception reservoir, \(h_p\) the state of the production reservoir and \(h_t\) the state of the transfer reservoir.
Note
Linking with the forward problem equation (1)
Internal fluxes: \(\{q_{t}, m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings: \(\{P, E\}\in\boldsymbol{\mathcal{I}}\)
Parameters: \(\{c_i, c_p, c_t, k_{exc}, a_{exc}\}\in\boldsymbol{\theta}\)
Normalized states: \(\{\tilde{h_i}, \tilde{h_p}, \tilde{h_t}\}\), where \(\tilde{h_i} = \frac{h_i}{c_i}\), \(\tilde{h_p} = \frac{h_p}{c_p}\), and \(\tilde{h_t} = \frac{h_t}{c_t}\), with states \(\{h_i, h_p, h_t\} \in \boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Interception
Same as gr4 interception, see GR4 Interception.
Production
Same as gr4 production, see GR4 Production.
Exchange
Compute the exchange flux \(l_{exc}\)
Transfer
Same as gr4 transfer, see GR4 Transfer.
Génie Rural with 6 parameters (gr6)
This hydrological module is derived from the GR6 model [Michel et al., 2003, Pushpalatha et al., 2011].
Diagram of the gr6 like hydrological operator#
It can be expressed as follows:
with \(q_{t}\) the elemental discharge, \(P\) the precipitation, \(E\) the potential evapotranspiration, \(m_{lt}\) the melt flux from the snow module, \(c_i\) the maximum capacity of the interception reservoir, \(c_p\) the maximum capacity of the production reservoir, \(c_t\) the maximum capacity of the transfer reservoir, \(b_e\) controls the slope of the recession, \(k_{exc}\) the exchange coefficient, \(a_{exc}\) the exchange threshold, \(h_i\) the state of the interception reservoir, \(h_p\) the state of the production reservoir and \(h_t\) the state of the transfer reservoir, \(h_e\) the state of the exponential reservoir.
Note
Linking with the forward problem equation (1)
Internal fluxes: \(\{q_{t}, m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings: \(\{P, E\}\in\boldsymbol{\mathcal{I}}\)
Parameters: \(\{c_i, c_p, c_t, b_e, k_{exc}, a_{exc}\}\in\boldsymbol{\theta}\)
States: \(\{h_e\}\in\boldsymbol{h}\)
Normalized states: \(\{\tilde{h_i}, \tilde{h_p}, \tilde{h_t}\}\), where \(\tilde{h_i} = \frac{h_i}{c_i}\), \(\tilde{h_p} = \frac{h_p}{c_p}\), and \(\tilde{h_t} = \frac{h_t}{c_t}\), with states \(\{h_i, h_p, h_t\} \in \boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Interception
Same as gr4 interception, see GR4 Interception.
Production
Same as gr4 production, see GR4 Production.
Exchange
Same as gr5 exchange, see GR5 Exchange.
Transfer
Split the production runoff and percolation \(p_r+p_{erc}\) into three branches (transfer, exponential and direct), \(p_{rr}\), \(p_{re}\) and \(p_{rd}\)
Update the normalized transfer reservoir state \(\tilde{h_t}\)
Compute the transfer branch elemental discharge \(q_r\)
Update the normalized transfer reservoir state \(\tilde{h_t}\)
Update the exponential state \(h_e\)
Compute the exponential branch elemental discharge \(q_{e}\)
Update the exponential reservoir state \(h_e\)
Compute the direct branch elemental discharge \(q_d\)
Compute the elemental discharge \(q_t\)
Génie Rural C (grc)
This hydrological operator is derived from the GR models. It consists in a gr4 like model structure
with a second transfer reservoir.
Diagram of the grc hydrological operator#
It can be expressed as follows:
with \(q_{t}\) the elemental discharge, \(P\) the precipitation, \(E\) the potential evapotranspiration, \(m_{lt}\) the melt flux from the snow operator, \(c_i\) the maximum capacity of the interception reservoir, \(c_p\) the maximum capacity of the production reservoir, \(c_t\) the maximum capacity of the transfer reservoir, \(c_l\) the maximum capacity of the [slow-]transfer reservoir, \(k_{exc}\) the exchange coefficient, \(h_i\) the state of the interception reservoir, \(h_p\) the state of the production reservoir, \(h_t\) the state of the first transfer reservoir and \(h_l\) the state of the second transfer reservoir.
Note
Linking with the forward problem equation (1)
Internal fluxes, \(\{q_{t}, m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings, \(\{P, E\}\in\boldsymbol{\mathcal{I}}\)
Parameters, \(\{c_i, c_p, c_t, c_l, k_{exc}\}\in\boldsymbol{\theta}\)
Normalized states: \(\{\tilde{h_i}, \tilde{h_p}, \tilde{h_t}, \tilde{h_l}\}\), where \(\tilde{h_i} = \frac{h_i}{c_i}\), \(\tilde{h_p} = \frac{h_p}{c_p}\), \(\tilde{h_t} = \frac{h_t}{c_t}\), and \(\tilde{h_l} = \frac{h_l}{c_l}\), with states \(\{h_i, h_p, h_t, h_l\} \in \boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Interception
Same as gr4 interception, see GR4 Interception.
Production
Same as gr4 production, see GR4 Production.
Exchange
Same as gr4 exchange, see GR4 Exchange.
Transfer
Split the production runoff and percolation \(p_r+p_{erc}\) into three branches (first transfer, second transfer and direct), \(p_{rr}\), \(p_{rl}\) and \(p_{rd}\)
Update the normalized transfer reservoir states \(\tilde{h_t}\) and \(\tilde{h_l}\)
Compute the transfer branch elemental discharges \(q_r\) and \(q_l\)
Update the normalized transfer reservoir states \(\tilde{h_t}\) and \(\tilde{h_l}\)
Compute the direct branch elemental discharge \(q_d\)
Compute the elemental discharge \(q_t\)
Génie Rural Distribué (grd)
This hydrological operator is derived from the GR models and is a simplified structure used in Jay-Allemand et al. [2020].
Diagram of the grd hydrological operator, a simplified GR like#
It can be expressed as follows:
with \(q_{t}\) the elemental discharge, \(P\) the precipitation, \(E\) the potential evapotranspiration, \(m_{lt}\) the melt flux from the snow operator, \(c_p\) the maximum capacity of the production reservoir, \(c_t\) the maximum capacity of the transfer reservoir, \(h_p\) the state of the production reservoir and \(h_t\) the state of the transfer reservoir.
Note
Linking with the forward problem equation (1)
Internal fluxes: \(\{q_{t}, m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings: \(\{P, E\}\in\boldsymbol{\mathcal{I}}\)
Parameters: \(\{c_p, c_t\}\in\boldsymbol{\theta}\)
Normalized states: \(\{\tilde{h_p}, \tilde{h_t}\}\), where \(\tilde{h_p} = \frac{h_p}{c_p}\) and \(\tilde{h_t} = \frac{h_t}{c_t}\), with states \(\{h_p, h_t\} \in \boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Interception
Compute the interception evapotranspiration \(e_i\)
Compute the neutralized precipitation \(p_n\) and evapotranspiration \(e_n\)
Production
Same as gr4 production, see GR4 Production.
Transfer
Update the normalized transfer reservoir state \(\tilde{h_t}\)
Compute the transfer branch elemental discharge \(q_r\)
Update the normalized transfer reservoir state \(\tilde{h_t}\)
Compute the elemental discharge \(q_t\)
Génie Rural LoiEau (loieau)
This hydrological operator is derived from the GR model [Folton and Arnaud, 2020].
Diagram of the loieau like hydrological operator#
It can be expressed as follows:
with \(q_{t}\) the elemental discharge, \(P\) the precipitation, \(E\) the potential evapotranspiration, \(m_{lt}\) the melt flux from the snow operator, \(c_a\) the maximum capacity of the production reservoir, \(c_c\) the maximum capacity of the transfer reservoir, \(k_b\) the transfer coefficient, \(h_a\) the state of the production reservoir and \(h_c\) the state of the transfer reservoir.
Note
Linking with the forward problem equation (1)
Internal fluxes: \(\{q_{t}, m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings: \(\{P, E\}\in\boldsymbol{\mathcal{I}}\)
Parameters: \(\{c_a, c_c, k_b\}\in\boldsymbol{\theta}\)
Normalized states: \(\{\tilde{h_a}, \tilde{h_c}\}\), where \(\tilde{h_a} = \frac{h_a}{c_a}\) and \(\tilde{h_c} = \frac{h_c}{c_c}\), with states \(\{h_a, h_c\} \in \boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Interception
Same as grd interception, see GRD Interception.
Production
Same as gr4 production, see GR4 Production.
Note
The parameter \(c_p\) is replaced by \(c_a\) and the state \(h_p\) by \(h_a\)
Transfer
Split the production runoff and percolation \(p_r+p_{erc}\) into two branches (transfer and direct), \(p_{rr}\) and \(p_{rd}\)
Update the normalized transfer reservoir state \(\tilde{h_c}\)
Compute the transfer branch elemental discharge \(q_r\)
Update the normalized transfer reservoir state \(\tilde{h_c}\)
Compute the direct branch elemental discharge \(q_d\)
Compute the elemental discharge \(q_t\)
Génie Rural with rainfall intensity terms (gr4_ri, gr5_ri)
gr4_ri
This hydrological module is derived from the model introduced in Astagneau et al. [2022].
Diagram of the gr4_ri like hydrological operator#
It can be expressed as follows:
with \(q_{t}\) the elemental discharge, \(P\) the precipitation, \(E\) the potential evapotranspiration, \(m_{lt}\) the melt flux from the snow operator, \(c_i\) the maximum capacity of the interception reservoir, \(c_p\) the maximum capacity of the production reservoir, \(c_t\) the maximum capacity of the transfer reservoir, \(k_{exc}\) the exchange coefficient, \(h_i\) the state of the interception reservoir, \(h_p\) the state of the production reservoir and \(h_t\) the state of the transfer reservoir, \(\alpha_1\) and \(\alpha_2\) parameters controling the rainfall intensity rate respectively in time unit per \(mm\) and in \(mm\) per time unit.
Note
Linking with the forward problem equation (1)
Internal fluxes: \(\{q_{t}, m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings: \(\{P, E\}\in\boldsymbol{\mathcal{I}}\)
Parameters: \(\{c_i, c_p, c_t, \alpha_1, \alpha_2, k_{exc}\}\in\boldsymbol{\theta}\)
Normalized states: \(\{\tilde{h_i}, \tilde{h_p}, \tilde{h_t}\}\), where \(\tilde{h_i} = \frac{h_i}{c_i}\), \(\tilde{h_p} = \frac{h_p}{c_p}\), and \(\tilde{h_t} = \frac{h_t}{c_t}\), with states \(\{h_i, h_p, h_t\} \in \boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Interception
Same as gr4 interception, see GR4 Interception.
Production
In the classical GR production reservoir formulation, the instantaneous production rate is the ratio between the state and the capacity of the reservoir, \(\eta = \tilde{h_p}^2\). The infiltration flux \(p_s\) is obtained by temporal integration as follows:
Assuming the neutralized rainfall \(p_n\) constant over the current time step and thanks to analytically integrable function, the infiltration flux into the production reservoir is obtained:
To improve runoff production by a GR reservoir, even with low production level in dry condition, in the case of high rainfall intensity, in Astagneau et al. [2022] they suggest a modification of the infiltration rate \(p_s\) depending on rainfall intensity \(p_n\). Indeed, let’s consider the rainfall intensity coefficient \(\gamma\), function of weighted rainfall intensity.
with \(\alpha_1\) in time unit per \(mm\).
The expression of the instantaneous production rate changes as follows
Thus the infiltration rate becomes
We denote \(\lambda = \sqrt{1 - \gamma}\), then
Thus
Note
Note that if \(\alpha_1 = 0\), we return to the general writing of the instantaneous production rate.
Exchange
Same as gr4 exchange, see GR4 Exchange.
Transfer
In context of high rainfall intensities triggering flash flood responses, it is crucial to account for fast dynamics related to surface/hypodermic runoff
and slower responses due to delayed/deeper flows (e.g. Douinot et al. [2018]).
Following Astagneau et al. [2022] for a lumped GR model, we introduce at pixel scale in smash a function to modify the partitioning between fast
and slower transfert branches depending on rainfall intensity of the current time step only (small pixel size):
with \(\alpha_2\) in \(mm\) per time unit.
Note
If \(\alpha_2 = 0\), we return to the gr-4 writing of the transfer.
If \(\alpha_2 = \alpha_1 = 0\), it is equivalent to gr-4 structure.
gr5_ri
This hydrological module is derived from the model introduced in Astagneau et al. [2022].
Diagram of the gr5_ri like hydrological operator#
It can be expressed as follows:
with \(q_{t}\) the elemental discharge, \(P\) the precipitation, \(E\) the potential evapotranspiration, \(m_{lt}\) the melt flux from the snow operator, \(c_i\) the maximum capacity of the interception reservoir, \(c_p\) the maximum capacity of the production reservoir, \(c_t\) the maximum capacity of the transfer reservoir, \(k_{exc}\) the exchange coefficient, \(a_{exc}\) the exchange threshold, \(h_i\) the state of the interception reservoir, \(h_p\) the state of the production reservoir and \(h_t\) the state of the transfer reservoir, \(\alpha_1\) and \(\alpha_2\) parameters controling the rainfall intensity rate respectively in time unit per \(mm\) and in \(mm\) per time unit.
Note
Linking with the forward problem equation (1)
Internal fluxes: \(\{q_{t}, m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings: \(\{P, E\}\in\boldsymbol{\mathcal{I}}\)
Parameters: \(\{c_i, c_p, c_t, \alpha_1, \alpha_2, k_{exc}, a_{exc}\}\in\boldsymbol{\theta}\)
Normalized states: \(\{\tilde{h_i}, \tilde{h_p}, \tilde{h_t}\}\), where \(\tilde{h_i} = \frac{h_i}{c_i}\), \(\tilde{h_p} = \frac{h_p}{c_p}\), and \(\tilde{h_t} = \frac{h_t}{c_t}\), with states \(\{h_i, h_p, h_t\} \in \boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Interception
Same as gr4 interception, see GR4 Interception.
Production
Same as gr4_ri production, see GR4 Production.
Exchange
Same as gr5 exchange, see GR5 Exchange.
Transfer
Same as gr4_ri transfer, see GR4 Transfer.
Hybrid GR for flux correction (gr4_mlp, gr5_mlp, gr6_mlp, grc_mlp, grd_mlp, loieau_mlp)
These hydrological models are GR-like models embedded within a multilayer perceptron (MLP) to correct internal water fluxes. Such a neural network is referred to as a process-parameterization neural network. This process-parameterization neural network takes as inputs the neutralized precipitation, the neutralized potential evapotranspiration, and the model states from the previous time step, and produces the corrections of internal water fluxes as outputs:
where \(\boldsymbol{f}_{q}\) is the vector of flux corrections, \(\boldsymbol{I}_n\) is the neutralized atmospheric forcings, \(\boldsymbol{h}\) is the vector of model states, and \(\boldsymbol{\rho}\) is the parameters of the process-parameterization neural network \(\phi\).
Note
The output layer of this neural network uses a TanH activation function to map the hydrological flux corrections to the range \(]-1, 1[\).
gr4_mlp
This hydrological module is principally based on the gr4 operators, with the integration of a neural network for correcting internal water fluxes as follows:
Interception
Same as gr4 interception, see GR4 Interception.
Process-parameterization neural network
where \(p_n, e_n\) are the neutralized precipitation and potential evapotranspiration obtained from interception; \(\tilde{h_p}, \tilde{h_t}\) are the normalized states of the production and transfer reservoirs; \(f_p, f_e, f_c, f_l\) are the corrections applied to internal fluxes as follows.
Production
Similar to gr4 production, but the equations for computing infiltrating precipitation \(p_s\) and evapotranspiration \(e_s\) are updated to integrate flux corrections
Exchange
Compute the refined exchange flux
Transfer
Same as gr4 transfer except the equations of splitting the production runoff and percolation \(p_r+p_{erc}\)
gr5_mlp
This hydrological module is principally based on the gr5 operators, with the integration of a neural network for correcting internal water fluxes as follows:
Interception
Same as gr4 interception.
Process-parameterization neural network
Same as gr4_mlp process-parameterization neural network.
Production
Same as gr4_mlp production.
Exchange
Compute the refined exchange flux
Transfer
Same as gr4_mlp transfer.
gr6_mlp
This hydrological module is principally based on the gr6 operators, with the integration of a neural network for correcting internal water fluxes as follows:
Interception
Same as gr4 interception.
Process-parameterization neural network
where \(p_n, e_n\) are the neutralized precipitation and potential evapotranspiration obtained from interception; \(\tilde{h_p}, \tilde{h_t}\) are the normalized states of the production and transfer reservoirs; \(h_e\) is the state of the exponential reservoir; \(f_p, f_e, f_{c1}, f_{c2}, f_l\) are the corrections applied to internal fluxes as follows.
Production
Same as gr4_mlp production.
Exchange
Same as gr5_mlp exchange.
Transfer
Same as gr6 transfer except the equations of splitting the production runoff and percolation \(p_r+p_{erc}\)
grc_mlp
This hydrological module is principally based on the grc operators, with the integration of a neural network for correcting internal water fluxes as follows:
Interception
Same as gr4 interception.
Process-parameterization neural network
where \(p_n, e_n\) are the neutralized precipitation and potential evapotranspiration obtained from interception; \(\tilde{h_p}, \tilde{h_t}, \tilde{h_l}\) are the normalized states of the production, first transfer, and second transfer reservoirs; \(f_p, f_e, f_{c1}, f_{c2}, f_l\) are the corrections applied to internal fluxes as follows.
Production
Same as gr4_mlp production.
Exchange
Same as gr4_mlp exchange.
Transfer
Same as grc transfer except the equations of splitting the production runoff and percolation \(p_r+p_{erc}\)
grd_mlp
This hydrological module is principally based on the grd operators, with the integration of a neural network for correcting internal water fluxes as follows:
Interception
Same as grd interception.
Process-parameterization neural network
where \(p_n, e_n\) are the neutralized precipitation and potential evapotranspiration obtained from interception; \(\tilde{h_p}, \tilde{h_t}\) are the normalized states of the production and transfer reservoirs; \(f_p, f_e\) are the corrections applied to internal fluxes as follows.
Production
Same as gr4_mlp production.
Transfer
Same as grd transfer.
loieau_mlp
This hydrological module is principally based on the loieau operators, with the integration of a neural network for correcting internal water fluxes as follows:
Interception
Same as grd interception.
Process-parameterization neural network
where \(p_n, e_n\) are the neutralized precipitation and potential evapotranspiration obtained from interception; \(\tilde{h_a}, \tilde{h_c}\) are the normalized states of the production and transfer reservoirs; \(f_p, f_e, f_c\) are the corrections applied to internal fluxes as follows.
Production
Same as gr4_mlp production.
Note
The parameter \(c_p\) is replaced by \(c_a\) and the state \(h_p\) by \(h_a\)
Transfer
Same as loieau transfer except the equations of splitting the production runoff and percolation \(p_r+p_{erc}\)
Continuous state-space Génie Rural with 4 parameters (gr4_ode)
This continuous state-space representation of the GR4 model is adapted from Santos et al. [2018] for both lumped and distributed models. Instead of relying on an algebraic approach based on an analytical solution, this representation involves numerically solving the ordinary differential equations (ODEs) of the GR4 model:
where \(\alpha_1=2, \alpha_2=5, \alpha_3=3.5\) are classical GR constants (cf. Perrin et al. [2003], Santos et al. [2018]); \(p_n, e_n\) are the neutralized precipitation and potential evapotranspiration obtained from interception; \(\tilde{h_p}, \tilde{h_t}\) are the normalized states of the production and transfer reservoirs.
This ODE system is solved using an implicit Euler scheme, where the Newton-Raphson method is used to approximate the sought states with a Jacobian matrix explicitly computed.
Then, hydrological runoff flux (lateral discharge feeding the routing module) produced at the pixel scale is computed by the closure equation of the ODE system as follows:
Hybrid GR4 with neural ODEs (gr4_ode_mlp)
This hybrid continuous state-space model is embedded within an MLP into the ODEs for process-parameterization. This process-parameterization neural network takes as inputs the neutralized precipitation, the neutralized potential evapotranspiration, and the model states from the previous time step, and produces the corrections of internal water fluxes as outputs:
where \(p_n, e_n\) are the neutralized precipitation and potential evapotranspiration obtained from interception; \(\tilde{h_p}, \tilde{h_t}\) are the normalized states of the production and transfer reservoirs; \(f_p, f_e, f_t, f_l\) are the corrections applied to the ODE system as follows.
where \(\alpha_1=2, \alpha_2=5, \alpha_3=3.5\) are classical GR constants (cf. Perrin et al. [2003], Santos et al. [2018]).
Note
The output layer of this neural network uses a TanH activation function to map the hydrological flux corrections to the range \(]-1, 1[\).
The hidden layer(s) use a SiLU function, which is twice differentiable everywhere and provides smooth gradients.
This is essential because the process-parameterization network must be twice differentiable—once for solving the ODEs and once for the calibration process to ensure numerical consistency during optimization—particularly as we aim to preserve the original structure by producing outputs close to zero at the beginning of optimization.
This ODE system is solved using an implicit Euler scheme, where the Newton-Raphson method is used to approximate the sought states with a Jacobian matrix explicitly computed. The Jacobian matrix is computed using the chain rule, where the derivatives of the neural network are computed using the backpropagation algorithm.
Then, hydrological runoff flux (lateral discharge feeding the routing module) produced at the pixel scale is computed by the closure equation of the ODE system as follows:
Génie Rural with imperviousness
This imperviousness feature allows for the calculation of the impervious proportion of a pixel’s surface and takes this into account when computing infiltration and evapotranspiration fluxes applied to the GR type production reservoir.
The imperviousness coefficients \(imperv(x)\) influence the fluxes of the production reservoir of each cell by being applied to the neutralized rainfall \(p_n(x,t)\) and the evapotranspiration \(e_s(x,t)\).
The imperviousness coefficients must range between 0 and 1 and be specified through an input map that is consistent with the model grid. This map can be obtained, for example, from soil occupation processing.
For instance, if the imperviousness coefficient is close to 1, the production part receives less neutralized rainfall \(p_n\) and there is less evapotranspiration \(e_s\) from the impermeable soil.
This imperviousness accounting for the GR reservoir is applicable to GR model structures in smash. This is illustrated here on the GR4 structure.
Diagram of the gr4 hydrological operator with imperviousness, a simplified GR like model for spatialized modeling.#
Production
Compute the neutralized precipitation \(p_n\) on impermeable soil
Compute the production infiltrating precipitation \(p_s\) and evapotranspiration \(e_s\)
Variable Infiltration Curve 3 Layers (vic3l)
This hydrological operator is derived from the VIC model [Liang et al., 1994].
Diagram of the vic3l like hydrological operator#
It can be expressed as follows:
with \(q_{t}\) the elemental discharge, \(P\) the precipitation, \(E\) the potential evapotranspiration, \(m_{lt}\) the melt flux from the snow operator, \(b\) the variable infiltration curve parameter, \(c_{usl}\) the maximum capacity of the upper soil layer, \(c_{msl}\) the maximum capacity of the medium soil layer, \(c_{bsl}\) the maximum capacity of the bottom soil layer, \(k_s\) the saturated hydraulic conductivity, \(p_{bc}\) the Brooks and Corey exponent, \(d_{sm}\) the maximum velocity of baseflow, \(d_s\) the non-linear baseflow threshold maximum velocity, \(w_s\) the non-linear baseflow threshold soil moisture, \(h_{cl}\) the state of the canopy layer, \(h_{usl}\) the state of the upper soil layer, \(h_{msl}\) the state of the medium soil layer and \(h_{bsl}\) the state of the bottom soil layer.
Note
Linking with the forward problem equation (1)
Internal fluxes: \(\{q_{t}, m_{lt}\}\in\boldsymbol{q}\)
Atmospheric forcings: \(\{P, E\}\in\boldsymbol{\mathcal{I}}\)
Parameters: \(\{b, c_{usl}, c_{msl}, c_{bsl}, k_s, p_{bc}, d_{sm}, d_s, w_s\}\in\boldsymbol{\theta}\)
Normalized states: \(\{\tilde{h_{cl}}, \tilde{h_{usl}}, \tilde{h_{msl}}, \tilde{h_{bsl}}\}\), where \(\tilde{h_{cl}} = \frac{h_{cl}}{c_{usl}}\), \(\tilde{h_{usl}} = \frac{h_{usl}}{c_{usl}}\), \(\tilde{h_{msl}} = \frac{h_{msl}}{c_{msl}}\), and \(\tilde{h_{bsl}} = \frac{h_{bsl}}{c_{bsl}}\), with states \(\{h_{cl}, h_{usl}, h_{msl}, h_{bsl}\} \in \boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Canopy layer interception
Compute the canopy layer interception evapotranspiration \(e_c\)
Compute the neutralized precipitation \(p_n\) and evapotranspiration \(e_n\)
Update the normalized canopy layer interception state \(\tilde{h_{cl}}\)
Upper soil layer evapotranspiration
Compute the maximum \(i_{m}\) and the corresponding soil saturation \(i_{0}\) infiltration
Compute the upper soil layer evapotranspiration \(e_s\)
with \(\beta\), the beta function in the ARNO evapotranspiration [Todini, 1996] (Appendix A)
Update the normalized upper soil layer reservoir state \(\tilde{h_{usl}}\)
Infiltration
Compute the maximum capacity \(c_{umsl}\), the soil moisture \(w_{umsl}\) and the relative state \(h_{umsl}\) of the first two layers
Compute the maximum \(i_{m}\) and the corresponding soil saturation \(i_{0}\) infiltration
Compute the infiltration \(i\)
Distribute the infiltration \(i\) between the first two layers, \(i_{usl}\) and \(i_{msl}\)
Update the first two layers reservoir states normalized, \(\tilde{h_{usl}}\) and \(\tilde{h_{msl}}\)
Compute the runoff \(q_r\)
Drainage
Compute the soil moisture in the first two layers, \(w_{usl}\) and \(w_{msl}\)
Compute the drainage flux \(d_{umsl}\) from the upper soil layer to medium soil layer
Update the drainage flux \(d_{umsl}\) according to under and over soil layer saturation
Update the first two layers reservoir states normalized, \(\tilde{h_{usl}}\) and \(\tilde{h_{msl}}\)
Note
The same approach is performed for drainage in the medium and bottom layers. Hence the three first steps are skiped for readability and the update of the reservoir states is directly written.
Update of the normalized reservoirs states, \(\tilde{h_{msl}}\) and \(\tilde{h_{bsl}}\)
Baseflow
Compute the baseflow \(q_b\)
Update the normalized bottom soil layer reservoir state \(\tilde{h_{bsl}}\)
Routing operator \(\mathcal{M}_{hy}\)#
The following routing operators are grid-based and adapted to perform on the same grid as the snow and production operators. They take as input an 8-direction (D8) drainage plan \(\mathcal{D}_{\Omega}\left(x\right)\) obtained through terrain elevation processing.
For all the following models, the 2D flow routing problem over the spatial domain \(\Omega\) reduces to a 1D problem by using the drainage plan \(\mathcal{D}_{\Omega}\left(x\right)\). The latest, for a given cell \(x\in\Omega\) defines 1 to 7 upstream cells which surface discharge can inflow the current cell \(x\) - each cell has a unique downstream cell.
Instantaneous Routing (lag0)
This routing operator is a simple aggregation of upstream discharge to downstream following the drainage plan. It can be expressed as follows:
with \(Q\) the surface discharge, \(q_t\) the elemental discharge and \(\Omega_x\) a 2D spatial domain that corresponds to all upstream cells flowing into cell \(x\), i.e. the whole upstream catchment. Note that \(\Omega_x\) is a subset of \(\Omega\), \(\Omega_x\subset\Omega\) and for the most upstream cells, \(\Omega_x=\emptyset\).
Note
Linking with the forward problem equation (1)
Surface discharge: \(Q\)
Internal fluxes: \(\{q_{t}\}\in\boldsymbol{q}\)
The function \(f\) is resolved numerically as follows:
Upstream discharge
Compute the upstream discharge \(q_{up}\)
Surface discharge
Compute the surface discharge \(Q\)
with \(\alpha\) a conversion factor from \(mm.\Delta t^{-1}\) to \(m^3.s^{-1}\) for a single cell.
Linear Reservoir (lr)
This routing operator is using a linear reservoir to rout upstream discharge to downstream following the drainage plan. It can be expressed as follows:
with \(Q\) the surface discharge, \(q_t\) the elemental discharge, \(l_{lr}\) the routing lag time, \(h_{lr}\) the state of the routing reservoir and \(\Omega_x\) a 2D spatial domain that corresponds to all upstream cells flowing into cell \(x\). Note that \(\Omega_x\) is a subset of \(\Omega\), \(\Omega_x\subset\Omega\) and for the most upstream cells, \(\Omega_x=\emptyset\).
Note
Linking with the forward problem equation (1)
Surface discharge: \(Q\)
Internal fluxes: \(\{q_{t}\}\in\boldsymbol{q}\)
Parameters: \(\{l_{lr}\}\in\boldsymbol{\theta}\)
States: \(\{h_{lr}\}\in\boldsymbol{h}\)
The function \(f\) is resolved numerically as follows:
Upstream discharge
Same as lag0 upstream discharge, see LAG0 Upstream Discharge.
Surface discharge
Update the routing reservoir state \(h_{lr}\)
with \(\beta\) a conversion factor from \(mm.\Delta t^{-1}\) to \(m^3.s^{-1}\) for the whole upstream domain \(\Omega_x\).
Compute the routed discharge \(q_{rt}\)
Update the routing reservoir state \(h_{lr}\)
Compute the surface discharge \(Q\)
with \(\alpha\) a conversion factor from from \(mm.\Delta t^{-1}\) to \(m^3.s^{-1}\) for a single cell.
Kinematic Wave (kw)
This routing operator is based on a conceptual 1D kinematic wave model that is numerically solved with a linearized implicit numerical scheme [Chow et al., 1998]. This is applicable given the drainage plan \(\mathcal{D}_{\Omega}\left(x\right)\) that enables reducing the routing problem to 1D.
The kinematic wave model is a simplification of 1D Saint-Venant hydraulic model. First the mass equation writes:
with \(\partial_{\square}\) denoting the partial derivation either in time or space, \(A\) the cross sectional flow area, \(Q\) the flow discharge and \(q\) the lateral inflows.
Assuming that the momentum equation reduces to
with \(S_0\) the bottom slope and \(S_f\) the friction slope - i.e. a locally uniform flow with energy grade line parallel to the channel bottom. This momentum equation can be expressed in the following form, as described by Chow et al. [1998]
with \(a_{kw}\) and \(b_{kw}\) two constants to be estimated - that can also be written using Manning friction law.
Injecting the momentum parameterization of Eq. 3 into mass equation Eq. 1 leads to the following one equation kinematic wave model [Chow et al., 1998]:
The solution of this equation can written as:
with \(Q\) the surface discharge, \(q_t\) the elemental discharge, \(a_{kw}\) the alpha kinematic wave parameter, \(b_{kw}\) the beta kinematic wave parameter and \(\Omega_x\) a 2D spatial domain that corresponds to all upstream cells flowing into cell \(x\). Note that \(\Omega_x\) is a subset of \(\Omega\), \(\Omega_x\subset\Omega\) and for the most upstream cells, \(\Omega_x=\emptyset\).
Note
Linking with the forward problem equation (1)
Surface discharge: \(Q\)
Internal fluxes: \(\{q_{t}\}\in\boldsymbol{q}\)
Parameters: \(\{a_{kw}, b_{kw}\}\in\boldsymbol{\theta}\)
For the sake of clarity, the following variables are renamed for this section and the finite difference numerical scheme writing:
Before |
After |
|---|---|
\(Q(x, t)\) |
\(Q_i^j\) |
\(Q(x, t - 1)\) |
\(Q_{i}^{j-1}\) |
\(q_t(x, t)\) |
\(q_{i}^{j}\) |
\(q_t(x, t - 1)\) |
\(q_{i}^{j-1}\) |
The function \(f\) is resolved numerically as follows:
Upstream discharge
Same as lag0 upstream discharge, see LAG0 Upstream Discharge.
Note
\(q_{up}\) is denoted here \(Q_{i-1}^{j}\)
Surface discharge
Compute the intermediate variables \(d_1\) and \(d_2\)
Compute the intermediate variables \(n_1\), \(n_2\) and \(n_3\)
Compute the surface discharge \(Q_i^j\)