# PIPESIM Training Course

Section 2 - Network Model Presentation

Network Module

Network module - overview
 Rigorous and comprehensive steady-state multiphase
    
network simulator Combines the detailed well modeling capability of the single branch model with the ability to solve large complex networks Networks of any size and topology (loops, multiple sources & sinks, parallel flowlines) Black oil/compositional Rigorous thermodynamic calculations All single branch components can be included in a network

Booster etc)  .PIPESIM Network Modeling • • • Surface multiphase network simulator Fluid interaction from various sources Account for backpressure effects and well interaction Surface facilities (Compressor.

Types of networks • Gathering flowline systems • Distribution (including water injection and gas lift distribution) • Looped networks (calculations in flow direction around  the system) • Large Complex Fields – • .

Model example – Production Gathering  • – .

Model example – Looped Networks  • – .

Model example – Water Reinjection  • – .

Model example – Large Network  • – .

Some Results 1200 X stb/d Pressure (psia) 1150 1100 1050 1000 950 900 One well Two well < 2X stb/d 850 800 0 10000 20000 Total Distance (ft) 30000 40000 .

44 1.33 27.91 0.16 37.93 1.121 15.Some Results Carbon Dioxide Nitrogen Methane Ethane Propane Isobutane Butane Isopentane Pentane Hexane C7+ 0.95 1.28 6.44 3.41 4.029 .

Toolbox Pointer Manifold (Node) Branch Re-injector Annotation Source Sink Production Well Injection Well Folder .

Steps in building a model  Set units & job title  Define components in the model:  production wells  injection wells  sources  sinks  branches (flowline or trunklines)  Enter physical data for each component (dbl click on each)  Define global/local fluid models and flow correlations .

)  Set boundary conditions (pressure (P) and flowrate (Q)): number P + Q sinks) MUST equal sum of (sources + wells + * at least one boundary pressure must be specified  Set boundary conditions (temperature (T)): all source fluid T MUST be specified * all sink temperatures are calculated by the network solver .Steps in building a model (cont.

Steps in building a model (cont.)  Set the network tolerance  This is the degree of error allowed at each internal node  A network has converged when the pressure and flowrate   tolerances at every node are within the network tolerance The pressure balance at each node is satisfied when all pressures are within the network tolerance The flowrate balance at each node is satisfied when the flowrate into the node minus the flowrate out of the node is within the network tolerance  Enter “user estimates” to reduce simulation time .

Import command  Well and flowline models built in the single branch model can be easily imported into a network model to form part of the field network  Import by right clicking on a well or branch in the network  Data consistency  Time saving .

Operations  Check model  Run model  Checks boundary conditions  Runs network model using boundary specification with estimates for unknowns  Restart model   Runs model using results from previous simulation as initial „guesses‟ for next simulation. Reduces simulation time significantly if only minor changes are made to a model. .

Simulation results  Output report (“.OUT”)  Full output  List of iteration routine  Summary report (“.SUM”)  Summary report for each source and branch  Graphical output  PSPLOT  Concatenation  On screen output table  Main source/branch data .

(Again this helps trouble-shooting) 3. When first building the model. Try to avoid unnecessary nodes in a network. 4. Build all well models and branches containing equipment items in PIPESIM first. this increases the computing time required to solve the network. leave out equipment such as compressors and separators.Tips for large network models 1. Run some sensitivity analyses to check they are behaving as expected. (This helps trouble-shooting of the model) 2. before linking them all together. Try to split the model into smaller networks. then build them in one at a time. . which can be solved independently.

try changing the boundary condition to an outlet pressure to see what flowrate can be achieved.Tips for large network models  If the sinks are flowrate specified. . If the model fails to solve. 9. the previous restart file can be used to make another attempt.rst) in the model folder.e. If minor changes have been made to a network such as flowrates. Before using the restart function. 8. make a backup of the restart file (*p00. pipe dimensions etc. and are appearing consistently at atmospheric pressure (see messages in engine window). new pipe. However if structural changes (i. the restart function should be used. well deleted etc) have occurred then the model should be run from scratch.

If a branch appears to be behaving strangely or is ill conditioned. If necessary the tolerance can later be reduced and the model restarted. split it into smaller segments. and check the validity of the results.Tips for large network models    When first attempting to solve a large network. increase the convergence tolerance to 5%. If the program crashes part way through an iteration with file open errors or macopen errors. this is due to the processor running out of memory. . This will aid trouble-shooting and improve continuity along the branch. The model can simply be restarted and the program will start from where it left off.