1 Introduction

Large areas around the world are prone to floods due to various factors such as high percentage of impervious surface, receiving intensive rainfall and having steep slopes (Berz et al. 2001; Barredo 2007; Hapuarachchi et al. 2011). This type of hazards often occurs within a short time interval under conditions of a combination of heavy rainfall or rapid snowmelt and high soil water content. Flash floods may also happen as a result of human-related activities such as dam failures. Global assessment of the loss of human life has shown that flash floods cause the highest rate of mortality per event (Jonkman 2005). Due to the importance of threats of floods for communities, the hydrological aspects of flood forecasting have been intensively studied in the past decades based on the advances in the underlying laws of hydrological systems (HS). Sherman (1932) developed the unit hydrograph concept to estimate the hydrological response to rainfall. Horton (1933) introduced the infiltration theory for modelling rainfall excess. After their work, new advances in computational methods and observation capabilities kept flash floods and flood modelling on the research agenda (Costa 1987; Jarrett 1987; Brath and Rosso 1993; Yates et al. 2001; Ferraris et al. 2002; Foody et al. 2004; Gaume et al. 2004; Anquetin et al. 2005; Mariani et al. 2005; Amengual et al. 2007; Reed et al. 2007; Norbiato et al. 2007; Borga et al. 2007; Blöschl et al. 2008; Ruiz-Villanueva et al. 2010).

It is difficult to find a clear difference between an ordinary flood and a flash flood (Georgakakos 1986), but flash floods exhibit particular behaviour. According to Anquetin et al. (2010), flood dynamics are characterized by two phases: the first mainly controlled by rainfall variability and the second, controlled by soil properties. Hence, rain and terrain are among the most influential factors in causing extreme floods. As an example, Marchi et al. (2010) stressed the importance of accounting soil water storage and its impact on runoff coefficients.

Attempts have been made to schematize HS behaviour by analogy with electrical systems (ES) (Chow 1964). Analogy serves as a logical base for having a better insight into the internal processes of two corresponding systems. The similarities between ES and HS lead to a direct correspondence between flood flows and the elements of the electrical circuit (Shen 1965). As the differential equations describing HS and ES have a similar form, similar responses can be expected. The volumetric discharge in HS shows a similar behaviour to the current in ES (Cannon 1967). There is also an analogy between voltage and the head of water (hydraulic potential).

These similarities reflect why different studies have been focused on the analogy between mathematical descriptions of different dynamic systems, e.g. electro-magnetic, electro-mechanic and electro-hydraulic (Kundzewicz 1987). Stark and Stark (2001) used a network of nonlinear resistors and capacitors to describe a spatial channelization model for soil erosion assessment. Collier (1998)introduced a lumped river electrical water analogue research and development (REWARD) model based upon an interpretation of inductance–capacitance–resistance circuits in terms of catchment parameters and physical processes. The advantage of choosing physically meaningful parameters for modelling is that calibration requirements of models can be reduced accordingly (Garrote and Bras 1995). A number of studies have performed laboratory analogue experiments for rainfall-runoff modelling. Laboratory simulations by Nourani et al. (2007) employed the Liquid Analogy Model (LAM) based on the continuity equation for flow and Darcy’s law. LAM was proposed as an educational instrument, but it was tested for a real storm event as well (Nourani and Monadjemi 2006; Nourani et al. 2007). Recently, LAM has been applied for distributed modelling of seepage phenomena under dams and embankments (Nourani et al. 2014a, b).

Figure 1 demonstrates how water balance components are represented as electrical resistance–capacitance (RC) circuits. Every component can be decomposed into a number of equivalent electrical resistance–capacitance circuits, representing hydrological processes. In this approach, each pixel of a gridded map is represented by an electrical circuit with five RC circuits.

Fig. 1
figure 1

Electrical circuit concept of a pixel. RCx is a resistor–capacitor

The capacitor stores electrical charge and thus stores energy like water is stored in a reservoir. The maximum capacitance of a capacitor is the amount of charge (\(q\)) stored at a known voltage across two sides and measured as a farad (F), which equals to the charge in coulombs that it takes the potential across the capacitor to change 1 V (Eq. 3 in Table 1). Mathematically, the relation between stored electrical energy and voltage is given by Eq. 4 in Table 1. The sum of the voltage of the capacitor \((V_{\text{C}} )\) and resistor \((V_{\text{R}} )\) is the battery voltage \((V_{\text{B}} )\):

Table 1 Physical relationship for RC circuit quantities
$$V_{\text{B}} = V_{\text{R}} + V_{\text{C}}$$
(6)

