Piping > Pipeline Modification > Editing Pipelines > Pipeline Merging in Spec-Driven Piping > Workflow for Creating a New Pipeline by Merging Pipelines
  
Workflow for Creating a New Pipeline by Merging Pipelines
The following figure shows how two pipelines have been modeled with the required pipeline specifications and fittings.
The yellow circles in the previous figure represent the following modeling steps performed to achieve the required pipeline configuration:
1. Create the AA-1002-100A pipeline using the Create Pipeline dialog box. The specification AA has components with the rate 10K.
2. Route the entire pipeline from the location 2A to the location 2B as shown in the previous figure.
3. Insert a 10K gate valve with automatic10K flange and gasket.
4. Insert an elbow fitting at the vertex.
5. Insert a 10K globe valve along the vertical segment.
6. Create a new pipeline using the Create Pipeline dialog box. Specify AA as the specification, 1001 as the number, and 100A as the size.
7. Click Operations > Merge Pipeline and select the pipeline that you have created in step 6 as the To Pipeline in the Merge Pipeline dialog box.
8. Select the segment that you created in step 1 as the start segment under Select Start Segment/Fitting. Specify the upstream flange of the gate valve as the end segment under Select End Segment(s)/Fitting(s).
9. Click OK. All the selected components, other than the flange, are merged to the selected To Pipeline as shown in the following figure.