Computer simulation of a water distribution network