How to calculate the measurement error of a magnetic flowmeter?