There are several solutions to measure the tank level in industrial applications. However, the environmental conditions inside this tank, such as turbulence and foam, can jeopardize measurement accuracy and precision. This article proposes a methodology to identify the presence of turbulence and foam in a fermentation tank. The proposal is based on the extraction, selection, and classification of statistical features by machine learning methods. The use of machine learning strategies and statistical features guarantees the necessary robustness and generality for industrial applications. Actual data obtained from a must fermentation tank of a sugar-alcohol industrial plant were used for training and verifying one Artificial Neural Network-based and three Support Vector Machine-based classifiers. These classifiers obtained accuracy over 98% for different environmental conditions proving the effectiveness of the proposed methodology.