Fuzzy logic control of biological wastewater treatment plants with non-ideal sensors and actuators