Simulation of a real plant for the combined treatment of wastewaters and liquid wastes