This can be expressed in terms of the charge

$$V_{\text{B}} = \frac{{{\text{d}}q}}{{{\text{d}}t}}R + \frac{q}{C}$$
(7)

when \(t = 0\) and \(V_{\text{B}} = 0\) the charge \(q\left( t \right)\) at time t will be

$$q(t) = q_{\hbox{max} } \left( {1 - {\text{e}}^{{\frac{t}{\text{RC}}}} } \right)$$
(8)

where \(q_{ \hbox{max} }\) is the maximum charge on the capacitor. RC is the circuit’s time constant (RC no. 5 Figure 1a) (min). As demonstrated in Fig. 2, this equation is analogous to the equation describing a single linear reservoir (Pedersen et al. 1980):

$$R_{\text{D}} = {\text{Pe}}\left( {1 - {\text{e}}^{{ - \frac{t}{tl}}} } \right)$$
(9)

where \(R_{\text{D}}\) is runoff depth (mm), \({\text{Pe}}\) is excess rainfall (\({\text{mm}}\)) at time \(t(\hbox{min} )\), \(tl (\hbox{min} )\) is the storage lag time of the catchment, and hence, it is equivalent to RC in Eq. 8. If \(Q^{ *}\) is the discharge when rainfall excess stops (m3/s), the equation for the falling limb will be:

Fig. 2
figure 2

Hydrograph due to a pulse of instantaneous input (upper figure). The behaviour is similar to the RC circuit’s response to an electrical pulse (lower picture)

$$Q\left( t \right) = Q^{*} {\text{e}}^{{ - \frac{t}{tl}}}$$
(10)

Our work aims at a methodological analogy with parameters that are meaningful in both HS/ES. We develop a spatially distributed form of the electrical analogy model as was suggested by Collier (1998). In areas with high spatial variability of hydrological parameters, lumped flood modelling is difficult (Laraque et al. 2007). In such cases, spatially distributed modelling can capture better the spatial variability of hydrological parameters that influence (flash) floods. The objective of this paper is to implement and test a novel approach for the HS/ES analogy as main element of a new spatially distributed open-source model ‘Rain and Snow Accumulation Model’ (RASAM).

2 Methods

2.1 Structure of the model

The model applies a grid approach to simulate the spatial distribution of interception, evapotranspiration, infiltration and surface runoff (Fig. 3). Input fluxes for each cell are assumed to generate an independent response function similar to its corresponding RC circuit (Fig. 1). Based on the HS-ES analogy, shape and scale parameters of Weibull are used to describe the exponential equations of hydrological processes (Table 2). The parameters are associated with rainfall and physical properties of the pixel, but shape parameter may also be influenced by the length of the flow path. To obtain the overall response, the response functions for all contributed time areas (isochronal map) are combined. It is possible to simplify Fig. 1 into a single RC. To find out whether selecting multi-circuit versus single structure improves the simulations or not, we applied both versions on a simplified topography. The single RC considers the pixel area as an RC circuit, while the second structure with multi-circuit (as part of RASAM) subdivides the system into five hydrological components (Fig. 1a). In RASAM, the water balance at the pixel scale is formulated as:

$$\frac{\Delta S}{P} = 1 - \frac{1}{P}\left( {f_{1} \left( {{\text{RC}}_{1} } \right) + f_{2} \left( {{\text{RC}}_{2} } \right) + f_{3} \left( {{\text{RC}}_{3} } \right) + f_{4} \left( {{\text{RC}}_{4} } \right) + f_{5} \left( {{\text{RC}}_{5} } \right)} \right)$$
(11)

where \(\Delta S\) is change in soil moisture (mm), \(P\) is precipitation (mm), the other terms are a function of the corresponding circuits (\(f_{1}\)\(f_{5}\)) for evapotranspiration (\({\text{RC}}_{1}\)), interception (\({\text{RC}}_{2}\)), groundwater (\({\text{RC}}_{3}\)), infiltration (\({\text{RC}}_{4}\)) and surface runoff (\({\text{RC}}_{5}\)) (Fig. 1a).

Fig. 3
figure 3

Flow chart of the model structure (coloured boxes indicate inputs and the box with the double border represents the model output)

Table 2 Exponential form of water balance components in hydrological systems

And

