Effect of water quality on froth stability in flotation