Risk analysis of sustainable urban drainage and irrigation