Optimized Application of Intelligent Electromagnetic Flow Meters in Wastewater Treatment Plants