Thanks Michael.
The problem is that I need to count with the inlet channel capacity as a reservoir. If I only put one lateral structure in the main channel I will not be able to do it right?
What is your suggestion to model the following scheme (upstream of the inlet structure):
river with tidal effect -> intake flap gate -> inlet channel (like a “reservoir”)?
I can not simulate the river as a storage area right? because I think that it is not possible to define a time series level stage boundary condition in storage areas.