Gas and Oil Hydraulics Calculation and Pipeline Diameter Selection