Stability analysis of the Vlugter gate