On the structure of a semi-distributed adaptive model for flood forecasting