Pipe hydraulic resistance correction in WDN analysis