Text this: Development of a MPC-based Control System for ElectricalDischarge of Water Purification Plant