Ternary expression stage in biological sludge dewatering