How to determine the straight pipe length of a electromagnetic flowmeter?