Shipping costs for Hydraulic Analysis of Unsteady Flow in Pipe Networks