Exploring precise measurement solutions for electromagnetic flow meters in wastewater treatment