Modelling and real-time control of urban drainage systems