Electromagnetic flowmeter: safeguarding the petrochemical industry