a model of a water treatment plant