Numerical prediction of developing flow in gas pipelines