Model perspective
In hydrodynamics field, flood propagation is governed by the Saint-Venant equations, which are represented by the continuity equation and the momentum conservation equation simplified and formulated in one dimension (1D) as;
Where,
Q= Flow in time t.
A= Cross section of river.
h= Flow hight.
Sf and S0= Slops of the free water surface and river bed respectivly.
q= The lateral flow.
The model is simplified through the Muskingum linear simplified model, as shown below:

It should be noted that a nonlinear model also exists.
Where,
Q
tint and Q
tout = A discharge of inflow and outflow at time (t).
The coefficients C
0, C
1 and C
2 are functions of the parameters K, X and Δt.
While, K represents the travel time of water through a river reach and know as storage time constant and X is a dimensionless parameter that controls the relative influence of inflow and outflow on the storage within the river reach known as the weighing factor (
Alhumoud, 2022;
Akbari and Hessami-Kermani, 2021).
The majority of researchers in this context work either on the discretization of the hydrodynamic model or on the determination of the parameters of the Muskingum model.
At present, stochastic models demonstrate strong performance and efficiency in the field of hydrology, particularly connectionist models associated with artificial intelligence. These models generally rely on learning from the historical data of the studied system (
Sidi et al., 2024). Their effectiveness mainly depends on two factors: the choice of the applied method characteristics and the selection of the system’s explanatory variables (inputs).
In this study, we present an alternative perspective inspired by the previously presented models, seeing that the variation of the outflow, Q
t+Δtout , at the section’s outlet at time t+Δt depends on the inflow and outflow at time t noted Q
tint Q
tout as well as the variation in the inflow expressed by the derivative (∂Q/∂t)
tint , this parameter has a significant influence on the rate of decrease or increase of the outflow at the downstream section under study (Fig 1).
Innovation and modelling tool
Given the complexity of the problem and in order to define and characterize the model, we will rely on a neuro-fuzzy system known as the Adaptive Neuro-Fuzzy Inference System (ANFIS).
Which takes Q
tint , Q
tout and (∂Q/∂t)
tint as explanatory variables of the model (Inputs) and Q
t+Δtout as the endogenous variable (Output).
In the initial phase, we focused a network, noted ANFIS (3Var) with three input variables, Q
tint , Q
tout and (Fig 1).
Where,

In a second step, we made use of the two states of the derivative at t and t+Δt denoted by (∂Q/∂t)tint and (∂Q/∂t)t+Δtint (Fig 1). In this case, the network used consists of four input variables, ANFIS (4Var).
Where,

Adaptive neuro-fuzzy inference system (ANFIS)
The Adaptive Neuro-fuzzy Inference System (ANFIS) utilizes a multilayer neural network consisting of five (5) layers (Fig 2). Each layer of the network corresponds to the execution of a specific step in a Takagi-Sugeno type fuzzy inference system (
Jang, 1993).
The first layer of an ANFIS architecture comprises a number of neurons equal to the number of input variables n multiplied by the number of fuzzy subsets
p present in the inference system. The number (n) of subsets typically ranges from 2 to 5. To avoid model complexity and the proliferation of fuzzy rules, we selected n=3, which facilitates the learning process of the ANFIS system.
In our cases we have
n.p=3.3=9 for three input variables and n.p=4.3.=12 for four input variables.
This configuration enables the system to transform crisp input values into degrees of membership across different fuzzy sets, facilitating the fuzzification process essential for subsequent inference operations.
We incorporated the derivative of discharge in time because it reflects the rate of change and trend of the discharge function. The outflow discharge can differ for the same discharge value depending on whether the flow is increasing or decreasing. This derivative parameter is incorporated in two possible forms, either in form (∂Q/∂t)
tint or form (∂Q/∂t)
t+Δtint.
The second hidden layer is designed to compute the activation level of the premises. Each of its neurons represents the premise of a fuzzy inference rule. The activation functions of these neurons depend on the operators present in the rules (And or Or).

In our cases we obtain 33 as 27 rules for the network of three input variables and 34 as 81 for the network of four input variables.
The third hidden layer aims to normalize the degree of rule activation by computing the ratio between the ith rule weight and the total sum of all rule weights. This operation is known as normalization step.
The fourth hidden layer is used to determine the parameters of the consequent part of the rules a, b, c, d, e. The function of each neuron in this layer is as follows:
- For our ANFIS model with three input variables we have;
- For our ANFIS model with four input variables we have;
f
4k is the output of k
th neuron in the fourth hidden layer.
Where,

= The output of the third layer.
a, b, c,e= The consequent parameters.
The fifth output layer contains a single neuron in this layer, which computes the overall output as the sum of all incoming signals, that is:
The study was conducted at Ahmed Zabana University of Relizane in Algeria, during the year 2025.