Why does the wastewater treatment plant remain functional even in winter?

Because it is almost entirely placed underground. A drop in temperature below about 5°C which would stop the biochemical cleaning processes can only occur if temperatures are deeply below zero for a long period and there is no inflow to the WWTP. In practice, we have installations even in the mountains and for example, in Siberia, Russia and everywhere the WWTPs work without problems.