First question I have is what is the root cause for the foaming. Have you done an microscopic analysis. What does your slide look like? Lots of filaments? Filamentous organisms are probably the cause to the foaming. Do you have a lot of Fats, Oils and Grease? Low nutrients and high loading due to industry can also cause foaming as well as septicity. Settleability: A young sludge condition (low MLSS) may cause the supernatant to have a gray to green cloudy appearance. Just a few points. I suggest a microscopic look and check your MLSS. Come back with some of your results.