Académique Documents
Professionnel Documents
Culture Documents
The overall capital cost is the sum of the cost of purchasing and
laying pipe and purchasing the compressors.
Tip:By using the toolbar icons, you reduce the number of mouse
actions required for a selection. For example, you can click the
toolbar button to create a new simulation.
PIPEPHASE will now automatically take you through Simulation
Setup Wizard .
Enter a specific gravity of 0.69 in the Gas Gravity field and the
following composition of contaminants:
To create a second property data set.
Click the button on Fluid Property Data window. This
brings up the Single Phase Gas PVT Data window with Set
Number already set to 2.
Enter a specific gravity of 0.701 in the Gas Gravity field and
the following composition of contaminants:
After leaving the Simulation Definition window, you will want to
check Input Dimensions. From the the toolbar select General/Input
Units of Measurement. This will bring up the Input Dimensions
window shown in Figure 5-15.
For this problem, the flowrate basis will be Gas Volume units
of MM ft3 /day.
Use the Pipe Length drop-down list box to change the default
units to miles (mi) as shown in Figure 5-15.
Move the cursor to the location on the main window where the
node is to be located and click again. The node will appear in
the main flowsheet area of the screen.
Repeat this step for each of the nodes in the flowsheet until the
entire system has been constructed as shown in Figure 5-16.
To connect two nodes:
Click on a source or junction (From node) with the left
mouse button. A red square will appear on the node, and the
border of the node will turn green to indicate that the node has
been selected.
Next, click inside the square with the left mouse button and,
while holding the mouse button down, drag the cursor to
another junction or sink (To node).
Once a square has been selected and the cursor begins to move, all
of the connection squares in the available junction and sink nodes
will turn blue indicating a valid location to which you can connect
the link.
For this simulation, you must connect S001 to J004, S002 to J004,
followed by J004 to D003. The flow diagram should now show the
structure shown in Figure 5-17.
The next step is to enter the data for each of the sources and sinks.
To enter the data for the source S001:
Double-click on the node S001, and enter the following
information:
Enter the following information:
Click to return to the Link <L002> Device Data window.
Next, you must add a compressor to this link by clicking the
compressor button on the device palette. This automatically
adds this new device after the currently selected device (i.e., the
pipe E002) and brings up the Compressor data entry window
for device E003.
Enter the data given in Table 5-4 for the compressor device
E003 on link L002. The completed Compressor window should
appear as shown in Figure 5-22.
Tip:To copy or delete a device previously added to a link, highlight
that device, then click on the COPY then PASTE or DELETE
buttons on the left palette in the Link Device Data window.
Now, you must define the design constraints, coefficients for the
objective function, decision variables, and optimization parameters.
Click the button on the toolbar, or
select the Special Features/NETOPT Optimization Data menu
option. This brings up the Network Optimization Data window.
Check the Enable Network Optimization check box.
In the Objective data entry field, select the Minimize Objective
Function radio button as shown in Figure 5-24.
Select Pipe from the Device Type drop-down list box. By
default, PIPEPHASE will display the correct device name,
E004.
Select Inside Diameter from the Parameter drop-down list box.
Type in 140 in the Correlation Coefficient data entry field as
shown in Figure 5-25.
Repeat for the other three objective parameters using the data
in Table 5-6.
Tip:For the Compressor objective parameters, select Set Power
from the Parameters drop-down list box in the Define Objective
Parameter window.
The completed Network Optimization Objective Parameters
window is shown in Figure 5-26.
Then click again to return to the Network Optimization Data
window.
Repeat for the other two constraints using the data in Table 5-8.
Tip:For the Compressor constraints, select from the
Parameter drop-down list box in the Define Constraint window.
The Network Optimization Constraints window should now appear
as shown in Figure 5-29.
Select the menu option to save the simulation date
entered so far.
Before you can run the simulation, you must specify the print
options for the output report and save the simulation.
Select the menu option from the main
PIPEPHASE window. This brings up the Print Options window
as shown in Figure 5-32.
You must turn off the input reprint, select that all device
details be printed (the FULL option), and generate a database.
By default, Ability to Generate Excel Database is set to FULL.
Select the NONE option from the Input Reprint drop-down list
box.
Select the FULL option from the Device Detail drop-down list
box. The completed Print Options window should appear as
shown in Figure 5-32.
Select the menu option to save the simulation data
entered so far.
Now you are ready to run your simulation.
If you are running on a UNIX server, you must first define your run
remote settings.
See the section titled Run Remote in Chapter 3, Installing
PIPEPHASE for details.
Select the File/Remote Settings menu option to bring up the
Run Remote Settings window. By default, the Run Calculations
on Remote Computer check box is enabled.
Select the appropriate option from the Local Operating System
Version drop-down list box.
Supply a Remote Machine Name, Remote User ID, and
Remote User Directory for your remote host machine.
Select TELNET or RSH for remote execution and supply the
appropriate commands for running PIPEPHASE.
Click the button on the Run Remote Settings window to
return to the main PIPEPHASE window.
Click the button on the toolbar or select the File/Run menu
option to run PIPEPHASE. This brings up the Run Simulation
and View Results window.
Click the button in the Run Simulation field.
The status of the simulation run is shown in the Run Status window,
which may be scrolled and resized. If you have successfully entered
all the data correctly, your Run Simulation and View Results
window will appear as shown in Figure 5-33.
Table 5-9 summarizes the optimal solution for this simulation.
Click the button beside the Plot Report drop-down list
box to define your plot. This brings up the RAS Plot Options
window.
Click the button to bring up the RAS Plot Data Options
window.
Next you must plot the pressure along link L003 (from junction
J004 to sink D003) for the base case and the optimized case.
By default, the Initial Case option is selected in the Simulation
drop-down list box.
Select L003 from the Link Name drop-down list box.
Check the All Devices in the Link check box.
By default, PIPEPHASE RAS will select Pressure as the State
Variable to plot on the y-axis.
Click the button to add this to the list of variables
to plot.
Repeat the above steps for link L003 for the Optimized Case.
Click the button to return to the RAS Plot Options
window.
Fill in the Title, X-Axis Label, and Y-Axis Label fields as
shown in Figure 5-36.
Click the View button to view the plot shown in Figure 5-37.
The analysis done in the first half of this tutorial is based on capital
expenditures alone. Over the lifetime of a pipeline, the operating
costs, primarily in terms of fuel consumed in running the
compressors, are significant. Table 5-10 shows the compressor
operating costs.
First, change the objective function to include these new costs and
rerun the optimization.
Click the button on the toolbar or select the General/
Optimization Data menu option. This brings up the Network
Optimization Data window.
Click the button to bring up the Network
Optimization Objective Parameters window.
Highlight the Compressor E005 Available Power parameter,
then click the button.
Change the value of the Correlation Coefficient from
4.660e-003 to 6.600e-004 as shown in Figure 5-39.
Table 5-11 compares the optimal solution for the modified problem
to that of the original problem. The operating costs involved in
running the pipeline system for 10 years based on the original
solution are also included.
The results of these two runs show that by taking the operating costs
into consideration:
Smaller compressors on both sections of pipeline are needed.
For an increased capital expenditure of $222MM in laying
down slightly larger pipes on Link L003, operating costs over
the lifetime of the pipeline are reduced nearly 65% from $389.9
MM to $137.3 MM.
Overall costs are reduced 0.3% from $7,964 MM to $7,933
MM.