Water release by a dam