New concepts and tools for pipe network design