Parallel control of a waste-water treatment plant using a real-time multi-tasking operating system