The joint project DynaWater4.0 aims at the potential of digitization in industrial wastewater management. Goal is the digital connection of the industrial production plant and the wastewater treatment plant in order to implement a model-based, demand-dependent and dynamic operation of the wastewater treatment plants. EnviroChemie is upgrading an existing Split-O-Mat® system into a fully integrated DynaWater4.0 demonstration system. The wastewater treatment plant obtains in real time data from the production plant. This data, together with online measurement data, is used by a digital twin to model the kinetics of the wastewater treatment and extract the optimal operation mode of the wastewater treatment. The efficiency of this digital twin is demonstrated in the live operation of the DynaWater 4.0 project.