Predictive maintenance system for membrane replacement time detection using AI-based functional profile monitoring: Application to a full-scale MBR plant