Transient flow of liquid in plastic pipes