Optimised control and pipe burst detection by water demand forecasting