Analysis of measurement difficulties and countermeasures for oil flowmeters in petroleum wax production