In-depth analysis of the application of target flow switches in water conservancy projects