$$\left\{ {\begin{array}{*{20}l} {P = F_{\text{c}} + {\text{AET}} + {\text{SR}} + {\text{Intc}}} \hfill \\ {\Delta S = F_{\text{c}} - {\text{IF}} - ({\text{BF}} + {\text{GWR}})} \hfill \\ \end{array} } \right.$$
(12)

where \(F_{\text{c}}\) denotes effective infiltration (mm), \({\text{SR}}\) is surface runoff (mm), \({\text{Intc}}\) is interception (mm) and \({\text{AET }}\) is actual evapotranspiration (mm),\({\text{IF}}\) is interflow (mm), \({\text{GWR}}\) and \({\text{BF}}\) are groundwater inflow \(({\text{mm}})\) and outflow (baseflow) \(({\text{mm}})\), respectively.

2.1.1 Interception

The interception [\({\text{Intc}}\) (mm)] component is expressed (Eq. 15 in Table 2) by Aston’s model (1979) which uses a dimensionless leaf area index (LAI), and it also takes the exponential relation with storage into account. \(k_{\text{C}}\) in Eq. 15 is a parameter that determines the fraction of rainfall which falls on the canopy, it has a linear relationship with the leaf area index (De Jong and Jetten 2007):

$$k_{\text{C}} = 0.065\;{\text{LAI}}$$
(13)

The maximum canopy storage capacity \(({\text{SI}}_{ \hbox{max} } )\) (Eq. 15 in Table 2) is estimated from \({\text{LAI}}\) (Von Hoyningen-Huene 1981; de Jong and Jetten 2007):

$${\text{SI}}_{ \hbox{max} } = 0.935 + \left( {0.498*{\text{LAI}}} \right) - \left( {0.00575*{\text{LAI}}^{2} } \right)$$
(14)

2.1.2 Evaporation

RASAM considers pan evaporation as Potential evapotranspiration (\({\text{ET}}\)). In case of water limitation, \({\text{ET}}\) can be simulated using a simplified version of the Penman–Monteith formula based on a combination of an energy balance with a mass transfer method (Valiantzas 2006). Depending on the ratio between precipitation (\(P\)) and evaporation, \({\text{ET}}\) is actualized as \({\text{AET}}\) using equation Eq. 18.

2.1.3 Infiltration

Infiltration (Eq. 17 in Table 2) is calculated by a combined Horton-SCS scheme (Gabellani et al. 2008). Infiltration rate at the beginning of rainfall is high, but it decreases over time exponentially (Horton 1933). The potential maximum soil retention (\(S_{\text{p}} \,({\text{mm}})\)) represents infiltration occurring after runoff. The model uses an empirical potential maximum storage formulation (SCS 1985):

$$S_{\text{p}} = \frac{25400}{\text{CN}} - 254$$
(20)

where CN is the NRCS (US Department of Agriculture, Natural Resources Conservation Service, formerly known as the Soil Conservation Service) curve number.

2.1.4 Surface runoff component

Surface runoff is formulated (Eq. 16 in Table 2) based on Pedersen et al. (1980) and is calculated under the condition that if the net rainfall rate exceeds the infiltration rate, runoff will be initiated. For simplification, the total losses (in view of surface runoff processes) can be summed up in a new parameter \(\varphi \,({\text{mm}}/{\text{h}})\).

$$\varphi = F_{\text{c}} + {\text{Intc}} + {\text{AET}}$$
(21)

This threshold acts as a switch for rainfall events that result in runoff. \(F_{\text{c}}\) is effective infiltration (mm/h), \({\text{Intc}}\) and \({\text{AET}}\) are, respectively, hourly interception rate \(({\text{mm}}/{\text{h}})\) and actual evapotranspiration \(({\text{mm}}/{\text{h}})\). The starting time of excess rainfall is controlled by \(\varphi\). The lag time for each pixel is the difference between the centre of mass of rainfall excess and direct runoff. Melesse et al. (2007) showed that the travel time through a pixel (\(tl_{\text{c}}\)) in minutes is given as:

$$tl_{\text{c}} = 7\left( {\frac{n \times L}{{I_{\text{in}}^{{\frac{2}{3}}} S_{l}^{{\frac{1}{2}}} }}} \right)^{{\frac{3}{5}}} = \frac{{7 \times n^{0.6} L^{0.6} }}{{I_{\text{in}}^{0.4} S_{l}^{0.3} }}$$
(22)
$$I_{\text{in}} = \left( {i - \varphi } \right)$$
(23)

\(n\) is Manning’s roughness coefficient,\(L\) length of flow path (\({\text{m}}\)), \(S_{\text{l}}\) average overland flow path slope (m/m), \(I_{\text{in}}\) Hortonian direct rainfall (mm/h), \(i\) rainfall intensity (mm/h) and \(\varphi\) expressed in the same unit as intensity \(i > \varphi\). The required time until the whole catchment contributes to runoff is the time of concentration which is assumed here to be equal to the time to peak flow. For a uniform intensity of \(I_{\text{in}} ({\text{mm}}/{\text{h}})\) as rainfall excess, the peak flow [q p (m3/s)] is calculated as (adopted from Pedersen et al. 1980):

$$q_{\text{p}} = 2.78 \times 10^{ - 7} \times C_{\text{R}} A_{\text{c}} I_{\text{in}} \left[ {1 - \exp \left( { - \frac{{t_{\text{r}} }}{{t_{\text{l}} }}} \right)} \right]$$
(24)

where \(C_{\text{R}}\) is runoff coefficient, \(A_{\text{c}}\) is the contributing area to runoff generation \(({\text{m}}^{2} )\), \(t_{\text{r}}\) is duration of storm \((\hbox{min} )\) and \(t_{\text{l}}\) is lag time of the cell \((\hbox{min} )\), respectively.

2.1.5 Interflow

RASAM conceptualizes the soil profile in three layers. The first layer is a surface layer of 5 cm thickness, all infiltration processes occur in this layer. The second layer with 25 cm thickness is the layer in which interflow is conceptualized. The main reason for this simplification is related to the fact that most of the daily soil water dynamics occurs in the first 25–30 cm of the soil profile (Rawlins et al. 2013). The deepest layer is the groundwater zone. The behaviour of the lateral movement of water in the second layer is considered as irrigated surface water that returns again to surface runoff with lower velocity. To model interflow, a dimensionless drainage characteristic \((k_{\text{in}} )\) (Sheikh et al. 2009) was defined based on saturated hydraulic conductivity [K sat (mm/day)]:

$$k_{\text{in}} = 0.0866\,{\text{e}}^{{0.8063 { \log }_{10} K_{\text{sat}} }} \quad 0 < k_{\text{in}} < 1$$
(25)

The coefficient is used as a proportional factor for the lag time in the formulation of interflow (Eq. 19 in Table 2).

2.1.6 Response functions

The Weibull equation (Weibull 1951) was used to sum charging and discharging phases of the RC circuits over time. This equation is selected because of its closeness to the distribution of electrical RC response (Agarwal et al. 2003; Liu et al. 2002), and because the density function of the Weibull distribution can be directly translated into the response of the pixels. Table 3 shows a summary of the most important properties of the Weibull distribution. The Weibull distribution has a flexible density function with two parameters (in addition to time). The scale parameter (\(\hat{a}\)) determines shrinking and widening of the shape of hydrograph by changing the range of the distribution. The Weibull shape parameter \(\hat{b}\) is responsible for the shape of the response function as illustrated by Fig. 4. The Weibull distribution has been widely used in hydrology (Bhunya et al. 2007; Pramanik et al. 2010; Rai et al. 2009). Since the basis of this methodology was founded on the electro-hydraulic analogy, our current implementation differs from previous studies. It can be noticed that for an area of one square kilometre, the runoff coefficient equals to one, a time to peak of an hour and an intensity of rainfall of 5 mm per hour, the NRCS hydrograph corresponds to \(\hat{a} = 78\) (min) and \(\hat{b} = 2.4\) in formulation for Weibull distribution (Fig. 4(Right)).

Table 3 Summary of some properties of the Weibull distribution
Fig. 4
figure 4

Left Effect of the shape parameter \(\hat{b}\) on the dimensionless hydrograph. Right Comparison of NRCS unit hydrograph (UH) (full line) with derived unit hydrograph using Weibull distribution (dashed line)

Combining Eqs. 32 and 33 yields the dimensionless Weibull distribution as

$$\frac{q\left( t \right)}{{q_{\text{p}} }} = \left( {\frac{t}{{t_{\text{p}} }}} \right)^{{\hat{b} - 1}} \exp \left[ {\left( {1 - \frac{1}{{\hat{b}}}} \right)\left( {1 - \left( {\frac{t}{{t_{\text{p}} }}} \right)^{{\hat{b}}} } \right)} \right]$$
(26)

which does not require scale parameter. A non-dimensional parameter \(\beta\) is defined as the inverse product of \(q_{\text{p}}\) and \(t_{\text{p}}\):

$$\hat{\beta } = t_{\text{p}} \times q_{\text{p}} = \left( {\hat{b} - 1} \right)\exp \left[ {\left( {\frac{1}{{\hat{b}}} - 1} \right)} \right]$$
(27)

After taking the natural logarithm of both sides, one obtains:

$$\hat{b} = \frac{1}{{\ln \left[ {\frac{{\hat{\beta }}}{{\hat{b} - 1}}} \right] + 1}}$$
(28)

The catchment scale analysis of Rai et al. (2009) on 13 different sized catchments having different climate and physiographic characteristics showed that the shape parameter \(\hat{b}\) varies from 0.99 to 2.54.

Bhunya et al. (2007) suggested a trial-and-error procedure to estimate the shape parameter. Considering the computational time needed for spatial parameter estimation, a nonlinear regression (on pair shape parameters that produces an area under curve equal to one) has been adapted to estimate the shape parameter (\(r^{2} = 0.99\)):

$$\hat{b} = \left( {\hat{\alpha } \hat{\beta } + 1} \right)^{2}$$
(37)

\(\hat{\alpha }\) depends on the pixel size and average properties of catchment. This parameter is considered to be the same for all pixels. The actual value for gauged catchments can be obtained through calibration. Substitution of \(b\) in time of peak gives the initial scale parameter (\(a\)):

$$\hat{\alpha } = \frac{{t_{\text{p}} }}{{\left( {1 - \frac{1}{{\hat{b}}}} \right)^{{\frac{1}{{\hat{b}}}}} }}$$
(38)

2.1.7 Streamflow

Streamflow is calculated as the volumetric sum of baseflow and surface runoff. The effect of the flow path is applied by changing the parameter \(\lambda\) which synthetically accounts for the effects of flow path routing on the shape parameter. By using \(\lambda\) parameter, the initial shape parameter \(b_{1}\) is transformed into a new modified shape parameter:

$$\hat{b}_{2} = \lambda \hat{b}_{1}$$
(39)

where \(b_{2}\) is the modified shape parameter. To calculate the new parameter after this change, the mean (first moment) of the initial response and routed function must be equal.

$$\hat{a}_{1} \varGamma \left( {1 + \frac{1}{{\hat{b}_{1} }}} \right) = \hat{a}_{2} \varGamma \left( {1 + \frac{1}{{\hat{b}_{2} }}} \right)$$
(40)

\(a_{1}\) is the initial scale parameter and \(a_{2}\) is the new scale parameter. The gamma function can be simplified as

$$\varGamma \left( {1 + \delta } \right) \approx \sqrt {2\pi } {\text{e}}^{ - \delta } \delta^{{\delta + \frac{1}{2}}}$$
(41)

by considering \(\theta + \frac{1}{2} \approx 1\) (Abramowitz and Stegun 1972). Hence

$$\varGamma \left( {1 + \frac{1}{{\hat{b}_{1} }}} \right) \approx \frac{1}{{\hat{b}_{1} }}\sqrt {2\pi } \times \exp \left( { - \frac{1}{{\hat{b}_{1} }}} \right)$$
(42)

\(\delta\) is a reciprocal for the shape factor \(\left( {\frac{1}{{\hat{b}}}} \right)\) and π is the Archimedes constant. To ensemble the cell runoff transfer, a cell to outlet superposition algorithm is used to generate the unit response of the catchment. Volumetric inflow to each cell (m3) can be calculated as

$$V_{\text{f}} = 0.001 \times A_{\text{p}} \times P_{\text{e}}$$
(43)

\(A_{\text{p}}\) is the pixel area (m2) and is \(P_{\text{e}}\) rainfall depth (mm). A composite hydrograph is constructed in such a way that the total volume of flood (\(V_{{{\text{t}}_{1} ,{\text{t}}_{2} }}\)) at each time interval equals the sum of the areas under the curve. For known \(a\) and \(b\), volume \(V_{{{\text{t}}1,{\text{t}}2}}\) is given by

$$V_{{{\text{t}}_{1} ,{\text{t}}_{2} }} = \frac{{V_{\text{f}} }}{{{ \exp }\left( {\left( {\frac{{t_{1} }}{a}} \right)^{b} } \right)}} - \frac{{V_{\text{f}} }}{{{ \exp }\left( {\left( {\frac{{t_{2} }}{a}} \right)^{b} } \right)}}$$
(44)

The contribution of groundwater to baseflow is obtained from following equation (Wang et al. 2011; Willems 2009),

$$q_{{{\text{bg}}\left( t \right)}} = q_{{{\text{bg}}\left( {t - 1} \right)}} { \exp }\left( { - \frac{t}{{60 \times {\text{RC}}_{3} }}} \right) + R_{g\left( t \right)} \left( {1 - { \exp }\left( { - \frac{t}{{60 \times {\text{RC}}_{3} }}} \right)} \right)$$
(45)

where \(q_{{{\text{bg}}\left( t \right)}}\) is groundwater baseflow (m3/s), \(q_{{{\text{bg}}\left( {t - 1} \right)}}\) is groundwater baseflow at the previous time step (m3/s), \(R_{g\left( t \right)}\) is the infiltrated water that contributes to baseflow (m3/s) and \({\text{RC}}_{3}\) is the groundwater recession time (h).

The model was tested for two different types of applications. As a first case, the developed model is applied to the Open-Book catchment. The second application is for a mountainous catchment with more complex hydrological processes.

2.2 Applications

2.2.1 Open-Book catchment

The first application of the RASAM model is carried out using a benchmark problem for runoff modelling called the two-dimensional ‘Open-Book (V-Shaped) catchment’ (Di Giammarco et al. 1996) (Fig. 5). A hypothetical event with an 1.5-h duration has been simulated for a storm with an intensity of 10.8 mm/h using a 2 min time step. Manning’s coefficient is 0.15 for both planes and 0.015 (in SI units) for the stream channel. Resolution of the grid is 10 m by 10 m. The surface of both rectangular sides and the middle channel are impervious.

Fig. 5
figure 5

Geometry and shape of the classical symmetrical Open-Book catchment

2.2.2 Upper Tarqui catchment

The dataset for the second case study was collected from the Cumbe and Portete stations (Table 4) in the upper Tarqui Catchment in Ecuador (Fig. 6). The stations are representative for a catchment with an area of 202.3 km2. The upper Tarqui catchment is part of the Paute River catchment, an Andean mountain catchment situated in the southern part of Ecuador, physically characterized by steep slopes, high variability of altitude, rainfall and temperature (Celleri et al. 2007). As the majority of the Andean catchments in Ecuador, the upper Tarqui Catchment is susceptible to the occurrence of flash floods as a result of the presence of steep slopes and permanently saturated soils located over 3500 m above sea level (asl) (Fig. 7).

Table 4 Characteristics of rainfall and discharge stations in the Upper Tarqui Catchment
Fig. 6
figure 6

Topography of the upper Tarqui catchment

Fig. 7
figure 7

Potential runoff coefficient and influencing factors for the Upper Tarqui catchment

3 Results

3.1 Applications

The results for the Open-Book catchment are presented in Fig. 8. The model results are compared with three hydrological models including HydroGeoSphere (Aquanty Inc. 2013), CVFEM (Di Giammarco et al. 1996), IFDM (Di Giammarco et al. 1996) and an analytical solution (Shen and Phanikumar 2010). Results of the implementation in the Open-Book catchment (all last three methods are very similar but an analytical solution is selected as reference) show that consideration of the lag time of the upstream catchment has improved the performance of the model (Table 5; Fig. 8). The volume and peak of the hydrograph are captured by the model, but both scenarios show an early falling limb. The shape of the simulated hydrographs is in agreement with the other hydrological models (Fig. 8).

Fig. 8
figure 8

The RASAM simulation for the Open-Book catchment event of a 1.5-h rainfall, good agreement is shown with other hydrological models: CVFEM (Di Giammarco et al. 1996), HydroGeoSphere (Aquanty Inc. 2013), IFDM (Di Giammarco et al. 1996) and the analytical solution (Shen and Phanikumar 2010)

Table 5 Efficiency criteria (coefficient of determination \(r^{2}\) and Nash–Sutcliffe \({\text{EC}}_{\text{NS}}\)) for Open-Book catchment simulations

Figures 9, 10, 11 and 12 show the results of application of the model on four flood events in the upper Tarqui catchment. In response to rainfall most of the events have multiple peaks. The simulations capture the smaller peaks, but the model performs poorly in capturing the highest peaks. A direct correspondence to rainfall can be seen from the simulated graphs.

Fig. 9
figure 9

Observed and simulated hydrographs for the upper Tarqui River, Ecuador for the event of 6 August 2001

Fig. 10
figure 10

Observed and simulated hydrographs for the upper Tarqui River, Ecuador for the event of 19 February 2008

Fig. 11
figure 11

Observed and simulated hydrographs for the upper Tarqui River, Ecuador for the event of 18 June 2010

Fig. 12
figure 12

Observed and simulated hydrographs of Upper Tarqui River, Ecuador for the event of 25 March 2011

The event of 6 August 2001 (Fig. 9) is a case with peak underestimation. The response of the observed event was very fast and steep after the measured rainfall. While simultaneous peaks occur during flash flood responses, RASAM shows reaction to the observed rainfall. Event 19 February 2008 (Fig. 10) shows a good similarity during most part of the hydrograph except for the second peak. The behaviour of the event of June 2010 seems similar to the event of 6 August 2001 (Fig. 11). For the event of 25 March 2011 (Fig. 12), the rising limb of the hydrograph has been captured by the model but the falling limb was overestimated.

The resulting hydrographs for both applications were compared with analytical solutions (for Open-Book catchment) and observed streamflows of the upper Tarqui River (Fig. 13). The coefficient of determination (\(\varvec{r}^{2}\)) and the Nash–Sutcliffe Efficiency (\(\varvec{EC}_{{\varvec{NS}}} )\) (Nash and Sutcliffe 1979) for the events of the upper Tarqui River catchment are presented in Table 6. The period of 8/1/2009–4/3/2012 was chosen as validation period with a daily time step (\(\varvec{EC}_{{\varvec{NS}}} = 0.60\)).

Fig. 13
figure 13

Rainfall, observed and simulated discharge for Upper Tarqui River, Ecuador for the period 28/05/1998–04/08/1999

Table 6 Efficiency criteria (coefficient of determination \(r^{2}\) and Nash–Sutcliffe \({\text{EC}}_{\text{NS}}\)) for hourly and daily simulations

3.2 Sensitivity analysis

To identify the sensitive parameters and have a better insight in the effect of change in inputs on the outputs, a sensitivity analysis was performed (Table 7). The procedure was done by systematically changing the parameters by \(\pm 10\,\%\) (Jain and Singh 2005). The sensitivity analysis shows that the most sensitive parameter of the model is the shape parameter. The sensitivity of the shape parameter in the region near to one (such as 1.02) is high so that small changes in the shape parameter results in sharp changes in the form of the hydrograph.

Table 7 Sensitivity of the RASAM model to various inputs

Given that the shape factor itself is a function of time to peak and peak discharge of the pixel (Eq. 35), the parameter is time and space dependent. On the other hand, both time to peak and peak flow are related to lag time hence dependency on intensity is expected. To demonstrate the impact of intensity of rain on the model responses, four different rainfall intensities are presented in Fig. 14. Simulated runoff directly responds to increment of the intensity. Overall, the model is not very sensitive to rainfall intensity.

Fig. 14
figure 14

Simulated response of the Open-Book catchment to different rainfall intensities

4 Discussion

Previous studies have demonstrated that the functional similarity between ES and HS could be used as a tool for flood modelling (Collier 1998). This work presents a framework that describes how the operation of hydrological components can be assessed with resistance–capacitance circuits in a spatially distributed way. Here, we discuss the two applications of the model. The first test was performed on the benchmark Open-Book catchment for single and multiple resistance–capacitance circuits. As expected, the multiple resistance–capacitance implementations provide better performance than a single resistance–capacitance implementation. In general, behaviour of the multi-resistance–capacitance model to the input impulse catchment is similar to other hydrological models (Fig. 8). Considering the Open-Book catchment as a single resistance–capacitance, one can state that the time to peak of the hydrograph is around five times as big as the time constant of the corresponding resistance–capacitance (Fig. 1a). The timing characteristics (time to peak and lag time) of the catchment are directly responsible for the rising limb of the hydrograph at the outlet of the Open-Book catchment. The study shows that with a uniform unit of rainfall, before the lag time the catchment stores water on its surface. The gradient of the falling limb of the hydrograph depends on the amount of this storage.

Because the Open-Book catchment has an impervious surface, there is no baseflow component involved in this model concept. With this same set-up, the model was able to capture the peak, but for the second application for the upper Tarqui catchment, the peaks were underestimated. Particularly, the occurrence of the multi-peak events was not captured well. Since discharge simulation depends on various factors such as slope, pathway length, Manning’s coefficient, losses, intensity and infiltration rates, it is difficult to single out the reason for under performance. But producing a better simulation in the absence of sub-surface processes might be a sign of soil storage processes. It seems there exists a maximum value for storage in the system, which has an important impact on the peak flow, after this threshold flow reaches an equilibrium limit. Earlier studies have reported the impact of antecedent soil moisture on flood generation. Also it can be expected due to the higher complexity of the system that the performance of the simulations for the upper Tarqui catchment is lower than the Open-Book catchment. The steep slopes and high potential runoff coefficients (Fig. 7a) of this catchment lead to a fast basin response. A combination of a shallow soil with high water retention capacity and the presence of steep slopes in the studied catchment may explain the existence of multiple peaks and flash floods in the catchment. The soil moisture conditions seem to be crucial for appropriate estimation of discharge during high flood events. For those events occurring at the beginning of the rainy season, the estimation of peaks seems better than other events for which the soil moisture was higher. Poor performance in the second peak of the hydrograph can be linked with the soil water storage. Since the model uses the shape parameter for calibration, another possible reason for low performance in simulation of the multiple peaks can be related to the fact that if a hydrograph has a second or third peak it is difficult to fit a shape parameter on the observed data. Referring to the analogy, the pattern of charging and discharging might be responsible for the sharpness of the catchment response (e.g. May 1998 in Fig. 13). Under the condition that soil storage is fully charged, infiltration reaches its minimal rate. It is also likely that the charged storage contributes to outflow.

Recently Guzman et al. (2015) showed that subsurface hydrological processes in the Tarqui basin are related to releasing stored water in the soils, especially in the Paramos, a predominant ecosystem at high elevations with grassland coverage. Despite the diversity of geological formations and significant changes in the topography, the soils in Paramos are quite homogeneous (Buytaert et al. 2006). This landscape is characterized by high water retention and saturated hydraulic conductivity (Guzman et al. 2015). The existence of such extensive storage capacity is important for interflow processes in the catchment. RASAM uses a simplified interflow that depends on the saturated hydraulic conductivity. In addition to the above-mentioned reasons for mismatch between the simulated results and observed discharges, uncertainties in the model structure and input data should be taken into account. Another reason for the underestimation of discharge might be related to the spatial variability of rainfall and its representation in the model. Due to the limited number of available rain gauge stations in the upper Tarqui catchment, the Thiessen polygons method was used for weighting the distribution of rainfall in the catchment. The two used rainfall stations are likely to not fully be representative for the spatial variability of rainfall; the average rainfall might have led to underestimation of discharge, especially when highly intensive rainfall events are not evenly distributed within the catchment.

The Weibull distribution has proven to be a useful tool for modelling the flood hydrograph. This is in line with Pramanik et al. (2010) who used probability density functions of the Weibull distribution to estimate discharge. One advantage of this formulation is the availability of the area under the Weibull curve (Eq. 43), which allows calculation of the discharge at a specific time. The shape and scale parameters make it flexible for parameterization.

5 Conclusion

A new spatially distributed model based on electric circuit analogy is introduced for flood modelling. The governing equations for water balance components at pixel scale are described using exponential functions expressing the similarity with ES and the nonlinearity of the system. Because of the strong similarity, the electrical principles are applicable in hydrological equivalents, but modification is required to translate the problem and simplify the complexity of modelling. To simulate the dynamic nature of floods, cells of a raster grid are modelled through the analogy of equivalent RC circuits. By borrowing the theory from electrical science, RASAM simplifies the cell response to a pair of shape and scale parameters of the Weibull distribution. The watershed scale analysis of Rai et al. (2009) on different watersheds having different size, climate and physiographic characteristics showed that shape parameter varies from 0.99 to 2.54. The higher shape factor produces sharper hydrograph. The scale parameter is responsible for time to peak. It can be noticed that under a certain conditions, the formulated approach corresponds to the NRCS dimensionless unit hydrograph, while the rising curve was slightly earlier and falling limb occurrence was faster. An advantage the dimensionless technique is the shape of the output hydrograph can be calibrated easily.

For the second application, the model is tested in the upper Tarqui watershed (Ecuador) against observed hydrographs. Using a dimensionless Weibull hydrograph, a synthetic hydrograph of each cell was constructed which resulted in the response function of the catchment. The derived hydrograph shows that the model is able to reproduce flood hydrographs. The simulated hydrographs show an early start compared to the observations, but by taking the effect of lag time into account simulations have been improved.

The model approach exploits the dualism between a hydrological system and the analogue electrical network. From the two applications, we can conclude that the analogy sheds light on the simplification of the water balance at pixel level by representing hydrological processes as RC circuits. An advantage of the presented methodology is that it allows splitting and representing catchment scale hydrological processes into smaller meaningful components. On the other hand, it has the capability to simulate the functionality of basin-scale systems by interrelating between hydrological components. For future work, it is recommended to perform an extensive model comparison and evaluation study to compare RASAM model results with results from other hydrological models for hydrologically different real basins.