The influence of basin geometry on equilibrium and stability of double inlet systems