Flushing gates for ecological projects