So far, the city’s sewer network has struggled to cope with the twin challenges of population growth and climate change.