Comprehensive understanding of the use details of target flow switches in EDM cooling