Dam in a canal to regulate its water flow